The present invention relates to network communication technology, and more particularly, to a method for implementing bidirectional protection switching in a Multiple Protocol Label Switching Network.
With the development of the network technology, Ethernet services grow step by step from Local Area Networks (LAN) to Metropolitan Area Networks (MAN) and telecommunication networks. For the continuously growing next generation Ethernet services, Multiple Protocol Label Switching (MPLS), based on its unique advantages, has emerged as a first choice among the network technologies. The advantages of the MPLS include: rapid recovery, network scalability, Quality of Service (QoS) ability, service congregation ability and inter-operation of services, etc.
As the MPLS technology has become the key technology of the IP network multi-service bearer, defect detection and protection switching in the MPLS come to be an important concern in the industry so as to ensure that an Operation, Administration and Maintenance (OAM) mechanism of the MPLS can guarantee the high quality and smooth operations of the services and largely reduce the network operation and maintenance costs.
Two basic unidirectional MPLS protection mechanisms are provided in the related arts, that is, 1+1 protection switching structure and 1:1 protection switching structure. The 1+1 protection switching refers to: working traffic is reproduced in a working Label Switching Path (LSP) and a protection LSP simultaneously, then the working traffic in one of the two LSPs is received at a Label Switching Router (LSR) at a merging end of the two paths. The 1:1 protection switching includes: working traffic is only transported by either the working LSP or the protection LSP. Usually a domain equipped with a protection switching structure is called a protection domain, which includes two ends. The end which receives a switching request from the other end and implements switching is called a source end in the protection domain; the other end is the destination end which initiates the switching request in the protection domain.
The invention provides a method for implementing a bidirectional protection switching in a Multiple Protocol Label Switching (MPLS) network, including:
configuring bidirectional protection switching strategy for at least two bidirectional Label Switching Paths (LSPs) in an MPLS network, each of which includes two LSPs in opposite directions,
determining a bidirectional working LSP and a bidirectional protection LSP in the bidirectional LSPs;
switching from the bidirectional working LSP to the bidirectional protection LSP for working traffic according to the configured bidirectional protection switching strategy when the bidirectional protection switching is decided to implement.
It can be seen from the above technical solution provided in this invention, that the method provided by this invention effectively protects the bidirectional data channels of the MPLS LSPs, prevents unequal time delays of the working traffic in the two directions in the unidirectional switching operations and therefore ensures equal delays of the working traffic in the two directions. Besides, this invention introduces an Automatic Protect Switch (APS) protocol including the unidirectional data channel protection in the MPLS LSP and thus provides an uniform mechanism for both the unidirectional and the bidirectional protection. Moreover, in the implementation of this invention, after the bidirectional protection switching, the LSP having defects is idle and can be repaired separately without affecting normal working traffic.
The method provided for implementing the bidirectional protection switching in a MPLS network according to an embodiment of the present invention includes:
Firstly, in the MPLS network, configuring a bidirectional protection switching strategy for a bidirectional LSP based on an Automatic Protection Switching (APS) protocol. The detailed configuring process includes: in the MPLS network determining a protection domain according to the demands; in the protection domain determining two or more bidirectional LSPs, each of which includes two LSPs in opposite directions; defining one of the bidirectional LSPs as the working LSP and the rest as the protection LSP(s); configuring the corresponding protection switching strategy at the source ends or destination ends corresponding to the LSPs with the same direction in the bidirectional LSPs, respectively. The protection switching strategy includes: information of the protection LSP(s) corresponding to the working LSP and necessary switching conditions for the protection switching, e.g., when a protection switching request is received, protection switching operation should be determined. It should be noted that one working LSP may correspond to one or multiple pieces of protection LSPs.
Secondly, the bidirectional protection switching is implemented according to the pre-configured bidirectional protection switching strategy when the MPLS network node determines that the protection switching is necessary to be implemented on the basis of the information born in the APS protocol field of the OAM message received. The APS protocol field of the OAM message bears the protection switching information defined according to the APS protocol.
A preferred embodiment of this invention is hereinafter described in detail with reference to the accompanying drawings to further clarify the aim, technical act and advantages of this invention.
The embodiment of the present invention is implemented on the basis of the APS protocol; therefore the format of an OAM message with the APS protocol field is described hereinafter to provide a clearer understanding of this invention. The format of an OAM message with the APS protocol field is shown in Table 1:
In Table 1, the Function Type field is used to identify the type of the OAM message. In this embodiment, the value of the Function Type field is 0×9 in hex for indicating that the OAM message is an MPLS APS protocol message. The values of the Function Type field may be any other value, as long as it is agreed beforehand.
The Reserved field is used for 32 bit alignment and extension. The Trial Termination Source Identifier (TTSI) field identifies a source end corresponding to the path. The Padding field is used to meet the minimum length requirement of some media; and the BIP 16 field is used for verification.
The APS protocol field in Table 1 is a new field added according to the embodiment of the present invention, which includes a value in octets used for denoting the protection switching information determined according to the APS protocol. The format of the APS protocol field is shown in Table 2:
As shown in Table 2, the APS protocol field includes a request/state field, a protection type field, a requested signal field and a bridged signal field. Table 3 lists the definitions and values of the fields within the APS protocol field in Table 2 which are configured according to the demands of the protection switching:
The detailed description of this invention is given hereinafter based on the above-described format and contents of the OAM message with the APS protocol field.
This invention includes two application structures for the bidirectional protection switching, that is, 1+1 bidirectional protection switching and 1:1 bidirectional protection switching.
In normal situation, working traffic is transported by the working LSP and the protection LSP bidirectionally at the same time in the 1+1 protection switching pattern. From the LSPs connected with the selectors as shown in
An example is given below to illustrate the detailed operations of the protection switching in the 1+1 bidirectional protection switching mechanism when defect occurs.
MPLS Z informs MPLS A of relative protection switching information through sending an APS protocol message with a protection switching request; MPLS A switches the selector to LSP4 and returns a switching completion message as an APS response to MPLS Z upon determining to implement the protection switching based on the comparison between the protection switching information saved in MPLS A itself and the protection switching information born in the request/state field of the APS protocol field in the protection switching request received from MPLS Z. It should be noted that if the priority level of the protection switching information received is lower than that of the protection switching information saved in MPLS A itself, e.g., when the protection switching information saved in MPLS A includes the lockout of protection value, it shall be determined that no protection switching is needed.
And then MPLS Z switches the selector at the local end to LSP3 based on the switching completion message received from MPLS A. Now the working traffic is switched from LSP1 and LSP2 to LSP3 and LSP4.
MPLS A informs MPLS Z of relative protection switching information through sending an APS protocol message with a protection switching request; MPLS Z switches the selector to LPS3 and returns a switching completion message as an APS response to MPLS A upon determining to implement the protection switching based on the comparison between the protection switching information saved in MPLS Z itself and the protection switching information born in the request/state field of the APS protocol field in the protection switching request received from MPLS A. It should be noted that if the priority level of the protection switching information received is lower than that of the protection switching information saved in MPLS Z itself, e.g., when the protection switching information saved in MPLS Z includes the lockout of protection value, it shall be determined that no protection switching is needed.
And then MPLS A switches the selector at the local end to LSP4 based on the switching completion message received from MPLS Z and completes the whole bidirectional protection switching flow.
In the first possible situation:
MPLS A and MPLS Z detect the defects in LSP1 and LSP2 at the same time, and send an APS protocol message with a protection switching request to their peer ends, respectively;
according to the protection switching request, MPLS A and MPLS Z check whether the protection switching information, e.g., the lockout of protection value, is still valid before deciding whether to implement the protection switching. If the lockout of protection value is invalid, the protection switching shall be implemented at both ends simultaneously through switching the corresponding selectors and an APS response shall be sent to their peer ends at the same time informing the peer end that the switch has already been completed;
the peer ends receives the APS response without any further operation since the local protection switching information is consistent with the protection information born by the APS protocol field in the local end and the switching operation at the selectors has been completed.
In the second possible situation:
MPLS A detects the defects in LSP2 first and initiates an APS protocol message with a protection switching request. The corresponding operations are the same as the implementation example shown in
In the third possible situation:
MPLS Z detects the defects in LSP1 first and initiates an APS protocol message with a protection switching request. The corresponding operations are the same as the implementation example shown in
In the bidirectional 1:1 protection structure as shown in
The operation of the bidirectional 1:1 protection switching mechanism provided in accordance with this embodiment of the present invention in case the defect occurs are described below:
MPLS A informs MPLS Z of relative protection switching information through an APS protocol message with a protection switching request. MPLS Z switches the selector to LPS4 and returns a switching completion message as all APS response to MPLS A upon determining that the protection switching is needed based on the comparison between the protection switching information saved in MPLS Z itself and the protection switching information born in the request/state field of the APS protocol field in the protection switching request received from MPLS A. It should be noted that if the priority level of the protection switching information received is lower than that of the protection switching information saved in MPLS A itself, e.g., when the protection switching information saved in MPLS A includes the lockout of protection value, it shall be determined that no protection switching is needed.
And then MPLS A switches the selector at the local end to LSP3 based on the information received from MPLS Z and completes the whole bidirectional switching flow.
The unidirectional protection switching can also be achieved with the method provided in accordance with an embodiment of this invention.
In the unidirectional 1:1 protection switching, defects are detected at the Path Merge LSR and a message shall be sent to the Path Switch LSR to implement the protection switching. Interaction of the state information from both ends based on the APS protocol allows the Path Merge LSR and the Path Switch LSR to recognize the defect request priority through the comparison between the priority level of the local switching information and that of the information sent from the peer end. The Path Switch LSR finally decides whether to implement the protection switching. If the priority level of the information from the peer end is lower than that in the local end, the protection switching shall not be implemented.
The foregoing is the only preferred embodiments of this invention and is not used for limiting this invention, any modification, equivalent replacement or improvement made under the spirit and principles of this invention is included in and shall be protected by the protection scope of this invention as set by the appended claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 200510064585.4 | Apr 2005 | CN | national |
This application is a continuation of International Patent Application No. PCT/CN2006/000649, filed Apr. 11, 2006, which claims priority to Chinese Patent. Application No. 200510064585.4, filed Apr. 15, 2005, all of which are hereby incorporated by reference.
| Number | Date | Country | |
|---|---|---|---|
| Parent | PCT/CN06/00649 | Apr 2006 | US |
| Child | 11612342 | Dec 2006 | US |