CN101572666A - Method and device for flow switching in Virtual Private LAN Service (VPLS) network - Google Patents

Method and device for flow switching in Virtual Private LAN Service (VPLS) network Download PDF

Info

Publication number
CN101572666A
CN101572666A CNA2009100865299A CN200910086529A CN101572666A CN 101572666 A CN101572666 A CN 101572666A CN A2009100865299 A CNA2009100865299 A CN A2009100865299A CN 200910086529 A CN200910086529 A CN 200910086529A CN 101572666 A CN101572666 A CN 101572666A
Authority
CN
China
Prior art keywords
fast switching
switching group
vsi
primary
forwarding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2009100865299A
Other languages
Chinese (zh)
Other versions
CN101572666B (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 CN2009100865299A priority Critical patent/CN101572666B/en
Publication of CN101572666A publication Critical patent/CN101572666A/en
Application granted granted Critical
Publication of CN101572666B publication Critical patent/CN101572666B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention provides a method and a device for flow switching in virtual private local area network service (VPLS) network, wherein a master pseudo-wire (PW) and a backup PW connected with user-oriented provider edge equipment (UPE) are disposed in the VPLS network. The method comprises: adding virtual switching instances (VSI) adopting the same master and backup PWs into a fast switching group in advance and respectively establishing forwarding table entries pointing to the master and backup PWs for each VSI; when the master PW in the fast switching group normally operates, controlling each VSI in the fast switching group to forward a message by the forwarding table entry pointing to the master PW; and when detecting that the master PW fails, controlling each VSI in the fast switching group to forward the message by the forwarding table entry pointing to the backup PW. The invention can largely shorten time for flow switching and ensure carrier-grade fast switching time of 50ms.

Description

The method and apparatus of flow switch in the virtual private LAN service network
Technical field
The present invention relates to network communications technology field, the method and apparatus that flow switches in particularly a kind of virtual special local area network service (VPLS) network.
Background technology
Virtual special local area network service (VPLS, Virtual Private LAN Service) be to be used on public network, realizing the Layer 2 virtual private network (VPN of multiple spot to multiple spot, Virtual Private Network) virtual private network technology of function, it can make the user who is in different websites connect by wide area network or metropolitan area network, form a VLAN thus, each VLAN is called a virtual switch instance (VSI).
The VPLS network is mainly by the user oriented operator edge network equipment (UPE, Userfacing-Provider Edge), operator's border networks equipment (NPE of network-oriented, NetworkProvider Edge) and user's border networks equipment equipment such as (CE, Custom Edge) constitute.Wherein, UPE directly connects CE, supports route and MPLS encapsulation.NPE is the nucleus equipment that connects UPE and be positioned at the VPLS network internal.When one or more CE and another or a plurality of CE communicate by the VPLS network, need to insert NPE through UPE.Fig. 1 is the connection diagram that the UPE dual homed inserts NPE in the prior art, the UPE dual homed inserts two NPE and forms two up connections, be respectively primary empty link (PW) and PW for subsequent use, when primary PW breaks down, flow can switch on the PW for subsequent use, after primary PW trouble shooting, flow switch is returned on the primary PW.
In the prior art, when primary PW normal operation, the forwarding-table item of each VSI all points to primary PW among the UPE, and for each message that receives, UPE all transmits by primary PW according to forwarding-table item.When detecting primary PW and break down, UPE need to upgrade hardware setting for each VSI, and the forwarding-table item that is about to each VSI changes to and points to PW for subsequent use.Equally, with after the trouble shooting of PW, also need upgrade hardware setting when main at each VSI.Obviously, except the time of fault detect, upgrade hardware setting at each VSI one by one and need spend long time, especially under large-scale VSI environment, for example under the VSI environment more than 4000, carrying out the flow switching needs the time of cost far can not ensure the quick switching time of 50ms of operation level.
Summary of the invention
In view of this, the invention provides the method and apparatus of flow switch in a kind of VPLS network, so that shorten the time of flow switch, guarantee quick switching time of operation level 50ms.
The method of flow switch in a kind of VPLS network is deployed with the primary void that is connected with user oriented operator edge network equipment UPE and links PW and PW for subsequent use in the described VPLS network; To adopt in advance the virtual switch instance VSI of identical primary PW and PW for subsequent use to add same fast switching group, set up respectively the forwarding-table item that points to primary PW and the forwarding-table item that points to PW for subsequent use for each VSI; This method comprises:
During the primary PW normal operation of A, fast switching group, each VSI that controls in the described fast switching group uses the forwarding-table item that points to primary PW to carry out message repeating;
B, when detecting primary PW and breaking down, each VSI that controls in the described fast switching group uses the forwarding-table item that points to PW for subsequent use to carry out message repeating.
The device of flow switch in a kind of VPLS network is deployed with the primary PW and the PW for subsequent use that are connected with this device in this VPSL network; This device comprises: initial setting up unit, fault detection unit and forwarding control module;
Described initial setting up unit is used for will adopting the VSI of identical primary PW and PW for subsequent use to add same fast switching group in advance, sets up respectively the forwarding-table item that points to primary PW and the forwarding-table item that points to PW for subsequent use for each VSI;
Described fault detection unit is used for the PW that is connected with this device is carried out fault detect;
Described forwarding control module is used for when described primary PW normal operation, and each VSI that controls in the described fast switching group uses the forwarding-table item that points to primary PW to carry out message repeating; When described fault detection unit detected described primary PW and breaks down, each VSI that controls in the described fast switching group used the forwarding-table item that points to PW for subsequent use to carry out message repeating.
As can be seen from the above technical solutions, the present invention adds same fast switching group by the VSI that will adopt identical primary PW and PW for subsequent use, each VSI is carried out quick unified management, the VSI that adopts identical primary PW and PW for subsequent use is carried out unified flow switch, and needn't carry out respectively flow switch to each VSI one by one; And, set up respectively the forwarding-table item that points to primary PW and PW for subsequent use for each VSI, when primary PW normal operation, each VSI in the control fast switching group uses the forwarding-table item that points to primary PW to carry out message repeating; When detecting primary PW and breaking down, each VSI in the control fast switching group uses the forwarding-table item that points to PW for subsequent use to carry out message repeating.That is to say, only need control to carry out using when message is transmitted which forwarding-table item, and the content that need not upgrade forwarding-table item when switching makes it point to standby PW, promptly do not need to carry out hardware at each VSI one by one and reshuffle work, obviously shorten the time that flow switches greatly, guaranteed quick switching time of operation level 50ms.
Description of drawings
Fig. 1 is the connection diagram that the UPE dual homed inserts NPE in the prior art;
The detailed method flow chart that Fig. 2 provides for the embodiment of the invention;
The connection instance graph of the active and standby PW that Fig. 3 provides for the embodiment of the invention;
The structure drawing of device that Fig. 4 provides for the embodiment of the invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the drawings and specific embodiments.
Method provided by the invention mainly comprises: will adopt in advance the VSI of identical primary PW and PW for subsequent use to add same fast switching group, and set up respectively the forwarding-table item that points to primary PW and the forwarding-table item that points to PW for subsequent use for each VSI; During primary PW normal operation, each VSI in the control fast switching group all uses the forwarding-table item that points to primary PW to carry out message repeating; When detecting primary PW and breaking down, each VSI in the control fast switching group all uses the forwarding-table item that points to PW for subsequent use to carry out message repeating.
Below in conjunction with specific embodiment said method is described in detail.The detailed method flow chart that Fig. 2 provides for the embodiment of the invention, as shown in Figure 2, this method can may further comprise the steps:
Step 201: will adopt in advance the VSI of identical primary PW and PW for subsequent use to add same fast switching group, and set up respectively the forwarding-table item that points to primary PW and point to PW for subsequent use for each VSI.
In the present invention, in order to realize the quick unified management to each VSI, will adopt the VSI of identical primary PW and PW for subsequent use to add same fast switching group, record belongs to the VSI sign of this fast switching group in each fast switching group.
In addition, in this step, need set up two forwarding-table items, point to main respectively with PW and standby PW at each VSI, so only need control to carry out using which forwarding-table item when message is transmitted, and the content that need not upgrade forwarding-table item when switching make it point to standby PW.
Step 202: when the master uses PW working properly; each VSI that controls in this fast switching group by the protection table of fast switching group correspondence all uses the main forwarding-table item with PW of sensing to carry out the message forwarding; and open main MAC address learning function, close the MAC address learning function of standby PW with PW.
Controlling each VSI in the present invention uses the forwarding-table item that points to which PW to realize by the protection table at the fast switching group setting; can the protection table be set respectively at each fast switching group, this protection table be used for indicating each VSI of this fast switching group to use pointing to main with PW forwarding-table item or point to the forwarding-table item of standby PW.For example, this protection table can be the flag bit of a bit, and when flag bit was 1, the forwarding-table item that points to primary PW was used in indication; When flag bit was 0, the forwarding-table item that points to PW for subsequent use was used in indication.
When using the main forwarding-table item of sensing to carry out the message forwarding with PW, enable main MAC address learning function with PW, close the MAC address learning function of standby PW.Still take annexation shown in Figure 1 as example, for the forwarding-table item of broadcasting packet owing to the primary PW of use, so UPE can transmit the message from CE1 that receives by primary PW.For broadcasting packet from NPE 3, owing to enabled the packet loss function based on standby PW on the UPE at each VSI in the fast switching group, make UPE abandon the message that receives from standby PW, can guarantee that also UPE receives only a message from NPE3, promptly by main message with the PW transmission.For unicast message, owing to enable main MAC address learning function with PW, close the MAC address learning function of standby PW, therefore, UPE can't learn MAC Address on standby PW, therefore can not carry out the forwarding of unicast message by standby PW, correspondingly, NPE3 can not receive message by standby PW yet, can not learn MAC Address on standby PW yet, so the message of NPE 3 can not transmitted by standby PW yet.
By step 201 from first VSI; each VSI that main PW is identical is included in the same fast switching group; after treating that all VSI finish the adding of fast switching group, unification adopts the master to carry out the flow forwarding with PW by all VSI in the protection table control fast switching group in step 202.
Step 203: primary PW is carried out fault detect.
The mode of fault detect is not limited in the present invention, can adopt such as bi-directional failure and detect (BFD, Bidirectional Forwarding Detection) mode, whether BFD only needs 3 sense cycle can detect link fault, and each sense cycle can be set to 10ms.After primary PW breaks down, can detect fault about 30ms, can be by the mode of interrupting reporting, notice UPE carries out flow switch.
Step 204: when detecting primary PW fault, use the forwarding-table item that points to PW for subsequent use to carry out message repeating by each VSI in protection table control fast switching group corresponding to fast switching group.Each VSI that is provided with in the fast switching group carries out the MAC Address flooded broadcast, open the MAC address learning function of standby PW, close main MAC address learning function with PW, deletion is main with all MAC Address of learning on the PW, after treating that MAC Address is all deleted, stop the MAC Address flooded broadcast that each VSI in the fast switching group carries out.
In this step, for the flow switch of broadcasting packet, only needing each VSI in the control fast switching group to use the forwarding-table item that points to PW for subsequent use to carry out message repeating can realize, is about to the protection table and is revised as indication and uses the forwarding-table item that points to PW for subsequent use to get final product.Because this protection table can be controlled VSI all in the fast switching group, therefore, needn't make amendment at VSI one by one, does not also need forwarding-table item is made amendment, the forwarding-table item indication that only needs to revise use gets final product.The time of this part operation can ignore, and therefore, approximately only needs about 30ms to switching the time of finishing together with fault detect.
Flow at unicast message switches, in order to guarantee that flow does not interrupt in the handoff procedure, each VSI that is provided with in the fast switching group carries out the MAC Address flooded broadcast, even unicast message is converted to broadcasting packet and transmits, and the time that flooded broadcast is set is very short, even if also probably only need the time of 10ms such as the large scale network of 4000 VSI.After unicast traffic was converted to broadcast traffic fast, because the forwarding-table item of indication PW for subsequent use is adopted in the indication of protection table, flow can select PW for subsequent use to transmit.In this simultaneously, the MAC address learning function of opening PW for subsequent use is so that the unicast message between UPE and the NPE3 sends from PW for subsequent use; The MAC Address that primary PW learns is closed and deleted to the MAC address learning function of primary PW, thereby so that UPE abandons the next message from NPE1, and can not transmit unicast message by primary PW after the UPE.
After treating that the MAC Address deletion of primary PW study is complete, stop the MAC Address flooded broadcast that each VSI in the fast switching group carries out, because PW for subsequent use has carried out the study of MAC Address, and has not had MAC Address on the primary PW, so unicast message is only carried out normal unicast traffic forwarding from PW for subsequent use.
In addition, in order to prevent that UPE receives the double message of independently using PW and standby PW in main moment with the PW fault recovery, can when detecting the master, enable based on main packet loss function with PW with the PW fault.
In addition, need to prove,, can at first determine the fast switching group as work at present PW with the PW of this fault if some PW break down, then each VSI in this fast switching group is carried out flow and switch, promptly switch on another PW from work at present PW.Not that the fast switching group of the PW of fault does not obviously need to carry out flow and switches for work at present PW.
Can adopt the IP address of opposite end (Peer) to identify for primary PW and PW for subsequent use, when the Peer that for example works in the fast switching group is the Peer that breaks down, determine that this fast switching group need to carry out flow switch.
Step 205: after the primary PW trouble shooting, use the forwarding-table item that points to primary PW to carry out message repeating by each VSI in protection table control fast switching group corresponding to fast switching group.Each VSI is set in the fast switching group to carry out MAC Address and floods, open the MAC address learning function of primary PW, close the MAC address learning function of primary PW, delete all MAC Address that PW learning for subsequent use arrives, after treating that MAC Address is all deleted, stop the MAC Address flooded broadcast that each VSI in the fast switching group carries out.
After the trouble shooting of primary PW; can wait for that default switchback carries out this step after the time; need in the prior art to carry out switchback for each VSI one by one; and the present invention is by upgrading the switchback that can finish all VSI to the corresponding protection table of each VSI in the fast switching group, and need not to carry out the change of each forwarding-table item.
Implementation in this step is identical with the principle of step 204, and just step 204 is to switch to standby PW from main with PW, and step 205 is to switch to the main PW that uses from standby PW.
Equally, after the trouble shooting of a certain PW, at first determine the fast switching group as primary PW with the PW of this trouble shooting, carry out this step for this fast switching group.
Lifting a concrete example below describes said method.Take annexation shown in Figure 3 as example, to suppose to have three VSI among the UPE, the solid line among the figure is primary PW, and dotted line is PW for subsequent use, and primary PW and PW for subsequent use between each VSI and NPE1 and the NPE2 are as shown in table 1.
Table 1
The opposite end of primary PW The opposite end of PW for subsequent use
VSI1 NPE1 NPE2
VSI2 NPE1 NPE2
VSI3 NPE2 NPE1
Because VSI1, VSI2 adopt identical primary PW, therefore, VSI1 and VSI2 are added same fast switching group 1, and VSI3 is different from VSI1 and VSI2, belong to fast switching group 2.
Originally each VSI in each fast switching group adopts master separately to carry out the message forwarding with PW, and promptly the protection table of each fast switching group correspondence is all indicated and adopted the sensing master to transmit with the message of PW.VSI1 and VSI2 adopt the PW between UPE and the NPE1 to carry out message and transmit, and open the MAC address learning function of the PW between UPE and the NPE1, close the MAC address learning function of the PW between UPE and the NPE2.VSI3 adopts the PW between UPE and the NPE2 to carry out message and transmits, and opens the MAC address learning function of the PW between UPE and the NPE2, closes the MAC address learning function of the PW between UPE and the NPE1.
When detect the NPE1 fault by BFD; it is the PW fault between UPE and the NPE1; then determine the fast switching group as primary PW with the PW that breaks down, determine and be fast switching group 1, the protection table of fast switching group 1 correspondence is updated to indication adopts the message repeating table that points to PW for subsequent use.For broadcasting packet, VSI1 and VSI2 adopt the PW between UPE and the NPE2 to carry out message and transmit., except above-mentioned renewal, VSI1 and VSI2 further are set carry out the MAC Address flooded broadcast for unicast message, make unicast message transfer broadcasting packet to and adopt the PW between UPE and the NPE2 to transmit; And open the MAC address learning function of the PW between UPE and the NPE2, close the MAC address learning function of the PW between UPE and the NPE1, enable packet loss function, the MAC Address that the PW between deletion UPE and the NPE1 learns based on the PW between UPE and the NPE 1; After finishing deletion action, stop the MAC Address flooded broadcast of VSI1 and VSI2, recover the normal forwarding of unicast message.
For fast switching group 2, because not being its master, the PW that breaks down do not use PW, can the VSI3 in the fast switching group 2 not exerted an influence, therefore, do not switch processing for VSI3.
After detecting the NPE1 fault recovery by BFD, i.e. the fast switching group 1 take the PW of this fault recovery as primary PW is determined in PW fault recovery between UPE and the NPE1, and this fast switching group is carried out the switchback operation.The protection table of control fast switching group 1 correspondence is updated to indication and adopts the message repeating table that points to primary PW.For broadcasting packet, VSI1 and VSI2 adopt the PW between UPE and the NPE1 to carry out message and transmit., except above-mentioned renewal, VSI1 and VSI2 further are set carry out the MAC Address flooded broadcast for unicast message, make unicast message transfer broadcasting packet to and adopt the PW between UPE and the NPE1 to transmit; And open the MAC address learning function of the PW between UPE and the NPE1, close the MAC address learning function of the PW between UPE and the NPE2, enable packet loss function, enable message forwarding capability based on the PW between UPE and the NPE1 based on the PW between UPE and the NPE2; The MAC Address that PW between deletion UPE and the NPE2 learns; After finishing deletion action, stop the MAC Address flooded broadcast of VSI1 and VSI2, recover the normal forwarding of unicast message.
More than be the detailed description that method provided by the present invention is carried out, below device provided by the present invention be described in detail.The structure drawing of device that Fig. 4 provides for the embodiment of the invention, this device can be UPE, what promptly be connected with this device has two PW: main with PW and standby PW, as shown in Figure 4, this device can comprise: initial setting up unit 401, fault detection unit 402 and transmit control unit 403.
Initial setting up unit 401 is used for will adopting the VSI of identical primary PW and PW for subsequent use to add same fast switching group in advance, sets up respectively the forwarding-table item that points to primary PW and the forwarding-table item that points to PW for subsequent use for each VSI.
Fault detection unit 402 is used for the PW that is connected with this device is carried out fault detect.
This fault detection unit 402 can adopt the BFD mode that PW is carried out fault detect.
Transmit control module 403, be used for when primary PW normal operation, each VSI in the control fast switching group uses the forwarding-table item that points to primary PW to carry out message repeating; When fault detection unit 402 detected primary PW and breaks down, each VSI in the control fast switching group used the forwarding-table item that points to PW for subsequent use to carry out message repeating.
Wherein, transmitting control module 403 can be when primary PW normal operation, and each VSI that arranges in protection table indication fast switching group corresponding to fast switching group adopts the forwarding-table item that points to primary PW; When fault detection unit detects primary PW and breaks down, protection table corresponding to fast switching group is set indicates each VSI in this fast switching group to adopt the forwarding-table item that points to PW for subsequent use.
At this moment, this device can also comprise: message repeating unit 404 is used for carrying out the forwarding of broadcasting packet according to the indicated forwarding-table item of protection table corresponding to fast switching group.
More preferably, because when each VSI in this device divides with PW according to the master who uses, might there be a plurality of fast switching group, therefore, this device can also comprise: switch group determining unit 405, be used for when fault detection unit 402 detects a PW and breaks down, determine that with the PW that breaks down be main fast switching group with PW.
Because the fast switching group of only having main PW to break down just need to be carried out flow switch, therefore, transmit control module 403 and organize the operation that determining unit 405 definite fast switching group are carried out control for switching.
Just can finish flow switch to broadcasting packet by said apparatus, in order to adapt to better the flow switch of unicast message, this device can also comprise: first function setting unit 406, be used for when primary PW normal operation, open the MAC address learning function of primary PW, close the MAC address learning function of PW for subsequent use; When fault detection unit 402 detected primary PW and breaks down, the MAC address learning function of opening PW for subsequent use was closed the MAC address learning function of primary PW, deletes the MAC Address that primary PW learning arrives.
Message retransmission unit 404 also is used for detecting at fault detection unit 402 main when breaking down with PW, each VSI in the fast switching group is carried out the MAC Address flooded broadcast of unicast message; The MAC Address of learning on first function setting unit 406 will be led with PW stops flooded broadcast after all deleting.
In addition, this device can also comprise: second function setting unit 407.
Transmit control module 403 after fault detection unit 402 detects primary PW trouble shooting, each VSI that arranges in protection table indication fast switching group corresponding to fast switching group adopts the forwarding-table item that points to primary PW.
Second function setting unit 407 is used for opening main MAC address learning function with PW when fault detection unit 402 detects the master with the PW trouble shooting, closes the MAC address learning function of standby PW, deletes the MAC Address of learning on the standby PW.
Message retransmission unit 404 also is used for each VSI in the fast switching group being carried out the MAC Address flooded broadcast of unicast message after fault detection unit 402 detects the main PW of using trouble shooting; All after the deletion, stop flooded broadcast in MAC Address that second function setting unit 407 is learnt on standby PW.
By above description as can be seen, method and apparatus provided by the invention has the following advantages:
1) the present invention adds same fast switching group by the VSI that will adopt identical primary PW and PW for subsequent use, each VSI is carried out quick unified management, the VSI that adopts identical primary PW and PW for subsequent use is carried out unified flow switch, and needn't carry out respectively flow switch to each VSI one by one; And, set up respectively the forwarding-table item that points to primary PW and PW for subsequent use for each VSI, when primary PW normal operation, each VSI in the control fast switching group uses the forwarding-table item that points to primary PW to carry out message repeating; When detecting primary PW and breaking down, each VSI in the control fast switching group uses the forwarding-table item that points to PW for subsequent use to carry out message repeating.That is to say, only need control to carry out using when message is transmitted which forwarding-table item, and the content that need not upgrade forwarding-table item when switching makes it point to standby PW, promptly do not need to carry out hardware at each VSI one by one and reshuffle work, obviously shorten the time that flow switches greatly, guaranteed quick switching time of operation level 50ms.
2) in addition, the present invention specifically provides concrete flow changing method at broadcasting packet and unicast message, thereby guarantee that the message that broadcasting packet and unicast message UPE and NPE in the flow handoff procedure receive all is 1 part, and the flow interrupt time in the handoff procedure of guaranteeing is less than 50ms.
3) the present invention is after primary PW trouble shooting, also provide concrete flow switchback method for broadcasting packet and unicast message, the same message that guarantees that broadcasting packet and unicast message UPE and NPE in switchback process receive all is 1 part in switchback process, and guarantees that the flow in the switchback process does not interrupt.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (11)

1, the method for flow switch in a kind of virtual special local area network service VPLS network is deployed with the primary void that is connected with user oriented operator edge network equipment UPE and links PW and PW for subsequent use in the described VPLS network; To adopt in advance the virtual switch instance VSI of identical primary PW and PW for subsequent use to add same fast switching group, set up respectively the forwarding-table item that points to primary PW and the forwarding-table item that points to PW for subsequent use for each VSI; This method comprises:
During the primary PW normal operation of A, fast switching group, each VSI that controls in the described fast switching group uses the forwarding-table item that points to primary PW to carry out message repeating;
B, when detecting primary PW and breaking down, each VSI that controls in the described fast switching group uses the forwarding-table item that points to PW for subsequent use to carry out message repeating.
2, method according to claim 1 is characterized in that, this method also comprises: corresponding each fast switching group arranges the protection table and is used to indicate the forwarding-table item that each VSI in this fast switching group adopts;
When the master of fast switching group with the PW operation just often, the protection table of described fast switching group correspondence is indicated each VSI in this fast switching group to adopt and is pointed to main forwarding-table item with PW;
When detecting described primary PW and breaking down, protection table corresponding to described fast switching group indicates each VSI in this fast switching group to adopt the forwarding-table item that points to PW for subsequent use.
3, method according to claim 1 is characterized in that, detects BFD by bi-directional failure described master is carried out fault detect with PW.
4, method according to claim 1, it is characterized in that, described step B specifically comprises: when detecting a PW who is connected with described UPE and breaking down, determine that with the PW that breaks down be main fast switching group with PW, each VSI in the fast switching group that control is determined uses the forwarding-table item that points to standby PW to carry out message and transmits.
5, according to the described method of the arbitrary claim of claim 1 to 4, it is characterized in that described steps A also comprises: open described main MAC address learning function, close the MAC address learning function of standby PW with PW;
Described step B also comprises: each VSI in the described fast switching group is carried out the MAC Address flooded broadcast of unicast message, and the MAC address learning function of opening PW for subsequent use is closed the MAC address learning function of primary PW, deletes the MAC Address that primary PW learning arrives; Treat that MAC Address that primary PW learning arrives all after the deletion, stops the MAC Address flooded broadcast that each VSI carries out in the described fast switching group.
6, according to the described method of the arbitrary claim of claim 1 to 4, it is characterized in that, described main with after the PW trouble shooting, each VSI that controls in the described fast switching group all uses the main forwarding-table item with PW of sensing to carry out the message forwarding, and each VSI in the described fast switching group carried out the MAC Address flooded broadcast, open main MAC address learning function, close the MAC address learning function of standby PW, delete the MAC Address of learning on the standby PW with PW; After treating that the MAC Address of learning on the standby PW is all deleted, stop the MAC Address flooded broadcast that each VSI carries out in the described fast switching group.
7, the device of flow switch in a kind of VPLS network is deployed with the primary PW and the PW for subsequent use that are connected with this device in this VPSL network; It is characterized in that this device comprises: initial setting up unit, fault detection unit and forwarding control module;
Described initial setting up unit is used for will adopting the VSI of identical primary PW and PW for subsequent use to add same fast switching group in advance, sets up respectively the forwarding-table item that points to primary PW and the forwarding-table item that points to PW for subsequent use for each VSI;
Described fault detection unit is used for the PW that is connected with this device is carried out fault detect;
Described forwarding control module is used for when described primary PW normal operation, and each VSI that controls in the described fast switching group uses the forwarding-table item that points to primary PW to carry out message repeating; When described fault detection unit detected described primary PW and breaks down, each VSI that controls in the described fast switching group used the forwarding-table item that points to PW for subsequent use to carry out message repeating.
8, device according to claim 7 is characterized in that, described forwarding control module is when described primary PW normal operation, and each VSI that arranges in protection table indication fast switching group corresponding to described fast switching group adopts the forwarding-table item that points to primary PW; When described fault detection unit detects described primary PW and breaks down, protection table corresponding to described fast switching group is set indicates each VSI in this fast switching group to adopt the forwarding-table item that points to PW for subsequent use;
This device also comprises: the message repeating unit is used for carrying out the forwarding of broadcasting packet according to the indicated forwarding-table item of protection table corresponding to described fast switching group.
9, device according to claim 7 is characterized in that, this device also comprises: switch the group determining unit, be used for when described fault detection unit detects a PW and breaks down, determine that with the PW that breaks down be main fast switching group with PW;
Described forwarding control module is organized the operation that the definite fast switching group of determining unit is carried out described control for described switching.
10, device according to claim 8, it is characterized in that this device also comprises: first function setting unit is used for described master with the PW operation just often, open described main MAC address learning function, close the MAC address learning function of described standby PW with PW; When described fault detection unit detected described master and breaks down with PW, the MAC address learning function of opening standby PW was closed main MAC address learning function with PW, and deletion is main with the MAC Address of learning on the PW;
Described message repeating unit also is used for each VSI in the described fast switching group being carried out the MAC Address flooded broadcast of unicast message when described fault detection unit detects described primary PW and breaks down; After the MAC Address that described first function setting unit arrives primary PW learning is all deleted, stop described flooded broadcast.
11, according to Claim 8 or 10 described devices, it is characterized in that this device also comprises: second function setting unit;
Described forwarding control module is after described fault detection unit detects described primary PW trouble shooting, and each VSI that arranges in protection table indication fast switching group corresponding to described fast switching group adopts the forwarding-table item that points to primary PW;
Described second function setting unit is used for opening main MAC address learning function with PW when described fault detection unit detects described master with the PW trouble shooting, closes the MAC address learning function of standby PW, deletes the MAC Address of learning on the standby PW;
Described message retransmission unit also is used for each VSI in the described fast switching group being carried out the MAC Address flooded broadcast of unicast message after described fault detection unit detects the described main PW of using trouble shooting; All after the deletion, stop described flooded broadcast in MAC Address that described second function setting unit is learnt on standby PW.
CN2009100865299A 2009-06-05 2009-06-05 Method and device for flow switching in Virtual Private LAN Service (VPLS) network Active CN101572666B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100865299A CN101572666B (en) 2009-06-05 2009-06-05 Method and device for flow switching in Virtual Private LAN Service (VPLS) network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100865299A CN101572666B (en) 2009-06-05 2009-06-05 Method and device for flow switching in Virtual Private LAN Service (VPLS) network

Publications (2)

Publication Number Publication Date
CN101572666A true CN101572666A (en) 2009-11-04
CN101572666B CN101572666B (en) 2012-01-04

Family

ID=41231905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100865299A Active CN101572666B (en) 2009-06-05 2009-06-05 Method and device for flow switching in Virtual Private LAN Service (VPLS) network

Country Status (1)

Country Link
CN (1) CN101572666B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795232A (en) * 2010-03-08 2010-08-04 杭州华三通信技术有限公司 Network failure treating method and device
WO2011060667A1 (en) * 2009-11-18 2011-05-26 中兴通讯股份有限公司 Method and device for link protection in virtual private local area network
WO2011066810A1 (en) * 2009-12-04 2011-06-09 华为技术有限公司 Method, device and system for processing service traffic based on pseudo wires
WO2011079658A1 (en) * 2009-12-29 2011-07-07 中兴通讯股份有限公司 Device and method for realizing switch between active and standby services
CN102143047A (en) * 2010-09-08 2011-08-03 华为技术有限公司 Routing switching triggering method and service provider-end provider edge equipment
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method
CN102647485A (en) * 2012-04-16 2012-08-22 中兴通讯股份有限公司 Media access control (MAC) address cancel method and node
CN103457817A (en) * 2012-05-30 2013-12-18 中兴通讯股份有限公司 PW+L3VPN protection method and system
CN107846356A (en) * 2016-09-19 2018-03-27 新华三技术有限公司 Active/standby pseudo wires PW fast switch over method and device
CN109600310A (en) * 2018-12-21 2019-04-09 安徽皖兴通信息技术有限公司 A kind of pw linear protection function switchback method of vpls
CN112187578A (en) * 2020-09-28 2021-01-05 新华三信息安全技术有限公司 Table entry generation method, device and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100512148C (en) * 2006-12-30 2009-07-08 华为技术有限公司 Convergence method and device based on VPLS dual home full connection network
CN101340351A (en) * 2008-08-19 2009-01-07 华为技术有限公司 Data transmission method, apparatus and system in VPLS network

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011060667A1 (en) * 2009-11-18 2011-05-26 中兴通讯股份有限公司 Method and device for link protection in virtual private local area network
RU2520387C2 (en) * 2009-11-18 2014-06-27 ЗетТиИ Корпорейшн Method and device for link protection in virtual private local area network
CN102064995B (en) * 2009-11-18 2012-12-19 中兴通讯股份有限公司 Method and device for link protection in virtual private local area network
US8750314B2 (en) 2009-11-18 2014-06-10 Zte Corporation Method and device for link protection in virtual private local area network
WO2011066810A1 (en) * 2009-12-04 2011-06-09 华为技术有限公司 Method, device and system for processing service traffic based on pseudo wires
WO2011079658A1 (en) * 2009-12-29 2011-07-07 中兴通讯股份有限公司 Device and method for realizing switch between active and standby services
CN101795232A (en) * 2010-03-08 2010-08-04 杭州华三通信技术有限公司 Network failure treating method and device
CN102143047B (en) * 2010-09-08 2014-05-07 华为技术有限公司 Routing switching triggering method and service provider-end provider edge equipment
CN102143047A (en) * 2010-09-08 2011-08-03 华为技术有限公司 Routing switching triggering method and service provider-end provider edge equipment
CN102437919A (en) * 2010-09-29 2012-05-02 中国电信股份有限公司 Access router and link reliability protection method
CN102437919B (en) * 2010-09-29 2015-05-27 中国电信股份有限公司 Access router and link reliability protection method
CN102647485A (en) * 2012-04-16 2012-08-22 中兴通讯股份有限公司 Media access control (MAC) address cancel method and node
CN102647485B (en) * 2012-04-16 2017-11-10 中兴通讯股份有限公司 MAC Address cancelling method and node
CN103457817A (en) * 2012-05-30 2013-12-18 中兴通讯股份有限公司 PW+L3VPN protection method and system
CN103457817B (en) * 2012-05-30 2018-03-16 中兴通讯股份有限公司 The guard method of PW+L3VPN a kind of and system
CN107846356A (en) * 2016-09-19 2018-03-27 新华三技术有限公司 Active/standby pseudo wires PW fast switch over method and device
CN107846356B (en) * 2016-09-19 2020-02-11 新华三技术有限公司 Method and device for fast switching between main pseudo wire and standby pseudo wire
US10708184B2 (en) 2016-09-19 2020-07-07 New H3C Technologies Co., Ltd. Switching primary/backup pseudowire
CN109600310A (en) * 2018-12-21 2019-04-09 安徽皖兴通信息技术有限公司 A kind of pw linear protection function switchback method of vpls
CN112187578A (en) * 2020-09-28 2021-01-05 新华三信息安全技术有限公司 Table entry generation method, device and equipment

Also Published As

Publication number Publication date
CN101572666B (en) 2012-01-04

Similar Documents

Publication Publication Date Title
CN101572666A (en) Method and device for flow switching in Virtual Private LAN Service (VPLS) network
US9525591B2 (en) Relay system and switching device
CN101483558B (en) Method, system and apparatus for packet switching network access by network appliance
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
US9794194B2 (en) Relay system and switching device
CN101009569B (en) Data communication device and the method thereof
CN100512148C (en) Convergence method and device based on VPLS dual home full connection network
CN104301146A (en) Link switching method and device in software defined network
CN101217457A (en) A method to realize fast reroute and router
CN101155109A (en) Ethernet switching system and equipment
CN103051536A (en) Quick multicast switching method of two-layer redundant link
WO2007121633A1 (en) A method for rapid rerouting when multiple ports sharing the transmission links
CN101820397A (en) Network convergence method and device in virtual private local area network
CN102195822A (en) Fault detection method and business provider edge (PE) equipment
CN105141493B (en) Business frame processing method and system when ring network fault
CN102201999A (en) Multicast service load sharing method and system
JP5338428B2 (en) COMMUNICATION DEVICE AND METHOD, COMMUNICATION SYSTEM AND METHOD
JP6295137B2 (en) Relay system and switch device
CN102215165B (en) A kind of message processing method of tangent ring networks and Ethernet switch
CN101340445B (en) Method and apparatus for providing service to MAC address duplicate customer
JP2013046090A (en) Communication device and communication system
CN104753754A (en) Method and apparatus for transmitting messages
CN105591806B (en) A kind of link switch-over method and device
CN102143004B (en) Link protection method and network equipment
CN107547330B (en) Method and node equipment for transmitting service data

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.