WO2011057544A1 - 一种基于802.3ah协议实现点到多点OAM的方法及系统 - Google Patents

一种基于802.3ah协议实现点到多点OAM的方法及系统 Download PDF

Info

Publication number
WO2011057544A1
WO2011057544A1 PCT/CN2010/078464 CN2010078464W WO2011057544A1 WO 2011057544 A1 WO2011057544 A1 WO 2011057544A1 CN 2010078464 W CN2010078464 W CN 2010078464W WO 2011057544 A1 WO2011057544 A1 WO 2011057544A1
Authority
WO
WIPO (PCT)
Prior art keywords
protocol
information
sender
identification information
oam
Prior art date
Application number
PCT/CN2010/078464
Other languages
English (en)
French (fr)
Inventor
李汉成
陈琳
倪沈柳
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011057544A1 publication Critical patent/WO2011057544A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Definitions

  • the present invention relates to the field of network communications, and more particularly to a method and system for implementing a point-to-multipoint 802.3ah protocol OAM.
  • the 802.3ah protocol is a link layer OAM function and implementation protocol. It implements a point-to-point OAM.
  • the main functions include: OAM capability discovery, OAM link monitoring, and remote fault notification.
  • the OAM of the 802.3ah protocol is located between the media access control (MAC) sublayer and the logical link control (LAN) sublayer in the Ethernet model.
  • the destination address of the sent packet is one. Fixed broadcast address, the message does not contain the address information of the receiver, so it cannot be directly applied to the environment that needs to exchange or identify the receiver.
  • an Optical Line Terminal uses a splitter to connect to multiple Optical Network Units (ONUs).
  • the 802.3ah OAM cannot be used between the OLT and the ONU.
  • the technical problem to be solved by the present invention is to provide a method and system for implementing a point-to-multipoint 802.3ah protocol OAM, which is proposed for the problem of using an EAM with a 802.3ah protocol for networking using a device such as a splitter. .
  • the present invention provides a point-to-multipoint 802.3ah protocol OAM (Operation, Management, Maintenance) method, the method includes: in the process of performing the 802.3ah protocol 4 text interaction in a point-to-multipoint manner, the sender adds the identifier information of the receiving end in the transmitted 802.3ah protocol.
  • the sending end adds the identifier information of the receiving end to the sent 802.3ah protocol text in the sending end:
  • the sending end adds the identifier information of the receiving end to the field that can be customized in the sent 802.3ah protocol packet.
  • the method further includes: in the process of performing the 802.3ah protocol 4 ⁇ text interaction in a point-to-multipoint manner, the sending end adds the identifier information of the sending end itself to the sent 802.3 ah protocol text.
  • the sending end adds the identification information of the sending end itself to the sent 802.3ah protocol text:
  • the sender adds the identity information of the sender itself to the field that can be customized in the 802.3ah protocol packet sent.
  • the method further includes: after receiving the 802.3ah protocol message, the receiving end determines, according to the sending end identification information in the 802.3ah protocol message, that the local non-existence establishes an 802.3ah protocol processing state machine for the sending end, An 802.3ah protocol OAM state machine is established for the sender.
  • the method further includes: after receiving the 802.3ah protocol message, the receiving end determines, according to the sending end identification information in the 802.3ah protocol message, that the local presence is 802.3ah protocol processing state machine for the sending end, and The destination end identification information carried in the 802.3ah protocol packet is the same as the identifier information of the receiving end itself, and the 802.3ah protocol packet is processed according to the 802.3ah protocol procedure.
  • the present invention provides a point-to-multipoint 802.3ah protocol.
  • the OAM system includes a first device and a plurality of second devices, and each of the second devices and the first device respectively For the backup connection, the information sent by the first device can be received by each second device, and the information sent by each second device can only be received by the first device, and the device that sends the information is called the transmitting end, and the device that receives the information is called For the receiving end, the sending end is set to: In the process of performing the 802.3ah protocol and the text interaction in the point-to-multipoint, the identification information of the receiving end is added in the transmitted 802.3ah protocol.
  • the sending end is configured to add the identifier information of the receiving end to the field that can be customized in the 802.3 ah protocol packet sent in the process of performing the 802.3 ah protocol text exchange in the point-to-multipoint.
  • the sending end is further configured to: add the identifier information of the sending end itself to the 802.3ah protocol text sent in the process of performing the 802.3ah protocol packet exchange in a point-to-multipoint manner.
  • the sending end is configured to add the identifier information of the sending end itself to a field that can be customized in the sent 802.3 ah protocol packet.
  • the receiving end is configured to: after receiving the 802.3ah protocol message, if it is determined according to the sender identification information in the 802.3ah protocol, the local non-existence is established for the 802.3ah protocol processing state machine of the sending end, The sending end establishes an 802.3ah protocol OAM state machine.
  • the receiving end is configured to: after receiving the 802.3ah protocol message, determine that the local presence is established by the sending end according to the sending end identification information in the 802.3ah protocol text.
  • the 802.3ah protocol processes the state machine, and the destination end identification information carried in the 802.3ah protocol packet is the same as the identifier information of the receiving end itself, and the 802.3ah protocol packet is processed according to the 802.3ah protocol flow.
  • the present invention provides a method and system for implementing a point-to-multipoint 802.3ah protocol OAM.
  • a packet identifier is added to a field that can be customized in an 802.3ah protocol packet.
  • the packet receiving end identifies whether the packet is sent to itself according to the flag information, so that a device implements the 802.3ah protocol OAM for multiple devices connected thereto.
  • one-to-one connections can also be made, as well as one-to-one interfacing with ports processed using the 802.3ah protocol standard.
  • FIG. 1 is a flowchart of a method for implementing a point-to-multipoint 802.3ah protocol OAM according to an embodiment of the present invention
  • FIG. 2 is a system for implementing a point-to-multipoint 802.3ah protocol OAM according to an embodiment of the present invention.
  • Schematic diagram of an application example
  • FIG. 3 is a flow chart of an application example of a method of implementing a point-to-multipoint 802.3ah protocol OAM according to an embodiment of the present invention.
  • the present invention does some processing in the implementation process without violating the original protocol, so that it can be point-to-multipoint.
  • the device environment uses OAM with the 802.3ah protocol.
  • a system for implementing the point-to-multipoint 802.3ah protocol OAM according to the embodiment of the present invention includes a first device and a plurality of second devices, each of the second devices is respectively connected to the first device, and the information sent by the first device is second.
  • the device can receive the information sent by each second device only by the first device.
  • the device that sends the information is called the transmitting end, and the device that receives the information is called the receiving end.
  • the sending end is set as: Adding the identification information of the receiving end to the transmitted 802.3ah protocol in the process of the 802.3ah protocol.
  • the field can be customized in the 802.3ah protocol packet sent.
  • the sender can also be configured to: In the process of performing the 802.3ah protocol interaction in the point-to-multipoint, the identity information of the local end of the sender is added to the 802.3ah protocol, which is sent in the 802.3ah. The identifier of the local end of the sender is added to the customizable field in the protocol packet.
  • the identifier information of the sender may be the MAC of the sender port, for example, 4 bytes after the MAC of the sender port, or a string obtained by the MAC calculation, such as a string that can identify the sender port.
  • the receiving end is configured to: after receiving the 802.3ah protocol packet, determine whether the local presence of the 802.3ah protocol OAM state machine is established for the sending end according to the sending end identification information in the 802.3ah protocol packet. If there is no 802.3ah protocol OAM state machine created for the sender, the 802.3ah protocol OAM state machine is first established for the sender, and no matter what the receiver port identifier information in the 802.3ah protocol packet is. , are handled according to the normal process of the 802.3ah protocol.
  • the 802.3ah protocol packet carries the receiving port port identification information, and if so, the receiving port port identification information and its own port identifier. For information comparison, if the port identification information of the receiving end is the same as its own port identification information, it is processed according to the 802.3ah protocol; if the receiving port identification information is different from its own port identification information, the 802.3ah protocol is discarded. Text, no treatment. If the 802.3ah protocol packet does not contain the receiving port identification information, the 802.3ah protocol packet needs to be processed. For example, it is also processed according to the 802.3ah protocol.
  • a method for implementing the point-to-multipoint 802.3ah protocol OAM according to an embodiment of the present invention, as shown in FIG. 1, includes the following steps:
  • the sender adds the identifier information of the receiving end to the transmitted 802.3ah protocol. Specifically, the sending end adds the identifier information of the receiving end to the field that can be customized in the sent 802.3ah protocol. Preferably, the sender adds the identifier information of the sender itself to the 802.3ah protocol sent by the sender. Specifically, the sender adds the identifier information of the sender itself to the field that can be customized in the sent 802.3ah protocol packet. S12, after receiving the 802.3ah protocol packet, the receiving end determines whether there is an 802.3ah protocol OAM state machine for the sending end.
  • the receiving end After receiving the 802.3ah protocol text, the receiving end according to the 802.3ah protocol 4
  • the sender identification information in the text determines whether the local presence of the 802.3ah protocol OAM is established for the sender. state machine. If there is no 802.3ah protocol OAM state machine created for the sender, the process goes to step S13; if there is an 802.3ah protocol OAM state machine created for the sender, the process goes to step S14.
  • the receiving end establishes an 802.3ah protocol OAM state machine for the sending end, and processes the 802.3ah protocol packet according to the normal process of the 802.3ah protocol, regardless of the content of the receiving port port identification information in the 802.3ah protocol packet. .
  • the receiving end determines whether the 802.3ah protocol packet carries the receiving port identifier information, and if the receiving port identifier information is present, the process goes to step S15, and if there is no receiving port identifier information, the process proceeds to step S16. S15. The receiving end compares the receiving end identification information with its own port identification information. If the receiving end identification information is the same as its own port identification information, the process proceeds to step S16, and if it is different, the process proceeds to S17.
  • the receiving end processes the 802.3ah protocol packet according to the process of the 802.3ah protocol.
  • the receiving end discards the 802.3ah protocol packet and does not process it.
  • FIG. 2 An application example of the method for realizing the OAM of the point-to-multipoint 802.3ah protocol provided by the present invention is explained in detail below.
  • This application example is applied to an environment in which an endpoint connects multiple devices using a device such as a splitter.
  • the OLT uses three devices similar to the optical splitter to connect three ONUs.
  • the text sent by each ONU can only be received by the OLT, and the text sent by the OLT can be received by each ONU.
  • the transmitting end when the transmitting end sends the 802.3ah protocol packet, the last 4 bytes of the MAC of the receiving port or the string obtained according to the MAC calculation are obtained.
  • the information that can identify the receiving port is added to the 802.3ah protocol packet, for example, the Vendor Specific Information field of the Remote Information added to the 802.3 ah protocol; the sender can also Add its own port identification information to the 802.3ah protocol text, for example, to the Vendor Specific Information field of the Local Information in the 802.3ah protocol.
  • the peer that is, the receiving end
  • the peer will copy all the contents of the Local Information field to the Remote Information field after receiving the 802.3ah protocol. Therefore, when receiving the 802.3ah protocol packet sent by the peer end, if there is a Remote Information field, it is determined whether the content of the Remote Information field is the same as the local Local Information of the receiving end, and the identifier is used to determine whether the packet is
  • the sender sends the packet to the receiver.
  • the sender sends the packet to the packet in a specific way, such as adding the organization-specific information.
  • the (Organization Specific Information) field, etc. to identify the destination address of the message, and this method is fully compliant with the 802.3ah protocol. You can then perform point-to-multipoint operations, management, and maintenance.
  • the OAMPDU format is shown in Table 1, where VendorSpecific Info is a custom field.
  • the ONU can add the last four bytes of its own MAC address in the local information field, and add the previous OUI field to identify its identity.
  • the message sent by ONU1 contains the port identification information of ONU1.
  • the OAM Protocol Data Unit (PDU) sent by the ONU1 can be as shown in Table 2.
  • the OLT of the peer receives the packet from the ONU1, it will copy the Local Information field in the packet just received to the Remote Information field in the packet to be sent.
  • the packet content can be As shown in Table 3, the information field format of the 802.3ah protocol message
  • Table 2 Contents of OAMPDUs sent by ONU1 in the application example of the present invention Purpose MAC (Slow Protocol 01-80-C2-00-00-02)
  • Table 3 Contents of OAMPDUs sent by ONU1 in the application example of the present invention Purpose MAC (; slow protocol
  • the OLT receives the OAMPDU sent by the ONU1, the OLT has not received the OAMPDU sent by the ONU1. Therefore, the 802.3ah OAM state machine is established for the ONU1, and processed according to the 802.3ah protocol, in the reply packet.
  • the identifier information of the ONU1 of the destination port is carried. For example, the identifier information of the ONU1 is placed in the Vendor Specific Information field of the Remote Information.
  • ONU1, ONU2, and ONU3 receive the message sent by the OLT at the same time;
  • ONU1 parses the received packet and finds that it contains the identification information of the destination port, and after determining that the identification information of the destination port is the same as its own port identification information, it is processed according to the 802.3ah protocol flow.
  • ONU1 receives the message, and ONU2 and ONU3 also receive the message. If ONU2 and ONU3 do not enable the OAM function of the 802.3ah protocol, the message is ignored (discarded).
  • S103.3 if ONU2 is enabled with the OAM function of the 802.3ah protocol, and is set to the active mode. When receiving this message, 0NU2 judges that it does not create an 802.3ah protocol OAM state machine for the sending end OLT, so it creates an 802.3ah protocol OAM state machine for the OLT, and adds the reply message in accordance with the 802.3ah protocol flow. Own port identification information. S103.3.1, after receiving the packet sent by ONU2, the OLT also creates a new one for ONU2.
  • the 802.3ah protocol OAM state machine is then processed in accordance with the 802.3ah protocol flow.
  • All ports are processed according to the 802.3ah protocol flow, they are processed in the 802.3ah protocol OAM state machine created according to the sender port information.
  • the packet without the destination port identification information can be sent.
  • the OAM of the 802.3ah protocol can also be connected one-to-one and one-to-one with ports ported to the 802.3ah standard.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

—种基干 802.3ah协议实现点到多点 OAM的方法及系统
技术领域 本发明涉及网络通信领域, 具体而言, 是一种实现点到多点 802.3ah协 议 OAM的方法及系统。
背景技术
随着以太网的广泛应用, 对以太网操作、 管理和维护 (Operation Administration and Maintenance , OAM)功能的需求越来越强烈。 目前有艮多 以太网故障管理的方案, 其中利用 802.3ah协议是一种配置方便且实现简单 的方案。 802.3ah协议是链路层 OAM功能和实现协议, 其实现的是一种点到 点的 OAM, 主要功能包括: OAM能力发现, OAM链路监控, 以及远端故 障通知等。
802.3ah协议的 OAM在以太网模型中位于媒体接入控制 ( Media Access Control, MAC )子层和逻辑链路控制( Logic Link Control , LLC )子层之间, 发送的报文的目的地址为一个固定的广播地址, 报文中不包含接收端的地址 信息, 因此不能直接应用到需要交换或者识别接收端的环境中。 例如光线路 终端 ( Optical Line Terminal, OLT )使用分光器和多个光网络单元(Optical Network Unit, ONU )连接, 在 OLT和 ONU之间就不能使用 802.3ah协议 的 OAM。
发明内容 本发明要解决的技术问题是提供一种实现点到多点 802.3ah协议 OAM 的方法及系统, 是针对使用类似分光器等设备进行组网不能使用 802.3ah协 议的 OAM的问题而提出的。
为了解决上述技术问题, 本发明提供了一种实现点到多点 802.3ah协议 OAM (操作、 管理、 维护) 的方法, 该方法包括, 在点到多点进行 802.3ah 协议 4艮文交互的过程中, 发送端在发送的 802.3ah协议 4艮文中加入接收端的标识信息。 所述发送端在发送的 802.3ah协议 文中加入接收端的标识信息的步骤 中: 发送端在发送的 802.3ah协议报文中可自定义的字段中加入接收端的标 识信息。 所述方法还包括, 在点到多点进行 802.3ah 协议 4艮文交互的过程中, 发送端在发送的 802.3ah协议 文中加入发送端本身的标识信息。 所述发送端在发送的 802.3ah协议 文中加入发送端本身的标识信息的 步骤中:
发送端在发送的 802.3ah协议报文中可自定义的字段中加入发送端本身 的标识信息。 所述方法还包括, 接收端接收到 802.3ah协议报文后 ,若根据所述 802.3ah协议报文中的发 送端标识信息判断本地不存在为所述发送端建立 802.3ah协议处理状态机, 则为所述发送端建立 802.3ah协议 OAM状态机。 所述方法还包括, 接收端接收到 802.3ah协议报文后 ,若根据所述 802.3ah协议报文中的发 送端标识信息判断本地存在为所述发送端建立 802.3ah协议处理状态机, 且 所述 802.3ah协议报文中带有的目的端标识信息与接收端本身的标识信息相 同, 则按 802.3ah协议流程处理所述 802.3ah协议报文。
为了解决上述技术问题, 本发明提供了一种实现点到多点 802.3ah协议
OAM 的系统, 包括第一设备和多个第二设备, 各个第二设备分别与第一设 备连接, 第一设备发送的信息各个第二设备都能收到, 每个第二设备发送的 信息只有第一设备能收到, 将发送信息的设备称为发送端, 将接收信息的设 备称为接收端, 其中, 发送端设置为: 在点到多点进行 802.3ah协议 ^艮文交互的过程中, 在发 送的 802.3ah协议 4艮文中加入接收端的标识信息。 所述发送端是设置为在点到多点进行 802.3ah协议 文交互的过程中, 在发送的 802.3ah协议报文中可自定义的字段中加入接收端的标识信息。 所述发送端还设置为: 在点到多点进行 802.3ah协议报文交互的过程中, 在发送的 802.3ah协议 文中加入发送端本身的标识信息。 所述发送端是设置为在发送的 802.3ah协议报文中可自定义的字段中加 入发送端本身的标识信息。 所述接收端设置为: 接收到 802.3ah协议报文后, 若根据所述 802.3ah 协议 "^文中的发送端标识信息判断本地不存在为所述发送端建立 802.3ah协 议处理状态机, 则为所述发送端建立 802.3ah协议 OAM状态机。 所述接收端设置为: 接收到 802.3ah协议报文后, 若根据所述 802.3ah 协议 文中的发送端标识信息判断本地存在为所述发送端建立 802.3ah协议 处理状态机, 且所述 802.3ah协议报文中带有的目的端标识信息与接收端本 身的标识信息相同, 则按 802.3ah协议流程处理所述 802.3ah协议报文。
综上, 本发明提供的一种实现点到多点 802.3ah协议 OAM的方法及系 统, 根据本发明报文发送端在 802.3ah协议报文中提供的能够自定义的字段 中加入端口标识信息,报文接收端根据这个标志信息识别报文是否发向自己, 从而实现一个设备对其下相连的多个设备实现 802.3ah协议的 OAM。 按照本发明的方法, 同样可以进行一对一的连接, 以及和釆用 802.3ah 协议标准处理的端口进行一对一的对接。
附图概述 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1 为根据本发明实施例的实现点到多点 802.3ah协议 OAM的方法的 流程图; 图 2为根据本发明实施例的实现点到多点 802.3ah协议 OAM的系统的 应用示例的示意图; 图 3为根据本发明实施例的实现点到多点 802.3ah协议 OAM的方法的 应用示例的流程图。
本发明的较佳实施方式
考虑到现有 802.3ah协议的 OAM只能在两个端到端对接的设备上使用, 本发明在不违背原有协议的基础上, 在实现过程中做一些处理, 使得可在点 对多点的设备环境上使用 802.3ah协议的 OAM。
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。 本发明实施例的一种实现点到多点 802.3ah协议 OAM的系统, 包括第 一设备和多个第二设备, 各个第二设备分别与第一设备连接, 第一设备发送 的信息各个第二设备都能收到, 每个第二设备发送的信息只有第一设备能收 到, 将发送信息的设备称为发送端, 将接收信息的设备称为接收端, 其中, 发送端设置为: 在点到多点进行 802.3ah协议 ^艮文交互的过程中, 在发 送的 802.3ah协议 ^艮文中加入接收端的标识信息, 具体地, 在发送的 802.3ah 协议报文中可自定义的字段中加入接收端的标识信息。 此外, 发送端还可以设置为: 在点到多点进行 802.3ah协议 ^艮文交互的 过程中, 在发送的 802.3ah协议 ^艮文中加入发送端本端的标识信息, 具体地 在发送的 802.3ah协议报文中可自定义的字段中加入发送端本端的标识信息。 发送端的标识信息可以是发送端端口的 MAC , 例如发送端端口的 MAC后 4 个字节, 或者根据该 MAC计算获得的字串等能够标识发送端端口的信息。 接收端设置为: 接收到 802.3ah协议报文后,根据所述 802.3ah协议报文 中的发送端标识信息判断本地是否存在为发送端建立 802.3ah协议 OAM状 态机。 若不存在为所述发送端创建的 802.3ah协议 OAM状态机, 则先为所 述发送端建立 802.3ah协议 OAM状态机, 并且无论该 802.3ah协议报文中的 接收端端口标识信息是什么内容, 都按 802.3ah协议的正常流程处理。 若存 在为所述发送端创建的 802.3ah协议 OAM状态机, 则判断该 802.3ah协议报 文中是否带有接收端端口标识信息, 若有, 则将该接收端端口标识信息和自 己的端口标识信息比较, 如果该接收端端口标识信息和自己的端口标识信息 相同, 则按 802.3ah协议的流程处理; 如果该接收端端口标识信息和自己的 端口标识信息不相同, 则丟弃这个 802.3ah协议 文, 不作处理。 若 802.3ah 协议报文中不带有接收端端口标识信息, 也需要对这个 802.3ah协议报文进 行处理, 例如, 也按 802.3ah协议的流程处理。
本发明实施例的一种实现点到多点 802.3ah协议 OAM的方法, 如图 1 所示, 包括下面步骤:
S11 , 在点到多点进行 802.3ah协议 4艮文交互的过程中, 发送端在发送的 802.3ah协议 4艮文中加入接收端的标识信息。 具体地, 发送端在发送的 802.3ah协议 ^艮文中可自定义的字段中加入接 收端的标识信息。 优选的, 发送端在发送的 802.3ah协议 ^艮文中加入发送端本身的标识信 息, 具体地, 发送端在发送的 802.3ah协议报文中可自定义的字段中加入发 送端本身的标识信息。 S12, 接收端接收到 802.3ah协议报文后, 判断本地是否存在为所述发送 端建立 802.3ah协议 OAM状态机; 优选的,接收端接收到 802.3ah协议 文后,根据所述 802.3ah协议 4艮文 中的发送端标识信息判断本地是否存在为所述发送端建立 802.3ah协议 OAM 状态机。 若不存在为所述发送端创建的 802.3ah协议 OAM状态机, 则转入步骤 S13;若存在为所述发送端创建的 802.3ah协议 OAM状态机,则转入步骤 S14。
513 , 接收端为所述发送端建立 802.3ah协议 OAM状态机, 并且无论该 802.3ah协议报文中的接收端端口标识信息是什么内容, 都按 802.3ah协议的 正常流程处理 802.3ah协议报文。
514, 接收端判断该 802.3ah协议报文中是否带有接收端端口标识信息, 若带有接收端端口标识信息, 则转入步骤 S15 , 若不带有接收端端口标识信 息转入步骤 S16。 S15 , 接收端将该接收端标识信息和自己的端口标识信息比较, 若该接 收端标识信息和自己的端口标识信息相同 ,则转入步骤 S16 ,若不同转入 S17。
516, 接收端按 802.3ah协议的流程处理 802.3ah协议报文。
517 , 接收端丟弃这个 802.3ah协议报文, 不作处理。
下面详细说明本发明提供的实现点到多点 802.3ah协议的 OAM的方法 的应用示例。 本应用示例应用于一个端点对其下使用例如类似分光器的设备连接多个 设备的环境, 如图 2所示, OLT釆用类似于分光器的设备连接 3个 ONU。 图 2中, 每个 ONU发送的 文只有 OLT能收到, 而 OLT发送的 文每个 ONU都能收到。 根据本发明实施例提供的实现点到多点 802.3ah协议的 OAM的方法, 发送端发送 802.3ah协议报文时都将接收端端口的 MAC的后 4个字节或者根 据 MAC计算获得的字串等能够标识接收端端口的信息添加到 802.3ah协议报 文中, 例如, 添加到 802.3 ah协议 4艮文中的远程信息 (Remote Information ) 的厂商特定信息 (Vendor Specific Information ) 字段; 同时发送端也可以将 本身的端口标识信息添加到 802.3ah协议 文中, 例如, 添加到 802.3ah协议 才艮文中本地信息 ( Local Information ) 的 Vendor Specific Information字段。 按照 802.3ah OAM协议标准, 对端 (即接收端) 收到该 802.3ah协议才艮 文后会将 Local Information字段中所有内容复制到 Remote Information字段 中。因此,当接收到对端发送的 802.3ah协议报文时,若有 Remote Information 字段, 则判断 Remote Information字段的内容是否和接收端自己本地的 Local Information相同,以此标识来判断该报文是否是发给接收端自己所在的端口; 或者发送端在发送报文时, 将前面收到的报文中的源 MAC等能够标识端口 的标识信息以特定方式添加到报文中, 如添加组织特定信息 ( Organization Specific Information )字段等, 以此来标识该报文的目的地址, 而且这种方式 是完全符合 802.3ah协议规定的。 之后可以进行点到多点的操作、 管理和维 护。
假设 OLT为被动 ( PASSIVE )模式, 三个 ONU为主动 ( ACTIVE )模 式, 本发明提供的实现点到多点 802.3ah协议 OAM的方法的应用示例的流 程图如图 3所示, 包括步骤: S101 , 假设 ONU先发送 OAMPDU ( OAM协议数据报文) ;
OAMPDU格式如表 1所示, 其中的 VendorSpecific Info为自定义字段。 ONU可以在发送 local Information字段时, 将自己的 MAC后四个字节填在 里面, 加上前面的 OUI字段, 这样可以标识自己的身份; 其中 ONU1发送的 报文中包含 ONU1 的端口标识信息, 例如放在 Local Information的 Vendor Specific Info字段, ONU1发送的 OAM协议数据单元( Protocol Data Unit, PDU )可以如表 2所示。 若对端的 OLT收到 ONU1 的报文后, 会在回复的报文中将刚收到的这 个报文中的 Local Information 字段复制到要发送的报文中的 Remote Information字段, 报文内容可以是如表 3中所示 表 1 : 802.3ah协议报文的信息字段格式
信息字段 长度 (byte) Information Type 1
Information Length 1
OAM Version 1
2
Revision
1
State
1
OAM Configuration
2
OAMPDU Configuration
3
OUI
4
VendorSpecific Info
表 2: 本发明应用示例的 ONU1发送的 OAMPDU的内容 目的 MAC (慢速协议 01-80-C2-00-00-02)
源 MAC
Length/Type = 88-09
Subtype = 0x03 (OAM)
Flags
Code ( 0x00 Information )
0x01 (Local Information)
设备 1 OUI
设备 1 MAC后四位
其他字段
表 3: 本发明应用示例的 ONU1发送的 OAMPDU的内容 目的 MAC (;慢速协议
01-80-C2-00-00-02)
源 MAC
Length/Type = 88-09 Subtype = 0x03 (OAM)
Flags
Code ( 0x00 Information )
0x01 (Local Information)
设备 2 OUI
设备 2 MAC后四位
0x02(Remote Information)
设备 1 OUI
设备 1 MAC后四位
其他字段
5102, 若 OLT先收到 ONU1发送的 OAMPDU; 由于 OLT之前没有收到过 ONU1发送的 OAMPDU,因此为 ONU1建立 802.3ah协议 OAM状态机, 并按照 802.3ah协议的流程处理, 在回复的报文 中携带目的端口 ONU1的标识信息, 例如将 ONU1的标识信息放在 Remote Information的 Vendor Specific Information字段。
5103 , ONUl、 ONU2和 ONU3同时收到 OLT发送的报文; 其中,
5103.1 , ONU1 解析收到的报文发现其中包含目的端口的标识信息, 并 且经过判断发现这个目的端口的标识信息和自己的端口标识信息相同, 于是 按照 802.3ah协议流程进行处理。
5103.2, ONU1收到该才艮文的同时, ONU2和 ONU3也收到了该才艮文, 若 ONU2和 ONU3没有开启 802.3ah协议的 OAM功能, 则忽略(丟弃)这 个报文。 S103.3 , 若 ONU2开启了 802.3ah协议的 OAM功能, 并设置为 active 模式。 0NU2 在收到这个报文时, 判断发现本身没有为发送端 OLT 创建 802.3ah协议 OAM状态机,于是为 OLT创建一个 802.3ah协议 OAM状态 机, 并且按照 802.3ah协议流程在回复的报文中添加自己的端口标识信息。 S103.3.1 , OLT在收到 ONU2发送的报文后, 同样为 ONU2创建一个
802.3ah协议 OAM状态机, 然后按照 802.3ah协议流程处理。 所有端口按照 802.3ah协议流程处理时, 都在根据 ^艮文中发送端端口信 息创建的 802.3ah协议 OAM状态机中处理。
在不知道对端标识信息的情况或者要发送给所有对端的情况下, 可以发 送不含目的端口标识信息的报文即可。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 需要说明的是, 在不 冲突的情况下, 本发明中的实施例及应用示例中的特征可以相互组合。 凡在 本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含 在本发明的保护范围之内。
工业实用性 按照本发明的方法, 能够使使用类似分光器等设备进行组网不能使用
802.3ah协议的 OAM同样可以进行一对一的连接, 以及和釆用 802.3ah标准 处理的端口进行一对一的对接。

Claims

权 利 要 求 书
1、 一种实现点到多点 802.3ah协议操作、 管理和维护 (OAM ) 的方法, 该方法包括: 在点到多点进行 802.3ah 协议 4艮文交互的过程中, 发送端在发送的 802.3ah协议 4艮文中加入接收端的标识信息。
2、 如权利要求 1所述方法, 其中: 所述发送端在发送的 802.3ah协议报 文中加入接收端的标识信息的步骤中: 发送端在发送的 802.3ah协议报文中可自定义的字段中加入接收端的标 识信息。
3、 如权利要求 1所述方法, 其还包括, 在点到多点进行 802.3ah 协议 4艮文交互的过程中, 发送端在发送的 802.3ah协议 文中加入发送端本身的标识信息。
4、 如权利要求 3所述方法, 其中: 所述发送端在发送的 802.3ah协议报 文中加入发送端本身的标识信息的步骤中: 发送端在发送的 802.3ah协议报文中可自定义的字段中加入发送端本身 的标识信息。
5、 如权利要求 3或 4所述方法, 其还包括, 接收端接收到 802.3ah协议报文后 ,若根据所述 802.3ah协议报文中的发 送端标识信息判断本地不存在为所述发送端建立 802.3ah协议处理状态机, 则为所述发送端建立 802.3ah协议 OAM状态机。
6、 如权利要求 3或 4所述方法, 其还包括, 接收端接收到 802.3ah协议报文后 ,若根据所述 802.3ah协议报文中的发 送端标识信息判断本地存在为所述发送端建立 802.3ah协议处理状态机, 且 所述 802.3ah协议报文中带有的目的端标识信息与接收端本身的标识信息相 同, 则按 802.3ah协议流程处理所述 802.3ah协议报文。
7、 一种实现点到多点 802.3ah协议 OAM的系统, 包括第一设备和多个 第二设备, 各个第二设备分别与第一设备连接, 第一设备发送的信息各个第 二设备都能收到, 每个第二设备发送的信息只有第一设备能收到, 将发送信 息的设备称为发送端, 将接收信息的设备称为接收端, 其中, 发送端设置为: 在点到多点进行 802.3ah协议 ^艮文交互的过程中, 在发 送的 802.3ah协议 4艮文中加入接收端的标识信息。
8、 如权利要求 7所述系统, 其中: 所述发送端是设置为在点到多点进行 802.3ah协议 文交互的过程中, 在发送的 802.3ah协议报文中可自定义的字段中加入接收端的标识信息。
9、 如权利要求 7所述系统, 其中: 所述发送端还设置为: 在点到多点进行 802.3ah协议报文交互的过程中, 在发送的 802.3ah协议 文中加入发送端本身的标识信息。
10、 如权利要求 9所述系统, 其中: 所述发送端是设置为在发送的 802.3ah协议报文中可自定义的字段中加 入发送端本身的标识信息。
11、 如权利要求 9或 10所述系统, 其中: 所述接收端设置为: 接收到 802.3ah协议报文后, 若根据所述 802.3ah 协议 "^文中的发送端标识信息判断本地不存在为所述发送端建立 802.3ah协 议处理状态机, 则为所述发送端建立 802.3ah协议 OAM状态机。
12、 如权利要求 9或 10所述系统, 其中: 所述接收端设置为: 接收到 802.3ah协议报文后, 若根据所述 802.3ah 协议报文中的发送端标识信息判断本地存在为所述发送端建立 802.3ah协议 处理状态机, 且所述 802.3ah协议报文中带有的目的端标识信息与接收端本 身的标识信息相同, 则按 802.3ah协议流程处理所述 802.3ah协议 文。
PCT/CN2010/078464 2009-11-11 2010-11-05 一种基于802.3ah协议实现点到多点OAM的方法及系统 WO2011057544A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200910178353XA CN102055598A (zh) 2009-11-11 2009-11-11 一种实现点到多点802.3ah协议OAM的方法及系统
CN200910178353.X 2009-11-11

Publications (1)

Publication Number Publication Date
WO2011057544A1 true WO2011057544A1 (zh) 2011-05-19

Family

ID=43959557

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078464 WO2011057544A1 (zh) 2009-11-11 2010-11-05 一种基于802.3ah协议实现点到多点OAM的方法及系统

Country Status (2)

Country Link
CN (1) CN102055598A (zh)
WO (1) WO2011057544A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378245A (zh) * 2014-12-09 2015-02-25 盛科网络(苏州)有限公司 在l2vpn架构的ac口上实现oam的方法及装置

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102904775B (zh) * 2012-09-29 2015-04-29 华为技术有限公司 网络丢包测量方法、设备和系统
CN103078791B (zh) 2013-01-31 2016-08-10 华为技术有限公司 Oam报文处理方法、设备及系统
CN104506391B (zh) * 2015-01-04 2018-06-01 中国联合网络通信集团有限公司 以太专线测试方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1913496A (zh) * 2006-08-30 2007-02-14 华为数字技术有限公司 一种oam报文的转发控制方法及系统
CN1992651A (zh) * 2005-12-29 2007-07-04 华为技术有限公司 检测以太网多播性能的实现方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992651A (zh) * 2005-12-29 2007-07-04 华为技术有限公司 检测以太网多播性能的实现方法
CN1913496A (zh) * 2006-08-30 2007-02-14 华为数字技术有限公司 一种oam报文的转发控制方法及系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG XIN: "Design ofEPON network administration system and Software achievement of OAM protocol", CHINESE DOCTORAL DISSERTATIONS & MASTER'S THESES FULL-TEXT DATABASE (MASTER) INFORMATION SCIENCE AND TECHNOLOGY, 15 December 2006 (2006-12-15), pages I136 - 819 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378245A (zh) * 2014-12-09 2015-02-25 盛科网络(苏州)有限公司 在l2vpn架构的ac口上实现oam的方法及装置
CN104378245B (zh) * 2014-12-09 2018-01-05 盛科网络(苏州)有限公司 在l2vpn架构的ac口上实现oam的方法及装置

Also Published As

Publication number Publication date
CN102055598A (zh) 2011-05-11

Similar Documents

Publication Publication Date Title
US11374857B2 (en) Network device management method and apparatus, and system for indicating a network device to perform management operation
RU2605494C2 (ru) СПОСОБ И УСТРОЙСТВО ДЛЯ ОБНАРУЖЕНИЯ ЗАКОЛЬЦОВЫВАНИЯ ПОРТОВ Ethernet
TW201145853A (en) Methods and apparatus for extending MAC control messages in EPON
WO2014021870A1 (en) Feature enablement or disablement determination based on discovery message
WO2011017986A1 (zh) 一种无源光网络中ploam消息的传输方法及组装方法
US20220060344A1 (en) Method for indicating multicast forwarding entry and device
CN105471603B (zh) 一种远程配置光网络单元ptp业务的方法、装置和系统
WO2011150620A1 (zh) 家庭网关识别入网的方法及系统
WO2019223534A1 (zh) 一种转发表项的监测方法及装置
US20140153442A1 (en) Method, Device, and System for Packet Processing
WO2016101525A1 (zh) 光网络单元dpu设备管理方法、装置及系统
CN101188510A (zh) 地址集中控制的方法、设备及系统
CN102045250B (zh) Vpls中组播报文的转发方法和服务提供商边缘设备
KR101990480B1 (ko) 패시브 광학 네트워크에서의 단말 디바이스를 관리하는 방법, 장치 및 시스템
WO2011057544A1 (zh) 一种基于802.3ah协议实现点到多点OAM的方法及系统
WO2014094224A1 (zh) 一种确定管理域的方法、网络设备及虚拟集群
WO2015070611A1 (zh) 一种控制网元设备加入网络的方法及网元设备
CN112887312B (zh) 一种慢协议报文处理方法及相关装置
WO2012068899A1 (zh) 链路状态的处理方法、装置及系统
EP4117242A1 (en) Message detection method, device and system
WO2012079303A1 (zh) 一种对光网络单元进行认证控制的方法及装置
WO2011113398A1 (zh) 一种管理维护通道的构建方法及节点
WO2012167681A1 (zh) 传输设备及其发布信息的方法
KR20190080449A (ko) Sdn 스위치(ap) 및 sdn 스위치(ap)를 이용한 멀티캐스트 방법
WO2022068389A1 (zh) 一种基于用户组的报文转发方法、设备及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10829508

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10829508

Country of ref document: EP

Kind code of ref document: A1