Background technology
MPLS(Multi-Protocol Label Switching, multiprotocol label switching) TE (Traffic
Engineering, traffic engineering) combine MPLS technology and traffic engineering, by setting up along specified circuit
The LSP(Label Switched Path in footpath, label switched path) tunnel carries out resource reservation, makes network
Flow gets around congested node, reaches the purpose of balance network traffic, and wherein, from the beginning MPLS traffic engineering tunnel is
Node connects to a virtual point-to-point of destination node.Under normal circumstances, MPLS traffic engineering tunnel is by one
CRLSP(Constraint-based Routed Label Switched Paths, LSP based on CR-LDP)
Constitute, in actual application, for improving the reliability of MPLS traffic engineering tunnel data transmission, be sometimes also required to
Set up a plurality of CRLSP for same flow or set up two tunnels, the most a plurality of tunnel composition
MPLS traffic engineering tunnel protection group.
In the case of single MPLS traffic engineering tunnel protection flow, it will usually by creating CRLSP backup side
Formula, guarantees the reliability that same flow transmits, and in this case, MPLS traffic engineering tunnel is by one group
CRLSP is constituted.Right overhead node perceived to main CRLSP unavailable time, by flow switch to backup CRLSP
On, again flow switch is returned after main CRLSP path is recovered, to realize the backup to main CRLSP
Protection.CRLSP backup creates backup CRLSP after referring to create main CRLSP immediately.Main CRLSP loses
During effect, directly by flow switch to backing up CRLSP, it is that CRLSP path main to whole piece is protected,
Its switch speed is slower than FRR, therefore, sometimes also needs to set up FRR(Fast Reroute for CRLSP,
Quickly heavy-route) protect.FRR is the technology realizing network localised protection in MPLS TE, only
Critical link or node are protected.After opening the FRR function in tunnel, as protected CRLSP
On certain link or during certain node failure, flow can be switched to the Bypass CRLSP as FRR
Upper forwarding.Additionally, when creating the protection of two or more MPLS traffic engineering tunnels for same flow, with
The course of work of the single MPLS traffic engineering tunnel with multiple CRLSP is similar to, and main tunnel therein is suitable
In above-mentioned main CRLSP, backup tunnel is equivalent to back up CRLSP.
See Fig. 1, at active and standby CRLSP environment and the environment of FRR networking of typical single traffic engineering tunnel
In, Router1 is head node, and Router2 is local reparation PLR node, and Router4 is tail node,
Wherein, head node is the Ingress node in tunnel, the Egress node of tail node, and middle node is middle node
Point, PLR node is then the node needing to set up FRR protection for the CRLSP in tunnel, also builds
The head node of vertical FRR Protection path;MPLS TE tunnel is set up between Router1 and Router4
Road, wherein path A-> B-> C be the main CRLSP, D-of MPLS traffic engineering tunnel > E-> F be MPLS TE
The backup CRLSP in tunnel, head node Router1 send path P ath message the most respectively to master backup
CRLSP carries out route maintenance, and Path message is downstream sent along the direction of data-message transmission by sender,
Storing path state on the most all nodes, Path message is used for bang path status information to safeguard
CRLSP path.PLR node R outer2 is Point of Local Repair, is used for setting up FRR protection, logical
The often downstream node to Point of Local Repair, or and downstream node between link establishment FRR Protection path,
This Protection path alternatively referred to as bypass Bypass CRLSP.
MPLS traffic engineering tunnel carries out being generally of 1:1 forward mode and 1+1 forward mode when flow forwards
Two kinds of forward modes.When using 1:1 forward mode, data traffic is only the master of MPLS traffic engineering tunnel
CRLSP is upper to be forwarded, when after the main CRLSP fault of MPLS traffic engineering tunnel, and flow switch to MPLS TE
Forward on the backup CRLSP in tunnel;When being adopted as 1+1 forward mode, flow passes through load balancing
Mode forward on the active and standby CRLSP of MPLS traffic engineering tunnel simultaneously.Can change between both of which.
The active and standby CRLSP of MPLS traffic engineering tunnel is simultaneously through same equipment Router2, the link on Router2
B and E is critical link, needs to lay special stress on protecting, and opens FRR protection, and once B and E link is simultaneously
After fault, the flow through Router2 will be switched to Bypass CRLSP and forward, and i.e. walk path GH and turn
Send out.
At present, when MPLS traffic engineering tunnel sets up FRR protection, need simultaneously in MPLS traffic engineering tunnel
Each CRLSP set up FRR, i.e. need in a network for each bar CRLSP reserve multiple FRR protection
Resource, and when MPLS traffic engineering tunnel is operated in 1:1 forward mode, due to synchronization, flow only can
Being transmitted in a CRLSP, not carrying out the FRR on the CRLSP of flow transmission will not rise
Effect, this will necessarily cause network resources waste.During for example, it is desired to MPLS TE is set up FRR,
Assume that MPLS TE includes main CRLSP and backup two links of CRLSP, then be accomplished by the most pre-
Staying the protection resource of two parts of FRR, if FRR protection resource is 100M, this is accomplished by taking 200M money
Source, and it practice, when MPLS TE is operated in 1:1 pattern, one of them CRLSP reserves
FRR protection resource do not have any effect because a CRLSP carry out flow transmission time,
Another CRLSP can't carry out flow transmission, and this FRR resulting in 100M protects the waste of resource.
Similarly, see Fig. 2, at the MPLS TE tunnel setting up multiple MPLS traffic engineering tunnel for same flow
In pipe protection group, there is also similar problem, such as, there is main MPLS traffic engineering tunnel and backup MPLS
The protection group of traffic engineering tunnel is when setting up FRR protection, if protecting tunnel group is operated in 1:1 pattern, simultaneously
Set up FRR for two tunnels of backup and will also result in the waste of resource.
Summary of the invention
In view of this, the present invention provides a kind of method saving quick heavy-route FRR protection resource, application
In multi-protocol label switching traffic engineering MPLS traffic engineering tunnel or the head node of MPLS traffic engineering tunnel protection group
On, described MPLS traffic engineering tunnel at least includes master label switched path based on a CR-LDP CRLSP
With a backup CRLSP, described MPLS traffic engineering tunnel protection group at least includes a main MPLS TE tunnel
Road and a backup MPLS traffic engineering tunnel, described main MPLS and backup MPLS traffic engineering tunnel are respectively wrapped
Including a CRLSP, described method includes:
Head node judges that current CRLSP or MPLS traffic engineering tunnel is protected the need of FRR;
Described head node judges when described current CRLSP or MPLS traffic engineering tunnel needs FRR to protect,
Current CRLSP or MPLS traffic engineering tunnel sends and carries the message presetting mark, with notice described currently
Point of Local Repair PLR in CRLSP or MPLS traffic engineering tunnel sets up FRR.
In above-mentioned method, a described default mark concretely mark value, when described mark value is mark
Value for the moment, represents that current CRLSP or MPLS traffic engineering tunnel needs FRR to protect;When described mark value is
During mark value two, represent that current CRLSP or MPLS traffic engineering tunnel need not FRR protection.
In above-mentioned method, described default mark is specifically carried in path P ath message.
In above-mentioned method, described head node judge current CRLSP or MPLS traffic engineering tunnel the need of
FRR protects, concretely:
When described head node needs flow switch to current CRLSP or MPLS traffic engineering tunnel, it is determined that when
Front CRLSP or MPLS TE needs FRR to protect;
Described head node needs from current CRLSP or MPLS traffic engineering tunnel, flow is switched to other
During CRLSP or MPLS traffic engineering tunnel, it is determined that current CRLSP or MPLS TE need not FRR protection.
Above-mentioned method may also include that
Described head node judges when described current CRLSP or MPLS traffic engineering tunnel need not FRR protection,
Current CRLSP or MPLS traffic engineering tunnel sends and carries the message presetting mark, described to notice
PLR node in CRLSP or MPLS traffic engineering tunnel releases the FRR set up.
The present invention also provides for a kind of householder method saving FRR protection resource, is applied to multiprotocol label and hands over
Change on the PLR node of traffic engineering MPLS traffic engineering tunnel or MPLS traffic engineering tunnel protection group, described MPLS
Traffic engineering tunnel at least includes master label switched path based on a CR-LDP CRLSP and a backup
CRLSP, described MPLS traffic engineering tunnel protection group at least include a main MPLS traffic engineering tunnel and one standby
Part MPLS traffic engineering tunnel, described main MPLS and backup MPLS traffic engineering tunnel respectively include one
CRLSP, described method includes:
PLR node receives the message carrying default mark that head node sends, and according to described pre-bidding
Note judges that current CRLSP or MPLS traffic engineering tunnel is protected the need of FRR;
Described PLR node judges when current CRLSP or MPLS traffic engineering tunnel needs FRR to protect,
FRR is set up in current CRLSP or MPLS traffic engineering tunnel.
In above-mentioned method, described in current CRLSP or MPLS traffic engineering tunnel, set up FRR specifically may be used
For:
Being used for of having set up on described PLR node is protected same MPLS traffic engineering tunnel or same MPLS
The FRR of traffic engineering tunnel group binds with current CRLSP or MPLS traffic engineering tunnel.
The present invention also provides for a kind of device saving FRR protection resource, is applied to multiprotocol label switching stream
On the head node of amount engineering MPLS traffic engineering tunnel or MPLS traffic engineering tunnel protection group, described MPLS TE
Tunnel at least includes master label switched path based on a CR-LDP CRLSP and a backup
CRLSP, described MPLS traffic engineering tunnel protection group at least include a main MPLS traffic engineering tunnel and one standby
Part MPLS traffic engineering tunnel, described main MPLS and backup MPLS traffic engineering tunnel respectively include one
CRLSP, described device includes:
Protection identifying unit, is used for judging that current CRLSP or MPLS traffic engineering tunnel is the need of FRR
Protection;
Packet labeling unit, for judging current CRLSP or MPLS TE when described protection identifying unit
When tunnel needs FRR to protect, send to carry in current CRLSP or MPLS traffic engineering tunnel and preset mark
Message, build noticing the Point of Local Repair PLR in described current CRLSP or MPLS traffic engineering tunnel
Vertical FRR.
In above-mentioned device, a described default mark concretely mark value, when described mark value is mark
Value for the moment, represents that current CRLSP or MPLS traffic engineering tunnel needs FRR to protect;When described mark value is
During mark value two, represent that current CRLSP or MPLS traffic engineering tunnel need not FRR protection.
In above-mentioned device, described default mark is specifically carried in Path message.
In above-mentioned device, described protection identifying unit, it is particularly used in and needs flow switch to current
During CRLSP or MPLS traffic engineering tunnel, it is determined that current CRLSP or MPLS TE needs FRR to protect;
And be used for needing by flow from current CRLSP or MPLS traffic engineering tunnel be switched to other CRLSP or
During MPLS traffic engineering tunnel, it is determined that current CRLSP or MPLS TE need not FRR protection.
Above-mentioned device may also include that
Release notification unit, when described protection identifying unit judges current CRLSP or MPLS traffic engineering tunnel
When need not FRR protection, send to carry in current CRLSP or MPLS traffic engineering tunnel and preset mark
Message, to notice the FRR that the PLR node releasing in described CRLSP or MPLS traffic engineering tunnel has been set up.
The present invention also provides for a kind of servicing unit saving FRR protection resource, is applied to multiprotocol label and hands over
Change on the PLR node of traffic engineering MPLS traffic engineering tunnel or MPLS traffic engineering tunnel protection group, described MPLS
Traffic engineering tunnel at least includes master label switched path based on a CR-LDP CRLSP and a backup
CRLSP, described MPLS traffic engineering tunnel protection group at least include a main MPLS traffic engineering tunnel and one standby
Part MPLS traffic engineering tunnel, described main MPLS and backup MPLS traffic engineering tunnel respectively include one
CRLSP, described device includes:
Mark identifying unit, for receiving the message carrying default mark that head node sends, and according to
Described default mark judges that current CRLSP or MPLS traffic engineering tunnel is protected the need of FRR;
Unit is set up in protection, for judging current CRLSP or MPLS traffic engineering tunnel when mark identifying unit
When needing FRR to protect, current CRLSP or MPLS traffic engineering tunnel sets up FRR.
In above-mentioned device, unit is set up in described protection, is particularly used in built on described PLR node
The vertical FRR for protecting same MPLS traffic engineering tunnel or same MPLS traffic engineering tunnel group is with current
CRLSP or MPLS traffic engineering tunnel is bound.
In embodiment of the present invention technical scheme, the head node of MPLS traffic engineering tunnel can be determined by current
CRLSP or MPLS traffic engineering tunnel the need of carrying out FRR protection, notice corresponding CRLSP or
PLR in MPLS traffic engineering tunnel sets up FRR Protection path, so, can in MPLS traffic engineering tunnel,
Only CRLSP or the MPLS traffic engineering tunnel carrying out flow forwarding is set up FRR protection, can avoid be simultaneously
The each MPLS traffic engineering tunnel in each CRLSP or MPLS TE protection group in same MPLS traffic engineering tunnel
Set up the wasting of resources that FRR brings, effective backup can be played again simultaneously.
Detailed description of the invention
In MPLS traffic engineering tunnel technology, there is the single MPLS traffic engineering tunnel of multiple CRLSP or having
In the network environment of the MPLS traffic engineering tunnel protection group of multiple MPLS traffic engineering tunnels, can be to single MPLS
Traffic engineering tunnel is set up backup CRLSP link or creates backup tunnel formation tunnel guarantor for MPLS traffic engineering tunnel
Protect the mode of group, carry out traffic protection so that flow can be in active and standby CRLSP link or active and standby
Tunnel forwards, when main CRLSP link or main tunnel fails, can be immediately by data
Flow switch forwards in backup CRLSP link or backup tunnel, thus ensures that data traffic is not interrupted.
In addition, for some key nodes, the node of the most active and standby CRLSP link process simultaneously, can
FRR technology is used to carry out separately protected.Can be by FRR protection problems faced is that its protection is right
As being probably in units of MPLS traffic engineering tunnel or MPLS traffic engineering tunnel protection group, when flow forwards
When using 1:1 forward mode, now flow only forwards in the CRLSP in main CRLSP or main tunnel,
Backup CRLSP or the CRLSP not transmitting data flow amount of backup tunnel, therefore for not having data traffic
Forward backup CRLSP or backup tunnel for, carry out FRR protection it is not necessary that.Therefore,
The present invention proposes a kind of method saved and save FRR protection resource in MPLS TE, can be only to needing
CRLSP or the MPLS traffic engineering tunnel carrying out protecting carries out FRR protection, specifically, and can be only to working as
Before have data traffic to forward CRLSP or MPLS traffic engineering tunnel carry out FRR protection.
The embodiment of the present invention can be applicable to have the MPLS traffic engineering tunnel of active and standby CRSLP and has active and standby
In the foundation of the FRR Protection path of the MPLS traffic engineering tunnel group of MPLS traffic engineering tunnel, wherein, head node
Corresponding CRSLP or MPLS traffic engineering tunnel can be notified whether by sending the message with default mark
Need to set up FRR, from the point of view of the angle of head node, the invention provides a kind of FRR of saving and protect resource
Method, from the point of view of the angle of PLR node, the invention provides and a kind of save FRR protection resource
Householder method, head node cooperates with PLR node, can realize the foundation of FRR Protection path.
Seeing Fig. 3, head node and PLR node engagement process perform following steps:
Step S301: head node judges that current CRLSP or MPLS traffic engineering tunnel is protected the need of FRR
Protect;
Step S302: described head node judges that described current CRLSP or MPLS traffic engineering tunnel needs FRR
During protection, send in current CRLSP or MPLS traffic engineering tunnel and carry the message presetting mark, with logical
The Point of Local Repair PLR accused in described current CRLSP or MPLS traffic engineering tunnel sets up FRR;
Step S303:PLR node receives carrying of head node transmission and presets the message marked, and according to
Described default mark judges that current CRLSP or MPLS traffic engineering tunnel is protected the need of FRR;
Step S304: described PLR node judges that current CRLSP or MPLS traffic engineering tunnel needs FRR
During protection, current CRLSP or MPLS traffic engineering tunnel sets up FRR.
In the present embodiment, head node specifically can be determined by which bar in current MPLS traffic engineering tunnel
CRLSP carries out which the bar tunnel in flow forwarding, or MPLS traffic engineering tunnel protection group to carry out flow and turns
Send out, be defined as needing to carry out FRR protection by CRLSP or the MPLS traffic engineering tunnel carrying out flow forwarding
CRLSP or MPLS traffic engineering tunnel, and notify that PLR corresponding on it carries out building of FRR Protection path
Vertical.So, CRLSP or the MPLS TE for there is no need can be avoided to set up FRR and to protect link, subtract
The waste of few FRR protection resource.
Specifically, when head node needs flow switch to current CRLSP or MPLS traffic engineering tunnel,
Now, current CRLSP or MPLS traffic engineering tunnel needs to carry out flow transmission, then can determine that current
CRLSP or MPLS TE needs FRR to protect, such as, as the main CRLSP in MPLS traffic engineering tunnel
Fault, when needing flow switch to backup CRLSP, then backup CRLSP needs FRR to protect.And
Head node need by flow from current CRLSP or MPLS traffic engineering tunnel be switched to other CRLSP or
During MPLS traffic engineering tunnel, then illustrate that current CRLSP or MPLS traffic engineering tunnel is made without flow transmission,
Can determine that current CRLSP or MPLS TE need not FRR protection, such as, in MPLS traffic engineering tunnel
Use 1+1 pattern to carry out flow transmission, when needing to be switched to 1:1 pattern, back up CRLSP or standby
Part MPLS traffic engineering tunnel will not carry out flow transmission, therefore need not FRR protection.
In actual application, when head node judges that current CRLSP or MPLS traffic engineering tunnel need not FRR
During protection, can send in current CRLSP or MPLS traffic engineering tunnel and carry the message presetting mark, with
Notice the PLR node in current CRLSP or MPLS traffic engineering tunnel and release the FRR set up.Specifically
Ground, can be when head node needs to be switched to present flow rate other CRLSP or MPLS traffic engineering tunnel, then
Can determine that current CRLSP or MPLS traffic engineering tunnel need not FRR and protects, therefore, can be pre-by sending
The message of bidding note, notice PLR releases the FRR Protection path set up.
In a preferred embodiment, the present invention can be reported by the path (Path) sent at head node
Increasing mark value in literary composition, this mark value is presets mark, has data traffic to forward in current master backup
CRLSP and the CRLSP not having data traffic to forward mark respectively, corresponding to notice
Whether the PLR node in CRLSP or MPLS traffic engineering tunnel is protected at outgoing interface link establishment FRR,
So CRLSP or the MPLS traffic engineering tunnel having data traffic to forward can be set up FRR protection.Wherein
Path message is RSVP(Resource Reservation Protocol, RSVP) one use
In setting up and safeguard the message of LSP link, by a common headers followed by one or more object structures
Becoming, its conventional object includes labeling requirement (LABEL_REQUEST) object, route display
(EXPLICIT_ROUTE) object, route record (RECORD_ROUTE) object, session belongs to
Property (SESSION_ATTRIBUTE) object, sender's template (SENDER_TEMPLATE)
Object etc..
In a preferred embodiment, head node Path message increases mark value specific implementation
Can be: the flags of Path message SESSION_ATTRIBUTE object is expanded, former Session
Attribute object and flags field are as follows:
Wherein, RFC3209 defines three values to flags territory:
0X01:Local this value of protection desired(set when main LSP head node sends Path,
Represent that expectation carries out FRR protection)
0x02:Label recording desired(represents expectation record label, saves at equipment Facility
Must record during point protection)
0x04:SE Style desired(represents that display Share Explicit resource reservation is shared in expectation)
For supporting FRR further in RFC4090, newly-increased two new Flags territory definition value
0x08:Bandwidth protection desired(represents expectation protection bandwidth)
0x10:Node protection desired(represents expectation Node Protection)
The most whether in this programme, then expand an attribute field, it is desirable to only protection operating path field
Needing current CRLSP to carry out the field of FRR protection, this field is specially a mark value, when described mark
Note value is mark value a period of time, represents that current CRLSP or MPLS traffic engineering tunnel needs FRR to protect;Work as institute
State mark value when being mark value two, represent that current CRLSP or MPLS traffic engineering tunnel need not FRR protection.
In the present embodiment, described mark value one is 0, and described mark value two is 1.
It will be understood by those skilled in the art that actually used in, pre-except carrying in Path message
Bidding is remembered, to notice whether corresponding PLR sets up outside FRR Protection path, it is possible to by individually report
Literary composition, this message can periodically send, or, it is only necessary to CRLSP or MPLS traffic engineering tunnel start into
Before the transmission of row flow, or terminate to carry out being transmitted during flow transmission.Preferably, use Path message,
Path message is to have carried out the protocol massages of link maintenance in MPLS traffic engineering tunnel, and this message is periodically sent out
Send, so can improve the practicality of the present invention program, it is not necessary to change agreement etc..Meanwhile, Path is being used
Message be transmitted preset mark time, PLR can periodically receive this preset mark, when PLR
When setting up FRR tunnel, then receive this and preset mark instruction when setting up FRR tunnel, then can need not weight
New setting up, until receiving when need not FRR protection, just responding this message, dismounting FRR tunnel.
In embodiment described above, the current CRLSP of described judgement protects the need of FRR, specifically
Refer in the environment shown in Fig. 1, be same flow and set up single MPLS traffic engineering tunnel, and MPLS
Traffic engineering tunnel at least includes main CRLSP and backup two paths of CRLSP;The current MPLS of described judgement
Traffic engineering tunnel is protected the need of FRR, specifically refers to, in the environment shown in Fig. 2, be same stream
Amount sets up MPLS traffic engineering tunnel protection group, and MPLS traffic engineering tunnel protection group at least includes main MPLS TE
Tunnel and backup MPLS traffic engineering tunnel, therein transmission in MPLS traffic engineering tunnel carries default mark
Message, specifically refers to send this message in the CRLSP of MPLS traffic engineering tunnel, when MPLS TE tunnel
When there is multiple CRLSP in road, this report can be sent in multiple CRLSP or one of them CRLSP simultaneously
Literary composition, specifically can determine as required, such as can according to the CRLSP in MPLS traffic engineering tunnel the need of
FRR protection determines whether to send this message in CRLSP.
For ease of the understanding to technical solution of the present invention, below in conjunction with the MPLS with active and standby CRLSP
Traffic engineering tunnel network environment, i.e. sets up in single MPLS traffic engineering tunnel network environment to a kind of flow, FRR
Protection path is set up process and is described in detail.
For in the network environment of active and standby CRLSP Yu the FRR networking of single MPLS traffic engineering tunnel,
After the active and standby CRLSP of MPLS traffic engineering tunnel sets up, head node periodically divides in master backup CRLSP
Not Fa Song Path message, Path message is for carrying out link maintenance to master backup CRLSP, by head node
Direction along data-message transmission downstream sends, storing path state on the most all nodes.
If present flow rate forwards and uses 1:1 flow forward mode, head node can be by flow primary
Being transmitted on CRLSP, the most main CRLSP meets FRR protective condition, and head node is by main CRLSP
Path message in the mark value of expectation only protection operating path field carried all be set to 0, PLR node
After receiving the path message carrying default mark that head node sends, it is determined that current main CRLSP needs
FRR protects, and then sets up FRR Protection path at this node.The object of this this Node Protection, e.g.
Link between downstream node or this node and downstream node is to set when MPLS traffic engineering tunnel is set up
, or preassigned.Wherein, locally created FRR Protection path, can be interim foundation, also
Can be that the FRR Protection path having built up is bound at current CRLSP with this node, right
In only having the MPLS traffic engineering tunnel of active and standby CRLSP, and it is the scene being operated in 1:1 forward mode,
Then preferential employing can set up a FRR Protection path meeting condition at PLR node, needs at CRLSP
During FRR to be set up protection, then the FRR that this has been set up can be tied to CRLSP, CRLSP and need not
During FRR protection, if built vertical binding, then can be unbinding.
If the most main CRLSP fault, then head node needs flow switch enterprising to backup CRLSP
Row forwards, and the most main CRLSP is no longer necessary to FRR protection, and backup CRLSP needs FRR to protect,
Then the mark value of operating path field is only protected in expectation in the Path message of backup CRLSP by head node
All it is set to 0.After PLR node receives the path message carrying default mark that head node sends, it is determined that
Current backup CRLSP needs FRR to protect, and then sets up FRR Protection path on backup CRLSP.
For the main CRLSP broken down, in MPLS traffic engineering tunnel technology, main CRLSP can be certainly
Dynamic deleted, the FRR Protection path set up also can be automatically deleted, and can be the most specifically to release FRR
Protection path and the binding of current CRLSP, in order to backup CRSLP may utilize the FRR protection of this releasing
Path and backup CRLSP binding, for backup CRLSP.When main CRLSP fault recovery is laid equal stress on
After new foundation, now flow is switched to main CRLSP tunnel again, is currently needed for the object of FRR protection
Changing, then the mark of operating path field is only protected in the expectation in the head node Path message to sending
Note value is adjusted, and the expectation carried in the Path message of main CRLSP is only protected working ways by head node
The mark value of footpath field is set to 0, and the expectation carried in the Path message of backup CRLSP is only protected work
The mark value making path field is all set to 1.PLR receives the path carrying default mark that head node sends
After message, it is determined that current main CRLSP needs FRR to protect, and current backup CRLSP need not FRR
Protection, then releases backup CRLSP existing FRR binding, and by FRR Protection path and main CRLSP
Bind.
Additionally, if present flow rate forwards uses 1+1 flow forward mode, head node can be by flow
It is transmitted on backup CRLSP advocating peace simultaneously, the backup CRLSP that now advocates peace is satisfied by FRR and protects
Guard strip part, the expectation carried in the primary and Path message of backup CRLSP is only protected work by head node
The mark value of path field is all set to 0, and mark is preset in carrying that PLR node receives that head node sends
After path message, it is determined that the backup CRLSP that currently advocates peace is required for FRR protection, then in backup of advocating peace
Set up FRR Protection path on CRLSP simultaneously.
If the most main CRLSP fault, then head node needs the flow switch on main CRLSP to standby
On part CRLSP, main CRLSP can be deleted, and the FRR protection binding set up automatically terminates.
After main CRLSP fault recovery re-establishing, now head node again by flow switch to main
CRLSP, the most active and standby CRLSP are satisfied by FRR protective condition, the Path message of active and standby CRLSP
In the mark value of expectation only protection operating path field carried be all 0, PLR receives what head node sent
Carry after presetting the path message marked, it is determined that the backup CRLSP that currently advocates peace is required for FRR protection,
FRR Protection path is bound respectively with the backup CRLSP that advocates peace.
Above FRR in single MPSL traffic engineering tunnel is set up process to be illustrated, and at MPLS TE
Protecting tunnel group is set up FRR and then can have similar process, can be by judging in protection group
MPLS traffic engineering tunnel is protected the need of FRR, sets up FRR in MPLS traffic engineering tunnel, and it is specifically real
Existing process does not repeats them here.
Referring to Fig. 5, in a preferred embodiment, the present invention also provides for a kind of and above-mentioned a kind of saving
The device 50 corresponding to method of FRR protection resource, is applied to multi-protocol label switching traffic engineering MPLS
On the head node of traffic engineering tunnel or MPLS traffic engineering tunnel protection group, described MPLS traffic engineering tunnel at least includes
Article one, master label switched path based on CR-LDP CRLSP and backup a CRLSP, described MPLS
Traffic engineering tunnel protection group at least includes a main MPLS traffic engineering tunnel and a backup MPLS traffic engineering tunnel,
Described main MPLS and backup MPLS traffic engineering tunnel respectively include a CRLSP.This device 50 is concrete
Comprise the steps that
Protection identifying unit 51, is used for judging that current CRLSP or MPLS traffic engineering tunnel is the need of FRR
Protection;
Packet labeling unit 52, for judging current CRLSP or MPLS when described protection identifying unit 51
When traffic engineering tunnel needs FRR to protect, in current CRLSP or MPLS traffic engineering tunnel, transmission is carried default
The message of mark, to notice the Point of Local Repair in described current CRLSP or MPLS traffic engineering tunnel
PLR sets up FRR.
The process that implements of the device 50 that the embodiment of the present invention provides can be found in said method embodiment
Illustrate, do not repeat them here.
In above-mentioned device 50, a described default mark concretely mark value, when described mark value is
Mark value for the moment, represents that current CRLSP or MPLS traffic engineering tunnel needs FRR to protect;When described mark
When value is for mark value two, represent that current CRLSP or MPLS traffic engineering tunnel need not FRR protection.And institute
State default mark to be specifically carried in Path message.
In above-mentioned device 50, described protection identifying unit 51, it is particularly used in and needs flow switch
During to current CRLSP or MPLS traffic engineering tunnel, it is determined that current CRLSP or MPLS TE needs FRR
Protection;And be used for needing from current CRLSP or MPLS traffic engineering tunnel, flow is switched to other
During CRLSP or MPLS traffic engineering tunnel, it is determined that current CRLSP or MPLS TE need not FRR protection.
In the device 50 that the present invention provides, may also include releasing notification unit 53, for when described protection
Identifying unit 51 judges when current CRLSP or MPLS traffic engineering tunnel need not FRR protection, currently
In CRLSP or MPLS traffic engineering tunnel send carry preset mark message, with notice described currently
PLR node in CRLSP or MPLS traffic engineering tunnel releases the FRR set up.
Seeing Fig. 4, it is corresponding with a kind of above-mentioned method saving FRR protection resource that the present embodiment provides
Device, specifically can also be realized by the hardware shown in Fig. 4, specifically, and the controller (CPU) in Fig. 4
Connecting and have memory and other hardware, wherein, deposited program or instruction in memory, CPU can lead to
Crossing the program or instruction read in memory, perform corresponding operation, other hardware, can be specifically logical
Letter interface, can receive or send message etc..
Specifically, CPU, by reading the program in memory or instruction, can perform following operation:
CPU passes through reading program or instruction, it is determined that current CRLSP or MPLS traffic engineering tunnel the need of
FRR protects, and judges when described current CRLSP or MPLS traffic engineering tunnel needs FRR to protect,
Current CRLSP or MPLS traffic engineering tunnel is sent by communication interface and carries the message presetting mark,
FRR is set up with the Point of Local Repair PLR in described current CRLSP or the MPLS traffic engineering tunnel of notice.
Wherein, a described default mark concretely mark value, when described mark value is mark value a period of time,
Represent that current CRLSP or MPLS traffic engineering tunnel needs FRR to protect;When described mark value is mark value two
Time, represent that current CRLSP or MPLS traffic engineering tunnel need not FRR protection.And default mark specifically may be used
Carry in path P ath message.
Above-mentioned CPU reading program or instruction, specifically can need flow switch to current at head node
During CRLSP or MPLS traffic engineering tunnel, it is determined that current CRLSP or MPLS TE needs FRR to protect;
And need from current CRLSP or MPLS traffic engineering tunnel, flow is switched to other CRLSP at head node
Or during MPLS traffic engineering tunnel, it is determined that current CRLSP or MPLS TE need not FRR protection.
Above-mentioned CPU reading program or instruction, also can judge described current CRLSP or MPLS TE
When tunnel need not FRR protection, send in current CRLSP or MPLS traffic engineering tunnel and carry pre-bidding
The message of note, to notice what the PLR node releasing in described CRLSP or MPLS traffic engineering tunnel had been set up
FRR。
Seeing Fig. 6, in a preferred embodiment, the present invention also provides for protecting with above-mentioned a kind of FRR of saving
Protect the device 60 that the householder method of resource is corresponding, be applied to multi-protocol label switching traffic engineering MPLS TE
On the PLR node of tunnel or MPLS traffic engineering tunnel protection group, described MPLS traffic engineering tunnel at least includes one
Bar master label switched path based on CR-LDP CRLSP and backup a CRLSP, described MPLS
Traffic engineering tunnel protection group at least includes a main MPLS traffic engineering tunnel and a backup MPLS traffic engineering tunnel,
Described main MPLS and backup MPLS traffic engineering tunnel respectively include a CRLSP.This device 60 is concrete
Comprise the steps that
Mark identifying unit 61, for receiving the message carrying default mark that head node sends, and root
Judge that current CRLSP or MPLS traffic engineering tunnel is protected the need of FRR according to described default mark;
Unit 62 is set up in protection, for judging current CRLSP or MPLS TE when mark identifying unit 61
When tunnel needs FRR to protect, current CRLSP or MPLS traffic engineering tunnel sets up FRR.
The process that implements of the device 60 that the embodiment of the present invention provides can be found in said method embodiment
Illustrate, do not repeat them here.
In said apparatus 60, unit 62 is set up in protection, is particularly used in built on described PLR node
The vertical FRR for protecting same MPLS traffic engineering tunnel or same MPLS traffic engineering tunnel group is with current
CRLSP or MPLS traffic engineering tunnel is bound.
Seeing Fig. 4, what the present embodiment provided protects the householder method pair of resource with above-mentioned a kind of FRR that saves
The device answered, it is also possible to realized by the hardware shown in Fig. 4, specifically, the controller (CPU) in Fig. 4
Connecting and have memory and other hardware, wherein, deposited program or instruction in memory, CPU can lead to
Crossing the program or instruction read in memory, perform corresponding operation, other hardware, can be specifically logical
Letter interface, can receive or send message etc..
Specifically, CPU, by reading the program in memory or instruction, can perform following operation:
CPU reading program or instruction, can receive carrying of head node transmission from communication interface and preset mark
Message, and according to described default mark judge current CRLSP or MPLS traffic engineering tunnel the need of
FRR protects;And when judging that current CRLSP or MPLS traffic engineering tunnel needs FRR to protect,
FRR is set up in current CRLSP or MPLS traffic engineering tunnel.
Wherein, CPU reading program or instruction, being specifically used for of having set up on described PLR node can be protected
Protect same MPLS traffic engineering tunnel or the FRR and current CRLSP or MPLS of same MPLS traffic engineering tunnel group
Traffic engineering tunnel is bound.
Through the above description of the embodiments, it will be appreciated by those skilled in the art that the device in embodiment
In unit can describe according to embodiment and be distributed in the device of embodiment, it is also possible to carry out respective change
It is disposed other than in one or more devices of the present embodiment.The unit of above-described embodiment can merge into one
Individual unit, it is possible to be further split into multiple submodule.
Foregoing invention embodiment sequence number, just to describing, does not represent the quality of embodiment.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in
Within the scope of protection of the invention.