CN101106486B - Detection processing method and component of virtual link failure - Google Patents

Detection processing method and component of virtual link failure Download PDF

Info

Publication number
CN101106486B
CN101106486B CN2007101201972A CN200710120197A CN101106486B CN 101106486 B CN101106486 B CN 101106486B CN 2007101201972 A CN2007101201972 A CN 2007101201972A CN 200710120197 A CN200710120197 A CN 200710120197A CN 101106486 B CN101106486 B CN 101106486B
Authority
CN
China
Prior art keywords
virtual link
upe
npe
virtual
detection
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
CN2007101201972A
Other languages
Chinese (zh)
Other versions
CN101106486A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007101201972A priority Critical patent/CN101106486B/en
Publication of CN101106486A publication Critical patent/CN101106486A/en
Application granted granted Critical
Publication of CN101106486B publication Critical patent/CN101106486B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a PW fault detection treatment method and a component, which is applicable to PW detection treatment between UPE and NPE respectively and includes the connectivity detection of the tunnel or route between the UPE and the NPE, detection of connectivity fault situation, PW batch switch treatment toward PW between the UPE and the NPE; and detection treatment applicable to PW between PE, including the connectivity detection of the runnel or route between PE and PW batch between PE marked as fault PW for the detection of connectivity fault situation. The method and the component disclosed by the invention simplify PW fault detection and treatment complexity and improve the stability and treatment efficiency of the network.

Description

The detection processing method and the assembly of virtual link failure
Technical field
The present invention relates to the communications field, relate in particular to the detection processing method and the assembly of a kind of virtual link (Pseudo Wire is called for short PW) fault.
Background technology
VPLS (Virtual Private LAN Services, be called for short VPLS) as a kind of day by day ripe Layer 2 virtual private network (Virtual Private Network, be called for short VPN) technology, disposing identical virtual switch instance (Virtual Switch Instance, abbreviation VSI) provider edge equipment (Provider Edge, be called for short PE, be also referred to as the packet switching network edge device) between set up the full PW that connects, couple together the CE that disperses on the geography is virtual; As shown in Figure 1, be the networking schematic diagram of a VPLS: the user is by customer edge (Customer Edge, be called for short CE) 1,2 and 3, be connected on PE1, PE2 and the PE3 from LAN separately, thereby realize that the point that the geographical position disperses inserts the packet switching network that a certain service provider runs simultaneously; Disposing on these PE under the situation of identical VSI, can provide the virtual switch function, comprising MAC address learning, aging and forwarding etc. for CE1, CE2 and the CE3 that inserts.Wherein, dispose the PW that needs to set up full connection between the PE of identical VSI, couple together the CE that disperses on the geography is virtual; Simultaneously, because each bar PW only can be corresponding with a VSI, therefore may there be many PW between the PE, to realize support to the different grouping switching network, as shown in Figure 2, shown that the PW of a VPLS connects the networking schematic diagram entirely under the situation of support VSI1 and VSI2, many PW between the PE use multiprotocol label switching (Multi-protocol Label Switching is called for short MPLS) tunnel or other tunnels to carry.By foregoing description as can be known, under the larger situation of packet switching network (is example with N PE), need set up N (N-1)/2 PW during VPLS networking, its quantity is considerable.
In the prior art, detection processing scheme to the PW fault generally is to detect (Bidirectional Forwarding Detection by two-way forwarding, be called for short BFD) mechanism or other testing mechanism, connectedness to the PW individuality directly detects, and handles one by one behind the failure condition of knowing the PW individuality; As can be seen, more for a long time, in order to realize the direct detection to the PW connectedness, need the corresponding huge BFD session of number or the entity of other testing mechanisms set up in PW quantity, this may cause the stability problem of measuring ability module and whole VPLS.
Similar detection is handled problems and also is present in the hierarchical virtual private LAN service (HierarchicalVirtual Private LAN Services is called for short H-VPLS), among the H-VPLS after particularly dual-homed redundancy backup mechanism is introduced.In order to improve the reliability of H-VPLS, UPE (User facing PE, user oriented provider edge equipment) dual-homed redundancy backup mechanism is introduced into, be specially: UPE is set up PW with two NPE (Network facing PE, the provider edge equipment of network-oriented) simultaneously, and wherein one is main PW, another is standby PW, under the situation that main PW can use, UPE does not send message by standby PW, does not handle the message that receives from standby PW yet.As shown in Figure 3, shown belonging under the situation of same VSI, set up main PW between UPE D3 and the NPE C3, and set up the H-VPLS networking schematic diagram of standby PW between the NPE C2.As can be seen, keeping main PW is carried out fault detect and in time switches to standby PW, is the key point that guarantees the dual-homed redundancy backup mechanism of H-VPLS validity.In the prior art, be to detect (Bidirectional Forwarding Detection equally by two-way forwarding, be called for short BFD) mechanism or other testing mechanism, directly detect the connectedness of PW, thereby know the failure condition of PW and correspondingly switch one by one.Because UPE and NPE for VSI, are UPE to a VSI promptly, may be NPE to other VSI; For a VSI is dual-homed, may not be dual-homed for another VSI; Therefore along with the difference of VSI, can correspondingly have many PW between two PE, under the bigger situation of network size, PW quantity is also considerable.Therefore, the number that directly detects the required session of PW is often also very huge, can cause the stability problem of measuring ability module and whole H-VPLS equally.
In sum, in a lot of LAN services of prior art, the detection processing method of PW fault is that cost realizes with sacrificial system stability all, and this has brought great risk for undoubtedly the operation of whole network.
Summary of the invention
The detection processing scheme that the purpose of this invention is to provide a kind of PW fault is to overcome the defective of existing network stabilization difference in the prior art.
For achieving the above object, embodiments of the invention provide a kind of detection processing method of PW fault, be applicable to the PW between UPE and the NPE is detected processing, belong to different VSI by at least one PW connection and different PW between described UPE and the NPE; Said method comprising the steps of: the connectedness of tunnel or route between detection UPE and the NPE; For detecting the situation about breaking down that is communicated with, the PW between described UPE and the described NPE is carried out PW hand-off process in batches.
Embodiments of the invention also provide a kind of detection processing method of PW fault, be applicable to the PW between the PE is detected processing, belong to different VSI by at least one PW connection and different PW between the described PE; Said method comprising the steps of: the connectedness of tunnel or route between the detection PE; Be communicated with situation about breaking down for detecting, the PW between the described PE is labeled as fault PW in batches.
Embodiments of the invention also provide a kind of detection processing components of PW fault, be applicable to the PW between UPE and the NPE is detected processing, belong to different VSI by at least one PW connection and different PW between described UPE and the NPE; Described assembly comprises detecting unit, is used to detect the connectedness of tunnel between UPE and the NPE or route; Switch unit is used to receive the testing result of described detecting unit, and for detecting the situation about breaking down that is communicated with, carries out PW hand-off process in batches.
Embodiments of the invention also provide a kind of detection processing components of PW fault, be applicable to the PW between the PE is detected processing, belong to different VSI by at least one PW connection and different PW between the described PE; Described assembly comprises: detecting unit is used to detect the connectedness of tunnel between the PE or route; The PW indexing unit is used to receive the testing result of described detecting unit, and for detecting the situation that connection is broken down, the PW between the described PE is labeled as fault PW in batches.
As shown from the above technical solution, the detected object of the present invention by fast detection mechanism is set to carry the route of tunnel or the bearing tunnel of PW, avoided the detection one by one of PW and handles one by one, has following beneficial effect:
1, simplified the complexity of PW fault detect;
2, improved network stabilization;
3, hand-off process is carried out in unification, has improved treatment effeciency.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
Fig. 1 is in the prior art, the networking schematic diagram of a VPLS;
Fig. 2 connects the networking schematic diagram entirely for the PW of VPLS shown in Figure 1;
Fig. 3 is in the prior art, the H-VPLS networking schematic diagram that a UPE is dual-homed;
Fig. 4 is an embodiment flow chart of the detection processing method of a kind of PW fault provided by the present invention;
Fig. 5 is the flow chart of another embodiment of the detection processing method of a kind of PW fault provided by the present invention;
Fig. 6 is in the method shown in Figure 5, the related schematic diagram of NPE address list and virtual switch instance tabulation;
Fig. 7 is an embodiment block diagram of the detection processing components of a kind of PW fault provided by the present invention;
Fig. 8 is another embodiment block diagram of the detection processing components of a kind of PW fault provided by the present invention;
Fig. 9 is an embodiment flow chart of the detection processing method of another kind of PW fault provided by the present invention;
Figure 10 is another embodiment block diagram of the detection processing components of another kind of PW fault provided by the present invention;
Figure 11 is in the assembly shown in Figure 10, the block diagram of detecting unit one specific embodiment.
Embodiment
Because in actual applications, the PW fault all is that the inefficacy by a certain end equipment is caused basically, such as the PE of an end situations such as power down takes place; This just means that also the fault of some PW often is accompanied by and its fault with other PW in tunnel.In other words, two PE equipment that script connects by PW are when one of them equipment failure, tunnel between these two equipment will be lost connective, and this two equipment route is unreachable, if whole PW of its carrying are detected, all will feed back the testing result of fault.Therefore,, and directly the tunnel of carrying PW or the route of bearing tunnel are detected, can guarantee testing result, can avoid unhelpful duplicate detection again a plurality of PW in the same tunnel if skip detection one by one for PW.Just be based on this thinking, the invention provides the technical scheme that the PW fault is detected processing.
At first, the invention provides a kind of detection processing method of PW fault, be applicable to the PW between UPE and the NPE is detected processing; Referring to Fig. 4, the flow chart for method that present embodiment provides may further comprise the steps:
The tunnel between step 101, detection UPE and the NPE or the connectedness of route;
It will be understood by those skilled in the art that to have a PW between detected UPE and the NPE at least, otherwise there is no need to detect tunnel or route connectedness between its equipment; Certainly, for for the UPE and NPE that have all kept corresponding relation among a plurality of VSI, the PW between them is more than one, and simultaneously, between identical UPE and NPE, different PW belongs to different VSI.
Concrete detection of connectivity can be carried out by the following two kinds of programs:
A kind of fast detection mechanism that is to use detects the connectedness in the tunnel that is used to carry PW between UPE and the NPE; The machines that can take is shaped on the testing mechanism, BFD testing mechanism etc. that MPLS can run, can manage, can safeguard (Operation, Administration and Maintenance are called for short OAM);
A kind of fast detection mechanism that is to use detects whether route can reach between UPE and the NPE; The machines that can take is shaped on BFD testing mechanism etc.;
Need to prove, the BFD testing mechanism goes for the passage of any kind, comprise direct physical link, PW, tunnel, MPLS label switched path (Label Switched Path, abbreviation LSP), multi-hop routing channel and non-direct passage etc., therefore, directly carry out the PW detection of connectivity and can adopt the BFD testing mechanism, carry out the detection of route or tunnel and also can adopt the BFD testing mechanism, on detected object, exist different.
As can be seen, no matter adopting above-mentioned which kind of detection mode, all is to replace in the prior art of direct detection to(for) the PW connectedness by the tunnel between the checkout equipment/route connectedness.This device connectivity detects and can be undertaken by a special detection server that is provided with, and safeguards a UPE-NPE tabulation under each VSI therein, and periodically detects; But preferable, be to cooperate by UPE and NPE equipment to detect: the identical testing mechanism of configuration in UPE and NPE, carry out message and send and receive; When UPE does not receive the message of NPE feedback, show fault.
Whether step 102, identification connected trouble takes place, and is execution in step 103 then, otherwise repeated execution of steps 101 periodically;
In case the Equipment Inspection result breaks down for being communicated with, and just means that phenomenon of the failure has appearred in PW whole between this NPE and the UPE, need enter the processing of next step.If testing result is normal for being communicated with, then proceed detection of connectivity, perhaps by settings such as heartbeat messages, behind certain hour, start detection of connectivity once more.
PW between step 103, execution NPE and the UPE is hand-off process in batches;
Obviously, as UPE when being dual-homed, it is except fault PW, also there is PW between certainty and other the NPE, then the present invention is after detecting the device connectivity fault by BFD testing mechanism or other testing mechanism, also to carry out corresponding process operations, comprise that notice UPE switches on another corresponding PW, to guarantee professional normally carrying out.This batch hand-off process for PW both can be finished by the server of special setting, also can be finished by UPE, and its specific implementation is: UPE or server obtain the whole PW between described UPE and the described NPE; PW for the dual-homed UPE of arbitrary connection carries out switching, and another PW of correspondence is set to activate PW; Subsequently, UPE just can be by activating PW transmission/reception message, and the PW of fault can not impact business.And be not dual-homed situation for UPE, obviously need not also can't switch, but the fault detection method that can adopt in the present embodiment equally to be provided.
Be communicated with situation about breaking down for detecting, preferable, can also comprise the step that the PW between described UPE and the described NPE is labeled as in batches fault PW.
And, preferable after activation PW setting is finished, can also comprise the step that fault PW is detected, when detecting fault recovery, this fault PW is set to ready PW, in order to the switching next time of this UPE.
Embodiment by above-mentioned detection processing method to PW fault between UPE and the NPE, it provides a kind of practicable dual-homed UPE to carry out PW and has detected the scheme of switching as can be seen, detect by connectedness tunnel or route, replacement is to the detection respectively of PW, need not one by one PW to be set up to detect session, simplify the complexity that PW between UPE and the NPE is detected, improved network stabilization; Simultaneously, wait for that no longer one by one faulty indication carries out corresponding PW and switches, but the PW under the equipment that connection is broken down carries out switching in batches, has simplified the complexity of switching, also avoided producing when a plurality of PW break down simultaneously and switched competition, improved treatment effeciency.
Describe detection processing method below by a specific embodiment, finish the PW handoff procedure by UPE to the PW fault between UPE and the NPE.As shown in Figure 5, may further comprise the steps:
Step 201, configuration VSI tabulation (VSI-ARRAY) in UPE;
So-called UPE is for the VSI in the tabulation, among the VSI of this PE equipment in tabulation, all is to participate in networking as UPE.
The list element of this VSI tabulation is the affiliated whole VSI of user-end provider edge for this reason, and the PW tabulation of oneself is all arranged under each VSI item, write down respectively among this VSI, with the PW tabulation of this UPE D4 as an end; Among the VSI1, UPE D4 is connected with left side NPE C4 by PW1 as shown in Figure 6, is connected with right side NPE C5 by PW2; Among the VSI2, UPE D4 is connected with left side NPE C4 by PW1, is connected with right side NPE C5 by PW2; Then in the VSI of this UPE D4 tabulation, comprise two list element VSI1 and VSI2, the PW tabulation of VSI1 comprises PW1 and PW2, and the PW tabulation of VSI2 comprises PW3 and PW4.
As can be seen, in the VSI tabulation, the PW under each VSI item belongs to this VSI.When UPE was dual-homed, the PW tabulation under the VSI item comprised two elements, and one is activation PW, and one is ready PW.In order to indicate under the different VSI, whether UPE is dual-homed, can by pass through to add field, bit or variables manner under the VSI item, add the mark of " UPE is dual-homed " for this VSI beyond the PW tabulation shows.In order under dual-homed situation, to distinguish, can in the PW list element, add mode field: when being in state of activation (ACTIVE),, be equivalent to main PW, can send/receive message for activating PW to activating PW and ready PW; When being in ready state (STANDBY), be ready PW, be equivalent to standby PW, wait at any time being activated.
Step 202, in UPE the configuration NPE address list (DEST-ARRAY);
Wherein, under the different for this reason VSI of the list element of this NPE address list, user-end provider edge writes down its PW information between UPE therewith by the address of the NPE of PW connection under each NPE address entries therewith.Still be example with Fig. 6, the address of left side NPE C4 is addr1, and the address of right side NPE C5 is addr2, then in the NPE address list of this UPE D4, comprise two list element addr1 and addr2, the PW tabulation of addr1 comprises PW1 and PW3, and the PW tabulation of addr2 comprises PW2 and PW4.
As can be seen, in the NPE address list, the PW under each addr item belongs to different VSI, and its quantity is greater than 1, and concrete number is determined by the quantity of PW between NPE and the UPE.Simultaneously, the PW in the NPE address list can come to distinguish activating PW and ready PW by the synchronous mode field of PW in tabulating with VSI.
Step 203, UPE adopt fast detection mechanism, and tunnel or route connectedness between arbitrary list element of detection and NPE address list comprise whether detect the tunnel is communicated with, and detects perhaps whether route can reach; Be then behind the certain hour, re-execute step 203, otherwise execution in step 204;
Step 204, testing mechanism return NPE address, opposite end, and to left side NPE C4 connected trouble taking place with UPE among Fig. 6 is example, and the address of returning is addr1;
Step 205, search the NPE address list, find the PW between fault NPE and the UPE to comprise PW1 and PW3, it is set to malfunction (DEFECT);
Step 206, search VSI tabulation, the VSI that indexes PW1 is VSI1, and UPE is dual-homed under this VSI1;
Step 207, obtain another virtual link PW2 of PW1 correspondence, and its be set to activate PW (such as, its mode field is set to ACTIVE);
Step 208, search VSI tabulation, the VSI that indexes PW3 is VSI2, and UPE is dual-homed under this VSI2;
Step 209, obtain another virtual link PW4 of PW3 correspondence, and its be set to activate PW (such as, its mode field is set to (ACTIVE);
Finishing switching.
Be appreciated that step 206,207 and step 208,209 only for illustrating in batches handoff procedure, first execution in step 206 still is first execution in step 208, can't exert an influence to technical scheme of the present invention.
Preferable, when testing mechanism detected fault PW recovery, UPE can revert to ready PW with it by this PW is maintained as the STANDBY state, in order to switch next time.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, described program can be stored in the computer read/write memory medium, this program comprises the steps: when carrying out
The connectedness of tunnel or route between detection UPE and the NPE;
For detecting the situation about breaking down that is communicated with, the PW between described UPE and the described NPE is carried out PW hand-off process in batches.
Described storage medium comprises: ROM/RAM, magnetic disc or CD etc.
The present invention also provides the detection processing components of PW fault, is applicable to the PW between UPE and the NPE is detected processing, belongs to different VSI by at least one PW connection and different PW between described UPE and the NPE; As shown in Figure 7, be the block diagram of an embodiment, this assembly comprises:
Detecting unit A1 is used to detect the connectedness of tunnel between UPE and the NPE or route;
Switch unit A2 is used to receive the testing result of described detecting unit A1, and for detecting the situation about breaking down that is communicated with, carries out PW hand-off process in batches.
Wherein, said modules can be arranged in the special server, but preferable situation is arranged among NPE and the UPE, as shown in Figure 8, is another embodiment of the detection processing components of PW fault provided by the present invention.Wherein, detecting unit A1 generally comprises two parts, and a part is NPE detecting unit A11, is arranged among the NPE, and a part is UPE detecting unit A12, is arranged among the UPE; The corresponding detecting unit that is provided with has identical testing mechanism, and whether the tunnel connectedness or the route that are used to detect between described NPE or the UPE can reach.Such as, detecting unit A1 can detect tunnel between NPE and the UPE or route by the BFD testing mechanism; Also can detect the tunnel between NPE and the UPE by MPLS OAM testing mechanism.When the UPE detecting unit is not received the feedback of sending message, show that tunnel or route break down, and notice switch unit A2.
Switch unit A2 operated by rotary motion comprises command reception modules A 21, NPE address list modules A 24, VSI list block A25 and processing module A22 in UPE.
Wherein, command reception modules A 21 is used to receive the testing result of described detecting unit A1, and is communicated with situation about breaking down for detecting, and calls processing module A22;
Described processing module A22 is used for obtaining fault route or tunnel, another PW of each PW correspondence, and call PW mark module A23 PW is carried out the mark setting, realize that PW switches;
In the present embodiment, described processing module A22, realized a kind of specific implementation that PW switches based on NPE address list modules A 24 and VSI list block A25:
Described NPE address list modules A 24 is used to preserve the NPE address entries that is connected by PW with described UPE, and under each NPE address entries record its tabulate with PW between the described UPE;
Described VSI list block A25 is used to preserve the affiliated whole VSI items of this UPE, and writes down respectively under each among this VSI, with the PW tabulation of this UPE as an end;
Then described processing module A22 is used to call NPE address list modules A 24, the VSI of each fault PW correspondence of index, and, obtain another PW according to this VSI inquiry VSI tabulation A25.
Further, present embodiment also comprises PW mark module A23, be used for instruction according to processing module A21, PW is carried out mark,, another PW is labeled as ACTIVE such as fault PW is labeled as DEFECT, indicate it for activating PW, and when fault PW detects recovery, it is labeled as STANDBY, be denoted as ready PW.
By the detection changeover module to PW fault between UPE and the NPE described above as can be seen, by the route between NPE and the UPE or tunnel being detected the detection one by one that replaces in the prior art PW, and fault route or PW that the tunnel carried are carried out batch switch, the complexity that detects and switch be can reduce, network stabilization and switching efficiency improved.
On the other hand, the thought that tunnel/route is detected provided by the present invention can also be generalized to the PW fault detect process field of VPLS.
At this point, embodiments of the invention also provide the detection processing method of another kind of PW fault, be applicable to the PW between the PE is detected processing, belong to different VSI by at least one PW connection and different PW between the described PE; As shown in Figure 9, may further comprise the steps:
The connectedness of tunnel or route between the detection PE comprises detecting whether route can reach between the PE, whether the tunnel that perhaps detects between the PE is communicated with;
Be communicated with situation about breaking down for detecting, the PW between the described PE is labeled as fault PW (DEFECT) in batches.
Such scheme can be realized by tabulation is set in PE respectively, specific as follows: in arbitrary PE, opposite end PE address list is set, this opposite end PE address list is used to write down the PE address that is connected by PW with local end PE, its each PE address is called the PE address entries as a list items.Under each PE address entries, the tabulation of the virtual link of record local end PE and opposite end PE.With a PE address entries addr3 in the PE address list of opposite end is example, and it can comprise virtual link PW5, PW6 and PW7; This virtual link PW5, PW6 and PW7 are connected local end PE and the address is between the PE of addr3, belongs to different VSI.
As can be seen, by the address information that two PE of one or more of PW connections record the other side simultaneously, for each PE, after the arrival sense cycle, just initiate one by one to detect according to the address entries of opposite end PE address list.
Concrete testing process is to cooperate by both sides PE to detect: the identical testing mechanism of configuration in PE, carry out message and send reception; When an end PE does not receive the message of other end PE feedback, show fault.
When detecting when breaking down, both sides PE is independent to carry out mark to corresponding PE address entries in the opposite end PE address list of oneself, the PW between the described PE is labeled as fault PW in batches.Such as, by revising the field or the variable of PW list element under the corresponding PE address entries, PW is labeled as fault PW (DEFECT) in batches, show that local terminal is unreachable to the opposite end route.
And, when this tunnel or route in detection after this, repair such as discovery fault in next sense cycle, can also it be labeled as movable PW (ACTIVE or STANDBY) in batches by revising the field or the variable of PW list element under the corresponding PE address entries.
By above-mentioned steps, adopt the one by one detection of high-volume conversation by detecting with device connectivity to replace to PW, simplified the complexity that each PW is detected respectively, realized the raising of network stabilization; Simultaneously, replace discovery one by one by batch processing and handle one by one, also improved treatment effeciency.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command equally, described program can be stored in the computer read/write memory medium, this program comprises the steps: when carrying out
The route between the detection PE or the connectedness of link;
Be communicated with situation about breaking down for detecting, the PW between the described PE is labeled as fault PW in batches.
Described storage medium comprises: ROM/RAM, magnetic disc or CD etc.
Accordingly, embodiments of the invention also provide the detection processing components of another kind of PW fault, be applicable to the PW between the PE is detected processing, belong to different VSI by at least one PW connection and different PW between the described PE, referring to Figure 10, this assembly comprises:
Detecting unit B1 is used to detect the connectedness of tunnel between the PE or route;
PW indexing unit B2 is used to receive the testing result of detecting unit B1, and for detecting the situation that connection is broken down, the PW between the described PE is labeled as fault PW in batches.
Wherein, said modules can be arranged in the special server equally, also can be arranged among the PE that connects by PW to be realized.
For situation about being arranged among the PE, detecting unit B1 comprises detection module B11 and opposite end PE address list module B12, and detection module B11, opposite end PE address list module B12 are connected with PW indexing unit B2 respectively; As shown in figure 11:
Described detection module B11 carries out the detection of tunnel or route connectedness successively according to the timer (not shown) of indication sense cycle to the PE address entries among the PE address list module B12 of opposite end.
Described opposite end PE address list module B12 is used to write down the PE address, opposite end that is connected by PW with local end PE, and each PE address, opposite end is as a PE address entries, and the virtual link of record local end PE and opposite end PE is tabulated.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not break away from the spirit and scope of technical solution of the present invention.

Claims (10)

1. the detection processing method of a virtual link failure, be applicable to the virtual link between the provider edge equipment NPE of user oriented provider edge equipment UPE and network-oriented is detected processing, belong to different virtual switch instance by connection of at least one virtual link and different virtual links between described UPE and the NPE; It is characterized in that, said method comprising the steps of:
The connectedness of tunnel or route between detection UPE and the NPE;
For detecting the situation about breaking down that is communicated with, the virtual link between described UPE and the described NPE is carried out virtual link hand-off process in batches; Wherein said execution virtual link hand-off process in batches comprises:
Obtain the whole virtual links between described UPE and the described NPE;
Virtual link to the dual-homed UPE of arbitrary connection is carried out switching, and another virtual link of correspondence is set to activate virtual link.
2. the detection processing method of virtual link failure according to claim 1 is characterized in that,
The step of the whole virtual links between described UPE of obtaining and the NPE comprises:
Described UPE obtains the address that is communicated with the other end NPE that breaks down;
According to described NPE address, described UPE in the NPE address list, inquire about and described NPE between whole virtual links;
Described virtual link to the dual-homed UPE of arbitrary connection is carried out the step of switching and is comprised:
Virtual switch instance in the virtual switch instance tabulation under this virtual link of index;
Inquire about under the described virtual switch instance, whether this UPE is dual-homed UPE, is then to carry out next step;
Obtain another corresponding virtual link, and it is set to activate virtual link;
Wherein, described NPE address list comprises the NPE address entries that is connected by virtual link with described UPE, and under each NPE address entries record its tabulate with the virtual link between the described UPE; Described virtual switch instance tabulation comprises the whole virtual switch instance items under this UPE, and writes down respectively under each in this virtual switch instance, with the virtual link tabulation of this UPE as an end.
3. according to the detection processing method of the arbitrary described virtual link failure of claim 1-2, it is characterized in that, be communicated with situation about breaking down, also comprise the step that the virtual link between described UPE and the described NPE is labeled as in batches the fault virtual link for detecting.
4. according to the detection processing method of the arbitrary described virtual link failure of claim 1-2, it is characterized in that, when detecting the connected trouble recovery, described virtual link is labeled as in batches the step of ready virtual link.
5. the detection processing components of a virtual link failure, be applicable to the virtual link between the provider edge equipment NPE of user oriented provider edge equipment UPE and network-oriented is detected processing, belong to different virtual switch instance by connection of at least one virtual link and different virtual links between described UPE and the NPE; It is characterized in that described assembly comprises:
Detecting unit is used to detect the connectedness of tunnel between UPE and the NPE or route;
Switch unit, be used to receive the testing result of described detecting unit, and, carry out virtual link hand-off process in batches for detecting the situation about breaking down that is communicated with, wherein said execution virtual link hand-off process in batches is: obtain the whole virtual links between described UPE and the described NPE; Virtual link to the dual-homed UPE of arbitrary connection is carried out switching, and another virtual link of correspondence is set to activate virtual link.
6. the detection processing components of virtual link failure according to claim 5, it is characterized in that, described detecting unit comprises NPE detecting unit and UPE detecting unit, described NPE detecting unit is installed in respectively among the NPE and UPE that is connected by virtual link with the UPE detecting unit, have identical testing mechanism, whether the tunnel connectedness or the route that are used to detect between described NPE and the UPE can reach.
7. the detection processing components of virtual link failure according to claim 5 is characterized in that, described switch unit is installed among the UPE, comprises command reception module, NPE address list module and virtual switch instance list block and processing module;
Described command reception module is used to receive the testing result of described detecting unit, and is communicated with situation about breaking down for detecting, and calls processing module;
Described NPE address list module is used to preserve the NPE address entries that is connected by virtual link with described UPE, and under each NPE address entries record its tabulate with the virtual link between the described UPE;
Described virtual switch instance list block is used to preserve the affiliated whole virtual switch instance items of this UPE, and writes down respectively under each in this virtual switch instance, with the virtual link tabulation of this UPE as an end;
Described processing module is used to call NPE address list module, each described virtual link corresponding virtual exchange example of index, and inquire about described virtual switch instance list block, another virtual link that obtains each described virtual link correspondence switches.
8. the detection processing components of virtual link failure according to claim 7 is characterized in that, also comprises the virtual link mark module, is used for the instruction according to processing module, and virtual link is labeled as the fault virtual link, activates virtual link or ready virtual link.
9. the detection processing method of a virtual link failure is applicable to the virtual link between the provider edge equipment PE is detected processing, belongs to different virtual switch instance by connection of at least one virtual link and different virtual links between the described PE; It is characterized in that, said method comprising the steps of:
The connectedness of tunnel or route between the detection PE;
Be communicated with situation about breaking down for detecting, the virtual link between the described PE is labeled as the fault virtual link in batches;
The connectedness of tunnel or route comprises between the wherein said detection PE:
PE obtains the PE address entries successively according to opposite end PE address list; Carry out tunnel or route detection of connectivity between the opposite end PE that local end PE and described PE address entries write down;
Describedly virtual link is labeled as the fault virtual link in batches comprises: local end PE and opposite end PE are labeled as the fault virtual link with the virtual link list element under the corresponding PE address entries respectively in batches in opposite end PE address list separately;
Wherein, described opposite end PE address list is used to write down the opposite end PE address entries that is connected by PW with local end PE, and the virtual link tabulation of each PE address entries record local end PE and opposite end PE.
10. the detection processing components of a virtual link failure is applicable to the virtual link between the provider edge equipment PE is detected processing, belongs to different virtual switch instance by connection of at least one virtual link and different virtual links between the described PE; It is characterized in that described assembly comprises:
Detecting unit is used to detect the connectedness of tunnel between the PE or route;
The virtual link indexing unit is used to receive the testing result of described detecting unit, and for detecting the situation that connection is broken down, the virtual link between the described PE is labeled as the fault virtual link in batches;
Wherein said detecting unit is installed among the PE, comprises detection module and opposite end PE address list module;
Described detection module is used for the PE address entries of opposite end PE address list module is carried out successively the detection of tunnel or route connectedness;
Described opposite end PE address list module is used to write down the opposite end PE address entries that is connected by PW with local end PE, and the virtual link tabulation of each PE address entries record local end PE and opposite end PE.
CN2007101201972A 2007-08-13 2007-08-13 Detection processing method and component of virtual link failure Expired - Fee Related CN101106486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101201972A CN101106486B (en) 2007-08-13 2007-08-13 Detection processing method and component of virtual link failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101201972A CN101106486B (en) 2007-08-13 2007-08-13 Detection processing method and component of virtual link failure

Publications (2)

Publication Number Publication Date
CN101106486A CN101106486A (en) 2008-01-16
CN101106486B true CN101106486B (en) 2010-07-21

Family

ID=39000183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101201972A Expired - Fee Related CN101106486B (en) 2007-08-13 2007-08-13 Detection processing method and component of virtual link failure

Country Status (1)

Country Link
CN (1) CN101106486B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340351A (en) * 2008-08-19 2009-01-07 华为技术有限公司 Data transmission method, apparatus and system in VPLS network
CN101854266B (en) * 2009-04-02 2013-12-04 中兴通讯股份有限公司 Method and system for realizing detection based on MAC (Media Access Control) address and finish condition
US8144575B2 (en) 2009-06-30 2012-03-27 Juniper Networks, Inc. Redundant pseudowires for border gateway patrol-based virtual private local area network service multi-homing environments
EP2553870B1 (en) * 2010-03-31 2020-01-22 Telefonaktiebolaget LM Ericsson (publ) An operations, administrations and management proxy and a method for handling operations, administrations and management messages
CN102025646B (en) * 2011-01-05 2013-08-28 杭州华三通信技术有限公司 Link switching method and device thereof
CN102611610B (en) * 2011-01-24 2016-03-30 中兴通讯股份有限公司 The method and system of a kind of many same paths tunnels centralized management
CN102123097B (en) 2011-03-14 2015-05-20 杭州华三通信技术有限公司 Method and device for protecting router
CN102355410B (en) * 2011-08-17 2014-07-30 杭州依赛通信有限公司 Pseudo-wire labeling method for MPLS (Multiple Protocol Label Switching) network virtual exchange embodiment
CN102347873B (en) * 2011-10-26 2017-09-29 南京中兴新软件有限责任公司 The detection method and device in tunnel and pseudo-wire
CN102739498B (en) * 2012-07-04 2015-09-30 瑞斯康达科技发展股份有限公司 A kind of transmission method of hierarchical virtual private LAN service and system
CN106301867B (en) * 2015-06-12 2019-06-14 中兴通讯股份有限公司 A kind of static state pseudo-wire condition detection method and device
CN105591891A (en) * 2015-09-09 2016-05-18 杭州华三通信技术有限公司 Pseudowire (PW) switching method and device
CN109144039B (en) * 2018-11-04 2021-06-22 兰州理工大学 Intermittent process fault detection method based on time sequence expansion and neighborhood preserving extreme learning machine
CN109474495B (en) * 2018-12-07 2020-08-28 新华三技术有限公司 Tunnel detection method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1482694A2 (en) * 2003-04-28 2004-12-01 Alcatel IP Networks, Inc. Virtual private network fault tolerance
CN1722726A (en) * 2004-07-12 2006-01-18 中兴通讯股份有限公司 Layer-2 VPN equipment supporting pseudo line tag reflection and networking method
CN1848775A (en) * 2005-09-30 2006-10-18 华为技术有限公司 Multi-jumping pseudo-line fault detecting reporting and maintenance protocol controlling method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1482694A2 (en) * 2003-04-28 2004-12-01 Alcatel IP Networks, Inc. Virtual private network fault tolerance
CN1722726A (en) * 2004-07-12 2006-01-18 中兴通讯股份有限公司 Layer-2 VPN equipment supporting pseudo line tag reflection and networking method
CN1848775A (en) * 2005-09-30 2006-10-18 华为技术有限公司 Multi-jumping pseudo-line fault detecting reporting and maintenance protocol controlling method

Also Published As

Publication number Publication date
CN101106486A (en) 2008-01-16

Similar Documents

Publication Publication Date Title
CN101106486B (en) Detection processing method and component of virtual link failure
US11323307B2 (en) Method and system of a dynamic high-availability mode based on current wide area network connectivity
CN102025646B (en) Link switching method and device thereof
JP4542045B2 (en) Data communication apparatus and method
EP2675121B1 (en) Vpls fast rerouting method and device
EP2911341B1 (en) Method and device for dynamically switching gateway of distributed resilient network interconnect
CN101534198B (en) Communication system
CN101841408A (en) Primary/standby route equipment switching method and route equipment
CN101267360A (en) Pseudo failure detection method and user boundary device
CN101465859A (en) Method and device for triggering main and standby interface board inverse switch
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN101436976A (en) Method, system and equipment for forwarding data frame
CN101771610A (en) Transport multiprotocol label switching network (T-MPLS) system for and link protection method
JP2008236310A (en) Packet transmission device and semiconductor device
CN111490933B (en) Bidirectional forwarding detection switching method and edge device
CN101436975B (en) Method, apparatus and system for implementing rapid convergence in looped network
US9059791B2 (en) Method and apparatus for protecting tunnel
EP2613477B1 (en) Method for triggering route switching and service provider-end provider edge device
CN102143060B (en) Method and device for building primary pseudowire and spare pseudowire
WO2020237639A1 (en) Method and apparatus for network communication
JP6190281B2 (en) Relay system and switch device
JP4636247B2 (en) Packet network and layer 2 switch
CN109698781B (en) Management method of message forwarding path and PE (provider edge) equipment
WO2018149294A1 (en) Method and apparatus for processing service flow in packet network
CN113992571B (en) Multipath service convergence method, device and storage medium in SDN network

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

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

Termination date: 20200813