CN102185711A - Method and equipment for detecting link failure in hybrid network - Google Patents

Method and equipment for detecting link failure in hybrid network Download PDF

Info

Publication number
CN102185711A
CN102185711A CN2011101056918A CN201110105691A CN102185711A CN 102185711 A CN102185711 A CN 102185711A CN 2011101056918 A CN2011101056918 A CN 2011101056918A CN 201110105691 A CN201110105691 A CN 201110105691A CN 102185711 A CN102185711 A CN 102185711A
Authority
CN
China
Prior art keywords
mep
port
network
message
protocol massages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101056918A
Other languages
Chinese (zh)
Other versions
CN102185711B (en
Inventor
陈丹艳
钱勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201110105691.8A priority Critical patent/CN102185711B/en
Publication of CN102185711A publication Critical patent/CN102185711A/en
Application granted granted Critical
Publication of CN102185711B publication Critical patent/CN102185711B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a method and equipment for detecting a link failure in a hybrid network. The method comprises the following steps: a second PE (Provider Edge) receives a message from a third network on a second port of the second PE per se, wherein the second port is a port for connecting the second PE with the third network; when judging that the output port of the message is a first port, the second PE converts the format of the message and transmits the message to the first port, wherein the first port is a port for connecting the second PE with a second network, a first internally-oriented MEP (Message Exchange Pattern) is preconfigured on the first port, and the first MEP is a remote MEP of a second MEP; and the second PE judges whether the message received on the first port is a CFM (Compression Functional Module) protocol message, processes the CFM protocol message received on the first port and detects a communication failure. By adopting the method and the equipment, the link failure detection speed of the hybrid network can be increased, and the consumption of detection on the CPU (Central Processing Unit) resource of the equipment is lowered.

Description

A kind of method and apparatus that detects link failure in the hybrid network
Technical field
The present invention relates to network failure detection technique field, relate to a kind of method and apparatus that detects link failure in the hybrid network more specifically.
Background technology
Virtual Private Network (VPN, Virtual Private Network) is a kind of technology that develops rapidly along with the extensive use of internet (Internet) in recent years, makes up private dedicated network on the common network to be implemented in." virtual " refers to that mainly this network is a kind of network in logic, the solution of the second layer (data link layer) in OSI seven layer network models wherein, so-called is Layer 2 virtual private network (L2VPN), comprising virtual special local area network service (VPLS, Virtual Private LAN Service).
Inserting the L2VPN network by Ethernet is a kind of very common networking situation, as shown in Figure 1, and as customer edge devices (CE, Customer Edge) CE1, by Ethernet N1, continuous with PE1 as provider edge equipment (PE, Provider Edge); Customer edge devices CE2 links to each other with provider edge equipment PE2 by Ethernet N2; There is Virtual Private Network N3 between provider edge equipment PE1 and the provider edge equipment PE2.As can be seen, the N1 among Fig. 1 between CE1 and the PE1 is an Ethernet, and N3 is the VPN network between PE1 and the PE2, for example the L2VPN network.In this network environment, the virtual circuit (VC, Virtual Circuit) of place in circuit of customer edge devices (CE) side (AC, Attachment Circuit) and provider edge equipment (PE) side is separate.Just because of two kinds of networks are separate, virtual link (PW, the Pseudo Wire) state of side can not be subjected to the influence of AC, and whether the state that the AC side also can't perceive the PW side is normal.
Along with the development of Ethernet towards the multiple service supporting direction, some business are to the reliability of network, and real-time requires more and more higher, and the detection scheme of this hybrid network is also arisen at the historic moment.
For the detection of hybrid network, in the existing scheme, generally be to dispose the OAM detection respectively in PW side and AC side: during when PW side abnormal state, the Interface status that the PE side is linked to each other with customer edge becomes abnormality, and the AC side just can detect unusually; When the AC side occurs when unusual, by configuration mapping (MAPPING) on PE equipment, the CPU by equipment sends protocol massages notice opposite end PE state and changes.
The defective of this scheme is: need the extra protocol massages of design, and the equipment CPU of utilization sends this protocol massages and carries out state advertisement and this protocol massages that receives is carried out respective handling, as can be seen, the protocol processes complexity of this processing mode on can increase equipment; Because above-mentioned protocol massages is to be forwarded to more that the CPU on upper strata handles from the low layer port, therefore the detection speed of this detection mode is slow; And when widely applying above-mentioned detection mode on the equipment, this detection mode will take excess CPU and handle resource, cause system handles busy, respond untimely.
Summary of the invention
Technical problem to be solved by this invention provides a kind of method and apparatus that detects link failure in the hybrid network, in order to the link failure detection speed of raising hybrid network, and reduces and detects the consumption of handling the equipment cpu resource.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
A kind of method that detects link failure in the hybrid network, described hybrid network comprises first network of Ethernet and the 3rd network of second network and Virtual Private Network, wherein, the one CE is connected to a PE by described first network, the 2nd PE is connected to the 2nd CE by described second network, connect by described the 3rd network between the one PE and the 2nd PE, described method comprises:
The 2nd PE receives the message from described the 3rd network on self second port, described second port is the port that described the 2nd PE is connected with described the 3rd network;
The 2nd PE is at the outbound port of judging described message during for self first port, described message is carried out being sent to described first port after the format conversion, wherein, described first port is the port that described the 2nd PE is connected with described second network, and be provided with an internally-oriented MEP on described first port in advance, the far-end MEP that a described MEP is the 2nd MEP, described the 2nd MEP are the export-oriented MEP that is pre-configured on a described CE and the port that described first network is connected;
The 2nd PE judges whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
Preferably, in the said method, also comprise:
Described the 2nd PE receives the CFM protocol massages that a described MEP periodically produces and sends;
Described the 2nd PE after the CFM protocol massages that a described MEP is periodically produced and sends carries out format conversion, sends by described second port when to judge a described MEP be internally-oriented MEP again.
Preferably, in the said method, on first port of described the 2nd PE, dispose a described MEP in advance in such a way:
Maintenance field under configuration the one MEP on described first port;
At the maintenance collection of configuration under the one MEP on described first port, and L2VPN and this maintenance of disposing under this maintenances collection collect related VSI, and a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Disposing a MEP is internally-oriented MEP;
The far-end MEP that disposes a described MEP correspondence is described the 2nd MEP;
Dispose the transmission cycle of described MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that described the 2nd MEP goes up the CCM message that disposes.
The present invention also provides a kind of the 2nd PE processing unit, the 2nd PE is connected to the 2nd CE by second network of Ethernet, described the 2nd PE also is connected to a PE by the 3rd network of Virtual Private Network, a described PE then is connected to a CE by first network of Ethernet, and described the 2nd PE processing unit comprises:
First receiving element is used for receiving the message from described the 3rd network on second port of described the 2nd PE, described second port is the port that described the 2nd PE is connected with described the 3rd network;
First retransmission unit, be used for when the outbound port of judging described message is first port of described the 2nd PE, described message is carried out being sent to described first port after the format conversion, wherein, described first port is the port that described the 2nd PE is connected with described second network, and be provided with an internally-oriented MEP on described first port in advance, the far-end MEP that a described MEP is the 2nd MEP, described the 2nd MEP are the export-oriented MEP that is pre-configured on a described CE and the port that described first network is connected;
Detecting unit is used to judge whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
Preferably, in the 2nd above-mentioned PE processing unit, also comprise:
Second receiving element is used to receive the CFM protocol massages that a described MEP periodically produces and sends;
Second retransmission unit is used for when to judge a described MEP be internally-oriented MEP, after the CFM protocol massages that a described MEP is periodically produced and sends carries out format conversion, sends by described second port again.
Preferably, in the 2nd above-mentioned PE processing unit, also comprise:
Dispensing unit is used for the described MEP of configuration on first port of described the 2nd PE in such a way:
Maintenance field under configuration the one MEP on described first port;
At the maintenance collection of configuration under the one MEP on described first port, and L2VPN and this maintenance of disposing under this maintenances collection collect related VSI, and a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Disposing a MEP is internally-oriented MEP;
The far-end MEP that disposes a described MEP correspondence is described the 2nd MEP;
Dispose the transmission cycle of described MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that described the 2nd MEP goes up the CCM message that disposes.
The present invention also provides a kind of method that detects link failure in the hybrid network, described hybrid network comprises first network of Ethernet and the 3rd network of second network and Virtual Private Network, wherein, the one CE is connected to a PE by described first network, the 2nd PE is connected to the 2nd CE by described second network, connect by described the 3rd network between the one PE and the 2nd PE, described method comprises:
The one CE receives the message from described first network on self first port, described first port is the port that a described CE is connected with described first network, and be provided with export-oriented the 2nd MEP on described first port in advance, the far-end MEP that described the 2nd MEP is a MEP, a described MEP are the internally-oriented MEP that is pre-configured on described the 2nd PE and the port that described second network is connected;
The one CE judges whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
Preferably, in the said method, also comprise:
A described CE receives the CFM protocol massages that described the 2nd MEP periodically produces and sends;
A described CE is when judging described the 2nd MEP and be export-oriented MEP, and the CFM protocol massages that described the 2nd MEP is periodically produced and sends sends by described first port.
Preferably, in the said method, on first port of a described CE, dispose described the 2nd MEP in advance in such a way:
Maintenance field under configuration the 2nd MEP on described first port;
At the maintenance collection of configuration under the 2nd MEP on described first port, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that disposes the 2nd MEP is export-oriented;
The far-end MEP that disposes described the 2nd MEP correspondence is a described MEP;
Dispose the transmission cycle of described the 2nd MEP transmission CCM message, this transmission cycle is identical with the cycle that a described MEP goes up the CCM message that disposes.
The present invention also provides an a kind of CE processing unit, the one CE is connected to a PE by first network of Ethernet, a described PE is connected to the 2nd PE by the 3rd network of Virtual Private Network, described the 2nd PE is connected to the 2nd CE by second network of Ethernet, and a described CE processing unit comprises:
First receiving element, be used on first port of a described CE, receiving message from described first network, described first port is the port that a described CE is connected with described first network, and be provided with export-oriented the 2nd MEP on described first port in advance, the far-end MEP that described the 2nd MEP is a MEP, a described MEP are the internally-oriented MEP that is pre-configured on described the 2nd PE and the port that described second network is connected;
Detecting unit is used to judge whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
Preferably, in the above-mentioned CE processing unit, also comprise:
Second receiving element is used to receive the CFM protocol massages that described the 2nd MEP periodically produces and sends;
Retransmission unit is used for when judging described the 2nd MEP and be export-oriented MEP, and the CFM protocol massages that described the 2nd MEP is periodically produced and sends sends by described first port.
Preferably, in the above-mentioned CE processing unit, also comprise: dispensing unit is used for described the 2nd MEP of configuration on first port of a described CE in such a way:
Maintenance field under configuration the 2nd MEP on described first port;
At the maintenance collection of configuration under the 2nd MEP on described first port, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that disposes the 2nd MEP is export-oriented;
The far-end MEP that disposes described the 2nd MEP correspondence is a described MEP;
Dispose the transmission cycle of described the 2nd MEP transmission CCM message, this transmission cycle is identical with the cycle that a described MEP goes up the CCM message that disposes.
From the above as can be seen, a kind of method and apparatus that detects link failure in the hybrid network provided by the invention, owing on the 2nd PE, dispose an internally-oriented MEP in advance, export-oriented the 2nd MEP of configuration on a CE, first, second MEP is far-end MEP each other, thereby made up a CFM surveyed area, this surveyed area has covered the hybrid network that comprises first network N 1 and the 3rd network N 3, detects thereby can utilize traditional CFM agreement that the hybrid network that comprises different type network is carried out failure of connectivity on the 2nd PE or a CE.Hybrid network detection mode than prior art, the present invention need not design extra protocol massages, do not need equipment CPU to send and handle this protocol massages, the protocol processes complexity on therefore can increase equipment, not the processing resource of consumer device CPU in a large number; Simultaneously,, do not need the agreement announcement, therefore have the fast advantage of detection speed because the present invention directly carries out failure of connectivity based on the CFM agreement to detect on port.
Description of drawings
Fig. 1 is a kind of structural representation of hybrid network;
A kind of schematic flow sheet that detects the method for link failure in the hybrid network that Fig. 2 provides for the embodiment of the invention;
The structural representation of a kind of the 2nd PE processing unit that Fig. 3 provides for the embodiment of the invention;
The schematic diagram of the transmission unit of the CFM protocol massages that Fig. 4 A~Fig. 4 C provides for the embodiment of the invention.
Embodiment
The present invention is devoted to overcome the inherent shortcoming that existing scheme exists in detecting the hybrid network failure of connectivity, for this reason, the invention provides the operation management maintain (OAM) that utilizes traditional Ethernet and be also referred to as Connectivity Fault Management (CFM, Connectivity Fault Management) carries out implementation method and the corresponding apparatus that ether inserts VPN (as L2VPN) network measuring, owing to be to utilize existing agreement to realize, do not increase the complexity of protocol processes, and do not need CPU to carry out the transmission and the processing of protocol massages, therefore can significantly reduce CPU is handled the consumption of resource and improves detection speed.
Be the CFM that helps to understand the present invention, at first introduce to relate in the embodiment of the invention and the basic concepts of VPLS.
CFM be a kind of two layers of (data link layer) link of defining in the IEEE 802.1ag standard, end to end, based on VLAN (VLAN, Virtual Local Area Network) OAM mechanism is mainly used in and detects connectivity of link in double layer network, confirms fault, also determines the position that fault takes place.Wherein, the related notion among the CFM comprises:
Maintenance field (MD, Maintenance Domain): MD has indicated the network that connection error detection (CFD, Connectivity Fault Detection) is covered, and its border is defined by a series of maintaining end points that are configured on the device port.Maintenance field is with safeguarding that domain name identifies.For fault location point exactly, CFD has introduced the notion of level in maintenance field.It is 8 grades that maintenance field is divided into, and represents with integer 0~7, and the rank (Level) of the big more expression maintenance field of numeral is high more, and the scope of maintenance field is also big more.
Safeguard collection (MA, Maintenance Association): MA is the set of some maintenance points in the maintenance field.Safeguard that collection identifies with " safeguard domain name+safeguard set name ".MA has indicated the VLAN that is served, and the message that maintenance point sent among the MA has this VLAN label, and the maintenance point among the MA can receive the message that other maintenance point sends among this MA simultaneously.
Maintenance point (MP, Maintenance Point): be configured on the device port, belong to certain MA.Maintenance point can be divided into two kinds: MEP and Maintenance Intermediate Point (MIP, Maintenance association Intermediate Point).
MEP:MEP is configured on the device port, belongs to certain MA, identifies with an integer, is called MEP sign (MEP ID).MEP has determined the scope and the border of maintenance field.Maintenance collection and maintenance field under the MEP have been determined the VLAN attribute and the rank of the message that MEP sent.MEP has directivity, is divided into export-oriented and introversive two kinds.The direction of MEP has shown the position of maintenance field with respect to this port, wherein export-oriented MEP is at the port at this extroversion MEP place transmitting-receiving CFM protocol massages, and interior then is to receive and dispatch the CFM protocol massages except interior other ports to the port at MEP place in the same VLAN on equipment to MEP.
The communication with detection time interval (CCI, Continuity Check Interval): the time interval in the continuity detection messages (CCM, Continuity Check Message) that maintaining end point sends.
Service Instance (SI, Service Instance): Service Instance is with an integer representation, represented one in the maintenance field to safeguard collection.Maintenance field and maintenance collection have then been determined the level attribute and the VLAN attribute of the handled message of maintenance point in the Service Instance.
VPLS is also referred to as transparent LAN service (TLS, Transparent LAN Service) or virtual proprietary switching network service (Virtual Private Switched Network Service), it is a kind of point of providing in common network L2VPN business to multiple spot.In the VPLS network, user site is to be coupled together by multidrop network, and the Connection Service of the point-to-point (P2P, Point to Point) that provides with traditional VPN is different.VPLS will create a series of virtual switch in fact exactly and be leased to the user on PE, the networking and the conventional switch of virtual switch are identical.Like this, the user just can pass through metropolitan area network (MAN, Metropolitan Area Network) or wide area network (WAN, Wide Area Network) and realizes the local area network (LAN) (LAN, Local Area Network) of oneself.The VPLS network mainly comprises following important part:
Customer edge devices (CE, Customer Edge): the direct customer edge that links to each other with service provider network.
Provider edge equipment (PE, Provider Edge): the edge device on the service provider network, link to each other with CE, mainly be responsible for the access of vpn service, comprise and realize that message is from mapping and the forwarding of private network to the public network tunnel, from the public network tunnel to private network.
Virtual switch instance (VSI, Virtual Switch Instance): the ethernet bridging function entity of VPLS example on a PE, carry out the two layer message forwarding according to MAC Address and virtual local area network tags (VLAN TAG).
Place in circuit (AC, Attachment Circuit): being connected between user and the service provider promptly connects the link of CE and PE.
Virtual link (PW, Pseudo Wire): claim pseudo-line again, a two-way virtual connection between the VSI on two PE.It is made up of the opposite unidirectional multiprotocol label switching of a pair of direction (MPLS, Multi-Protocol Label Switching) virtual circuit (VC, Virtual Circuit).
Tunnel (Tunnel): be used to carry PW, can carry many PW on the tunnel.The tunnel is a direct channel between local PE and the opposite end PE, finishes the data transparency transmission between the PE, can be MPLS or generic route encapsulation (GRE, Generic Routing Encapsulation) tunnel etc.
VPLS is that user network has been simulated an Ethernet bridge, adds VLAN TAG based on MAC Address or MAC Address and makes forwarding decision.Each PE with a specific VPLS service association is that this VPLS example is set up a VSI, and each VSI safeguards a mac address forwarding table.PE learns source MAC and safeguards this mac address forwarding table when E-Packeting, set up the port of MAC Address and PE or the corresponding relation between the PW.
Below in conjunction with accompanying drawing, the embodiment of the embodiment of the invention done describing in further detail.
<embodiment one 〉
A kind of method that detects link failure in the hybrid network that the embodiment of the invention provides is applied in the hybrid network.Still be that example describes with hybrid network shown in Figure 1, described hybrid network comprises first network N 1 of Ethernet and the 3rd network N 3 of second network N 2 and Virtual Private Network, as two-layer VPN (L2VPN).Wherein, a CE (CE1) is connected to a PE (PE1) by described first network N 1, and the 2nd PE (PE2) is connected to the 2nd CE (CE2) by described second network N 2, connects by described the 3rd network N 3 between a PE (PE1) and the 2nd PE (PE2).
Please refer to Fig. 2, the method for link failure in the described detection hybrid network that the embodiment of the invention provides when being applied on the described PE2, specifically may further comprise the steps:
Step 21, PE2 receives the message from described the 3rd network N 3 on self second port, and described second port is the port that described PE2 is connected with described the 3rd network N 3.
Here, second port of above-mentioned PE2 is the port that PE2 connects the 3rd network N 3, and corresponding to Fig. 1, second port is port E.
Step 22, PE2 is at the outbound port of judging described message during for self first port, described message is carried out being sent to described first port after the format conversion, wherein, described first port is the port that described PE2 is connected with described second network, and be provided with an internally-oriented MEP on described first port in advance, the far-end MEP that a described MEP is the 2nd MEP, described the 2nd MEP are the export-oriented MEP that is pre-configured on described CE1 and the port that described first network is connected.
Here, corresponding to Fig. 1, first port is port F, disposes an internally-oriented MEP on first port.PE2 tables look-up and transmits after receiving described message, determines the outbound port of described message.For example, PE2 searches the mac address forwarding table of this VSI of PE2 maintenance according to the VSI of described first port association, to determine message outbound port and pass-through mode.The outbound port of judging described message at PE2 is during for self first port, because what first port connected is Ethernet, therefore, before being forwarded to first port, need carry out format conversion to message: be about to described message from meeting the form of Virtual Private Network (the 3rd network N 3), be converted to the form that meets Ethernet (second network N 2); Then, the described message that will finish format conversion more is forwarded to described first port.
Step 23, PE2 judges whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
Here, after first port receives message, judge whether described message is the CFM protocol massages, if, then, detect to carry out failure of connectivity by this CFM protocol massages is handled, specifically comprise:
Compare the rank of a MEP and the rank of the CFM protocol massages of receiving:
The CFM protocol massages of receiving be superior to a MEP rank time, this CFM protocol massages is not handled, but it is transmitted by original path;
, then alarm during in the rank of the CFM protocol massages of receiving less than a MEP rank;
When the rank of the CFM protocol massages of receiving equals a MEP rank, then the CFM protocol massages is carried out finalization process, specifically can carry out detections such as detection of connectivity, Ethernet Loopback and ethernet link tracking based on this CFM protocol massages based on processing mode according to prior art.For example, when the MEP of PE2 does not receive the CCM message of far-end MEP in the given time, will produce far-end and lose when alarming, be judged as the hybrid network link and be in abnormality this moment; When above-mentioned alarm disappears, judge hybrid network link-recovery normal condition.The hybrid network here comprises first network N 1 and the 3rd network N 3.
For the VPLS network is an example, dispose a described MEP with L2VPN in the present embodiment in advance on first port of PE2, concrete configuration can be carried out in such a way:
Maintenance field (MD) under configuration the one MEP on described first port, MD are by the network of OAM management, are made up of a plurality of bridge devices;
Maintenance collection (MA) under configuration the one MEP on described first port, each MA is used for protecting a Service Instance, and the L2VPN under the configuration MA safeguards the VSI that collection is related with this, a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
The direction that disposes a MEP is internally-oriented;
The far-end MEP that disposes a described MEP correspondence is described the 2nd MEP;
Dispose the transmission cycle of described MEP transmission CCM message, this cycle need be identical with the transmission cycle of the last CCM message that disposes of the 2nd MEP.
From the above as can be seen, because present embodiment is the internally-oriented MEP of configuration on PE2 in advance, export-oriented the 2nd MEP of configuration on CE1, first, second MEP is far-end MEP each other, thereby made up a CFM surveyed area, this surveyed area has covered the hybrid network that comprises first network N 1 and the 3rd network N 3, detects thereby can utilize traditional CFM agreement that the hybrid network that comprises different type network is carried out failure of connectivity on PE2.
Hybrid network detection mode than prior art, present embodiment need not design extra protocol massages, do not need equipment CPU to send and handle this protocol massages, the protocol processes complexity on therefore can increase equipment, the processing resource that can not consume CPU in a large number; Simultaneously, because present embodiment is to carry out failure of connectivity based on the CFM agreement to detect on port, therefore has the fast advantage of detection speed.
Illustrated that more than the message of how handling from the 3rd network detects to carry out failure of connectivity on PE2.In the present embodiment, on other direction (from the 3rd network to first network), a MEP also can periodically send the CFM protocol massages simultaneously as the far-end MEP of the 2nd MEP, goes up performed failure of connectivity and detects to be engaged in CE1.At this moment, the method for link failure in the described detection hybrid network of present embodiment, further comprising the steps of:
Described PE2 receives the CFM protocol massages that a described MEP periodically produces and sends, for example CCM message; Described PE2 sends this message when to judge a described MEP be internally-oriented MEP to other ports except first port at a MEP place.For example, be sent to the 3rd network, wherein, before being sent to the 3rd network, need carry out format conversion, send again after for example converting the form that meets the 3rd network N 3 to the CFM protocol massages by described second port.
Method based on link failure in the above-mentioned detection hybrid network, present embodiment also provides a kind of the 2nd PE processing unit, this device can be arranged among the 2nd PE, described the 2nd PE is connected to the 2nd CE by second network of Ethernet, described the 2nd PE also is connected to a PE by the 3rd network of Virtual Private Network, and a described PE then is connected to a CE by first network of Ethernet.Please refer to Fig. 3, described the 2nd PE processing unit comprises:
First receiving element is used for receiving the message from described the 3rd network on second port of described the 2nd PE, described second port is the port that described the 2nd PE is connected with described the 3rd network;
First retransmission unit, be used for when the outbound port of judging described message is first port of described the 2nd PE, described message is carried out being sent to described first port after the format conversion, wherein, described first port is the port that described the 2nd PE is connected with described second network, and be provided with an internally-oriented MEP on described first port in advance, the far-end MEP that a described MEP is the 2nd MEP, described the 2nd MEP are the export-oriented MEP that is pre-configured on a described CE and the port that described first network is connected;
Detecting unit is used to judge whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
As a kind of preferred implementation, described the 2nd PE processing unit also comprises:
Second receiving element is used to receive the CFM protocol massages that a described MEP periodically produces and sends;
Second retransmission unit is used for when to judge a described MEP be internally-oriented MEP, after the CFM protocol massages that a described MEP is periodically produced and sends carries out format conversion, sends by described second port again.
Here, described the 2nd PE processing unit also comprises a dispensing unit, is used for the described MEP of configuration on first port of described the 2nd PE in such a way:
Maintenance field under configuration the one MEP on described first port;
At the maintenance collection of configuration under the one MEP on described first port, and L2VPN and this maintenance of disposing under this maintenances collection collect related VSI, and a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Disposing a MEP is internally-oriented MEP;
The far-end MEP that disposes a described MEP correspondence is described the 2nd MEP;
Dispose the transmission cycle of described MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that described the 2nd MEP goes up the CCM message that disposes.
<embodiment two 〉
A kind of method that detects link failure in the hybrid network that the embodiment of the invention provides is applied in the hybrid network.Still be that example describes with hybrid network shown in Figure 1, described hybrid network comprises first network N 1 of Ethernet and the 3rd network N 3 of second network N 2 and Virtual Private Network, as two-layer VPN (L2VPN).Wherein, a CE (CE1) is connected to a PE (PE1) by described first network N 1, and the 2nd PE (PE2) is connected to the 2nd CE (CE2) by described second network N 2, connects by described the 3rd network N 3 between a PE (PE1) and the 2nd PE (PE2).
The method of link failure in the described detection hybrid network that the embodiment of the invention provides when being applied on the described CE1, specifically may further comprise the steps:
Step 31, CE1 receives the message from described first network N 1 on self first port, described first port is the port that a described CE is connected with described first network, and be provided with export-oriented the 2nd MEP on described first port in advance, the far-end MEP that described the 2nd MEP is a MEP, a described MEP are the internally-oriented MEP that is pre-configured on described the 2nd PE and the port that described second network is connected.
Here, first port of above-mentioned CE1 is the port that CE1 connects first network N 1, and corresponding to Fig. 1, first port is port A.
Step 32, CE1 judges whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
Here, after first port receives message, judge whether described message is the CFM protocol massages, if, then, detect to carry out failure of connectivity by this CFM protocol massages is handled, specifically comprise:
Compare the rank of the 2nd MEP and the rank of the CFM protocol massages of receiving:
The CFM protocol massages of receiving be superior to the 2nd MEP rank the time, this CFM protocol massages is not handled, but it is transmitted by original path;
, then alarm during in the rank of the CFM protocol massages of receiving less than the 2nd MEP rank;
When the rank of the CFM protocol massages of receiving equals the 2nd MEP rank, then the CFM protocol massages is carried out finalization process, specifically can carry out detections such as detection of connectivity, Ethernet Loopback and ethernet link tracking based on this CFM protocol massages based on processing mode according to prior art.For example, when the 2nd MEP of CE1 does not receive the CCM message of far-end MEP in the given time, will produce far-end and lose when alarming, be judged as the hybrid network link and be in abnormality this moment; When above-mentioned alarm disappears, judge hybrid network link-recovery normal condition.The hybrid network here comprises first network N 1 and the 3rd network N 3.
By above step, present embodiment carries out failure of connectivity to the hybrid network that comprises first network N 1 and the 3rd network N 3 and detects on CE1.
Dispose described the 2nd MEP in the present embodiment in advance on first port of CE1, concrete configuration can be carried out in such a way:
Maintenance field under configuration the 2nd MEP on described first port;
At the maintenance collection of configuration under the 2nd MEP on described first port, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that disposes the 2nd MEP is export-oriented;
The far-end MEP that disposes described the 2nd MEP correspondence is a described MEP;
Dispose the transmission cycle of described the 2nd MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that a described MEP goes up the CCM message that disposes.
On other direction (from first network to the, three networks), the 2nd MEP also can periodically send the CFM protocol massages simultaneously as the far-end MEP of a MEP, goes up performed failure of connectivity detection to be engaged in PE2.At this moment, the method for link failure in the described detection hybrid network of present embodiment, further comprising the steps of: CE1 receives the CFM protocol massages that described the 2nd MEP periodically produces and sends; CE1 after the CFM protocol massages that described the 2nd MEP is periodically produced and sends carries out format conversion (for example converting the form that meets the 3rd network N 3 to), sends by described first port when judging described the 2nd MEP and be export-oriented MEP again.
Present embodiment also provides an a kind of CE processing unit, this device can be arranged among the CE, a described CE is connected to a PE by first network of Ethernet, a described PE is connected to the 2nd PE by the 3rd network of Virtual Private Network, described the 2nd PE is connected to the 2nd CE by second network of Ethernet, and a described CE processing unit specifically comprises:
First receiving element, be used on first port of a described CE, receiving message from described first network, described first port is the port that a described CE is connected with described first network, and be provided with export-oriented the 2nd MEP on described first port in advance, the far-end MEP that described the 2nd MEP is a MEP, a described MEP are the internally-oriented MEP that is pre-configured on described the 2nd PE and the port that described second network is connected;
Detecting unit is used to judge whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
Preferably, an above-mentioned CE processing unit also comprises:
Second receiving element is used to receive the CFM protocol massages that described the 2nd MEP periodically produces and sends;
Retransmission unit is used for when judging described the 2nd MEP and be export-oriented MEP, and the CFM protocol massages that described the 2nd MEP is periodically produced and sends sends by described first port.
Preferably, an above-mentioned CE processing unit also comprises a dispensing unit, is used for described the 2nd MEP of configuration on first port of a described CE in such a way:
Maintenance field under configuration the 2nd MEP on described first port;
At the maintenance collection of configuration under the 2nd MEP on described first port, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that disposes the 2nd MEP is export-oriented;
The far-end MEP that disposes described the 2nd MEP correspondence is a described MEP;
Dispose the transmission cycle of described the 2nd MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that a described MEP goes up the CCM message that disposes.
More than two embodiment illustrated that how the hybrid network that comprises first network N 1 and the 3rd network N 3 being carried out failure of connectivity detects.Similarly, for the hybrid network of forming by second network N 2 and the 3rd network N 3, also can utilize above two described methods of embodiment to carry out failure of connectivity and detect.For example, on the port G of the port C of PE1 and CE2, dispose internally-oriented MEP and export-oriented MEP respectively, and these two MEP far-end MEP each other, can utilize above two described methods of embodiment to carry out failure of connectivity and detect, repeat no more herein.
<embodiment three 〉
Above embodiment has illustrated how to detect link failure the hybrid network from PE2 and CE1 respectively.Present embodiment is an example with Fig. 1 still, further describes on the whole.
Hybrid network among Fig. 1 comprises first network N 1 of Ethernet and the 3rd network N 3 of second network N 2 and Virtual Private Network, as two-layer VPN (L2VPN) etc.Wherein, a CE (CE1) is connected to a PE (PE1) by described first network N 1, and the 2nd PE (PE2) is connected to the 2nd CE (CE2) by described second network N 2, connects by described the 3rd network N 3 between a PE (PE1) and the 2nd PE (PE2).
The method of link failure comprises in the detection hybrid network of present embodiment: the internally-oriented MEP of configuration on PE2 and port that described second network is connected, export-oriented the 2nd MEP of configuration on CE1 and port that described first network is connected, first, second MEP belongs to same maintenance collection, and far-end MEP each other; Whether carry out continuity by a MEP and the 2nd MEP and detect processing, it is unusual to detect the opposite end state.Here, the one MEP and the 2nd MEP can realize that the fast continuous property detection of hybrid network handles by the network processor module in the equipment separately, have detection speed fast, realize simple advantage, and, can not increase the complexity of protocol processes owing to be to realize by means of existing network processor module in prior protocols and the equipment.
The transmission unit of a kind of CFM protocol massages of the embodiment of the invention comprises shown in Fig. 4 A~4C: transmitting element 41, temporary location 42 and receiving element 43.
Wherein, the transmitting element shown in Fig. 4 A 41 comprises:
Template message module 411: be used for regularly producing template message;
OAM data encapsulation module 412: be used on the template message basis, encapsulating OAM Protocol Data Unit;
Common encapsulation module 413: be used to encapsulate public information: Media Access Control Address (MAC), VLAN ID (VLAN) are complete with whole data message encapsulation;
Transmitting-receiving bag module 414: be used to search the message outbound port and transmit.
Temporary location 42 shown in Fig. 4 B comprises:
Packet parsing module 421: be used for the parsing of message;
Message modular converter 422: be used for the conversion of Ethernet and L2VPN network OA M message encapsulation;
Transmitting-receiving bag module 423: be used to search outlet and transmit.
Receiving element 43 shown in Fig. 4 C comprises:
Packet parsing module 431: be used for the identification of OAM message;
Detection module 432: the finalization process that is used for the OAM message.
The CE1 processing unit can comprise above-mentioned transmitting element 41 and receiving element 43, and the PE1 processing unit can comprise above-mentioned temporary location 42, and the PE2 processing unit can comprise above-mentioned transmitting element 41 and receiving element 43.
In a representative embodiment, be example with direction from the 2nd MEP to the MEP, the testing process that moves Connectivity Fault Management (CFM) Function detection hybrid network between the 2nd MEP to the MEP may further comprise the steps:
Step 51: at the CE1 place, the 2nd MEP is with T generation setup time and send Ethernet form CFM protocol massages, and this CFM protocol massages arrives the port B of PE1 by first network N 1.Particularly, the minimum value of T is 3.33ms.
Step 52:PE1 carries out the centre and is forwarded to corresponding network behind the CFM protocol massages that receives on the port B from first network.Particularly, after port B received Ethernet form CFM protocol massages, packet forwarding module was searched corresponding transmitting and is determined port information according to message characteristic, and by transmitting-receiving bag module this protocol massages was forwarded to outbound port C.
Step 53: port C carries out format conversion with the ethernet format CFM protocol massages that receives, and then is forwarded to the L2VPN network.Specifically, after port C received the Ethernet form CFM protocol massages that port B transmits, the L2VPN CFM protocol massages that this protocol massages is converted to the L2VPN Web-compatible was forwarded to intermediate node.
Step 54: intermediate node has several, and intermediate node is transmitted the L2VPNCFM protocol massages according to existing processing mode.For example, certain intermediate node carries out label forwarding with this message after port D receives L2VPN CFM protocol massages.
Step 55:L2VPN CFM protocol massages is forwarded to the port E of PE2, after receiving L2VPN CFM protocol massages on the port E, with removing the Ethernet form CFM protocol massages that obtains behind the L2VPN network characterization, again this message is forwarded to port F (MEP).
Step 56: port F carries out finalization process to the Ethernet form CFM protocol massages of receiving.Particularly, if do not receive message at 3 times of T in the time, the detection module of PE2 produces far-end and loses alarm, and the indication compounded link is in abnormality; If receive 3 correct CFM protocol massages continuously, the alarm of detection module notice disappears, and compounded link withdraws from abnormality.
In another representative embodiment, be example with direction from a MEP to the two MEP, the testing process that moves Connectivity Fault Management (CFM) Function detection hybrid network between a MEP to the two MEP may further comprise the steps:
Step 61: at the PE2 place, the one MEP is with the CFM protocol massages of T generation setup time and transmission Ethernet form, and this CFM protocol massages is forwarded to the 3rd network N 3 by port E, wherein, before forwarding, this CFM protocol massages is converted into the L2VPN CFM protocol massages of L2VPN Web-compatible.
Step 62, intermediate node is transmitted L2VPN CFM protocol massages according to existing processing mode.For example, certain intermediate node carries out label forwarding with this message after port D receives L2VPN CFM protocol massages.
Step 63, PE1 changes the back with L2VPNCFM protocol massages form and transmits after receiving L2VPN CFM protocol massages on its port C.Particularly, receive that message that the L2VPN network comes is forwarded to port B by the CFM protocol massages form of searching relevant information and being converted into the Ethernet form, is forwarded to first network N 1 by port B.
Step 64, CE1 carries out finalization process to this CFM protocol massages after receiving the CFM protocol massages of Ethernet form on the port A (the 2nd MEP).。Particularly, if do not receive message at 3 times of T in the time, the detection module of PE2 produces far-end and loses alarm, and the indication compounded link is in abnormality; If receive 3 correct CFM protocol massages continuously, the alarm of detection module notice disappears, and compounded link withdraws from abnormality.
Provide the execution mode of more refinement below again at each concrete equipment.
One, the execution mode on the PE2:
1) configuration the one MEP on the port F of PE2, configuration comprises:
MD: affiliated maintenance field, by the network of OAM management, by forming in a plurality of bridge devices;
MA: safeguard collection, each MA is used for protecting a Service Instance, the attribute L2VPN of configuration MA and related virtual switch instance (VSI);
The direction of safeguarding the end end points is introversive (UP);
Corresponding purpose MEP: the 2nd MEP that on this example, is disposed for CE1 equipment upper port A;
MEP sends the time interval T of CFM protocol massages, minimum interval 3.33ms, and MEP is consistent with purpose.
2) port F initiates the CC detection, and port E begins to send the CCM message with time T, and this message comprises:
Public network MAC Address: the MAC Address of the ID of trace route path in the L2VPN territory under the MEP, the i.e. MAC Address of next jumping;
Public network VLAN ID: the VLAN ID that is the L2VPN territory under the MEP;
The public network ethernet type: the type of the L2VPN network under the expression message is 0X8847 in this example;
Tunnel label: be used to identify tunnel label switching path (LSP), be used to locate specific purpose pe router;
VC label: be used for the connection of identifying user, be used to locate VPN member's website specific on the purpose pe router;
The MAC Address of CCM message: be the multicast mac address of OAM agreement regulation;
Private network VLAN ID: be the VLAN ID in detected path, professional place;
Ethernet type: the ethernet type under the expression message is the type of OAM message in this example;
Maintenance entity grade (MEL): the Maintenance Entity grade of expression message;
Command code: the protocol type of expression detection messages comprises detection of connectivity (CC), Ethernet Loopback function (LB), ethernet link tracking function (LT) etc.;
3) transmission of port E and reception are handled:
Message sends: produce template message by the network processing unit hardware on the PE2, template message is by OAM data encapsulation module package OAM Protocol Data Unit, through common encapsulation module package private network MAC and VLAN ID, by L2VPN module package tunnel label, VC label, public network MAC etc., find outbound port E to send by transmitting-receiving bag module then;
Message receives: the packet parsing module to the message of receiving resolve find its carry tunnel label, VC label and for this equipment be the PE node, the message of receiving is sent to the message modular converter to be handled, to carry out processing such as deletion public network MAC, VLAN, it is reduced into the message of ether OAM form, sends to port F by transmitting-receiving bag module then;
4): port F receives the processing behind the message:
The packet parsing module is judged as the CFM protocol massages according to the EtherType of the message that receives on the port F, send it to detection module, detection module is searched the maintenance entity node table and is determined the grade of message and safeguard end end points and relevant information, judge then whether this message terminates by message:, this message is terminated for the grade message consistent with a MEP; Be higher than the message of a MEP for grade, this message is transmitted; Be lower than the message of a MEP for grade, produce alarm.
5) far-end occurs and lose when alarm when occurring MEP on the PE2, indication hybrid network link is an abnormality, then indicates the hybrid network link to leave abnormality when alarm disappears.
Two, VPLS network intermediate line link node device is handled the message that receives
The packet parsing module of this node device finds that by the parsing to label it is a L2VPN network intermediate node message, sends to the L2VPN module of this node device; The L2VPN module to forwarding information, is determined the transmitting-receiving bag module that this message is sent to behind the port this node device according to the public network label lookup; Transmitting-receiving bag module finds outbound port that this message is transmitted.The processing of intermediary device is still consistent with prior art in the embodiment of the invention.
Three, the execution mode on the PE1:
1) port C receives the message that the L2VPN network is come, and knows relevant information in the message by the packet parsing module, sends to the public network information in the message modular converter deletion message then, comprise: MAC, VLAN, label etc., then, by transmitting-receiving bag module message is forwarded to Ethernet;
Port C receives the message that AC side ports B comes, and sends to the message modular converter by the packet parsing module and adds public network information, comprising: MAC, VLAN, label etc., this message is sent to transmitting-receiving bag module then, and transmitting-receiving bag module is forwarded to the L2VPN network with this message.
2) port B receives message, by the packet parsing module parses, sends to transmitting-receiving bag module and is forwarded to outgoing interface by searching forwarding information.
Four, the execution mode on the CE1:
1) dispose the 2nd MEP at port A, configuration comprises:
MD: affiliated maintenance field, by the network of OAM management, by forming in a plurality of bridge devices;
MA: safeguard collection, each MA is used for protecting a Service Instance;
Safeguard that end end points direction is export-oriented (DOWN);
Corresponding purpose MEP is a MEP of port F configuration;
Safeguard the time interval T that the end end points sends and receives the destination message, 3.33 milliseconds of minimum intervals (ms), MEP is consistent with purpose.
2) port A plays the CC detection, produces a CCM message every time T, and this message comprises:
MAC Address: be the multicast mac address of CFM agreement regulation;
VLAN: be the VLAN ID in detected path, example place;
Ethernet type: the ethernet type under the expression message is the type of OAM message in this example;
Maintenance entity grade: the Maintenance Entity grade of expression message;
Command code: the protocol type of expression detection messages comprises detection of connectivity CC, Ethernet Loopback function (LB), ethernet link tracking function (LT) etc.
3) port A sends the processing of message:
Network processing unit hardware by CE1 equipment regularly produces template message, template message is by OAM data encapsulation module package OAM Protocol Data Unit, after contents such as forwarding module encapsulation MAC, VLAN, directly send by transmitting-receiving bag module again from ethernet port A;
4) port A receives the processing of message:
The packet parsing module is according to EtherType, after judging message that port A receives and being the CFM protocol massages, this message sent to OAM data encapsulation module; OAM data encapsulation module searches maintenance entity node table is determined to receive the grade of message and safeguard end end points and relevant information judge then whether this message terminates by message:, this message is terminated for the grade message consistent with the 2nd MEP; Be higher than the message of the 2nd MEP for grade, this message is transmitted; Be lower than the message of the 2nd MEP for grade, produce alarm.
5) far-end occurs and lose when alarm when occurring MEP on the PE1, indication hybrid network link is an abnormality, then indicates the hybrid network link to leave abnormality when alarm disappears.
The above only is embodiments of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (12)

1. method that detects link failure in the hybrid network, described hybrid network comprises first network of Ethernet and the 3rd network of second network and Virtual Private Network, wherein, the first customer edge devices CE is connected to the first provider edge equipment PE by described first network, the 2nd PE is connected to the 2nd CE by described second network, connect by described the 3rd network between the one PE and the 2nd PE, it is characterized in that described method comprises:
The 2nd PE receives the message from described the 3rd network on self second port, described second port is the port that described the 2nd PE is connected with described the 3rd network;
The 2nd PE is at the outbound port of judging described message during for self first port, described message is carried out being sent to described first port after the format conversion, wherein, described first port is the port that described the 2nd PE is connected with described second network, and be provided with an internally-oriented MEP on described first port in advance, the far-end MEP that a described MEP is the 2nd MEP, described the 2nd MEP are the export-oriented MEP that is pre-configured on a CE and the port that described first network is connected;
The 2nd PE judges whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
2. the method for claim 1 is characterized in that, also comprises:
Described the 2nd PE receives the CFM protocol massages that a described MEP periodically produces and sends;
Described the 2nd PE after the CFM protocol massages that a described MEP is periodically produced and sends carries out format conversion, sends by described second port when to judge a described MEP be internally-oriented MEP again.
3. the method for claim 1 is characterized in that, disposes a described MEP in advance in such a way on first port of described the 2nd PE:
Maintenance field under configuration the one MEP on described first port;
At the maintenance collection of configuration under the one MEP on described first port, and L2VPN and this maintenance of disposing under this maintenances collection collect related VSI, and a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Disposing a MEP is internally-oriented MEP;
The far-end MEP that disposes a described MEP correspondence is described the 2nd MEP;
Dispose the transmission cycle of described MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that described the 2nd MEP goes up the CCM message that disposes.
4. PE processing unit, the 2nd PE is connected to the 2nd CE by second network of Ethernet, described the 2nd PE also is connected to a PE by the 3rd network of Virtual Private Network, a described PE then is connected to a CE by first network of Ethernet, it is characterized in that described the 2nd PE processing unit comprises:
First receiving element is used for receiving the message from described the 3rd network on second port of described the 2nd PE, described second port is the port that described the 2nd PE is connected with described the 3rd network;
First retransmission unit, be used for when the outbound port of judging described message is first port of described the 2nd PE, described message is carried out being sent to described first port after the format conversion, wherein, described first port is the port that described the 2nd PE is connected with described second network, and be provided with an internally-oriented MEP on described first port in advance, the far-end MEP that a described MEP is the 2nd MEP, described the 2nd MEP are the export-oriented MEP that is pre-configured on a described CE and the port that described first network is connected;
Detecting unit is used to judge whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
5. the 2nd PE processing unit as claimed in claim 4 is characterized in that, also comprises:
Second receiving element is used to receive the CFM protocol massages that a described MEP periodically produces and sends;
Second retransmission unit is used for when to judge a described MEP be internally-oriented MEP, after the CFM protocol massages that a described MEP is periodically produced and sends carries out format conversion, sends by described second port again.
6. the 2nd PE processing unit as claimed in claim 4 is characterized in that, also comprises:
Dispensing unit is used for the described MEP of configuration on first port of described the 2nd PE in such a way:
Maintenance field under configuration the one MEP on described first port;
At the maintenance collection of configuration under the one MEP on described first port, and L2VPN and this maintenance of disposing under this maintenances collection collect related VSI, and a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Disposing a MEP is internally-oriented MEP;
The far-end MEP that disposes a described MEP correspondence is described the 2nd MEP;
Dispose the transmission cycle of described MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that described the 2nd MEP goes up the CCM message that disposes.
7. method that detects link failure in the hybrid network, described hybrid network comprises first network of Ethernet and the 3rd network of second network and Virtual Private Network, wherein, the first customer edge devices CE is connected to the first provider edge equipment PE by described first network, the 2nd PE is connected to the 2nd CE by described second network, connect by described the 3rd network between the one PE and the 2nd PE, it is characterized in that described method comprises:
The one CE receives the message from described first network on self first port, described first port is the port that a described CE is connected with described first network, and be provided with export-oriented the 2nd MEP on described first port in advance, the far-end MEP that described the 2nd MEP is a MEP, a described MEP are the internally-oriented MEP that is pre-configured on described the 2nd PE and the port that described second network is connected;
The one CE judges whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
8. method as claimed in claim 7 is characterized in that, also comprises:
A described CE receives the CFM protocol massages that described the 2nd MEP periodically produces and sends;
A described CE is when judging described the 2nd MEP and be export-oriented MEP, and the CFM protocol massages that described the 2nd MEP is periodically produced and sends sends by described first port.
9. method as claimed in claim 7 is characterized in that, disposes described the 2nd MEP in advance in such a way on first port of a described CE:
Maintenance field under configuration the 2nd MEP on described first port;
At the maintenance collection of configuration under the 2nd MEP on described first port, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that disposes the 2nd MEP is export-oriented;
The far-end MEP that disposes described the 2nd MEP correspondence is a described MEP;
Dispose the transmission cycle of described the 2nd MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that a described MEP goes up the CCM message that disposes.
10. CE processing unit, the one CE is connected to a PE by first network of Ethernet, a described PE is connected to the 2nd PE by the 3rd network of Virtual Private Network, described the 2nd PE is connected to the 2nd CE by second network of Ethernet, it is characterized in that a described CE processing unit comprises:
First receiving element, be used on first port of a described CE, receiving message from described first network, described first port is the port that a described CE is connected with described first network, and be provided with export-oriented the 2nd MEP on described first port in advance, the far-end MEP that described the 2nd MEP is a MEP, a described MEP are the internally-oriented MEP that is pre-configured on described the 2nd PE and the port that described second network is connected;
Detecting unit is used to judge whether the message that receives on described first port is the CFM protocol massages, and by the CFM protocol massages that receives on described first port is handled, carries out failure of connectivity and detect.
11. a CE processing unit as claimed in claim 10 is characterized in that, also comprises:
Second receiving element is used to receive the CFM protocol massages that described the 2nd MEP periodically produces and sends;
Retransmission unit is used for when judging described the 2nd MEP and be export-oriented MEP, and the CFM protocol massages that described the 2nd MEP is periodically produced and sends sends by described first port.
12. a CE processing unit as claimed in claim 10 is characterized in that, also comprises:
Dispensing unit is used for described the 2nd MEP of configuration on first port of a described CE in such a way:
Maintenance field under configuration the 2nd MEP on described first port;
At the maintenance collection of configuration under the 2nd MEP on described first port, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that disposes the 2nd MEP is export-oriented;
The far-end MEP that disposes described the 2nd MEP correspondence is a described MEP;
Dispose the transmission cycle of described the 2nd MEP transmission CCM message, this transmission cycle is identical with the transmission cycle that a described MEP goes up the CCM message that disposes.
CN201110105691.8A 2011-04-26 2011-04-26 Method and equipment for detecting link failure in hybrid network Expired - Fee Related CN102185711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110105691.8A CN102185711B (en) 2011-04-26 2011-04-26 Method and equipment for detecting link failure in hybrid network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110105691.8A CN102185711B (en) 2011-04-26 2011-04-26 Method and equipment for detecting link failure in hybrid network

Publications (2)

Publication Number Publication Date
CN102185711A true CN102185711A (en) 2011-09-14
CN102185711B CN102185711B (en) 2014-12-10

Family

ID=44571784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110105691.8A Expired - Fee Related CN102185711B (en) 2011-04-26 2011-04-26 Method and equipment for detecting link failure in hybrid network

Country Status (1)

Country Link
CN (1) CN102185711B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984011A (en) * 2012-12-04 2013-03-20 杭州华三通信技术有限公司 Link failure positioning method and equipment
CN103634131A (en) * 2012-08-24 2014-03-12 杭州华三通信技术有限公司 A method and device for detecting interconnection links of virtualization network devices
CN103684887A (en) * 2013-12-31 2014-03-26 杭州华三通信技术有限公司 Method and equipment for generating connectivity fault detection network system hardware table entry
WO2015184740A1 (en) * 2014-10-20 2015-12-10 中兴通讯股份有限公司 Method and device for processing detection hierarchy information
CN105591775A (en) * 2014-10-23 2016-05-18 华为技术有限公司 Method, device and system for network operation administration maintenance (OAM)
CN103731322B (en) * 2014-01-16 2017-02-15 杭州华三通信技术有限公司 Method and device for detecting self-adapting link among devices with different capabilities
CN109450703A (en) * 2018-12-10 2019-03-08 盛科网络(苏州)有限公司 The processing method and processing device of failure, storage medium
CN112202634A (en) * 2020-09-23 2021-01-08 烽火通信科技股份有限公司 Network link fault detection and transmission method and system
CN112737949A (en) * 2019-10-14 2021-04-30 中兴通讯股份有限公司 Fault detection method and device, electronic equipment and computer readable medium
CN114024870A (en) * 2021-11-12 2022-02-08 中国工商银行股份有限公司 Network connectivity detection method and system
CN115065614A (en) * 2022-06-22 2022-09-16 杭州云合智网技术有限公司 VPWS multi-active business connectivity identification method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote access link fault indication mechanism
US20070014290A1 (en) * 2005-07-12 2007-01-18 Cisco Technology, Inc. Address resolution mechanism for ethernet maintenance endpoints
CN101015157A (en) * 2004-05-10 2007-08-08 阿尔卡特朗讯 Alarm indication and suppression (ais) mechanism in an Ethernet oam network.
CN101039222A (en) * 2007-04-25 2007-09-19 华为技术有限公司 Warning information transmission method, apparatus and network equipment
CN101842710A (en) * 2007-10-30 2010-09-22 爱立信股份有限公司 Scalable connectivity fault management in a bridged/virtual private LAN service environment
US20100246406A1 (en) * 2009-03-31 2010-09-30 Cisco Systems, Inc. Route convergence based on ethernet operations, administration, and maintenance protocol

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697401A (en) * 2004-05-10 2005-11-16 阿尔卡特公司 Remote access link fault indication mechanism
CN101015157A (en) * 2004-05-10 2007-08-08 阿尔卡特朗讯 Alarm indication and suppression (ais) mechanism in an Ethernet oam network.
US20070014290A1 (en) * 2005-07-12 2007-01-18 Cisco Technology, Inc. Address resolution mechanism for ethernet maintenance endpoints
CN101039222A (en) * 2007-04-25 2007-09-19 华为技术有限公司 Warning information transmission method, apparatus and network equipment
CN101842710A (en) * 2007-10-30 2010-09-22 爱立信股份有限公司 Scalable connectivity fault management in a bridged/virtual private LAN service environment
US20100246406A1 (en) * 2009-03-31 2010-09-30 Cisco Systems, Inc. Route convergence based on ethernet operations, administration, and maintenance protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE LAN/MAN STANDARDS COMMITTEE: "IEEE Standard for Local and metropolitan area networks—Virtual Bridged Local Area Networks Connectivity Fault Management", 《IEEE STANDARD》 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103634131A (en) * 2012-08-24 2014-03-12 杭州华三通信技术有限公司 A method and device for detecting interconnection links of virtualization network devices
CN103634131B (en) * 2012-08-24 2018-04-27 新华三技术有限公司 One kind virtualization network equipment inter-connection links detection method and equipment
CN102984011B (en) * 2012-12-04 2015-05-13 杭州华三通信技术有限公司 Link failure positioning method and equipment
CN102984011A (en) * 2012-12-04 2013-03-20 杭州华三通信技术有限公司 Link failure positioning method and equipment
CN103684887A (en) * 2013-12-31 2014-03-26 杭州华三通信技术有限公司 Method and equipment for generating connectivity fault detection network system hardware table entry
CN103684887B (en) * 2013-12-31 2017-01-04 杭州华三通信技术有限公司 A kind of method and apparatus connecting the generation of error detection group network system hardware table item
CN103731322B (en) * 2014-01-16 2017-02-15 杭州华三通信技术有限公司 Method and device for detecting self-adapting link among devices with different capabilities
WO2015184740A1 (en) * 2014-10-20 2015-12-10 中兴通讯股份有限公司 Method and device for processing detection hierarchy information
CN105515816A (en) * 2014-10-20 2016-04-20 中兴通讯股份有限公司 Processing method and apparatus for detection level information
CN105591775B (en) * 2014-10-23 2019-10-25 华为技术有限公司 A kind of operation management maintainance OAM methods, devices and systems of network
CN105591775A (en) * 2014-10-23 2016-05-18 华为技术有限公司 Method, device and system for network operation administration maintenance (OAM)
US10237124B2 (en) 2014-10-23 2019-03-19 Huawei Technologies Co., Ltd. Network operation, administration, and maintenance (OAM) method, apparatus, and system
CN109450703A (en) * 2018-12-10 2019-03-08 盛科网络(苏州)有限公司 The processing method and processing device of failure, storage medium
CN112737949A (en) * 2019-10-14 2021-04-30 中兴通讯股份有限公司 Fault detection method and device, electronic equipment and computer readable medium
CN112737949B (en) * 2019-10-14 2023-06-30 中兴通讯股份有限公司 Fault detection method and device, electronic equipment and computer readable medium
CN112202634A (en) * 2020-09-23 2021-01-08 烽火通信科技股份有限公司 Network link fault detection and transmission method and system
CN114024870A (en) * 2021-11-12 2022-02-08 中国工商银行股份有限公司 Network connectivity detection method and system
CN114024870B (en) * 2021-11-12 2023-05-16 中国工商银行股份有限公司 Network connectivity detection method and system
CN115065614A (en) * 2022-06-22 2022-09-16 杭州云合智网技术有限公司 VPWS multi-active business connectivity identification method
CN115065614B (en) * 2022-06-22 2023-10-13 杭州云合智网技术有限公司 Method for identifying multi-activity service connectivity of VPWS

Also Published As

Publication number Publication date
CN102185711B (en) 2014-12-10

Similar Documents

Publication Publication Date Title
CN102185711B (en) Method and equipment for detecting link failure in hybrid network
CN100484097C (en) Method for judging pseudo wire connection state in packet-switching network and service apparatus thereof
US20080080535A1 (en) Method and system for transmitting packet
CN103326940B (en) Method for forwarding message in network and edge device of operator
CN102185780B (en) OAM message processing method and device
EP2068506B1 (en) Method, system and provider edge router for detecting pseudo wire fault
CN107332683A (en) A kind of link switch-over method and system
CN105591868A (en) Virtual private network VPN access method and device
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN102882784A (en) LSP (Layered Service Provider) information flooding method and equipment in SPBM (Shortest Path Bridging MAC)
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
CN105634935A (en) Device and method for detecting service layer signal failure
CN101505250B (en) Detection method, detection system and VPN for public network LSP
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
CN102546855B (en) MAC Address recovery method and PE equipment in VPLS network
CN103209125B (en) A kind of transmission method of label information and equipment
CN105763439B (en) The interconnected method and device of data center in a kind of multilink transparent internet
CN103368863A (en) Method and equipment for sharing load in SPB (Shortest Path Bridging) network
CN102857421B (en) A kind of VLL fault detection method and equipment
CN105812198B (en) Method and device for monitoring end-to-end of bridge network
CN102013990B (en) End to end notification method and system for multi-segment pseudowire fault
CN102404180A (en) Method and system for realizing Operation and Maintenance (OAM) based on Packet Based Networks (PBN) network
CN102170390B (en) Method and system for parameter negotiation
CN109412851B (en) Link layer path detection method, device and system
CN103716220B (en) A kind of data transmission method and its device

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: 20141210

Termination date: 20200426