CN102404199B - Multi-segment pseudo-wire establishing and recovering method and device as well as system - Google Patents

Multi-segment pseudo-wire establishing and recovering method and device as well as system Download PDF

Info

Publication number
CN102404199B
CN102404199B CN201110306702.9A CN201110306702A CN102404199B CN 102404199 B CN102404199 B CN 102404199B CN 201110306702 A CN201110306702 A CN 201110306702A CN 102404199 B CN102404199 B CN 102404199B
Authority
CN
China
Prior art keywords
message
node
lsp
path
fault
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.)
Active
Application number
CN201110306702.9A
Other languages
Chinese (zh)
Other versions
CN102404199A (en
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 CN201110306702.9A priority Critical patent/CN102404199B/en
Publication of CN102404199A publication Critical patent/CN102404199A/en
Priority to PCT/CN2012/074403 priority patent/WO2013053221A1/en
Application granted granted Critical
Publication of CN102404199B publication Critical patent/CN102404199B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/68Pseudowire emulation, e.g. IETF WG PWE3

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 multi-segment pseudo-wire establishing method which comprises the following steps that by calculation, a head end node obtains a path of a MS-PW (Multi-Segment Pseudo-Wire) which reaches a destination end node through a switching node; the head end node establishes a LSP (Layered Service Provider) between the head end node and the switching node of a next hop as a service layer; the head end node issues the Path information of establishing a pseudo-wire segment of the MS-PW to the switching node of the next hop on the established LSP layer till the destination end node receives the Path information of establishing the pseudo-wire segment of the MS-PW; the destination end node obtains the resource Resv (Reserve) information of the MS-PW according to the Path information; and the switching node receiving the Resv information of the MS-PW forwards the Resv information of the MS-PW to nodes of a previous hop, and the nodes establishes the PW as a client layer according to the received Resv information of the MS-PW. The invention also discloses a multi-segment pseudo-wire recovering method and a device as well as a system, thereby realizing the reestablishment of a new MS-PW when faults occur and avoiding the establishment of the standby MS-PW when no faults occur so as to more effectively use the communication resources of the system.

Description

A kind of foundation of multi-segment pseudo-wires and restoration methods, device and system
Technical field
The present invention relates to the pseudo-line management in the communication technology, relate in particular to foundation and recovery (Restoration) methods, devices and systems of a kind of multi-segment pseudo-wires (Multi-Segment Pseudo Wire, MS-PW).
Background technology
In single domain and cross-domain network environment, need to be at headend node (Terminating Provider Edge, T-PE) and between nodes at ends through switching node (Switching Provider Edge, S-PE) set up a MS-PW, described MS-PW at least comprises two pseudo-line segments (Pseudo Wire Segment, PWS).
When certain PWS in MS-PW breaks down, if do not taken appropriate measures, can cause the connection failure of MS-PW, and then cause carrying out the data transmission of pseudo-line (Pseudo Wire, PW) layer.
At present, generally adopt tag distribution protocol (Label Distribution Protocol, LDP) to set up pseudo-line.While adopting LDP agreement to set up MS-PW, can, after establishing primary MS-PW, establish immediately standby MS-PW.Like this, when certain PWS of MS-PW breaks down, just can enable standby MS-PW.But standby MS-PW can take the communication resource of system all the time, the utilance of the communication resource of system is reduced.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of foundation and restoration methods, device and system of multi-segment pseudo-wires, can just set up when needed new MS-PW, avoids when fault-free, setting up standby MS-PW, and then effectively utilizes the communication resource of system.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention discloses a kind of method for building up of multi-segment pseudo-wires, the method comprises: headend node is according to the request of setting up multi-segment pseudo-wires MS-PW being triggered, calculate a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in the path P ath message of label switching path LSP;
Headend node is according to described Path message, and the LSP between foundation and down hop switching node is as service layer, and described service layer is called LSP layer;
Headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW;
Repeat successively LSP between above-mentioned foundation and down hop switching node as service layer, on the LSP layer of setting up, down hop switching node sends the step of the Path message of setting up MS-PW, until destination end node receives the Path message of setting up MS-PW;
Described destination end node obtains the resource reservation Resv message of MS-PW according to described Path message, and the Resv message of described MS-PW is sent to upper hop switching node;
Receive that the switching node upper hop switching node of the Resv message of MS-PW forwards the Resv message of this MS-PW, until headend node;
Each node is set up PW as client layer according to the Resv message of the MS-PW receiving, and described client layer is called PW layer, completes successively the foundation of each pseudo-line segment.
Preferably, described Path message is divided into the Path message of the LSP that carries LSP layer path coherence information and the Path message of carrying the MS-PW of PW layer path coherence information;
Described headend node is according to described Path message, and the LSP between foundation and down hop switching node as service layer is:
Described headend node is sent the Path message of LSP to the switching node of the down hop in path by the RSVP RSVP-TE based on traffic engineering;
Described switching node obtains the Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and the Resv message of described LSP is sent to headend node by RSVP-TE agreement;
Headend node, according to the Resv message of the LSP receiving, is carried out LSP resource reservation, completes the foundation of this section of LSP, and described LSP is as service layer.
Preferably, described headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW and is:
Headend node down hop switching node on the LSP layer of setting up sends the Path message of MS-PW, and described Path message comprises: pseudo-line type PW Type and pseudo-line segment identification number PW Seg id.
The restoration methods that the invention discloses a kind of multi-segment pseudo-wires, the method comprises:
Switching node or destination end node that fault detected generate signalling trouble Notify message, and issue headend node, or the headend node generation fault Notify message of fault detected, and described fault Notify message is for triggering the request of setting up MS-PW;
Described headend node, according to the request of setting up MS-PW being triggered, calculates the path of a new MS-PW, the relevant information in described path is packaged in the Path message of LSP;
Headend node is according to described Path message, and the LSP between foundation and down hop switching node is as service layer;
Headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW;
Repeat successively LSP between above-mentioned foundation and down hop switching node as service layer, on the LSP layer of setting up, down hop switching node sends the step of the Path message of setting up MS-PW, until destination end node is received the Path message of setting up MS-PW;
Described destination end node obtains the Resv message of MS-PW according to described Path message, and the Resv message of described MS-PW is sent to upper hop switching node;
Receive that the switching node upper hop switching node of the Resv message of MS-PW forwards the Resv message of this MS-PW, until headend node;
Each node is set up PW as client layer according to the Resv message of the MS-PW receiving, completes successively the foundation of each pseudo-line segment.
Preferably, described in the switching node of fault detected or destination end node generates signalling trouble Notify message, and issue headend node and be:
The switching node of fault or the delivery unit of destination end node detected and send fault warning message to the control unit of this node;
Described control unit is given the PW through this node by the fault warning message informing receiving;
Described PW sends the delivery unit of the node of fault warning message by detection, judge when fault warning still exists, and to described control unit, sends the notice that fault exists;
Described control unit, according to the notice receiving, generates signalling trouble Notify message, and issues headend node.
Preferably, described fault Notify message comprises: error code Error Code field and improper value Error Value field; Wherein, described Error Code field comprises a value that is used for representing pseudo-line mistake PW layer error, and described Error Value field comprises a value that is used for representing pseudo-wired link failure PW link failure.
The invention discloses a kind of headend node, described headend node comprises: path-calculating element, service layer set up unit, Path message sending unit and client layer and set up unit, wherein,
Described path-calculating element, for according to the request of setting up MS-PW being triggered, calculates a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in the Path message of LSP;
Described service layer sets up unit, for according to described Path message, set up and down hop switching node between LSP as service layer;
Described Path message sending unit, sends for down hop switching node on the LSP layer setting up the Path message of setting up MS-PW;
Described client layer is set up unit, for setting up PW as client layer according to the Resv message of the MS-PW receiving.
Preferably, this headend node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, described fault Notify message is for triggering the request of setting up MS-PW.
The invention discloses a kind of switching node, described switching node comprises: service layer sets up unit, Path message sending unit, Resv Dispatch Unit and client layer and sets up unit, wherein,
Described service layer sets up unit, the described Path message of receiving for basis, and the LSP between foundation and down hop switching node is as service layer;
Described Path message sending unit, sends for down hop switching node on the LSP layer setting up the Path message of setting up MS-PW;
Described Resv Dispatch Unit, for forwarding the Resv message upper hop of receiving MS-PW;
Described client layer is set up unit, for setting up PW as client layer according to the Resv message of the MS-PW receiving.
Preferably, this switching node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, and issue headend node, described fault Notify message is for triggering the request of setting up MS-PW.
Preferably, described control unit, specifically for giving the PW through this node by the fault warning message informing of receiving; The notice that the fault of sending according to PW exists, generates fault Notify message, and issues headend node.
The invention discloses a kind of destination end node, described destination end node comprises: Resv message generation unit and Resv message sending unit, wherein,
Resv message generation unit, the Resv message of the Path message generation MS-PW receiving for basis;
Resv message sending unit, for sending to upper hop switching node by the Resv message of described MS-PW.
Preferably, this destination end node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, and issue headend node, described fault Notify message is for triggering the request of setting up MS-PW.
The foundation and the recovery system that the invention discloses a kind of multi-segment pseudo-wires, this system comprises: headend node, destination end node and at least one switching node; Wherein,
Described headend node, for according to the request of setting up MS-PW being triggered, calculates a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in the Path message of LSP; According to described Path message, the LSP between foundation and down hop switching node is as service layer; On the LSP layer of setting up, down hop switching node sends the Path message of setting up MS-PW; According to the Resv message of the MS-PW receiving, set up PW as client layer; Detection failure generates fault Notify message when fault being detected, and described fault Notify message is for triggering the request of setting up MS-PW;
Described switching node, the described Path message of receiving for basis, the LSP between foundation and down hop switching node is as service layer; On the LSP layer of setting up, down hop switching node sends the Path message of setting up MS-PW; The Resv message upper hop of receiving MS-PW is forwarded; According to the Resv message of the MS-PW receiving, set up PW as client layer; Detection failure generates fault Notify message, and issues headend node when fault being detected;
Described destination end node, the Resv message of the Path message generation MS-PW receiving for basis, and the Resv message of described MS-PW is sent to upper hop switching node; Detection failure generates fault Notify message, and issues headend node when fault being detected.
Preferably, described Path message is divided into the Path message of the LSP that carries LSP layer path coherence information and the Path message of carrying the MS-PW of PW layer path coherence information;
Described headend node, sends the Path message of LSP to the down hop switching node in path specifically for RSVP-TE agreement; According to the Resv message of the LSP receiving, carry out LSP resource reservation, complete the foundation of this section of LSP, described LSP is as service layer;
Described switching node, specifically for obtaining the Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and sends to headend node by the Resv message of described LSP by RSVP-TE agreement.
In sum, the foundation of multi-segment pseudo-wires provided by the present invention and restoration methods, device and system, when certain PWS of MS-PW breaks down, the mode that just adopts once triggering to set up service layer and client layer re-establishes a new MS-PW, so, can avoid when fault-free, setting up standby MS-PW, thereby more effectively utilize the communication resource of system.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of method for building up first embodiment of multi-segment pseudo-wires of the present invention;
Fig. 2 is the schematic flow sheet of method for building up second embodiment of multi-segment pseudo-wires of the present invention;
Fig. 3 is the structural representation of PW_INFO object of the present invention;
Fig. 4 is the schematic flow sheet of restoration methods first embodiment of multi-segment pseudo-wires of the present invention;
Fig. 5 is the schematic flow sheet of restoration methods second embodiment of multi-segment pseudo-wires of the present invention;
Fig. 6 is the structural representation of ERROR_SPEC object of the present invention.
Embodiment
The invention discloses a kind of method for building up of multi-segment pseudo-wires, as shown in Figure 1, the method comprises:
Step 101, headend node are according to the request of setting up MS-PW being triggered, calculate a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in path (Path) message of label switched path (Label Switched Path, LSP);
Here, described Path message is divided into the Path message of the LSP that carries LSP layer path coherence information and the Path message of carrying the MS-PW of PW layer path coherence information.
Step 102, headend node are according to described Path message, and the LSP between foundation and down hop switching node is as service layer;
Concrete, described headend node is sent the Path message of LSP to the down hop switching node in path by the RSVP based on traffic engineering (RSVP-TE);
Described switching node obtains the resource reservation Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and the Resv message of described LSP is sent to headend node by RSVP-TE agreement;
Headend node, according to the Resv message of the LSP receiving, is carried out LSP resource reservation, complete the foundation of this section of LSP, and using described LSP as service layer, described service layer is called LSP layer.
Step 103, headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW;
Concrete, headend node down hop switching node on the LSP layer of setting up sends the Path message of MS-PW, and described Path message comprises: pseudo-line type (PW Type) and pseudo-line segment identification number (PW Seg id).
Step 104, repeated execution of steps 102 and 103, until destination end node is received the Path message of setting up MS-PW.
Step 105, described destination end node obtain the Resv message of MS-PW according to described Path message, and the Resv message of described MS-PW is sent to upper hop switching node.
Step 106, receive that the switching node upper hop switching node of the Resv message of MS-PW forwards the Resv message of this MS-PW, until headend node.
Step 107, each node are set up PW as client layer according to the Resv message of the MS-PW receiving, and described client layer is called PW layer, completes successively the foundation of each pseudo-line segment.
Take that to apply the present invention in single domain network be example below, the method for building up of multi-segment pseudo-wires of the present invention is described in detail.As shown in Figure 2, in the present embodiment, this network comprises headend node T-PE1, destination end node T-PE2, the first switching node S-PE1 and the second switching node S-PE2.In the present embodiment, the method for building up of multi-segment pseudo-wires comprises the following steps:
Step 201, T-PE1, according to the request of setting up MS-PW being triggered, calculate the path of a MS-PW, and described path are divided into service layer and client layer;
Here, while initially setting up MS-PW, the instruction triggers of setting up MS-PW that the request of the described MS-PW of foundation can be sent by webmaster; When certain pseudo-line segment of MS-PW breaks down, in the time of need to setting up new MS-PW, described request of setting up MS-PW can be by signalling trouble (Notify) message trigger.
Concrete, the Routing Protocol in T-PE1 calling communication agreement calculates the path of a MS-PW, and the relevant information in described path is encapsulated in the Path message of LSP; Path message is divided into the Path message of the LSP that carries LSP layer path coherence information and the Path message of carrying the MS-PW of PW layer path coherence information.In the present embodiment, the path of described MS-PW is the path through headend node T-PE1, the first switching node S-PE1 and destination end node T-PE2, and this MS-PW comprises two sections of pseudo-line segments.
Step 202, T-PE1 send a Path message of the LSP that carries LSP layer path coherence information to the S-PE1 in path by RSVP-TE agreement.
Step 203, S-PE1 obtain a Resv message of LSP according to the LSP layer path coherence information in a Path message of the described LSP receiving, and a Resv message of LSP are sent to T-PE1 by RSVP-TE agreement.
Step 204, T-PE1, according to a Resv message of the LSP receiving, carry out LSP resource reservation, complete the foundation of this section of LSP, and described LSP is as service layer;
Wherein, described LSP layer has independently session (Session).
Step 205, set up after LSP layer, T-PE1 sends a Path message of the MS-PW that carries PW layer path coherence information to S-PE1.
Described Path message comprises: pseudo-line information (PW_INFO) object and transmission template (SENDER_TEMPLATE) object, described PW_INFO object is used to refer to the relevant information of MS-PW.As shown in Figure 3, described PW_INFO object comprises: three fields of PW Type, PW Seg id and connecting link identification number (Attachment Circuit Identity, AC ID), and wherein, PW Type is used for representing the type of service of MS-PW encapsulation; PW Seg id is used for representing the identification number (id) of a pseudo-line segment in MS-PW; AC ID is used for the ID of the AC link that expression is connected with headend node, destination end node.Described SENDER_TEMPLATE object comprises label switched path identification number (LSP id) field, and this field is used for representing No. id of current MS-PW.
Receive after the Resv message of described LSP, T-PE1 will be made as 1 corresponding to the value of S-PE1 that sends the Resv message of described LSP in PW Seg id, the id that represents the current pseudo-line segment between T-PE1 and described S-PE1 that will set up is 1, that is: this section of pseudo-line segment is the first pseudo-line segment.
Step 206, receive after a Path message of the MS-PW that carries PW layer path coherence information, described S-PE1 sends the 2nd Path message of the LSP that carries LSP layer path coherence information to T-PE2.
Here, the 2nd Path message of described LSP and a Path message of the LSP described in step 203 belong to different Session.
Step 207, T-PE2 obtain the 2nd Resv message of LSP according to the LSP layer path coherence information in the 2nd Path message of the described LSP receiving, and the 2nd Resv message of described LSP2 are sent to S-PE1 by RSVP-TE agreement;
Wherein, the 2nd Resv message of described LSP and a Resv message of step 204 belong to different Session.
Step 208, described S-PE1, according to the 2nd Resv message of the LSP receiving, carry out LSP resource reservation, complete the foundation of this section of LSP, and described LSP is as service layer;
Wherein, described LSP layer has independently Session.
Step 209, set up after LSP layer, described S-PE1 sends the 2nd Path message of the MS-PW that carries PW layer path coherence information to T-PE2;
Wherein, a Path message of the MS-PW described in step 205 and the 2nd Path message of the MS-PW described in step 209 belong to same Session, and difference is that they are for difference, to jump respectively.
Receive after the 2nd Resv message of described LSP, described S-PE1 will be made as 2 corresponding to the value of T-PE2 that sends the Resv message of described LSP in PW Seg id, the id that represents the current PW section between S-PE1 and T-PE2 that will set up is 2, that is: this section of pseudo-line segment is the second pseudo-line segment.
Step 210, T-PE2 obtain the Resv message of MS-PW according to the PW layer path coherence information in the Path message of the MS-PW receiving, and the Resv message of described MS-PW are sent to S-PE1.
Concrete, T-PE2 sends the Resv message of MS-PW to S-PE1 by RSVP-TE agreement.
Step 211, S-PE1, according to the Resv message of the MS-PW receiving, carry out pseudo-line segment resource reservation and set up PW as client layer, complete the foundation of this section of pseudo-line segment.
Step 212, set up after pseudo-line segment, S-PE1 sends to T-PE1 by the Resv message of described MS-PW.
Step 213, T-PE1, according to the Resv message of the MS-PW receiving, carry out pseudo-line segment resource reservation and set up PW as client layer, complete the foundation of this section of pseudo-line segment, thereby complete the foundation of MS-PW.
The invention also discloses the restoration methods of multi-segment pseudo-wires, as shown in Figure 4, the method comprises:
The delivery unit of step 401, the switching node that fault detected or destination end node sends fault warning message to the control unit of this node.
Step 402, receive that the described control unit of fault warning message generates fault Notify message, and issue headend node, described fault Notify message is for triggering the request of setting up MS-PW;
Concrete, described control unit is given the PW through this node by the fault warning message informing of receiving;
Described PW sends the delivery unit of the node of fault warning message by detection, judge when fault warning still exists, and to described control unit, sends the notice that fault exists;
Described control unit generates signalling trouble Notify message according to the notice of receiving, and issues headend node.
Described fault Notify message comprises: error code Error Code field and improper value Error Value field, wherein, described Error Code field comprises a value that is used for representing pseudo-line mistake (PW layer error), and described Error Value field comprises a value that is used for representing pseudo-wired link failure (PW link failure).
Certainly, the headend node that fault detected also can directly generate fault Notify message.
The request of setting up MS-PW of step 403, described fault Notify message trigger headend node, described headend node is according to the information in the fault Notify message of receiving, calculate the path of a new MS-PW, the relevant information in described path is encapsulated in the path P ath message of LSP.
Step 404, headend node are according to described Path message, and the LSP between foundation and down hop switching node is as service layer.
Step 405, headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW.
Step 406, repeated execution of steps 404 and 405, until destination end node is received the Path message of setting up MS-PW.
Step 407, described destination end node obtain the Resv message of MS-PW according to described Path message, and the Resv message of described MS-PW is sent to upper hop switching node.
Step 408, receive that the switching node upper hop switching node of the Resv message of MS-PW forwards the Resv message of this MS-PW, until headend node.
Step 409, each node are set up PW as client layer according to the Resv message of the MS-PW receiving, complete successively the foundation of each pseudo-line segment.
Take that to apply the present invention in single domain network be example below, the restoration methods of multi-segment pseudo-wires of the present invention is described in detail.As shown in Figure 5, in the present embodiment, this network comprises T-PE1, T-PE2, S-PE1 and S-PE2; The MS-PW breaking down comprises two sections of pseudo-line segments, is respectively the first pseudo-line segment between T-PE1 and S-PE1, the second pseudo-line segment between S-PE1 and T-PE2; The first pseudo-line segment of MS-PW breaks down because of the fault of S-PE1.The restoration methods of the present embodiment multi-segment pseudo-wires comprises the following steps:
Step 501, the delivery unit that the node of fault detected send fault warning message to the control unit of this node.
Here, described fault warning message can be alarm indication signal (Alarm Indication Signal, AIS); Described delivery unit can be hardware device, and described control unit can be communication protocol.
Step 502, described communication protocol are given LSP and the PW through this node by the fault warning message informing of receiving.
Step 503, described LSP carry out recovery operation in setting-up time, if be successfully recovered, the PW to the upper carrying of described LSP sends the message that fault warning disappears; If unsuccessful, to PW, do not send any message;
Described PW judges in setting-up time whether receive from the message of the fault warning disappearance of the LSP of service layer, if do not receive the message that fault warning disappears, enter step 504; If receive the message that fault warning disappears, enter step 520;
Here, described setting-up time can carry out timing by timer.
Step 504, described PW send the hardware device of the node of fault warning message by detection, whether failure judgement alarm still exists, if described fault warning still exists, enters step 505; If described fault warning message does not exist, enter step 520.
Step 505, described PW send to described communication protocol the notice that fault exists.
Step 506, described communication protocol, according to the notice receiving, send Notify message to T-PE1;
Here, described Notify message comprises: PW_INFO object and explanation of error (ERROR_SPEC) object, as shown in Figure 6, described ERROR_SPEC object comprises: error code (Error Code) field and improper value (Error Value) field.
In advance the Error Code field in the ERROR_SPEC object of RSVP-TE agreement is increased to a value, this value is used for representing pseudo-line mistake (PW layer error), and for example, this value can be set to 24; Meanwhile, the Error Value field in the ERROR_SPEC object of RSVP-TE agreement is increased to a value, this value is used for representing pseudo-wired link failure (PW link failure), and for example this value can be set to 1.
The request of setting up MS-PW of step 507, described Notify message trigger T-PE1, described T-PE1, according to the information in the Notify message of receiving, calculates the path of a new MS-PW.
In the present embodiment, the path of new MS-PW is the path through headend node T-PE1, the second switching node S-PE2 and destination end node T-PE2, and this MS-PW comprises two sections of pseudo-line segments.
Step 508, T-PE1 send the Path message of the LSP that carries LSP layer path coherence information to the S-PE2 in path.
Step 509, S-PE2 obtain the Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and the Resv message of LSP are sent to T-PE1 by RSVP-TE agreement.
Step 51O, T-PE1, according to the Resv message of the LSP receiving, carry out LSP resource reservation, complete the foundation of LSP, and described LSP is as service layer.
Step 511, set up after LSP layer, T-PE1 sends the Path message of the MS-PW that carries PW layer path coherence information to S-PE2;
Receive after the Resv message of described LSP, T-PE1 will be made as 1 corresponding to the value of S-PE2 that sends the Resv message of described LSP in PW Seg id, the id that represents the current pseudo-line segment between T-PE1 and described S-PE2 that will set up is 1, and this section of pseudo-line segment is the first pseudo-line segment.
Step 512, receive after the Path message of the MS-PW that carries PW layer path coherence information, described S-PE2 sends the Path message of the LSP that carries LSP layer path coherence information to T-PE2.
Step 513, T-PE2 obtain the Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and the Resv message of described LSP are sent to S-PE1 by RSVP-TE agreement.
Step 514, described S-PE2, according to the Resv message of the LSP receiving, carry out LSP resource reservation, complete the foundation of LSP, and described LSP is as service layer.
Step 515, set up after LSP layer, described S-PE2 sends the Path message of the MS-PW that carries PW layer path coherence information to T-PE2.
Receive after the Resv message of described LSP, described S-PE2 will be made as 2 corresponding to the value of T-PE2 that sends the Resv message of described LSP in PW Seg id, the id that represents the current PW section between S-PE2 and T-PE2 that will set up is 2, that is: this section of pseudo-line segment is the second pseudo-line segment.
Step 516, T-PE2 obtain the Resv message of MS-PW according to the PW layer path coherence information in the Path message of the MS-PW receiving, and the Resv message of described MS-PW are sent to S-PE1.
Step 517, S-PE1, according to the Resv message of the MS-PW receiving, carry out pseudo-line segment resource reservation and set up PW as client layer, complete the foundation of this section of pseudo-line segment,
Step 518, set up after pseudo-line segment, S-PE1 sends to T-PE1 by the Resv message of described MS-PW.
Step 519, T-PE1, according to the Resv message of the MS-PW receiving, carry out pseudo-line segment resource reservation and set up PW as client layer, complete the foundation of this section of pseudo-line segment, thereby complete the foundation of MS-PW.
Step 520, this handling process that finishes.
The method for building up of multi-segment pseudo-wires of the present invention and the restoration methods of multi-segment pseudo-wires also can be applied in cross-domain network, be applied to the method for building up of the multi-segment pseudo-wires in cross-domain network and the restoration methods of multi-segment pseudo-wires and above-described method approximate, difference is only that the quantity of switching node is different, does not repeat them here.
For realizing said method, the invention also discloses a kind of headend node, described headend node comprises: path-calculating element, service layer set up unit, Path message sending unit and client layer and set up unit,
Wherein,
Described path-calculating element, for according to the request of setting up MS-PW being triggered, calculates a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in the Path message of LSP;
Described service layer sets up unit, for according to described Path message, set up and down hop switching node between LSP as service layer;
Described Path message sending unit, sends for down hop switching node on the LSP layer setting up the Path message of setting up MS-PW;
Described client layer is set up unit, for setting up PW as client layer according to the Resv message of the MS-PW receiving.
This headend node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, described fault Notify message is for triggering the request of setting up MS-PW.
The invention also discloses a kind of switching node, described switching node comprises: service layer sets up unit, Path message sending unit, Resv Dispatch Unit and client layer and sets up unit, wherein,
Described service layer sets up unit, the described Path message of receiving for basis, and the LSP between foundation and down hop switching node is as service layer;
Described Path message sending unit, sends for down hop switching node on the LSP layer setting up the Path message of setting up MS-PW;
Described Resv Dispatch Unit, for forwarding the Resv message upper hop of receiving MS-PW;
Described client layer is set up unit, for setting up PW as client layer according to the Resv message of the MS-PW receiving.
This switching node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, and issue headend node, described fault Notify message is for triggering the request of setting up MS-PW.
Described control unit, specifically for giving the PW through this node by the fault warning message informing of receiving; The notice that the fault of sending according to PW exists, generates fault Notify message, and issues headend node.
The invention also discloses a kind of destination end node, described destination end node comprises: Resv message generation unit and Resv message sending unit, wherein
Resv message generation unit, the Resv message of the Path message generation MS-PW receiving for basis;
Resv message sending unit, for sending to upper hop switching node by the Resv message of described MS-PW.
This destination end node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, and issue headend node, described fault Notify message is for triggering the request of setting up MS-PW.
The foundation and the recovery system that the invention also discloses a kind of multi-segment pseudo-wires, this system comprises: headend node, destination end node and at least one switching node; Wherein,
Described headend node, for according to the request of setting up multi-segment pseudo-wires MS-PW being triggered, calculates a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is encapsulated in the Path message of LSP; According to described Path message, the LSP between foundation and down hop switching node is as service layer; On the LSP layer of setting up, down hop switching node sends the Path message of setting up MS-PW; According to the Resv message of the MS-PW receiving, set up PW as client layer; Detection failure generates fault Notify message when fault being detected, and described fault Notify message is for triggering the request of setting up MS-PW;
Described switching node, the described Path message of receiving for basis, the LSP between foundation and down hop switching node is as service layer; On the LSP layer of setting up, down hop switching node sends the Path message of setting up MS-PW; The Resv message upper hop of receiving MS-PW is forwarded; According to the Resv message of the MS-PW receiving, set up PW as client layer; Detection failure generates fault Notify message, and issues headend node when fault being detected;
Described destination end node, for obtain the Resv message of MS-PW according to described Path message, and sends to upper hop switching node by the Resv message of described MS-PW; Detection failure generates fault Notify message, and issues headend node when fault being detected.
Optionally, described Path message is divided into the Path message of the LSP that carries LSP layer path coherence information and the Path message of carrying the MS-PW of PW layer path coherence information;
Described headend node, sends the Path message of LSP to the down hop switching node in path specifically for RSVP-TE agreement; According to the Resv message of the LSP receiving, carry out LSP resource reservation, complete the foundation of this section of LSP, described LSP is as service layer;
Described switching node, specifically for obtaining the Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and sends to headend node by the Resv message of described LSP by RSVP-TE agreement.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.

Claims (14)

1. a method for building up for multi-segment pseudo-wires, is characterized in that, the method comprises:
Headend node, according to the request of setting up multi-segment pseudo-wires MS-PW being triggered, calculates a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in the path P ath message of label switching path LSP;
Headend node is according to described Path message, and the LSP between foundation and down hop switching node is as service layer, and described service layer is called LSP layer;
Headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW;
Repeat successively LSP between above-mentioned foundation and down hop switching node as service layer, on the LSP layer of setting up, down hop switching node sends the step of the Path message of setting up MS-PW, until destination end node receives the Path message of setting up MS-PW;
Described destination end node obtains the resource reservation Resv message of MS-PW according to described Path message, and the Resv message of described MS-PW is sent to upper hop switching node;
Receive that the switching node upper hop switching node of the Resv message of MS-PW forwards the Resv message of this MS-PW, until headend node;
Each node is set up PW as client layer according to the Resv message of the MS-PW receiving, and described client layer is called PW layer, completes successively the foundation of each pseudo-line segment.
2. method according to claim 1, is characterized in that, described Path message is divided into the Path message of the LSP that carries LSP layer path coherence information and the Path message of carrying the MS-PW of PW layer path coherence information;
Described headend node is according to described Path message, and the LSP between foundation and down hop switching node as service layer is:
Described headend node is sent the Path message of LSP to the switching node of the down hop in path by the RSVP RSVP-TE based on traffic engineering;
Described switching node obtains the Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and the Resv message of described LSP is sent to headend node by RSVP-TE agreement;
Headend node, according to the Resv message of the LSP receiving, is carried out LSP resource reservation, completes the foundation of this section of LSP, and described LSP is as service layer.
3. method according to claim 2, is characterized in that, described headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW and is:
Headend node down hop switching node on the LSP layer of setting up sends the Path message of MS-PW, and described Path message comprises: pseudo-line type PW Type and pseudo-line segment identification number PW Seg id.
4. a restoration methods for multi-segment pseudo-wires, is characterized in that, the method comprises:
Switching node or destination end node that fault detected generate signalling trouble Notify message, and issue headend node, or the headend node generation fault Notify message of fault detected, and described fault Notify message is for triggering the request of setting up MS-PW;
Described headend node, according to the request of setting up MS-PW being triggered, calculates the path of a new MS-PW, the relevant information in described path is packaged in the Path message of LSP;
Headend node is according to described Path message, and the LSP between foundation and down hop switching node is as service layer;
Headend node down hop switching node on the LSP layer of setting up sends the Path message of setting up MS-PW;
Repeat successively LSP between above-mentioned foundation and down hop switching node as service layer, on the LSP layer of setting up, down hop switching node sends the step of the Path message of setting up MS-PW, until destination end node is received the Path message of setting up MS-PW;
Described destination end node obtains the Resv message of MS-PW according to described Path message, and the Resv message of described MS-PW is sent to upper hop switching node;
Receive that the switching node upper hop switching node of the Resv message of MS-PW forwards the Resv message of this MS-PW, until headend node;
Each node is set up PW as client layer according to the Resv message of the MS-PW receiving, completes successively the foundation of each pseudo-line segment.
5. method according to claim 4, is characterized in that, described in the switching node of fault detected or destination end node generates signalling trouble Notify message, and issue headend node and be:
The switching node of fault or the delivery unit of destination end node detected and send fault warning message to the control unit of this node;
Described control unit is given the PW through this node by the fault warning message informing receiving;
Described PW sends the delivery unit of the node of fault warning message by detection, judge when fault warning still exists, and to described control unit, sends the notice that fault exists;
Described control unit, according to the notice receiving, generates signalling trouble Notify message, and issues headend node.
6. method according to claim 4, is characterized in that,
Described fault Notify message comprises: error code Error Code field and improper value Error Value field; Wherein, described Error Code field comprises a value that is used for representing pseudo-line mistake PW layer error, and described Error Value field comprises a value that is used for representing pseudo-wired link failure PW link failure.
7. a headend node for multi-segment pseudo-wires, is characterized in that, described headend node comprises: path-calculating element, service layer set up unit, Path message sending unit and client layer and set up unit, wherein,
Described path-calculating element, for according to the request of setting up MS-PW being triggered, calculates a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in the Path message of LSP;
Described service layer sets up unit, for according to described Path message, set up and down hop switching node between LSP as service layer;
Described Path message sending unit, sends for down hop switching node on the LSP layer setting up the Path message of setting up MS-PW;
Described client layer is set up unit, for setting up PW as client layer according to the Resv message of the MS-PW receiving.
8. headend node according to claim 7, is characterized in that, this headend node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, described fault Notify message is for triggering the request of setting up MS-PW.
9. a switching node for multi-segment pseudo-wires, is characterized in that, described switching node comprises: service layer sets up unit, Path message sending unit, Resv Dispatch Unit and client layer and sets up unit, wherein,
Described service layer sets up unit, the described Path message of receiving for basis, and the LSP between foundation and down hop switching node is as service layer;
Described Path message sending unit, sends for down hop switching node on the LSP layer setting up the Path message of setting up MS-PW;
Described Resv Dispatch Unit, for forwarding the Resv message upper hop of receiving MS-PW;
Described client layer is set up unit, for setting up PW as client layer according to the Resv message of the MS-PW receiving.
10. switching node according to claim 9, is characterized in that, this switching node also comprises: delivery unit and control unit, wherein,
Described delivery unit for detection of fault, sends fault warning message to control unit when fault being detected;
Described control unit, the fault warning message generation fault Notify message of receiving for basis, and issue headend node, described fault Notify message is for triggering the request of setting up MS-PW.
11. switching nodes according to claim 10, is characterized in that,
Described control unit, specifically for giving the PW through this node by the fault warning message informing of receiving; The notice that the fault of sending according to PW exists, generates fault Notify message, and issues headend node.
The destination end node of 12. 1 kinds of multi-segment pseudo-wires, is characterized in that, described destination end node comprises: Resv message generation unit, Resv message sending unit, delivery unit and control unit, wherein,
Resv message generation unit, the Resv message of the Path message generation MS-PW receiving for basis;
Resv message sending unit, for sending to upper hop switching node by the Resv message of described MS-PW;
Delivery unit for test failure, sends fault warning message to control unit when fault being detected;
Control unit, the fault warning message generation fault Notify message of receiving for basis, and issue headend node, described fault Notify message is for triggering the request of setting up MS-PW.
The foundation of 13. 1 kinds of multi-segment pseudo-wires and recovery system, is characterized in that, this system comprises: headend node, destination end node and at least one switching node; Wherein,
Described headend node, for according to the request of setting up MS-PW being triggered, calculates a path that arrives the MS-PW of destination end node through switching node, the relevant information in described path is packaged in the Path message of LSP; According to described Path message, the LSP between foundation and down hop switching node is as service layer; On the LSP layer of setting up, down hop switching node sends the Path message of setting up MS-PW; According to the Resv message of the MS-PW receiving, set up PW as client layer; Detection failure generates fault Notify message when fault being detected, and described fault Notify message is for triggering the request of setting up MS-PW;
Described switching node, the described Path message of receiving for basis, the LSP between foundation and down hop switching node is as service layer; On the LSP layer of setting up, down hop switching node sends the Path message of setting up MS-PW; The Resv message upper hop of receiving MS-PW is forwarded; According to the Resv message of the MS-PW receiving, set up PW as client layer; Detection failure generates fault Notify message, and issues headend node when fault being detected;
Described destination end node, the Resv message of the Path message generation MS-PW receiving for basis, and the Resv message of described MS-PW is sent to upper hop switching node; Detection failure generates fault Notify message, and issues headend node when fault being detected.
14. systems according to claim 13, is characterized in that, described Path message is divided into the Path message of the LSP that carries LSP layer path coherence information and the Path message of carrying the MS-PW of PW layer path coherence information;
Described headend node, sends the Path message of LSP to the down hop switching node in path specifically for RSVP-TE agreement; According to the Resv message of the LSP receiving, carry out LSP resource reservation, complete the foundation of this section of LSP, described LSP is as service layer;
Described switching node, specifically for obtaining the Resv message of LSP according to the LSP layer path coherence information in the Path message of the described LSP receiving, and sends to headend node by the Resv message of described LSP by RSVP-TE agreement.
CN201110306702.9A 2011-10-11 2011-10-11 Multi-segment pseudo-wire establishing and recovering method and device as well as system Active CN102404199B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110306702.9A CN102404199B (en) 2011-10-11 2011-10-11 Multi-segment pseudo-wire establishing and recovering method and device as well as system
PCT/CN2012/074403 WO2013053221A1 (en) 2011-10-11 2012-04-19 Method, device and system for establishing and restoring multi-segment pseudo wire

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110306702.9A CN102404199B (en) 2011-10-11 2011-10-11 Multi-segment pseudo-wire establishing and recovering method and device as well as system

Publications (2)

Publication Number Publication Date
CN102404199A CN102404199A (en) 2012-04-04
CN102404199B true CN102404199B (en) 2014-04-30

Family

ID=45886002

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110306702.9A Active CN102404199B (en) 2011-10-11 2011-10-11 Multi-segment pseudo-wire establishing and recovering method and device as well as system

Country Status (2)

Country Link
CN (1) CN102404199B (en)
WO (1) WO2013053221A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404199B (en) * 2011-10-11 2014-04-30 中兴通讯股份有限公司 Multi-segment pseudo-wire establishing and recovering method and device as well as system
CN103368842A (en) * 2012-04-10 2013-10-23 中兴通讯股份有限公司 Method and system for establishing MS-PW
CN105379197B (en) * 2013-07-05 2019-01-11 华为技术有限公司 It establishes the method in tunnel, distribute method, equipment and the network system of label

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1983071A1 (en) * 2007-04-12 2008-10-22 Shinetsu Chemical Co., Ltd. Method for manufacturing pyrolytic boron nitride composite substrate
WO2011000140A1 (en) * 2009-06-29 2011-01-06 华为技术有限公司 Method, apparatus and system for establishing pseudo wire
US20110176411A1 (en) * 2008-06-27 2011-07-21 France Telecom Method for protecting a pseudo-wire

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1983701B1 (en) * 2007-04-17 2010-08-25 Alcatel Lucent Method and apparatus for reserving network resources for pseudo point-to-point connection
CN105704029B (en) * 2010-01-15 2020-06-26 华为技术有限公司 Pseudo wire establishing method, system and equipment
CN102404199B (en) * 2011-10-11 2014-04-30 中兴通讯股份有限公司 Multi-segment pseudo-wire establishing and recovering method and device as well as system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1983071A1 (en) * 2007-04-12 2008-10-22 Shinetsu Chemical Co., Ltd. Method for manufacturing pyrolytic boron nitride composite substrate
US20110176411A1 (en) * 2008-06-27 2011-07-21 France Telecom Method for protecting a pseudo-wire
WO2011000140A1 (en) * 2009-06-29 2011-01-06 华为技术有限公司 Method, apparatus and system for establishing pseudo wire

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《多段伪线技术》;曹玉群;《通信技术》;20101010;第43卷(第10期);全文 *
曹玉群.《多段伪线技术》.《通信技术》.2010,第43卷(第10期),全文.

Also Published As

Publication number Publication date
CN102404199A (en) 2012-04-04
WO2013053221A1 (en) 2013-04-18

Similar Documents

Publication Publication Date Title
CN100396023C (en) Multi-jumping pseudo-line fault detecting reporting and maintenance protocol controlling method
CN101316225B (en) Fault detection method, communication system and label exchange router
EP2068506B1 (en) Method, system and provider edge router for detecting pseudo wire fault
CN100359860C (en) Multiprotocol label switching network protection switching method
CN101945049A (en) Multi-protocol label switching system, node equipment and establishing method of bidirectional tunnel
JP4647704B2 (en) Communication system and equipment
CN104170328A (en) Protection in ring network of label switching routers
CN102769543B (en) BFD (Bidirectional Forwarding Detection) method and equipment based on LSP (Label Switching Path)
CN102868569B (en) The method for testing performance of Layer3 Virtual Private Network, node and system
WO2015192518A1 (en) Error detection method, apparatus and system for potn
CN102055619A (en) Method and system for realize fault detection in bidirectional path segment
Hariyawan Comparison analysis of recovery mechanism at MPLS network
WO2015120720A1 (en) Signal degradation failure processing method and system
CN102404199B (en) Multi-segment pseudo-wire establishing and recovering method and device as well as system
CN102013990B (en) End to end notification method and system for multi-segment pseudowire fault
CN101997747B (en) Method and device for announcing fault LSP information
CN101964743A (en) Multiprotocol label-switched path APS (Active Protection System) protection and management method, equipment and system
CN102918807B (en) Method and routing equipment for BFD session establishment
CN109787797A (en) Fault detection method, device and the system of link
CN104219068B (en) The method and the network equipment of tunnel failure notice
CN105703967A (en) Method and apparatus for detecting label switching path connectivity
CN102104534B (en) Method and system for protecting multicast service
CN102571500B (en) A kind of method and apparatus that MPLS TP detections are carried out on dynamic route
CN113489626B (en) Method and device for detecting and notifying path fault
CN103442386A (en) Fault detecting method and node equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant