CN102420828B - Method, device and system for setting protocol management status - Google Patents

Method, device and system for setting protocol management status Download PDF

Info

Publication number
CN102420828B
CN102420828B CN201110420817.0A CN201110420817A CN102420828B CN 102420828 B CN102420828 B CN 102420828B CN 201110420817 A CN201110420817 A CN 201110420817A CN 102420828 B CN102420828 B CN 102420828B
Authority
CN
China
Prior art keywords
protocol
management status
protocol management
state
status
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
Application number
CN201110420817.0A
Other languages
Chinese (zh)
Other versions
CN102420828A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110420817.0A priority Critical patent/CN102420828B/en
Publication of CN102420828A publication Critical patent/CN102420828A/en
Application granted granted Critical
Publication of CN102420828B publication Critical patent/CN102420828B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a method, a device and a system for setting a protocol management status. The method comprises the following steps of: after termination equipment receives a data message from source equipment, acquiring the protocol management status information of the source equipment from the data message, and setting a status in the protocol management status information of local equipment according to a status in the protocol management status information of the source equipment, wherein the status identifies whether a protocol is used normally or not; and detecting the connectivity of a link between a receiving party and the source equipment by using the protocol if the protocol is used normally, otherwise not detecting the connectivity of the link between the receiving party and the source equipment by using the protocol. By the method, the device and the system, the protocol management status can be safely set, and the problem of safe quitting of Ethernet connectivity detection is solved.

Description

The method to set up of protocol management status, device and system
Technical field
The present invention relates to network field, relate in particular to a kind of method to set up, device and system of protocol management status.
Background technology
EFM based on IEEE 802.3ah standard (Ethernet in the first mile, last kilometer of link detecting) agreement and the CFM based on IEEE 802.1ag standard (Connectivity Fault Management, connection fault management) agreement is all for detecting and find the Ethernet OAM (Operations of the other fault of link level, Administration and Maintenance, Operations, Administration and Maintenance) agreement.Its principle is all by timed sending PDU (Protocol Data Unit, protocol Data Unit), to carry out the connectedness of Sampling network.Under normal operating condition, EFM is by periodically sending OAMPDU (Operations to opposite end, Administration and Maintenance Protocol Data Unit, Operations,Administration And Maintenance protocol Data Unit), the transmission cycle is 1s, and opposite end is transmission cycle of 3 times because can not receive the overtime time of OAMPDU.CFM is by periodically sending CCMPDU (Continuity Check Message Protocol Data Unit to opposite end, continuity detect-message protocol Data Unit), the transmission cycle can specify by the Interval field field in agreement unit, and opposite end is transmission cycle of 3.5 times because can not receive the overtime time of CCMPDU.
In the time-out time of agreement (EFM or CFM), do not receive the PDU message that opposite end sends over, can become Down (exit status) by automatic triggered protocol detected state, and notify other characteristics that link with it (as agreements such as OSPF, BGP) to switch fast simultaneously.
As shown in Figure 1, when Ethernet OAM protocol detection outgoing link A exists link level fault, can trigger immediately ospf protocol and converge on B-> C link, thereby play the object of protection business.If because service needed, when again planning detection time or deleting the Ethernet OAM detection characteristic of the upper equipment of link A, can be because lack necessary safeguard measure, the unexpected property that causes interlock characteristic is shaken, thereby affects regular traffic.
In the prior art, can by human intervention initiatively switches measure, service traffics are introduced to redundant link, get around the Ethernet OAM detection characteristic that detects after link again the tamper detection time or delete the upper equipment of link A.But the detailed topological structure of personnel's awareness network that artificial intervention need to be intervened, and if do not consider redundancy structure when the business of deployment, can only interrupting service.Therefore, the method to set up of the protocol management status under prior art can affect the use of regular traffic.
Summary of the invention
The embodiment of the present invention provides a kind of method to set up, device and system of protocol management status, and the safety that has realized protocol management status arranges, and has solved the Safe withdrawing problem of Ethernet detection of connectivity, does not affect the use of regular traffic.
On the one hand, the invention process provides a kind of method to set up method of protocol management status, and described method comprises:
Receive the data message that source equipment sends;
Obtain the first protocol management status information in described data message;
According to the state in described the first protocol management status information, the state in corresponding second protocol controlled state information is set; Whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.
On the other hand, the embodiment of the present invention provides a kind of setting device of protocol management status, and described device comprises:
Receiver, the data message sending for receiving source equipment;
Acquiring unit, for obtaining the first protocol management status information of described data message;
Setting unit, for according to the state of described the first protocol management status information, arranges the state in corresponding second protocol controlled state information; Whether described status indicator is normally used for described agreement, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.
On the one hand, the embodiment of the present invention provides a kind of system that comprises the setting device of above-mentioned protocol management status again.
In the embodiment of the present invention, egress equipment receives after the data message of source equipment transmission, obtain the protocol management status information of the source equipment in described data message, according to the state in the protocol management status information of described source equipment, state in the protocol management status information of local device is set, whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.The safety that has realized thus protocol management status arranges, realized the safety setting of whether carrying out link detecting, without human configuration, and can not have influence on the characteristic of other and this agreement interlock, solve arranging of protocol management status in prior art and understood the problem that affect regular traffic, saved a large amount of time costs and Financial cost.
Accompanying drawing explanation
Fig. 1 is ethernet operation, administer and maintain the schematic diagram of OAM agreement and ospf protocol interlock;
The method to set up flow chart of a kind of protocol management status that Fig. 2 provides for the embodiment of the present invention;
The method to set up flow chart of the another kind of protocol management status that Fig. 3 provides for the embodiment of the present invention;
The setting device schematic diagram of a kind of protocol management status that Fig. 4 provides for the embodiment of the present invention.
Embodiment
In the embodiment of the present invention, egress equipment receives after the data message of source equipment transmission, obtain the protocol management status information of the source equipment in described data message, according to the state in the protocol management status information of described source equipment, state in the protocol management status information of local device is set, whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.The safety that has realized thus protocol management status arranges, and has realized the safety of whether carrying out link detecting and has arranged, and without human configuration, and can not have influence on the characteristic that other link with this agreement.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The method to set up flow chart of a kind of protocol management status that Fig. 2 provides for the embodiment of the present invention.As shown in Figure 2, the present embodiment comprises the following steps:
Step 201, egress equipment receives the data message that source equipment sends.
The data message that described reception source equipment sends is specially: receive continuous several Operations,Administration And Maintenance protocol Data Units or continuity detect-message protocol Data Unit that described source equipment sends.
While there is change in the EFM OAM protocol configuration of described source equipment, described source equipment arranges EFM protocol status by the EFM protocol state machine of local terminal, then to egress equipment, send continuously 3 Operations,Administration And Maintenance protocol Data Unit OAMPDU, the value of the protocol management status Admin Down Status in described 3 Operations,Administration And Maintenance protocol Data Units is identical.Preferably, the value of described Admin Down Status can be 0 or 1, is 0 o'clock, illustrates that the protocol management status of EFM agreement is normal; Be 1 o'clock, illustrate that the protocol management status of EFM agreement is abnormal.
While there is change in the CFM OAM protocol configuration of described source equipment, described source equipment arranges CFM protocol status by the CFM protocol state machine of local terminal, then to egress equipment, send continuously 3 Operations,Administration And Maintenance protocol Data Unit OAMPDU, the value of the Value of the protocol management status Admin Down Status TLV field in described 3 Operations,Administration And Maintenance protocol Data Unit OAMPDU is identical.Preferably, the value of the Value of described Admin Down Status TLV field can be 0 or 1, is 0 o'clock, illustrates that the protocol management status of CFM agreement is normal; Be 1 o'clock, illustrate that the protocol management status of CFM agreement is abnormal.
It should be noted that, in the embodiment of the present invention, protocol management status is the identification-state whether normally using for identifying described agreement, if protocol management status is normal, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.
Alternatively, in the embodiment of the present invention, while there is change in EFM OAM agreement or CFM OAM protocol configuration, described source equipment sends 3 protocol Data Units continuously to described egress equipment, described egress equipment, according to the protocol management status information of the described source equipment carrying in protocol Data Unit, is revised the protocol management status of local terminal.3 protocol Data Units of described continuous transmission are the specific embodiment of the present invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
The embodiment of the present invention provides the scheme that protocol management status arranges that realizes for two kinds of agreements.Two kinds of agreements are respectively EFM OAM agreement and CFM OAM agreement.
According to 802.3ah standard, EFM protocol massages form is as shown in table 1.
Table 1
In table 1, provided the architecture of Operations,Administration And Maintenance protocol Data Unit, wherein:
Destination Address is target MAC (Media Access Control) address, for slow protocol multicast address, therefore the feature of slow protocol message is to be forwarded by bridge, no matter whether possesses Operations,Administration And Maintenance function or no activation manipulation administers and maintains function, and EFM OAM message all can not forward across multi-hop.Take 6 bytes.
Source Address is source MAC, is the port mac address of source, is a unicast mac address.Take 6 bytes.
Length/Type is agreement length/type.Take 2 bytes.
Subtype is protocol subtypes.Take 1 byte.
Flags is tag field, the state information that comprises EFM OAM entity.Take 2 bytes.
Code is message coding, the dissimilar OAMPDU of the different expressions of value.The OAMPDU of common type comprises information OAMPDU, event notice OAMPDU, loopback control OAMPDU.
Data/Pad is data/filling field.Take 42-149 byte.
FCS is Frame Check Sequence field.Take 4 bytes.
Wherein, Flags field takies two bytes, and totally 16, wherein 1-7 position takies.The embodiment of the present invention is set to protocol management status Admin Down Status marker bit by the 8th of Flags field.
Admin Down Status is protocol management status marker bit, is 0 o'clock, illustrates that Local Data terminal installation DTE protocol management status is normal; Be 1 o'clock, illustrate that Local Data terminal installation DTE protocol management status is abnormal.
According to 802.1ag standard, the information of CFM OAM agreement identifies by TLV form, and the TLV type of embodiment of the present invention support has increased Admin Down Status TLV.The types value of Admin Down Status TLV is that 9, Value has two values, and value is 0 o'clock, represents that Local Data terminal equipment protocol management status is normal; Value is 1 o'clock, represents that Local Data terminal equipment protocol management status is abnormal.
Step 202, egress equipment obtains the first protocol management status information in described data message.
Described the first protocol management status information of obtaining in described data message is specially: the value of obtaining the protocol management status Admin Down Status in mark Flags field in described Operations,Administration And Maintenance protocol Data Unit; Or obtain the value Value in protocol management status Admin Down Status TLV field in described continuity detect-message protocol Data Unit.
Described egress equipment receives after the Operations,Administration And Maintenance protocol Data Unit of described source equipment transmission, obtains the value of the 8th bit protocol controlled state Admin Down Status in Flags field.The value of described protocol management status Admin Down Status has identified the protocol management status of the EFM OAM agreement of described source equipment.
Described egress equipment receives after the continuity detect-message protocol Data Unit of described source equipment transmission, the value of the Value in inquiry Admin Down Status TLV field.The value of Value in described Admin Down Status TLV field has identified the protocol management status of the CFM OAM agreement of described source equipment.
Step 203, according to the state in described the first protocol management status information, arranges the state in corresponding second protocol controlled state information; Whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.
Described according to the state in described the first protocol management status information, the state arranging in corresponding second protocol controlled state information is specially: when the state in described the first protocol management status information is normal, the state arranging in described second protocol controlled state information is normal; When the state in described the first protocol management status information is abnormal, the state arranging in described second protocol controlled state information is abnormal.
Described egress equipment obtains the value of Flags field the 8th bit protocol controlled state Admin Down Status in the Operations,Administration And Maintenance protocol Data Unit that described source equipment sends.The value of described protocol management status Admin Down Status is 0 o'clock, the protocol status of EFM OAM agreement that represents described source equipment is normal, and described egress device just is set to 0 by EFM protocol state machine by the value of the protocol management status of the EFM agreement of local device; The value of described protocol management status Admin Down Status is 1 o'clock, represents that the protocol management status of EFM OAM agreement of described source equipment is abnormal, and described egress device just is set to 1 by the value of the protocol management status of the EFM agreement of local device.
The value that described egress equipment obtains the Value in the Admin Down Status TLV field in the continuity detect-message protocol Data Unit that described source equipment sends is 0 o'clock, the protocol management status of EFM OAM agreement that represents described source equipment is normal, and described egress device just is set to 0 by CFM protocol state machine by the value of the CFM OAM protocol management status of local device; The value of Value in described Admin Down StatusTLV field is 1 o'clock, represents that the CFM OAM protocol status of described source equipment is abnormal, and described egress device just is set to 1 by the value of the CFM protocol management status of local device.
Egress equipment, after receiving the data message of source equipment transmission, if the Admin Down Status of continuous 3 Operations,Administration And Maintenance protocol Data Unit OAMPDU all puts 1, represents that the EFM protocol status of described source equipment is abnormal.Egress equipment does not trigger other agreements and moves, and only EFM protocol status is put to 1, and the detection of connectivity of the link between described egress equipment and described source equipment lost efficacy.
Egress equipment is after receiving the data message of source equipment transmission, if the value of the Value in the Admin Down Status TLV field of continuous 3 continuity detect-message protocol Data Unit CCMPDU is all 1, represent that the CFM protocol status of described source equipment is abnormal.Egress equipment does not trigger other agreements and moves, and only CFM protocol status is put to 1, and the detection of connectivity of the link between described egress equipment and described source equipment lost efficacy.
It should be noted that; the method to set up of the protocol management status that the embodiment of the present invention provides is not just for described EFM OAM or CFM OAM agreement; above are only the embodiment for EFM OAM agreement or CFM agreement; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all; any modification of making, be equal to replacement, improvement etc., within protection scope of the present invention all should be included in.
The method to set up flow chart of the another kind of protocol management status that Fig. 3 provides for the embodiment of the present invention.As shown in Figure 3, the present embodiment comprises the following steps:
Step 301, source equipment arranges the protocol management status of EFM OAM agreement or the protocol management status of CFM OAM agreement of local terminal.
Described source equipment arranges the protocol management status of the EFM agreement of local terminal by the EFM OAM protocol state machine of local terminal.The value that protocol management status Admin Down Status is set is 0, and presentation protocol controlled state is normal; The value that Admin Down Status is set is 1, and presentation protocol controlled state is abnormal.
Described source equipment arranges the CFM protocol status of local terminal by the CFM OAM protocol state machine of local terminal.The value that the Value of protocol management status Admin Down Status TLV is set is 0, and presentation protocol controlled state is normal; The value that the Value of Admin Down Status TLV is set is 1, and presentation protocol controlled state is abnormal.
It should be noted that, in the embodiment of the present invention, protocol management status is the identification-state whether described agreement of sign is normally used, if protocol management status is normal, use the connectedness of the link between described protocol detection recipient (egress equipment) and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.
Step 302, source equipment sends 3 protocol Data Units continuously to egress equipment, and described protocol Data Unit comprises the protocol management status of described egress equipment.
When EFM configuration is changed, described source equipment arranges after the EFM OAM protocol status of local terminal, described source equipment sends 3 Operations,Administration And Maintenance protocol Data Units continuously to egress equipment, described protocol Data Unit comprises the protocol management status Admin Down Status of described agreement, and the value of the Admin Down Status in continuous 3 protocol Data Units is identical.
When CFM configuration is changed, described source equipment arranges after the CFM OAM protocol status of local terminal, described source equipment sends 3 continuity detect-message protocol Data Units continuously to egress equipment, described protocol Data Unit comprises the protocol management status Admin Down Status TLV of described agreement, and the value of the Value of the Admin Down Status TLV in continuous 3 protocol Data Units is identical.
Step 303, egress equipment receives the described protocol Data Unit that source equipment sends.
Described egress equipment receives 3 Operations,Administration And Maintenance protocol Data Units or 3 continuity detect-message protocol Data Units continuously, carries the protocol management status of egress equipment, i.e. the first protocol management status in described protocol Data Unit.
Step 304, egress equipment obtains the first protocol management status information in described protocol Data Unit.
When described protocol Data Unit is Operations,Administration And Maintenance protocol Data Unit, described in the first protocol management status information of obtaining in described protocol Data Unit be specially: obtain in described Operations,Administration And Maintenance protocol Data Unit the value of the 8th bit protocol controlled state Admin Down Status marker bit in mark Flags field.
When described protocol Data Unit is continuity detect-message protocol Data Unit, described in the first protocol management status information of obtaining in described protocol Data Unit be specially: the value of obtaining the Value of consultative management controlled state Admin Down Status TLV field in described continuity detect-message protocol Data Unit.
Described egress equipment receives after the Operations,Administration And Maintenance protocol Data Unit of described source equipment transmission, obtains the value of the protocol management status Admin Down Status of the 8th of flag F lags field.The value of described protocol management status Admin Down Status has identified the protocol management status of the EFM OAM agreement of described source equipment.
Described egress equipment receives after the continuity detect-message protocol Data Unit of described source equipment transmission, the value of the Value in inquiry Admin Down Status TLV field.The value of Value in described Admin Down StatusTLV field has identified the protocol management status of the CFM OAM agreement of described source equipment.
Step 305, egress equipment, according to the state in described the first protocol management status information, arranges the state in corresponding second protocol controlled state information; Described in described status indicator, whether agreement is normally used, if normally used, use the connectedness of the link between described protocol detection egress equipment and source equipment, otherwise do not use the connectedness of the link between described protocol detection egress equipment and source equipment.
The value of the EFM OAM protocol status of described egress equipment should be consistent with the value of the EFM OAM protocol status of described source equipment.In described Operations,Administration And Maintenance protocol Data Unit, the value of the protocol management status Admin Down Status of the 8th of mark Flags field is 0 o'clock, and the value that described egress equipment also arranges the protocol management status Admin Down Status of local terminal by EFM protocol state machine is 0; In described Operations,Administration And Maintenance protocol Data Unit, the value of the protocol management status Admin Down Status of the 8th of mark Flags field is 1 o'clock, and the value that described egress equipment also arranges the protocol management status Admin Down Status of local terminal by EFM protocol state machine is 1.Described egress equipment receives 3 Operations,Administration And Maintenance protocol Data Units continuously, and the value of the Admin Down Status in protocol Data Unit is all 1 o'clock, and the connectivity of link between described source equipment and described egress equipment detects and lost efficacy.Described source equipment and described egress equipment no longer carry out detection of connectivity.Described egress equipment receives 3 Operations,Administration And Maintenance protocol Data Units continuously, and the value of the Admin Down Status in protocol Data Unit is all 0 o'clock, and the connectivity of link between described source equipment and described egress equipment detects normal.Connectivity of link between described source equipment and described egress equipment detects and recovers normal.
The value of the CFM OAM protocol status of described egress equipment should be consistent with the value of the CFM OAM protocol status of described source equipment.The value of Value in described continuity detect-message protocol Data Unit in Admin DownStatus TLV field is 0 o'clock, and the value that described egress equipment also arranges the protocol management status of local terminal by CFM protocol state machine is 0; The value of Value in described continuity detect-message protocol Data Unit in Admin Down Status TLV field is 1 o'clock, and the value that described egress equipment also arranges the protocol management status Admin Down Status of local terminal by CFM protocol state machine is 1.Described egress equipment receives 3 continuity detect-message protocol Data Units continuously, and the value of the Value in the Admin Down Status TLV field in protocol Data Unit is 1 o'clock, the connectivity of link between described source equipment and described egress equipment detects and lost efficacy.Described source equipment and described egress equipment no longer carry out detection of connectivity.Described egress equipment receives 3 continuity detect-message protocol Data Units continuously, and the value of the Value in the Admin Down Status TLV field in protocol Data Unit is 0 o'clock, the connectivity of link between described source equipment and described egress equipment detects normal.Connectivity of link between described source equipment and described egress equipment detects and recovers normal.
It should be noted that; the method to set up of the protocol management status that the embodiment of the present invention provides is not just for described EFM OAM or CFM OAM agreement; above are only the embodiment for EFM OAM agreement or CFM agreement; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all; any modification of making, be equal to replacement, improvement etc., within protection scope of the present invention all should be included in.
The setting device schematic diagram of a kind of protocol management status that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4, the present embodiment comprises with lower unit:
Receiver 401, the data message sending for receiving source equipment.
Described receiver specifically for: receive continuous several Operations,Administration And Maintenance protocol Data Units or continuity detect-message protocol Data Unit that described source equipment sends.
While there is change in the EFM OAM protocol configuration of described source equipment, described source equipment arranges EFM protocol status by the EFM protocol state machine of local terminal, then to egress equipment, send continuously 3 Operations,Administration And Maintenance protocol Data Unit OAMPDU, the value of the protocol management status Admin Down Status in described 3 Operations,Administration And Maintenance protocol Data Units is identical.
While there is change in the CFM OAM protocol configuration of described source equipment, described source equipment arranges CFM protocol status by the CFM protocol state machine of local terminal, then to egress equipment, send continuously 3 Operations,Administration And Maintenance protocol Data Unit OAMPDU, the value of the Value of the protocol management status Admin Down Status TLV field in described 3 Operations,Administration And Maintenance protocol Data Units is identical.
It should be noted that, in the embodiment of the present invention, protocol management status is the identification-state whether described agreement of sign is normally used, if protocol management status is normal, use the connectedness of the link between described protocol detection recipient (egress equipment) and source equipment, otherwise do not use the connectedness of the link between described protocol detection egress equipment and source equipment.
Acquiring unit 402, for obtaining the first protocol management status information of described data message.
Acquiring unit 402 is specifically for the value of obtaining the protocol management status Admin Down Status in mark Flags field in described Operations,Administration And Maintenance protocol Data Unit; Or obtain the value Value in protocol management status Admin Down Status TLV field in described continuity detect-message protocol Data Unit.
Setting unit 403, for according to the state of described the first protocol management status information, arranges the state in corresponding second protocol controlled state information; Whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.
The value of described the first protocol management status information can be 0 or 1, is 0 o'clock, illustrates that the protocol management status of described source equipment is normal; Be 1 o'clock, illustrate that the protocol management status of described source equipment is abnormal.
Setting unit 403 specifically for: when the state in described the first protocol management status information is normal, the state in described second protocol controlled state information of arranging is for normal; When the state in described the first protocol management status information is abnormal, the state arranging in described second protocol controlled state information is abnormal.
It should be noted that, the protocol management status of the protocol management status of described egress equipment and described source equipment is consistent.
In the above embodiment of the present invention, the protocol management status marker bit that also can setting operation administers and maintains protocol Data Unit is 1 o'clock, illustrates that Local Data terminal installation DTE protocol management status is normal; It is 0 o'clock, illustrate that Local Data terminal installation DTE protocol management status is abnormal, or the value that the Value in continuity detect-message protocol Data Unit Admin Down Status TLV field is set is 1 o'clock, represent that Local Data terminal equipment protocol management status is normal, value is 0 o'clock, represents that Local Data terminal equipment protocol management status is abnormal.
It should be noted that; the method to set up of the protocol management status that the embodiment of the present invention provides is not just for described EFM OAM or CFM OAM agreement; above are only the embodiment for EFM OAM agreement or CFM agreement; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all; any modification of making, be equal to replacement, improvement etc., within protection scope of the present invention all should be included in.
The embodiment of the present invention also provides a kind of system that comprises the setting device of above-mentioned protocol management status, and this system comprises setting device and the source equipment of the protocol management status in the embodiment of the present invention.The system that the embodiment of the present invention provides receives after the data message of source equipment transmission at egress equipment, obtain the protocol management status information of the source equipment in described data message, according to the state in the protocol management status information of described source equipment, state in the protocol management status information of local device is set, whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment.The safety that has realized thus protocol management status arranges, realized the safety setting of whether carrying out link detecting, without human configuration, and can not have influence on the characteristic of other and this agreement interlock, solve arranging of protocol management status in prior art and understood the problem that affect regular traffic, saved a large amount of time costs and Financial cost.The system that arranges of the protocol management status of the setting device that comprises above-mentioned protocol management status that therefore, the embodiment of the present invention provides is also in protection scope of the present invention.
Professional should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can specifically should be used for realizing described function with distinct methods to each, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (5)

1. a method to set up for protocol management status, is characterized in that, described method comprises:
Egress equipment receives the data message that source equipment sends;
Obtain the first protocol management status information in described data message;
According to the state in described the first protocol management status information, the state in the second protocol controlled state information of corresponding described egress equipment is set; Whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment; Wherein, the data message that described reception source equipment sends is specially: receive continuous several Operations,Administration And Maintenance protocol Data Units or continuity detect-message protocol Data Unit that described source equipment sends;
Described the first protocol management status information of obtaining in described data message is specially: the value of obtaining the protocol management status Admin Down Status in mark Flags field in described Operations,Administration And Maintenance protocol Data Unit; Or obtain the value Value in protocol management status Admin Down Status TLV field in described continuity detect-message protocol Data Unit;
The value of the protocol management status Admin Down Status of described continuous several Operations,Administration And Maintenance protocol Data Units is identical; Or the value in the protocol management status Admin Down Status TLV field in described continuous several continuity detect-message protocol Data Units is identical.
2. the method to set up of protocol management status as claimed in claim 1, is characterized in that, described according to the state in described the first protocol management status information, the state arranging in corresponding second protocol controlled state information is specially:
When the state in described the first protocol management status information is normal, the state arranging in described second protocol controlled state information is normal; When the state in described the first protocol management status information is abnormal, the state arranging in described second protocol controlled state information is abnormal.
3. a setting device for protocol management status, is characterized in that, described device comprises:
Receiver, receives for egress equipment the data message that source equipment sends;
Acquiring unit, for obtaining the first protocol management status information of described data message;
Setting unit, for according to the state of described the first protocol management status information, arranges the state in the second protocol controlled state information of corresponding egress equipment; Whether described state is used for identifying described agreement is normally used, if normally used, use the connectedness of the link between described protocol detection recipient and source equipment, otherwise do not use the connectedness of the link between described protocol detection recipient and source equipment;
Wherein, described receiver specifically for: receive continuous several Operations,Administration And Maintenance protocol Data Units or continuity detect-message protocol Data Unit that described source equipment sends;
Described acquiring unit specifically for:
Obtain the value of the protocol management status Admin Down Status in mark Flags field in described Operations,Administration And Maintenance protocol Data Unit; Or obtain the value Value in protocol management status Admin Down Status TLV field in described continuity detect-message protocol Data Unit;
Wherein, the value of the protocol management status Admin Down Status of described continuous several Operations,Administration And Maintenance protocol Data Units is identical; Or the value in the protocol management status Admin Down Status TLV field in described continuous several continuity detect-message protocol Data Units is identical.
4. the setting device of protocol management status as claimed in claim 3, is characterized in that, described setting unit specifically for:
When the state in described the first protocol management status information is normal, the state arranging in described second protocol controlled state information is normal; When the state in described the first protocol management status information is abnormal, the state arranging in described second protocol controlled state information is abnormal.
5. the system that arranges of protocol management status, is characterized in that, described system comprises setting device and the source equipment of the protocol management status as described in claim 3-4 any one.
CN201110420817.0A 2011-12-15 2011-12-15 Method, device and system for setting protocol management status Expired - Fee Related CN102420828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110420817.0A CN102420828B (en) 2011-12-15 2011-12-15 Method, device and system for setting protocol management status

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110420817.0A CN102420828B (en) 2011-12-15 2011-12-15 Method, device and system for setting protocol management status

Publications (2)

Publication Number Publication Date
CN102420828A CN102420828A (en) 2012-04-18
CN102420828B true CN102420828B (en) 2014-11-05

Family

ID=45945063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110420817.0A Expired - Fee Related CN102420828B (en) 2011-12-15 2011-12-15 Method, device and system for setting protocol management status

Country Status (1)

Country Link
CN (1) CN102420828B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857362A (en) * 2012-04-20 2013-01-02 福建星网锐捷网络有限公司 Fault processing method, device and system

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100466564C (en) * 2007-04-02 2009-03-04 华为技术有限公司 Failure monitoring method and device of the virtual rented line
CN101068167A (en) * 2007-05-30 2007-11-07 华为技术有限公司 Method for obtaining network interface mode and network equipment thereof
CN101207521A (en) * 2007-12-12 2008-06-25 华为技术有限公司 Method for fault detection and convergence of Ethernet and node apparatus
KR100919056B1 (en) * 2007-12-17 2009-09-24 한국전자통신연구원 Apparatus and method for optimizing a report-time in a mobile communication system
JP5215413B2 (en) * 2008-01-07 2013-06-19 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Status report for retransmission protocol
CN101227334B (en) * 2008-01-29 2011-06-22 中兴通讯股份有限公司 Encapsulation and processing method of operation management maintenance protocol data unit
CN101521603B (en) * 2008-12-26 2011-10-26 中兴通讯股份有限公司 Method and system for quickly detecting connectivity of link
CN101931549A (en) * 2009-06-19 2010-12-29 中兴通讯股份有限公司 Method and device for detecting link failure based on 802.3ah OAM (Operation, Administration and Maintenance)
CN102082678A (en) * 2009-12-01 2011-06-01 杭州华三通信技术有限公司 Processing method and equipment of port discarding OAM (Operation, Administration and Maintenance) protocol
CN101815006B (en) * 2010-03-02 2015-01-28 中兴通讯股份有限公司 aggregation control method of links passing through provider network and system
US8593973B2 (en) * 2010-03-09 2013-11-26 Juniper Networks, Inc. Communicating network path and status information in multi-homed networks
CN101908986B (en) * 2010-08-12 2012-07-04 杭州华三通信技术有限公司 Method and equipment for detecting link fault
CN102014019B (en) * 2010-11-04 2015-12-16 中兴通讯股份有限公司 Aggregated link switching method and device

Also Published As

Publication number Publication date
CN102420828A (en) 2012-04-18

Similar Documents

Publication Publication Date Title
CN111183624B (en) Export and removal of in-band metadata at intermediate nodes
EP2536066A1 (en) Link detecting method, apparatus and system
CN101557343B (en) Detecting and protecting method of double-layer loop in VRRP topological network
CN104980293B (en) A kind of OAM message is quickly sent and the method and device of detection processing
CN102349277A (en) Intrusion detection for virtual layer-2 services
CN102868569A (en) Method, node and system for detecting performance of three-layer virtual private network
CN106452909A (en) Route-distribution method and route reflector equipment
CN104205738A (en) Method, device, and system for detecting interconnection error
CN101707533B (en) Network control method and system based on chain state in multiservice PCM optical access network
CN107612772B (en) Node state detection method and device of payment system
CN107241216A (en) Maintain the method and device of the stable transmission of critical data
CN102420828B (en) Method, device and system for setting protocol management status
CN104468158B (en) The method and apparatus of state advertisement between a kind of node
CN108259442B (en) Slow protocol message processing method and related device
CN102377619A (en) Automatic detecting and processing method for communication abnormality of simple network management protocol (SNMP) agent
CN105015581A (en) Railway network system for monitoring natural disasters and foreign invasion
JP5684748B2 (en) Network quality monitoring apparatus and network quality monitoring method
CN111953555A (en) Link detection method, CPE (customer premises equipment) and storage medium
CN103684811A (en) Service protection method and system of composite link
CN102377595B (en) A kind of fault alarming method, system and device
CN104468386B (en) Flow equalization method and device in a kind of Ethernet virtualization internet network
KR20120010535A (en) Apparatus and method for analyzing packet
CN101321016A (en) Method and node equipment for implementing user signal failure remote defect indication
KR20130090657A (en) Using sensor networks for remote terminal apparatus and method for detecting abnormal status
JP2002185567A (en) Network performance monitor system

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

Granted publication date: 20141105

Termination date: 20181215

CF01 Termination of patent right due to non-payment of annual fee