CN104660503A - IP forwarding method and system based on MPLS (multi-protocol label switching) backups - Google Patents
IP forwarding method and system based on MPLS (multi-protocol label switching) backups Download PDFInfo
- Publication number
- CN104660503A CN104660503A CN201510102343.3A CN201510102343A CN104660503A CN 104660503 A CN104660503 A CN 104660503A CN 201510102343 A CN201510102343 A CN 201510102343A CN 104660503 A CN104660503 A CN 104660503A
- Authority
- CN
- China
- Prior art keywords
- mpls
- link
- forwarding
- backup
- primary link
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides an IP forwarding method and system based on MPLS (multi-protocol label switching) backups. The method comprises steps as follows: A, setting one or more network transmission main links adopting IP forwarding; B, setting one or more backup links adopting MPLS forwarding. The backup links are set with the MPLS forwarding method, the characteristic of the lower update frequency of the backup links is combined, advantages of MPLS forwarding are utilized, and the maintenance cost of the backup links are effectively reduced, so that many-to-one protection of network backups can be realized, the stability of the backup links can be improved, and the network reliability can be guaranteed.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and the system thereof that back up ip forwarding based on MPLS.
Background technology
Multiprotocol label switching (Multi-protocol Label Switch, MPLS) uses short and the label of fixed length (label) carrys out encapsulating packets, realizes fast-forwarding at datum plane.At control plane, MPLS has the powerful routing function flexibly of IP network, can meet the requirement of various new opplication to network.This technology is at first in order to the forwarding speed improving router proposes.Compared with Traditional IP routing mode, it is when data retransmission, only at network edge analyzing IP heading, and not be used in each and jumps all analyzing IP headings, save the processing time.
Due to the development of the Internet, the stability of network demand is more and more higher, backup link also more and more important, how to set up backup link efficiently important all the more.And general for internet transmission, because networking is complicated, the main ip of employing forwards.If take ip to forward backup simultaneously, then required the transmitting of maintenance of backup link can be larger.Therefore, prior art need development.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide and a kind ofly back up based on MPLS the method and system thereof that ip forwards, be intended to solve that backup link in prior art need safeguard transmits larger problem.
In order to achieve the above object, this invention takes following technical scheme:
Based on MPLS back up ip forward a method, wherein, described method comprises: A, arrange one or more of employing ip forward Internet Transmission primary link, B, arrange one or more of employing MPLS forward backup link.
Described back up based on MPLS the method that ip forwards, wherein, described method also comprises: step C, when arbitrary primary link breaks down, by the flow switch of fault primary link on backup link.
Described back up based on MPLS the method that ip forwards, wherein, also comprise after step c: step D, after primary link failure is repaired, by flow switchback primary link.
Described back up based on MPLS the method that ip forwards, wherein, described step B specifically comprises: B1, original message is encapsulated in MPLS label inside, B2, carries out the forwarding of packet based on the MPLS label of control plane distribution, B3, forms backup link.
A kind of system backing up ip forwarding based on MPLS, wherein, described system comprises: primary link module, for arranging the Internet Transmission primary link that one or more of employing ip forwards, backup link module, for arranging the backup link that one or more of employing MPLS forwards.
The described system backing up ip forwarding based on MPLS, wherein, described system also comprises handover module, for when arbitrary primary link breaks down, by the flow switch of fault primary link on backup link.
Described back up based on MPLS the system that ip forwards, wherein, described handover module also for, after primary link failure is repaired, by flow switchback primary link.
Described back up based on MPLS the system that ip forwards, wherein, described backup link module specifically for: original message is encapsulated in MPLS label inside; MPLS label based on control plane distribution carries out the forwarding of packet; Form backup link.
Beneficial effect: method and the system thereof backing up ip forwarding based on MPLS provided by the invention; by the mode adopting MPLS to forward, backup link is set; in conjunction with the feature that backup link renewal frequency is lower; utilize the advantage that MPLS forwards; effectively reduce the maintenance cost of backup link; make network backup can reach many-to-one protection, improve the stability of backup link, the reliability of Logistics networks.
Accompanying drawing explanation
Fig. 1 is a kind of method schematic diagram backing up the specific embodiment of the method that ip forwards based on MPLS of the present invention.
Fig. 2 uses the syndeton schematic diagram backing up the network connection specific embodiment of the method that ip forwards based on MPLS of the present invention.
Fig. 3 is a kind of structured flowchart backing up the specific embodiment of the system that ip forwards based on MPLS of the present invention.
Embodiment
The invention provides a kind of method and the system thereof that back up ip forwarding based on MPLS.For making object of the present invention, technical scheme and effect clearly, clearly, developing simultaneously referring to accompanying drawing, the present invention is described in more detail for embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 is a kind of specific embodiment backing up the method that ip forwards based on MPLS of the present invention.
As shown in Figure 1, described method comprises:
S100, arrange one or more of employing ip forward Internet Transmission primary link.
Concrete primary link quantity can be determined according to real network demand etc.
S200, arrange one or more of employing MPLS forward backup link.
MPLS pass-through mode is based on label forwarding due to it, and in network O&M management, its available forwarding scope is less, therefore cannot be applied in Internet Transmission primary link.But because backup link renewal frequency is lower, the forwarding scope of MPLS can meet the primary demand of backup link, also has lower backup cost, makes backup link more efficient simultaneously.
Concrete, described method also comprises: when arbitrary primary link breaks down, by the flow switch of fault primary link on backup link.And after primary link failure is repaired, then by flow switchback primary link.
Fig. 2 uses the specific embodiment backing up the method that ip forwards based on MPLS of the present invention.As shown in Figure 2, message repeating from device A to equipment C is provided with the primary link 1 and 2 (respectively by trunking B1, B2) adopting ip to forward, the backup that device A produces a MPLS forwarding by trunking B3 to equipment C is transmitted (i.e. link 3), and link 3 is as backup link.
When any one link occurs fault in link 1 or 2, the flow of the link of cause barrier will be switched to rapidly on backup link 3, ensures the stable transfer at networking.And when primary link failure solves, flow switches back to primary link.
More specifically, described step S200 specifically comprises: first, original message is encapsulated in MPLS label inside.Then, the MPLS label of distributing based on control plane carries out the forwarding of packet.Finally, backup link is formed.
Described MPLS label is the short identifier that local significance was fixed, only had to a length, for the forwarding equivalence class FEC belonging to unique identification one grouping.
Certainly, in some cases, such as, will carry out load balancing, a corresponding FEC may have multiple label, but a label can only represent a FEC.
Described employing specifically comprises based on the forwarding mechanism of mark: when data flow arrives entrance LER, packet is mapped on LSP by entrance LER, and data packet encapsulation is become mark packets and mark packets forwarded from corresponding port.After completing packing, LSR obtains mark value from " SHIM ", shows, find output port and the output token of corresponding list item, replace input marking, forward from output port with output token with this mark value index LIB.Finally, egress router (last node that packet is experienced in an mpls network), carries out ejecting the operations such as mark accordingly.
The present invention also provides a kind of system backing up ip forwarding based on MPLS.As shown in Figure 3, described system comprises: primary link module 100, for arranging the Internet Transmission primary link that one or more of employing ip forwards, backup link module 200, for arranging the backup link that one or more of employing MPLS forwards.
Concrete, described system also comprises handover module 300, for when arbitrary primary link breaks down, by the flow switch of fault primary link on backup link.
More specifically, described handover module 300 also for, when primary link failure repair after, by flow switchback primary link.
It is preferred that described backup link module 200 specifically for: original message is encapsulated in MPLS label inside; MPLS label based on control plane distribution carries out the forwarding of packet; Form backup link.
Method and the system thereof backing up ip forwarding based on MPLS provided by the invention; by the mode adopting MPLS to forward, backup link is set; in conjunction with the feature that backup link renewal frequency is lower; utilize the advantage that MPLS forwards; effectively reduce the maintenance cost of backup link; make network backup can reach many-to-one protection, improve the stability of backup link, the reliability of Logistics networks.
Be understandable that, for those of ordinary skills, can be equal to according to technical scheme of the present invention and the present invention's design and replace or change, and all these change or replace the protection range that all should belong to the claim appended by the present invention.
Claims (8)
1. based on MPLS back up ip forward a method, it is characterized in that, described method comprises: A, arrange one or more of employing ip forward Internet Transmission primary link, B, arrange one or more of employing MPLS forward backup link.
2. according to claim 1ly back up based on MPLS the method that ip forwards, it is characterized in that, described method also comprises: step C, when arbitrary primary link breaks down, by the flow switch of fault primary link on backup link.
3. according to claim 2 based on MPLS back up ip forward method, it is characterized in that, also comprise after step c: step D, when primary link failure repair after, by flow switchback primary link.
4. the method backing up ip forwarding based on MPLS according to claim 1, it is characterized in that, described step B specifically comprises: B1, original message is encapsulated in MPLS label inside, B2, carries out the forwarding of packet based on the MPLS label of control plane distribution, B3, forms backup link.
5. one kind is backed up the system of ip forwarding based on MPLS, it is characterized in that, described system comprises: primary link module, for arranging the Internet Transmission primary link that one or more of employing ip forwards, backup link module, for arranging the backup link that one or more of employing MPLS forwards.
6. the system backing up ip forwarding based on MPLS according to claim 5, it is characterized in that, described system also comprises handover module, for when arbitrary primary link breaks down, by the flow switch of fault primary link on backup link.
7. according to claim 6 based on MPLS back up ip forward system, it is characterized in that, described handover module also for, when primary link failure repair after, by flow switchback primary link.
8. according to claim 5 based on MPLS back up ip forward system, it is characterized in that, described backup link module specifically for: original message is encapsulated in MPLS label inside; MPLS label based on control plane distribution carries out the forwarding of packet; Form backup link.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510102343.3A CN104660503A (en) | 2015-03-09 | 2015-03-09 | IP forwarding method and system based on MPLS (multi-protocol label switching) backups |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510102343.3A CN104660503A (en) | 2015-03-09 | 2015-03-09 | IP forwarding method and system based on MPLS (multi-protocol label switching) backups |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104660503A true CN104660503A (en) | 2015-05-27 |
Family
ID=53251225
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510102343.3A Pending CN104660503A (en) | 2015-03-09 | 2015-03-09 | IP forwarding method and system based on MPLS (multi-protocol label switching) backups |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104660503A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661702A (en) * | 2018-06-28 | 2020-01-07 | 中兴通讯股份有限公司 | Link backup method and device and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150587A (en) * | 2007-10-24 | 2008-03-26 | 华为技术有限公司 | A method, device and system for traffic switching of multi-protocol label switching traffic engineering |
CN101159690A (en) * | 2007-11-19 | 2008-04-09 | 杭州华三通信技术有限公司 | Multi-protocol label switch forwarding method, device and label switching path management module |
EP2530892A1 (en) * | 2004-06-18 | 2012-12-05 | Cisco Technology, Inc. | Consistency Between MPLS Traffic Engineering Forwarding and Control Planes |
-
2015
- 2015-03-09 CN CN201510102343.3A patent/CN104660503A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2530892A1 (en) * | 2004-06-18 | 2012-12-05 | Cisco Technology, Inc. | Consistency Between MPLS Traffic Engineering Forwarding and Control Planes |
CN101150587A (en) * | 2007-10-24 | 2008-03-26 | 华为技术有限公司 | A method, device and system for traffic switching of multi-protocol label switching traffic engineering |
CN101159690A (en) * | 2007-11-19 | 2008-04-09 | 杭州华三通信技术有限公司 | Multi-protocol label switch forwarding method, device and label switching path management module |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110661702A (en) * | 2018-06-28 | 2020-01-07 | 中兴通讯股份有限公司 | Link backup method and device and computer readable storage medium |
CN110661702B (en) * | 2018-06-28 | 2022-09-13 | 中兴通讯股份有限公司 | Link backup method and device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104639470B (en) | Traffic identifier packaging method and system | |
CN105376154B (en) | Gradual MAC address learning | |
EP2087712B1 (en) | Method and apparatus for computing alternate multicast/broadcast paths in a routed network | |
CN102301663B (en) | Message processing method and associated devices | |
CN101394361B (en) | Packet transmission method, device and system | |
US9515845B2 (en) | Utility communication method and system | |
US20190081897A1 (en) | Mechanism and apparatus for path protection when using compressed segment routing label stacks | |
CN105706393A (en) | Method and system of supporting operator commands in link aggregation group | |
CN102882780B (en) | Looped network tunnel configuration method based on overlapping trees, ring network protection method and system | |
CN105282028A (en) | Message transmission method, nodes and path management servers | |
CN105657748A (en) | Communication method based on tunnel binding and network devices | |
CN102638389A (en) | Redundancy backup method and system of TRILL (Transparent Interconnection over Lots of Links) network | |
CN103959716A (en) | System and method for topology transparent zoning in network communications | |
EP2974173B1 (en) | Path optimization in multi-node virtual switch with orphan ports | |
CN101710875A (en) | Method and device for realizing rapid re-routing | |
CN104980351A (en) | Fast reroute method based on SDN network | |
CN101860482B (en) | Two-layer virtual private network fast re-route method and device | |
CN103973568A (en) | Method and equipment for forwarding SDN (software defined network) flow on MPLS (multi-protocol label switching) core network | |
CN104468208A (en) | Detection and recovery method and device for communication faults | |
CN103973491A (en) | Fault processing method, optical layer control network element and IP layer control network element | |
CN103795630A (en) | Message transmitting method and device of label switching network | |
CN105262686B (en) | Network connectivity verification method and device | |
CN103595641A (en) | Device and method for synchronizing label distribution protocol and inner gateway protocol | |
CN103281244B (en) | A kind of service bearer method and device of multi-protocol label switching network | |
CN105245363B (en) | Linear protection method based on OpenFlow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150527 |
|
WD01 | Invention patent application deemed withdrawn after publication |