CN101651630A - Switching method and switching device based on link fault - Google Patents
Switching method and switching device based on link fault Download PDFInfo
- Publication number
- CN101651630A CN101651630A CN200910177431A CN200910177431A CN101651630A CN 101651630 A CN101651630 A CN 101651630A CN 200910177431 A CN200910177431 A CN 200910177431A CN 200910177431 A CN200910177431 A CN 200910177431A CN 101651630 A CN101651630 A CN 101651630A
- Authority
- CN
- China
- Prior art keywords
- equipment
- target
- path
- data message
- alternate
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a switching method based on link fault, which comprises the following steps: a main-target PE device judges whether a main path goes wrong or not; the main-target PE device acquires a standby path while the main path goes wrong; the main-target PE device transmits data messages to a standby-target PE device by using the standby path; and the standby-target PE device transmits the data messages into a target CE device. The invention enhances the VPNFRR switching capacity in an MPLS network, ensures the continuous flow forwarding, can not cause the data loss and improvesthe reliability of the MPLS network.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of changing method and device based on link failure.
Background technology
Development along with network economy, enterprise has proposed more and more higher requirement to the construction of self network, mainly show aspects such as network more flexible, economy, autgmentability, in order to satisfy the construction requirements of enterprise network, VPN (Virtual Private Network, virtual private networks) technology has won increasing favor.Wherein, the VPN of setting up on public network provides the assurance of fail safe and manageability just as the private network of enterprise for enterprise.And in all VPN technologies, MPLS (Multiprotocol Label Switching, multi protocol label exchange) VPN is with good expansibility and flexibility, is one of VPN technologies at present with the fastest developing speed.
MPLS originates from IPv4 (Internet Protocol version 4, internet protocol version four), core technology can expand to the multiple network agreement, comprise IPv6 (Internet Protocol version 6, IPv 6), IPX (Internet Packet Exchange, internet message switching) and CLNP (Connectionless Network Protocol, connectionless network protocol) etc.Wherein, MPLS is a kind of connection-oriented technology, set up MPLS LSP (Label Switched Path by the MPLS signaling, label switched path), data are classified to data at Web portal when transmitting, and according to the corresponding LSP of classification results selection, stamp corresponding label, intermediate router is directly transmitted according to the label of MPLS header after receiving the MPLS message, and need not pass through the IP address search of IP heading again.In LSP outlet (or the last two jump), eject the MPLS label, be reduced to the IP bag.
Concrete, MPLS VPN is a kind of IP-VPN based on the MPLS technology, comprises MPLS L2VPN and MPLS L3VPN etc.Wherein, MPLS L3VPN provides in merchant's vpn solution a kind of based on PE (Provider Edge, Provider Edge) the L3VPN technology of equipment, by using BGP (Border Gateway Protocol, Border Gateway Protocol) issue VPN route on service provider backbone, and use MPLS on service provider backbone, to transmit the VPN message.The networking mode of this MPLS L3VPN is flexible, extensibility good, can support MPLS QoS (Quality of Service, service quality) and MPLS TE (Traffic Engineering, traffic engineering) easily, has obtained increasing application.And in this MPLS L3VPN, comprise PE equipment, CE (Custom Edge, user network edge) equipment, P (Provider, backbone network core) equipment, VPN user site (site) etc.
Further, in MPLS L3VPN, it is the two-layer label mode that adopts that the VPN message is transmitted, ground floor (skin) label exchanges in backbone network inside, the LSP of indication VPN message from PE to opposite end PE, the VPN message utilizes this ground floor label, can arrive opposite end PE along LSP; The second layer (internal layer) label is using when opposite end PE arrives CE, and which Site indication VPN message is sent to, or sends to which CE, and at this moment, opposite end PE can find the interface of transmitting this VPN message according to this second layer label.
With VPN message repeating process shown in Figure 1 is that the example explanation adopts two-layer label mode to carry out the process that the VPN message is transmitted.(1) the Site 1 VPN message that to send a destination address be 1.1.1.2 sends to PE 1 by CE1 with this VPN message.(2) PE 1 searches the VPN instance list item according to interface and destination address that this VPN message arrives, after the match is successful this VPN message is forwarded, and stamp internal layer and outer two labels simultaneously in this VPN message.(3) outer layer label of each this VPN message of P equipment utilization in the MPLS network is sent to PE 2 (this VPN message has been stripped from outer layer label when arriving the previous dive of PE 2, only comprise vpn label) with this VPN message.(4) PE 2 searches the VPN instance list item according to this vpn label and destination address, determines the outgoing interface of this VPN message, and this VPN message is forwarded to CE 2.(5) CE 2 is sent to destination address according to normal VPN message repeating process with this VPN message.
As can be seen, in VPN message repeating process shown in Figure 1, the reliability of network is not high, when any one node or a link occurs fault, all can cause professional interruption.And, need to adopt the method for path redundancy protection in order to improve the reliability of network, promptly MPLS L3VPN FRR (FastReRoute, heavy-route fast) abbreviates VPN FRR as.This VPN FRR is a kind of in the dual-homed VPN network environment of CE, the technology that vpn service is switched fast.As shown in Figure 2, in this VPN FRR technology, the main path of visiting CE2 with CE1 is Link A (CE1-PE1-PE2-CE2), and backup path is that Link B (CE1-PE1-PE3-CE2) is example; When PE2 did not break down, the path of CE1 visit CE2 was LinkA, and when PE2 broke down, the path of CE1 visit CE2 switched to Link B fast.
But, when using VPN FRR technology, can only carry out vpn service to node failure switches fast, switch fast and can't carry out vpn service link failure, as shown in Figure 3, when fault has taken place in the link between CE2 and the PE2, PE1 can't perception CE2 and PE2 between the fault that takes place of link, when CE1 need visit CE2, access path still is main path CE1-PE1-PE2-CE2, be that flow (VPN message) still can be forwarded to PE2 along the path of CE1-PE1-PE2, and on PE2, this VPN packet loss can be fallen owing to can not find outgoing interface.
Summary of the invention
The invention provides a kind of changing method and device,, when link occurs fault, transmission path is switched, prevent losing of flow with in MPLS VPN network based on link failure.
In order to achieve the above object, the present invention proposes a kind of changing method based on link failure, be applied in the MPLS network, described MPLS network comprises source CE equipment, source PE equipment, target CE equipment, main with target P E equipment and at least one alternate target PE equipment, described target CE equipment and described master are main path with the path between the target P E equipment, and the described main path of arriving between the described target CE equipment with the described alternate target PE equipment of target P E equipment process is to be equipped with the path; Described source PE equipment is used to receive the data message from described source CE equipment, and described data message is sent to the described main target P E equipment of using, and said method comprising the steps of:
Described master judges with target P E equipment whether described main path breaks down;
When described main path broke down, described main obtaining according to the pairing forwarding-table item of described alternate target PE equipment with target P E equipment was equipped with the path; Described forwarding-table item be described main with target P E equipment in advance according to described alternate target PE equipment issue routing iinformation generated;
Described master sends to described alternate target PE equipment by using the described path that is equipped with described data message with target P E equipment; And described data message is sent to described target CE equipment by described alternate target PE equipment.
Described master obtains fully with target P E equipment according to the pairing forwarding-table item of described alternate target PE equipment, and the path specifically comprises:
The described main conversion link that obtains optimum in the forwarding-table item of self storing with target P E equipment is the described path that is equipped with.
Described master specifically comprises by using described path fully that described data message is sent to described alternate target PE equipment with target P E equipment:
Described master sends to described alternate target PE equipment according to the pairing forwarding-table item of described alternate target PE equipment with described data message with target P E equipment.
Described master sends to described alternate target PE equipment according to the pairing forwarding-table item of described alternate target PE equipment with described data message with target P E equipment and specifically comprises:
Described master peels off the public network label and the private network tags of described data message with target P E equipment, and obtains the public network label and the private network tags of described alternate target PE equipment correspondence from described forwarding-table item;
Described master adds the public network label and the private network tags of described alternate target PE equipment correspondence in the described data message to target P E equipment, and by the public network label that uses described alternate target PE equipment correspondence described data message is sent to described alternate target PE equipment.
Also comprise:
The described main routing iinformation of issuing according to described alternate target PE equipment with target P E equipment generates described forwarding-table item; Be specially:
Described main with the routing iinformation of target P E equipment reception from described alternate target PE equipment issue; Carry the public network label and the private network tags of described alternate target PE equipment correspondence in the described routing iinformation;
Described master generates and stores the pairing forwarding-table item of described alternate target PE equipment with target P E equipment according to described routing iinformation.
A kind of switching device shifter based on link failure, be applied in the MPLS network, described MPLS network comprises source CE equipment, source PE equipment, target CE equipment, main with target P E equipment and at least one alternate target PE equipment, described target CE equipment and described master are main path with the path between the target P E equipment, and the described main path of arriving between the described target CE equipment with the described alternate target PE equipment of target P E equipment process is to be equipped with the path; Described source PE equipment is used to receive the data message from described source CE equipment, and described data message is sent to the described main target P E equipment of using, and described device comprises:
Judge module is used to judge whether described main path breaks down;
Processing module is used for generating forwarding-table item according to the routing iinformation of described alternate target PE equipment issue;
Acquisition module is connected with processing module with described judge module, and when being used for judged result when described judge module and being described main path and breaking down, the pairing forwarding-table item of alternate target PE equipment that generates according to described processing module obtains path fully;
Transceiver module is connected with described acquisition module, is used for by the path that is equipped with of using described acquisition module to obtain described data message being sent to described alternate target PE equipment; And described data message is sent to described target CE equipment by described alternate target PE equipment.
Described acquisition module specifically is used for: obtaining the optimum conversion link of self storing of forwarding-table item is the described path that is equipped with.
Described transceiver module specifically is used for: according to the pairing forwarding-table item of described alternate target PE equipment described data message is sent to described alternate target PE equipment.
Described transceiver module also is used for: peel off the public network label and the private network tags of described data message, obtain the public network label and the private network tags of described alternate target PE equipment correspondence from described forwarding-table item; And the public network label and the private network tags of described alternate target PE equipment correspondence added in the described data message, by the public network label that uses described alternate target PE equipment correspondence described data message is sent to described alternate target PE equipment.
Described processing module specifically is used for: receive the routing iinformation from described alternate target PE equipment issue; Carry the public network label and the private network tags of described alternate target PE equipment correspondence in the described routing iinformation; And generate and store the pairing forwarding-table item of described alternate target PE equipment according to described routing iinformation.
Compared with prior art, the present invention has the following advantages: when PE device learns main path breaks down, transmit by data being sent to fully the path, thereby realized the quick switching of VPN FRR, strengthened VPN FRR switching capability in the MPLS network, guarantee the uninterrupted forwarding of flow, can not cause losing of data, improved the reliability of MPLS network.
Description of drawings
Fig. 1 is the schematic diagram of VPN message repeating process of the prior art;
Fig. 2 is the schematic diagram that vpn service of the prior art switches fast;
Schematic diagram when Fig. 3 is a VPN FRR link failure of the prior art;
A kind of changing method flow chart that Fig. 4 proposes for the present invention based on link failure;
The networking model figure that Fig. 5 proposes down for the concrete application scenarios of the present invention;
A kind of changing method flow chart that Fig. 6 proposes down for application scenarios of the present invention based on link failure;
The another kind of networking model figure that Fig. 7 proposes down for the concrete application scenarios of the present invention;
A kind of switching device shifter structure chart that Fig. 8 proposes for the present invention based on link failure.
Embodiment
Based on a VPN FRR technology support node fault of the prior art, and do not support the situation of link failure, the present invention proposes a kind of changing method, can when link occurs fault, data be switched to another paths fast based on link failure.Basic thought of the present invention is when PE equipment is judged main path and broken down, the data traffic that need transmit on main path is transmitted by being equipped with the path, realized the quick switching of VPN FRR, strengthened VPN FRR switching capability in the MPLS network, guaranteed the uninterrupted forwarding of flow, can not cause losing of data, improve the reliability of MPLS network.
As shown in Figure 4, a kind of changing method that the present invention proposes based on link failure, be applied in the MPLS network, described MPLS network comprises source CE equipment, source PE equipment, target CE equipment, main with target P E equipment and at least one alternate target PE equipment, described target CE equipment and described master are main path with the path between the target P E equipment, and the described main path of arriving between the described target CE equipment with the described alternate target PE equipment of target P E equipment process is to be equipped with the path; Described source PE equipment is used to receive the data message from described source CE equipment, and described data message is sent to the described main target P E equipment of using, and said method comprising the steps of:
Below in conjunction with a kind of concrete application scenarios, the changing method based on link failure that the present invention is proposed down is elaborated networking model figure as shown in Figure 5, CE1 is a source node, be used to send the VPN message, CE2 is a destination node, is used to receive the VPN message from CE1.Certainly, in actual applications, CE1 also can repeat no more this situation for destination node, CE2 are source node among the present invention.This CE1 is connected with PE1, and this CE2 is connected respectively with PE3 with PE2, among the present invention, with the path between CE2 and the PE2 is main path, path between this CE2 and the PE3 is that example describes for being equipped with the path, need to prove, this main path no longer encyclopaedizes with being equipped with among the present invention of Path Determination process.
Concrete, changing method based on link failure proposed by the invention is the handoff procedure when breaking down at main path, The present invention be directed to promptly that primary link between CE2 and the PE2 breaks down to example, in the present invention, whether the main path that this PE2 will detect between self and the CE2 breaks down, when not breaking down, this PE2 sends to CE2 (repeating no more among the present invention of this process) with the VPN message that receives by this main path, when PE2 detects main path between self and the CE2 and breaks down, the method that the application of the invention provides is handled.In addition, whether this PE2 can break down according to the main path that preset period detects between self and the CE2, and this predetermined period is for optional according to actual needs.Further, the mode whether main path between this PE2 detection self and the CE2 breaks down includes but not limited to: whether the main path that detects between PE2 and the CE2 by BFD (Bidirectional Forwarding Detection, two-way forwarding detects) technology or similar techniques breaks down; Repeat no more among the present invention.
As shown in Figure 6, when detecting main path between PE2 and the CE2 and break down, the above-mentioned changing method based on link failure may further comprise the steps:
Step 601, when CE1 need be when CE2 sends the VPN message, this CE1 sends to PE1 with this VPN message, wherein, has carried the address information (being destination address) of CE2 in this VPN message.
Step 602, PE1 searches the VPN instance list item according to the destination address in this VPN message, and according to the pairing record of this destination address in the VPN instance list item this VPN message is forwarded.Wherein, when transmitting this VPN message, need in this VPN message, stamp vpn label and outer layer label simultaneously.This vpn label is used for this VPN message is sent to CE2, and this outer layer label is used for this VPN message is sent to PE2.This process is existing execution mode, repeats no more among the present invention.
Step 603, PE2 receives the VPN message from PE1, wherein, in the MPLS network, VPN message from PE1 will be through a plurality of P device forwards to this PE2, and each P equipment all is by the corresponding outer layer label this VPN message to be transmitted to upstream device, and finally is transmitted to PE2's, for convenience of description, with PE1 this VPN message directly being sent to this PE2 is that example describes among the present invention.
Concrete, when receiving this VPN message, this PE2 also needs to search the VPN instance list item according to the destination address in this VPN message, and according to the pairing record of this destination address in the VPN instance list item this VPN message is forwarded.Continuation is that example describes with Fig. 5, the VPN instance list item of storing in this PE2 is as shown in table 1, wherein, this VPN instance list item be VPN1 (for convenience of description, the follow-up VPN instance VPN1 that adopts describes process among the present invention), certainly, according to the actual needs, content in can also his-and-hers watches 1 is made amendment and is replenished, and repeats no more among the present invention.
Table 1
VPN instance under CE1, the CE2 | ??VPN1 |
The Route Distinguisher of VPN1 | ??100∶1 |
The VPN route of CE1 issue | ??192.168.1.0/24 |
The VPN route of CE2 issue | ??192.168.2.0/24 |
PE2 is the label of VPN route 192.168.2.0/24 issue | ??4096 |
PE2 is distributed to the public network label of PE1 | ??1024 |
As seen, it is as shown in table 1 that the address information (destination address in the VPN message) by this CE2 finds corresponding VPN instance list item; The outer layer label that adds in PE1 is the public network label 1024 that PE2 is distributed to PE1; By use this 1024, this PE1 can be sent to PE2 with the VPN message, when receiving this VPN message, this PE1 can peel off public network label 1024 and the private network tags 4096 that this PE2 is distributed to PE1, can know that according to private network tags 4096 needs look into the routing table of VPN instance VPN1, route searching result according to VPN route 192.168.2.0/24 sends to CE2 with this VPN message again, and among the present invention, fault has appearred in the link between this CE2 and the PE2, be that PE2 can't send to CE2 with this VPN message, will continue execution in step 604 among the present invention.
Step 604, PE2 obtains the optimum path that is equipped with, and by the path that is equipped with of using this optimum this VPN message is sent on the corresponding PE.Among the present invention, PE2 can judge that whether the main path between self and the CE2 breaks down, and when not breaking down, will directly send to CE2 with this VPN message by this main path; But among the present invention, breaking down with main path is that example describes, and promptly this PE2 can not use this main path that this VPN message is directly sent to CE2.
Concrete, in networking shown in Figure 5, have only link PE2 to PE3 owing to be equipped with the path, promptly should optimum to be equipped with the path be link PE2 to PE3, this PE2 will send to this VPN message on the corresponding PE3 by using this link PE2 to PE3.For this step more clearly is described, with networking shown in Figure 7 is that example goes on to say, among Fig. 7, the path that is equipped with between PE2 and the CE2 comprises PE2 to PE3, with PE2 to PE4, in the application of reality, when the equipment between this PE2 to PE3 is less than equipment between the PE2 to PE4, can select the path that is equipped with of PE2 to PE3 to be the optimum path that is equipped with, select the path that is equipped with that the path is a suboptimum that is equipped with of PE2 to PE4; And, can select the path that is equipped with of PE2 to PE4 to be the optimum path that is equipped with when the equipment between the PE2 to PE3 during more than the equipment between the PE2 to PE4, select the path that is equipped with that the path is a suboptimum that is equipped with of PE2 to PE3.Certainly, in this step, this PE2 also can obtain path fully according to the actual needs arbitrarily, does not repeat them here.Path fully with this optimum among the present invention is that PE2 to PE3 is that example describes.
Further, this PE2 sends to this VPN message on the corresponding PE by the path fully of using this optimum and is specially: PE2 sends to this PE3 according to the pairing forwarding-table item of PE3 (as shown in table 2) of storage in advance with this VPN message.
Need to prove, with Fig. 5 is example, in the process of initial configuration, CE2 can issue VPN route information 192.168.2.0/24 to PE2, PE2 then sets up a local route to 192.168.2.0/24 in the private routing list of VPN instance 1, this route is exactly the main path route for PE2, and content as shown in table 1 does not repeat them here.
Same, CE2 also can issue VPN route 192.168.2.0/24 to PE3, and PE3 sets up a local route to 192.168.2.0/24 in the private routing list of VPN instance VPN1, and this process repeats no more.Afterwards, this PE3 can issue this VPN route information to PE2 by IBGP (Interior Border Gateway Protocol).Concrete, the process of issuing this VPN route information is specially: PE3 selects a private network tags (for example, 5000), and forms the label mapping from label 5000 to VPN instance VPN1.And PE3 is actually the address of being made up of address (192.168.2.0/24, the i.e. VPN route of CE2 issue), label (5000) to the VPN route information of PE2 issue.
PE2 is after receiving the route of issuing from PE3 (having carried above-mentioned VPN route information in this route), judge the VPN Target attributes match of the BGP extended community attribute of carrying in this route and self VPN instance VPN1, then in VPN instance VPN1, be established to the route of 192.168.2.0/24, and be designated alternate routing (route of directly acquiring from CE2 is a primary route before this); And the prefix of this alternate routing is 192.168.2.0/24, and with label 5000, and the lsp tunnel association of setting up between PE3 and the PE2; Last on PE2, generate main as shown in table 2 with forwarding-table item and standby forwarding-table item:
Table 2
Route prefix | ??192.168.2.0/24 |
Main path | ??PE2->CE2 |
The main path private network tags | Do not have |
Main path lsp tunnel label | Do not have |
Be equipped with the path | ??PE2->PE3 |
Be equipped with path private network tags (being vpn label) | ??5000 |
Be equipped with path lsp tunnel label (being outer layer label) | ??2000 |
As seen, should be equipped with path lsp tunnel label 2000 by using, this PE2 can send to PE3 with this VPN message, and this PE3 also can use and should be equipped with the path private network and mark 5000 this VPN message sent to CE2.
Concrete, among the present invention, when PE2 need send to PE3 with this VPN message, this PE2 will peel off the vpn label (PE2 is the label 4096 of VPN route 192.168.2.0/24 issue) of the VPN message that receives and then look into the VPN routing table, obtain the path lsp tunnel label 2000 fully that is equipped with path private network tags 5000 and PE3 distribution that PE3 distributes, PE2 is that the encapsulation of this VPN message should be equipped with the path private network tags and be equipped with path lsp tunnel label, should be equipped with path lsp tunnel label and this VPN message can be sent to PE3 by using then.
Step 605, PE3 sends to CE2 with this VPN message.Same, in the process of initial configuration, CE2 will issue routing iinformation to PE3, this PE3 stores the routing iinformation of this CE2 in the forwarding-table item of self into, in this step, this PE3 can send to CE2 with this VPN message according to this forwarding-table item, gives unnecessary details no longer in detail among the present invention.
Wherein, step can be adjusted according to the actual needs among the present invention.
A kind of switching device shifter that the present invention proposes based on link failure, be applied in the MPLS network, described MPLS network comprises source CE equipment, source PE equipment, target CE equipment, main with target P E equipment and at least one alternate target PE equipment, described target CE equipment and described master are main path with the path between the target P E equipment, and the described main path of arriving between the described target CE equipment with the described alternate target PE equipment of target P E equipment process is to be equipped with the path; Described source PE equipment is used to receive the data message from described source CE equipment, and described data message is sent to the described main target P E equipment of using, and as shown in Figure 8, described device comprises:
Concrete, with networking shown in Figure 7 is that example goes on to say, among Fig. 7, the path that is equipped with between PE2 and the CE2 comprises PE2 to PE3, with PE2 to PE4, in the application of reality, when the equipment between this PE2 to PE3 is less than equipment between the PE2 to PE4, can select the path that is equipped with of PE2 to PE3 to be the optimum path that is equipped with, select the path that is equipped with that the path is a suboptimum that is equipped with of PE2 to PE4; And, can select the path that is equipped with of PE2 to PE4 to be the optimum path that is equipped with when the equipment between the PE2 to PE3 during more than the equipment between the PE2 to PE4, select the path that is equipped with that the path is a suboptimum that is equipped with of PE2 to PE3.Certainly, in this step, this PE2 also can obtain path fully according to the actual needs arbitrarily, does not repeat them here.Path fully with this optimum among the present invention is that PE2 to PE3 is that example describes.
Further, described transceiver module 84 also is used to peel off the public network label and the private network tags of described data message, obtains the public network label and the private network tags of described alternate target PE equipment correspondence from described forwarding-table item; And the public network label and the private network tags of described alternate target PE equipment correspondence added in the described data message, by the public network label that uses described alternate target PE equipment correspondence described data message is sent to described alternate target PE equipment.
Wherein, each module of apparatus of the present invention can be integrated in one, and also can separate deployment.Above-mentioned module can be merged into a module, also can further split into a plurality of submodules.
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, module 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 module 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.The module of the foregoing description can be merged into a module, also can further split into a plurality of submodules.
The invention described above sequence number is not represented the quality of embodiment just to description.
More than disclosed only be several specific embodiment of the present invention, still, the present invention is not limited thereto, any those skilled in the art can think variation all should fall into protection scope of the present invention.
Claims (10)
1, a kind of changing method based on link failure, it is characterized in that, be applied in the MPLS network, described MPLS network comprises source CE equipment, source PE equipment, target CE equipment, main with target P E equipment and at least one alternate target PE equipment, described target CE equipment and described master are main path with the path between the target P E equipment, and the described main path of arriving between the described target CE equipment with the described alternate target PE equipment of target P E equipment process is to be equipped with the path; Described source PE equipment is used to receive the data message from described source CE equipment, and described data message is sent to the described main target P E equipment of using, and said method comprising the steps of:
Described master judges with target P E equipment whether described main path breaks down;
When described main path broke down, described main obtaining according to the pairing forwarding-table item of described alternate target PE equipment with target P E equipment was equipped with the path; Described forwarding-table item be described main with target P E equipment in advance according to described alternate target PE equipment issue routing iinformation generated;
Described master sends to described alternate target PE equipment by using the described path that is equipped with described data message with target P E equipment; And described data message is sent to described target CE equipment by described alternate target PE equipment.
2, the method for claim 1 is characterized in that, described main obtaining according to the pairing forwarding-table item of described alternate target PE equipment with target P E equipment is equipped with the path and specifically comprises:
The described main conversion link that obtains optimum in the forwarding-table item of self storing with target P E equipment is the described path that is equipped with.
3, the method for claim 1 is characterized in that, described master specifically comprises by using described path fully that described data message is sent to described alternate target PE equipment with target P E equipment:
Described master sends to described alternate target PE equipment according to the pairing forwarding-table item of described alternate target PE equipment with described data message with target P E equipment.
4, method as claimed in claim 3 is characterized in that, described master sends to described alternate target PE equipment according to the pairing forwarding-table item of described alternate target PE equipment with described data message with target P E equipment and specifically comprises:
Described master peels off the public network label and the private network tags of described data message with target P E equipment, and obtains the public network label and the private network tags of described alternate target PE equipment correspondence from described forwarding-table item;
Described master adds the public network label and the private network tags of described alternate target PE equipment correspondence in the described data message to target P E equipment, and by the public network label that uses described alternate target PE equipment correspondence described data message is sent to described alternate target PE equipment.
5, the method for claim 1 is characterized in that, also comprises:
The described main routing iinformation of issuing according to described alternate target PE equipment with target P E equipment generates described forwarding-table item; Be specially:
Described main with the routing iinformation of target P E equipment reception from described alternate target PE equipment issue; Carry the public network label and the private network tags of described alternate target PE equipment correspondence in the described routing iinformation;
Described master generates and stores the pairing forwarding-table item of described alternate target PE equipment with target P E equipment according to described routing iinformation.
6, a kind of switching device shifter based on link failure, it is characterized in that, be applied in the MPLS network, described MPLS network comprises source CE equipment, source PE equipment, target CE equipment, main with target P E equipment and at least one alternate target PE equipment, described target CE equipment and described master are main path with the path between the target P E equipment, and the described main path of arriving between the described target CE equipment with the described alternate target PE equipment of target P E equipment process is to be equipped with the path; Described source PE equipment is used to receive the data message from described source CE equipment, and described data message is sent to the described main target P E equipment of using, and described device comprises:
Judge module is used to judge whether described main path breaks down;
Processing module is used for generating forwarding-table item according to the routing iinformation of described alternate target PE equipment issue;
Acquisition module is connected with processing module with described judge module, and when being used for judged result when described judge module and being described main path and breaking down, the pairing forwarding-table item of alternate target PE equipment that generates according to described processing module obtains path fully;
Transceiver module is connected with described acquisition module, is used for by the path that is equipped with of using described acquisition module to obtain described data message being sent to described alternate target PE equipment; And described data message is sent to described target CE equipment by described alternate target PE equipment.
7, device as claimed in claim 6 is characterized in that,
Described acquisition module specifically is used for: obtaining the optimum conversion link of self storing of forwarding-table item is the described path that is equipped with.
8, device as claimed in claim 6 is characterized in that,
Described transceiver module specifically is used for: according to the pairing forwarding-table item of described alternate target PE equipment described data message is sent to described alternate target PE equipment.
9, device as claimed in claim 8 is characterized in that,
Described transceiver module also is used for: peel off the public network label and the private network tags of described data message, obtain the public network label and the private network tags of described alternate target PE equipment correspondence from described forwarding-table item; And the public network label and the private network tags of described alternate target PE equipment correspondence added in the described data message, by the public network label that uses described alternate target PE equipment correspondence described data message is sent to described alternate target PE equipment.
10, install as claimed in claim 8 or 9, it is characterized in that,
Described processing module specifically is used for: receive the routing iinformation from described alternate target PE equipment issue; Carry the public network label and the private network tags of described alternate target PE equipment correspondence in the described routing iinformation; And generate and store the pairing forwarding-table item of described alternate target PE equipment according to described routing iinformation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910177431A CN101651630A (en) | 2009-09-29 | 2009-09-29 | Switching method and switching device based on link fault |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910177431A CN101651630A (en) | 2009-09-29 | 2009-09-29 | Switching method and switching device based on link fault |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101651630A true CN101651630A (en) | 2010-02-17 |
Family
ID=41673750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910177431A Pending CN101651630A (en) | 2009-09-29 | 2009-09-29 | Switching method and switching device based on link fault |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101651630A (en) |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848159A (en) * | 2010-05-24 | 2010-09-29 | 中兴通讯股份有限公司 | Three-layer VPN route resetting method and device |
CN101860492A (en) * | 2010-06-28 | 2010-10-13 | 中兴通讯股份有限公司 | Quick switching method, device and system |
WO2012092897A2 (en) * | 2012-02-10 | 2012-07-12 | 华为技术有限公司 | Packet transport network troubleshooting method, packet transport network node and packet transport network |
CN102664788A (en) * | 2012-04-05 | 2012-09-12 | 中兴通讯股份有限公司 | CE dual-homed link protection method in MPLS L3VPN and system thereof |
WO2012122945A1 (en) * | 2011-03-17 | 2012-09-20 | 华为技术有限公司 | Operating method and device for virtual network element |
CN102724128A (en) * | 2012-06-28 | 2012-10-10 | 杭州华三通信技术有限公司 | Message forwarding method and equipment for multi-protocol label switching (MPLS) layer 3 virtual private network (L3VPN)-based for dual-homing networking |
CN102769552A (en) * | 2012-07-31 | 2012-11-07 | 杭州华三通信技术有限公司 | Method and apparatus for transmitting BFD (bidirectional forwarding detection) message during LSP (label switched path) detection by BFD |
CN102932247A (en) * | 2012-10-10 | 2013-02-13 | 福建星网锐捷网络有限公司 | VPN (Virtual Private Network) fast rerouting method and device and provider edge device |
CN103229462A (en) * | 2012-12-22 | 2013-07-31 | 华为技术有限公司 | Optimal-path selection method, related device and communication system |
CN103312579A (en) * | 2013-05-29 | 2013-09-18 | 深信服网络科技(深圳)有限公司 | Line switching method and device |
CN103532843A (en) * | 2011-03-17 | 2014-01-22 | 华为技术有限公司 | Work method and device for virtual network unit |
CN103973498A (en) * | 2014-05-22 | 2014-08-06 | 杭州华三通信技术有限公司 | Main path and alternate path selecting method and device for multi-attribution network |
CN106572012A (en) * | 2016-11-04 | 2017-04-19 | 中国联合网络通信集团有限公司 | VPN FRR implementation method and PE equipment |
CN106713130A (en) * | 2015-11-13 | 2017-05-24 | 华为技术有限公司 | Routing table updating method, EVPN control equipment and EVPN system |
CN109672619A (en) * | 2017-10-17 | 2019-04-23 | 华为技术有限公司 | A kind of method, equipment and system handling message |
CN110011839A (en) * | 2019-03-26 | 2019-07-12 | 新华三技术有限公司 | Message forwarding method, device, SPE and storage medium |
CN110417761A (en) * | 2019-07-17 | 2019-11-05 | 上海东土远景工业科技有限公司 | Communication means and device based on dual-computer redundancy |
CN110838978A (en) * | 2018-08-15 | 2020-02-25 | 迈普通信技术股份有限公司 | Message forwarding method and device |
CN111586349A (en) * | 2020-04-16 | 2020-08-25 | 浙江大华技术股份有限公司 | Data outage and continuous transmission method and system for monitoring equipment |
CN111614554A (en) * | 2020-05-20 | 2020-09-01 | 中国联合网络通信集团有限公司 | Route switching method, control device, multi-route network system and storage medium |
CN111682996A (en) * | 2019-03-11 | 2020-09-18 | 华为技术有限公司 | Method, network node and network system for forwarding message in network |
CN113542114A (en) * | 2020-04-20 | 2021-10-22 | 华为技术有限公司 | Route configuration method and route configuration device |
CN115037677A (en) * | 2022-04-02 | 2022-09-09 | 烽火通信科技股份有限公司 | Method and device for protecting frr scene |
-
2009
- 2009-09-29 CN CN200910177431A patent/CN101651630A/en active Pending
Cited By (43)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101848159A (en) * | 2010-05-24 | 2010-09-29 | 中兴通讯股份有限公司 | Three-layer VPN route resetting method and device |
WO2011147298A1 (en) * | 2010-05-24 | 2011-12-01 | 中兴通讯股份有限公司 | Method and apparatus for resetting layer 3 virtual private network routes |
CN101848159B (en) * | 2010-05-24 | 2015-01-28 | 中兴通讯股份有限公司 | Three-layer VPN route resetting method and device |
CN101860492A (en) * | 2010-06-28 | 2010-10-13 | 中兴通讯股份有限公司 | Quick switching method, device and system |
WO2012122945A1 (en) * | 2011-03-17 | 2012-09-20 | 华为技术有限公司 | Operating method and device for virtual network element |
CN103532843A (en) * | 2011-03-17 | 2014-01-22 | 华为技术有限公司 | Work method and device for virtual network unit |
WO2012092897A2 (en) * | 2012-02-10 | 2012-07-12 | 华为技术有限公司 | Packet transport network troubleshooting method, packet transport network node and packet transport network |
WO2012092897A3 (en) * | 2012-02-10 | 2013-01-10 | 华为技术有限公司 | Packet transport network troubleshooting method, packet transport network node and packet transport network |
CN102664788A (en) * | 2012-04-05 | 2012-09-12 | 中兴通讯股份有限公司 | CE dual-homed link protection method in MPLS L3VPN and system thereof |
CN102664788B (en) * | 2012-04-05 | 2015-07-22 | 中兴通讯股份有限公司 | CE dual-homed link protection method in MPLS L3VPN and system thereof |
CN102724128A (en) * | 2012-06-28 | 2012-10-10 | 杭州华三通信技术有限公司 | Message forwarding method and equipment for multi-protocol label switching (MPLS) layer 3 virtual private network (L3VPN)-based for dual-homing networking |
CN102724128B (en) * | 2012-06-28 | 2015-08-12 | 杭州华三通信技术有限公司 | A kind of based on the message forwarding method in the dual-homing networking of MPLS L3VPN and equipment |
CN102769552B (en) * | 2012-07-31 | 2016-06-08 | 杭州华三通信技术有限公司 | A kind of method by transmission BFD message during BFD detection LSP and equipment |
CN102769552A (en) * | 2012-07-31 | 2012-11-07 | 杭州华三通信技术有限公司 | Method and apparatus for transmitting BFD (bidirectional forwarding detection) message during LSP (label switched path) detection by BFD |
CN102932247A (en) * | 2012-10-10 | 2013-02-13 | 福建星网锐捷网络有限公司 | VPN (Virtual Private Network) fast rerouting method and device and provider edge device |
CN103229462B (en) * | 2012-12-22 | 2016-09-28 | 华为技术有限公司 | A kind of optimal route selection method, relevant device and communication system |
WO2014094314A1 (en) * | 2012-12-22 | 2014-06-26 | 华为技术有限公司 | Optimal path selection method, related device and communication system |
CN103229462A (en) * | 2012-12-22 | 2013-07-31 | 华为技术有限公司 | Optimal-path selection method, related device and communication system |
CN103312579B (en) * | 2013-05-29 | 2016-06-08 | 深圳市深信服电子科技有限公司 | Circuit switching method and device |
CN103312579A (en) * | 2013-05-29 | 2013-09-18 | 深信服网络科技(深圳)有限公司 | Line switching method and device |
CN103973498B (en) * | 2014-05-22 | 2017-09-15 | 新华三技术有限公司 | A kind of many home network active-standby path systems of selection and equipment |
CN103973498A (en) * | 2014-05-22 | 2014-08-06 | 杭州华三通信技术有限公司 | Main path and alternate path selecting method and device for multi-attribution network |
CN106713130B (en) * | 2015-11-13 | 2019-11-22 | 华为技术有限公司 | A kind of routing table update method, EVPN control equipment and EVPN system |
CN106713130A (en) * | 2015-11-13 | 2017-05-24 | 华为技术有限公司 | Routing table updating method, EVPN control equipment and EVPN system |
CN106572012A (en) * | 2016-11-04 | 2017-04-19 | 中国联合网络通信集团有限公司 | VPN FRR implementation method and PE equipment |
EP3691185A4 (en) * | 2017-10-17 | 2020-11-25 | Huawei Technologies Co., Ltd. | Method for processing message, device, and system |
WO2019076295A1 (en) * | 2017-10-17 | 2019-04-25 | 华为技术有限公司 | Method for processing message, device, and system |
CN109672619A (en) * | 2017-10-17 | 2019-04-23 | 华为技术有限公司 | A kind of method, equipment and system handling message |
CN109672619B (en) * | 2017-10-17 | 2021-08-20 | 华为技术有限公司 | Method, device and system for processing message |
US11349687B2 (en) | 2017-10-17 | 2022-05-31 | Huawei Technologies Co., Ltd. | Packet processing method, device, and system |
CN110838978A (en) * | 2018-08-15 | 2020-02-25 | 迈普通信技术股份有限公司 | Message forwarding method and device |
CN111682996B (en) * | 2019-03-11 | 2024-01-05 | 华为技术有限公司 | Method for forwarding message in network, network node and network system |
CN111682996A (en) * | 2019-03-11 | 2020-09-18 | 华为技术有限公司 | Method, network node and network system for forwarding message in network |
CN113645136A (en) * | 2019-03-11 | 2021-11-12 | 华为技术有限公司 | Method, network node and network system for forwarding message in network |
CN110011839B (en) * | 2019-03-26 | 2022-04-08 | 新华三技术有限公司 | Message forwarding method and device, SPE (solid phase extraction) and storage medium |
CN110011839A (en) * | 2019-03-26 | 2019-07-12 | 新华三技术有限公司 | Message forwarding method, device, SPE and storage medium |
CN110417761A (en) * | 2019-07-17 | 2019-11-05 | 上海东土远景工业科技有限公司 | Communication means and device based on dual-computer redundancy |
CN110417761B (en) * | 2019-07-17 | 2021-12-17 | 上海东土远景工业科技有限公司 | Communication method and device based on dual-computer redundancy |
CN111586349A (en) * | 2020-04-16 | 2020-08-25 | 浙江大华技术股份有限公司 | Data outage and continuous transmission method and system for monitoring equipment |
CN111586349B (en) * | 2020-04-16 | 2022-01-11 | 浙江大华技术股份有限公司 | Data outage and continuous transmission method and system for monitoring equipment |
CN113542114A (en) * | 2020-04-20 | 2021-10-22 | 华为技术有限公司 | Route configuration method and route configuration device |
CN111614554A (en) * | 2020-05-20 | 2020-09-01 | 中国联合网络通信集团有限公司 | Route switching method, control device, multi-route network system and storage medium |
CN115037677A (en) * | 2022-04-02 | 2022-09-09 | 烽火通信科技股份有限公司 | Method and device for protecting frr scene |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101651630A (en) | Switching method and switching device based on link fault | |
JP7152533B2 (en) | Method, apparatus, and system for handling transmission path failures | |
CN107666438B (en) | Message forwarding method and device | |
CN101667970B (en) | Protection switching method and equipment thereof | |
EP2761827B1 (en) | Incremental deployment of mrt based ipfrr | |
CN102064995B (en) | Method and device for link protection in virtual private local area network | |
EP1912381B1 (en) | A fast convergence method of point to point services and the provider edge device thereof | |
EP2904747B1 (en) | Mpls segment-routing | |
CN102664788B (en) | CE dual-homed link protection method in MPLS L3VPN and system thereof | |
US8179900B2 (en) | Edge node redundant system in label switching network | |
CN100450039C (en) | Fast convergence method and device of the end-to-end service | |
US8780696B2 (en) | System and method of implementing lightweight not-via IP fast reroutes in a telecommunications network | |
CN111682996B (en) | Method for forwarding message in network, network node and network system | |
CN111698152B (en) | Fault protection method, node and storage medium | |
CN101355486A (en) | Method, equipment and system for switching route | |
RU2528149C1 (en) | Tunnel switching method and system for multi-protocol label switching services | |
CN101447900A (en) | Method, system and device for building bidirectional forwarding detection | |
US20120124238A1 (en) | Prioritization of routing information updates | |
CN109617803A (en) | A kind of forwarding-table item generation method, device and equipment | |
CN103023773A (en) | Method, device and system for forwarding message in multi-topology network | |
WO2015054902A1 (en) | Method, controller, forwarding device, and network system for forwarding packets | |
CN103297340A (en) | Routing convergence method and device in multi-protocol label switching (MPLS) and border gateway protocol (BGP) networking | |
CN101964743A (en) | Multiprotocol label-switched path APS (Active Protection System) protection and management method, equipment and system | |
CN103179032B (en) | A kind of route backup method and device | |
CN103220217A (en) | Route generating method and 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 | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20100217 |