[go: up one dir, main page]

CN107306197A - A kind of method and device of protecting tunnel - Google Patents

A kind of method and device of protecting tunnel Download PDF

Info

Publication number
CN107306197A
CN107306197A CN201610249303.6A CN201610249303A CN107306197A CN 107306197 A CN107306197 A CN 107306197A CN 201610249303 A CN201610249303 A CN 201610249303A CN 107306197 A CN107306197 A CN 107306197A
Authority
CN
China
Prior art keywords
lsp
main
protection
relation
node
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.)
Withdrawn
Application number
CN201610249303.6A
Other languages
Chinese (zh)
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
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610249303.6A priority Critical patent/CN107306197A/en
Priority to PCT/CN2017/072486 priority patent/WO2017181756A1/en
Publication of CN107306197A publication Critical patent/CN107306197A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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
    • 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/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]

Landscapes

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

Abstract

The invention provides a kind of method and device of protecting tunnel, wherein, the method for protecting tunnel includes:What the downstream node that first node receives in the first label switching path LSP was sent is used to represent that the measuring route error that node or interface are closed indicates message, and message is indicated according to measuring route error, the graceful node closed or interface message occur for record, wherein, first node is the first LSP head node;First node is when for a main LSP configuration protections LSP, according to the graceful node closed of the generation of record or interface message, does not occur the 2nd LSP of graceful closing, and the protection relation set up between the 2nd LSP and main LSP on selection link.It is of the invention effectively to have evaded the node or interface for occurring graceful closing, improve the reliability that flow is forwarded in MPLS TE networks.

Description

A kind of method and device of protecting tunnel
Technical field
The present invention relates to the communications field, more particularly, to a kind of method and device of protecting tunnel.
Background technology
Multi-protocol label switching traffic engineering (Multi-Protocol Label Switching Traffic Engineering) It is a kind of by traffic engineering (Traffic Engineering, TE) technology and multiprotocol label switching The technology that (Multi-Protocol Label Switching, MPLS) is combined, RSVP flow work Journey (Resource ReSer Vation Protocol-Traffic Engineering, RSVP-TE) is used in MPLS TE dynamic tunnels are set up in network.On the protection technique of TE dynamic tunnel link failures, mainly have at present The quick heavy-route of traffic engineering (Traffic Engineering Fast Reroute, TE FRR) and traffic engineering Two kinds of Hot Spare (Traffic Engineering Hot Standby, TE HSB).
TE FRR protection techniques are a kind of localised protection mode, and TE FRR use a label pre-established Switching path (Label Switched Path, LSP) protects one or more LSP, wherein, build in advance Vertical LSP is referred to as protecting LSP, protected LSP to be referred to as main LSP.Two kinds of special joints during protection Type is:Point of Local Repair (Point of Local Repair, PLR) and aggregation node (Merge Point, MP), Wherein, PLR must be on main LSP path, and can not be tail node;MP must be on main LSP road On footpath, and it can not be head node.It is main by TE FRR technologies when local link or nodes break down Data traffic in LSP can quickly bypass faulty link or node, be forwarded from protection LSP.TE FRR Protection technique mainly has the following two kinds implementation:Bypass (Bypass) protected mode and detour (Detour) Protected mode.
Bypass protected modes are also referred to as device backup (Facility Backup), and the protected mode is protected with one The a plurality of LSP of trail protection is protected, the Protection path is referred to as bypass label switched path (Bypass LSP).Bypass Protected mode is as shown in figure 1, main LSP paths are R1 → L12a → R2 → L23a → R3.Bypass LSP1 (letters B1) path be called R1 → L13b → R3, B1 and main LSP formation Node Protection, as L12a on main LSP When link or R2 node failures, by link failure testing mechanism, such as interface two-way converting detection technique is triggered Switching, flow is switched on B1.Bypass LSP2 (abbreviation B2) path is R2 → L23b → R3, with master LSP formation link protections, when L23a link failures, main LSP traffic is switched to B2.
Detour protected modes are also referred to as one-to-one backup (One-to-one Backup), protected mode difference Each section for main LSP is set up an Additional Protection path parallel, tries to make sure that any link of main LSP Or node failure, all without making main LSP service traffics be affected, the Protection path is referred to as the label friendship that detours Change path (Detour LSP).Detour protected modes are as shown in Figure 2:Main LSP paths are R1 → L12a →R2→L23a→R3→L34a→R4.Detour LSP (abbreviation D1) path is formed on R1 is R1 → L12b → R2 → L23a → R3 → L34a → R4, protects L12a links on main LSP, when L12a hairs During raw failure, main LSP traffic switches to D1.Similarly, D2 (R2 → L23b → R3 → L34a → R4) and D3 (R3 → L34b → R4) main LSP L23a and L34a links are protected respectively.
TE HSB are a kind of protected modes end to end.As shown in figure 3, main LSP paths are R1 → L12a →R2→L23a→R3→L34a→R4.After main LSP formation, by setting up a Hot Spare Tag switching (Hot-Standby LSP) is protected to main LSP in path, when main LSP path fails, is passed through Fault detection mechanism, such as two-way converting detection technique, trigger main LSP traffic and switch to Hot-Standby LSP (R1→L15b→R5→L54b→R4)。
(Graceful shutdown, gs) mechanism is closed to gracefulness in RFC5817 and has carried out associated description, Graceful shutdown mechanism indicates the pent Internet resources in Path Err message announcements tunnel by measuring route error Information, so that RSVP-TE dynamic tunnels can carry out heavy-route, avoids flow interrupt as far as possible.Wherein Path Error code is 25 in Err message, and improper value represents that link-local resource needs maintenance when being 7, improper value is 8 When represent local node resource need maintenance.As shown in figure 4, original LSP paths are (before R3 gracefulnesses are closed Path) be:When R1 → L12a → R2 → L23a → R3 → L34a → R4, R3 node elegant are closed, send wrong Error code (Error Code) is 25, and improper value (Error Value) is 8 Path Err message.Former LSP is received Path Err message, is first built and tears (make-before-break, MBB) open afterwards, and data are not being lost as far as possible, Also it is not take up changing tunnel attribute on the premise of extra bandwidth.Bypass and occur after the graceful R3 closed, MBB New LSP paths are in tunnel new route such as figure:R1→L12a→R2→L25a→R5→L54a→R4.
But in real network deployment, because MPLS-TE networks often have higher requirement to reliability, Typically can TE FRR or TE HSB protections in core network.Disposing the MPLS-TE of these protection techniques In network, if protection LSP is (in Bypass LSP, Detour protected modes in such as Bypass protected modes Detour LSP, TE HSB in Hot-Standby LSP) influenceed by resource closing, it will substantially reduce The reliability of protection.Such as:In Bypass protected modes (as shown in Figure 1), if Bypass LSP by After the influence closed to resource, main lsp failure flow switch to Bypass LSP, Bypass LSP resources are closed Close, then can cause the loss of business datum flow.
In summary, protection LSP is there is in MPLS-TE networks and occurs business number caused by graceful close The problem of according to easy be lost in, reduce the reliability of flow forwarding.
The content of the invention
Hold to solve to protect LSP to occur the caused business datum of graceful closing present in MPLS-TE networks The problem of being easy to run off, improves the reliability of flow forwarding, the invention provides a kind of method of protecting tunnel and Device.
In order to solve the above-mentioned technical problem, the invention provides a kind of method of protecting tunnel, method includes:
First node receive the first label switching path LSP on downstream node send be used for represent node or The measuring route error that interface is closed indicates message, and indicates message, record according to measuring route error Occur the graceful node closed or interface message, wherein, the first node is the first LSP head node;
First node is when for a main LSP configuration protections LSP, according to the graceful node closed of the generation of record Or interface message, the 2nd LSP of graceful closing does not occur on selection link, and set up the 2nd LSP with Protection relation between the main LSP.
Optionally, it is described set up between the 2nd LSP and the main LSP protection relation the step of include: 2nd LSP be the main LSP bypass Bypass LSP when, set up the 2nd LSP with it is described Quick heavy-route FRR Bypass protection relations between main LSP;Or, the 2nd LSP is described Main LSP detour Detour LSP when, the FRR set up between the 2nd LSP and the main LSP Detour protects relation;Or, the 2nd LSP is the Hot Spare Hot-Standby LSP of the main LSP When, the Hot-Standby protection relations set up between the 2nd LSP and the main LSP.
Optionally, what the downstream node received in the first node in the first label switching path LSP was sent Measuring route error for representing node or interface closing indicates after message that methods described also includes:Sentence Whether the first LSP and main LSP that breaks has set up protection relation;Between the first LSP and main LSP When foundation has protection relation, judge whether the flow of the main LSP switches to the first LSP;Described When main LSP flow not yet switches to a LSP, the first LSP and main LSP is removed Between protection relation;When the flow of the main LSP has switched to a LSP, described the is maintained Protection relation between one LSP and the main LSP performs first to build and tears MBB open afterwards to the first LSP.
Optionally, it is described when foundation has FRR Bypass protection relations between the first LSP and main LSP The step of removing the protection relation between the first LSP and the main LSP includes:Remove the first LSP FRR Bypass protection relations between main LSP, and, according to the graceful node closed of the generation of record Or interface message, the 3rd LSP for not occurring graceful closing on link is selected, the 3rd LSP and institute is set up State the FRR Bypass protection relations between main LSP.
Optionally, the flow in the main LSP has switched to the first LSP and the first LSP and main LSP Between set up when thering are the FRR Bypass to protect relation, maintain between the first LSP and main LSP Protection relation;It is described maintain between the first LSP and main LSP protection relation the step of include: The FRR Bypass between the first LSP and main LSP are maintained to protect relation, and the LSP of mark the first For graceful closed mode.
Optionally, it is described to tear open when foundation has FRR Detour protection relations between the first LSP and main LSP The step of except protection relation between the first LSP and the main LSP, includes:Determine whether upstream LSP It is incorporated into the first LSP;If so, then continuing to transmit institute to the upstream LSP for being incorporated into the first LSP State measuring route error and indicate message, and after the upstream LSP for being incorporated into the first LSP is all removed, Remove the FRR Detour protection relations between the first LSP and main LSP;And, according to the hair of record Do not occur the 4th LSP of graceful closing on the raw graceful node closed or interface message, selection link, set up FRR Detour protection relations between 4th LSP and the main LSP;If it is not, directly removing described FRR Detour protection relations between first LSP and the main LSP, and, it is excellent according to the generation of record Do not occur the 5th LSP of graceful closing on the node or interface message of refined closing, selection link, set up described FRR Detour protection relations between 5th LSP and the main LSP.
Optionally, the flow in the main LSP has switched to the first LSP and the first LSP and main LSP Between set up when thering are the FRR Detour to protect relation, maintain the guarantor between the first LSP and main LSP The step of protection relation between shield relation, maintenance the first LSP and main LSP, includes:Dimension The FRR Detour protection relations between the first LSP and main LSP are held, the LSP of mark the first is gracefulness Closed mode, and determine whether that upstream LSP is incorporated into the first LSP;If so, then to being incorporated into described One LSP upstream LSP continues to transmit the measuring route error instruction message.
Optionally, it is described when foundation has Hot-Standby protection relations between the first LSP and main LSP The step of removing the protection relation between the first LSP and the main LSP includes:According to the generation of record Node or interface message that gracefulness is closed, the first LSP is first built and tears MBB open afterwards and does not occur to link The 6th LSP that gracefulness is closed, and, remove the Hot-Standby between the first LSP and main LSP Protection relation, and set up the protection relations of the Hot-Standby between the 6th LSP and the main LSP.
Optionally, the flow in the main LSP has switched to the first LSP and the first LSP and main LSP Between set up when thering is the Hot-Standby to protect relation, the first LSP is performed and first builds and tears MBB open afterwards, institute State to perform the first LSP and first build the step of tearing MBB open afterwards and include:MBB is performed to the first LSP, And according to the graceful node closed of generation or interface message of record, evade and occur the graceful node closed or connect Port address.
According to another aspect of the present invention, present invention also offers a kind of device of protecting tunnel, the dress Put including:
Receiving module, what the downstream node for receiving in the first label switching path LSP was sent is used to represent The measuring route error that node or interface are closed indicates message, and indicates message according to measuring route error, The graceful node closed or interface message occur for record, wherein, the first node is the first LSP cephalomere Point;
Protection relationship module is set up, for when for a main LSP configuration protections LSP, according to the generation of record The 2nd LSP of graceful closing does not occur on node or interface message that gracefulness is closed, selection link, and sets up Protection relation between 2nd LSP and the main LSP.
Optionally, the protection relationship module of setting up is used for, and the 2nd LSP is the bypass of the main LSP During Bypass LSP, the quick heavy-route FRR Bypass set up between the 2nd LSP and the main LSP Protection relation;Or, the 2nd LSP for the main LSP detour Detour LSP when, set up described FRR Detour protection relations between 2nd LSP and the main LSP;Or, the 2nd LSP is During the Hot Spare Hot-Standby LSP of the main LSP, set up the 2nd LSP and the main LSP it Between Hot-Standby protection relation.
Optionally, described device also includes:First judge module, for judging the first LSP and the main LSP Whether foundation has protection relation;Second judge module, has guarantor for being set up between the first LSP and main LSP During shield relation, judge whether the flow of the main LSP switches to the first LSP;Module is removed, is used for When the flow of the main LSP not yet switches to a LSP, the first LSP and the master are removed Protection relation between LSP;Processing module, for having switched to described first in the flow of the main LSP During LSP, maintain the protection relation between the first LSP and main LSP or the first LSP is held Row is first built tears MBB open afterwards.
Optionally, it is described when foundation has FRR Bypass protection relations between the first LSP and main LSP Remove module specifically for, remove the FRR Bypass protection relations between the first LSP and main LSP, And, according to the graceful node closed of the generation of record or interface message, graceful pass does not occur on selection link The 3rd LSP closed, the FRR Bypass protection relations set up between the 3rd LSP and the main LSP.
Optionally, the flow in the main LSP has switched to the first LSP and the first LSP and main LSP Between set up have FRR Bypass protect relation when, processing module be used for maintain the first LSP and the master Protection relation between LSP, and specifically for maintaining the FRR between the first LSP and main LSP Bypass protects relation, and the LSP of mark the first is graceful closed mode.
Optionally, it is described to tear open when foundation has FRR Detour protection relations between the first LSP and main LSP Except module is specifically for determining whether that upstream LSP is incorporated into the first LSP;If so, then to merging Upstream LSP to the first LSP continues to transmit the measuring route error instruction message, and is being incorporated into After the upstream LSP of first LSP is all removed, the FRR between the first LSP and main LSP is removed Detour protects relation;And, according to the graceful node closed of the generation of record or interface message, select chain Graceful the 4th LSP, the FRR set up between the 4th LSP and the main LSP closed occurs for Lu Shangwei Detour protects relation;If it is not, directly removing the FRR Detour between the first LSP and the main LSP Protection relation, and, according to the graceful node closed of the generation of record or interface message, select on link not Occur graceful the 5th LSP, the FRR Detour set up between the 5th LSP and the main LSP closed Protection relation.
Optionally, the flow in the main LSP has switched to the first LSP and the first LSP and main LSP Between set up have FRR Detour protect relation when, the processing module be used for maintain the first LSP and institute The protection relation between main LSP is stated, and specifically for maintaining the FRR between the first LSP and main LSP Detour protects relation, and the LSP of mark the first is graceful closed mode, and determines whether that upstream LSP merges To the first LSP;If so, then continuing to transmit the measurement road to the upstream LSP for being incorporated into the first LSP Footpath error indicates message.
Optionally, it is described when foundation has Hot-Standby protection relations between the first LSP and main LSP Module is removed specifically for according to the graceful node closed of the generation of record or interface message, by described first LSP first builds and tears the 6th LSP that graceful closing does not occur to link for MBB open afterwards, and, remove described first Hot-Standby protection relations between LSP and main LSP, and set up the 6th LSP and the main LSP Between Hot-Standby protection relation.
Optionally, the flow in the main LSP has switched to the first LSP and the first LSP and main LSP Between set up have Hot-Standby protect relation when, the processing module be used for elder generation is performed to the first LSP Tear MBB after building open, and specifically for performing MBB to the first LSP, and it is graceful according to the generation of record The node or interface message of closing, evade and occur the graceful node or interface IP address closed.
The beneficial effects of the invention are as follows:
Do not occur on the node or interface message for the graceful closing of generation that the present invention passes through record, selection link excellent 2nd LSP of refined closing, has effectively evaded the link for having occurred graceful closing, has solved existing MPLS-TE LSP is protected to occur the problem of caused business datum is easily lost in when gracefulness is closed present in network, effectively Evade and occurred the graceful node or interface closed, improved the reliability that flow is forwarded in MPLS-TE networks.
Brief description of the drawings
Fig. 1 represents the path schematic diagram of Bypass protected modes in the prior art;
Fig. 2 represents the path schematic diagram of Detour protected modes in the prior art;
Fig. 3 represents the path schematic diagram of TE HSB protected modes in the prior art;
Path schematic diagram when Fig. 4 represents that graceful close occurs in the prior art;
Fig. 5 represents a kind of step flow chart of the method for protecting tunnel in embodiments of the invention;
Fig. 6 represents the step flow chart of the method for the protecting tunnel after step 501 in embodiments of the invention;
The FRR Bypass that Fig. 7 represents to set up between the 2nd LSP and main LSP in embodiments of the invention are protected Shield relation realizes schematic diagram;
Fig. 8, which represents to set up between the first LSP and main LSP in embodiments of the invention, FRR Bypass guarantors During shield relation, that removes the protection relation between the first LSP and main LSP realizes schematic diagram;
Fig. 9, which represents to set up between the first LSP and main LSP in embodiments of the invention, FRR Bypass guarantors During shield relation, maintain the protection relation between the first LSP and main LSP realizes schematic diagram;
The FRR Detour that Figure 10 represents to set up between the 2nd LSP and main LSP in embodiments of the invention are protected Shield relation realizes schematic diagram;
Figure 11, which represents to set up between the first LSP and main LSP in embodiments of the invention, FRR Detour guarantors During shield relation, that removes the protection relation between the first LSP and main LSP realizes schematic diagram;
Figure 12, which represents to set up between the first LSP and main LSP in embodiments of the invention, FRR Detour guarantors During shield relation, maintain the protection relation between the first LSP and main LSP realizes schematic diagram;
Figure 13 represents to set up Hot-Standby between the 2nd LSP and main LSP in embodiments of the invention and protected Relation realizes schematic diagram;
Figure 14, which represents to set up between the first LSP and main LSP in embodiments of the invention, Hot-Standby guarantors During shield relation, that removes the protection relation between the first LSP and main LSP realizes schematic diagram;
Figure 15, which represents to set up between the first LSP and main LSP in embodiments of the invention, Hot-Standby guarantors During shield relation, MBB is performed to the first LSP realizes schematic diagram;
Figure 16 represents the schematic diagram of the device of protecting tunnel in embodiments of the invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although being shown in accompanying drawing The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure without should be by Embodiments set forth here is limited.It is opposite to be able to be best understood from this there is provided these embodiments It is open, and can by the scope of the present disclosure completely convey to those skilled in the art.
As shown in figure 5, being the step flow chart of the method for protecting tunnel in embodiments of the invention, this method Comprise the following steps:
Step 501, what the downstream node that first node is received in the first label switching path LSP was sent is used for Represent that the measuring route error that node or interface are closed indicates message, and message indicated according to measuring route error, The graceful node closed or interface message occur for record.
In this step, first node is the first LSP head node.Specifically, when the first of the first LSP When node receives the measuring route error instruction Path Error message for representing node or interface closing, Ke Yigen According to the Path Error message, preserved under the first LSP and occur the graceful node closed or interface message, wherein, It can be the graceful node or interface IP address closed of generation to occur the graceful node closed or interface message.
Step 502, first node is graceful according to the generation of record when for a main LSP configuration protections LSP The 2nd LSP of graceful closing does not occur on the node or interface message of closing, selection link, and sets up second Protection relation between LSP and main LSP.
In this step, if specifically, the first LSP and main LSP does not form protection relation, as the first LSP First node when being a main LSP configuration protections LSP, can be according to the graceful node closed of generation of record Or interface message, the 2nd LSP for not occurring graceful closing on link is selected, and set up the 2nd LSP and main LSP Between protection relation., can be with specifically, when setting up the protection relation between the 2nd LSP and main LSP Different types of protection relation is set up according to the 2nd LSP type, if for example, the 2nd LSP is main LSP's Bypass LSP, then the FRR Bypass protection relations set up between the 2nd LSP and main LSP;If second When LSP is main LSP Detour LSP, then the FRR Detour set up between the 2nd LSP and main LSP Protection relation;If the 2nd LSP is main LSP Hot-Standby LSP, the 2nd LSP and main LSP are set up Between Hot-Standby protection relation.
So, the present embodiment is closed when for a main LSP configuration protections LSP by the generation gracefulness of record Node or interface message, the 2nd LSP of graceful closing does not occur on selection link, and set up main LSP with Protection relation between 2nd LSP, has effectively evaded the node or interface for having occurred graceful closing, solves Caused business datum easily flows when graceful close occurs for protection LSP present in existing MPLS-TE networks The problem of mistake, improve the reliability that flow is forwarded in MPLS-TE networks.
In addition, when having node or interface closing on the first LSP, except for main LSP configuration protections LSP When need to evade and occur the graceful node or interface closed, having formed protection in the first LSP and main LSP closes When being, need also exist for that the protection relation is further processed, to avoid the traffic flow on main LSP as far as possible Lose, it is ensured that the reliability of flow forwarding.
Specifically, as shown in fig. 6, the step flow chart of the method for the protecting tunnel after step 501. Specifically, after step 501, this method comprises the following steps:
Step 601, judge whether the first LSP and main LSP has set up protection relation.
In this step, specifically, first node judges whether main LSP and main LSP has set up protection relation, If so, then entering step 602.In addition, specifically, the protection relation can include FRR Bypass protections Relation, FRR Detour protection relations and Hot-Standby protection relations.
Step 602, when foundation has protection relation between the first LSP and main LSP, main LSP stream is judged Whether amount switches to the first LSP.
In this step, specifically, when foundation has protection relation between the first LSP and main LSP, judging Whether main LSP flow switches to the first LSP, if not switching to the first LSP, into step 603, If the first LSP is had been switched to, into step 604.
Step 603, when main LSP flow not yet switches to a LSP, the first LSP and main LSP is removed Between protection relation.
In this step, when main LSP flow not yet switches to a LSP, the first LSP and master are removed Protection relation between LSP.Specifically, in the protection relation between removing the first LSP and main LSP, Need to consider that the protection relation between the first LSP and main LSP is FRR Bypass protections relation, FRR Detour protects relation or Hot-Standby protection relations.
Optionally, if the protection relation set up between the first LSP and main LSP, which is FRR Bypass, protects pass System, then when the FRR Bypass between removing the first LSP and main LSP protect relation, in addition it is also necessary to according to The 3rd LSP of graceful closing does not occur on the graceful node closed of generation or interface message of record, selection link, And set up the protection relations of the FRR Bypass between the 3rd LSP and main LSP.
If the protection relation set up between the first LSP and main LSP, which is FRR Detour, protects relation, tearing open , it is necessary to it is first determined whether there is upstream LSP to be incorporated into during except protection relation between the first LSP and main LSP First LSP, if so, then needing to continue to transmit measuring route error to the upstream LSP for being incorporated into the first LSP Message is indicated, after the upstream LSP for being incorporated into the first LSP is all removed, the first LSP and main LSP is removed Between FRR Detour protection relations, and according to the graceful node closed of generation or interface message of record, Do not occur the 4th LSP, the FRR set up between the 4th LSP and main LSP of graceful closing on selection link Detour protects relation;If it is not, then directly removing the FRR Detour protections between the first LSP and main LSP Relation, and according to the graceful node closed of generation or interface message of record, select that gracefulness does not occur on link The 5th LSP closed, the FRR Detour protection relations set up between the 5th LSP and main LSP.
If the protection relation set up between the first LSP and main LSP, which is Hot-Standby, protects relation, When removing the protection relation between the first LSP and main LSP, according to the graceful node closed of the generation of record or Interface message, the first LSP is first built and tears the 6th LSP that graceful closing does not occur to link for MBB open afterwards, The Hot-Standby protection relations between the first LSP and main LSP are removed, and set up the 6th LSP and main LSP Between Hot-Standby protection relation.
Step 604, when main LSP flow has switched to a LSP, the first LSP and main LSP is maintained Between protection relation or the first LSP is performed first build and tear MBB open afterwards.
In this step, when main LSP flow has switched to a LSP, if specifically, the first LSP Protection relation between main LSP protects relation or FRR Detour protection relations for FRR Bypass, Then maintain the protection relation between the first LSP and main LSP;If the protection between the first LSP and main LSP is closed It is to protect relation for Hot-Standby, then MBB flows is performed to the first LSP.
If specifically, protection relation between the first LSP and main LSP protects relation for FRR Bypass, When then maintaining the protection relation between the first LSP and main LSP, the LSP of mark the first is graceful closed mode. If the protection relation between the first LSP and main LSP protects relation for FRR Detour, the first LSP is maintained When FRR Detour between main LSP protect relation, the LSP of mark the first is graceful closed mode, and is sentenced It is disconnected whether to there is upstream LSP to be incorporated into the first LSP;If so, then to be incorporated into the first LSP upstream LSP after Resume and pass measuring route error instruction message.If the protection relation between the first LSP and main LSP is Hot-Standby protects relation, then MBB is performed to the first LSP, and close according to the generation gracefulness of record Node or interface message, evade and occur the graceful node or interface IP address closed.
So, after the graceful node closed or interface message occur for record, on the one hand for a main LSP During configuration protection LSP, the node or interface message closed according to generation gracefulness select not occur on link The 2nd LSP that gracefulness is closed, evades on link and occurs the graceful node or interface closed;On the other hand, when The flow that first LSP and main LSP has been formed on protection relation and main LSP not yet switches to the first LSP When upper, then according to the protection relationship type between the first LSP and main LSP, for example, FRR Bypass are protected Shield relation, FRR Detour protection relations and Hot-Standby protection relations, remove the first LSP and main LSP Between protection relation;Another further aspect, when the first LSP and main LSP has formed protection relation and main LSP On flow when having been switched on the first LSP, then according to the protection relation between the first LSP and main LSP Type, maintains the protection relation between the first LSP and main LSP or performs MBB flows to the first LSP. So, the present embodiment is closed according to the generation gracefulness of record node or interface message, in above-mentioned different situations Under reduce the influence for occurring the graceful node or interface closed to main LSP to greatest extent, effectively evade Occur the node or interface of graceful closing, solve protection LSP and occur graceful close on caused main LSP The problem of data are easily lost in, improves the reliability that flow is forwarded in MPLS-TE networks.
Below, with reference to Fig. 7 to Figure 15 to FRR Bypass protect relation, FRR Detour protect relation and In Hot-Standby protection relations, when not setting up protection relation between the first LSP and main LSP, is set up Protection relation between two LSP and main LSP, and foundation has protection relation between the first LSP and main LSP When, remove the first LSP and main LSP between protection relation, maintenance the first LSP and main LSP between guarantor First LSP execution MBB is illustrated shield relation.
As shown in fig. 7, to set up the reality that the FRR Bypass between the 2nd LSP and main LSP protect relation Existing schematic diagram.In the figure 7, main LSP paths are R1 → L12 → R2 → L23 → R3, are now configured There are two optional backup LSP in FRR Bypass protection relations:First Bypass LSP (R2 → L24 → R4 → L43 → R3) and the 2nd Bypass LSP (R2 → L25 → R5 → L53 → R3).But the first LSP Graceful closing (gs) occurs for the L43 in the link in Bypass LSP, then main LSP formation FRR Bypass During protection relation, the 2nd Bypass LSP of graceful closing do not occur for prioritizing selection, that is, set up main LSP and the FRR Bypass protection relations between two LSP.
As shown in figure 8, when having FRR Bypass protection relations to be set up between the first LSP and main LSP, That removes the protection relation between the first LSP and main LSP realizes schematic diagram.In fig. 8, main LSP paths For R1 → L12 → R2 → L23 → R3, main LSP and the first Bypass LSP (R2 → L24 → R4 → L43 → R3) FRR Bypass protection relations are formed, and the protection relation is in non-switching state.Work as link When L43 or node R 4 perform graceful closing flow path, sent (25,7) to R2 along the first Bypass LSP Or (25,8) Path Err message, when R2 receives this Path Err message, the first Bypass LSP are marked For graceful closed mode, while remove the FRR Bypass protection relations not switched, and set up main LSP with not Occurs the FRR between graceful the 2nd Bypass LSP (R2 → L25 → R5 → L53 → R3) closed Bypass protects relation.
As shown in figure 9, when having FRR Bypass protection relations to be set up between the first LSP and main LSP, Maintain the protection relation between the first LSP and main LSP realizes schematic diagram.In fig .9, main LSP paths For R1 → L12 → R2 → L23 → R3, main LSP and the first Bypass LSP (R2 → L25 → R5 → L53 → R3) FRR Bypass protection relations are formed, and L23 links break down, FRR Bypass are protected Shield relation is in switching state.When graceful close occurs for link L53 or node R 5, along the first Bypass LSP sends (25,7) or (25,8) Path Err message to R2, when R2 receives this Path Err message, First Bypass LSP are labeled as graceful closed mode, but because FRR Bypass protection relations are to have switched State, therefore in order to avoid influence flow, maintain the FRR Bypass between the first LSP and main LSP to protect Shield relation, while also not performing MBB flows to the first Bypass LSP, the recovery of LSP data link is handed over Switchback MBB to main LSP.
As shown in Figure 10, for set up the FRR Detour between the 2nd LSP and main LSP protect relation reality Existing schematic diagram.In Fig. 10, main LSP paths are R1 → L12 → R2 → L23 → R3, are now configured When FRR Detour protect relation, there are two optional link L13a in R1 points formation FRR Detour protection relations And L13b.But, graceful close occurs for L13a.Exclude and occur when then forming FRR Detour protection relations The L13a links that gracefulness is closed, selection L13b link formation FRR Detour protection relations.
As shown in figure 11, be between the first LSP and main LSP set up have FRR Detour protect relation when, That removes the protection relation between the first LSP and main LSP realizes schematic diagram.In fig. 11, main LSP roads Footpath is R1 → L12a → R2 → L23a → R3, during configuration FRR Detour protection relations, R1 points formation first Detour LSP (R1 → L12b → R2 → L23b → R3), the 2nd Detour LSP of R2 points formation (R2 → L23b → R3), the protection relation is in non-switching state.When graceful close occurs for L23b links, Path Err message is sent upstream by along the 2nd Detour LSP, Path Err message reaches R2 points, and R2 points are accurate It is standby to remove the 2nd Detour LSP and FRR Detour protection relations, but now find there are the first Detour LSP Path downstream merge with the 2nd Detour LSP, now in order to prevent the Detour LSP of upstream the first switch when, Flow wouldn't remove the 2nd Detour LSP by the 2nd Detour LSP.Now Path Err message edge First Detour LSP continue up trip transmission, and Path Err message is reached after R1 points, and R1 points first remove the One Detour LSP, and Path Tear message is sent to R2, the 2nd Detour LSP of R2 dismountings.Last R2 Point reselects other links and forms new according to the graceful node closed of generation or interface message of record FRR Detour protect relation, and the first new Detour LSP paths are:R1 → L12b → R2 → L23c → R3, The 2nd new Detour LSP paths are:R2→L23c→R3.
As shown in figure 12, be between the first LSP and main LSP set up have FRR Detour protect relation when, Maintain the protection relation between the first LSP and main LSP realizes schematic diagram.In fig. 12, main LSP roads Footpath is R1 → L12a → R2 → L23a → R3, during configuration FRR Detour protection relations, R1 points formation first Detour LSP (R1 → L12b → R2 → L23b → R3), the 2nd Detour LSP of R2 points formation (R2→L23b→R3).When L12a breaks down, main LSP switches to the first Detour LSP.Now, When graceful close occurs for L23b links, Path Err message transmissions are to R2 points, due to the first Detour LSP Downstream merges with the 2nd Detour LSP links, wouldn't now remove the 2nd Detour LSP, Path Err message Trip transmission is continued up along the first Detour LSP.Path Err message is reached after R1 points, due to main LSP The first Detour LSP are had switched to, therefore R1 points are not carried out to occurring graceful the first Detour LSP closed Any response, link reselects the switchback MBB for giving main LSP.
As shown in figure 13, to set up the realization that Hot-Standby between the 2nd LSP and main LSP protects relation Schematic diagram.In fig. 13, main LSP paths are R1 → L12a → R2 → L23a → R3, configure Hot-Standby During protection relation, L23b is more excellent compared with L23c links, therefore when forming Hot-Standby protection relations, preferably For R1 → L12b → R2 → L23b → R3.But because graceful closing, Path Err message transmissions occur for L23b To R1, exclusion L23b links when Hot-Standby protections relation is re-formed, main LSP and R1 → L12b → R2 → L23c → R3 formation Hot-Standby protection relations.
As shown in figure 14, be between the first LSP and main LSP set up have Hot-Standby protect relation when, That removes the protection relation between the first LSP and main LSP realizes schematic diagram.In fig. 14, main LSP roads Footpath is R1 → L12a → R2 → L23a → R3, during configuration Hot-Standby protection relations, Hot-Standby LSP paths are R1 → L12b → R2 → L23b → R3, and main LSP and Hot-Standby LSP are formed Hot-Standby protects relation and the protection relation is in non-switching state.Now L23b links occur graceful Close, Path Err message transmissions to R1, Hot-Standby LSP carry out MBB processing, MBB is arrived R1 → L12b → R2 → L23c → R3, main LSP release Hot-Standby with original Hot-Standby LSP Protection relation, again with new Hot-Standby LSP formation Hot-Standby protection relations.
As shown in figure 15, be between the first LSP and main LSP set up have Hot-Standby protect relation when, MBB is performed to the first LSP realizes schematic diagram.In fig .15, main LSP paths are R1 → L12a → R2 → L23a → R3, during configuration Hot-Standby protection relations, Hot-Standby LSP are R1→L12b→R2→L23b→R3.When L12a links break down, main LSP traffic is switched to Hot-Standby LSP.Now graceful closing, Path Err message transmissions to R1, R1 occur for L23b links Node carries out MBB streams according to the graceful node closed of the generation carried in Path Err message or interface message Journey, evades L23b links by the graceful node closed of the generation recorded or interface message.
So, in an embodiment of the present invention, occur the graceful node or interface closed by evading, improve The reliability of flow forwarding.
It is protecting tunnel in embodiments of the invention as shown in figure 16 according to another aspect of the present invention The schematic diagram of device, the device includes:
Receiving module 1601, what the downstream node for receiving in the first label switching path LSP was sent is used for Represent that the measuring route error that node or interface are closed indicates message, and message indicated according to measuring route error, The graceful node closed or interface message occur for record;
Protection relationship module 1602 is set up, for when for a main LSP configuration protections LSP, according to record Occur do not occur the 2nd LSP of graceful closing on the graceful node closed or interface message, selection link, and The protection relation set up between the 2nd LSP and main LSP.
Optionally, setting up protection relationship module is used for, when the 2nd LSP is main LSP bypass Bypass LSP, The quick heavy-route FRR Bypass protection relations set up between the 2nd LSP and main LSP;Or, second LSP for main LSP detour Detour LSP when, the FRR Detour set up between the 2nd LSP and main LSP Protection relation;Or, when the 2nd LSP is main LSP Hot Spare Hot-Standby LSP, set up second Hot-Standby protection relations between LSP and main LSP.
Optionally, device also includes:First judge module, for judging whether the first LSP and main LSP builds It is vertical to have protection relation;Second judge module, has protection relation for being set up between the first LSP and main LSP When, judge whether main LSP flow switches to the first LSP;Module is removed, for the flow in main LSP When not yet switching to a LSP, the protection relation between the first LSP and main LSP is removed;Processing module, For when main LSP flow has switched to a LSP, maintaining the protection between the first LSP and main LSP Relation performs to the first LSP and first builds and tear MBB open afterwards.
Optionally, when foundation there are FRR Bypass protection relations between the first LSP and main LSP, remove Module specifically for, remove the first LSP and main LSP between FRR Bypass protection relation, and, According to the graceful node closed of the generation of record or interface message, do not occur the of graceful closing on selection link Three LSP, the FRR Bypass protection relations set up between the 3rd LSP and main LSP.
Optionally, the flow in main LSP has switched to the first LSP and set up between the first LSP and main LSP When having FRR Bypass protection relations, processing module is used to maintain the protection between the first LSP and main LSP Relation, and specifically for, the FRR Bypass protection relations between the first LSP and main LSP are maintained, with And the LSP of mark the first is graceful closed mode.
Optionally, when foundation there are FRR Detour protection relations between the first LSP and main LSP, mould is removed Block is specifically for determining whether that upstream LSP is incorporated into the first LSP;If so, then to being incorporated into the first LSP Upstream LSP continue to transmit measuring route error and indicate message, and in the upstream LSP for being incorporated into the first LSP After all removing, the FRR Detour protection relations between the first LSP and main LSP are removed;And, according to The 4th LSP of graceful closing does not occur on the graceful node closed of generation or interface message of record, selection link, The FRR Detour protection relations set up between the 4th LSP and main LSP;If it is not, directly removing the first LSP FRR Detour protection relations between main LSP, and, according to the graceful node closed of the generation of record Or interface message, the 5th LSP for not occurring graceful closing on link is selected, the 5th LSP and main LSP is set up Between FRR Detour protection relation.
Optionally, the flow in main LSP has switched to the first LSP and set up between the first LSP and main LSP When having FRR Detour protection relations, processing module is used to maintain the protection between the first LSP and main LSP to close System, and specifically for maintaining the FRR Detour between the first LSP and main LSP to protect relation, mark first LSP is graceful closed mode, and determines whether that upstream LSP is incorporated into the first LSP;If so, then to conjunction And to the first LSP upstream LSP continue transmit measuring route error indicate message.
Optionally, when foundation there are Hot-Standby protection relations between the first LSP and main LSP, remove Module is specifically for according to the graceful node closed of the generation of record or interface message, the first LSP is first built Tear the 6th LSP that graceful closing does not occur to link for MBB open afterwards, and, remove the first LSP and main LSP Between Hot-Standby protection relation, and set up the Hot-Standby between the 6th LSP and main LSP guarantor Shield relation.
Optionally, the flow in main LSP has switched to the first LSP and set up between the first LSP and main LSP When having Hot-Standby protection relations, processing module is used to the first LSP is performed first to build to tear MBB open afterwards, and Specifically for performing MBB to the first LSP, and according to the graceful node closed of generation or interface message of record, Evade and occur the graceful node or interface IP address closed.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art For member, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, these Improvements and modifications are also within the scope of the present invention.

Claims (18)

1. a kind of method of protecting tunnel, it is characterised in that methods described includes:
First node receive the first label switching path LSP on downstream node send be used for represent node or The measuring route error that interface is closed indicates message, and indicates message, record according to measuring route error Occur the graceful node closed or interface message, wherein, the first node is the first LSP head node;
First node is when for a main LSP configuration protections LSP, according to the graceful node closed of the generation of record Or interface message, the 2nd LSP of graceful closing does not occur on selection link, and set up the 2nd LSP with Protection relation between the main LSP.
2. according to the method described in claim 1, it is characterised in that described to set up the 2nd LSP and institute The step of stating the protection relation between main LSP includes:
2nd LSP be the main LSP bypass Bypass LSP when, set up the 2nd LSP with Quick heavy-route FRR Bypass protection relations between the main LSP;
Or, the 2nd LSP for the main LSP detour Detour LSP when, set up described second FRR Detour protection relations between LSP and the main LSP;
Or, when the 2nd LSP is the Hot Spare Hot-Standby LSP of the main LSP, set up institute State the Hot-Standby protection relations between the 2nd LSP and the main LSP.
3. according to the method described in claim 1, it is characterised in that receive first in the first node and mark What the downstream node on label switching path LSP was sent is used for the measuring route error for representing that node or interface are closed Indicate after message, methods described also includes:
Judge whether the first LSP and main LSP has set up protection relation;
Set up between the first LSP and main LSP when having protection relation, judge the main LSP flow whether Switch to the first LSP;
When the flow of the main LSP not yet switches to a LSP, the first LSP and institute are removed State the protection relation between main LSP;
When the flow of the main LSP has switched to a LSP, maintain the first LSP with it is described Protection relation between main LSP performs first to build and tears MBB open afterwards to the first LSP.
4. method according to claim 3, it is characterised in that built between the first LSP and main LSP It is vertical when thering are the FRR Bypass to protect relation, the guarantor between dismounting the first LSP and main LSP The step of shield relation, includes:
The FRR Bypass protection relations between the first LSP and main LSP are removed, and, according to note The 3rd LSP of graceful closing does not occur on the graceful node closed of generation or interface message of record, selection link, The FRR Bypass protection relations set up between the 3rd LSP and the main LSP.
5. the method according to claim 3 or 4, it is characterised in that the main LSP flow Switch to the first LSP and between the first LSP and main LSP set up have FRR Bypass protect relation when, Maintain the protection relation between the first LSP and the main LSP;It is described to maintain the first LSP and institute The step of stating the protection relation between main LSP includes:
The FRR Bypass between the first LSP and main LSP are maintained to protect relation, and mark first LSP is graceful closed mode.
6. method according to claim 3, it is characterised in that built between the first LSP and main LSP It is vertical when thering are the FRR Detour to protect relation, the protection between dismounting the first LSP and main LSP The step of relation, includes:
Determine whether that upstream LSP is incorporated into the first LSP;
If so, then continuing to transmit the measuring route and malfunction to the upstream LSP for being incorporated into the first LSP to refer to Show message, and after the upstream LSP for being incorporated into the first LSP is all removed, remove the first LSP FRR Detour protection relations between main LSP;And, according to the graceful node closed of the generation of record Or interface message, the 4th LSP for not occurring graceful closing on link is selected, the 4th LSP and institute is set up State the FRR Detour protection relations between main LSP;
If it is not, the FRR Detour protection relations between the first LSP and the main LSP are directly removed, And, according to the graceful node closed of the generation of record or interface message, graceful pass does not occur on selection link The 5th LSP closed, the FRR Detour protection relations set up between the 5th LSP and the main LSP.
7. the method according to claim 3 or 6, it is characterised in that the main LSP flow Switch to the first LSP and between the first LSP and main LSP set up have FRR Detour protect relation when, Maintain the protection relation between the first LSP and the main LSP, maintenance the first LSP and institute The step of stating the protection relation between main LSP includes:
The FRR Detour between the first LSP and main LSP are maintained to protect relation, the LSP of mark the first For graceful closed mode, and determine whether that upstream LSP is incorporated into the first LSP;
If so, then continuing to transmit the measuring route and malfunction to the upstream LSP for being incorporated into the first LSP to refer to Show message.
8. method according to claim 3, it is characterised in that built between the first LSP and main LSP It is vertical when thering is the Hot-Standby to protect relation, the guarantor between dismounting the first LSP and main LSP The step of shield relation, includes:
According to the graceful node closed of the generation of record or interface message, the first LSP is first built and torn open afterwards MBB to the 6th LSP for not occurring graceful closing on link, and, remove the first LSP and main LSP Between Hot-Standby protection relations, and set up between the 6th LSP and the main LSP Hot-Standby protects relation.
9. the method according to claim 3 or 8, it is characterised in that the main LSP flow Switch to the first LSP and between the first LSP and main LSP set up have Hot-Standby protect relation when, First LSP is performed first to build and tears MBB open afterwards, described first built to the first LSP execution tears MBB open afterwards The step of include:
MBB is performed to the first LSP, and according to the graceful node closed of generation or interface message of record, Evade and occur the graceful node or interface IP address closed.
10. a kind of device of protecting tunnel, it is characterised in that described device includes:
Receiving module, what the downstream node for receiving in the first label switching path LSP was sent is used to represent The measuring route error that node or interface are closed indicates message, and indicates message according to measuring route error, The graceful node closed or interface message occur for record;
Protection relationship module is set up, for when for a main LSP configuration protections LSP, according to the generation of record The 2nd LSP of graceful closing does not occur on node or interface message that gracefulness is closed, selection link, and sets up Protection relation between 2nd LSP and the main LSP.
11. device according to claim 10, it is characterised in that the foundation protection relationship module is used In,
2nd LSP be the main LSP bypass Bypass LSP when, set up the 2nd LSP with Quick heavy-route FRR Bypass protection relations between the main LSP;
Or, the 2nd LSP for the main LSP detour Detour LSP when, set up described second FRR Detour protection relations between LSP and the main LSP;
Or, when the 2nd LSP is the Hot Spare Hot-Standby LSP of the main LSP, set up institute State the Hot-Standby protection relations between the 2nd LSP and the main LSP.
12. device according to claim 10, it is characterised in that described device also includes:
First judge module, for judging whether the first LSP and main LSP has set up protection relation;
Second judge module, when having protection relation for being set up between the first LSP and main LSP, judges institute Whether the flow for stating main LSP switches to the first LSP;
Module is removed, for when the flow of the main LSP not yet switches to a LSP, removing institute State the protection relation between the first LSP and the main LSP;
Processing module, for when the flow of the main LSP has switched to a LSP, remaining described Protection relation between first LSP and the main LSP performs first to build and tears MBB open afterwards to the first LSP.
13. device according to claim 12, it is characterised in that between the first LSP and main LSP When foundation has the FRR Bypass to protect relation, the dismounting module specifically for, remove the first LSP with FRR Bypass protection relations between main LSP, and, according to the graceful node closed of the generation of record or Do not occur the 3rd LSP of graceful closing on interface message, selection link, set up the 3rd LSP with it is described FRR Bypass protection relations between main LSP.
14. the device according to claim 12 or 13, it is characterised in that in the stream of the main LSP Amount, which has switched to the first LSP and set up between the first LSP and main LSP, FRR Bypass protections pass When being, processing module is used to maintain the protection relation between the first LSP and the main LSP, and specifically For, maintain the FRR Bypass protection relations between the first LSP and main LSP, and mark the One LSP is graceful closed mode.
15. device according to claim 12, it is characterised in that between the first LSP and main LSP When foundation has FRR Detour protection relations, the dismounting module is specifically for determining whether upstream LSP It is incorporated into the first LSP;If so, then continuing to transmit institute to the upstream LSP for being incorporated into the first LSP State measuring route error and indicate message, and after the upstream LSP for being incorporated into the first LSP is all removed, Remove the FRR Detour protection relations between the first LSP and main LSP;And, according to the hair of record Do not occur the 4th LSP of graceful closing on the raw graceful node closed or interface message, selection link, set up FRR Detour protection relations between 4th LSP and the main LSP;If it is not, directly removing institute The FRR Detour protection relations between the first LSP and the main LSP are stated, and, according to the generation of record Do not occur the 5th LSP of graceful closing on node or interface message that gracefulness is closed, selection link, set up institute State the FRR Detour protection relations between the 5th LSP and the main LSP.
16. the device according to claim 12 or 15, it is characterised in that in the stream of the main LSP Amount, which has switched to the first LSP and set up between the first LSP and main LSP, FRR Detour protections pass When being, the processing module is used to maintain the protection relation between the first LSP and the main LSP, and Specifically for maintaining the FRR Detour between the first LSP and main LSP to protect relation, mark first LSP is graceful closed mode, and determines whether that upstream LSP is incorporated into the first LSP;If so, then to conjunction And the extremely upstream LSP of the first LSP continues to transmit the measuring route error instruction message.
17. device according to claim 12, it is characterised in that between the first LSP and main LSP When foundation has Hot-Standby protection relations, the dismounting module is specifically for graceful according to the generation of record The node or interface message of closing, the first LSP is first built and tears MBB open afterwards gracefulness does not occur to link The 6th LSP closed, and, remove the Hot-Standby protections between the first LSP and main LSP Relation, and set up the protection relations of the Hot-Standby between the 6th LSP and the main LSP.
18. the device according to claim 12 or 17, it is characterised in that in the stream of the main LSP Amount, which has switched to the first LSP and set up between the first LSP and main LSP, Hot-Standby protections pass When being, the processing module is used to the first LSP is performed first to build to tear MBB open afterwards, and specifically for institute State the first LSP and perform MBB, and according to the graceful node closed of generation or interface message of record, evade hair The raw graceful node or interface IP address closed.
CN201610249303.6A 2016-04-20 2016-04-20 A kind of method and device of protecting tunnel Withdrawn CN107306197A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610249303.6A CN107306197A (en) 2016-04-20 2016-04-20 A kind of method and device of protecting tunnel
PCT/CN2017/072486 WO2017181756A1 (en) 2016-04-20 2017-01-24 Channel protection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610249303.6A CN107306197A (en) 2016-04-20 2016-04-20 A kind of method and device of protecting tunnel

Publications (1)

Publication Number Publication Date
CN107306197A true CN107306197A (en) 2017-10-31

Family

ID=60115606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610249303.6A Withdrawn CN107306197A (en) 2016-04-20 2016-04-20 A kind of method and device of protecting tunnel

Country Status (2)

Country Link
CN (1) CN107306197A (en)
WO (1) WO2017181756A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021115162A1 (en) * 2019-12-13 2021-06-17 中兴通讯股份有限公司 Link protection method, device, ingress node, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423458A (en) * 2001-11-30 2003-06-11 深圳市中兴通讯股份有限公司 Method for realizing signalling chair-circuit redundant back-up in IP network
CN101060497A (en) * 2007-06-11 2007-10-24 杭州华三通信技术有限公司 A traffic engineering tunnel creating method and device
CN101552715A (en) * 2008-03-31 2009-10-07 华为技术有限公司 Method, node and system for establishing backup label switching path
US20150326505A1 (en) * 2014-05-06 2015-11-12 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Logical switch architecture for network virtualization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9112713B2 (en) * 2012-06-27 2015-08-18 Cisco Technology, Inc. System and method for efficient point-to-multi-point traffic engineering (P2MP-TE) path protection
US9001672B2 (en) * 2012-07-27 2015-04-07 Alcatel Lucent System, method and apparatus conforming path cost criteria across multiple ABRs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1423458A (en) * 2001-11-30 2003-06-11 深圳市中兴通讯股份有限公司 Method for realizing signalling chair-circuit redundant back-up in IP network
CN101060497A (en) * 2007-06-11 2007-10-24 杭州华三通信技术有限公司 A traffic engineering tunnel creating method and device
CN101552715A (en) * 2008-03-31 2009-10-07 华为技术有限公司 Method, node and system for establishing backup label switching path
US20150326505A1 (en) * 2014-05-06 2015-11-12 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Logical switch architecture for network virtualization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021115162A1 (en) * 2019-12-13 2021-06-17 中兴通讯股份有限公司 Link protection method, device, ingress node, and storage medium
CN112995026A (en) * 2019-12-13 2021-06-18 中兴通讯股份有限公司 Link protection method, device, entry node and storage medium

Also Published As

Publication number Publication date
WO2017181756A1 (en) 2017-10-26

Similar Documents

Publication Publication Date Title
US7961602B2 (en) Method and device using a backup communication path to transmit excess traffic
EP2224644B1 (en) A protection method, system and device in the packet transport network
CN102158397A (en) Re-route method and point local repair (PLR) node
US20020060985A1 (en) Method for high speed rerouting in multi protocol label switching network
US8705373B2 (en) Apparatus and method for packet forwarding
CN101945049A (en) Multi-protocol label switching system, node equipment and establishing method of bidirectional tunnel
JP5151927B2 (en) Transmission device, alarm control method, alarm control program, and message transmission / reception program
US20080232375A1 (en) Packet transmission device
CN101459565B (en) Recovery method, device and network node for multiplexing protection service
CN101656651A (en) Method and device for correlatively protecting traffic engineering tunnels
CN102148694A (en) Linear 1-to-N protection method, device and system for packet transport network
JP4460358B2 (en) Disability relief processing method and program
CN102740175B (en) Method for protecting and recovering cross-domain end-to-end label switched path
CN101924697B (en) A Bidirectional Boot Recovery Method Based on Link Backtracking Recovery Strategy
CN101232453A (en) A Rerouting Method for Fast Path Finding in T-MPLS Network
CN107181677A (en) A kind of method and device of the main tunnel nodes protections of P2MP
CN102546352B (en) A kind of method and system realizing point-to-multipoint label switch paths protection
CN101848159B (en) Three-layer VPN route resetting method and device
CN107306197A (en) A kind of method and device of protecting tunnel
WO2016090815A1 (en) Switching control method and device in deploying high-capacity service
CN105791121B (en) Method and device for setting service forwarding table
Hariyawan Comparison analysis of recovery mechanism at MPLS network
CN113810278A (en) Tunnel path switching method, path configuration method, device, system and medium
CN108924046B (en) Method and system for protecting GRE tunnel bearing service
CN101155133B (en) Processing method for information of flux project periodic line

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171031