CN106161235A - A kind of method and device obtaining multi-segment pseudo-wires routing information - Google Patents

A kind of method and device obtaining multi-segment pseudo-wires routing information Download PDF

Info

Publication number
CN106161235A
CN106161235A CN201510170242.XA CN201510170242A CN106161235A CN 106161235 A CN106161235 A CN 106161235A CN 201510170242 A CN201510170242 A CN 201510170242A CN 106161235 A CN106161235 A CN 106161235A
Authority
CN
China
Prior art keywords
spe
path
upstream
tpe
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201510170242.XA
Other languages
Chinese (zh)
Inventor
朱春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201510310391.1A priority Critical patent/CN106161238A/en
Priority to CN201510170242.XA priority patent/CN106161235A/en
Priority to PCT/CN2015/090732 priority patent/WO2016161781A1/en
Publication of CN106161235A publication Critical patent/CN106161235A/en
Withdrawn legal-status Critical Current

Links

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/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 discloses a kind of method and device obtaining pseudo-wire routing information, when the source TPE of being included in needs the routing information knowing whole MS-PW, ask MS-PW routing information via SPE;SPE utilizes the currently practical pseudo-line segment for forwarding to continue to forward the request of MS-PW routing information as relaying, until purpose TPE;Own node information is returned to source TPE, source TPE via SPE and obtains MS-PW routing information by purpose TPE.The technical scheme provided by the present invention, is obtained the effective operating path of current MS-PW in time, thus ensure that the correct deployment of MS-PW OAM mechanism.

Description

A kind of method and device obtaining multi-segment pseudo-wires routing information
Technical field
The present invention relates to Pseudo Wire Emulation Edge-to-Edge technology, a kind of method obtaining pseudo-wire routing information and Device.
Background technology
Pseudo Wire Emulation Edge-to-Edge (PWE3, Pseudo-Wire Emulation Edge-to-Edge) agreement is The packet switching network (IP/MPLS) provides tunnel, in order to emulate some business such as frame relay (FR, Frame Relay), asynchronous transfer mode (ATM, Asynchronous Transfer Mode), ether (Ethernet) service, time division multiplexing (TDM), Synchronous Optical Network/SDH Etc. (SONET/SDH) two-layer virtual private network (VPN) agreement.By PWE3 agreement, can To be interconnected with packet switching network by traditional network, thus realize sharing of resource and opening up of network Exhibition.PWE3 agreement is the extension (can be found in RFC4447) to Martini agreement, including optimizing letter The expense of order, it is stipulated that single hop pseudo-wire (SS-PW, Single-Segment Pseudo-Wire) and multistage puppet The negotiation mode of line (MS-PW, Multi-Segment Pseudo-Wire) so that the network of agreement itself Networking mode is more flexible.
Single hop pseudo-wire is the VLL technology of a kind of point-to-point, is provided the transparent transmission of Layer 2 data by pseudo-wire Service such as Ethernet service, FR service and ATM etc., i.e. by being entered by corresponding two layer message form Transparent transmission is carried out in row special package, and the pseudo-wire set up between provider edge equipment.Operator By dispose these service guarantees separate the connectedness of same client of different geographical and different user it Between isolation.
The network reference model of one typical single hop pseudo-wire is as it is shown in figure 1, the LAN of certain user The customer edge 1 (CE1) of 1 is linked into the multi-protocols of operator by access link 1 (AC1) The edge device 1 (PE1) of Tag switching (MPLS) backbone network;The LAN 2 of this user CE2 is linked into the PE2 of the MPLS backbone network of operator by AC2;Operator is at PE1 and PE2 Between be one pseudo-wire of this service deployment, as shown in the thick dashed line in Fig. 1, pseudo-wire be a pair in opposite direction The set of unidirectional label forwarding path (LSP, Label Switch Path).The report of PE2 to PE1 Literary composition forwards and generally comprises: the message quilt in PE1, the LAN 1 of this user sent from AC1 It is packaged into the protocol Data Unit (PDU) of pseudo-wire, is passed through the PE2 of opposite end by this pseudo-wire;Work as message When arriving PE2 equipment, PE2 reverts to local form after processing locality again, and is turned by AC2 It is dealt in the network of LAN 2 of this user.The message of CE2 to CE1 forwards and said process class Seemingly.
Multi-segment pseudo-wires is the extension to single hop pseudo-wire, and multi-segment pseudo-wires allows to there is a plurality of segmentation between two PE Pseudo-wire, by operator's pseudo-wire switching equipment (SPE, Switch-PE) by the PW section (PW of both sides Segment) couple together, and complete the label switching operation of pseudo-wire aspect at SPE.Multi-segment pseudo-wires technology Be applicable to directly to set up between source PE and purpose PE the scene of pseudo-wire, meet network hierarchy, Across LAN, cross operator, across control plane application demand, improve network scalability.One The network reference model of typical multi-segment pseudo-wires is as shown in Figure 2.By SPE node by difference Autonomous Domain (AS) if the single hop pseudo-wire of AS1 and AS2 is to being stitched together in, thus set up CE1 and CE2 it Between end-to-end pseudo line service.On SPE, the label packet that side PW receives can be carried out internal layer The swap operation of pseudo line tag, is forwarded on the PW of opposite side the most again, thus complete user data across The forwarding end to end in territory.Multi-segment pseudo-wires can be stitched together by one or more SPE.
In operator's pseudo-wire edge device (TPE, Terminating-PE), it usually needs know whole Forward-path (i.e. the TPE at two ends and the SPE nodal information of all processes), for MS-PW road The loop detection in footpath and OAM diagnostic function.Signaling mistake is created at MS-PW defined in RFC6073 Cheng Zhong, carries MS-PW by increasing SP-PE TLV information in label mapping (Mapping) message The SPE nodal information of process.But, what this mode was carried is likely to be correct SPE nodal information, It could also be possible that the SPE nodal information of mistake.Such as, redundancy is not disposed at SPE at the beginning, then By current method, acquisition is correct SPE nodal information, if added on SPE the most again Deploying redundancy, at this moment, TPE cannot reacquire, say, that exists for SPE node The scene of redundancy, the program can not correctly carry actually active SPE nodal information.Further, due to this Path only obtains when path creates for the first time, when path status changes (as occurred FRR to cut Change or switchback), also cannot the most dynamically adjust.Specifically:
On the one hand, as shown in Figure 3, it is assumed that on SPE1, deploy SPE redundancy, SPE1 and TPE2 Between there is two forward-paths being mutually redundant, i.e. TPE1 SPE1 SPE2 TPE2 and TPE1 SPE1—SPE3—TPE2.In the networking shown in Fig. 3, owing to the determination of forward-path is by local policy Or the impact of the factor such as network state change, therefore, MS-PW in setting up signaling procedure, SPE1 without The information of which paths is passed to TPE1 by method decision-making, thus result in TPE1 and cannot know the currently active MS-PW routing information.
On the other hand, even if it is assumed that using creating at MS-PW defined in RFC6073 Building signaling procedure, the MS-PW path that TPE1 obtains is TPE1 SPE1 SPE2 TPE2.When When SPE2 lost efficacy, SPE1 can carry out local switching so that MS-PW active path reality becomes TPE1—SPE1—SPE3—TPE2.But, TPE1 can not perception, the most also there is no technical side Case makes it be updated, so, the MS-PW routing information that now TPE1 is preserved is wrong.
In sum, in existing RFC6073, although define and carried by Mapping message The method of MS-PW routing information, but MS-PW is existed to the scene of SPE redundancy, on the one hand have May obtain the routing information less than MS-PW, the MS-PW routing information on the other hand obtained is mistake 's.This can cause follow-up MS-PW loop detection and Operations, Administration and Maintenance (OAM) inspection undoubtedly Measure mistake, thus it cannot be guaranteed that the correct of MS-PW OAM mechanism is disposed.
Summary of the invention
In order to solve above-mentioned technical problem, the present invention provides a kind of method obtaining pseudo-wire routing information and dress Put, it is possible to obtain the effective operating path of current MS-PW in time, thus ensure MS-PW OAM mechanism Correct deployment.
In order to reach the object of the invention, the invention provides a kind of method obtaining pseudo-wire routing information, bag Include: need to know the path letter of whole multi-segment pseudo-wires MS-PW at source operator pseudo-wire edge device TPE During breath, ask MS-PW routing information via operator pseudo-wire switching equipment SPE;
SPE utilizes the currently practical pseudo-line segment for forwarding to ask as relay forwarding MS-PW routing information Ask, until purpose TPE;
Own node information is returned to source TPE, source TPE via SPE and obtains MS-PW by purpose TPE Routing information.
Alternatively, described request MS-PW routing information includes: described source TPE is by being used for obtaining The MS-PW path request message of MS-PW routing information sends request to its work upstream device.
Alternatively, described MS-PW path request message is the expansion to PW notice Notification message Exhibition;
PW notice Notification increases newly for representing that this message is MS-PW path request message Conditional code Status Code;
Described MS-PW path request message carries correspondence for identifying specific pseudo-wire information Forwarding equivalence class FEC information.
Alternatively, described work upstream device is the next-hop device of the actual forward-path of current MS-PW.
Alternatively, described source TPE to its work downstream transmission MS-PW path request message is: regularly Trigger, or notified event triggers, or manually trigger.
Alternatively, there is SPE redundancy in the downstream of described source TPE;Described via switching equipment SPE request The work upstream device of described source TPE is also comprised determining that before MS-PW routing information:
Described source TPE, according to the state of redundancy PW Segment, selects to be currently at and enlivens Active The PW Segment of state carries out issuing of described MS-PW path request message.
Alternatively, there is not SPE redundancy in the downstream of described SPE;The described currently practical puppet for forwarding Pseudo-line segment between line segment is and described SPE is directly connected to downstream SPE or purpose TPE.
Alternatively, there is SPE redundancy in the downstream of described SPE;Described utilize currently practical for forward Pseudo-line segment continues to forward the request of MS-PW routing information to include as relaying:
Receive the SPE of the MS-PW routing information request from described source TPE according to redundancy PW The state of Segment, selects to be currently at and enlivens the PW Segment of Active state and carry out described The relaying of MS-PW path request message.
Alternatively, own node information is returned to source TPE, source TPE via SPE by described purpose TPE Obtain MS-PW routing information to include:
After described purpose TPE receives MS-PW path request message, disappeared by the response of MS-PW path Cease the nodal information returning self to its upstream;
After SPE receives the MS-PW path response message that downstream returns, the nodal information of self is added In MS-PW path response message and continue to send this MS-PW path response to its work upstream equipment Message, until after described source TPE receives MS-PW path response message, resolving and obtain whole MS-PW The information in path.
Alternatively, described MS-PW path response message is the extension of PW Notification message;? PW notice Notification increases newly for representing the Status that this message is MS-PW path response message Code。
Alternatively, described nodal information is Route Distinguisher Router id information;
Described nodal information is carried by the SP-PE TLV defined in RFC4447;Or, by extension One new TLV carries.
Alternatively, there is not SPE redundancy in the upstream of described purpose TPE;Described purpose TPE is passed through Response message in MS-PW path returns the nodal information of self and includes to its upstream:
The nodal information of self is added in MS-PW path response message the most direct by described purpose TPE It is transmitted to its unique upstream equipment.
Alternatively, there is SPE redundancy in the upstream of described purpose TPE;Described purpose TPE passes through MS-PW Response message in path returns the nodal information of self and includes to its upstream:
The nodal information of self, according to the state of redundancy PW Segment, is added to by described purpose TPE In MS-PW path response message, and it is currently at, by select, the PW enlivening Active state Segment returns.
Alternatively, after described SPE receives the MS-PW path response message that downstream returns, continue to it Work upstream equipment sends this MS-PW path response message and includes:
If the upstream of described SPE does not exist SPE redundancy, receive described MS-PW path response message SPE the nodal information of self is added in MS-PW path response message and is directly forwarded to it only The upstream equipment of one;
If the upstream of described SPE exists SPE redundancy, receive the SPE of MS-PW path response message The nodal information of self is added in MS-PW path response message, and according to selecting on effective Trip equipment, then continue to return MS-PW path response message to this upstream equipment.
Alternatively, select effective upstream equipment described in specifically include:
Condition selecting source according to PW Segment is corresponding in the PW Segment enlivening Active state Upstream equipment as described effective upstream equipment;
Or, upstream SPE when selecting SPE self to receive MS-PW path request message is as described Return the effective upstream equipment of MS-PW path response message;
Or, the upstream in conjunction with the state of PW Segment and when receiving MS-PW path request message SPE, selects upper as described current MS-PW path response message of wherein effective PW Segment Trip equipment.
Present invention also offers a kind of device obtaining pseudo-wire routing information, at least include receiver module, place Reason module;Wherein,
Receiver module, is used for receiving MS-PW path request message or MS-PW path response message, and Output is to processing module;
Processing module, is used for determining down hop work equipment, and by MS-PW path request message or MS-PW path response message is transmitted to the down hop work equipment determined.
Alternatively, described processing module specifically for: by MS-PW path request message or MS-PW road Footpath response message is transmitted to its unique down hop work equipment;
Or, according to the state of redundancy PW Segment, select the PW being currently at Active state Segment carries out described MS-PW path request message or the forwarding of MS-PW path response message.
Alternatively, this device is arranged in SPE, and described receiver module receives MS-PW path and rings When answering message, described processing module specifically for:
When the upstream of SPE does not exist SPE redundancy, add the nodal information of self to MS-PW road In footpath response message and be directly forwarded to its unique upstream equipment;
When the upstream of SPE exists SPE redundancy, the nodal information of self adds to MS-PW path should Answer in message, and according to selecting effective upstream equipment, then continue to return MS-PW to this upstream equipment Path response message.
Alternatively, select effective upstream equipment described in specifically include:
Condition selecting source according to PW Segment is corresponding in the PW Segment enlivening Active state Upstream equipment as described effective upstream equipment;
Or, upstream SPE when selecting SPE self to receive MS-PW path request message is as described Return the effective upstream equipment of MS-PW path response message;
Or, the upstream in conjunction with the state of PW Segment and when receiving MS-PW path request message SPE, select described in wherein effective PW Segment as current MS-PW path response message is upper Trip equipment.
Alternatively, this device is arranged in TPE, and is the mesh receiving MS-PW path request message TPE time, described processing module specifically for:
When the upstream of purpose TPE does not exist SPE redundancy, add the nodal information of self to MS-PW In path response message and be directly forwarded to its unique upstream equipment:
When the upstream of purpose TPE exists SPE redundancy, purpose TPE is according to redundancy PW Segment's State, selects to be currently at and enlivens the PW Segment of Active state and carry out described MS-PW path The return of response message.
Compared with prior art, technical scheme is included in source TPE needs to know whole MS-PW Routing information time, via SPE ask MS-PW routing information;SPE utilizes currently practical for turning The pseudo-line segment sent out continues to forward the request of MS-PW routing information as relaying, until purpose TPE;Purpose Own node information is returned to source TPE, source TPE via SPE and obtains MS-PW routing information by TPE. The technical scheme provided by the present invention, obtains the effective operating path of current MS-PW in time, thus Ensure that the correct deployment of MS-PW OAM mechanism.
Other features and advantages of the present invention will illustrate in the following description, and, partly from froming the perspective of Bright book becomes apparent, or understands by implementing the present invention.The purpose of the present invention is excellent with other Point can be realized by structure specifically noted in description, claims and accompanying drawing and be obtained.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes of the application Point, the schematic description and description of the present invention is used for explaining the present invention, is not intended that the present invention's Improper restriction.In the accompanying drawings:
Fig. 1 is the schematic diagram of the network reference model of existing single hop pseudo-wire;
Fig. 2 is the schematic diagram of the network reference model of existing multi-segment pseudo-wires;
Fig. 3 is the schematic diagram of the network reference model deploying SPE redundancy on existing SPE;
Fig. 4 is to deploy SPE redundancy on existing SPE and carry out showing of the local network reference model switched It is intended to;
Fig. 5 is the flow chart that the present invention obtains the method for pseudo-wire routing information;
Fig. 6 is the composition structural representation that the present invention obtains the device of pseudo-wire routing information;
Fig. 7 is the network reference model schematic diagram that the present invention obtains the first embodiment of pseudo-wire routing information;
Fig. 8 is the network reference model schematic diagram that the present invention obtains the second embodiment of pseudo-wire routing information;
Fig. 9 is the network reference model schematic diagram that the present invention obtains the 3rd embodiment of pseudo-wire routing information;
Figure 10 is the network reference model schematic diagram that the present invention obtains the 4th embodiment of pseudo-wire routing information.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing Embodiments of the invention are described in detail.It should be noted that in the case of not conflicting, this Shen Embodiment in please and the feature in embodiment can mutual combination in any.
Fig. 5 is the flow chart that the present invention obtains the method for pseudo-wire routing information, as it is shown in figure 5, the present invention Method includes:
Step 500: when source TPE needs the routing information knowing whole MS-PW, asks via SPE MS-PW routing information.
Also include before this step: between TPE and SPE by Pseudo Wire Emulation Edge-to-Edge (PWE3, Pseudo-Wire Emulation Edge-to-Edge) Signalling exchange completes the foundation in MS-PW path.Wherein, Setting up the PWE3 signaling in MS-PW path is PW signaling to LDP extension defined in RFC4447.Its The information in the required MS-PW path set up can be manual configuration, or passes through Border Gateway Protocol (BGP, Border Gateway Protocol) Dynamic Discovery.Implement and belong to those skilled in the art Known technology, the protection domain being not intended to limit the present invention, repeat no more here.
In this step, source TPE can be by the MS-PW path request for obtaining MS-PW routing information Message sends request to its work upstream device.MS-PW path request message can be in RFC4447 The extension of PW notice (Notification) message, i.e. defines a kind of new conditional code (Status Code) Represent that this message is MS-PW path request message.It should be noted that having described in existing standard: Each pseudo-wire is to be carried out uniquely identified by forwarding equivalence class.Different pseudo-wires, carrying difference forwards equivalence The flow of class.Therefore, MS-PW path request message must also be carried the specific for identifying of correspondence Forwarding equivalence class (FEC) information of pseudo-wire information.
Wherein, work upstream device refers to the next-hop device i.e. SPE of the actual forward-path of current MS-PW. The selection of work upstream device is the status information codetermination product of each paths preserved based on SPE node Raw, can truly reflect current operating path, and can be according to the change real-time update of each paths state. It should be noted that after MSPW path establishes, SPE is to preserve and to know currently valid work Make routing information.When there is SPE redundancy, it is only necessary to inquire about and know currently valid operating path, For current SPE, i.e. obtain the next hop information (information of upstream device) of effective operating path; When there is not SPE redundancy, work upstream device is exactly unique next-hop device.It addition, according to respectively The change real-time update of paths state, refers to when MS-PW path change, and such as SPE FRR occurs During switching, SPE can be updated operation to the work upstream device that oneself preserves.To ensure that self preserves Work downstream information be in real time effective.
Wherein, source TPE sends MS-PW path request message to its work downstream can be to be touched by timing Send out, or receive the triggering of certain notification event, or can the most manually trigger.Here, logical County magistrate's part is used for showing that likely current MS-PW forward-path is no longer valid, or SPE is likely to occur Path switching, it is effective to the perception of this event can be that this equipment self directly perceives current MS-PW The state change in path, it is also possible to be that upstream device notifies to change letter to the state of the upstream device of this equipment Breath.Now can initiate a path request operation, the routing information of record before updating, thus protect Demonstrate,prove the effectiveness of work at present routing information.
Further, if there is SPE redundancy in the downstream of source TPE, in this step via switching equipment Before SPE request MS-PW routing information, also include the work upstream device determining former TPE:
Source TPE, according to the state of redundancy PW Segment, selects and is currently at active (Active) shape The PW Segment (the most currently practical PW Segment for forwarding) of state carries out path request signaling Issue.Wherein, the state how obtaining PW Segment belongs to the known technology of those skilled in the art, Existing method can be used to obtain, implement the protection domain being not intended to limit the present invention, the most not Repeat again.
Step 501:SPE utilizes the currently practical pseudo-line segment for forwarding as relay forwarding MS-PW path Information request, until purpose TPE.
SPE receives the MS-PW routing information request message of the i.e. source TPE in upstream, may proceed to be sent to it Downstream, the currently practical puppet for forwarding if the downstream of SPE does not exist SPE redundancy, in this step Pseudo-line segment between line segment is and this SPE is directly connected to downstream SPE or purpose TPE.Wherein, press According to the standard defined in RFC, MS-PW routing information request message is only done the replacement of FEC information, Other information are directly inherited and forward.
Further, if the downstream of SPE exists SPE redundancy, this step utilizes currently practical use Continue to forward the request of MS-PW routing information to include as relaying in the pseudo-line segment forwarded:
Receive the SPE of the MS-PW routing information request from source TPE according to redundancy PW Segment State, select PW Segment (the most currently practical use being currently at active (Active) state In the PW Segment forwarded) carry out the relaying of path request signaling.Wherein, PW Segment how is obtained State belong to the known technology of those skilled in the art, existing method can be used to obtain, implement The protection domain being not intended to limit the present invention, repeats no more here.
Step 502: own node information is returned to source TPE, source TPE via SPE and obtains by purpose TPE MS-PW routing information.
Specifically, after purpose TPE receives MS-PW path request message, by the response of MS-PW path Message returns the nodal information of self to its upstream;SPE receives the MS-PW path response of downstream return and disappears After breath, the nodal information of self added in MS-PW path response message and continue to its work upstream Equipment sends this MS-PW path response message, until after source TPE receives MS-PW path response message, Resolve and obtain the information in whole MS-PW path.
Wherein, the extension of PW Notification message can i.e. be defined by MS-PW path response message A kind of new Status Code represents that this message is MS-PW path response message.Wherein, nodal information It is the information for identifying this node, can be Route Distinguisher (Router ID) information etc. such as this equipment. In the inventive method, the node of TPE/SPE can be carried by the SP-PE TLV defined in RFC4447 Information, it is also possible to carried by one new TLV of extension.
Same, if the upstream of purpose TPE does not exist SPE redundancy, purpose TPE is by the node of self Its unique upstream equipment is added in MS-PW path response message and be directly forwarded to information to: If the upstream of purpose TPE exists SPE redundancy, purpose TPE can be according to redundancy PW Segment's State, select be currently at Active state PW Segment (the most currently practical for forward PW Segment) carry out the return of MS-PW path response message.
Further, after SPE receives the MS-PW path response message that downstream returns, continue to its work Send this MS-PW path response message as upstream equipment to include:
If the upstream of SPE does not exist SPE redundancy, the SPE receiving MS-PW path response message will The nodal information of self adds in MS-PW path response message and is directly forwarded to its unique upstream Equipment;
If the upstream of SPE exists SPE redundancy, the SPE receiving MS-PW path response message will be from The nodal information of body adds in MS-PW path response message, and sets according to selecting effective upstream Standby, then continue to return MS-PW path response message to this upstream equipment.
Wherein, select effective upstream equipment to specifically include:
Can be that the Active/Standby condition selecting source according to PW Segment is in Active state Upstream equipment corresponding for PW Segment is as effective upstream equipment;
Or, upstream SPE when selecting SPE self to receive MS-PW path request message is as return The effective upstream equipment of MS-PW path response message;
Or, the upstream in conjunction with the state of PW Segment and when receiving MS-PW path request message SPE, selection wherein effective PW Segment set as the upstream of current MS-PW path response message Standby.When network shakes, above two selection mode is likely to occur inconsistent situation, if only with Individually if one, it is possible that select failed situation, therefore, the process total energy choosing so combined Select out upstream equipment, it is to avoid cause select failed problem due to network concussion.
The technical scheme provided by the present invention, obtains the effective operating path of current MS-PW in time, Thus ensure that the correct deployment of MS-PW OAM mechanism.
Fig. 6 is the composition structural representation that the present invention obtains the device of pseudo-wire routing information, as shown in Figure 6, At least include receiver module, processing module;Wherein,
Receiver module, is used for receiving MS-PW path request message or MS-PW path response message, and Output is to processing module;
Processing module, is used for determining down hop work equipment, and by MS-PW path request message or MS-PW path response message is transmitted to the down hop work equipment determined.
Wherein, processing module specifically for: directly by MS-PW path request message or MS-PW path Response message is transmitted to its unique down hop work equipment;Or, according to the shape of redundancy PW Segment State, selects PW Segment (the most currently practical PW for forwarding being currently at Active state Segment) MS-PW path request message or the forwarding of MS-PW path response message are carried out.
The present invention obtains the device of pseudo-wire routing information and can be arranged in TPE, it is also possible to be arranged on SPE In.
It is arranged in SPE when the present invention obtains the device of pseudo-wire routing information, and receiver module receives During MS-PW path response message, processing module specifically for:
When the upstream of SPE does not exist SPE redundancy, add the nodal information of self to MS-PW road In footpath response message and be directly forwarded to its unique upstream equipment;
When the upstream of SPE exists SPE redundancy, the nodal information of self adds to MS-PW path should Answer in message, and according to selecting effective upstream equipment, then continue to return MS-PW to this upstream equipment Path response message.Wherein, select effective upstream equipment to specifically include:
Can be that the Active/Standby condition selecting source according to PW Segment is in Active state Upstream equipment corresponding for PW Segment is as effective upstream equipment;
Or, upstream SPE when selecting SPE self to receive MS-PW path request message is as return The effective upstream equipment of MS-PW path response message;
Or, the upstream in conjunction with the state of PW Segment and when receiving MS-PW path request message SPE, selection wherein effective PW Segment set as the upstream of current MS-PW path response message Standby.When network shakes, above two selection mode is likely to occur inconsistent situation, if only with Individually if one, it is possible that select failed situation, therefore, the process total energy choosing so combined Select out upstream equipment, it is to avoid cause select failed problem due to network concussion.
It is arranged in TPE when the present invention obtains the device of pseudo-wire routing information, and for receiving MS-PW During purpose TPE of path request message, processing module specifically for:
When the upstream of purpose TPE does not exist SPE redundancy, add the nodal information of self to MS-PW In path response message and be directly forwarded to its unique upstream equipment:
When the upstream of purpose TPE exists SPE redundancy, purpose TPE is according to redundancy PW Segment's State, select be currently at Active state PW Segment (the most currently practical for forward PW Segment) carry out the return of MS-PW path response message.
Below in conjunction with specific embodiment the present invention implemented and be described in detail.
Fig. 7 is the network reference model schematic diagram that the present invention obtains the first embodiment of pseudo-wire routing information, As it is shown in fig. 7, first embodiment is general i.e. without the MS-PW deployment scenario of SPE redundancy.
Assume TPE1 it is to be appreciated that the routing information of whole MSPW, then TPE1 is to (SPE1) downstream Send MS-PW path request message;After SPE1 receives this MS-PW path request message, due to SPE1 Do not dispose redundancy, then give tacit consent to and relay this MS-PW path request message to its unique downstream i.e. SPE2, So relaying is until MS-PW path request message arrives purpose TPE, in the first embodiment, it is assumed that TPE for the purpose of TPE2, then, after TPE2 receives MS-PW path request message, it is judged that it is whole The tail node in bar MS-PW path, then obtain this some self the identification information (Router such as this node Id information) after, give its upstream SPE2 by MS-PW path response message announcement;SPE2 receives it After the MS-PW path response message in downstream, after obtaining the identification information of this node, it is appended to this MS-PW In path response message, continue to send to its upstream, until response message in MS-PW path arrives source TPE, The promoter TPE1, TPE1 that are MS-PW path request message in the present embodiment receive downstream notice MS-PW path response message after, backward parses all nodes in MS-PW path response message After information, just draw the nodal information of all SPE and TPE of current MS-PW process, i.e. obtain The routing information of whole piece MS-PW.
, there is not redundant deployment in general MSPW deployment scenario, the technical side that the present invention provides due to SPE The process message of case is consistent with the effect reached by SP-PE TLV process in RFC4447, the most just Being to say, the technical scheme that the present invention provides is can to obtain in solution MS-PW redundancy scene by no means completely The demand in MS-PW path.
Fig. 8 is the network reference model schematic diagram that the present invention obtains the second embodiment of pseudo-wire routing information, As shown in Figure 8, the second embodiment is the MS-PW deployment scenario of unilateral SPE redundancy, i.e. the one of SPE There is SPE redundancy in side (upstream side or downstream), is that downstream exists redundancy in the second embodiment Scene.
Assume TPE1 it is to be appreciated that the routing information of whole MS-PW, then TPE1 is to (SPE1) downstream Send MS-PW path request message;After SPE1 receives this MS-PW path request message, due to SPE1 Downstream deploy SPE redundancy, now, SPE1 needs according to redundancy PW Segment, i.e. PW Segment between SPE1 and SPE2, and the PW Segment between SPE1 and SPE3 State, select the PW Segment being currently at Active state, say, that select current reality Border carries out the relaying of MS-PW path request message for the PW Segment forwarded.In second embodiment, Assume that the PW Segment between SPE1 and SPE2 is in Active state, what SPE1 selected is to The PW Segment of SPE2, then SPE1 can send MS-PW path request message to SPE2.Should MS-PW path request message continues through relaying and arrives purpose TPE2.TPE2 sends to TPE1 Handling process and first embodiment of MS-PW path response message are basically identical, except for the difference that, When response message in MS-PW path returns to SPE2, SPE2 equally selects and is currently at Active The PW Segment of state carries out the relaying of MS-PW path response message.
Fig. 9 is the network reference model schematic diagram that the present invention obtains the 3rd embodiment of pseudo-wire routing information, As it is shown in figure 9, the MS-PW deployment scenario that the 3rd embodiment is bilateral SPE redundancy.Implement the 3rd In example, the processing mode of MS-PW path request and MS-PW path response message and the second embodiment base This is consistent, and its difference is, owing to there is bilateral SPE redundancy, SPE3 is receiving the MS-PW of downstream response After path response message, owing to still there are two PW Segment its upstream, now need root on SPE3 Wherein effective PW Segment is selected to continue to be sent to path response message according to local policy.Here Local policy may is that the Active/Standby condition selecting source according to PW Segment is in Active The PW Segment of state;
Or, before selection, receive the upper hop of MS-PW path request message;
Or, consider decision-making in conjunction with above two strategy, select wherein effective PW Segment Upstream equipment as current MS-PW path response message.When network shakes, above two selects Mode is likely to occur inconsistent situation, if only with a kind of, it is possible that select to lose Situation about losing, therefore, the process so combined can select upstream equipment, it is to avoid owing to network shakes Swing and cause select failed problem.
Figure 10 is the network reference model schematic diagram that the present invention obtains the 4th embodiment of pseudo-wire routing information, As shown in Figure 10, the 4th embodiment show the quick heavy-route of SPE (FRR, Fast Reroute) and cuts The MS-PW deployment scenario changed, wherein, FRR is intended to when after link in network or node failure, for These important nodes or link provide backup protection, it is achieved quickly heavy-route, to reduce link or node Impact on flow during inefficacy.Assume the skill of the acquisition pseudo-wire routing information that TPE1 provided by the present invention Effective operating path that art scheme obtains is TPE1 SPE1 SPE2 TPE2.
In the present embodiment, it is assumed that when SPE2 lost efficacy, SPE1 carries out local switching, the effective road of MS-PW Footpath has actually become TPE1 SPE1 SPE3 TPE2.Now, TPE1 can be by pre-setting Strategy triggers MS-PW path request message, reacquires currently valid MS-PW path.Wherein, This strategy can be by clocked flip, or receives the triggering of certain notification event, or can be straight Tap into row manually to trigger.
The above, the only preferred embodiments of the present invention, it is not intended to limit the protection model of the present invention Enclose.All within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. done, Should be included within the scope of the present invention.

Claims (20)

1. the method obtaining pseudo-wire routing information, it is characterised in that including: in source operator pseudo-wire When edge device TPE needs the routing information knowing whole multi-segment pseudo-wires MS-PW, pseudo-via operator Line switching equipment SPE asks MS-PW routing information;
SPE utilizes the currently practical pseudo-line segment for forwarding to ask as relay forwarding MS-PW routing information Ask, until purpose TPE;
Own node information is returned to source TPE, source TPE via SPE and obtains MS-PW by purpose TPE Routing information.
Method the most according to claim 1, it is characterised in that described request MS-PW path is believed Breath includes: described source TPE is disappeared by the MS-PW path request being used for obtaining MS-PW routing information Cease and send request to its work upstream device.
Method the most according to claim 2, it is characterised in that described MS-PW path request disappears Breath is the extension to PW notice Notification message;
PW notice Notification increases newly for representing that this message is MS-PW path request message Conditional code Status Code;
Described MS-PW path request message carries correspondence for identifying specific pseudo-wire information Forwarding equivalence class FEC information.
Method the most according to claim 1, it is characterised in that described work upstream device is current The next-hop device of the actual forward-path of MS-PW.
Method the most according to claim 2, it is characterised in that described source TPE is under its work Trip sends MS-PW path request message: clocked flip, or notified event triggers, or Manually trigger.
Method the most according to claim 2, it is characterised in that the downstream of described source TPE exists SPE redundancy;Described via switching equipment SPE request MS-PW routing information before also comprise determining that The work upstream device of described source TPE:
Described source TPE, according to the state of redundancy PW Segment, selects to be currently at and enlivens Active The PW Segment of state carries out issuing of described MS-PW path request message.
Method the most according to claim 2, it is characterised in that the downstream of described SPE does not exists SPE redundancy;The described currently practical pseudo-line segment for forwarding is the downstream SPE being directly connected to described SPE Or the pseudo-line segment between purpose TPE.
Method the most according to claim 2, it is characterised in that the downstream of described SPE exists SPE Redundancy;Described utilize currently practical for forward pseudo-line segment as relaying continue forward MS-PW path Information request includes:
Receive the SPE of the MS-PW routing information request from described source TPE according to redundancy PW The state of Segment, selects to be currently at and enlivens the PW Segment of Active state and carry out described The relaying of MS-PW path request message.
Method the most according to claim 2, it is characterised in that self is saved by described purpose TPE Dot information returns to source TPE, source TPE acquisition MS-PW routing information via SPE and includes:
After described purpose TPE receives MS-PW path request message, disappeared by the response of MS-PW path Cease the nodal information returning self to its upstream;
After SPE receives the MS-PW path response message that downstream returns, the nodal information of self is added In MS-PW path response message and continue to send this MS-PW path response to its work upstream equipment Message, until after described source TPE receives MS-PW path response message, resolving and obtain whole MS-PW The information in path.
Method the most according to claim 9, it is characterised in that described MS-PW path response Message is the extension of PW Notification message;PW notice Notification increases newly for representing This message is the Status Code of MS-PW path response message.
11. methods according to claim 9, it is characterised in that described nodal information is route mark Know Router id information;
Described nodal information is carried by the SP-PE TLV defined in RFC4447;Or, by extension One new TLV carries.
12. methods according to claim 9, it is characterised in that the upstream of described purpose TPE is not There is SPE redundancy;Described purpose TPE returns self by MS-PW path response message to its upstream Nodal information include:
The nodal information of self is added in MS-PW path response message the most direct by described purpose TPE It is transmitted to its unique upstream equipment.
13. methods according to claim 9, it is characterised in that the upstream of described purpose TPE is deposited In SPE redundancy;Described purpose TPE returns self by MS-PW path response message to its upstream Nodal information includes:
The nodal information of self, according to the state of redundancy PW Segment, is added to by described purpose TPE In MS-PW path response message, and it is currently at, by select, the PW enlivening Active state Segment returns.
14. methods according to claim 9, it is characterised in that described SPE receives downstream and returns MS-PW path response message after, continue send this MS-PW path response to its work upstream equipment Message includes:
If the upstream of described SPE does not exist SPE redundancy, receive described MS-PW path response message SPE the nodal information of self is added in MS-PW path response message and is directly forwarded to it only The upstream equipment of one;
If the upstream of described SPE exists SPE redundancy, receive the SPE of MS-PW path response message The nodal information of self is added in MS-PW path response message, and according to selecting on effective Trip equipment, then continue to return MS-PW path response message to this upstream equipment.
15. methods according to claim 14, it is characterised in that described in select effective upstream Equipment specifically includes:
Condition selecting source according to PW Segment is corresponding in the PW Segment enlivening Active state Upstream equipment as described effective upstream equipment;
Or, upstream SPE when selecting SPE self to receive MS-PW path request message is as described Return the effective upstream equipment of MS-PW path response message;
Or, the upstream in conjunction with the state of PW Segment and when receiving MS-PW path request message SPE, selects upper as described current MS-PW path response message of wherein effective PW Segment Trip equipment.
16. 1 kinds of devices obtaining pseudo-wire routing information, it is characterised in that at least include receiver module, Processing module;Wherein,
Receiver module, is used for receiving MS-PW path request message or MS-PW path response message, and Output is to processing module;
Processing module, is used for determining down hop work equipment, and by MS-PW path request message or MS-PW path response message is transmitted to the down hop work equipment determined.
17. devices according to claim 16, it is characterised in that described processing module specifically for: MS-PW path request message or MS-PW path response message are transmitted to the work of its unique down hop Equipment;
Or, according to the state of redundancy PW Segment, select the PW being currently at Active state Segment carries out described MS-PW path request message or the forwarding of MS-PW path response message.
18. devices according to claim 16, it is characterised in that this device is arranged in SPE, And described receiver module is when receiving MS-PW path response message, described processing module specifically for:
When the upstream of SPE does not exist SPE redundancy, add the nodal information of self to MS-PW road In footpath response message and be directly forwarded to its unique upstream equipment;
When the upstream of SPE exists SPE redundancy, the nodal information of self adds to MS-PW path should Answer in message, and according to selecting effective upstream equipment, then continue to return MS-PW to this upstream equipment Path response message.
19. devices according to claim 18, it is characterised in that described in select effective upstream Equipment specifically includes:
Condition selecting source according to PW Segment is corresponding in the PW Segment enlivening Active state Upstream equipment as described effective upstream equipment;
Or, upstream SPE when selecting SPE self to receive MS-PW path request message is as described Return the effective upstream equipment of MS-PW path response message;
Or, the upstream in conjunction with the state of PW Segment and when receiving MS-PW path request message SPE, select described in wherein effective PW Segment as current MS-PW path response message is upper Trip equipment.
20. devices according to claim 16, it is characterised in that this device is arranged in TPE, And when being to receive purpose TPE of MS-PW path request message, described processing module specifically for:
When the upstream of purpose TPE does not exist SPE redundancy, add the nodal information of self to MS-PW In path response message and be directly forwarded to its unique upstream equipment:
When the upstream of purpose TPE exists SPE redundancy, purpose TPE is according to redundancy PW Segment's State, selects to be currently at and enlivens the PW Segment of Active state and carry out described MS-PW path The return of response message.
CN201510170242.XA 2015-04-10 2015-04-10 A kind of method and device obtaining multi-segment pseudo-wires routing information Withdrawn CN106161235A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201510310391.1A CN106161238A (en) 2015-04-10 2015-04-10 Obtain method and device and SPE and TPE of multi-segment pseudo-wires routing information
CN201510170242.XA CN106161235A (en) 2015-04-10 2015-04-10 A kind of method and device obtaining multi-segment pseudo-wires routing information
PCT/CN2015/090732 WO2016161781A1 (en) 2015-04-10 2015-09-25 Multi-segment pseudo-wire path information acquisition method, device, spe and tpe

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510170242.XA CN106161235A (en) 2015-04-10 2015-04-10 A kind of method and device obtaining multi-segment pseudo-wires routing information

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201510310391.1A Division CN106161238A (en) 2015-04-10 2015-04-10 Obtain method and device and SPE and TPE of multi-segment pseudo-wires routing information

Publications (1)

Publication Number Publication Date
CN106161235A true CN106161235A (en) 2016-11-23

Family

ID=57072968

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510310391.1A Withdrawn CN106161238A (en) 2015-04-10 2015-04-10 Obtain method and device and SPE and TPE of multi-segment pseudo-wires routing information
CN201510170242.XA Withdrawn CN106161235A (en) 2015-04-10 2015-04-10 A kind of method and device obtaining multi-segment pseudo-wires routing information

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510310391.1A Withdrawn CN106161238A (en) 2015-04-10 2015-04-10 Obtain method and device and SPE and TPE of multi-segment pseudo-wires routing information

Country Status (2)

Country Link
CN (2) CN106161238A (en)
WO (1) WO2016161781A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011352A1 (en) * 2005-07-11 2007-01-11 Luca Martini Pseudowire (PW) switching type-length-value (TLV)
CN101552716A (en) * 2008-04-03 2009-10-07 华为技术有限公司 Method, device and system for calculating service path
WO2011000140A1 (en) * 2009-06-29 2011-01-06 华为技术有限公司 Method, apparatus and system for establishing pseudo wire
CN102055619A (en) * 2009-11-02 2011-05-11 中兴通讯股份有限公司 Method and system for realize fault detection in bidirectional path segment
CN102820987A (en) * 2012-07-30 2012-12-12 华为技术有限公司 Method and device for displaying service route in network failure maintaining

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7746769B2 (en) * 2007-03-26 2010-06-29 Alcatel Lucent Management of redundant and multi-segment pseudo-wire
CN102957611A (en) * 2011-08-25 2013-03-06 华为技术有限公司 System, equipment and method for setup of P2MP MS-PW (point-to-multipoint multi-segment pseudo wire)
CN102347873B (en) * 2011-10-26 2017-09-29 南京中兴新软件有限责任公司 The detection method and device in tunnel and pseudo-wire

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070011352A1 (en) * 2005-07-11 2007-01-11 Luca Martini Pseudowire (PW) switching type-length-value (TLV)
CN101552716A (en) * 2008-04-03 2009-10-07 华为技术有限公司 Method, device and system for calculating service path
WO2011000140A1 (en) * 2009-06-29 2011-01-06 华为技术有限公司 Method, apparatus and system for establishing pseudo wire
CN102055619A (en) * 2009-11-02 2011-05-11 中兴通讯股份有限公司 Method and system for realize fault detection in bidirectional path segment
CN102820987A (en) * 2012-07-30 2012-12-12 华为技术有限公司 Method and device for displaying service route in network failure maintaining

Also Published As

Publication number Publication date
CN106161238A (en) 2016-11-23
WO2016161781A1 (en) 2016-10-13

Similar Documents

Publication Publication Date Title
US10003531B2 (en) Method for establishing tunnel, method for allocating label, device and network system
EP1912381B1 (en) A fast convergence method of point to point services and the provider edge device thereof
CN102664788B (en) CE dual-homed link protection method in MPLS L3VPN and system thereof
CN101523354B (en) Protecting multi-segment pseudowires
US8068442B1 (en) Spanning tree protocol synchronization within virtual private networks
JP5209116B2 (en) Establishing pseudowires in packet-switched networks
JP2006211661A (en) Vpn providing method and vpn providing device of mpls baseboard
EP2087648A2 (en) A method and system for verifying connectivity of multi- segment pseudo-wires by tracing
WO2005006670A1 (en) Session establishment method in label switch network and label switch node
CN106982161A (en) The method and apparatus that label keeps and deleted in looped network protection
EP3890253B1 (en) Transport endpoint segments for inter-domain segment routing
CN102546352B (en) A kind of method and system realizing point-to-multipoint label switch paths protection
CN104579960B (en) Interface parameters synchronous method and device
CN104247346A (en) Pseudowire extended group messaging in a packet switched network
EP2995045B1 (en) Method and telecom network equipment for aggregating pseudowires
CN110431810A (en) The method and apparatus that pseudo-wire (PW) is established and safeguarded are carried out by ospf protocol
RU2630375C2 (en) Method and device for processing of data forwarding
US11070468B1 (en) Serverless segment routing (SR)-label distribution protocol (LDP) stitching
CN106161235A (en) A kind of method and device obtaining multi-segment pseudo-wires routing information
CN114520762A (en) Method for sending BIERv6 message and first network equipment
WO2016197613A1 (en) Method of detecting static pseudo-wire state and device utilizing same
WO2013026399A1 (en) Method, device and system for establishing p2mp ms-pw
CN115499369A (en) Path protection method and device
CN115499368A (en) Path protection method and device
CN104303469B (en) The enforcement of pseudo-wire expanded set in packet switching network

Legal Events

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

Application publication date: 20161123