CN102355398B - MPLS L3VPN private virtual net fast rerouting methods and system - Google Patents

MPLS L3VPN private virtual net fast rerouting methods and system Download PDF

Info

Publication number
CN102355398B
CN102355398B CN201110169830.3A CN201110169830A CN102355398B CN 102355398 B CN102355398 B CN 102355398B CN 201110169830 A CN201110169830 A CN 201110169830A CN 102355398 B CN102355398 B CN 102355398B
Authority
CN
China
Prior art keywords
frr
information
path
standby
tunnel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110169830.3A
Other languages
Chinese (zh)
Other versions
CN102355398A (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.)
ZTE Corp
Original Assignee
Nanjing ZTE New Software 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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201110169830.3A priority Critical patent/CN102355398B/en
Publication of CN102355398A publication Critical patent/CN102355398A/en
Priority to PCT/CN2012/076381 priority patent/WO2012174979A1/en
Application granted granted Critical
Publication of CN102355398B publication Critical patent/CN102355398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/033Topology update or discovery by updating distance vector protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of VPN FRR method and devices of MPLS L3VPN systems; the above method is for being superimposed with tunnel FRR VPN FRR; the exit port information of the next-hop routing forwarding information in its active and standby path is disposed as internal trunk ID, and makes above-mentioned trunk ID consistent with the ID of the protecting tunnel group of respective path;When the protecting tunnel group switching in above-mentioned VPN FRR active/standby path, then trunk ID (identity number), DMAC information and the three layer interface information in the next-hop forwarding information of respective paths are updated;Said apparatus includes setup module and handover module.Present invention greatly reduces switching time, system complexity is reduced, while having saved substantial amounts of hardware resource.

Description

MPLS L3VPN private virtual net fast rerouting methods and system
Technical field
The present invention relates to MPLS (Multi-Protocol Label Switching, multiprotocol label switching) technology neck Domain, more particularly, to a kind of MPLS L3VPN (Lay3 Virtual Private Network, three layer virtual private network) Quick heavy-route (Fast Reroute, the FRR) method of private virtual net (Virtual Private Network, VPN) and it is System.
Background technology
MPLS L3VPN are a kind of based on service in service provider (Service Provider, SP) vpn solution The L3VPN technologies of provider edge (Provider Edge, PE) equipment, it uses BGP (Border Gateway Protocol, Border Gateway Protocol) VPN routes are issued on service provider backbone, using MPLS in service provider's bone Dry online forwarding VPN messages.
MPLS L3VPN networking modes are flexible, scalability is good, and can easily support MPLS QoS (Quality of Service, service quality) and MPLS TE (Traffic Engineering, traffic engineering), therefore obtain more and more should With.
MPLS L3VPN models are made up of following three part:
CE (Customer Edge) equipment:User network boundary device, have interface directly with SP (Service Provider, service provider) it is connected;CE can be equipment or interchanger or a main frame.CE " perception " less than VPN presence, it is not required that MPLS must be supported;
PE (Provider Edge) equipment:Service provider edge devices, are the edge devices of service provider network, It is joined directly together with the CE of user.In an mpls network, all processing to VPN all occur on PE;
P (Provider) equipment:Backbone equipment in service provider network, is not joined directly together with CE.P equipment is only needed to Possess basic MPLS transfer capabilitys.
Wherein, CE and PE division is mainly according to SP and user range of management, and CE and PE are both range of managements Border.CE equipment is typically a router, after the CE and PE being joined directly together sets up syntople, VPNs of the CE this website Route is distributed to PE, and acquires from PE distal end VPN route.Routing iinformation is exchanged using BGP/IGP between CE and PE, can also Use static routing.
PE is acquired after the local VPN routing iinformations of CE from CE, passes through BGP and other PE switched vpcs N routing iinformations.PE is route Device only safeguards the routing iinformation for the VPN being joined directly together with it, and all VPN routes in service provider network are not safeguarded.
P routers are only maintained into PE route, it is not necessary to understand any VPN routing iinformations.
When in MPLS key transfers on network VPN flows, entry PE is used as Ingress (entrance) LSR (Label Switch Router, LSR), it is Transit (forwarding) that outlet PE is then used as Egress (outlet) LSR, P router LSR。
Forwarding reliability based on MPLS L3VPN service messages considers, can be all superimposed in general networking using VPN FRR (tunnel FRR may be TE FRR or LDP (Label Distribution Protocol, tag distribution protocol) to tunnel FRR FRR mode) carries out networking.As shown in figure 1, being classical MPLS L3VPN VPN FRR superpositions tunnel FRR networking signal Figure, including 2 CE equipment, respectively CE1, CE2, respectively 4 P equipment, P1, P2, P3, P4, and 3 PE equipment, respectively For PE1, PE2, PE3;Wherein, CE1, which goes to CE2 path, four, is respectively:PE1- > P1- > PE2, PE1- > P2- > PE2, PE1- > P3- > PE3, PE1- > P4- > PE3;PE1- > PE2 path and PE1- > PE3 path constitute VPN Based on FRR, wherein PE1- > PE2 path, PE1- > P1- > PE2 and PE1- > P2- > PE2 constitute tunnel FRR, PE1- > PE3 path is standby, and PE1- > P3- > PE3 and PE1- > P4- > PE3 also constitute tunnel FRR.
The service message come in from CE equipment needs to reach PE2 by PE1, there is two paths:Operating path PE1- > P1- > PE2 and Protection path PE1- > P2- > PE2, when detect operating path it is problematic when, PE1 needs to switch service message It is transmitted to Protection path.
Fig. 2 is the up handling process schematic diagram for entering the message of PE1 equipment in Fig. 1, describes ASIC The L3VPN of (Application Specific Integrated Circuit, application specific integrated circuit) chip handling process, Enter the message of PE1 equipment from CE equipment, it is necessary to carry out 3 layers of VPN forwardings, by route querying, obtain next-hop forwarding letter Breath is forwarded.
Fig. 3 is the refinement diagram of next-hop forwarding information, and next-hop forwarding information mainly includes two parts:Part I is Exit port information;Part II includes DMAC (Destination Media Access Control, purpose media interviews control System) information, by DMAC information indexs, the DMAC of next-hop device can be found;Pseudo line tag information, it is often marked often to route Label or every label per VPN instance, can be searched by pseudo line tag information index and obtained;And three layer interface information, including SMAC (source MAC), VLAN (Virtual Local Area Network, VLAN) ID (identity number) and outer layer MPLS label, can be searched by three layer interface information indexs and obtained.
Fig. 4 shows existing MPLS L3VPN VPN FRR schematic diagrames, first during traditional MPLS L3VPN VPN FRR switchings All possible next-hop forward table (may at most there are 4) is first created, when switching is needed, further according to protecting tunnel group The next-hop that state and VPN protection group Determines are finally forwarded, when VPN protection group states change or protecting tunnel group When state changes, it is required for progress to judge whether to need switching, so that while substantial amounts of next-hop resource is consumed, So that the complexity of flow is also larger.
The content of the invention
It is an object of the present invention to provide a kind of VPN FRR method and devices of MPLS L3VPN systems, to optimize existing skill Flow is complicated when VPN FRR switch in art, the problem of resource cost is big.
The invention provides a kind of VPN FRR methods of MPLS L3VPN systems, the above method is for being superimposed with tunnel FRR VPN FRR, the exit port information of the next-hop routing forwarding information in its active and standby path is disposed as internal trunk ID, And make above-mentioned trunk ID consistent with the ID of the protecting tunnel group of respective path;
When the protecting tunnel group switching in above-mentioned VPN FRR active/standby path, then the next-hop forwarding of respective paths is updated Trunk ID (identity number), DMAC information and three layer interface information in information.
Preferably, during the protecting tunnel group switching in above-mentioned VPN FRR active/standby path, then the next of respective paths is updated Redirect trunk ID, DMAC information in photos and sending messages and three layer interface information Steps are specifically included:
When the protecting tunnel group of above-mentioned VPN FRR main path is switched to main tunnel FRR, then above-mentioned VPN FRR are updated Main path next-hop forwarding information in trunk ID, DMAC information and three layer interface information;
When the protecting tunnel group of above-mentioned VPN FRR main path is switched to standby tunnel FRR, then above-mentioned VPN FRR are updated Main path next-hop forwarding information in trunk ID, DMAC information and three layer interface information;
When the protecting tunnel group in above-mentioned VPN FRR standby path is switched to main tunnel FRR, then above-mentioned VPN FRR are updated Standby path next-hop forwarding information in trunk ID, DMAC information and three layer interface information;
When the protecting tunnel group in above-mentioned VPN FRR standby path is switched to standby tunnel FRR, then above-mentioned VPN FRR are updated Standby path next-hop forwarding information in trunk ID, DMAC information and three layer interface information.
Preferably, when the protecting tunnel group of above-mentioned VPN FRR main path is switched to main tunnel FRR, above-mentioned renewal VPN Trunk ID, DMAC information and three layer interface information Steps in the next-hop forwarding information of FRR main path are specially:
Trunk ID in the next-hop forwarding information of above-mentioned main path are changed to above-mentioned main tunnel FRR exit port Number, the P equipment that the DMAC information in above-mentioned main next-hop forwarding information is changed to be connected with above-mentioned main tunnel FRR exit port DMAC;And three layer interface information in the above-mentioned main next-hop forwarding information of renewal, make all VPN FRR main next-hop all Point to three layer interface index.
Preferably, when the protecting tunnel group of above-mentioned VPN FRR main path is switched to standby tunnel FRR, above-mentioned renewal VPN Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information of FRR main path are specially:
Trunk ID in the next-hop forwarding information of above-mentioned main path are changed to above-mentioned standby tunnel FRR exit port Number, the P equipment that the DMAC information in above-mentioned main next-hop forwarding information is changed to be connected with above-mentioned standby tunnel FRR exit port DMAC;And three layer interface information in the above-mentioned main next-hop forwarding information of renewal, make all VPN FRR main next-hop all Point to three layer interface index.
Preferably, when the protecting tunnel group in above-mentioned VPN FRR standby path is switched to main tunnel FRR, above-mentioned renewal VPN Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information in FRR standby path are specially:
Trunk ID in the next-hop forwarding information in above-mentioned standby path are changed to above-mentioned main tunnel FRR exit port Number, the P equipment that the DMAC information in above-mentioned slave next-hop forwarding information is changed to be connected with above-mentioned main tunnel FRR exit port DMAC;And three layer interface information in the above-mentioned slave next-hop forwarding information of renewal, make all VPN FRR slave next-hop all Point to three layer interface index.
Preferably, when the protecting tunnel group in above-mentioned VPN FRR standby path is switched to standby tunnel FRR, above-mentioned renewal VPN Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information in FRR standby path are specially:
Trunk ID in the next-hop forwarding information in above-mentioned standby path are changed to above-mentioned standby tunnel FRR exit port Number, the P equipment that the DMAC information in above-mentioned slave next-hop forwarding information is changed to be connected with above-mentioned standby tunnel FRR exit port DMAC;And three layer interface information in the above-mentioned slave next-hop forwarding information of renewal, make all VPN FRR slave next-hop all Point to three layer interface index.
Preferably, in the above method,
When above-mentioned VPN FRR are switched to main path, then corresponding route is directly switch to main next-hop;
When above-mentioned VPN FRR are switched to standby path, then corresponding route is directly switch to slave next-hop.
Invention further provides a kind of VPN FRR devices of MPLS L3VPN systems, said apparatus includes setting mould Block and handover module,
Above-mentioned setup module, the next-hop routing forwarding for the active and standby path of the VPN FRR by tunnel FRR is superimposed with The exit port information of information is arranged to internal trunk ID, and makes above-mentioned trunk ID and above-mentioned active and standby path protecting tunnel The ID of group is consistent;
Above-mentioned handover module, for when the protecting tunnel group in VPN FRR active/standby path switches, updating respective paths Next-hop forwarding information in trunk ID, DMAC information and three layer interface information.
Preferably, above-mentioned handover module includes judging submodule, updates submodule and path switching submodule,
Above-mentioned judging submodule, for judging currently to switch to the active and standby path switchings of VPN FRR, or protecting tunnel group Switching;When currently switching to the active and standby paths of VPN FRR to switch, it is that main path switches to determine whether current switching, or standby Path switches, and will determine that result is sent to above-mentioned path switching submodule;When currently switching to protecting tunnel group to switch, enter one Step judgement is the protecting tunnel group switching of main path, or for the protecting tunnel group switching in path, and in the tunnel for being main path When protection group switches, judgement is to switch to main tunnel FRR, is also to switch to standby tunnel FRR;It is being the protecting tunnel group in standby path During switching, judgement is to switch to main tunnel FRR, is also to switch to standby tunnel FRR, will determine that result is sent to above-mentioned renewal submodule Block;
Above-mentioned renewal submodule, for according to the judged result received, the next-hop route for updating above-mentioned respective paths to turn Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information of photos and sending messages;
Above-mentioned path switching submodule, for according to the judged result received, by corresponding route handoff to main next-hop, Or slave next-hop.
Preferably, above-mentioned renewal submodule, is additionally operable to the protecting tunnel for VPN FRR main path in above-mentioned judged result When group is switched to main tunnel FRR, the trunk ID in the next-hop forwarding information of above-mentioned main path are changed to above-mentioned main tunnel FRR go out port numbers, the exit port with above-mentioned main tunnel FRR is changed to by the DMAC information in above-mentioned main next-hop forwarding information The DMAC of the P equipment of connection;And three layer interface information in the above-mentioned main next-hop forwarding information of renewal, make all VPN FRR Main next-hop all point to three layer interface index;
When above-mentioned judged result is switched to standby tunnel FRR for the protecting tunnel group of VPN FRR main path, by above-mentioned master Trunk ID in the next-hop forwarding information in path are changed to above-mentioned standby tunnel FRR go out port numbers, by above-mentioned main next-hop DMAC information in forwarding information is changed to the DMAC for the P equipment being connected with above-mentioned standby tunnel FRR exit port;And on updating Three layer interface information in main next-hop forwarding information are stated, all VPN FRR main next-hop is all pointed to the three layer interfaces rope Draw;
, will be above-mentioned standby when above-mentioned judged result is switched to main tunnel FRR for the protecting tunnel group in VPN FRR standby path Trunk ID in the next-hop forwarding information in path are changed to above-mentioned main tunnel FRR go out port numbers, by above-mentioned slave next-hop DMAC information in forwarding information is changed to the DMAC for the P equipment being connected with above-mentioned main tunnel FRR exit port;And on updating Three layer interface information in slave next-hop forwarding information are stated, all VPN FRR slave next-hop is all pointed to the three layer interfaces rope Draw;
, will be above-mentioned standby when above-mentioned judged result is switched to standby tunnel FRR for the protecting tunnel group in VPN FRR standby path Trunk ID in the next-hop forwarding information in path are changed to above-mentioned standby tunnel FRR go out port numbers, by above-mentioned slave next-hop DMAC information in forwarding information is changed to the DMAC for the P equipment being connected with above-mentioned standby tunnel FRR exit port;And on updating Three layer interface information in slave next-hop forwarding information are stated, all VPN FRR slave next-hop is all pointed to the three layer interfaces rope Draw.
The invention enables the quantity of tunnel FRR switching times and L3VPN business are unrelated, while realizing tunnel FRR switchings The separation switched with VPN FRR, greatly reduces switching time, reduces system complexity, while having saved substantial amounts of hard Part resource, so as to save cost.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the present invention, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the networking schematic diagram that classical MPLS L3VPN VPN FRR are superimposed tunnel FRR;
Fig. 2 is the up handling process schematic diagram for entering the message of PE1 equipment in Fig. 1
Fig. 3 is the refinement diagram of next-hop forwarding information;
Fig. 4 is existing MPLS L3VPN VPN FRR schematic diagrames;
Fig. 5 is the flow chart of the VPN FRR method preferred embodiments of MPLS L3VPN systems of the present invention;
Fig. 6 is the theory diagram of the VPN FRR device preferred embodiments of MPLS L3VPN systems of the present invention.
Embodiment
In order that technical problems, technical solutions and advantages to be solved are clearer, clear, tie below Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
With reference to Fig. 3, after tunnel FRR, forwarding next-hop list item only has 3 places to need to change in fact, is respectively:Physics goes out Port information, three layer interface information and DMAC information.
Wherein, DMAC information and three layer interface information are the corresponding forwarding next-hop indexes of all above business of three layer interfaces To same multiplexing list item, can directly it change, and it is unrelated with number of routes;But the exit port information of each next-hop needs Each next-hop is changed one by one.
Based on features above, the present invention realizes all related route correspondence next-hops in tunnel using inside trunk methods Port switching, corresponding next-hop is inside protecting tunnel group, and protecting tunnel group and trunkID are corresponded, when need into , just can be with as long as carrying out corresponding internal trunk ports switching when row protecting tunnel group switches.
As shown in figure 5, being the VPN FRR method flow diagrams of MPLS L3VPN systems of the present invention, present embodiment assumes that superposition The exit port information for having tunnel FRR VPN FRR active and standby next-hop forwarding information has been arranged to internal trunk ID, and Above-mentioned trunk ID are consistent with the ID of the protecting tunnel group of respective path;Such as, the ID of the protection path group of main path is 1, then The trunk ID of the next-hop forwarding information of main path are trunk 1.Assuming that system need switching, the present embodiment specifically include with Lower step:
Step S001:Current switching type is judged, if the active and standby path switchings of VPN FRR, then perform step S009;If For the protecting tunnel group switching in VPN FRR active/standby path, then step S002 is performed;
Step S002:It is the protecting tunnel group switching of VPN FRR main path to judge above-mentioned protecting tunnel group switching, still The protecting tunnel group in standby path switches, if the protecting tunnel group switching of main path, then perform step S003, if standby path Protecting tunnel group switches, then performs step S006;
Step S003:Judge that the protecting tunnel group of above-mentioned VPN FRR main path is to switch to main tunnel FRR, still cut Standby tunnel FRR is changed to, if being to switch to main tunnel FRR, step S004 is performed, if being to switch to standby tunnel FRR, step is performed Rapid S005;
Step S004:Trunk ID, the purpose media access control DMAC changed in the next-hop forwarding information of main path Information and three layer interface information, be specially:By the trunk ID in the next-hop forwarding information of above-mentioned VPN FRR main path Be changed to above-mentioned main tunnel FRR go out port numbers, by the DMAC information in above-mentioned main next-hop forwarding information be changed to it is above-mentioned The DMAC of the P equipment of main tunnel FRR exit port connection;And three layer interfaces updated in above-mentioned main next-hop forwarding information are believed Breath, makes all VPN FRR main next-hop all point to three layer interface index, terminates;
Step S005:Trunk ID, the purpose media access control DMAC changed in the next-hop forwarding information of main path Information and three layer interface information, be specially:By the trunk ID in the next-hop forwarding information of above-mentioned VPN FRR main path Be changed to above-mentioned standby tunnel FRR go out port numbers, by the DMAC information in above-mentioned main next-hop forwarding information be changed to it is above-mentioned The DMAC for the P equipment that standby tunnel FRR exit port is connected;And three layer interfaces updated in above-mentioned main next-hop forwarding information are believed Breath, makes all VPN FRR main next-hop all point to three layer interface index, terminates;
Step S006:Judge that the protecting tunnel group in above-mentioned VPN FRR standby path is to switch to main tunnel FRR, still cut Standby tunnel FRR is changed to, if being to switch to main tunnel FRR, step S007 is performed, if being to switch to standby tunnel FRR, step is performed Rapid S008;
Step S007:Trunk ID in the next-hop forwarding information in above-mentioned standby path are changed to above-mentioned main tunnel FRR Go out port numbers, the DMAC information in above-mentioned slave next-hop forwarding information is changed to and above-mentioned main tunnel FRR exit port company The DMAC of the P equipment connect;And three layer interface information in the above-mentioned slave next-hop forwarding information of renewal, make all VPN FRR's Slave next-hop all points to three layer interface index, terminates;
Step S008:Trunk ID in the next-hop forwarding information in above-mentioned standby path are changed to above-mentioned standby tunnel FRR Go out port numbers, the DMAC information in above-mentioned slave next-hop forwarding information is changed to and above-mentioned standby tunnel FRR exit port connects The DMAC of the P equipment connect;And three layer interface information in the above-mentioned slave next-hop forwarding information of renewal, make all VPN FRR's Slave next-hop all points to three layer interface index, terminates;
Step S009:Judge that VPN FRR are to switch to main path and are also to switch to standby path, if being to switch to main path, Then perform step S010;If being to switch to standby path, step S011 is performed;
Step S010:Main next-hop is switched to, is terminated;
Step S011:Slave next-hop is switched to, is terminated.
As shown in figure 1, the path that CE1 goes to CE2 has four, it is respectively:PE1- > P1- > PE2, PE1- > P2- > PE2, PE1- > P3- > PE3, PE1- > P4- > PE3, it is assumed that this four paths correspondence PE1 exit port is respectively 1,2,3,4. In figure, PE1- > PE2, PE1- > PE3 path constitute VPN FRR, PE1- > P1- > PE2, PE1- > P2- > PE2, PE1- > P3- > PE3, PE1- > P4- > PE3 constitute tunnel FRR, it is assumed that PE1- > PE2 are main path, based on PE1- > P1- > PE2 Tunnel FRR, PE1- > P2- > PE2 are standby tunnel FRR, and protecting tunnel group ID be 1, PE1- > PE3 be for path, PE1- > P3- > PE3 are main tunnel FRR, and PE1- > P4- > PE3 are standby tunnel FRR, and the ID of protecting tunnel group is 2,
Because VPN FRR have been superimposed tunnel FRR simultaneously, therefore end will be gone out in VPN FRR main next-hop forwarding information Message breath is set to trunk 1 (correspondence protecting tunnel group 1), and the exit port in VPN FRR slave next-hop forwarding information is believed Breath is set to trunk 2 (correspondence protecting tunnel group 2), according to the method for the present invention,
If the 1, protecting tunnel group 1 is switched to main tunnel FRR, only trunk 1 port need to be changed to 1, by main path The DMAC information of next-hop forwarding information be changed to P1 DMAC, while changing three layers of the next-hop forwarding information of main path Interface message, makes all VPN FRR main next-hop all point to this three layer interface index;
If the 2, protecting tunnel group 1 is switched to standby tunnel FRR, only trunk 1 port need to be changed to 2, by main path The DMAC information of next-hop forwarding information be changed to P2 DMAC, while changing three layers of the next-hop forwarding information of main path Interface message, makes all VPN FRR main next-hop all point to this three layer interface index;
If the 3, protecting tunnel group 2 is switched to main tunnel FRR, only trunk 2 port need to be changed to 3, will standby path The DMAC information of next-hop forwarding information be changed to P3 DMAC, while three layers of the next-hop forwarding information in the standby path of change Interface message, makes all VPN FRR slave next-hop all point to this three layer interface index;
If the 4, protecting tunnel group 2 is switched to standby tunnel FRR, only trunk 2 port need to be changed to 4, will standby path The DMAC information of next-hop forwarding information be changed to P4 DMAC, while three layers of the next-hop forwarding information in the standby path of change Interface message, makes all VPN FRR slave next-hop all point to this three layer interface index;
If the 5, the VPN FRR of certain route are switched to main path, by this route handoff to corresponding main next-hop;
If the 6, the VPN FRR of certain route are switched to standby path, by the corresponding slave next-hop of this route handoff.
Above-mentioned 1-4 scene belongs to the switching of protecting tunnel group, it is only necessary to switch 3 table entries, with switching time and route Entry is unrelated;5-6 scene belongs to the active and standby path switching of route, and after the present invention, a route only needs switching once, nothing The protecting tunnel group state of association need to be concerned about, switching flow is simple.
As shown in fig. 6, being the theory diagram of the VPN FRR devices of MPLS L3VPN systems of the present invention, the present embodiment includes Setup module 01 and handover module 02, handover module 02 include judging submodule 21, update submodule 22 and path switching Module 23,
Setup module 01, the next-hop routing forwarding letter for the active and standby path of the VPN FRR by tunnel FRR is superimposed with The exit port information of breath is arranged to internal trunk ID, and makes above-mentioned trunk ID and above-mentioned active and standby path protecting tunnel group ID it is consistent;
Handover module 02, for when the protecting tunnel group in VPN FRR active/standby path switches, updating respective paths Trunk ID, DMAC information and three layer interface information in next-hop forwarding information;Specifically:
Judging submodule 21, for judging that current switching is the active and standby path switchings of VPN FRR, or VPN FRR master/ The protecting tunnel group in standby path switches;When currently switching to the active and standby paths of VPN FRR to switch, current switching is determined whether It is main path switching, or for path switching, will determine that result is sent to path switching submodule 23;VPN is switched to currently FRR active/standby path protecting tunnel group switching when, determine whether be VPN FRR main path protecting tunnel group switching, Or the protecting tunnel group switching in VPN FRR standby path, and when being the protecting tunnel group switching of VPN FRR main path, Judgement is to switch to main tunnel FRR, is also to switch to standby tunnel FRR;It is being the protecting tunnel group switching in VPN FRR standby path When, judgement is to switch to main tunnel FRR, is also to switch to standby tunnel FRR, will determine that result is sent to renewal submodule 22;
Submodule 22 is updated, for according to the judged result received, updating the next-hop routing forwarding of above-mentioned respective paths Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information of information, be specially:In above-mentioned judgement knot When fruit is switched to main tunnel FRR for the protecting tunnel group of VPN FRR main path, by the next-hop forwarding information of above-mentioned main path In trunk ID be changed to above-mentioned main tunnel FRR go out port numbers, by the DMAC information in above-mentioned main next-hop forwarding information It is changed to the DMAC of P equipment being connected with above-mentioned main tunnel FRR exit port;And update in above-mentioned main next-hop forwarding information Three layer interface information, make all VPN FRR main next-hop all point to three layer interface index;It is in above-mentioned judged result When the protecting tunnel group of VPN FRR main path is switched to standby tunnel FRR, by the next-hop forwarding information of above-mentioned main path Trunk ID are changed to above-mentioned standby tunnel FRR go out port numbers, and the DMAC information in above-mentioned main next-hop forwarding information is changed The DMAC for the P equipment being connected for the exit port with above-mentioned standby tunnel FRR;And three in the above-mentioned main next-hop forwarding information of renewal Layer interface information, makes all VPN FRR main next-hop all point to three layer interface index;It is VPN in above-mentioned judged result When the protecting tunnel group in FRR standby path is switched to main tunnel FRR, by the next-hop forwarding information in above-mentioned standby path Trunk ID are changed to above-mentioned main tunnel FRR go out port numbers, and the DMAC information in above-mentioned slave next-hop forwarding information is changed The DMAC for the P equipment being connected for the exit port with above-mentioned main tunnel FRR;And three in the above-mentioned slave next-hop forwarding information of renewal Layer interface information, makes all VPN FRR slave next-hop all point to three layer interface index;It is VPN in above-mentioned judged result When the protecting tunnel group in FRR standby path is switched to standby tunnel FRR, by the next-hop forwarding information in above-mentioned standby path Trunk ID are changed to above-mentioned standby tunnel FRR go out port numbers, and the DMAC information in above-mentioned slave next-hop forwarding information is changed The DMAC for the P equipment being connected for the exit port with above-mentioned standby tunnel FRR;And three in the above-mentioned slave next-hop forwarding information of renewal Layer interface information, makes all VPN FRR slave next-hop all point to three layer interface index;
Path switching submodule 23, for according to the judged result received, by corresponding route handoff to main next-hop, or Person's slave next-hop.
The preferred embodiments of the present invention have shown and described in described above, but as previously described, it should be understood that the present invention is not Form disclosed herein is confined to, the exclusion to other embodiment is not to be taken as, and available for various other combinations, modification And environment, and can be carried out in invention contemplated scope described herein by the technology or knowledge of above-mentioned teaching or association area Change., then all should be in institute of the present invention and the change and change that those skilled in the art are carried out do not depart from the spirit and scope of the present invention In attached scope of the claims.

Claims (10)

1. a kind of quick heavy-routes of private virtual net VPN of tri- layers of private virtual net L3VPN systems of multiprotocol label switching MPLS FRR methods, it is characterised in that methods described is for being superimposed with tunnel FRR VPN FRR, by the next-hop road in its active and standby path Internal trunk ID are disposed as by the exit port information of forwarding information, and protect the tunnel of the trunk ID and respective path The ID of shield group is consistent;
When the protecting tunnel group switching in the active/standby path of the VPN FRR, then the next-hop forwarding information of respective paths is updated In trunk ID, purpose media access control DMAC information and three layer interface information.
2. according to the method described in claim 1, it is characterised in that the protecting tunnel group in the active/standby path of the VPN FRR is cut When changing, then trunk ID, DMAC information and three layer interface information Steps in the next-hop forwarding information of respective paths are updated Specifically include:
When the protecting tunnel group of the main path of the VPN FRR is switched to main tunnel FRR, then the master of the VPN FRR is updated Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information in path;
When the protecting tunnel group of the main path of the VPN FRR is switched to standby tunnel FRR, then the master of the VPN FRR is updated Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information in path;
When the protecting tunnel group in the standby path of the VPN FRR is switched to main tunnel FRR, then the standby of the VPN FRR is updated Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information in path;
When the protecting tunnel group in the standby path of the VPN FRR is switched to standby tunnel FRR, then the standby of the VPN FRR is updated Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information in path.
3. method according to claim 2, it is characterised in that when the protecting tunnel group of the main path of the VPN FRR is cut When changing to main tunnel FRR, trunk ID, DMAC information in the next-hop forwarding information of the main path of the renewal VPN FRR And three layer interface information Step be specially:
Trunk ID in the next-hop forwarding information of the main path are changed to the go out port numbers of the main tunnel FRR, will DMAC information in the next-hop forwarding information of the main path is changed to set with the P that the exit port of the main tunnel FRR is connected Standby DMAC;And three layer interface information in the next-hop forwarding information of the renewal main path, make all VPN FRR master Next-hop all points to three layer interface index.
4. method according to claim 2, it is characterised in that when the protecting tunnel group of the main path of the VPN FRR is cut When changing to standby tunnel FRR, trunk ID, DMAC information in the next-hop forwarding information of the main path of the renewal VPN FRR And three layer interface information be specially:
Trunk ID in the next-hop forwarding information of the main path are changed to the go out port numbers of the standby tunnel FRR, will DMAC information in the next-hop forwarding information of the main path is changed to set with the P that the exit port of the standby tunnel FRR is connected Standby DMAC;And three layer interface information in the next-hop forwarding information of the renewal main path, make all VPN FRR master Next-hop all points to three layer interface index.
5. method according to claim 2, it is characterised in that when the protecting tunnel group in the standby path of the VPN FRR is cut When changing to main tunnel FRR, trunk ID, DMAC information in the next-hop forwarding information in the standby path of the renewal VPN FRR And three layer interface information be specially:
Trunk ID in the next-hop forwarding information in the standby path are changed to the go out port numbers of the main tunnel FRR, will DMAC information in the next-hop forwarding information in the standby path is changed to set with the P that the exit port of the main tunnel FRR is connected Standby DMAC;And three layer interface information in the next-hop forwarding information in the renewal standby path, make all VPN FRR's standby Next-hop all points to three layer interface index.
6. method according to claim 2, it is characterised in that when the protecting tunnel group in the standby path of the VPN FRR is cut When changing to standby tunnel FRR, trunk ID, DMAC information in the next-hop forwarding information in the standby path of the renewal VPN FRR And three layer interface information be specially:
Trunk ID in the next-hop forwarding information in the standby path are changed to the go out port numbers of the standby tunnel FRR, will DMAC information in the next-hop forwarding information in the standby path is changed to set with the P that the exit port of the standby tunnel FRR is connected Standby DMAC;And three layer interface information in the next-hop forwarding information in the renewal standby path, make all VPN FRR's standby Next-hop all points to three layer interface index.
7. method according to claim 1 or 2, it is characterised in that in methods described,
When the VPN FRR are switched to main path, then corresponding route is directly switch to main next-hop;
When the VPN FRR are switched to standby path, then corresponding route is directly switch to slave next-hop.
8. the VPN FRR devices of a kind of MPLS L3VPN systems, it is characterised in that described device includes setup module and switching mould Block,
The setup module, the next-hop routing forwarding information for the active and standby path of the VPN FRR by tunnel FRR is superimposed with Exit port information be arranged to internal trunk ID, and make the trunk ID and the protecting tunnel group in the active and standby path ID is consistent;
The handover module, for when the protecting tunnel group in VPN FRR active/standby path switches, updating under respective paths One redirects trunk ID, DMAC information and three layer interface information in photos and sending messages.
9. device according to claim 8, it is characterised in that the handover module includes judging submodule, updates submodule Block and path switching submodule,
The judging submodule, for judging currently to switch to the active and standby path switchings of VPN FRR, or the switching of protecting tunnel group; When currently switching to the active and standby paths of VPN FRR to switch, it is main path switching to determine whether current switching, or for path Switching, will determine that result is sent to the path switching submodule;When currently switching to protecting tunnel group to switch, further sentence Disconnected is the protecting tunnel group switching of main path, or is switched for the protecting tunnel group in path, and in the protecting tunnel for being main path During group switching, judgement is to switch to main tunnel FRR, is also to switch to standby tunnel FRR;It is being the protecting tunnel group switching in standby path When, judgement is to switch to main tunnel FRR, is also to switch to standby tunnel FRR, will determine that result is sent to the renewal submodule;
The renewal submodule, for according to the judged result received, updating the next-hop routing forwarding letter of the respective paths Trunk ID, DMAC information and three layer interface information in the next-hop forwarding information of breath;
The path switching submodule, for according to the judged result received, by corresponding route handoff to main next-hop, or Slave next-hop.
10. device according to claim 9, it is characterised in that
The renewal submodule, is additionally operable to be switched to master in the judged result for the protecting tunnel group of VPN FRR main path During tunnel FRR, the trunk ID in the next-hop forwarding information of the main path are changed to the exit port of the main tunnel FRR Number, the DMAC information in the next-hop forwarding information of the main path is changed to be connected with the exit port of the main tunnel FRR P equipment DMAC;And three layer interface information in the next-hop forwarding information of the renewal main path, make all VPN FRR main next-hop all points to three layer interface index;
When the judged result is switched to standby tunnel FRR for the protecting tunnel group of VPN FRR main path, by the main path Next-hop forwarding information in trunk ID be changed to the go out port numbers of the standby tunnel FRR, by the next of the main path Redirect the DMAC of P equipment that the DMAC information in photos and sending messages is changed to be connected with the exit port of the standby tunnel FRR;And update Three layer interface information in the next-hop forwarding information of the main path, make all VPN FRR main next-hop all point to this three Layer interface is indexed;
When the judged result is switched to main tunnel FRR for the protecting tunnel group in VPN FRR standby path, by the standby path Next-hop forwarding information in trunk ID be changed to the go out port numbers of the main tunnel FRR, by the next of the standby path Redirect the DMAC of P equipment that the DMAC information in photos and sending messages is changed to be connected with the exit port of the main tunnel FRR;And update Three layer interface information in the next-hop forwarding information in the standby path, make all VPN FRR slave next-hop all point to this three Layer interface is indexed;
When the judged result is switched to standby tunnel FRR for the protecting tunnel group in VPN FRR standby path, by the standby path Next-hop forwarding information in trunk ID be changed to the go out port numbers of the standby tunnel FRR, by the next of the standby path Redirect the DMAC of P equipment that the DMAC information in photos and sending messages is changed to be connected with the exit port of the standby tunnel FRR;And update Three layer interface information in the next-hop forwarding information in the standby path, make all VPN FRR slave next-hop all point to this three Layer interface is indexed.
CN201110169830.3A 2011-06-22 2011-06-22 MPLS L3VPN private virtual net fast rerouting methods and system Active CN102355398B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110169830.3A CN102355398B (en) 2011-06-22 2011-06-22 MPLS L3VPN private virtual net fast rerouting methods and system
PCT/CN2012/076381 WO2012174979A1 (en) 2011-06-22 2012-06-01 Fast rerouting method and system for mpls l3vpn private virtual network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110169830.3A CN102355398B (en) 2011-06-22 2011-06-22 MPLS L3VPN private virtual net fast rerouting methods and system

Publications (2)

Publication Number Publication Date
CN102355398A CN102355398A (en) 2012-02-15
CN102355398B true CN102355398B (en) 2017-10-27

Family

ID=45578895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110169830.3A Active CN102355398B (en) 2011-06-22 2011-06-22 MPLS L3VPN private virtual net fast rerouting methods and system

Country Status (2)

Country Link
CN (1) CN102355398B (en)
WO (1) WO2012174979A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355398B (en) * 2011-06-22 2017-10-27 南京中兴软件有限责任公司 MPLS L3VPN private virtual net fast rerouting methods and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030917A (en) * 2007-03-31 2007-09-05 华为技术有限公司 Method and apparatus for realizing MPLS TE on VLAN interface

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070076706A1 (en) * 2005-09-30 2007-04-05 Siemens Aktiengesellschaft Fast reroute in a multiprotocol label switching network
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)
CN101877677B (en) * 2010-06-25 2014-08-13 中兴通讯股份有限公司 Tunnel switching method and system for multi-protocol label switching services
CN102035740B (en) * 2010-12-17 2015-09-16 中兴通讯股份有限公司 Multi-protocol label switching three-layer private virtual net fast rerouting method and system
CN102355398B (en) * 2011-06-22 2017-10-27 南京中兴软件有限责任公司 MPLS L3VPN private virtual net fast rerouting methods and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030917A (en) * 2007-03-31 2007-09-05 华为技术有限公司 Method and apparatus for realizing MPLS TE on VLAN interface

Also Published As

Publication number Publication date
CN102355398A (en) 2012-02-15
WO2012174979A1 (en) 2012-12-27

Similar Documents

Publication Publication Date Title
CN104426763B (en) Tunnel switching method, device and interchanger
JP4531063B2 (en) System and method for guaranteeing service quality in virtual private network
JP3868815B2 (en) Communications system
CN104243270B (en) A kind of method and apparatus for establishing tunnel
US7710970B2 (en) Source identifier for MAC address learning
US8199755B2 (en) Method and apparatus establishing forwarding state using path state advertisements
JP5314046B2 (en) Replacing MPLS SP nodes using link state protocol controlled Ethernet networks
CN100450039C (en) Fast convergence method and device of the end-to-end service
CN111901235A (en) Method and device for processing route, and method and device for data transmission
CN102739501B (en) Message forwarding method and system in two three layer virtual private networks
WO2015184852A1 (en) Sr information obtainment method and sr network establishment method
US8750314B2 (en) Method and device for link protection in virtual private local area network
AU2004227785A1 (en) Method for recursive BGP route updates in MPLS networks
CN102075446A (en) Interconnection method of transparent interconnection network of lots of links in different places and operator edge device
WO2012079368A1 (en) Method and system for multiprotocol label switching layer-three virtual private network fast reroute
US20090052444A1 (en) Methods, systems, and computer program products for providing multi-service communication networks and related core networks
WO2011147299A1 (en) Fast reroute method and apparatus in layer-2 virtual private network
JP5426024B2 (en) Connecting the inner MPLS label and the outer MPLS label
Sajassi et al. Requirements for ethernet vpn (evpn)
CN103841026B (en) VPN route managing system and method of router IP protocol stack
EP2627037B1 (en) Network configuration method
CN102355398B (en) MPLS L3VPN private virtual net fast rerouting methods and system
CN105721305B (en) The method of L3VPN route iteration outlet
WO2018040614A1 (en) Method, related device, and system for establishing label-switched path for virtual private network
CN101557334A (en) MPLS VPN, VPN multiple-instance user edge device and implementation method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20170517

Address after: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Applicant after: Nanjing Zhongxing Software Co., Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corporation

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20190916

Address after: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee after: ZTE Corporation

Address before: 210012 Nanjing, Yuhuatai District, South Street, Bauhinia Road, No. 68

Patentee before: Nanjing Zhongxing Software Co., Ltd.

TR01 Transfer of patent right