CN101478438B - Ethernet OAM link discovery method - Google Patents
Ethernet OAM link discovery method Download PDFInfo
- Publication number
- CN101478438B CN101478438B CN2009101050223A CN200910105022A CN101478438B CN 101478438 B CN101478438 B CN 101478438B CN 2009101050223 A CN2009101050223 A CN 2009101050223A CN 200910105022 A CN200910105022 A CN 200910105022A CN 101478438 B CN101478438 B CN 101478438B
- Authority
- CN
- China
- Prior art keywords
- rxrmtid
- identifier
- timer
- switching equipment
- oampdu
- 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.)
- Active
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
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 RxRmtId; 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:
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 RxRmtId, 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 the 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:
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 (5)
1. an ethernet operation management maintenance 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 to a switching equipment identifier when unequal, check RxRmtId whether a switching equipment identifier is existed, if there is no, then carry out following initialization procedure: this 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;
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.
2. ethernet operation management maintenance OAM link discovery method according to claim 1, 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 RxRmtId guard timer, compensation ageing time.
3. ethernet operation management maintenance OAM link discovery method according to claim 2 is characterized in that, in the described initialization procedure, initialization RxRmtId guard timer the time earlier default ageing time and digestion period.
4. ethernet operation management maintenance OAM link discovery method according to claim 3 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.
5. according to each described ethernet operation management maintenance OAM link discovery method of claim 1~2, 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.
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 CN101478438A (en) | 2009-07-08 |
CN101478438B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102480380B (en) * | 2010-11-26 | 2016-01-20 | 中兴通讯股份有限公司 | A kind of realize ethernet device set up OAM connect method and system |
CN104639362A (en) * | 2013-11-15 | 2015-05-20 | 中兴通讯股份有限公司 | OAM (operation administration and maintenance) performance monitoring method and OAM performance monitoring device |
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 |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170458A (en) * | 2007-11-27 | 2008-04-30 | 中兴通讯股份有限公司 | Ethernet OAM remote loop method |
-
2009
- 2009-01-13 CN CN2009101050223A patent/CN101478438B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170458A (en) * | 2007-11-27 | 2008-04-30 | 中兴通讯股份有限公司 | Ethernet OAM remote loop method |
Also Published As
Publication number | Publication date |
---|---|
CN101478438A (en) | 2009-07-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20120134664A1 (en) | Joint switching method for an aggregation node, aggregation node and system | |
CN101822070B (en) | Communications network | |
US6298456B1 (en) | Runtime detection of network loops | |
CN100438505C (en) | Passive optic network user terminal and its power control and state reporting method | |
KR101472407B1 (en) | Method and apparatus for detecting optical network unit, and passive optical network system | |
CN101478438B (en) | Ethernet OAM link discovery method | |
US20110038629A1 (en) | Immediate protection scheme for passive optical network | |
CN101867414A (en) | Optical transceiver and optical communication 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 | |
CN106464356B (en) | A kind of detection method of rogue's optical network unit, apparatus and system | |
CN101267312B (en) | A method for preventing address from confliction detection and cheat in network | |
CN109600276A (en) | The condition monitoring system of electricity consumption acquisition virtual private channel link | |
CN106685783A (en) | Ring network protection method and 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 | |
CN113300801B (en) | Time synchronization method and system based on secure gPTP | |
CN105281824A (en) | Method and device for detecting constant light-emitting optical network unit (ONU) and network management equipment | |
CN111954101B (en) | Method and device for detecting repeated ALLOC ID in GPON system | |
CN102130793B (en) | Method, device and system for processing loop circuit in access network | |
CN113660555B (en) | Uplink channel fault detection system of passive optical network | |
CN106059824B (en) | fault processing method and device | |
CN102006525A (en) | Optical communication control device | |
US20220224595A1 (en) | Optical communication device and control method |
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 |