CN102185711B - 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
CN102185711B
CN102185711B CN201110105691.8A CN201110105691A CN102185711B CN 102185711 B CN102185711 B CN 102185711B CN 201110105691 A CN201110105691 A CN 201110105691A CN 102185711 B CN102185711 B CN 102185711B
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.)
Expired - Fee Related
Application number
CN201110105691.8A
Other languages
Chinese (zh)
Other versions
CN102185711A (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

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 hybrid network link fault
Technical field
The present invention relates to Network Fault Detection technical field, relate to more specifically a kind of method and apparatus that detects hybrid network link fault.
Background technology
Virtual Private Network (VPN, Virtual Private Network) is a kind of technology developing rapidly along with the extensive use of internet (Internet) in recent years, to realize, builds private dedicated network in common network." virtual " mainly refers to that 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).
By Ethernet, accessing L2VPN network 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, be connected with the PE1 as provider edge equipment (PE, Provider Edge); Customer edge devices CE2 is connected with provider edge equipment PE2 by Ethernet N2; Between provider edge equipment PE1 and provider edge equipment PE2, there is Virtual Private Network N3.Can find out, the N1 in Fig. 1 between CE1 and PE1 is Ethernet, and between PE1 and PE2, N3 is VPN network, for example L2VPN network.In this network environment, the virtual circuit (VC, Virtual Circuit) of the 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, the state of virtual link (PW, Pseudo Wire) side can not be subject to the impact of AC, and whether the state that AC side also cannot perceive PW side is normal.
Along with the development of Ethernet towards multiple service supporting direction, the reliability of some business to network, requirement of real-time is 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 existing scheme, be generally to dispose respectively OAM detection in PW side and AC side: during when PW side abnormal state, the Interface status that PE side is connected with customer edge becomes abnormality, and AC side just can detect extremely; When AC side occurs when abnormal, by configuration mapping (MAPPING) on PE equipment, the CPU by equipment sends protocol massages notice opposite end PE state and changes.
The defect of this scheme is: need to design extra protocol massages, and the equipment CPU of utilization sends this protocol massages and carries out state advertisement and this protocol massages receiving is carried out to respective handling, can find out the protocol processes complexity of this processing mode on can increase equipment; Because above-mentioned protocol massages is to process from low layer port repeat to the CPU on upper strata more, therefore the detection speed of this detection mode is slow; And while widely applying above-mentioned detection mode on equipment, this detection mode will take excess CPU and process resource, cause system to be processed busy, and response not in time.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of method and apparatus that detects hybrid network link fault, in order to improve the link failure detection speed of hybrid network, and reduces the consumption of Check processing to equipment cpu resource.
For solving the problems of the technologies described above, the invention provides scheme as follows:
A kind of method that detects hybrid network link fault, described hybrid network comprises the 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, between the one PE and the 2nd PE, by described the 3rd network, connect, described method comprises:
The 2nd PE receives the message from described the 3rd network on self the second port, and described the 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 the first port, described message is carried out being sent to described the first port after format conversion, wherein, described the first port is the port that described the 2nd PE is connected with described second network, and on described the first port, be provided with an internally-oriented MEP in advance, a described MEP is the far-end MEP of the 2nd MEP, and described the 2nd MEP is the export-oriented MEP being pre-configured on the port that a described CE is connected with described first network;
The 2nd PE judges whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detect.
Preferably, in 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 is when to judge a described MEP be internally-oriented MEP, and the CFM protocol massages that a described MEP is periodically produced and sent carries out after format conversion, then sends by described the second port.
Preferably, in said method, on the first port of described the 2nd PE, configure in such a way in advance a described MEP:
On described the first port, configure the maintenance field under a MEP;
On described the first port, configure the maintenance collection under a MEP, and the L2VPN and this maintenance that configure under this maintenance collection collect associated VSI, a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Configuring a MEP is internally-oriented MEP;
Configuring far-end MEP corresponding to a described MEP is described the 2nd MEP;
Configure the transmission cycle that a described MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of described the 2nd MEP.
The present invention also provides a kind of the 2nd PE processing unit, the 2nd PE is connected to the 2nd CE by the second network of Ethernet, described the 2nd PE is also connected to a PE by the 3rd network of Virtual Private Network, a described PE is connected to a CE by the first network of Ethernet, and described the 2nd PE processing unit comprises:
The first receiving element, for receiving the message from described the 3rd network on the second port at described the 2nd PE, described the second port is the port that described the 2nd PE is connected with described the 3rd network;
The first retransmission unit, for when the outbound port of judging described message is the first port of described the 2nd PE, described message is carried out being sent to described the first port after format conversion, wherein, described the first port is the port that described the 2nd PE is connected with described second network, and on described the first port, be provided with an internally-oriented MEP in advance, a described MEP is the far-end MEP of the 2nd MEP, and described the 2nd MEP is the export-oriented MEP being pre-configured on the port that a described CE is connected with described first network;
Detecting unit, for judging whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detects.
Preferably, in the 2nd above-mentioned PE processing unit, also comprise:
The second receiving element, the CFM protocol massages that periodically produces and send for receiving a described MEP;
The second retransmission unit, for when to judge a described MEP be internally-oriented MEP, the CFM protocol massages that a described MEP is periodically produced and sent carries out after format conversion, then sends by described the second port.
Preferably, in the 2nd above-mentioned PE processing unit, also comprise:
Dispensing unit, for configure in such a way a described MEP on the first port of described the 2nd PE:
On described the first port, configure the maintenance field under a MEP;
On described the first port, configure the maintenance collection under a MEP, and the L2VPN and this maintenance that configure under this maintenance collection collect associated VSI, a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Configuring a MEP is internally-oriented MEP;
Configuring far-end MEP corresponding to a described MEP is described the 2nd MEP;
Configure the transmission cycle that a described MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of described the 2nd MEP.
The present invention also provides a kind of method that detects hybrid network link fault, described hybrid network comprises the 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, between the one PE and the 2nd PE, by described the 3rd network, connect, described method comprises:
The one CE receives the message from described first network on self the first port, described the first port is the port that a described CE is connected with described first network, and on described the first port, be provided with export-oriented the 2nd MEP in advance, described the 2nd MEP is the far-end MEP of a MEP, and a described MEP is the internally-oriented MEP being pre-configured on the port that described the 2nd PE is connected with described second network;
The one CE judges whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detect.
Preferably, in 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 sent sends by described the first port.
Preferably, in said method, on the first port of a described CE, configure in such a way in advance described the 2nd MEP:
On described the first port, configure maintenance field under the 2nd MEP;
On described the first port, configure the maintenance collection under the 2nd MEP, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that configures the 2nd MEP is export-oriented;
Configuring far-end MEP corresponding to described the 2nd MEP is a described MEP;
Configure the transmission cycle that described the 2nd MEP sends CCM message, this transmission cycle is identical with the cycle of the CCM message of the upper configuration of a described MEP.
The present invention also provides an a kind of CE processing unit, the one CE is connected to a PE by the 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 the second network of Ethernet, and a described CE processing unit comprises:
The first receiving element, for receive the message from described first network on the first port of a described CE, described the first port is the port that a described CE is connected with described first network, and on described the first port, be provided with export-oriented the 2nd MEP in advance, described the 2nd MEP is the far-end MEP of a MEP, and a described MEP is the internally-oriented MEP being pre-configured on the port that described the 2nd PE is connected with described second network;
Detecting unit, for judging whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detects.
Preferably, in an above-mentioned CE processing unit, also comprise:
The second receiving element, the CFM protocol massages that periodically produces and send for receiving described the 2nd MEP;
Retransmission unit, for when judging described the 2nd MEP and be export-oriented MEP, the CFM protocol massages that described the 2nd MEP is periodically produced and sent sends by described the first port.
Preferably, in an above-mentioned CE processing unit, also comprise: dispensing unit, for configure in such a way described the 2nd MEP on the first port of a described CE:
On described the first port, configure maintenance field under the 2nd MEP;
On described the first port, configure the maintenance collection under the 2nd MEP, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that configures the 2nd MEP is export-oriented;
Configuring far-end MEP corresponding to described the 2nd MEP is a described MEP;
Configure the transmission cycle that described the 2nd MEP sends CCM message, this transmission cycle is identical with the cycle of the CCM message of the upper configuration of a described MEP.
From the above, can find out, a kind of method and apparatus that detects hybrid network link fault provided by the invention, owing to configuring in advance an internally-oriented MEP on the 2nd PE, on a CE, configure export-oriented the 2nd MEP, first, second MEP is far-end MEP each other, thereby built a CFM surveyed area, this surveyed area has covered the hybrid network that comprises first network N1 and the 3rd network N 3, thereby can on the 2nd PE or a CE, utilize traditional CFM agreement to carry out failure of connectivity detection to comprising the hybrid network of different type network.Hybrid network detection mode than prior art, the present invention need not design extra protocol massages, do not need equipment CPU to send and process this protocol massages, the protocol processes complexity on therefore can increase equipment, not the processing resource of consumer device CPU in a large number; Meanwhile, because the present invention directly carries out failure of connectivity detection based on CFM agreement on port, do not need agreement to notice, therefore have advantages of that detection speed is fast.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of hybrid network;
A kind of schematic flow sheet that detects the method for hybrid network link fault that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of the 2nd PE processing unit that Fig. 3 provides for the embodiment of the present 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 present invention.
Embodiment
The present invention is devoted to overcome the inherent shortcoming that existing scheme exists in detecting hybrid network failure of connectivity, for this reason, the invention provides and utilize the operation management maintain (OAM) of traditional Ethernet also referred to as Connectivity Fault Management (CFM, Connectivity Fault Management) carry out implementation method and the corresponding equipment that ether access VPN (as L2VPN) network detects, because being utilizes existing agreement to realize, do not increase the complexity of protocol processes, and do not need CPU to carry out transmission and the processing of protocol massages, therefore can greatly reduce to CPU is processed the consumption of resource and improves detection speed.
For helping to understand the present invention, the CFM that may relate in the paper embodiment of the present invention and the basic concepts of VPLS.
CFM be a kind of two layers of (data link layer) link of defining in IEEE 802.1ag standard, end to end, based on VLAN (VLAN, Virtual Local Area Network) OAM mechanism, is mainly used in detecting connectivity of link in double layer network, confirms fault, also determines the position that fault occurs.Wherein, the related notion in CFM comprises:
Maintenance field (MD, Maintenance Domain): MD has indicated connection error detection (CFD, Connectivity Fault Detection) network covering, its border is defined by a series of maintaining end points that are configured on device port.Maintenance field is with safeguarding that domain name identifies.In order to locate exactly fault point, CFD has introduced the concept of level in maintenance field.Maintenance field is divided into 8 grades, with integer 0~7, represents, the rank (Level) of the larger expression maintenance field of numeral is higher, and the scope of maintenance field is also larger.
Safeguard collection (MA, Maintenance Association): MA is the set of some maintenance points in maintenance field.Safeguard that collection identifies with " safeguard domain name+safeguard set name ".MA has indicated the VLAN serving, and the message that the maintenance point in MA sends is with this VLAN label, and the maintenance point in MA can receive the message that in this MA, other maintenance point sends simultaneously.
Maintenance point (MP, Maintenance Point): be configured on 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 device port, belongs to certain MA, with an integer, identifies, and is called MEP sign (MEP ID).MEP has determined scope and the border of maintenance field.Maintenance collection and maintenance field under MEP, determined VLAN attribute and the rank of the message that MEP sends.MEP has directivity, is divided into two kinds of extroversion and introversions.The direction of MEP has shown the position of maintenance field with respect to this port, wherein export-oriented MEP is at the port transmitting-receiving CFM at this extroversion MEP place protocol massages, interior to MEP be on equipment in same VLAN except interior other ports transmitting-receivings CFM protocol massages to the port at MEP place.
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) a: integer representation for Service Instance, has represented that in a maintenance field safeguards collection.Maintenance field and maintenance collection have been determined level attribute and the VLAN attribute of the handled message of maintenance point in 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-to-multipoint L2VPN business providing in common network.In 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) providing with traditional VPN is different.VPLS will create in fact exactly a series of virtual switch and be leased to user on PE, and the networking of virtual switch is identical with conventional switch.Like this, user just can pass through the local area network (LAN) (LAN, Local Area Network) that metropolitan area network (MAN, Metropolitan Area Network) or wide area network (WAN, Wide Area Network) are realized oneself.VPLS network mainly comprises following important part:
Customer edge devices (CE, Customer Edge): the customer edge being directly connected with service provider network.
Provider edge equipment (PE, Provider Edge): the edge device on service provider network, be connected with CE, be mainly responsible for the access of vpn service, comprise and realize mapping and the forwarding of message from private network to public network tunnel, from public network tunnel to private network.
Virtual switch instance (VSI, Virtual Switch Instance): the ethernet bridging function entity of VPLS example on a PE, carries out 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 service provider, connects the link of CE and PE.
Virtual link (PW, Pseudo Wire): claim again pseudo-line, a two-way virtual link between the VSI on two PE.It is comprised of unidirectional multiprotocol label switching (MPLS, the Multi-Protocol Label Switching) virtual circuit (VC, Virtual Circuit) of a pair of opposite direction.
Tunnel (Tunnel): for carrying PW, can carry many PW on a tunnel.Tunnel is a direct channel between local PE and opposite end PE, completes the data transparent transmission between 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 make forwarding decision based on MAC Address or MAC Address.With each associated PE of specific VPLS service, for this VPLS example, set up a VSI, each VSI safeguards a mac address forwarding table.PE learns source MAC and safeguards this mac address forwarding table when E-Packeting, and sets up the port of MAC Address and PE or the corresponding relation between PW.
Below in conjunction with accompanying drawing, the embodiment of the embodiment of the present invention is described in further detail.
< embodiment mono->
A kind of method that detects hybrid network link fault that the embodiment of the present invention provides, is applied in a hybrid network.Still the hybrid network shown in Fig. 1 of take describes as example, and described hybrid network comprises the 3rd network N 3 of first network N1 and second network N2 and the Virtual Private Network of Ethernet, as two-layer VPN (L2VPN).Wherein, the one CE (CE1) is connected to a PE (PE1) by described first network N1, the 2nd PE (PE2) is connected to the 2nd CE (CE2) by described second network N2, between a PE (PE1) and the 2nd PE (PE2), by described the 3rd network N 3, connects.
Please refer to Fig. 2, the method for the described detection hybrid network link fault that the embodiment of the present invention provides, while being applied on described PE2, specifically comprises the following steps:
Step 21, PE2 receives the message from described the 3rd network N 3 on self the second port, and described the second port is the port that described PE2 is connected with described the 3rd network N 3.
Here, the second port of above-mentioned PE2 is the port that PE2 connects the 3rd network N 3, and corresponding to Fig. 1, the second port is port E.
Step 22, PE2 is at the outbound port of judging described message during for self the first port, described message is carried out being sent to described the first port after format conversion, wherein, described the first port is the port that described PE2 is connected with described second network, and be provided with an internally-oriented MEP on described the first port in advance, a described MEP is the far-end MEP of the 2nd MEP, described the 2nd MEP is the export-oriented MEP being pre-configured on the port that described CE1 is connected with described first network.
Here, corresponding to Fig. 1, the first port is port F, disposes an internally-oriented MEP on the first port.PE2, after receiving described message, tables look-up and forwards, and determines the outbound port of described message.For example, PE2, according to the VSI of described the first port association, searches the mac address forwarding table of this VSI of PE2 maintenance, to determine message outbound port and pass-through mode.During the first port that the outbound port of judging described message at PE2 is self, due to the first port connection is Ethernet, therefore, before being forwarded to the first port, need to 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 N2); Then, then by the described message repeating that completes format conversion to described the first port.
Step 23, PE2 judges whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detect.
Here, at the first port, receive after message, judge whether described message is CFM protocol massages, if so, by this CFM protocol massages is processed, to carry out failure of connectivity, detect, 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 processed, but pressed original path, forward;
When the rank of the CFM protocol massages of receiving is less than a MEP rank, carry out alarm;
When the rank of the CFM protocol massages of receiving equals a MEP rank, CFM protocol massages is carried out to finalization process, specifically can, based on according to the processing mode of prior art, based on this CFM protocol massages, carry out the detections such as detection of connectivity, Ethernet Loopback and ethernet link tracking.For example, when a MEP of PE2 does not receive the CCM message of far-end MEP in the given time, in the time of producing the alarm of far-end loss, be now judged as hybrid network link in abnormality; When above-mentioned alarm disappears, judgement hybrid network link-recovery normal condition.The hybrid network here comprises first network N1 and the 3rd network N 3.
Take L2VPN as VPLS network is example, configure in advance a described MEP in the present embodiment on the first port of PE2, concrete configuration can be carried out in such a way:
On described the first port, configure maintenance field (MD) under a MEP, MD is the network of managing by OAM, a plurality of bridge devices, consists of;
On described the first port, configure the maintenance collection (MA) under a MEP, each MA is used for protecting a Service Instance, and the L2VPN under configuration MA safeguards with this VSI that collection is associated, a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
The direction that configures a MEP is internally-oriented;
Configuring far-end MEP corresponding to a described MEP is described the 2nd MEP;
Configure the transmission cycle that a described MEP sends CCM message, this cycle need to be identical with the transmission cycle of the upper CCM message configuring of the 2nd MEP.
From the above, can find out, because the present embodiment configures an internally-oriented MEP in advance on PE2, on CE1, configure export-oriented the 2nd MEP, first, second MEP is far-end MEP each other, thereby built a CFM surveyed area, this surveyed area has covered the hybrid network that comprises first network N1 and the 3rd network N 3, thereby can on PE2, utilize traditional CFM agreement to carry out failure of connectivity detection to comprising the hybrid network of different type network.
Hybrid network detection mode than prior art, the present embodiment need not design extra protocol massages, do not need equipment CPU to send and process this protocol massages, the protocol processes complexity on therefore can increase equipment, the processing resource that can not consume in a large number CPU; Meanwhile, because the present embodiment is to carry out failure of connectivity detection based on CFM agreement on port, therefore have advantages of that detection speed is fast.
More than illustrated that the message of how processing 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, as the far-end MEP of the 2nd MEP, also can periodically send CFM protocol massages simultaneously, to be engaged in the upper performed failure of connectivity of CE1, detects.Now, the method for the detection hybrid network link fault described in the 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 is when to judge a described MEP be internally-oriented MEP, and other ports by this message to the first port except a MEP place send.For example, by described the second port, be sent to the 3rd network, wherein, before being sent to the 3rd network, need to carry out format conversion to CFM protocol massages, for example, send again after converting the form that meets the 3rd network N 3 to.
The method of the detection hybrid network link fault based on above-mentioned, the present embodiment also provides a kind of the 2nd PE processing unit, this device can be arranged in the 2nd PE, described the 2nd PE is connected to the 2nd CE by the second network of Ethernet, described the 2nd PE is also connected to a PE by the 3rd network of Virtual Private Network, and a described PE is connected to a CE by the first network of Ethernet.Please refer to Fig. 3, described the 2nd PE processing unit comprises:
The first receiving element, for receiving the message from described the 3rd network on the second port at described the 2nd PE, described the second port is the port that described the 2nd PE is connected with described the 3rd network;
The first retransmission unit, for when the outbound port of judging described message is the first port of described the 2nd PE, described message is carried out being sent to described the first port after format conversion, wherein, described the first port is the port that described the 2nd PE is connected with described second network, and on described the first port, be provided with an internally-oriented MEP in advance, a described MEP is the far-end MEP of the 2nd MEP, and described the 2nd MEP is the export-oriented MEP being pre-configured on the port that a described CE is connected with described first network;
Detecting unit, for judging whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detects.
As a kind of preferred implementation, described the 2nd PE processing unit also comprises:
The second receiving element, the CFM protocol massages that periodically produces and send for receiving a described MEP;
The second retransmission unit, for when to judge a described MEP be internally-oriented MEP, the CFM protocol massages that a described MEP is periodically produced and sent carries out after format conversion, then sends by described the second port.
Here, described the 2nd PE processing unit also comprises a dispensing unit, for configure in such a way a described MEP on the first port of described the 2nd PE:
On described the first port, configure the maintenance field under a MEP;
On described the first port, configure the maintenance collection under a MEP, and the L2VPN and this maintenance that configure under this maintenance collection collect associated VSI, a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Configuring a MEP is internally-oriented MEP;
Configuring far-end MEP corresponding to a described MEP is described the 2nd MEP;
Configure the transmission cycle that a described MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of described the 2nd MEP.
< embodiment bis->
A kind of method that detects hybrid network link fault that the embodiment of the present invention provides, is applied in a hybrid network.Still the hybrid network shown in Fig. 1 of take describes as example, and described hybrid network comprises the 3rd network N 3 of first network N1 and second network N2 and the Virtual Private Network of Ethernet, as two-layer VPN (L2VPN).Wherein, the one CE (CE1) is connected to a PE (PE1) by described first network N1, the 2nd PE (PE2) is connected to the 2nd CE (CE2) by described second network N2, between a PE (PE1) and the 2nd PE (PE2), by described the 3rd network N 3, connects.
The method of the described detection hybrid network link fault that the embodiment of the present invention provides, while being applied on described CE1, specifically comprises the following steps:
Step 31, CE1 receives the message from described first network N1 on self the first port, described the first port is the port that a described CE is connected with described first network, and on described the first port, be provided with export-oriented the 2nd MEP in advance, described the 2nd MEP is the far-end MEP of a MEP, and a described MEP is the internally-oriented MEP being pre-configured on the port that described the 2nd PE is connected with described second network.
Here, the first port of above-mentioned CE1 is the port that CE1 connects first network N1, and corresponding to Fig. 1, the first port is port A.
Step 32, CE1 judges whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detect.
Here, at the first port, receive after message, judge whether described message is CFM protocol massages, if so, by this CFM protocol massages is processed, to carry out failure of connectivity, detect, 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 time, this CFM protocol massages is not processed, but pressed original path, forward;
When the rank of the CFM protocol massages of receiving is less than the 2nd MEP rank, carry out alarm;
When the rank of the CFM protocol massages of receiving equals the 2nd MEP rank, CFM protocol massages is carried out to finalization process, specifically can, based on according to the processing mode of prior art, based on this CFM protocol massages, carry out the detections such as detection of connectivity, Ethernet Loopback and ethernet link tracking.For example, when the 2nd MEP of CE1 does not receive the CCM message of far-end MEP in the given time, in the time of producing the alarm of far-end loss, be now judged as hybrid network link in abnormality; When above-mentioned alarm disappears, judgement hybrid network link-recovery normal condition.The hybrid network here comprises first network N1 and the 3rd network N 3.
By above step, the present embodiment on CE1 to comprising that the hybrid network of first network N1 and the 3rd network N 3 carries out failure of connectivity detection.
In the present embodiment, configure in advance on the first port of CE1 described the 2nd MEP, concrete configuration can be carried out in such a way:
On described the first port, configure maintenance field under the 2nd MEP;
On described the first port, configure the maintenance collection under the 2nd MEP, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that configures the 2nd MEP is export-oriented;
Configuring far-end MEP corresponding to described the 2nd MEP is a described MEP;
Configure the transmission cycle that described the 2nd MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of a described MEP.
On other direction (from first network to the three networks), the 2nd MEP, as the far-end MEP of a MEP, also can periodically send CFM protocol massages simultaneously, to be engaged in the upper performed failure of connectivity of PE2, detects.Now, the method for the detection hybrid network link fault described in the present embodiment, further comprising the steps of: CE1 receives the CFM protocol massages that described the 2nd MEP periodically produces and sends; CE1 is when judging described the 2nd MEP and be export-oriented MEP, the CFM protocol massages that described the 2nd MEP is periodically produced and sent for example carries out, after format conversion (converting the form that meets the 3rd network N 3 to), then sends by described the first port.
The present embodiment also provides an a kind of CE processing unit, this device can be arranged in a CE, a described CE is connected to a PE by the 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 the second network of Ethernet, and a described CE processing unit specifically comprises:
The first receiving element, for receive the message from described first network on the first port of a described CE, described the first port is the port that a described CE is connected with described first network, and on described the first port, be provided with export-oriented the 2nd MEP in advance, described the 2nd MEP is the far-end MEP of a MEP, and a described MEP is the internally-oriented MEP being pre-configured on the port that described the 2nd PE is connected with described second network;
Detecting unit, for judging whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detects.
Preferably, an above-mentioned CE processing unit also comprises:
The second receiving element, the CFM protocol massages that periodically produces and send for receiving described the 2nd MEP;
Retransmission unit, for when judging described the 2nd MEP and be export-oriented MEP, the CFM protocol massages that described the 2nd MEP is periodically produced and sent sends by described the first port.
Preferably, an above-mentioned CE processing unit also comprises a dispensing unit, for configure in such a way described the 2nd MEP on the first port of a described CE:
On described the first port, configure maintenance field under the 2nd MEP;
On described the first port, configure the maintenance collection under the 2nd MEP, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that configures the 2nd MEP is export-oriented;
Configuring far-end MEP corresponding to described the 2nd MEP is a described MEP;
Configure the transmission cycle that described the 2nd MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of a described MEP.
Above two embodiment have illustrated how to comprising that the hybrid network of first network N1 and the 3rd network N 3 carries out failure of connectivity detection.Similarly, for the hybrid network being formed by second network N2 and the 3rd network N 3, also can utilize method described in above two embodiment to carry out failure of connectivity detection.For example, on the port C of PE1 and the port G of CE2, configure respectively internally-oriented MEP and export-oriented MEP, and these two MEP far-end MEP each other, can utilize method described in above two embodiment to carry out failure of connectivity detection, repeat no more herein.
< embodiment tri->
Above embodiment has illustrated how to detect hybrid network link fault from PE2 and CE1 respectively.The present embodiment still be take Fig. 1 as example, further describes on the whole.
Hybrid network in Fig. 1 comprises the 3rd network N 3 of first network N1 and second network N2 and the Virtual Private Network of Ethernet, as two-layer VPN (L2VPN) etc.Wherein, the one CE (CE1) is connected to a PE (PE1) by described first network N1, the 2nd PE (PE2) is connected to the 2nd CE (CE2) by described second network N2, between a PE (PE1) and the 2nd PE (PE2), by described the 3rd network N 3, connects.
The method of the detection hybrid network link fault of the present embodiment comprises: on the port being connected with described second network at PE2, configure an internally-oriented MEP, on the port being connected with described first network at CE1, configure export-oriented the 2nd MEP, first, second MEP belongs to same maintenance collection, and far-end MEP each other; By a MEP and the 2nd MEP, carry out continuity Check processing, whether extremely detect opposite end state.Here, the one MEP and the 2nd MEP can realize by the network processor module in equipment separately the fast continuous property Check processing of hybrid network, have detection speed fast, realize simple advantage, and because being realizes by means of existing network processor module in existing agreement and equipment, can not increase the complexity of protocol processes.
The transmission unit of a kind of CFM protocol massages of the embodiment of the present invention, as shown in Fig. 4 A~4C, comprising: 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: for regularly producing template message;
OAM data encapsulation module 412: for encapsulate OAM Protocol Data Unit on template message basis;
Common encapsulation module 413: for encapsulating public information: Media Access Control Address (MAC), VLAN ID (VLAN) are complete by whole data message encapsulation;
Transmitting-receiving bag module 414: forward for searching message outbound port.
Temporary location 42 shown in Fig. 4 B comprises:
Packet parsing module 421: for the parsing of message;
Message modular converter 422: for the conversion of Ethernet and the encapsulation of L2VPN network OA M message;
Transmitting-receiving bag module 423: forward for searching outlet.
Receiving element 43 shown in Fig. 4 C comprises:
Packet parsing module 431: for the identification of OAM message;
Detection module 432: for the finalization process of OAM message.
CE1 processing unit can comprise above-mentioned transmitting element 41 and receiving element 43, and PE1 processing unit can comprise above-mentioned temporary location 42, and PE2 processing unit can comprise above-mentioned transmitting element 41 and receiving element 43.
In a representative embodiment, take from the direction of the 2nd MEP to the MEP is example, and the testing process that moves Connectivity Fault Management (CFM) Function detection hybrid network between the 2nd MEP to the MEP comprises the following steps:
Step 51: at CE1 place, the 2nd MEP with setup time T produce and send Ethernet form CFM protocol massages, this CFM protocol massages arrives the port B of PE1 by first network N1.Particularly, the minimum value of T is 3.33ms.
Step 52:PE1 receives after the CFM protocol massages from first network on port B, carries out centre and is forwarded to corresponding network.Particularly, port B receives after Ethernet form CFM protocol massages, and packet forwarding module, according to message characteristic, is searched corresponding transmitting and determined port information, and by transmitting-receiving, wraps module this protocol massages is forwarded to outbound port C.
Step 53: port C carries out format conversion by the ethernet format CFM protocol massages receiving, and then is forwarded to L2VPN network.Specifically, port C receives that after the Ethernet form CFM protocol massages that port B transmits, the L2VPN CFM protocol massages that this protocol massages is converted to L2VPN Web-compatible is forwarded to intermediate node.
Step 54: intermediate node may have several, intermediate node forwards L2VPNCFM protocol massages according to existing processing mode.For example, certain intermediate node carries out label forwarding by this message after port D receives L2VPN CFM protocol massages.
Step 55:L2VPN CFM protocol massages is forwarded to the port E of PE2, on port E, receive after L2VPN CFM protocol massages, to remove the Ethernet form CFM protocol massages obtaining after L2VPN network characterization, then by this message repeating 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 indication compounded link is in abnormality; If receive continuously 3 correct CFM protocol massages, the alarm of detection module notice disappears, and compounded link exits abnormality.
In another representative embodiment, take from the direction of MEP to the two MEP is example, and the testing process that moves Connectivity Fault Management (CFM) Function detection hybrid network between MEP to the two MEP comprises the following steps:
Step 61: at PE2 place, the one MEP with setup time T produce and send the CFM protocol massages of Ethernet form, 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 forwards L2VPN CFM protocol massages according to existing processing mode.For example, certain intermediate node carries out label forwarding by this message after port D receives L2VPN CFM protocol massages.
Step 63, PE1 receives after L2VPN CFM protocol massages on its port C, and L2VPNCFM protocol massages form is changed to rear forwarding.Particularly, receive that message that L2VPN network is come is converted into Ethernet form CFM protocol massages form by searching relevant information is forwarded to port B, is forwarded to first network N1 by port B.
Step 64, CE1 receives after the CFM protocol massages of Ethernet form on port A (the 2nd MEP), and this CFM protocol massages is carried out to finalization process.。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 indication compounded link is in abnormality; If receive continuously 3 correct CFM protocol massages, the alarm of detection module notice disappears, and compounded link exits abnormality.
For each concrete equipment, provide again the execution mode of more refinement below.
One, the execution mode on PE2:
1) on the port F of PE2, configure a MEP, configuration comprises:
MD: affiliated maintenance field, the network of managing by OAM, 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 associated virtual switch instance (VSI);
The direction of safeguarding end end points is introversive (UP);
Corresponding object MEP: the 2nd MEP configuring for CE1 equipment upper port A on this example;
MEP sends the time interval T of CFM protocol massages, minimum interval 3.33ms, and MEP is consistent with object.
2) port F initiates CC detection, and port E starts to send 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 a MEP, the i.e. MAC Address of down hop;
Public network VLAN ID: the VLAN ID that is the L2VPN territory under a MEP;
Public network ethernet type: representing the type of the L2VPN network that message is affiliated, is 0X8847 in this example;
Tunnel label: for identifying tunnel label switching path (LSP), for locating specific object pe router;
VC label: for the connection of identifying user, for locating specific VPN member's website on object 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, business place;
Ethernet type: representing the ethernet type that message is affiliated, is the type of OAM message in this example;
Maintenance entity grade (MEL): the Maintenance Entity grade that represents message;
Command code: represent the protocol type of detection messages, comprise detection of connectivity (CC), Ethernet Loopback function (LB), ethernet link tracking function (LT) etc.;
3) transmission of port E and reception & disposal:
Message sends: by the network processing unit hardware on PE2, produce template message, 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., then by transmitting-receiving, wrap module to find outbound port E to send;
Message receives: packet parsing module to the message of receiving resolves discovery its carry tunnel label, VC label and for this equipment be PE node, send to message modular converter to process the message of receiving, to carry out processing such as deleting public network MAC, VLAN, be reduced into the message of ether OAM form, then by transmitting-receiving, wrap module and send to port F;
4): port F receives the processing after message:
Packet parsing module is judged as CFM protocol massages according to the EtherType of the message receiving on port F, send it to detection module, detection module is searched maintenance entity node table and is determined the grade of message and safeguard end end points and relevant information, then judge whether this message terminates by message: for the grade message consistent with a MEP, this message is terminated; Message for grade higher than a MEP, forwards this message; Message for grade lower than a MEP, produces alarm.
5), while occurring that on PE2 MEP occurs that far-end is lost alarm, indication hybrid network link is abnormality, indicates hybrid network link to leave abnormality when alarm disappears.
Two, VPLS network intermediate line link node device is processed the message receiving
The packet parsing module of this node device, by the parsing to label, finds that it is L2VPN nodes message, sends to the L2VPN module of this node device; L2VPN module to forwarding information, is determined the transmitting-receiving bag module that this message is sent to after port to this node device according to public network label lookup; Transmitting-receiving bag module finds outbound port that this message is forwarded.In the embodiment of the present invention, the processing of intermediary device is still consistent with prior art.
Three, the execution mode on PE1:
1) port C receives the message that L2VPN network is come, and by packet parsing module, knows the relevant information in message, then sends to message modular converter and deletes the public network information in message, comprise: MAC, VLAN, label etc., then, by transmitting-receiving, wrap module and forward the packet to Ethernet;
Port C receives the message that AC side ports B comes, and sends to message modular converter add public network information by packet parsing module, comprising: MAC, VLAN, label etc., then this message is sent to transmitting-receiving bag module, transmitting-receiving bag module by this message repeating to L2VPN network.
2) port B receives message, by 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 CE1:
1) at port A configuration the 2nd MEP, configuration comprises:
MD: affiliated maintenance field, the network of managing by OAM, 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 object MEP is a MEP of port F configuration;
Safeguard the time interval T that end end points sends and receives destination message, 3.33 milliseconds of minimum intervals (ms), MEP is consistent with object.
2) port A plays CC detection, every time T, produces a CCM message, 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: representing the ethernet type that message is affiliated, is the type of OAM message in this example;
Maintenance entity grade: the Maintenance Entity grade that represents message;
Command code: represent the protocol type of detection messages, comprise 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 the contents such as forwarding module encapsulation MAC, VLAN, then by transmitting-receiving, wrap module and directly from ethernet port A, send;
4) port A receives the processing of message:
Packet parsing module is according to EtherType, after judging message that port A receives and being CFM protocol massages, this message sent to OAM data encapsulation module; OAM data encapsulation module searches maintenance entity node table is determined grade and maintenance end end points and the relevant information of receiving message, then judges whether this message terminates by message: for the grade message consistent with the 2nd MEP, this message is terminated; Message for grade higher than the 2nd MEP, forwards this message; Message for grade lower than the 2nd MEP, produces alarm.
5), while occurring that on PE1 MEP occurs that far-end is lost alarm, indication hybrid network link is abnormality, indicates hybrid network link to leave abnormality when alarm disappears.
The above is only embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles 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. a method that detects hybrid network link fault, described hybrid network comprises the 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, between the one PE and the 2nd PE, by described the 3rd network, connect, it is characterized in that, described method comprises:
The 2nd PE receives the message from described the 3rd network on self the second port, and described the 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 the first port, described message is carried out being sent to described the first port after format conversion, wherein, described the first port is the port that described the 2nd PE is connected with described second network, and on described the first port, be provided with the first internally-oriented maintenance collection end points MEP in advance, a described MEP is the far-end MEP of the 2nd MEP, and described the 2nd MEP is the export-oriented MEP being pre-configured on the port that a CE is connected with described first network;
The 2nd PE judges whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, 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 is when to judge a described MEP be internally-oriented MEP, and the CFM protocol massages that a described MEP is periodically produced and sent carries out after format conversion, then sends by described the second port.
3. the method for claim 1, is characterized in that, configures in such a way in advance a described MEP on the first port of described the 2nd PE:
On described the first port, configure the maintenance field under a MEP;
On described the first port, configure the maintenance collection under a MEP, and the L2VPN and this maintenance that configure under this maintenance collection collect associated VSI, a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Configuring a MEP is internally-oriented MEP;
Configuring far-end MEP corresponding to a described MEP is described the 2nd MEP;
Configure the transmission cycle that a described MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of described the 2nd MEP.
4. a PE processing unit, the 2nd PE is connected to the 2nd CE by the second network of Ethernet, described the 2nd PE is also connected to a PE by the 3rd network of Virtual Private Network, a described PE is connected to a CE by the first network of Ethernet, it is characterized in that, described the 2nd PE processing unit comprises:
The first receiving element, for receiving the message from described the 3rd network on the second port at described the 2nd PE, described the second port is the port that described the 2nd PE is connected with described the 3rd network;
The first retransmission unit, for when the outbound port of judging described message is the first port of described the 2nd PE, described message is carried out being sent to described the first port after format conversion, wherein, described the first port is the port that described the 2nd PE is connected with described second network, and on described the first port, be provided with the first internally-oriented maintenance collection end points MEP in advance, a described MEP is the far-end MEP of the 2nd MEP, and described the 2nd MEP is the export-oriented MEP being pre-configured on the port that a described CE is connected with described first network;
Detecting unit, for judging whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detects.
5. the 2nd PE processing unit as claimed in claim 4, is characterized in that, also comprises:
The second receiving element, the CFM protocol massages that periodically produces and send for receiving a described MEP;
The second retransmission unit, for when to judge a described MEP be internally-oriented MEP, the CFM protocol massages that a described MEP is periodically produced and sent carries out after format conversion, then sends by described the second port.
6. the 2nd PE processing unit as claimed in claim 4, is characterized in that, also comprises:
Dispensing unit, for configure in such a way a described MEP on the first port of described the 2nd PE:
On described the first port, configure the maintenance field under a MEP;
On described the first port, configure the maintenance collection under a MEP, and the L2VPN and this maintenance that configure under this maintenance collection collect associated VSI, a wherein said MEP and described the 2nd MEP belong to same maintenance collection, and far-end each other;
Configuring a MEP is internally-oriented MEP;
Configuring far-end MEP corresponding to a described MEP is described the 2nd MEP;
Configure the transmission cycle that a described MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of described the 2nd MEP.
7. a method that detects hybrid network link fault, described hybrid network comprises the 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, between the one PE and the 2nd PE, by described the 3rd network, connect, it is characterized in that, described method comprises:
The one CE receives the message from described first network on self the first port, described the first port is the port that a described CE is connected with described first network, and on described the first port, be provided with export-oriented second in advance and safeguard collection end points MEP, described the 2nd MEP is the far-end MEP of a MEP, and a described MEP is the internally-oriented MEP being pre-configured on the port that described the 2nd PE is connected with described second network;
The one CE judges whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, 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 sent sends by described the first port.
9. method as claimed in claim 7, is characterized in that, configures in such a way in advance described the 2nd MEP on the first port of a described CE:
On described the first port, configure maintenance field under the 2nd MEP;
On described the first port, configure the maintenance collection under the 2nd MEP, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that configures the 2nd MEP is export-oriented;
Configuring far-end MEP corresponding to described the 2nd MEP is a described MEP;
Configure the transmission cycle that described the 2nd MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of a described MEP.
10. a CE processing unit, the one CE is connected to a PE by the 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 the second network of Ethernet, it is characterized in that, a described CE processing unit comprises:
The first receiving element, for receive the message from described first network on the first port of a described CE, described the first port is the port that a described CE is connected with described first network, and on described the first port, be provided with export-oriented second in advance and safeguard collection end points MEP, described the 2nd MEP is the far-end MEP of a MEP, and a described MEP is the internally-oriented MEP being pre-configured on the port that described the 2nd PE is connected with described second network;
Detecting unit, for judging whether the message receiving on described the first port is CFM protocol massages, and by the CFM protocol massages receiving on described the first port is processed, carries out failure of connectivity and detects.
11. CE processing unit as claimed in claim 10, is characterized in that, also comprise:
The second receiving element, the CFM protocol massages that periodically produces and send for receiving described the 2nd MEP;
Retransmission unit, for when judging described the 2nd MEP and be export-oriented MEP, the CFM protocol massages that described the 2nd MEP is periodically produced and sent sends by described the first port.
12. CE processing unit as claimed in claim 10, is characterized in that, also comprise:
Dispensing unit, for configure in such a way described the 2nd MEP on the first port of a described CE:
On described the first port, configure maintenance field under the 2nd MEP;
On described the first port, configure the maintenance collection under the 2nd MEP, wherein said the 2nd MEP and a described MEP belong to same maintenance collection, and far-end each other;
The direction that configures the 2nd MEP is export-oriented;
Configuring far-end MEP corresponding to described the 2nd MEP is a described MEP;
Configure the transmission cycle that described the 2nd MEP sends CCM message, this transmission cycle is identical with the transmission cycle of the CCM message of the upper configuration of a described MEP.
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 CN102185711A (en) 2011-09-14
CN102185711B true 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)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
CN105515816B (en) * 2014-10-20 2019-12-31 中兴通讯股份有限公司 Processing method and device for detecting hierarchical information
CN105591775B (en) 2014-10-23 2019-10-25 华为技术有限公司 A kind of operation management maintainance OAM methods, devices and systems of network
CN109450703A (en) * 2018-12-10 2019-03-08 盛科网络(苏州)有限公司 The processing method and processing device of failure, storage medium
CN112737949B (en) * 2019-10-14 2023-06-30 中兴通讯股份有限公司 Fault detection method and device, electronic equipment and computer readable medium
CN112202634B (en) * 2020-09-23 2022-04-15 烽火通信科技股份有限公司 Network link fault detection and transmission method and system
CN114024870B (en) * 2021-11-12 2023-05-16 中国工商银行股份有限公司 Network connectivity detection method and system
CN115065614B (en) * 2022-06-22 2023-10-13 杭州云合智网技术有限公司 Method for identifying multi-activity service connectivity of VPWS

Citations (4)

* 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.
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7889754B2 (en) * 2005-07-12 2011-02-15 Cisco Technology, Inc. Address resolution mechanism for ethernet maintenance endpoints
US8605603B2 (en) * 2009-03-31 2013-12-10 Cisco Technology, Inc. Route convergence based on ethernet operations, administration, and maintenance protocol

Patent Citations (4)

* 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.
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

Non-Patent Citations (2)

* 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》.2007,全文. *
IEEE Standard for Local and metropolitan area networks—Virtual Bridged Local Area Networks Connectivity Fault Management;IEEE LAN/MAN Standards Committee;《IEEE Standard》;20071217;全文 *

Also Published As

Publication number Publication date
CN102185711A (en) 2011-09-14

Similar Documents

Publication Publication Date Title
CN102185711B (en) Method and equipment for detecting link failure in hybrid network
CN103731288B (en) Message forwarding method and device
CN100484097C (en) Method for judging pseudo wire connection state in packet-switching network and service apparatus thereof
US9608903B2 (en) Systems and methods for recovery from network changes
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
CN102946349B (en) A kind of Ethernet E-Line service link discover method based on ospf protocol and device
CN104767680B (en) It route the method and apparatus being switched fast
WO2018058639A1 (en) Pseudo wire load sharing method and apparatus
CN107332683A (en) A kind of link switch-over method and system
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
CN105634935A (en) Device and method for detecting service layer signal failure
CN103067278B (en) A kind of method for transmission processing of Frame, equipment and system
CN100446476C (en) Method and apparatus for communicating network trouble dtecting result
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
CN102013990B (en) End to end notification method and system for multi-segment pseudowire fault
CN102404180A (en) Method and system for realizing OAM (operation administration and maintenance) based on PBN (packet-based network)
CN112671643B (en) SDN service isolation and routing device based on MPLS
CN104717119A (en) Method and system for realizing bridge connection between L2 VPN and L3 VPN
CN103716220B (en) A kind of data transmission method and its device
CN104378245B (en) OAM method and device is realized on the AC mouths of L2VPN frameworks

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

Termination date: 20200426

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