CN101355450B - Method for preventing link from switching frequently - Google Patents
Method for preventing link from switching frequently Download PDFInfo
- Publication number
- CN101355450B CN101355450B CN2008102115150A CN200810211515A CN101355450B CN 101355450 B CN101355450 B CN 101355450B CN 2008102115150 A CN2008102115150 A CN 2008102115150A CN 200810211515 A CN200810211515 A CN 200810211515A CN 101355450 B CN101355450 B CN 101355450B
- Authority
- CN
- China
- Prior art keywords
- cycle
- oampdu
- oam
- information
- oam pdu
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The present invention provides a method for preventing a chain circuit from being frequently switched, comprising:enabling one end of a user terminal operated/administrated/maintained by Ethernet to carry a data frame dispatching cycle when the end dispatches an information frame to other user terminal. The user terminal which receives the information frame determines whether the data frame dispatching cycle matches the digestion period of the receiving terminal, and notifies the dispatching end of the failure of the establishment of the operation/administration/maintenance neighbor if the data frame dispatching cycle does not match the digestion period of the receiving terminal. By adopting the technical proposal, the problem that the operation/administration/maintenance status of the chain circuit is switched between the up state and the down state due to the inappropriate configuration of the data frame dispatching cycle is effectively solved, and thus the stability of the chain circuit is improved.
Description
Technical field
The present invention relates to the network communications technology, be specifically related to prevent in the Ethernet OAM link the frequent method of switching of link.
Background technology
Along with the appearance of recent Metro Ethernet and " carrier-class Ethernet ", these networks need be managed by the service supplier, and to become real " carrier-class " system, ethernet management support is detected defective automatically for this and Performance Evaluation is most important.Therefore, Ethernet OAM (Operations: operation/Administration: management/and Maintenance: safeguard) idea is arisen at the historic moment.Ethernet OAM is an optional sublayer that is used for carrying out link operation, monitoring and fault location in the data link layer, provides such as the indication of far-end chain circuit alarming, remote loopback control etc.
It is that destination address is set up OAM neighbours as the Frame of 0x01-80-c2-00-00-02 at the two ends of link that Ethernet OAM is used OAM Protocol Data Unit, detect the existing state and the health status of this link by the transmission OAM PDU (Protocol Data Unit) in cycle, this Frame is not transmitted between bridge usually and is directly resolved by media access control sublayer.Ethernet OAM is by periodic transmission OAM PDU, the operate as normal of guaranteeing link alternately of the information of carrying out, if in the regular hour, do not receive the OAM PDU that neighbours send, perhaps receive the OAM PDU that characterizes problems such as link performance, think that so fault has appearred in this link, send alarm information notice tension management agreement.
Therefore the transmission cycle of OAM PDU and two parameters of neighbours' time-out time have determined the judgement to this link existing state.The regulation OAM PDU transmission cycle is defaulted as per second once in the agreement, be unlikely the forwarding performance that influences service traffics on the link for the transmission that makes OAMPDU, therefore suggestion per second transmission OAMPDU can not be above 10 in the agreement, the minimum 100ms of being of the cycle that promptly sends, but regulation is not proposed for OAM neighbours' ageing time in the agreement, the problem that may occur is, for example work as the link local terminal and send the transmission cycle of OAM PDU more than or equal under the situation of neighbours OAM PDU receive time-out time of this link opposite end, the overtime timer of the neighbours of unmatched link far-end is 0, think that link opposite end neighbours are overtime, Link State switches to the Down state from the Up state, this moment, the PDU transmission timer of link local terminal was 0, send OAM PDU, but this moment, far-end thought that link has been in the state of fault, therefore Link State switches to the Up state from the Down state, final result shows as the link far-end that has disposed the cycle that do not match and think switching that this link do not stop between Up and Down state, and do not mention this problem in the prior art, solution is not proposed yet.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of frequent method of switching of link that prevents, has solved the problem that oam state is constantly switched between Up and Down state on the link of having enabled OAM effectively.
In order to address the above problem, the invention provides a kind of frequent method of switching of link that prevents, comprise: enabled a end in the user side of ethernet operation/manage/safeguard OAM carries this transmitting terminal when other user sides send information frame Information OAMPDU Frame OAM PDU and sent the cycle, the user side that receives Information OAMPDU judge described OAM PDU send the cycle whether with coupling digestion period of receiving terminal, then do not notify transmitting terminal OAM neighbours to set up failure if match.
Further, the OAMPDU transmission cycle of carrying this transmitting terminal during described transmission Information OAMPDU is meant, represents the described OAM PDU transmission cycle with 5 bits in the Frame configuration information OAMPDU Configuration field of local information type field Local Information TLV.
Further, represent that with the 11st to 15 bit of described OAMPDU Configuration field described OAM PDU sends the cycle, the decimal number of 5 binary code correspondences is on duty to be the described OAMPDU transmission cycle with 100ms.
Further, the OAM PDU transmission cycle of carrying local terminal during described transmission Information OAMPDU is meant, represents the described OAM PDU transmission cycle with 4 bits in the OAMPDU Configuration field of Local Information TLV.
Further, represent that with 4 bits in the 11st to 15 bit of described OAMPDU Configuration field described OAM PDU sends the cycle, the decimal number of 4 binary code correspondences is on duty to be the described OAM PDU transmission cycle with 100ms.
Further, judge that described OAM PDU sends whether the cycle is not match more than or equal to receiving terminal explanation digestion period if OAM PDU sends the cycle with the method for mating the digestion period of receiving terminal.
Further, judge that described OAM PDU sends whether the cycle is not match more than or equal to the aging overtime patient time explanation of receiving terminal if OAM PDU sends the cycle with the method for mating the digestion period of receiving terminal.
Inform that also failure cause is not for matching the digestion period that OAM PDU sends cycle and receiving terminal when further, described receiving terminal notice transmitting terminal OAM neighbours set up failure.
In sum, the invention provides a kind of frequent changing method of link that prevents, the both link ends of having enabled OAM(Operation Administration Maintenance) can know that opposite end OAM PDU sends the cycle, cause the problem that oam state is constantly switched on the link thereby solved effectively between Up and Down state, and then improved the stability of link because of OAMPDU sends the cycle mis-arrange.
Description of drawings
Fig. 1 is an OAM application scenarios schematic diagram;
Fig. 2 is that the OAMPDU that opens the equipment extraction port of OAM(Operation Administration Maintenance) sends cyclic flow graph.
Embodiment
The invention provides a kind of frequent method of switching of link that prevents, comprise: enabled a end in the user side of Ethernet OAM carries this transmitting terminal when other user sides send Information OAMPDU (information frame) Frame OAM PDU and sent the cycle, the user side that receives Information OAMPDU judge this OAM PDU send the cycle whether with coupling digestion period of receiving terminal, then do not notify transmitting terminal OAM neighbours to set up failure if match.
Be an application OAM management the most basic and the networking diagram that detects two layers of Link State of Ethernet as shown in Figure 1, sending ending equipment and receiving device all are the equipment of supporting IEEE802.3OAM among the figure, have promptly all enabled OAM(Operation Administration Maintenance).
At first simple declaration once at present IEEE802.3 OAMPDU is sent the description of the OAMPDU Configuration field field of Local Information TLV (local information type field) in the regulation in cycle and the Information OAMPDU message.
In agreement the acquiescence transmission cycle of suggestion OAM PDU be per second once, maximum transmission frequency can not surpass 10 of per seconds, i.e. the transmission cycle is 100ms, to avoid the too much waste link bandwidth of OAMPDU datagram, influences normal service traffics.
Information OAMPDU is the oam state information that is used for announcing the opposite equip. local terminal in the OAM agreement, and OAM Discovery (discovery) stage is used for finding neighbours and sets up OAM and be connected.The portable TLV of Data part of this PDU has Local Information TLV fields, Remote InformationTLVfields (far-end information type/length/value field) etc., wherein Local Information TLV structure such as figure below:
Local?Information?TLVfields
Information Type (information type) 1Oct |
Information Length (message length) 1Oct |
OAM Version (OAM version) 1Oct |
Revision (keeping the position) 2Oct |
State (state) 1Oct |
OAMConfiguration (OAM configuration information) 1Oct |
OAMPDU Configuration (OAMPDU configuration information) 2Oct |
OUI (tissue unique identification) 3Oct |
Vendor Specific Info (manufacturer's specific information) 4Oct |
OAMPDU Configuration field is totally 2 bytes (Oct), 16 bit, low 11 promptly the 0th to 10bit are used for describing Maximum OAMPDU Size (maximum length of OAMPDU), high 5 the 11st is reserve bytes to 15bit promptly, can utilize this this reserved field to describe the transmission cycle of port OAM PDU among the present invention.Because transmission cycle minimum be 100ms, thus the transmission cycle that this field is carried so long as the multiple of 100ms gets final product, 5bit can describe 32 kinds of transmission cycles, can satisfy the demands in 10 kinds of transmission cycles fully.
Can represent that OAMPDU sends the cycle with the 11st to 15bit of OAMPDU Configuration field, the decimal number of 5 binary code correspondences is on duty to be the OAM PDU transmission cycle with 100ms.For example, the transmission cycle of A port arrangement is 500ms, i.e. 5 * 100ms on the equipment 1, so, in OAMPDU Configuration high 5 promptly the value of the 11st to the 15th record can be set to 5, being converted into binary system is 00101,2 bit of front deficiency fill with 0.
Can also with OAMPDU Configuration field the 11st to 15bit in 4 bit representation OAM PDU send the cycle, as the the 11st to 14bit or the 12nd to 15bit, the decimal number of 4 binary code correspondences is on duty to be this OAM PDU transmission cycle with 100ms.
Be illustrated in figure 2 as and carry the flow chart that OAM PDU sends the cycle between two equipment among Fig. 1 in setting up OAM neighbours' negotiations process, as transmitting terminal, equipment 2 is the example explanation as receiving terminal with equipment among Fig. 11:
The Information OAMPDU message that step 204, equipment 1 will have been carried the OAM PDU transmission cycle sends on the B interface of receiving device 2, and this message is represented to wish to set up OAM neighbours with receiving terminal;
The present invention carries out assignment to the retention parameter in the existing protocol, the OAM negotiation itself is not exerted an influence, and the influence of the LocalInformation TLV that can not be subjected to comprising this field is set up in the connection of OAM neighborhood between two ports.
This step judges that OAM PDU sends the method for whether mating the digestion period of disposing on cycle and the local B interface and can be: if the OAM PDU transmission cycle more than or equal to local terminal (being receiving terminal) digestion period, explanation does not match; If equipment 2 is provided with aging overtime patient time, OAM PDU can also be sent cycle and aging overtime patient time relatively, when OAM PDU send the cycle during more than or equal to aging overtime patient time explanation do not match; Aging overtime patient time can but to be not limited to be the product of tolerance coefficient of local terminal digestion period and setting.
In sum, through processing of the present invention, send the cycle by local device perception far-end, judge whether to mate local terminal digestion period, solved the neighbours' that set up under two ends OAMPDU transmission cycle and the unmatched situation of neighbours' time-out time instability problem, not only do not influence the function of agreement definition itself, can also before neighbours set up, make inspection and alarm in advance unmatched configuration.
Claims (8)
1. one kind prevents the frequent method of switching of link, comprise: enabled a end in the user side of ethernet operation/manage/safeguard OAM carries this transmitting terminal when other user sides send information frame Information OAMPDU Frame OAM PDU and sent the cycle, the user side that receives Information OAMPDU judge described OAM PDU send the cycle whether with coupling digestion period of receiving terminal, then do not notify transmitting terminal OAM neighbours to set up failure if match.
2. the method for claim 1 is characterized in that:
The OAM PDU transmission cycle of carrying this transmitting terminal during described transmission Information OAMPDU is meant, represents the described OAM PDU transmission cycle with 5 bits in the Frame configuration information OAMPDU Configuration field of local information type field Local Information TLV.
3. method as claimed in claim 2 is characterized in that:
Represent that with the 11st to 15 bit of described OAMPDU Configuration field described OAMPDU sends the cycle, the decimal number of 5 binary code correspondences is on duty to be the described OAMPDU transmission cycle with 100ms.
4. the method for claim 1 is characterized in that:
The OAM PDU transmission cycle of carrying local terminal during described transmission Information OAMPDU is meant, represents the described OAM PDU transmission cycle with 4 bits in the OAMPDU Configuration field of Local Information TLV.
5. method as claimed in claim 4 is characterized in that:
Represent that with 4 bits in the 11st to 15 bit of described OAMPDU Configuration field described OAM PDU sends the cycle, the decimal number of 4 binary code correspondences is on duty to be the described OAM PDU transmission cycle with 100ms.
6. the method for claim 1 is characterized in that:
Judge that described OAM PDU sends whether the cycle is not match more than or equal to receiving terminal explanation digestion period if OAMPDU sends the cycle with the method for mating the digestion period of receiving terminal.
7. the method for claim 1 is characterized in that:
Judge that described OAM PDU sends whether the cycle is not match more than or equal to the aging overtime patient time explanation of receiving terminal if OAM PDU sends the cycle with the method for mating the digestion period of receiving terminal.
8. the method for claim 1 is characterized in that:
Described receiving terminal notice transmitting terminal OAM neighbours inform also when setting up failure that failure cause is not match the digestion period that OAMPDU sends cycle and receiving terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102115150A CN101355450B (en) | 2008-09-10 | 2008-09-10 | Method for preventing link from switching frequently |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2008102115150A CN101355450B (en) | 2008-09-10 | 2008-09-10 | Method for preventing link from switching frequently |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101355450A CN101355450A (en) | 2009-01-28 |
CN101355450B true CN101355450B (en) | 2011-11-30 |
Family
ID=40308058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2008102115150A Expired - Fee Related CN101355450B (en) | 2008-09-10 | 2008-09-10 | Method for preventing link from switching frequently |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101355450B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101651570A (en) * | 2009-09-15 | 2010-02-17 | 中兴通讯股份有限公司 | Method and device for improving stability of network equipment |
CN110876143A (en) * | 2018-08-31 | 2020-03-10 | 北京意锐新创科技有限公司 | Method and device for preventing switching application system based on mobile payment equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913453A (en) * | 2006-08-22 | 2007-02-14 | 华为技术有限公司 | Method and device for quickly fault detection from point-to-point |
-
2008
- 2008-09-10 CN CN2008102115150A patent/CN101355450B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1913453A (en) * | 2006-08-22 | 2007-02-14 | 华为技术有限公司 | Method and device for quickly fault detection from point-to-point |
Also Published As
Publication number | Publication date |
---|---|
CN101355450A (en) | 2009-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102007729B (en) | Connectivity fault management traffic indication extension | |
CN104158917B (en) | Reclaim the method and apparatus of the IP address at dhcp client end | |
US8842521B2 (en) | Communication management apparatus, communication node, and data communication method | |
US20140122140A1 (en) | Advanced managed service customer edge router | |
JP5534026B2 (en) | Communication system control method, communication system, and communication apparatus | |
CN103686854A (en) | Method and device for controlling AP | |
US9007228B2 (en) | Transmission system using dying gasp | |
US9391842B2 (en) | Self-configuring transport network | |
EP2165463B1 (en) | Connectivity fault management for ethernet tree (e-tree) type services | |
JP5505496B2 (en) | Wireless terminal device, communication device, wireless communication system, and communication method | |
CN101355450B (en) | Method for preventing link from switching frequently | |
JP5220656B2 (en) | Network system | |
CN103118387A (en) | Lightweight access point (AP) redundancy access control method of active standby mode | |
CN113765743B (en) | Intelligent gateway working state monitoring method | |
CN102368873A (en) | Double-path connection M2M (machine-to-machine) system, terminal and connection method thereof | |
CN102082678A (en) | Processing method and equipment of port discarding OAM (Operation, Administration and Maintenance) protocol | |
CN104487997A (en) | Mold management system having preset and automatic setting functions | |
CN101163057A (en) | Fault notifying method and apparatus, and service receiving method and apparatus | |
CN102014054A (en) | Sending method and equipment for keep-alive messages | |
JP6535697B2 (en) | INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND INFORMATION PROCESSING PROGRAM | |
EP2490402B1 (en) | A networking device adapted for use as a gateway for a local network, and associated method | |
CN103957079A (en) | Negotiation method and equipment in HDLC network | |
CN101795186A (en) | Linkage disconnecting method, system and equipment | |
JP6204397B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM | |
JP5760729B2 (en) | COMMUNICATION DEVICE, NETWORK, AND COMMUNICATION METHOD USED FOR THEM |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20111130 Termination date: 20170910 |