CN101572666B - 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 PDFInfo
- Publication number
- CN101572666B CN101572666B CN2009100865299A CN200910086529A CN101572666B CN 101572666 B CN101572666 B CN 101572666B CN 2009100865299 A CN2009100865299 A CN 2009100865299A CN 200910086529 A CN200910086529 A CN 200910086529A CN 101572666 B CN101572666 B CN 101572666B
- Authority
- CN
- China
- Prior art keywords
- fast switching
- switching group
- vsi
- forwarding
- mac address
- 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.)
- Active
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) opposite end and a backup PW opposite end 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 PW opposite ends into a fast switching group in advance and respectively establishing forwarding table entries pointing to the master and backup PW opposite ends 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
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 through wide area network or metropolitan area network, forms a VLAN thus, and each VLAN is called a virtual switch instance (VSI).
The VPLS network is mainly by the user oriented operator edge network equipment (UPE; User facing-Provider Edge), operator's border networks equipment (NPE of network-oriented; Network Provider 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 through the VPLS network, need to insert NPE through UPE.Fig. 1 is the connection sketch map 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 main with empty link (PW) and subsequent use PW, when the master broke down with PW, flow can switch on the subsequent use PW; After the master is with the PW trouble shooting, flow is switched back main with on the PW.
In the prior art, move just often with PW when main, the forwarding-table item of each VSI all points to the master and uses PW among the UPE, and for each message that receives, UPE all transmits with PW through main according to forwarding-table item.Main when breaking down with PW when detecting, UPE need upgrade hardware setting to each VSI, and the forwarding-table item that is about to each VSI changes to and points to subsequent use PW.Equally, after main trouble shooting, also need upgrade hardware setting to each VSI with PW.Obviously; Except the time of fault detect; Upgrade hardware setting to each VSI one by one and need spend long time; 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 runing level especially.
Summary of the invention
In view of this, the invention provides the method and apparatus that flow switches in a kind of VPLS network,, guarantee quick switching time of operation level 50ms so that shorten the time that flow switches.
The method that flow switches in a kind of VPLS network is deployed be connected with user oriented operator edge network equipment UPE main with empty PW opposite end and the subsequent use PW opposite end of linking in the said VPLS network; To adopt identical main virtual switch instance VSI to add same fast switching group in advance, and set up respectively to each VSI and point to main forwarding-table item and the forwarding-table item that points to subsequent use PW with PW with PW opposite end and subsequent use PW opposite end; This method comprises:
The master of A, fast switching group moves just often with PW, and each VSI that controls in the said fast switching group uses the main forwarding-table item with PW of sensing to carry out the message forwarding;
B, detect mainly when breaking down, control each VSI in the said fast switching group and use the forwarding-table item that points to subsequent use PW to carry out message to transmit with PW.
Flow device for switching in a kind of VPLS network is deployed be connected with this device main with PW opposite end and subsequent use PW opposite end in this VPSL network; This device comprises: initial setting up unit, fault detection unit and forwarding control unit;
Said initial setting up unit is used for will adopting in advance identical main VSI with PW opposite end and subsequent use PW opposite end to add same fast switching group, sets up respectively to each VSI and points to main forwarding-table item and the forwarding-table item that points to subsequent use PW with PW;
Said fault detection unit is used for the PW that is connected with this device is carried out fault detect;
Said forwarding control unit is used for said master with the PW operation just often, and each VSI that controls in the said fast switching group uses the main forwarding-table item with PW of sensing to carry out the message forwarding; When said fault detection unit detects said master and breaks down with PW, control each VSI in the said fast switching group and use the forwarding-table item that points to subsequent use PW to carry out message to transmit.
Can find out by above technical scheme; The present invention adds same fast switching group through adopting identical main VSI with PW opposite end and subsequent use PW opposite end; Each VSI is carried out quick unified management; Switch adopting identical main VSI to carry out unified flow, switch and needn't carry out flow respectively to each VSI one by one with PW opposite end and subsequent use PW opposite end; And, set up the main forwarding-table item of sensing respectively to each VSI with PW and subsequent use PW, move just often with PW main, each VSI use in the control fast switching group is pointed to main forwarding-table item with PW and is carried out the message forwarding; Detect mainly when breaking down with PW, each VSI in the control fast switching group uses the forwarding-table item that points to subsequent use PW to carry out message and transmits.That is to say; Only need control to carry out using when message is transmitted which forwarding-table item; And the content that need when switching, not upgrade forwarding-table item makes it point to subsequent use PW; Promptly do not need to carry out hardware to each VSI one by one and reshuffle work, obviously shortened the time that flow switches greatly, guarantee quick switching time of operation level 50ms.
Description of drawings
Fig. 1 is the connection sketch map 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 opposite end 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 object of the invention, technical scheme and advantage clearer, describe the present invention below in conjunction with accompanying drawing and specific embodiment.
Method provided by the invention mainly comprises: will adopt identical main VSI with PW opposite end and subsequent use PW opposite end to add same fast switching group in advance, and set up respectively to each VSI and point to main forwarding-table item and the forwarding-table item that points to subsequent use PW with PW; The master moves just often with PW, and each VSI in the control fast switching group all uses the main forwarding-table item with PW of sensing to carry out the message forwarding; Detect mainly when breaking down with PW, each VSI in the control fast switching group all uses the forwarding-table item that points to subsequent use PW to carry out message and transmits.
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 identical main VSI to add same fast switching group in advance, and set up respectively to each VSI and point to main forwarding-table item with PW and the subsequent use PW of sensing with PW opposite end and subsequent use PW opposite end.
In the present invention, in order to realize the quick unified management to each VSI, with adopting identical main VSI with PW opposite end and subsequent use PW opposite end 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 subsequent use PW to each VSI; So only need control to carry out using which forwarding-table item when message is transmitted, and the content that need when switching, not upgrade forwarding-table item make it point to subsequent use PW.
Step 202: main with PW when in proper working order; All using the main forwarding-table item with PW of sensing to carry out message through each VSI in corresponding this fast switching group of protection table control of fast switching group transmits; And open main MAC address learning function, close the MAC address learning function of subsequent use PW with PW.
Controlling each VSI in the present invention uses the forwarding-table item that points to which PW to realize through the protection table to the fast switching group setting; Can the protection table be set respectively to each fast switching group, this protection table is used for indicating each VSI of this fast switching group to use the main forwarding-table item that perhaps points to subsequent use PW with the forwarding-table item of PW of sensing.For example, this protection table can be the flag bit of a bit, and when flag bit was 1, indication was used and pointed to main forwarding-table item with PW; When flag bit was 0, the forwarding-table item that points to subsequent use PW 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 subsequent use PW.Be example with annexation shown in Figure 1 still, owing to use main forwarding-table item with PW, so UPE can transmit through leading the message from CE1 that receives with PW for broadcasting packet.For broadcasting packet from NPE 3; Owing to enabled the packet loss function based on subsequent use PW on the UPE to each VSI in the fast switching group; Make UPE abandon the message that receives from subsequent use PW; Can guarantee that also UPE receives only a message from NPE3, promptly through main message with the PW transmission.For unicast message,, close the MAC address learning function of subsequent use PW owing to enable main MAC address learning function with PW; Therefore, UPE can't learn MAC Address on subsequent use PW, therefore can not carry out the forwarding of unicast message through subsequent use PW; Correspondingly; NPE3 can not receive message through subsequent use PW yet, can on subsequent use PW, not learn MAC Address yet, so the message of NPE 3 can not transmitted through subsequent use PW yet.
Begin from first VSI through step 201; Each VSI that main PW opposite end is identical is included in the same fast switching group; After treating that all VSI accomplish the adding of fast switching group, unification adopts the master to carry out the flow forwarding with PW through all VSI in the protection table control fast switching group in step 202.
Step 203: carry out fault detect with PW to main.
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 has fault, and each sense cycle can be set to 10ms.The master can detect fault about 30ms after breaking down with PW, can be through the mode of interrupting reporting, and notice UPE carries out flow and switches.
Step 204: when detecting the master, use the forwarding-table item that points to subsequent use PW to carry out the message forwarding through each VSI in the corresponding protection table control fast switching group of fast switching group with the PW fault.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 subsequent use PW; Close main MAC address learning function with PW; Deletion is main with all MAC Addresss of learning on the PW, treats that MAC Address all after the deletion, stops the MAC Address flooded broadcast that each VSI in the fast switching group carries out.
In this step, to the flow switching of broadcasting packet, the forwarding-table item that only need control the subsequent use PW of each VSI use sensing in the fast switching group carries out message to be transmitted and can realize, soon the protection table is revised as and indicates the forwarding-table item of the subsequent use PW of use sensing to get final product.Because this protection table can be controlled VSI all in the fast switching group, therefore, needn't make amendment to VSI one by one, need not make amendment to forwarding-table item yet, the forwarding-table item indication that only need 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 accomplishing together with fault detect.
Flow to 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 converts broadcasting packet into and transmits, and it is very short that time of flooded broadcast is set, even if also probably only need the time of 10ms such as the large scale network of 4000 VSI.After converting unicast traffic into broadcast traffic fast, because the forwarding-table item of the subsequent use PW of indication is adopted in the indication of protection table, flow can select subsequent use PW to transmit.In this simultaneously, the MAC address learning function of opening subsequent use PW makes that the unicast message between UPE and the NPE3 is sent from subsequent use PW; Close and delete the main MAC Address of learning with PW with main with the MAC address learning function of PW, thereby make UPE abandon next message, and can not transmit unicast message with PW after the UPE through main from NPE1.
After treating that main MAC Address deletion with PW study finishes; Stop the MAC Address flooded broadcast that each VSI in the fast switching group carries out; Because subsequent use PW carried out the study of MAC Address, and main with there not being MAC Address on the PW, so unicast message is only carried out normal unicast traffic from subsequent use PW and is transmitted.
In addition, in order to prevent that in main moment with the PW fault recovery, UPE receives autonomous double message with PW and subsequent use PW, 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 confirm 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 obviously need not carried out flow and switched for work at present PW.
Can adopt the IP address of opposite end (Peer) to identify for main with PW opposite end and subsequent use PW opposite end, when the Peer that for example works in the fast switching group is the Peer that breaks down, confirm that this fast switching group need carry out the flow switching.
Step 205: main with after the PW trouble shooting, use the main forwarding-table item of sensing to carry out message through each VSI in the corresponding protection table control fast switching group of fast switching group and transmit with PW.Each VSI is set in the fast switching group to carry out MAC Address and floods; Open main MAC address learning function with PW; Close main MAC address learning function with PW; Delete all MAC Addresss of learning on the subsequent use PW, treat that MAC Address all after the deletion, stops the MAC Address flooded broadcast that each VSI in the fast switching group carries out.
After main trouble shooting with PW; Can wait for and preset carry out this step after returning the time of cutting; Need in the prior art to return to each VSI one by one to cut; And the present invention can accomplish returning of all VSI and cuts through the pairing protection table of each VSI in the fast switching group is upgraded, 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 subsequent use PW from main with PW, and step 205 is to switch to the main PW that uses from subsequent use PW.
Equally, after the trouble shooting of a certain PW, confirm that at first PW with this trouble shooting is as main fast switching group with PW, to this this step of fast switching group execution.
Lifting a concrete instance below describes said method.With annexation shown in Figure 3 is example, supposes among the UPE to exist three VSI, and the solid line among the figure is that main use PW, dotted line be subsequent use PW, and leading between each VSI and NPE1 and the NPE2 is as shown in table 1 with PW and subsequent use PW.
Table 1
Main opposite end with PW | The opposite end of subsequent use PW | |
VSI1 | NPE1 | NPE2 |
VSI2 | NPE1 | NPE2 |
VSI3 | NPE2 | NPE1 |
Because VSI1, VSI2 adopt the identical main PW opposite end of using; Therefore; VSI1 and VSI2 are added same fast switching group 1;
VSI3 is different with VSI1 and VSI2, belongs 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 corresponding protection table of each fast switching group 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 through BFD; It is the PW fault between UPE and the NPE1; Then confirm with the PW that breaks down as main fast switching group, determine and be fast switching group 1, fast switching group 1 corresponding protection table is updated to indication adopts the message of the subsequent use PW of sensing to transmit with PW.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 NPE1; After accomplishing 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 through BFD, i.e. PW fault recovery between UPE and the NPE1 confirms that the PW with this fault recovery is main fast switching group 1 with PW, this fast switching group is returned cut operation.The protection table of controlling fast switching group 1 correspondence is updated to indication and adopts the sensing master to transmit with the message of 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 accomplishing 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 subsequent use PW, as shown in Figure 4, this device can comprise: initial setting up unit 401, fault detection unit 402 and forwarding control unit 403.
Initial setting up unit 401 is used for will adopting in advance identical main VSI with PW opposite end and subsequent use PW opposite end to add same fast switching group, sets up respectively to each VSI and points to main forwarding-table item and the forwarding-table item that points to subsequent use PW with PW.
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 unit 403, be used for moving just often with PW main, each VSI use in the control fast switching group is pointed to main forwarding-table item with PW and is carried out the message forwarding; When fault detection unit 402 detects mainly when breaking down with PW, each VSI in the control fast switching group uses the forwarding-table item that points to subsequent use PW to carry out message and transmits.
Wherein, transmitting control unit 403 can be the master with the PW operation just often, and each VSI that is provided with in the corresponding protection table indication fast switching group of fast switching group adopts the main forwarding-table item with PW of sensing; When fault detection unit detects mainly when breaking down with PW, each VSI that is provided with in corresponding this fast switching group of protection table indication of fast switching group adopts the forwarding-table item that points to subsequent use PW.
At this moment, this device can also comprise: message retransmission unit 404 is used for carrying out the forwarding of broadcasting packet according to the corresponding indicated forwarding-table item of protection table of fast switching group.
More preferably; Because when each VSI in this device divides with the PW opposite end according to the master who uses; Might have a plurality of fast switching group, therefore, this device can also comprise: switch group and confirm unit 405; Be used for when fault detection unit 402 detects a PW and breaks down, confirm that with the PW that breaks down be main fast switching group with PW.
Because the fast switching group of having only main PW to break down just need be carried out the flow switching, therefore, forwarding control unit 403 is directed against switches the operation that group confirms that unit 405 definite fast switching group execution are controlled.
The flow that just can accomplish broadcasting packet through said apparatus switches; For the flow that adapts to unicast message better switches; This device can also comprise: first function setting unit 406; Be used for the PW operation just often opening main MAC address learning function, close the MAC address learning function of subsequent use PW with PW main; Detect mainly when breaking down with PW at fault detection unit 402, the MAC address learning function of opening subsequent use PW is closed main MAC address learning function with PW, and deletion is main with the MAC Address of learning on the PW.
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 on first function setting unit 406 will be led with PW, learning stops flooded broadcast after all deleting.
In addition, this device can also comprise: second function setting unit 407.
Forwarding control module 403 is after fault detection unit 402 detects the main PW of using trouble shooting, and the forwarding-table item of master with PW pointed in each VSI employing that is provided with in the corresponding protection table indication fast switching group of fast switching group.
Second function setting unit 407 is used for when fault detection unit 402 detects the master with the PW trouble shooting, opens main MAC address learning function with PW, closes the MAC address learning function of subsequent use PW, deletes the MAC Address of learning on the subsequent use PW.
Message retransmission unit 404 also be used for fault detection unit 402 detect main with the PW trouble shooting after, each VSI in the fast switching group is carried out the MAC Address flooded broadcast of unicast message; All after the deletion, stop flooded broadcast at MAC Address that second function setting unit 407 is learnt on subsequent use PW.
Can find out that by above description method and apparatus provided by the invention has the following advantages:
1) the present invention adds same fast switching group through adopting identical main VSI with PW opposite end and subsequent use PW opposite end; Each VSI is carried out quick unified management; Switch adopting identical main VSI to carry out unified flow, switch and needn't carry out flow respectively to each VSI one by one with PW opposite end and subsequent use PW opposite end; And, set up the main forwarding-table item of sensing respectively to each VSI with PW and subsequent use PW, move just often with PW main, each VSI use in the control fast switching group is pointed to main forwarding-table item with PW and is carried out the message forwarding; Detect mainly when breaking down with PW, each VSI in the control fast switching group uses the forwarding-table item that points to subsequent use PW to carry out message and transmits.That is to say; Only need control to carry out using when message is transmitted which forwarding-table item; And the content that need when switching, not upgrade forwarding-table item makes it point to subsequent use PW; Promptly do not need to carry out hardware to each VSI one by one and reshuffle work, obviously shortened the time that flow switches greatly, guarantee quick switching time of operation level 50ms.
2) in addition; The present invention specifically provides concrete flow changing method to 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 assurance handoff procedure is less than 50ms.
3) the present invention is after the master is with the PW trouble shooting; Also provide concrete flow to return blanking method to broadcasting packet and unicast message; Cut that same broadcasting packet and the unicast message of guaranteeing all is 1 part time cutting the message that UPE and NPE receive in the process in the process returning, and to guarantee back that the flow in the process of cutting does not interrupt.
The above is merely preferred embodiment of the present invention, and is in order to restriction the present invention, not all within spirit of the present invention and principle, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope that the present invention protects.
Claims (11)
1. a virtual special local area network is served the method that flow switches in the VPLS network, is deployed be connected with user oriented operator edge network equipment UPE main with empty PW opposite end and the subsequent use PW opposite end of linking in the said VPLS network; To adopt identical main virtual switch instance VSI to add same fast switching group in advance, and set up respectively to each VSI and point to main forwarding-table item and the forwarding-table item that points to subsequent use PW with PW with PW opposite end and subsequent use PW opposite end; This method comprises:
The master of A, fast switching group moves just often with PW, and each VSI that controls in the said fast switching group uses the main forwarding-table item with PW of sensing to carry out the message forwarding;
B, detect mainly when breaking down, control each VSI in the said fast switching group and use the forwarding-table item that points to subsequent use PW to carry out message to transmit with PW.
2. method according to claim 1 is characterized in that, this method also comprises: corresponding each fast switching group is provided with the forwarding-table item that each VSI adopted that the protection table is used for indicating this fast switching group;
When the master of fast switching group with the PW operation just often, each VSI in corresponding this fast switching group of protection table indication of said fast switching group adopts and points to main forwarding-table item with PW;
When detecting said master and breaking down with PW, each VSI in corresponding this fast switching group of protection table indication of said fast switching group adopts the forwarding-table item that points to subsequent use PW.
3. method according to claim 1 is characterized in that, detects BFD through bi-directional failure said master is carried out fault detect with PW.
4. method according to claim 1; It is characterized in that; Said step B specifically comprises: when detecting a PW who is connected with said UPE and breaking down; Confirm that the PW that has broken down is main fast switching group with PW, each VSI in the fast switching group that control is confirmed uses the forwarding-table item that points to subsequent use 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 said steps A also comprises: open said main MAC address learning function, close the MAC address learning function of subsequent use PW with PW;
Said step B also comprises: each VSI in the said fast switching group is carried out the MAC address flooded broadcast of unicast message, and the MAC address learning function of opening subsequent use PW is closed main MAC address learning function with PW, and deletion is led with the MAC Address of learning on the PW; After treating that the master all deletes with the MAC Address of learning on the PW, stop the MAC Address flooded broadcast that each VSI carries out in the said fast switching group.
6. according to the described method of the arbitrary claim of claim 1 to 4; It is characterized in that said main with after the PW trouble shooting, each VSI that controls in the said 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 said fast switching group carried out the MAC Address flooded broadcast; Open main MAC address learning function, close the MAC address learning function of subsequent use PW, delete the MAC Address of learning on the subsequent use PW with PW; After treating that the MAC Address of learning on the subsequent use PW is all deleted, stop the MAC Address flooded broadcast that each VSI carries out in the said fast switching group.
7. flow device for switching in the VPLS network is deployed be connected with this device main with PW opposite end and subsequent use PW opposite end in this VPSL network; It is characterized in that this device comprises: initial setting up unit, fault detection unit and forwarding control unit;
Said initial setting up unit is used for will adopting in advance identical main VSI with PW opposite end and subsequent use PW opposite end to add same fast switching group, sets up respectively to each VSI and points to main forwarding-table item and the forwarding-table item that points to subsequent use PW with PW;
Said fault detection unit is used for the PW that is connected with this device is carried out fault detect;
Said forwarding control unit is used for said master with the PW operation just often, and each VSI that controls in the said fast switching group uses the main forwarding-table item with PW of sensing to carry out the message forwarding; When said fault detection unit detects said master and breaks down with PW, control each VSI in the said fast switching group and use the forwarding-table item that points to subsequent use PW to carry out message to transmit.
8. based on the described device of claim 7, it is characterized in that said forwarding control module said master with the PW operation just often is provided with the main forwarding-table item with PW of each VSI employing sensing in the corresponding protection table indication fast switching group of said fast switching group; When said fault detection unit detected said master and breaks down with PW, each VSI that is provided with in corresponding this fast switching group of protection table indication of said fast switching group adopted the forwarding-table item that points to subsequent use PW;
This device also comprises: the message retransmission unit is used for carrying out the forwarding of broadcasting packet according to the corresponding indicated forwarding-table item of protection table of said fast switching group.
9. device according to claim 7 is characterized in that, this device also comprises: switch group and confirm the unit, be used for when said fault detection unit detects a PW and breaks down, confirming that the PW that has broken down is main fast switching group with PW;
Said forwarding control module is organized the operation that the definite fast switching group of determining unit is carried out said control to said switching.
10. device according to claim 8; It is characterized in that this device also comprises: first function setting unit is used for said master with the PW operation just often; Open said main MAC address learning function, close the MAC address learning function of said subsequent use PW with PW; When said fault detection unit detected said master and breaks down with PW, the MAC address learning function of opening subsequent use PW was closed main MAC address learning function with PW, and deletion is led with the MAC Address of learning on the PW;
Said message retransmission unit also is used for when said fault detection unit detects said master and breaks down with PW, each VSI in the said fast switching group being carried out the MAC Address flooded broadcast of unicast message; The MAC Address of on said first function setting unit will be led with PW, learning stops said flooded broadcast after all deleting.
11. according to Claim 8 or 10 described devices, it is characterized in that this device also comprises: second function setting unit;
Said forwarding control module is after said fault detection unit detects the said main PW of using trouble shooting, and the forwarding-table item of master with PW pointed in each VSI employing that is provided with in the corresponding protection table indication fast switching group of said fast switching group;
Said second function setting unit is used for when said fault detection unit detects said master with the PW trouble shooting, opening main MAC address learning function with PW, closes the MAC address learning function of subsequent use PW, deletes the MAC Address of learning on the subsequent use PW;
Said message retransmission unit also be used for said fault detection unit detect said main with the PW trouble shooting after, each VSI in the said fast switching group is carried out the MAC Address flooded broadcast of unicast message; All after the deletion, stop said flooded broadcast at MAC Address that said second function setting unit is learnt on subsequent use PW.
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 CN101572666A (en) | 2009-11-04 |
CN101572666B true 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) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102064995B (en) | 2009-11-18 | 2012-12-19 | 中兴通讯股份有限公司 | Method and device for link protection in virtual private local area network |
CN101710877B (en) * | 2009-12-04 | 2012-02-15 | 华为技术有限公司 | Method, device and system for processing traffic flow based on pseudowire |
CN101777996B (en) * | 2009-12-29 | 2013-04-10 | 中兴通讯股份有限公司 | Device and method for realizing switching primary and spare 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 |
CN102437919B (en) * | 2010-09-29 | 2015-05-27 | 中国电信股份有限公司 | Access router and link reliability protection method |
CN102647485B (en) * | 2012-04-16 | 2017-11-10 | 中兴通讯股份有限公司 | MAC Address cancelling method and node |
CN103457817B (en) * | 2012-05-30 | 2018-03-16 | 中兴通讯股份有限公司 | The guard method of PW+L3VPN a kind of and system |
CN107846356B (en) | 2016-09-19 | 2020-02-11 | 新华三技术有限公司 | Method and device for fast switching between main pseudo wire and standby pseudo wire |
CN109600310A (en) * | 2018-12-21 | 2019-04-09 | 安徽皖兴通信息技术有限公司 | A kind of pw linear protection function switchback method of vpls |
CN112187578B (en) * | 2020-09-28 | 2022-11-25 | 新华三信息安全技术有限公司 | Table entry generation method, device and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123531A (en) * | 2006-12-30 | 2008-02-13 | 华为技术有限公司 | 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 |
-
2009
- 2009-06-05 CN CN2009100865299A patent/CN101572666B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101123531A (en) * | 2006-12-30 | 2008-02-13 | 华为技术有限公司 | 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 |
Also Published As
Publication number | Publication date |
---|---|
CN101572666A (en) | 2009-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101572666B (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 | |
US9794194B2 (en) | Relay system and switching device | |
EP2001170B1 (en) | Ring-shaped redundant communication path control method | |
CN102148677B (en) | Method for updating address resolution protocol table entries and core switch | |
CN100512148C (en) | Convergence method and device based on VPLS dual home full connection network | |
US9030929B2 (en) | Redundant control device and network system | |
CN103051536A (en) | Quick multicast switching method of two-layer redundant link | |
US9590815B2 (en) | Relay system and switching device | |
CN101436945B (en) | Method, system and apparatus for protecting multicast business fault | |
CN104518960B (en) | A kind of method, equipment and the system of the switchback that is delayed | |
CN102142948A (en) | Data forwarding method, device and system | |
CN105282631B (en) | The system and method for electric layer linear protection is realized in POTN | |
JP6295137B2 (en) | Relay system and switch device | |
CN1980155A (en) | Method for recovering sponsor media accessing control address and operation businesss edge apparatus | |
JP5618946B2 (en) | Communication apparatus and communication system | |
CN103036781B (en) | A kind of main path link failure processing method and device | |
CN107547347B (en) | VNI-based path adjustment method and device | |
CN104753754A (en) | Method and apparatus for transmitting messages | |
CN103973537B (en) | A kind of looped network with failure protection function and the fault protecting method for looped network | |
CN102724128A (en) | Message forwarding method and equipment for multi-protocol label switching (MPLS) layer 3 virtual private network (L3VPN)-based for dual-homing networking | |
CN104601381A (en) | Method and equipment for preventing flow interruption | |
CN105812152A (en) | Ethernet ring network fault notification method | |
KR102166876B1 (en) | Control switch method for solving problem of controller in software defined 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. |