CN101478438A - Ethernet OAM link discovery method - Google Patents

Ethernet OAM link discovery method Download PDF

Info

Publication number
CN101478438A
CN101478438A CNA2009101050223A CN200910105022A CN101478438A CN 101478438 A CN101478438 A CN 101478438A CN A2009101050223 A CNA2009101050223 A CN A2009101050223A CN 200910105022 A CN200910105022 A CN 200910105022A CN 101478438 A CN101478438 A CN 101478438A
Authority
CN
China
Prior art keywords
identifier
rxrmtid
timer
ethernet oam
switching equipment
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CNA2009101050223A
Other languages
Chinese (zh)
Other versions
CN101478438B (en
Inventor
姜鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2009101050223A priority Critical patent/CN101478438B/en
Publication of CN101478438A publication Critical patent/CN101478438A/en
Application granted granted Critical
Publication of CN101478438B publication Critical patent/CN101478438B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method for discovering an Ethernet operation and maintenance (OAM) link, which comprises the following steps: introducing an RxRmtId filter field in a resolution state machine for checking legal OAM protocol data unit (OAMPDU) frame; when the identification information of the OAMPDU frame and the counter point switching equipment identifier of the RxRmtId are not same, checking the existence of the counter point switching equipment identifier of the RxRmtId, in the case of existence, initializing; otherwise, judging that the counter point switching equipment identifier of the RxRmtId is a dynamic identifier or a stationary identifier, in the case of a stationary identifier, generating an occupation failure log or alarm and discarding the OAMPDU frame participating in occupation; and in the case of a dynamic identifier, searching whether the daemon timer is effective. The method can reliably realize point-to-point Ethernet OAM discovery in a point-to-multipoint environment which does not support multi-point control protocol (MPCP) or a point-to-point environment with illegally accessed equipment, so as to improve the security and robustness of Ethernet OAM discovery.

Description

A kind of Ethernet OAM link discovery method
Technical field
The invention belongs to the link detecting field, be specifically related to a kind of Ethernet OAM (Operation AdministrationMaintenance, operation management maintain) link discovery method.
Background technology
Along with the development of IP network towards multi-service, broadband direction, traditional Ethernet does not have the carrier class managerial ability, can not detect, announce or isolate the double layer network fault, more can not detect the end-to-end switching performance and the state of customer service, when network breaks down, there is not effective method to find and isolate.A kind of link management and maintaining method of data link layer have wherein been defined, for the network manager provides connection status, the discovery in time between the monitoring network point-to-point and located link failure fast based on the Ethernet OAM of IEEE 802.3ah.Ethernet OAM has the link discovery ability, by the slow protocol frame finish between the point-to-point, based on the point of MPCP (Multipoint MAC Control Protocol, Multi-point Control Protocol) to the link discovery process between the multiple spot; Ethernet OAM provides link monitoring and the isolated operations such as link monitoring, the announcement of link failure far-end and remote loopback controlled function based on link discovery simultaneously.
The Ethernet OAM link discovery is whether a kind of detection remote equipment exists the OAM sublayer (to be arranged in data link layer MAC (Media Access Control, medium access control system) or on the MAC control sublayer, under MAC client layer or the link aggregation layer) operation, it by management discovery, transmission, multiplexing, resolve discovery and other function that the one of four states machine is finished Ethernet OAM.The Discovery Status machine mainly is responsible for the switching of Discovery Status, multiplexing state machine is responsible for the inner various request primitives of OAM are encapsulated as the MAC request primitive, the parse state machine is responsible for the MAC indication is resolved to the inner indication of various OAM, comprise that triggering the Discovery Status machine switches required OAMPDU (OAM Protocol Data Unit, OAM Protocol Data Unit).And discovery procedure to set up successfully be the prerequisite of finishing other Ethernet OAM function, discovery procedure simultaneously is subjected to the restriction of these state machines and message thereof again.Wherein rxOK of parse state machine (it is normal to receive message) and RxOAMPDU (receiving the OAMPDU frame) set up simultaneously and have determined in time obtaining of Discovery Status machine information needed.
Usually in the network topology of putting multiple spot, as PON (Passive Optical Network, EPON) OLT (Optical Line Terminal in the network, optical line terminal) and between the ONU (Optical Network Unit, optical network unit) just can finish the OAM discovery procedure of a bit arriving multiple spot by the MPCP agreement.In the topology of point-to-point, it is which platform equipment just can be found by the interference-free OAM of finishing that Ethernet OAM link discovery process is not paid close attention to point.But when illegality equipment inserts, puts multiple spot and will finish single-point equipment (not supporting the network of MPCP) Ethernet OAM butt joint situation, but since Ethernet OAM be indifferent to point device caused the disorder of OAM discovery feature.As when a plurality of equipment connect by share transmission link, often receive that simultaneously other several OAMPDU legal or illegal access device does not add differentiation again or filters situations such as causing Ethernet OAM discovery failure, other function operation exception of Ethernet OAM owing to open the equipment of Ethernet OAM function, have a strong impact on the applicability and the fail safe of Ethernet OAM, therefore need a kind of reliable Ethernet OAM link discovery method.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, the Ethernet OAM that a kind of applicability is stronger, fail safe is higher link discovery method is provided.This method protects the Ethernet OAM link discovery normally to move by introducing RxRmtTd; avoid because Ethernet OAM is indifferent to that point device is caused in the point to multi-point ring border of not supporting MPCP or has in the point-to-point environment of illegal access device, the discovery procedure disorder such as maybe can't finish at problem.
For solving the problems of the technologies described above, the present invention is achieved by the following technical solutions:
A kind of Ethernet OAM link discovery method comprises the steps:
Increase RxRmtId and filter word: in the parse state machine, introduce RxRmtId and filter word, this RxRmtId filters word and is used for legal OAMPDU frame is checked (promptly be positioned at rxOK and RxOAMPDU check set up after) that it comprises a switching equipment identifier and guards timer; Described a switching equipment identifier is used for the equipment whether OAMPDU frame that mark receives docks from hope, it comprises the static identifier of user's static configuration and according to the dynamic identifier of identification information dynamic learning among the OAMPDU; Describedly guard the life cycle that timer is used to indicate the dynamic identifier of dynamic generation;
The self-protection process: when the identification information of OAMPDU frame and RxRmtId a switching equipment identifier when unequal, is checked RxRmtId whether a switching equipment identifier is existed, if there is no, then carry out initialization; Otherwise what judge RxRmtId is dynamically or static state to a switching equipment identifier, if static identifier then produces and seizes failure daily record or alarm, and abandons and participates in the OAMPDU frame seized; If dynamic identifier, whether then searching it, to guard timer effective, if it is invalid, then use the dynamic identifier of the update of identification information RxRmtId of legal first OAMPDU frame, and initialization RxRmtId guard timer, if effectively, then produce and seize failure daily record or alarm, and abandon the OAMPDU frame that participation is seized.
Described initialized process is as follows:
This some switching equipment is initiated Ethernet OAM function, system searches the user according to the configuration file of this switching equipment Ethernet OAM and whether has disposed static identifier, if the user has disposed static identifier, then RxRmtId is initialized as static identifier to a switching equipment identifier; If the user does not dispose, then monitor frame primitive from the MAC of system layer, and with the identification information recording of legal first OAMPDU frame on the dynamic identifier of RxRmtId, and initialization RxRmtId guard timer.
This Ethernet OAM link discovery method also comprises the timer compensation process: system is a trigger condition with the legal first OAMPDU frame that receives, judge the identification information of OAMPDU frame and RxRmtId whether a switching equipment identifier is equated, if unequal, then enter the self-protection process; If equate, then with Discovery Status machine state SEND_ANY be the condition dynamic identifier of upgrading RxRmtId guard timer, compensation ageing time.
In the described initialization procedure, initialization RxRmtId guard timer the time earlier default ageing time and digestion period.
In the described initialization procedure, ageing time is 15~35 times of local_lost_link_timer (link-local is lost timer) times, specifically can be according to the network performance setting; Digestion period scope from 100ms to the aging time, can be according to the systematic function setting; In the described timer compensation process, the compensation ageing time is 15~35 times of local_lost_link_timer (link-local is lost timer) times, specifically can be according to the network performance setting, and static identifier need not to upgrade guards timer; In the described self-protection process; initialization RxRmtId guard timer the time; ageing time is 15~35 times of local_lost_link_timer (link-local is lost timer) times; specifically can be according to the network performance setting; digestion period scope from 100ms to the aging time, can be according to the systematic function setting.
More than to a switching equipment being discerned when filtering, described a switching equipment identifier is used for participating in the unique identification network equipment that inserts, can be MAC to an access device, also can be the ID that other can the unique identification network equipment.
Use Ethernet OAM link discovery method of the present invention to have following beneficial effect:
The present invention does not support the point of MPCP under the point-to-point environment of multiple spot or shared link in part; a kind of protected discover method of reliable, safe Ethernet OAM has been proposed; filter word by introducing RxRmtId; safeguard and participate in discovering device; realized in the point to multi-point ring border of not supporting MPCP or had in the point-to-point environment of illegal access device; reliably finish the process that the Ethernet OAM point-to-point is found, strengthened the Ethernet OAM discovery procedure complicated, illegally insert or the shared link environment under fail safe and robustness.
Description of drawings
Fig. 1 is an Ethernet OAM link schematic diagram under the shared link environment;
Fig. 2 is the initialization flowchart that the Ethernet OAM protection is found;
Fig. 3 is the timer compensation flow chart that the Ethernet OAM protection is found;
Fig. 4 is the self-protection flow chart that the Ethernet OAM protection is found.
Embodiment
In order to understand the present invention better, the present invention is done to describe further below in conjunction with the drawings and specific embodiments.
See also Fig. 1, switching equipment switch1 and switch2 are known device, carry out Ethernet OAM by shared link and find that another unknown device Unknow also inserts this shared link subsequently, and also opens the Ethernet OAM discovery feature.
See also Fig. 2; switching equipment switch1 and switch2 use shielded Ethernet OAM discovery procedure; when opening discovery procedure, at first finish initialization flow process shown in Figure 2; for covering the dynamic and static mode of the present invention; is example with MAC as the equipment unique identifier; set forth switch1 respectively and adopt dynamic mac learning mode and switch2 to adopt user's configuring static MAC mode, its initialization step is as follows:
Step 201 judges whether system has disposed MAC, and not configuration of switch1 then enters step 203 among Fig. 1; Switch2 adopts configuring static MAC mode, enters step 202;
Step 202, switch2 is tied to the static MAC of user configured Ethernet OAM on the RxRmtId.MAC, and is labeled as static MAC A, enters step 206 and finishes initialization;
Step 203, switch1 constantly monitors the first legal OAMPDU from the MAC layer, if listen to legal OAMPDU, then enters step 204, otherwise repeats to monitor;
Step 204, switch1 extracts the source MAC of legal OAMPDU and is tied on the RxRmtId.MAC, is labeled as dynamic MACB, enters step 205; Because Unknow is linked into shared link subsequently, then herein the switch1 dynamic learning be that the MAC of switch2 is MAC B certainly;
Step 205, switch1 enables the timer of guarding of dynamic MAC, and initialization RxRmtId.Timer timer ageing time is 30 times local_lost_link_timer time, and be 100ms digestion period, enters step 206 and finish initialization operation;
Step 206 adopts the switch1 of dynamic learning mode and the switch2 of static configuration mode to finish the initialization flow process that protection is found.
See also Fig. 3; after switch1 or switch2 finish the protection initialization operation, just to follow discovery procedure and enter timer compensation flow process, this moment, Unknow equipment might insert shared link; might not insert, below step will according to circumstances be described below respectively:
Step 301, after Parser (parsing) state machine received legal OAMPDU, switch1 or switch2 all can compare the source MAC of frame and the MAC of RxRmt Id, if equate then enter step 302, if unequal then enter the protection flow process of step 303; As this moment Unknow equipment also open discovery procedure and insert shared link, then switch1 and switch2 are receiving that the OAMPDU from Unknow can enter the protection flow process;
Step 302, Parser state machine check whether RxRmtId.MAC is dynamic learning, are then to enter step 304, as adopting the switch1 of dynamic learning mode; Otherwise enter step 306, as adopting the switch2 of static binding;
Step 303 for the self-protection flow process that the Ethernet OAM protection is found, will be set forth below;
Step 304, the Parser state machine of switch1 judge whether the Discovery Status machine enters SEND ANY state, is then to enter step 305, otherwise enter the Parser state machine process of analysis of step 306;
Step 305, switch1 will arrive 30*local_lost_link_timer in this timer RxRmtId.Timer ageing time of guarding that compensates RxRmtId, and enter step 306;
Step 306 is for the normal process of analysis of Ethernet OAM Parser state machine is the IEEE802.3ah normal process, not in this narration.
See also Fig. 4, self-protection will realize that its self-protection step of finishing is as follows to the filtration of the Ethernet OAM discovery of improper access device according to the enforcement of preceding step:
Step 401 checks whether RxRmtId.MAC is effective, if effectively then enter step 402, otherwise enters step 404;
Step 402 judges that whether RxRmtId.MAC is dynamic learning, if then enter step 403, otherwise enters step 406;
Step 403, judge current dynamic MAC whether guard timer RxRmtId.Timer effective, produce illegal alarm if still effectively then enter step 406, otherwise enter step 404;
Step 404 produces new equipment access warning and system journal according to OAMPDU information;
Step 405 enters the initialization flow process that protection is found, initialization RxRmtId and termination, as shown in Figure 2;
Step 406 produces illegality equipment or can not identification equipment access warning and system journal according to OAMPDU information;
Step 407 abandons since then OAMPDU frame illegal or can not identification equipment.
Enforcement by above step; unrecognizable Unknow equipment will be respectively isolated with the switch1 of dynamic learning mode with the switch2 of static configuration mode; protected the discovery procedure of the Ethernet OAM of switch1 and switch2 equipment room effectively, the safe and reliable Ethernet OAM of IEEE802.3ah definition under this type of environment that realized is found.
More than to a switching equipment being discerned when filtering, also can adopt the ID that other can the unique identification network equipment to discern.
The Ethernet OAM link discovery method that the present invention proposes, do not support the point of MPCP under the point-to-point environment of multiple spot or shared link in part, the discovery procedure of realization Ethernet OAM that can be more stable, safer has strengthened reliability, fail safe and the high applicability of Ethernet OAM discovery feature.
The above only is preferred embodiment of the present invention;, not should be pointed out that for the person of ordinary skill of the art in order to restriction the present invention; any modification of being done within every the spirit and principles in the present invention, be equal to and replace or improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. an Ethernet OAM link discovery method is characterized in that, comprises the steps:
Increase RxRmtId and filter word: introduce RxRmtId and filter word in the parse state machine, this RxRmtId filters word and is used for legal OAMPDU frame is checked, it comprises a switching equipment identifier and guards timer; Described a switching equipment identifier is used for the equipment whether OAMPDU frame that mark receives docks from hope, it comprises the static identifier of user's static configuration and according to the dynamic identifier of identification information dynamic learning among the OAMPDU; Describedly guard the life cycle that timer is used to indicate the dynamic identifier of dynamic generation;
The self-protection process: when the identification information of OAMPDU frame and RxRmtId a switching equipment identifier when unequal, is checked RxRmtId whether a switching equipment identifier is existed, if there is no, then carry out initialization; Otherwise what judge RxRmtId is dynamically or static state to a switching equipment identifier, if static identifier then produces and seizes failure mouthful will or alarm, and abandons and participates in the OAMPDU frame seized; If dynamic identifier, whether then searching it, to guard timer effective, if it is invalid, then use the dynamic identifier of the update of identification information RxRmtTd of legal first OAMPDU frame, and initialization RxRmtId guard timer, if effectively, then produce and seize failure daily record or alarm, and abandon the OAMPDU frame that participation is seized.
2. Ethernet OAM link discovery method according to claim 1 is characterized in that, described initialized process is as follows:
This some switching equipment is initiated Ethernet OAM function, system searches the user according to the configuration file of this switching equipment Ethernet OAM and whether has disposed static identifier, if the user has disposed static identifier, then RxRmtId is initialized as static identifier to a switching equipment identifier; If the user does not dispose, then monitor frame primitive from the MAC of system layer, and with the identification information recording of legal first OAMPDU frame on the dynamic identifier of RxRmtId, and initialization RxRmtId guard timer.
3. Ethernet OAM link discovery method according to claim 2, it is characterized in that, also comprise the timer compensation process: system is a trigger condition with the legal first OAMPDU frame that receives, judge the identification information of OAMPDU frame and RxRmtId whether a switching equipment identifier is equated, if unequal, then enter the self-protection process; If equate, then with Discovery Status machine state SEND_ANY be the condition dynamic identifier of upgrading RxRmt Id guard timer, compensation ageing time.
4. according to claim 2 or 3 described Ethernet OAM link discovery methods, it is characterized in that, in the described initialization procedure, initialization RxRmtId guard timer the time earlier default ageing time and digestion period.
5. Ethernet OAM link discovery method according to claim 4 is characterized in that, in the described initialization procedure, ageing time is that 15~35 times of link-locals are lost timer time, and digestion period, scope was that 100ms arrives the aging time; In the described timer compensation process, the compensation ageing time is that 15~35 times of link-locals are lost timer time; In the described self-protection process, initialization RxRmtId guard timer the time, ageing time is that 15~35 times of link-locals are lost timer time, digestion period, scope was that 100ms arrives the aging time.
6. according to each described Ethernet OAM link discovery method of claim 1~3, it is characterized in that described is MAC to an access device to a switching equipment identifier, or the ID that other can the unique identification network equipment.
CN2009101050223A 2009-01-13 2009-01-13 Ethernet OAM link discovery method Active CN101478438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101050223A CN101478438B (en) 2009-01-13 2009-01-13 Ethernet OAM link discovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101050223A CN101478438B (en) 2009-01-13 2009-01-13 Ethernet OAM link discovery method

Publications (2)

Publication Number Publication Date
CN101478438A true CN101478438A (en) 2009-07-08
CN101478438B CN101478438B (en) 2011-06-22

Family

ID=40839073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101050223A Active CN101478438B (en) 2009-01-13 2009-01-13 Ethernet OAM link discovery method

Country Status (1)

Country Link
CN (1) CN101478438B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480380A (en) * 2010-11-26 2012-05-30 中兴通讯股份有限公司 Method for realizing establishment of OAM connection with Ethernet device and system thereof
WO2015070608A1 (en) * 2013-11-15 2015-05-21 中兴通讯股份有限公司 Oam performance monitoring method and apparatus
CN108964943A (en) * 2017-05-18 2018-12-07 中兴通讯股份有限公司 A kind of method and device for realizing IOAM encapsulation
CN114615148A (en) * 2022-03-16 2022-06-10 芯河半导体科技(无锡)有限公司 Rapid link aggregation failover method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170458B (en) * 2007-11-27 2011-04-20 中兴通讯股份有限公司 Ethernet OAM remote loop method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480380A (en) * 2010-11-26 2012-05-30 中兴通讯股份有限公司 Method for realizing establishment of OAM connection with Ethernet device and system thereof
WO2012068965A1 (en) * 2010-11-26 2012-05-31 中兴通讯股份有限公司 Method and system for ethernet device to establish oam connection
CN102480380B (en) * 2010-11-26 2016-01-20 中兴通讯股份有限公司 A kind of realize ethernet device set up OAM connect method and system
WO2015070608A1 (en) * 2013-11-15 2015-05-21 中兴通讯股份有限公司 Oam performance monitoring method and apparatus
CN108964943A (en) * 2017-05-18 2018-12-07 中兴通讯股份有限公司 A kind of method and device for realizing IOAM encapsulation
CN108964943B (en) * 2017-05-18 2022-01-28 中兴通讯股份有限公司 Method and device for realizing IOAM packaging
CN114615148A (en) * 2022-03-16 2022-06-10 芯河半导体科技(无锡)有限公司 Rapid link aggregation failover method

Also Published As

Publication number Publication date
CN101478438B (en) 2011-06-22

Similar Documents

Publication Publication Date Title
US20120134664A1 (en) Joint switching method for an aggregation node, aggregation node and system
CN101822070B (en) Communications network
CN100438505C (en) Passive optic network user terminal and its power control and state reporting method
US6298456B1 (en) Runtime detection of network loops
KR101472407B1 (en) Method and apparatus for detecting optical network unit, and passive optical network system
EP2421179A1 (en) Method, device and system for testing optical network
CN101478438B (en) Ethernet OAM link discovery method
CN106464356B (en) A kind of detection method of rogue's optical network unit, apparatus and system
CN101867414A (en) Optical transceiver and optical communication system
CN101854566A (en) Passive optical network protection method and active/standby switch device and system
US9083465B2 (en) Method for acquiring PON port association relationship, optical network device, and optical network system
US20100254257A1 (en) Method for processing failure of slave port of master node in ethernet ring network system
CN101345581A (en) Fault location method and system for passive optical network
CN101267312B (en) A method for preventing address from confliction detection and cheat in network
CN102035597A (en) Method, device and system for switching between main terminal and standby terminal of passive optical network (PON)
CN113300801B (en) Time synchronization method and system based on secure gPTP
CN109600276A (en) The condition monitoring system of electricity consumption acquisition virtual private channel link
CN106685783A (en) Ring network protection method and system
CN105119777B (en) A method of the link loopback detection in PON system
CN107294595A (en) A kind of detection method for growing luminous optical network unit, device and optical line terminal
CN101047443B (en) Fault detection debugging method of passive optical network system and communication message device
US20090067832A1 (en) Method and Apparatus for Verifying Signaling Values in an Optical Distribution Network
CN105281824A (en) Method and device for detecting constant light-emitting optical network unit (ONU) and network management equipment
CN102130793B (en) Method, device and system for processing loop circuit in access network
CN113660555B (en) Uplink channel fault detection system of passive optical network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant