Nothing Special   »   [go: up one dir, main page]

CN101667970A - Protection switching method and equipment thereof - Google Patents

Protection switching method and equipment thereof Download PDF

Info

Publication number
CN101667970A
CN101667970A CN200910180033A CN200910180033A CN101667970A CN 101667970 A CN101667970 A CN 101667970A CN 200910180033 A CN200910180033 A CN 200910180033A CN 200910180033 A CN200910180033 A CN 200910180033A CN 101667970 A CN101667970 A CN 101667970A
Authority
CN
China
Prior art keywords
path
lsp tunnel
label
vpn
lsp
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
CN200910180033A
Other languages
Chinese (zh)
Other versions
CN101667970B (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 CN200910180033A priority Critical patent/CN101667970B/en
Publication of CN101667970A publication Critical patent/CN101667970A/en
Application granted granted Critical
Publication of CN101667970B publication Critical patent/CN101667970B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a protection switching method and equipment thereof. The method is used for PE in MPLS L3VPN, the PE is provided with a primary path and a standby path about a called route, and a forwarding table of the PE is previously memorized with a primary inner layer mark corresponding to the primary path and a standby inner layer mark corresponding to the standby path. The method comprises the steps of: when occurring path switching, obtaining the switched path attribute and a corresponding outer layer mark, wherein the path attribute comprises the primary path or the standby path; obtaining the corresponding inner layer mark according to the switched path attribute in the forwarding table; and enveloping and transmitting a report with the obtained outer layer mark and the inner network mark. The invention realizes the fast switching of the inner layer mark and an outer network mark of the path when switching the primary path with the standby path.

Description

Protection reverse method and equipment
Technical field
The present invention relates to communication field, relate in particular to a kind of protection reverse method and equipment.
Background technology
MPLS (Multi-Protocol Label Switch, multiprotocol label switching) VPN (VirtualPrivate Network, Virtual Private Network) it is a kind of based on PE (ProviderEdge in the vpn solution to provide the merchant, service provider edge router) L3VPN (Layer3 VPN, three-layer VPN) technology, it uses BGP (Border Gateway Protocol, Border Gateway Protocol) issue VPN route in service provider backbone network uses MPLS to transmit the VPN message on service provider backbone.BGP/MPLS VPN networking mode is flexible, extensibility good, and can support MPLS QoS (Quality of Service, service quality) and MPLS TE (Traffic Engineering, traffic engineering) easily, is therefore more and more used.
In the prior art schematic diagram of typical B GP/MPLS VPN networking plan as shown in Figure 1, comprising:
Site (VPN user site): the isolated IP network as among the VPN does not then have connectedness when not connecting by backbone network between the in general different Site.
CE (Customer Edge Router, Customer Edge router): CE is a router normally, when CE with after the PE that directly links to each other sets up neighborhood, CE is distributed to PE to the VPN route of this node, and acquires the route of far-end VPN from PE.Use the BGP/IGP exchanging routing information between CE and the PE, also can use static routing.
P (Provider Router, service provider's router):, be responsible for MPLS and transmit as the backbone network core router.
PE (Provider Edge Router, service provider edge router): as the backbone network edge router, storage VPN Instance (VPN instance) handles the VPN route, is the main implementor of MPLS three-layer VPN; After PE learns the VPN route of CE this locality from CE, by BGP and other PE switched vpc N route.Information in the VPN instance comprises: Label Forwarding Information Base, IP route table, with the interface of VPN instance binding and the management information of VPN instance.The management information of VPN instance comprises RD (Route Distinguisher, Route Distinguisher), route filtering strategy, member interface tabulation etc.Belong to physical port or the corresponding VPN instance of logic port of same VPN on PE equipment, VPN instance can dispose by order line or webmaster instrument.When transmission VPN flow on the MPLS backbone network, entry PE is as Ingress (inlet) LSR (Label Switching Router, LSR), and outlet PE is as Egress (outlet) LSR, and the P router is then as Transit LSR.
In basic L3VPN used, message was transmitted the two-layer label mode that adopts:
Ground floor (Layer 1, skin) label exchanges in backbone network inside, a LSP (Label Switch Path, the label switched path) tunnel of indication from PE to opposite end PE.Message from an end PE sends by carrying this outer layer label, can be forwarded to by the lsp tunnel corresponding with this outer layer label and arrive opposite end PE;
The second layer (Layer 2, internal layer) label uses when purpose CE transmits from opposite end PE at message, also can be called private network tags, and which Site the indication message should be sent to, and promptly arrives which CE.Opposite end PE can get access to the outgoing interface of message to be transmitted according to vpn label, by this outgoing interface message is forwarded to purpose CE.
In particular cases, two Site that belong to same VPN are connected to same PE through different CE, in this case for the message that sends from an end CE wherein, only need know that how it being forwarded to opposite end CE gets final product.
Based on above-mentioned schematic network structure shown in Figure 1, Site1 comprises to the flow process that Site2 sends message in the prior art:
(1) Site 1 sends the IP message that destination address is 1.1.1.2, by CE 1 message is sent to PE 1.
(2) PE 1 adds vpn label and outer layer label according to receiving the interface of message and the destination address of message is searched VPN instance according to the VPN instance that matches on message, afterwards message is transmitted by the MPLS network.
(3) P in the MPLS network is sent to PE 2 according to the outer layer label of message with message; Wherein message utilizes PHP (Penultimate Hop Popping, the last two jump is ejected) characteristic when arriving the previous dive of PE 2, and outer layer label is stripped from, and message only comprises vpn label.
(4) PE 2 searches VPN instance according to the vpn label and the destination address of message, determines the outgoing interface of message, and message is forwarded to CE 2.
(5) CE 2 sends to destination address according to normal IP repeating process with message.
In order to improve the reliability of network, the method based on the path redundancy protection is provided in the prior art, be example with networking scene shown in Figure 2, the specific implementation of the redundancy protecting of flow from CE3 to CE1 has been described.
Among Fig. 2, the route among the CE1 is published to PE3 by two paths, and a paths is CE1-〉PE1-〉PE3, as main path; Another is CE1-〉PE2-〉PE3, as being equipped with the path.When the collapse of PE1 equipment, when perhaps the path connectivity between PE1 and the PE3 is out of order, enable path fully, be equipped with converting flow on the path.
For PE equipment, be vpn label of each bar route assignment of learning from CE, perhaps be vpn labels of all route assignment (private network tags) that come from a CE.Because each PE goes up the independent label that divides, therefore in the same VPN, for same route or same CE, the vpn label of Fen Peiing also generally is inequality so.With networking scene shown in Figure 2 is example, all learns the route that purpose is CE1 from CE1 for PE1 and PE2., and the two distributes a vpn label respectively to the route of learning, and in general is different.
When message is transmitted, need add vpn label (private network tags) earlier on the path, add outer layer label (lsp tunnel label).And outer layer label main path be equipped with the path on be respectively to distribute by different PE, in general be different.On the PE3 equipment as shown in Figure 2, main path corresponding outer layer label is distributed to PE3 by PE1, and being equipped with path corresponding outer layer label is that PE2 distributes to PE3.When therefore if main path breaks down, then PE3 need carry out the path switching, needs simultaneously the vpn label and the outer layer label of current use are all replaced.For example PE3 switches preceding use main path and carries out the message forwarding, and then PE3 need use vpn label and the outer layer label that PE1 distributes, and then after switching generation, PE3 need use the vpn label and the outer layer label of PE2 distribution.
Problems of the prior art are: every route or each CE have a main vpn label and one to be equipped with vpn label; Like this under the situation of numerous VP N and a large amount of CE websites, under the situation such as several thousand CE websites,, need to switch the vpn label and the outer net label of several thousand paths when main path with when being equipped with the path and switching.Therefore be difficult to satisfy the requirement of the fast quick-recovery of fault of some application.
Summary of the invention
The invention provides a kind of protection reverse method and equipment, be used at main path and when being equipped with the path and switching, the quick switching of the vpn label of realizing route and outer net label.
The invention provides a kind of protection reverse method; be applied to the Provider Edge routing device PE among the multiprotocol label switching MPLS Layer3 Virtual Private Network L3VPN; dispose primary path and backup path on the described PE about accessed route; store the main standby vpn label with vpn label and described backup path correspondence of described primary path correspondence in the transmitting of described PE in advance, described method comprises:
When the path switching takes place, obtain switched path attribute and corresponding outer layer label, described path attribute comprises primary path or backup path;
In described transmitting, obtain corresponding inner layer mark according to switched path attribute;
Described outer layer label that use is obtained and Intranet label carry out the encapsulation and the forwarding of message.
Wherein, when switch in described generation path, obtain switched path attribute and comprise:
When the path switching takes place, obtain the label switching path LSP Tunnel Identifier that carries in transmitting;
Obtain lsp tunnel according to the lsp tunnel sign, when described lsp tunnel was primary path, then switched path attribute was a primary path; When described lsp tunnel was backup path, then switched path attribute was a backup path.
Wherein, describedly obtain lsp tunnel according to lsp tunnel sign and comprise: search the lsp tunnel list item according to the lsp tunnel sign, comprise the lsp tunnel sign of the lsp tunnel of having set up, active and standby mark, label stack information and the outgoing interface of lsp tunnel in the described lsp tunnel list item;
Describedly obtain corresponding outer layer label and comprise:, obtain the outer layer label of described lsp tunnel according to described label stack information.
Wherein, also comprise: when finding that current path breaks down, before generation is switched in the path, in described lsp tunnel list item, use the lsp tunnel sign of the lsp tunnel that switches the rear path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel, replace the lsp tunnel sign of the lsp tunnel that switches preceding path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel.
Wherein, when switch in described generation path, obtain switched path attribute and corresponding outer layer label before, also comprise:
Obtain the main standby vpn label of described primary path correspondence, and store into and transmit with vpn label and described backup path correspondence.
The present invention also provides a kind of Provider Edge routing device PE, is applied to dispose primary path and backup path about accessed route on the described PE among the MPLS Layer3 Virtual Private Network L3VPN, and described PE comprises:
Transmit memory cell, be used to store the main standby vpn label of described primary path correspondence with vpn label and described backup path correspondence;
Switch rear path attribute acquiring unit, be used for when the path switching takes place, obtain switched path attribute and corresponding outer layer label, described path attribute comprises primary path or backup path;
The vpn label acquiring unit is used for the switched path attribute obtained according to described switching rear path attribute acquiring unit, obtains corresponding inner layer mark described transmitting in the transmitting of cell stores;
The message encapsulation unit, the Intranet label that is used to use described outer layer label that described switching rear path attribute acquiring unit obtains and described vpn label acquiring unit to obtain carries out the encapsulation and the forwarding of message.
Wherein, described switching rear path attribute acquiring unit specifically is used for:
The path taking place when switching, obtains the described label switching path LSP Tunnel Identifier that carries in the transmitting of cell stores of transmitting; Obtain lsp tunnel according to the lsp tunnel sign, when described lsp tunnel was primary path, then switched path attribute was a primary path; When described lsp tunnel was backup path, then switched path attribute was a backup path.
Wherein, also comprise lsp tunnel list item memory cell, be used to store the lsp tunnel sign of the lsp tunnel of having set up, active and standby mark, label stack information and the outgoing interface of lsp tunnel;
Described switching rear path attribute acquiring unit specifically is used for, and is identified at according to lsp tunnel in the content of described lsp tunnel list item cell stores and searches the lsp tunnel list item; And, obtain the outer layer label of described lsp tunnel according to the label stack information of described lsp tunnel list item cell stores.
Wherein, also comprise: lsp tunnel entry updating unit, be used to find when current path breaks down the path switch take place before, in the lsp tunnel list item of described lsp tunnel list item cell stores, use the lsp tunnel sign of the lsp tunnel that switches the rear path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel, replace the lsp tunnel sign of the lsp tunnel that switches preceding path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel.
Wherein, also comprise: transmit updating block, be used to obtain the main standby vpn label of described primary path correspondence, and send to the described memory cell of transmitting with vpn label and described backup path correspondence.
Compared with prior art, the present invention has the following advantages:
Stored the main standby vpn label of primary path correspondence in the transmitting on PE in advance with vpn label and backup path correspondence, path after basis is switched when path switching takes place is that primary path still is that backup path is selected corresponding inner layer mark and outer layer label, avoided when path switching takes place, refreshing a large amount of forwarding-table items again, improved path switching speed.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic diagram of BGP/MPLS VPN networking plan in the prior art;
Fig. 2 is the network diagram based on the path redundancy protection of MPLS VPN in the prior art;
Fig. 3 is the flow chart of the protection reverse method that provides among the present invention;
Fig. 4 is the structural representation of transmitting of providing among the present invention and lsp tunnel list item;
Fig. 5 is the structural representation of one group of networking scene providing among the present invention;
Fig. 6 is the structural representation of the PE that provides among the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
The invention provides a kind of protection reverse method; be applied to the PE among the MPLS L3VPN; dispose primary path and backup path on this PE about accessed route; store the main standby vpn label of primary path correspondence in the transmitting of PE in advance with vpn label and backup path correspondence; this method comprises as shown in Figure 3:
When step s301, the switching of generation path, obtain switched path attribute and corresponding outer layer label, path attribute comprises primary path or backup path;
Step s302, in transmitting, obtain corresponding inner layer mark according to switched path attribute;
Encapsulation and forwarding that outer layer label that step s303, use are obtained and Intranet label carry out message.
In MPLS L3VPN scene, to carry out in the process of active-standby path switching, the information that need change comprises: vpn label (being private network tags) and corresponding lsp tunnel.According to the realization in the prior art scheme, carry out the switching of primary path and backup path if desired, need to refresh one by one transmitting and the lsp tunnel list item among the PE so, this refresh process will be very slow under the bigger situation of list item quantity, thereby influence the speed that switch in the path.
In the protection reverse method provided by the invention,, transmitting with the lsp tunnel list item among the PE revised in order to support to switch fast.Wherein, increase standby private network tags in transmitting, increasing current lsp tunnel in the lsp tunnel list item is main path or the sign that is equipped with the path.After increasing foregoing, as shown in Figure 4:
Content in transmitting comprises:
◆ the master uses vpn label, is used to identify the main vpn label of using of primary path correspondence;
◆ standby vpn label is used to identify the standby vpn label of backup path correspondence;
◆ the index of lsp tunnel or pointer, as the lsp tunnel sign, be used to indicate employed lsp tunnel, according to the index or the pointer of this lsp tunnel, can know corresponding lsp tunnel list item.
Content comprises in the lsp tunnel list item:
◆ lsp tunnel index/pointer:, be used to identify lsp tunnel as the lsp tunnel sign;
◆ Flag (active and standby mark): being used to identify this lsp tunnel is primary path or backup path, for example represents primary path with Main, and Backup represents backup path;
◆ LSP Label Stack (LSP label stack): be used to deposit outer layer label (being the public network label);
◆ Out Interface (outgoing interface): the outgoing interface that is used to identify lsp tunnel.
According to above-mentioned transmitting (being generally the FTN list item) and lsp tunnel list item, can transmit and handle and the path switching processing.
When carrying out the message forwarding, PE at first by the VPN ID and the purpose IP of message, searches FTN (FEC To NHLFE map, the mapping of FEC to NHLFE) and transmits, and gets access to corresponding main vpn label and the standby vpn label used.Wherein, FEC is (Forwarding Equivalence Class) forwarding equivalence class, and NHLFE (Next Hop Label forwarding Entry) is next redirect clockwork spring order.Simultaneously index or the pointer according to lsp tunnel in the FTN list item finds lsp tunnel, obtains the active and standby mark in the lsp tunnel, if mark is Main, then obtains from FTN transmits and mainly uses vpn label, otherwise obtain the standby vpn label of FTN in transmitting.
PE is message encapsulate inner layer label and public network label according to the label stack information acquisition public network label information in the lsp tunnel information afterwards, according to 2 layers of link header of outgoing interface information encapsulation, the port of message appointment from the lsp tunnel list item is forwarded again.
When finding that current path breaks down, judgement need be carried out the switching of primary path and backup path, owing to when primary path is effective, just all added to during FTN transmits with vpn label and standby vpn label main, thus the path when switching the FTN table do not need renewal.Only need with the tunnel information on the lsp tunnel information replacement main path that is equipped with on the path, the lsp tunnel pointer in transmitting in replacement process is constant; Then the active and standby sign in the lsp tunnel list item is changed to Backup.Concrete, before generation is switched in the path, in the lsp tunnel list item, use the lsp tunnel sign of the lsp tunnel that switches the rear path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel, replace the lsp tunnel sign of the lsp tunnel that switches preceding path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel.Directly switch in the laggard walking along the street that finishes of lsp tunnel entry updating, can obtain switched path attribute and corresponding outer layer label, and then in transmitting, obtain corresponding inner layer mark according to switched path attribute according to the lsp tunnel list item after this renewal; And encapsulation and the forwarding of using the outer layer label obtain and Intranet label to carry out message.
The embodiment of protection reverse method among the present invention is described below in conjunction with a concrete application scenarios:
Having set up two VPN in the application scenarios of the present invention, is respectively VPN1 and VPN2, and FEC and the label information of VPN1 identify with grey font, and FEC and the label information of VPN2 identify with black font.
Wherein, CE1 and CE3 belong to VPN1, and CE2 and CE4 belong to VPN2, and CE1 is connected to PE1 simultaneously and PE2 formation CE is dual-homed; CE2 is connected to PE1 simultaneously and PE2 formation CE is dual-homed.For VPN1, CE3-PE3-PE1-CE1 is a main path, and CE3-PE3-PE2-CE1 is a backup path; For VPN2, CE4-PE3-PE1-CE2 is a main path, and CE4-PE3-PE2-CE2 is a backup path.Promptly for PE3, disposing primary path and backup path about accessed route CE1 and CE2 on the PE3, also is that CE is dual-homed.
The information of lsp tunnel is as follows in this networking scene: the lsp tunnel label 1024 that PE1 distributes to PE3 is main tunnel labels; The tunnel label 1025 that PE2 distributes to PE3 is backup tunnel labels; Before not switching, what the current reality of PE3 was used is main tunnel, supposes that the lsp tunnel index is 0, and the form of lsp tunnel list item can be as shown in table 1:
The content of table 1.LSP tunnel list item
Lsp tunnel information
Lsp tunnel ??0
Flag (active and standby mark) Main (main using)
??LSP?Label?Stack ??1024
??Out?Interface The interface that connects PE1
It is 4096 with private network tags that VPN1 private network tags information: PE1 distributes to the main of PE3, and the standby private network tags that PE2 distributes to PE3 is 8192; The FTN forwarding-table item content of the last VPN1 of PE3 is as shown in table 2:
The content of table 2.FTN forwarding-table item
1.1.1.1/24 FTN information
The main private network tags of using ??4096
Standby private network tags ??8192
The lsp tunnel index ??0
It is 4097 with private network tags that VPN2 private network tags information: PE1 distributes to the main of PE3, and the standby private network tags that PE2 distributes to PE3 is 8193; The FTN forwarding-table item content of the last VPN2 of PE3 is as shown in table 3:
The content of table 3.FTN forwarding-table item
1.1.1.1/24 FTN information
The main private network tags of using ??4097
Standby private network tags ??8193
The lsp tunnel index ??0
But when the main path PE3-PE1 time spent, on PE3, for all getting the main vpn label of using from the message of VPN1 and VPN2 (for the message use 4096 of VPN1, use 4097 for the message of VPN2) and mainly form label stacks with lsp tunnel label 1024, for being forwarded to PE1 behind the message interpolation vpn label that receives from CE and the outer layer label.In case main path PE3-PE1 interrupts, enable when being equipped with path P E3-PE2, the FTN of VPN1 and VPN2 transmits all not to be needed to refresh, and only needs the list item of lsp tunnel shown in the table 1 is revised as lsp tunnel list item as shown in table 4:
The content of table 4.LSP tunnel list item
Lsp tunnel information
Self lsp tunnel index ??0
Flag (active and standby mark) Backup (standby)
??LSP?Label ??1025
??Out?Interface The interface that connects PE2
At this moment, after the path switching is finished, on PE3, (message for VPN1 uses 8192 for all get standby vpn label from the message of VPN1 and VPN2, use 8293 for the message of VPN2) and lsp tunnel label 1025 form label stacks, for being forwarded to PE1 behind the message interpolation vpn label that receives from CE and the outer layer label.
By said method provided by the invention, stored the main standby vpn label of primary path correspondence in the transmitting on PE in advance with vpn label and backup path correspondence, path after basis is switched when path switching takes place is that primary path still is that backup path is selected corresponding inner layer mark and outer layer label, avoided when path switching takes place, refreshing a large amount of forwarding-table items again, improved path switching speed.No matter in each VPN how many bar VPN routes are arranged, only need to carry out the switching of a tunnel list item, than being easier to realize that 50 milliseconds of carrier-class protections switch requirement.
The present invention also provides a kind of PE, is applied to dispose primary path and backup path about accessed route on the PE among the MPLS Layer3 Virtual Private Network L3VPN, and as shown in Figure 6, this PE comprises:
Transmit memory cell 10, be used to store the main standby vpn label of primary path correspondence with vpn label and backup path correspondence;
Switch rear path attribute acquiring unit 20, be used for when the path switching takes place, obtain switched path attribute and corresponding outer layer label, path attribute comprises primary path or backup path;
Vpn label acquiring unit 30 is used for according to switching the switched path attribute that rear path attribute acquiring unit 20 obtains, and obtains corresponding inner layer mark in transmitting the transmitting of memory cell 10 storages;
Message encapsulation unit 40 is used to use and switches the Intranet label that outer layer label that rear path attribute acquiring unit 20 obtains and vpn label acquiring unit 30 obtain and carry out the encapsulation and the forwarding of message.
Concrete, this PE can also comprise:
Lsp tunnel list item memory cell 50 is used to store the lsp tunnel sign of the lsp tunnel of having set up, active and standby mark, label stack information and the outgoing interface of lsp tunnel; According to the content of this unit storage, when the path switching takes place, switch rear path attribute acquiring unit 20 and specifically be used for: obtain and transmit the lsp tunnel sign that transmitting of memory cell 10 storages carried; Be identified at according to lsp tunnel in the content of lsp tunnel list item memory cell 40 storage and search the lsp tunnel list item; When lsp tunnel was primary path, then switched path attribute was a primary path; When lsp tunnel was backup path, then switched path attribute was a backup path.In addition, switch the label stack information of rear path attribute acquiring unit 20, obtain the outer layer label of lsp tunnel according to the lsp tunnel list item of lsp tunnel list item memory cell 40 storages.
Lsp tunnel entry updating unit 60, when being used to find that current path breaks down, before generation is switched in the path, in the lsp tunnel list item of lsp tunnel list item memory cell 40 storages, use the lsp tunnel sign of the lsp tunnel that switches the rear path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel, replace the lsp tunnel sign of the lsp tunnel that switches preceding path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel.
Transmit updating block 70, be used to obtain the main standby vpn label of primary path correspondence, and send to and transmit memory cell 10 with vpn label and backup path correspondence.
By the said equipment provided by the invention, stored the main standby vpn label of primary path correspondence in the transmitting on PE in advance with vpn label and backup path correspondence, path after basis is switched when path switching takes place is that primary path still is that backup path is selected corresponding inner layer mark and outer layer label, avoided when path switching takes place, refreshing a large amount of forwarding-table items again, improved path switching speed.No matter in each VPN how many bar VPN routes are arranged, only need to carry out the switching of a tunnel list item, than being easier to realize that 50 milliseconds of carrier-class protections switch requirement.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by hardware, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, unit in the accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the unit in the device among the embodiment can be distributed in the device of embodiment according to the embodiment description, also can carry out respective change and be arranged in the one or more devices that are different from present embodiment.A unit can be merged in the unit of the foregoing description, also can further split into a plurality of subelements.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.

Claims (10)

1, a kind of protection reverse method; it is characterized in that; be applied to the Provider Edge routing device PE among the multiprotocol label switching MPLS Layer3 Virtual Private Network L3VPN; dispose primary path and backup path on the described PE about accessed route; store the main standby vpn label with vpn label and described backup path correspondence of described primary path correspondence in the transmitting of described PE in advance, described method comprises:
When the path switching takes place, obtain switched path attribute and corresponding outer layer label, described path attribute comprises primary path or backup path;
In described transmitting, obtain corresponding inner layer mark according to switched path attribute;
Described outer layer label that use is obtained and Intranet label carry out the encapsulation and the forwarding of message.
2, the method for claim 1 is characterized in that, when switch in described generation path, obtains switched path attribute and comprises:
When the path switching takes place, obtain the label switching path LSP Tunnel Identifier that carries in transmitting;
Obtain lsp tunnel according to the lsp tunnel sign, when described lsp tunnel was primary path, then switched path attribute was a primary path; When described lsp tunnel was backup path, then switched path attribute was a backup path.
3, method as claimed in claim 2, it is characterized in that, describedly obtain lsp tunnel according to lsp tunnel sign and comprise: search the lsp tunnel list item according to the lsp tunnel sign, comprise the lsp tunnel sign of the lsp tunnel of having set up, active and standby mark, label stack information and the outgoing interface of lsp tunnel in the described lsp tunnel list item;
Describedly obtain corresponding outer layer label and comprise:, obtain the outer layer label of described lsp tunnel according to described label stack information.
4, method as claimed in claim 3 is characterized in that, also comprises:
When finding that current path breaks down, before generation is switched in the path, in described lsp tunnel list item, use the lsp tunnel sign of the lsp tunnel that switches the rear path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel, replace the lsp tunnel sign of the lsp tunnel that switches preceding path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel.
5, as each described method in the claim 1 to 4, it is characterized in that, when switch in described generation path, obtain switched path attribute and corresponding outer layer label before, also comprise:
Obtain the main standby vpn label of described primary path correspondence, and store into and transmit with vpn label and described backup path correspondence.
6, a kind of Provider Edge routing device PE is characterized in that, is applied to dispose primary path and backup path about accessed route on the described PE among the MPLS Layer3 Virtual Private Network L3VPN, and described PE comprises:
Transmit memory cell, be used to store the main standby vpn label of described primary path correspondence with vpn label and described backup path correspondence;
Switch rear path attribute acquiring unit, be used for when the path switching takes place, obtain switched path attribute and corresponding outer layer label, described path attribute comprises primary path or backup path;
The vpn label acquiring unit is used for the switched path attribute obtained according to described switching rear path attribute acquiring unit, obtains corresponding inner layer mark described transmitting in the transmitting of cell stores;
The message encapsulation unit, the Intranet label that is used to use described outer layer label that described switching rear path attribute acquiring unit obtains and described vpn label acquiring unit to obtain carries out the encapsulation and the forwarding of message.
7, PE as claimed in claim 6 is characterized in that, described switching rear path attribute acquiring unit specifically is used for:
The path taking place when switching, obtains the described label switching path LSP Tunnel Identifier that carries in the transmitting of cell stores of transmitting; Obtain lsp tunnel according to the lsp tunnel sign, when described lsp tunnel was primary path, then switched path attribute was a primary path; When described lsp tunnel was backup path, then switched path attribute was a backup path.
8, PE as claimed in claim 7 is characterized in that,
Also comprise lsp tunnel list item memory cell, be used to store the lsp tunnel sign of the lsp tunnel of having set up, active and standby mark, label stack information and the outgoing interface of lsp tunnel;
Described switching rear path attribute acquiring unit specifically is used for, and is identified at according to lsp tunnel in the content of described lsp tunnel list item cell stores and searches the lsp tunnel list item; And, obtain the outer layer label of described lsp tunnel according to the label stack information of described lsp tunnel list item cell stores.
9, PE as claimed in claim 8 is characterized in that, also comprises:
Lsp tunnel entry updating unit, when being used to find that current path breaks down, before generation is switched in the path, in the lsp tunnel list item of described lsp tunnel list item cell stores, use the lsp tunnel sign of the lsp tunnel that switches the rear path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel, replace the lsp tunnel sign of the lsp tunnel that switches preceding path correspondence, active and standby mark, label stack information and the outgoing interface of lsp tunnel.
10, as each described PE in the claim 6 to 9, it is characterized in that, also comprise:
Transmit updating block, be used to obtain the main standby vpn label of described primary path correspondence, and send to the described memory cell of transmitting with vpn label and described backup path correspondence.
CN200910180033A 2009-10-23 2009-10-23 Protection switching method and equipment thereof Active CN101667970B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910180033A CN101667970B (en) 2009-10-23 2009-10-23 Protection switching method and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910180033A CN101667970B (en) 2009-10-23 2009-10-23 Protection switching method and equipment thereof

Publications (2)

Publication Number Publication Date
CN101667970A true CN101667970A (en) 2010-03-10
CN101667970B CN101667970B (en) 2012-09-26

Family

ID=41804415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910180033A Active CN101667970B (en) 2009-10-23 2009-10-23 Protection switching method and equipment thereof

Country Status (1)

Country Link
CN (1) CN101667970B (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820395A (en) * 2010-05-19 2010-09-01 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101860482A (en) * 2010-05-25 2010-10-13 中兴通讯股份有限公司 Two-layer virtual private network fast re-route method and device
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network
CN102064961A (en) * 2010-12-02 2011-05-18 中兴通讯股份有限公司 Multilayer protection method and device
CN102315972A (en) * 2011-10-14 2012-01-11 杭州华三通信技术有限公司 Method for realizing label switching path (LSP) switching and device
CN102377601A (en) * 2011-10-14 2012-03-14 杭州华三通信技术有限公司 LSP (Local Switched Path) fault notification method and LSP fault notification device
CN102638413A (en) * 2012-05-14 2012-08-15 杭州华三通信技术有限公司 Route issuing method and provider edge device
WO2012122936A1 (en) * 2011-03-14 2012-09-20 Hangzhou H3C Technologies Co., Ltd Switching to a backup traffic path by a label switching router in a multi-protocol label switching network
CN102870432A (en) * 2012-06-20 2013-01-09 华为技术有限公司 Method, system and node device for recovery path establishment
CN103166846A (en) * 2013-03-27 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device
CN103259721A (en) * 2013-04-16 2013-08-21 杭州华三通信技术有限公司 Message transmitting method and device in SPBM network
CN103326943A (en) * 2012-03-23 2013-09-25 日电(中国)有限公司 Data stream rerouting method and controller
WO2015024408A1 (en) * 2013-08-21 2015-02-26 中兴通讯股份有限公司 Tunnel switching method, device and switch
CN104954248A (en) * 2014-03-27 2015-09-30 华为技术有限公司 Message transmission protection switching method, equipment and system
CN107332696A (en) * 2017-06-15 2017-11-07 烽火通信科技股份有限公司 Solve the out of order system and method for relaying configuration
CN108494474A (en) * 2018-03-23 2018-09-04 烽火通信科技股份有限公司 Realize that business is superimposed the method and system of pretection switch using OAM message
CN109547269A (en) * 2019-01-04 2019-03-29 烽火通信科技股份有限公司 A kind of IP RAN equipment realizes the method and device of LSP protection
CN109873766A (en) * 2019-03-29 2019-06-11 北京华三通信技术有限公司 Message transmitting method and device
CN110572317A (en) * 2019-07-16 2019-12-13 烽火通信科技股份有限公司 Method and system for realizing dynamic ARP hot backup in telecommunication network
CN115037677A (en) * 2022-04-02 2022-09-09 烽火通信科技股份有限公司 Method and device for protecting frr scene

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100372295C (en) * 2004-02-21 2008-02-27 华为技术有限公司 Method for supressing oscillation of multi-protocol tag exchange tunnel in virtual private netwrok
CN1909501A (en) * 2005-08-05 2007-02-07 华为技术有限公司 Method for end to end service rapid convergence and route device
FR2906426A1 (en) * 2006-09-25 2008-03-28 France Telecom SYSTEM FOR SECURING ACCESS TO A DESTINATION OF A VIRTUAL PRIVATE NETWORK

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101820395A (en) * 2010-05-19 2010-09-01 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101820395B (en) * 2010-05-19 2012-11-28 杭州华三通信技术有限公司 Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN101860482A (en) * 2010-05-25 2010-10-13 中兴通讯股份有限公司 Two-layer virtual private network fast re-route method and device
WO2011147299A1 (en) * 2010-05-25 2011-12-01 中兴通讯股份有限公司 Fast reroute method and apparatus in layer-2 virtual private network
CN101860482B (en) * 2010-05-25 2014-12-17 中兴通讯股份有限公司 Two-layer virtual private network fast re-route method and device
CN102064961A (en) * 2010-12-02 2011-05-18 中兴通讯股份有限公司 Multilayer protection method and device
WO2012071936A1 (en) * 2010-12-02 2012-06-07 中兴通讯股份有限公司 Method and device for multilayer protection
CN102064961B (en) * 2010-12-02 2014-04-30 中兴通讯股份有限公司 Multilayer protection method and device
CN102035681A (en) * 2010-12-17 2011-04-27 中兴通讯股份有限公司 Link protection method and system for virtual private network
CN102035681B (en) * 2010-12-17 2015-07-22 中兴通讯股份有限公司 Link protection method and system for virtual private network
US9350650B2 (en) 2011-03-14 2016-05-24 Hangzhou H3C Technologies Co., Ltd. Switching to a backup traffic path by a label switching router in a multi-protocol label switching network
WO2012122936A1 (en) * 2011-03-14 2012-09-20 Hangzhou H3C Technologies Co., Ltd Switching to a backup traffic path by a label switching router in a multi-protocol label switching network
CN102315972A (en) * 2011-10-14 2012-01-11 杭州华三通信技术有限公司 Method for realizing label switching path (LSP) switching and device
WO2013053331A1 (en) * 2011-10-14 2013-04-18 Hangzhou H3C Technologies Co., Ltd. Notifying of a lsp failure
US9231822B2 (en) 2011-10-14 2016-01-05 Hangzhou H3C Technologies Co., Ltd. Notifying of a LSP failure
CN102315972B (en) * 2011-10-14 2013-12-25 杭州华三通信技术有限公司 Method for realizing label switching path (LSP) switching and device
CN102377601B (en) * 2011-10-14 2014-03-26 杭州华三通信技术有限公司 LSP (Local Switched Path) fault notification method and LSP fault notification device
CN102377601A (en) * 2011-10-14 2012-03-14 杭州华三通信技术有限公司 LSP (Local Switched Path) fault notification method and LSP fault notification device
CN103326943A (en) * 2012-03-23 2013-09-25 日电(中国)有限公司 Data stream rerouting method and controller
CN103326943B (en) * 2012-03-23 2017-03-01 日电(中国)有限公司 Data flow heavy route method and controller
CN102638413A (en) * 2012-05-14 2012-08-15 杭州华三通信技术有限公司 Route issuing method and provider edge device
CN102638413B (en) * 2012-05-14 2015-06-10 杭州华三通信技术有限公司 Route issuing method and provider edge device
CN102870432B (en) * 2012-06-20 2015-04-08 华为技术有限公司 Method, system and node device for recovery path establishment
CN102870432A (en) * 2012-06-20 2013-01-09 华为技术有限公司 Method, system and node device for recovery path establishment
CN103166846A (en) * 2013-03-27 2013-06-19 杭州华三通信技术有限公司 Message forwarding method and device
CN103166846B (en) * 2013-03-27 2016-11-09 杭州华三通信技术有限公司 A kind of message forwarding method and equipment
CN103259721A (en) * 2013-04-16 2013-08-21 杭州华三通信技术有限公司 Message transmitting method and device in SPBM network
CN103259721B (en) * 2013-04-16 2016-08-17 杭州华三通信技术有限公司 Message forwarding method in SPBM network and device
US10110397B2 (en) 2013-08-21 2018-10-23 Zte Corporation Method and device for switching tunnels and switch
WO2015024408A1 (en) * 2013-08-21 2015-02-26 中兴通讯股份有限公司 Tunnel switching method, device and switch
CN104426763A (en) * 2013-08-21 2015-03-18 中兴通讯股份有限公司 Channel switching method and apparatus, and switch
CN104426763B (en) * 2013-08-21 2018-10-26 南京中兴新软件有限责任公司 Tunnel switching method, device and interchanger
CN104954248A (en) * 2014-03-27 2015-09-30 华为技术有限公司 Message transmission protection switching method, equipment and system
CN104954248B (en) * 2014-03-27 2018-04-20 华为技术有限公司 Message transmission pretection switch method, equipment and system
CN107332696B (en) * 2017-06-15 2019-10-25 烽火通信科技股份有限公司 Solve the system and method for relaying configuration random ordering
CN107332696A (en) * 2017-06-15 2017-11-07 烽火通信科技股份有限公司 Solve the out of order system and method for relaying configuration
CN108494474A (en) * 2018-03-23 2018-09-04 烽火通信科技股份有限公司 Realize that business is superimposed the method and system of pretection switch using OAM message
CN109547269A (en) * 2019-01-04 2019-03-29 烽火通信科技股份有限公司 A kind of IP RAN equipment realizes the method and device of LSP protection
CN109547269B (en) * 2019-01-04 2021-12-14 烽火通信科技股份有限公司 Method and device for realizing LSP protection of IP RAN equipment
CN109873766A (en) * 2019-03-29 2019-06-11 北京华三通信技术有限公司 Message transmitting method and device
CN109873766B (en) * 2019-03-29 2020-01-03 北京华三通信技术有限公司 Message transmission method and device
CN110572317A (en) * 2019-07-16 2019-12-13 烽火通信科技股份有限公司 Method and system for realizing dynamic ARP hot backup in telecommunication network
CN110572317B (en) * 2019-07-16 2022-04-08 烽火通信科技股份有限公司 Method and system for realizing dynamic ARP hot backup in telecommunication network
CN115037677A (en) * 2022-04-02 2022-09-09 烽火通信科技股份有限公司 Method and device for protecting frr scene

Also Published As

Publication number Publication date
CN101667970B (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN101667970B (en) Protection switching method and equipment thereof
CN101651630A (en) Switching method and switching device based on link fault
CN101820395B (en) Routing information configuration and private network label addition method and device based on MPLS (Multiple Protocol Label Switching)
CN105453491B (en) Long-range LFA is extended quickly to re-route
CN100450039C (en) Fast convergence method and device of the end-to-end service
CN102064995B (en) Method and device for link protection in virtual private local area network
CN107040462A (en) Method for routing and intermediate router
CN103475581B (en) A kind of network tab distribution, equipment and system
CN102187628B (en) Route update method and router
CN102611618B (en) Route protection converting method and device
CN105594167A (en) Method, controller, forwarding device, and network system for forwarding packets
CN101753464A (en) Routing convergence method, provider edge devices and virtual private network system
CN102075419B (en) Method for generating and transmitting three-layer virtual special network equative routing and edge router
CN105637807B (en) Method, controller, forwarding device and the network system to E-Packet
CN104426763A (en) Channel switching method and apparatus, and switch
CN101355486A (en) Method, equipment and system for switching route
CN104396197A (en) Selecting between equal cost shortest paths in a 802.1aq network using split tiebreakers
CN101299723B (en) Method and apparatus for managing label switching route tunnel information
CN103326915A (en) Method, device and system for achieving three-layer VPN
CN108141392A (en) The method and apparatus that pseudowire load is shared
CN106572012A (en) VPN FRR implementation method and PE equipment
CN102938734A (en) Tunnel selection method and PE (Provider Edge) in MPLS (Multiprotocol Label Switching) network
CN102316014A (en) Load sharing method and router under hierarchical virtual dedicated local area network service environment
CN106453091A (en) Equivalent routing management method and device of router forwarding plane
CN102082738A (en) Method for extending MPLS VPN access through public network and PE equipment

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

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.

CP03 Change of name, title or address