Background technology
Along with development of internet technology, Ethernet service develops to metropolitan area network, telecommunications network gradually from local area network (LAN).In the ever-increasing Ethernet service of future generation of demand, MPLS (multiprotocol label switching) technology relies on its unique advantages to become the preferred network technology.Its superiority mainly shows: restorative fast, and network scalability, Qos (service quality) professional ability, business polymerization ability and professional interoperability, or the like.
Along with the MPLS technology becomes the key technology of IP network multiple service supporting, the fault detect of MPLS and protection are switched becomes the important topic that industry is paid close attention to.This is because perfect OAM (operation and maintenance) mechanism can guarantee professional high-quality normal operation, and can significantly reduce the network operation maintenance cost.
At present, provide two kinds of basic unidirectional protection mechanism in Y.1720, specifically comprised: 1+1 protection switching construction and 1: 1 protection switching construction at ITU Recommendation.Wherein, the 1+1 protection switching is meant: working flow is copied on operating path and the protection path simultaneously, and selects operating path or protection path on the LSR of two paths polymerizations place; Protection switching in described 1: 1 then is meant: working flow only appears on operating path or the protection path, and the selection in operating path or protection path is finished by the starting point place of APS agreement in the path.
As shown in Figure 1; for unidirectional 1+1 protection switching construction; at Path Merge LSR (path merging LSR) when locating to detect defective; to start protection mechanism at Path Merge LSR place; diverter switch; finish unidirectional protection, be about to realize the protection handover operation between working LSP (Working LSP) and protection LSP (Protection LSP), working flow (Working traffic) is switched to and can transmit on the LSP of operate as normal.
As shown in Figure 2; for unidirectional 1: 1 protection switching construction; when detecting defective at Path Merge LSR place; start protection mechanism; and to Path switch LSR (path switch label switch router) direction transmission BDI (back is to the defective indication), Path Switch LSR is after receiving the BDI indication, no matter whether local protection LSP (protection label switched path) is in normal condition; all carry out switch and switch, finish the protection of unidirectional path.
Be not difficult to find out, in the above-mentioned prior art, only provide the protection handover mechanism of MPLS one-way data passage, switching for the protection of MPLS bidirectional data path does not then have corresponding implementation.
And, realize the protection of one-way data passage by FDI (predecessor's defective indication)/BDI.For 1: 1 protection switching construction, the two ends of protected field did not have affirmation mechanism, and the BDI that end switch action in source only depends on near-end and sent indicates, and still might cause misoperation, thereby influence the reliability of service communication.
Summary of the invention
In view of above-mentioned existing in prior technology problem, the purpose of this invention is to provide the implementation method that a kind of multi-protocol tag exchange bidirectional protection switches, provide feasible technical scheme thereby switch for the protection of MPLS bidirectional data path.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides the implementation method that a kind of multi-protocol tag exchange bidirectional protection switches, comprising:
A, in multiprotocol label switching MPLS network, be bidirectional label exchange path LSP configuration bidirectional protective switchover policy information;
B, when determining in the MPLS network that need carry out bidirectional protective switches, then carry out the bidirectional protective handover operation according to the bidirectional protective switchover policy information of configuration.
Described steps A comprises:
In the MPLS network, carry out the configuration of bidirectional LSP bidirectional protective switchover policy information based on APS APS agreement.
Described steps A comprises:
In the MPLS network, determine at least two pairs of bidirectional LSPs, each bar LSP that direction is identical is in the corresponding protection switchover policy information of beginning or end place configuration.
Described protection switchover policy information is:
The protection routing information of operating path correspondence, and protect the conditional information that need possess when switching.
Described step B comprises:
The MPLS network node determines that according to the Operation and Maintenance OAM message received needs protect handover operation, and protects handover operation according to the bidirectional protective switchover policy information of configuration.
Comprise in the described OAM message:
APS protocol domain: be used to carry the protection switch messages of determining based on the APS agreement.
Described step B specifically comprises:
B1, determine to protect when switching, send switching request message to peer node when the inspection of MPLS network node;
B2, peer node are then protected handover operation after receiving described switching request message, and return response message to the source end that sends switching request message;
After B3, described source end are received response message, carry out the corresponding protection handover operation in this locality.
Described step B also comprises:
In protection zone terminal point or starting point; routing information after determining to switch according to the APS protocol protection switch messages of from the OAM message that the opposite end obtains, carrying and local bidirectional protective switchover policy Information Selection of preserving, and corresponding business switched on the path after the switching of selecting to determine and transmit.
Before the described step B, this method also comprises:
When protection zone terminal point or starting point in the MPLS network start; Information Selection operating path and protection path according to local label switch router LSR preservation; and with corresponding business simultaneously by operating path and the protection path, perhaps only transmit by operating path.
The implementation method that described multi-protocol tag exchange bidirectional protection switches also comprises:
Insert under operating path in the MPLS network and the protection starting point place, path and be connected availability verification or rapid link failure detection message;
Terminal point in described operating path and protection path determines whether that according to described message needs protect handover operation.
As seen from the above technical solution provided by the invention, method of the present invention can realize effectively protection to MPLS LSP bidirectional data path, guarantees that the time-delay of bidirectional traffics is in equalization; Simultaneously, the APS agreement that the present invention introduces can cover the protection of MPLS LSP one-way data passage, thereby has unified the realization of the mechanism of unidirectional and bidirectional protective.In addition, among the present invention, when bidirectional protective took place, therefore out of order LSP will, can be keeped in repair it separately, and can not influence the regular traffic flow by idle.
Embodiment
Core of the present invention is based on APS (APS) agreement and realizes that the MPLS bidirectional protective switches, and provides feasible technical scheme thereby switch for the protection of MPLS bidirectional data path.
The implementation method that MPLS bidirectional protective of the present invention switches mainly may further comprise the steps:
At first, in multiprotocol label switching MPLS network, be bidirectional label exchange path LSP configuration bidirectional protective switchover policy information based on the APS agreement;
Concrete configuration mode is: in the MPLS network, determine at least two to (or more than two pairs) bidirectional LSP, every pair of bidirectional LSP comprises two LSP that direction is opposite; Two LSP that direction in two pairs of bidirectional LSPs is identical are in the corresponding protection switchover policy information of beginning or end place configuration; Described protection switchover policy information is specially: the protection routing information of an operating path correspondence (operating path can corresponding one or more protection path); and protect the conditional information that need possess when switching (as to receive protection switching request message; then determine to protect switching, or the like).
Then, APS protocol domain loaded information in the MPLS network node basis Operation and Maintenance OAM message of receiving is determined and need then be carried out the bidirectional protective handover operation according to the bidirectional protective switchover policy information of configuration when this node is protected handover operation;
APS protocol domain in the described OAM message is used to carry the protection switch messages of determining based on the APS agreement.
By the present invention is to realize based on the APS agreement, understands for the present invention being had clearly, at first the specific implementation form of the OAM message that includes the APS protocol domain is described below.
The OAM message format that comprises the APS protocol domain is shown in following table 1:
Table 1
In table 1, according to the value of the Function Type (function type) that reserves in Y.1711, among the present invention, the Function Type of MPLS APS association 3 views can be taken as for 0 * 8 (can certainly be worth for other), promptly when this value is 0 * 8, then determine that it is MPLS APS protocol massages.
Wherein, the territory of APS Octets territory for increasing newly in the table 1 at the present invention, its corresponding form is shown in following table 2:
Table 2
Switch needs according to protection, the implication in each territory and value are shown in following table 3 among the APS Octets shown in the table 2:
Table 3
Based on the above-mentioned definition that comprises the OAM message format and the carrying content information of APS protocol domain, will the specific implementation of the method for the invention be described below.
The present invention still will describe the application structure that two kinds of bidirectional protectives switch, and specifically comprise: the 1+1 bidirectional protective switches and 1: 1 bidirectional protective switches.
At first, the realization of two-way 1+1 protection handoff procedure is described, two-way 1+1 protection switching construction as shown in Figure 3.
The information or Information Selection operating path that from the APS protocol massages that send the opposite end, obtains or the protection path that obtain based on local LSR (LSR) by the switch of protection zone destination county;
For 1+1 protection, normal working flow will exist on operating path and protection path simultaneously, and be two-way;
If with CV (connection availability verification) message or FFD (rapid link failure detection) message audit link availability, then insert CV or FFD at the starting point place in operating path and protection path, and at the destination county extraction and analysis;
Working LSP or protection LSP all send CV or FFD message.
To illustrate the concrete protection handover operation processing procedure of the 1+1 bidirectional protective handover mechanism when defective takes place below.
As shown in Figure 4; if the LSP1 in MPLS A to MPLS Z direction breaks down; MPLS Z is owing to can not receive CV or FFD message audit to dLOC (defective is lost in connection); perhaps detect dTTSI_Mismatch (track end point source sign intersect wrong fault), dTTSI_Mismerge (track end point source sign polymerization fault), dExcess (connection overrun fault); at this moment; to protect switching based on the APS agreement request, and adopt the protection of 2 segmentations to switch, promptly the number of times of information interaction is 2 times.
Bidirectional protective switches detailed process:
At first, MPLS Z is by the relevant handover information of APS protocol massages notice MPLS A, and MPLS A carries out handover operation to selector (selector switch) after confirming Request Priority, and returns the information of finishing of switching to MPLS Z;
Next, the information of the MPLS A that MPLS Z basis receives is carried out handover operation to the selector of local terminal; At this moment, the path of flow switches on the LSP3-LSP4 from original LSP1-LSP2.
Again for example, as shown in Figure 5, when the LSP2 of MPLS Z to MPLS A direction breaks down, MPLS A is owing to can not receive CV (FFD) message audit to dLOC, perhaps detect dTTSI_Mismatch, dTTSI_Mismerge or dExcess, at this moment, the APS agreement request is protected switching, adopts the protection of 2 segmentations to switch;
The specific operation process that bidirectional protective switches comprises:
At first, MPLS A is by the relevant handover information of APS notice of settlement MPLS Z, and MPLS Z switches selector after confirming Request Priority, and returns the information of finishing of switching to MPLS A;
Secondly, the information of the MPLS Z that MPLS A basis receives is carried out handover operation to the selector of local terminal, and so far, whole two-way handoff procedure is finished.
Lift an example again, as shown in Figure 6, suppose that bidirectional LSP (LSP1 and LSP2) all breaks down; At this moment, three kinds of situations may appear:
First kind of situation is:
MPLS A and MPLS Z side detect the fault of LSP2 and LSP1 simultaneously, send the signal that the APS request is switched to the opposite end simultaneously;
According to the APS request, whether MPLS A and MPLS Z check local switching state information (as Lockoutof protection, forbidding switching), switch with decision.
If protect switching, two ends selector can move simultaneously, sends APS response protocol handover information to the other side simultaneously, and the switching of indication opposite end is finished,
After receiving response APS agreement, because the entrained handoff request priority of local handoff request and opposite end APS agreement is consistent, and finished the switching of selector, and do not done any processing.
Second kind of situation is:
MPLS A detects the LSP2 fault earlier and initiates the APS handoff protocol, and at this moment, corresponding processing procedure is identical with the processing procedure of example shown in Figure 5.
The third situation is:
MPLS Z detects the LSP1 fault earlier and initiates the APS handoff protocol, and at this moment, corresponding processing procedure is identical with the processing procedure of example shown in Figure 4;
In the method for the present invention, at the specific implementation process of protecting switching in two-way 1: 1 as shown in Figure 7, specifically describe as follows.
As shown in Figure 5, the characteristics of two-way 1: 1 protection structure are to switch by switch at protection source end to select operating path or protection path, and in the protection end, workflow and protection stream converge all the time.
If, then insert CV or FFD message, destination county extraction and analysis in the protection zone at the starting point place of protection zone with the available connectedness that CV or FFD detect LSP;
Equally, no matter LSP is operating state or guard mode, all should send CV or FFD message.
For example two-way 1: 1 protection switching processing process is described below.
As shown in Figure 8, if break down from the LSP2 of MPLS Z to MPLS A direction, this moment, MPLS A can detect the LSP2 fault, protected switching by the APS agreement request, adopted the protection of 2 segmentations to switch;
The concrete processing procedure that bidirectional protective switches comprises:
At first, MPLS A is by the relevant handover information of APS protocol massages notice MPLS Z, and MPLS Z carries out handover operation to selector, and returns response message to MPLS A after confirming Request Priority, determines to switch and finishes;
Secondly, the information of the MPLS Z that MPLS A basis receives is carried out handover operation to the selector of local terminal, and so far, whole two-way handoff procedure is finished.
Can also realize protection switching in unidirectional 1: 1 equally based on method of the present invention.
In unidirectional protection in 1: 1 was switched, when locating to detect defective, needing oppositely, announcement Path Switch LSR (path switch label switch router) carried out the switch switching at Path Merge LSR (path merging LSR).Finish the mutual of two ends state information with the APS agreement, can be so that defective request priority situation be confirmed at PathMerge LSR and Path Switch LSR two ends, finally whether determine the switch protecting switch by PathSwitch LSR.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.