WO2013026399A1 - 建立p2mp ms-pw的方法、设备及系统 - Google Patents
建立p2mp ms-pw的方法、设备及系统 Download PDFInfo
- Publication number
- WO2013026399A1 WO2013026399A1 PCT/CN2012/080490 CN2012080490W WO2013026399A1 WO 2013026399 A1 WO2013026399 A1 WO 2013026399A1 CN 2012080490 W CN2012080490 W CN 2012080490W WO 2013026399 A1 WO2013026399 A1 WO 2013026399A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- p2mp
- information
- spe
- tpe
- source
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/68—Pseudowire emulation, e.g. IETF WG PWE3
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/50—Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
- H04L45/507—Label distribution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Definitions
- the present invention relates to a pseudowire establishment technology, and in particular, to a method for establishing a P2MP MS-PW, a source termination operator edge device, and a P2MP MS-PW system. Background technique
- Pseudo Wire is used to simulate user traffic between user edge CE (Customer Edge) devices.
- PW applications are divided into P2P PW (Point-to-Point PW) and P2MP PW (Point-to-Multi Point PW).
- P2P PW Point-to-Point PW
- P2MP PW Point-to-Multi Point PW
- P2MP PW is established to ensure point-to-multipoint service requirements.
- the P2MP PW is a PW that transmits unidirectionally from the source node to the leaf node to implement multicast service simulation.
- P2MP PW is divided into point-to-multipoint single-segment pseudowire P2MP SS-PW (P2MP Single Segment PW) and point-to-multipoint multi-segment pseudowire P2MP MS-PW (P2MP Multi- Segment PW).
- P2MP MS-PW The establishment of P2MP MS-PW is currently only static establishment. When establishing, first establish the segments of the P2MP MS-PW, and then manually configure the mapping relationship between the initial segment and subsequent segments.
- the embodiment of the present invention provides a method for establishing a P2MP MS-PW, a source termination operator edge device, and a P2MP MS-PW system, so as to implement dynamic establishment of a P2MP MS-PW, and avoid switching the carrier edge SPE (switch/switching provider).
- Edge Configure PW segmentation on the node Mapping.
- the embodiment of the invention provides a method for establishing a point-to-multipoint multi-segment pseudowire P2MP MS-PW, including:
- the source end operator edge TPE configures P2MP MS-PW establishment information, and the P2MP MS-PW establishment information includes explicit routing information;
- the source TPE sends a Label Switching Protocol LDP packet carrying the P2MP MS-PW establishment information to the switching operator edge SPE;
- the SPE After receiving the LDP packet, the SPE finds an egress port of the LDP packet according to the explicit routing information, and uses the egress port to forward the LDP packet.
- the embodiment of the invention further provides a source termination operator edge device, including:
- a configuration unit configured to configure a point-to-multipoint multi-segment pseudowire P2MP MS-PW establishment information, where the P2MP MS-PW establishment information includes explicit routing information;
- a sending unit configured to send, to the switching carrier edge SPE, a label switching protocol LDP packet carrying the P2MP MS-PW setup information, so that after the SPE receives the LDP packet, according to the The explicit routing information finds the egress port of the LDP packet, and uses the egress port to forward the LDP packet.
- the embodiment of the present invention further provides a point-to-multipoint multi-segmented pseudowire P2MP MS-PW system, including a source-end operator edge TPE, a switching carrier edge SPE, and a leaf TPE, where P2MP is configured in the source TPE.
- the MS-PW establishes the information, where the P2MP MS-PW setup information includes the explicit routing information, and sends the label switching protocol LDP packet carrying the P2MP MS-PW setup information; the SPE is configured to receive the LDP packet.
- the outbound port of the LDP packet is found according to the SPE identifier in the explicit routing information, and the LDP packet is forwarded by using the egress port; the leaf TPE receives the LDP packet forwarded by the SPE Text.
- the method for establishing a P2MP MS-PW, the source termination operator edge device, and the P2MP MS-PW system configureds the explicit routing information of the P2MP MS-PW and sends the P2MP MS-PW explicit configuration on the source TPE.
- the P2MP MS-PW LDP packet of the routing information completes the P2MP MS-PW establishment. This avoids a large number of complicated configuration operations and simplifies P2MP.
- the MS-PW establishment process improves the establishment efficiency of the P2MP MS-PW.
- FIG. 1 is a flowchart of a method for establishing a P2MP MS-PW according to an embodiment of the present invention
- FIG. 2A is a schematic structural diagram of P2MP MS-PW FEC information in a method for establishing a P2MP MS-PW according to an embodiment of the present invention
- 2B is another schematic structural diagram of P2MP MS-PW FEC information in a method for establishing a P2MP MS-PW according to an embodiment of the present invention
- 2C is a schematic structural diagram of another P2MP MS-PW FEC information in a method for establishing a P2MP MS-PW according to an embodiment of the present invention
- 2D is a schematic structural diagram of another P2MP MS-PW FEC information in a method for establishing a P2MP MS-PW according to an embodiment of the present invention
- FIG. 2E is a schematic structural diagram of the "SPEn identifier sub-TLV" field in FIG. 2D;
- FIG. 3 is a flowchart of a method for establishing a P2MP MS-PW according to Embodiment 1 of the present invention
- FIG. 4 is a schematic structural diagram of a P2MP MS-PW system applied to a method for establishing a P2MP MS-PW according to an embodiment of the present invention
- FIG. 5 is a flowchart of a method for establishing a P2MP MS-PW according to Embodiment 2 of the present invention
- FIG. 6 is a schematic structural diagram of another P2MP MS-PW system applied to a method for establishing a P2MP MS-PW according to an embodiment of the present invention
- FIG. 7 is a schematic structural diagram of another P2MP MS-PW system applied to a method for establishing a P2MP MS-PW according to an embodiment of the present disclosure
- 8A is a schematic diagram of providing P2P MS-PW segmentation protection by establishing a virtual P2MP MS-PW according to an embodiment of the present invention
- 8B is a flowchart of a method for establishing a P2MP MS-PW according to Embodiment 3 of the present invention
- FIG. 8C is a flowchart of a method for establishing a P2MP MS-PW according to Embodiment 4 of the present invention
- FIG. 10 is a schematic structural diagram of another P2MP MS-PW system according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for establishing a P2MP MS-PW according to an embodiment of the present invention. As shown in Figure 1, the method for establishing a P2MP MS-PW includes:
- the source end operator Provider Edge configures the P2MP MS-PW establishment information, and the P2MP MS-PW establishment information includes explicit routing information.
- the explicit routing information may be an identifier of the SPE on the P2MP MS-PW to be established.
- the source TPE sends an LDP packet carrying the P2MP MS-PW setup information to the SPE.
- the SPE After receiving the LDP packet, the SPE finds an egress port of the LDP packet according to the explicit routing information, and uses the egress port to forward the LDP packet.
- the method for establishing a P2MP MS-PW may further include: configuring, by the source TPE, the LSP information that carries the P2MP MS-PW;
- the LDP packet when the source TPE sends the LDP packet, the LDP packet further carries the LSP information, for example, the LSP information may include carrying each PW segment in the P2MP MS-PW. LSP information.
- the LDP packet may also carry a label for establishing a PW required to transmit the data traffic of the leaf T P E to the source T P E .
- the primary and backup features of the PW segment are set in the P2MP MS-PW establishment process
- the explicit routing information further includes the active and standby information of the explicit route
- the SPE further determines the active/standby state of the egress port according to the active and standby information of the explicit route.
- the explicit routing information may include the active/standby status information of the SPE, or the explicit routing information includes the primary and backup status information of the outbound port that forwards the LDP packet;
- the SPE of the LDP packet to the P2MP MS-PW may determine the active/standby state of the SPE based on the active/standby status information of the SPE or the primary and backup status information of the outbound interface of the LDP packet.
- the active/standby status of the outbound port of the LDP packet is forwarded to determine the active/standby status of the corresponding PW segment.
- the source TPE configuring the P2MP MS-PW establishment information may include: the source TPE configuring the virtual P2MP MS-PW establishment information.
- the P2MP MS-PW is established by configuring the explicit routing information of the PW in the source TPE and carrying the PW explicit routing information in the LDP packet sent by the P2MP MS-PW, thereby avoiding a large number of complicated configuration operations. It simplifies the establishment process of P2MP MS-PW and improves the establishment efficiency of P2MP MS-PW. Further, the P2MP MS-PW establishment method is extended to the P2MP MS-PW segmentation flexible protection by configuring the active and standby information of the explicit route in the source TPE. Further, the P2MP MS-PW with the segmentation protection function is established by configuring the virtual P2MP MS-PW to establish information on the source TPE and carrying the establishment information of the virtual P2MP MS-PW in the transmitted LDP packet.
- the LDP packet in this embodiment can be improved based on the LDP packet of the standard P2MP SS-PW signaling.
- the embodiment of the invention is defined in a standard LDP packet.
- a new type of length value TLV (type-length-value)-explicit route TLV (expressive route TLV) the explicit routing TLV carries information about the SPE on the P2MP MS-PW, such as P2MP MS-PW The identity of multiple SPEs (SPEn Identifier).
- the explicit routing TLV described above may be used as part of the P2MP SS-PW Forwarding Equivalence Class (FEC) information, or may be combined with the P2MP SS-PW FEC information as part of the LDP packet.
- FEC Forwarding Equivalence Class
- the SPE device When receiving the LDP packet, the SPE device processes the LDP packet by reading the TLV information, and initiates the establishment of the next PW segment in the P2MP PW.
- the explicit routing information may be carried in the format shown in FIG. 2A and FIG. 2B, wherein the SPE node information of the explicit routing information may be carried in the value part of the TLV as shown in FIG. 2A (the SPEn identifier in FIG. 2A). ).
- the SPE node information of the explicit routing information may also be carried in the form of sub-tlv.
- the SPE information is carried in the LSP (each hop sub-tlv) of the explicit route, and the information of the LSP starting from the SPE may be further carried.
- the type (Type) values in Figure 2A and 2B do not conflict with the standard.
- the selection follows RFC3036, and any of the reserved values can be used, or other values that do not conflict with the existing TLV.
- the length (length) value is a variable value, the first length identifies the length of the FEC, the second length identifies the AGI length, and the third length identifies the length of the Attachment Individual Identifier.
- Explicit Routing The Length in the TLV identifies the length of the SPEn ID field.
- the optional parameter (Optional parameters) field can also be used to carry the next hop information or forward the outbound port, so that the SPE can directly find the outbound port of the LDP packet according to the next hop information or the forwarding port.
- FIG. 2A and FIG. 2B show two specific P2MP PW FEC examples, and the actual P2MP PW FEC is not limited thereto.
- Embodiment 1 The establishment process of the P2MP MS-PW is shown in Figure 3, including:
- the P2MP MS-PW setup information includes an Attachment Group Identifier (AGI), a Source Attachment Individual Identifier (SAII), and explicit routing information.
- AGI Attachment Group Identifier
- SAII Source Attachment Individual Identifier
- the bearer LSP information may be configured in the source TPE in advance.
- the P2MP MS-PW needs to be configured with LSP information carrying PW segments.
- the P2MP MS-PW segment of the P2MP is an SPE connected to multiple SPEs or multiple TPEs.
- the PW2 segment shown in Figure 10 belongs to the P2MP type, and the SPE1 and the three leaf nodes TPE2, TPE3, and TPE4.
- the configured LSP information may be an identifier of the LSP, for example, an LSP quintuple, including a source IP address, a destination IP address, a protocol number, a source port, and a destination port.
- the source TPE sends an LDP packet, where the LDP packet carries the AGI, the SAII information, and explicit routing information.
- the FEC information extended as shown in FIG. 2A and FIG. 2B can be used to carry the AGI, the SAII information, and the explicit routing information.
- the group information to which the AGI and the leaf TPE belong is configured on the leaf TPE node.
- the LDP packet further carries LSP information that carries the PW segment. For example, if the source TPE is configured to carry the LSP information, the LDP packet sent by the source TPE further carries the configured LSP information.
- the LDP packet may further carry a label of a reverse P2P MS-PW that establishes a leaf TPE to source TPE data traffic.
- a reverse P2P MS-PW that establishes a leaf TPE to source TPE data traffic.
- the P2P MS-PW is unidirectional, that is, only transmitted from the source.
- the data traffic of the leaf TPE to the source TPE may carry the label required for establishing the reverse P2P MS-PW, and the label required to establish the reverse P2P MS-PW and the slave source TPE are established.
- the tags required for the P2MP MS-PW to the leaf TPE can be sent simultaneously.
- the SPE After receiving the LDP packet, the SPE checks whether the SPE information carried in the explicit routing information matches the self. If the SPE matches the outgoing port, the SPE uses the explicit routing information to find the outbound port of the LDP packet. The LDP packet is forwarded out.
- the PW segment can be bound to the corresponding LSP.
- the multiple outgoing ports herein refer to the case where the PW segment in the P2MP MS-PW to be established is P2MP.
- the LDP packet carries the PW segment carrying the P2MP MS-PW. LSP information, so the PW segment can be bound to the corresponding LSP according to the LSP information.
- the leaf TPE receives the LDP packet and completes the establishment of the P2MP MS-PW.
- the leaf TPE can establish a P2P MS-PW to the source TPE, and the leaf TPE sends data traffic to the source TPE.
- the source TPE can simultaneously send the label required to establish the P2P MS-PW of the leaf TPE to the source TPE when the P2MP MS-PW label is sent.
- FIG. 4 and FIG. 6 to FIG. 7 are schematic diagrams of a scenario for providing segment redundancy protection of a P2MP MS-PW.
- TPE1 is the source node and TPE2 ⁇ TPE5 are the leaf nodes.
- the scenario of the P2MP MS-PW segmentation protection to which the present embodiment is applicable is not limited to this.
- the P2MP MS-PW establishment process with segment protection is shown in Figure 5, including:
- Source TPE configuration P2MP MS-PW establishment information including AGI, SAII, explicit routing information, and active and standby information of explicit routes.
- the active and standby information of an explicit route may be the primary and backup information of the SPE node in the explicit route.
- the active/standby information is used to identify the active/standby status of the SPE node or the SPE node.
- the SPE node or the SPE node in the active state is the device that is preferentially selected when forwarding data packets. Port; A device or port in standby will start working when the primary device and port fail.
- the bearer LSP information may be configured in the source TPE in advance.
- the group to which the AGI and the leaf TPE node belong is also configured on the leaf TPE node. And other information.
- An LDP session is established between the source TPE and the SPE node, and between the SPE node and the leaf TPE node.
- the source TPE sends the LDP packet, and the LDP packet carries the AGI and SAIL explicit routing information configured by the source TPE and the active and standby information of the explicit route.
- the FEC information extended as shown in FIG. 2A and FIG. 2B can be used to carry the AGI, SAII information, explicit routing information, and explicit routing information.
- the active/standby information of the explicit route may be carried in the explicit routing TLV in multiple manners.
- the SPE1 active/standby field and the SPEn active/standby field are included in the explicit routing TLV, which is used to carry the active and standby information of SPE1 to SPEn.
- SPEn represents the identity of multiple SPEs from 2 to n, where n is a natural number.
- the explicit routing TLV includes the primary and secondary information of the SPE1 and the SPE2. If the SPE1 is included, the explicit routing TLV includes the SPE1. Active/standby information of SPE2 and SPE3.
- the SPE node's active/standby information can be identified by using one bit. For example, when the SPE1 active/standby field and the SPEn Active/Backup field are 1, the corresponding SPE node is used. A value of 0 indicates that the corresponding SPE node is standby.
- the active/standby information of the SPE node can also be carried in the explicit routing TLV in the manner shown in FIG. 2D.
- the SPEn identifier (SPEn identifier) sub-tlv field is used to identify the information of each SPE node.
- the format of the SPEn identifier sub-tlv can be as shown in Figure 2E.
- the SPEn active/backup status field of 1 indicates that the corresponding SPE node is the primary, and the 0 indicates that the corresponding SPE node is the backup. .
- the LDP packet may further carry LSP information of the PW segment.
- the SPE After receiving the LDP packet, the SPE checks whether the SPE information carried in the explicit routing information matches the self. If the SPE matches, the SPE searches the outbound port of the LDP packet according to the explicit routing information. LDP packet, and based on the explicit route in the LDP packet The backup information determines the primary and backup status of the port;
- the SPE searches for the outbound port of the LDP packet according to the explicit routing information, and then uses the egress port to forward the LDP packet, and the LDP packet is forwarded not only in the egress port where the active state is used.
- the LDP packet is also forwarded in the outbound port.
- the SPE determines the primary and backup status of the discovered outgoing port according to the primary and secondary information of the explicit route. The SPE preferentially selects the port in the active state when forwarding data packets without a fault; When the main port fails, it will start working.
- the PW segment is bound to the corresponding LSP according to the LSP information of the PW segment carrying the P2MP MS-PW carried in the LD P packet, if the number of the outbound ports of the packet is multiple. set.
- Leaf The TPE receives the message and completes the P2MP MS-PW setup, which includes establishing the PW segment for the backup.
- the PW segment can be P2MP or P2P.
- the source TPE further configures the primary and secondary information of the explicit route, thereby providing PW segmentation protection, P2P PW segmentation protection, and P2MP PW segmentation and P2P PW segmentation combination protection of the P2MP MS-PW.
- This embodiment provides a method for establishing a P2MP MS-PW, which provides segment protection for a P2P MS-PW by establishing a virtual P2MP MS-PW.
- the virtual P2MP MS-PW refers to the P W established by the P2MP MS-PW mode, but only one P2P PW between the leaf node and the source node works, and the PWs of other leaf nodes and source nodes do not forward data.
- An example of the application scenario of the method for establishing a P2MP MS-PW is as shown in FIG. 8A.
- TPE1 is a source node
- TPE2 and TPE3 are leaf nodes
- the standby TPE3 is regarded as a virtual P2MP MS-PW connected to the CE.
- the PW between CE1 and CE2 shown in Figure 8A can be regarded as a virtual P2MP MS-PW, but the PW is still the P2P MS-PW between CE1 and CE2.
- the process of establishing the P2MP MS-PW is as shown in FIG. 8B, and includes:
- the TPE1 node is configured with virtual P2MP MS-PW establishment information, including AGI. SAII information, explicit routing information, and active and standby information of explicit routes.
- the source TPE may also configure bearer LSP information in 71.
- the TAII information is corresponding to the SAII configured in the 71, and is used to identify the destination node in the process of establishing the P2P MS-PW.
- the P2P MS-PW is used for segmentation protection, it is necessary to ensure that the PW is established in both directions of the P2P MS-PW. Therefore, the destination information needs to be configured on the leaf node, and the destination information is also configured in the 71.
- the TPE1 node sends an LDP packet, where the LDP packet carries the AGI, the SAII information, the explicit routing information, and the active and standby information of the explicit route.
- the active/standby information of the explicit route may be the primary and backup information of the SPE.
- the FEC information extended as shown in FIG. 2A and FIG. 2B can be used to carry the AGI, SAII information, explicit routing information, and explicit routing information.
- the active and standby information of the explicit route may be carried in the explicit routing TLV in multiple manners, for example, may be carried in the explicit routing TLV in the form of FIG. 2C or FIG. 2D.
- the LDP packet may further carry LSP information of the PW segment.
- the SPE After receiving the LDP packet, the SPE checks whether the SPE information in the explicit routing information carried in the LDP packet matches the self. If the SPE matches the outgoing port of the LDP packet, the SPE uses the explicit routing information. The outbound port forwards the LDP packet, and determines the active/standby status of the egress port on the SPE node according to the primary and backup information of the explicit route carried in the LDP packet.
- the SPE searches for the outbound port of the LDP packet according to the explicit routing information, and then uses the egress port to forward the LDP packet, and the LDP packet is forwarded not only in the egress port where the active state is used.
- the LDP packet is also forwarded in the outbound port.
- the SPE determines the primary and backup status of the discovered outbound port according to the primary and secondary information of the explicit route. When the SPE forwards the data packet, the SPE preferentially selects the port in the active state. A port in standby will start working when the primary port fails.
- the PW segment is bound to the corresponding LSP according to the LSP information of the PW segment carrying the P2MP MS-PW carried in the LD P packet, if the number of the outbound ports of the packet is multiple. set.
- the TPE2 and the TPE3 node receive the 4th essay and complete the virtual P2MP MS-PW establishment.
- the PW segment of the SPE1 to TPE1 is the primary segment, and the PW segment of the SPE1 to TPE2 is the standby.
- the TPE2 and the TPE3 send the LDP packet to the TPE1 to complete the reverse direction of the P2P MS-PW according to the explicit routing information and the active and standby information of the explicit route.
- the explicit T2 packet is configured on the source TPE, and the primary and backup information of the explicit routing information is sent, and the LDP packet carrying the explicit routing information and the explicit routing information in the active/standby state is sent to establish a virtual P2MP. MS-PW.
- This embodiment provides a method for establishing a P2MP MS-PW. Similar to the third embodiment, the method establishes a P2MP MS-PW with a segmentation protection function by establishing a virtual P2MP MS-PW. The difference is that the source TPE of the virtual P2MP MS-PW sends the label of the source TPE to the P2MP MS-PW of the leaf TPE and sends the label of the leaf TPE to the P2P MS-PW of the source TPE to establish a reverse P2P MS-PW. Reverse data from the leaf TPE to the source TPE.
- the application scenario example is still shown in Figure 8A.
- the establishment process of the P2MP MS-PW is as shown in FIG. 8C, and includes:
- the TPE1 node is configured with virtual P2MP MS-PW establishment information, including AGI, SAII information, explicit routing information, and active and standby information of explicit routes.
- the LSP information of the PW segment carrying the P2MP MS-PW may be further configured.
- AGI, TAII, and the like are configured on the TPE2 and TPE3 nodes.
- the TPEl node sends an LDP packet, where the LDP packet carries the AGI, the SAII information, the explicit routing information, and the active and standby information of the explicit route, and the LDP packet carries the TPE1 with the upstream label allocation mode and The label required for establishing the PW of TPE1 to TPE2 and the label information required to establish the PW of TPE1 to TPE3, and the PW required to establish the TPE2 i'J TPEl, and the PW of the TPE3 TPE1. Need ⁇ ; label.
- the active/standby information of the explicit route may be the primary and backup information of the SPE.
- the LDP packet may further carry LSP information that carries the PW segment.
- the SPE After receiving the LDP packet, the SPE checks whether the SPE information in the explicit routing information carried in the LDP packet matches the LDP packet. If the SPE matches the outgoing port of the LDP packet, the SPE uses the explicit routing information. The outbound port forwards the LDP packet, and determines the active/standby status of the egress port on the SPE node according to the primary and backup information of the explicit route carried in the LDP packet.
- the PW segment is bound to the corresponding LSP according to the LSP information of the PW segment carrying the P2MP MS-PW carried in the LD P packet, if the number of the outbound ports of the packet is multiple. set.
- the TPE2 and TPE3 nodes receive 4 ,, complete the virtual P2MP MS-PW establishment, where SPE1 to TPE1 are used as the primary, SPE1 to TPE2 are reserved, and the reverse P2P MS-PW is established at the same time. .
- the TPE1 sends the label required to establish the PW of the leaf TPE to the source TPE, and the secondary transmission of the LDP packet is avoided.
- the P2P MS-PW segmentation protection provided by the invention is not limited thereto.
- the invention can provide the establishment of a P2P MS-PW with segmentation protection, and can provide protection for multiple consecutive or non-contiguous segmentation P2P MS-PW segments.
- the BGP packet carrying the explicit routing information is sent in the source TPE, and the LDP packet carrying the explicit routing information is dynamically generated, and the dynamic establishment of the P2MP MS-PW based on the explicit routing is implemented, and the complexity of introducing the BGP/IGP is avoided.
- the signaling mechanism avoids the complicated configuration of PW inter-segment mapping during static configuration.
- the foregoing method embodiment can be used to establish an MS-PW of any multi-hop, and further, by configuring explicit routing information and explicit routing information in the source TPE.
- the LDP packet carrying the active and standby status of the explicit routing information and the explicit routing information is sent to implement the establishment of the P2MP MS-PW and the P2P MS-PW with the segmentation protection function.
- FIG. 9 is a schematic structural diagram of a source TPE device according to an embodiment of the present invention.
- the source TPE device includes: a configuration unit 91 and a transmission unit 92.
- the configuration unit 91 is configured to configure P2MP MS-PW establishment information, where the P2MP MS-PW establishment information includes explicit routing information.
- the explicit routing information may be, for example, an identifier of an SPE on a P2MP MS-PW to be established.
- the establishment information further includes an auxiliary group information AGI, a source auxiliary node identifier, and a SAIL.
- the sending unit 92 is configured to send, to the SPE, an LDP packet carrying the P2MP MS-PW setup information, so that after receiving the LDP packet, the SPE finds the foregoing according to the explicit routing information.
- An outbound port of the LDP packet, and the LDP packet is forwarded by using the egress port.
- the configuration unit is further configured to configure LSP information that carries the P2MP MS-PW.
- the LDP packet further carries the LSP information.
- the LDP file may further carry a label for establishing a PW required to transmit the traffic of the leaf TPE to the source TPE.
- the explicit routing information configured by the configuration unit 91 further includes the active and standby information of the explicit routing, so that the SPE determines the active/standby state of the SPE according to the primary and secondary information of the SPE.
- the configuration unit 91 can be specifically configured to configure virtual P2MP MS-PW establishment information. See the description in the above method embodiment for details.
- the source TPE device configures the explicit routing information of the P2MP MS-PW and sends the LDP packet of the P2MP MS-PW that carries the P2MP MS-PW explicit routing information to complete the establishment of the P2MP MS-PW.
- a large number of complicated configuration operations simplify the P2MP MS-PW establishment process and improve the efficiency of P2MP MS-PW establishment.
- the embodiment of the present invention further provides a system for establishing a P2MP MS-PW, where the system includes a source TPE, an SPE, and a leaf TPE, where the P2MP MS-PW establishment information is configured in the source TPE, and the P2MP MS-PW is established.
- the information includes the explicit routing information, and sends the LDP packet carrying the P2MP MS-PW setup information.
- the SPE is configured to receive the LDP packet, and find the foregoing according to the SPE identifier in the explicit routing information.
- the outbound port of the LDP packet, and the LDP packet is forwarded by using the egress port; the leaf TPE receives the LDP packet forwarded by the SPE.
- the number of source TPEs, SPEs, and leaf TPEs is not limited, depending on the actual network conditions.
- the bearer LSP information may be configured on the source TPE; the LDP packet further carries the information of the LSP of the P2MP MS-PW that is established by the active TPE, that is, the LSP information of the PW segment.
- the LDP packet may further carry a label for establishing a PW required to transmit the leaf TPE to the source TPE data traffic.
- the P2MP MS-PW setup information includes the active and standby information of the explicit route.
- the SPE is further configured to determine, according to the primary and backup information of the explicit route, the forwarding operation of the LDP packet.
- the explicit routing information may be the primary and backup information of the SPE.
- the SPE is further configured to determine the active/standby status of the SPE or the active/standby information of the port of the SPE according to the primary and secondary information of the SPE. .
- the leaf TPE 2 of the solid line frame in the virtual P2MP MS-PW system is in the active state, and the leaf TPE 3 in the dotted frame is in the standby state.
- the P2MP MS-PW setup information is virtual P2MP MS-PW setup information.
- FIG. 10 is a schematic structural diagram of another P2MP MS-PW system according to an embodiment of the present invention.
- the P2MP MS-PW system provided by the embodiment of the present invention may also be as shown in FIG. 4 and FIG. 6 to FIG. 7.
- the P2MP MS-PW system dynamically establishes the P2MP MS-PW.
- the specific process of establishing a P2MP MS-PW in the system for establishing a P2MP MS-PW provided in this embodiment refer to the description in the foregoing method embodiment, and details are not described herein again.
- the system embodiment implements dynamic establishment of P2MP MS-PW based on explicit PW routing, and avoids introducing BGP by configuring P2MP MS-PW establishment information and transmitting LDP packets carrying P2MP MS-PW establishment information in the source TPE. /IGP's complex signaling mechanism avoids the complex configuration of PW inter-segment mapping during static configuration.
- the above method embodiments can be used for the establishment of any multi-hop MS-PW.
- P2MP with segment protection is implemented by configuring the primary and secondary information of the explicit routing information and the explicit routing information in the source TPE, and transmitting the LDP packet carrying the explicit routing information and the explicit routing information. Establishment of MS-PW and P2P MS-PW.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种建立P2MP MS-PW的方法、设备及系统,所述方法包括:源终结运营商边缘TPE配置P2MP MS-PW建立信息,所述P2MP MS-PW建立信息包括显式路由信息;所述源TPE向交换运营商边缘SPE发送携带有所述P2MP MS-PW建立信息的标签交换协议LDP报文;所述SPE接收到所述LDP报文后,根据所述显式路由信息找到所述LDP报文的出端口,并使用所述出端口转发所述LDP报文。
Description
建立 P2MP MS-PW的方法、 设备及系统 本申请要求于 2011 年 8 月 25 日提交中国专利局、 申请号为 201110245536.6、 发明名称为 "建立 P2MP MS-PW的方法、 设备及系统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明涉及伪线建立技术, 尤其涉及一种建立 P2MP MS-PW的方法、 源终结运营商边缘设备及 P2MP MS-PW系统。 背景技术
伪线 PW ( Pseudo Wire )用来仿真用户边缘 CE ( Customer Edge )设备 之间的用户业务。 PW的应用分为点到点伪线 P2P PW ( Point-to-Point PW ) 和点到多点伪线 P2MP PW ( Point-to-Multi Point PW ) 两种方式。 对于点到 多点业务, 为了保证资源的有效利用,通过建立 P2MP PW来保证点到多点 业务需求。 P2MP PW为源节点到叶子节点单向传输的 PW, 实现组播业务 仿真。 通过部署 P2MP PW, 在网络的合适节点部署流量复制点, 实现流量 优化并合理利用资源。 P2MP PW 分为点到多点单段伪线 P2MP SS-PW ( P2MP Single Segment PW ) 和点到多点多段伪线 P2MP MS-PW ( P2MP Multi- Segment PW )。
P2MP MS-PW的建立目前仅有静态建立方式。建立时,首先建立 P2MP MS-PW的各分段, 然后手工配置初始分段与后续各分段之间的映射关系。
釆用静态方式建立 P2MP MS-PW有如下缺点:
由于 P2MP PW涉及大量设备, 静态配置工作负担较重, 缺乏效率, 并 且如果配置失误将对业务造成很大的损失。 发明内容
本发明实施例提出一种建立 P2MP MS-PW的方法、 源终结运营商边缘 设备及 P2MP MS-PW系统, 以实现 P2MP MS-PW的动态建立, 避免在交 换运营商边缘 SPE ( switch/switching provider edge )节点上配置 PW分段间
映射。
本发明实施例提供了一种建立点到多点多分段伪线 P2MP MS-PW的方 法, 包括:
源终结运营商边缘 TPE 配置 P2MP MS-PW 建立信息, 所述 P2MP MS-PW建立信息包括显式路由信息;
所述源 TPE向交换运营商边缘 SPE发送携带有所述 P2MP MS-PW建 立信息的标签交换协议 LDP报文;
所述 SPE接收到所述 LDP报文后, 根据所述显式路由信息找到所述 LDP报文的出端口, 并使用所述出端口转发所述 LDP报文。
本发明实施例还提供了一种源终结运营商边缘设备, 包括:
配置单元, 用于配置点到多点多分段伪线 P2MP MS-PW建立信息, 所 述 P2MP MS-PW建立信息包括显式路由信息;
才艮文发送单元, 用于向交换运营商边缘 SPE 发送携带有所述 P2MP MS-PW建立信息的标签交换协议 LDP报文,以使所述 SPE接收到所述 LDP 报文后, 根据所述显式路由信息找到所述 LDP报文的出端口, 并使用所述 出端口转发所述 LDP报文。
本发明实施例还提供了一种点到多点多分段伪线 P2MP MS-PW系统, 包括源终结运营商边缘 TPE、 交换运营商边缘 SPE及叶子 TPE, 其中, 在 所述源 TPE配置 P2MP MS-PW建立信息 , 所述 P2MP MS-PW建立信息包 括显式路由信息, 并发送携带有所述 P2MP MS-PW建立信息的标签交换协 议 LDP报文; 所述 SPE用于接收所述 LDP报文, 根据所述显式路由信息 中的 SPE标识找到所述 LDP报文的出端口, 并使用所述出端口转发所述 LDP报文; 所述叶子 TPE接收所述 SPE转发的所述 LDP报文。
本发明实施例提供的建立 P2MP MS-PW的方法、 源终结运营商边缘设 备及 P2MP MS-PW系统 , 通过在源 TPE配置 P2MP MS-PW的显式路由信 息并发送携带 P2MP MS-PW显式路由信息的 P2MP MS-PW的 LDP报文 , 完成 P2MP MS-PW 建立, 避免了大量且复杂的配置操作, 简化了 P2MP
MS-PW建立过程, 提高了 P2MP MS-PW的建立效率。
附图说明 为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例中所 需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动 性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例提供的一种建立 P2MP MS-PW的方法的流程图; 图 2A 为本发明实施例提供的建立 P2MP MS-PW 的方法中 P2MP MS-PW FEC信息的一种结构示意图;
图 2B 为本发明实施例提供的建立 P2MP MS-PW 的方法中 P2MP MS-PW FEC信息的另一种结构示意图;
图 2C 为本发明实施例提供的建立 P2MP MS-PW 的方法中 P2MP MS-PW FEC信息的再一种结构示意图;
图 2D 为本发明实施例提供的建立 P2MP MS-PW 的方法中 P2MP MS-PW FEC信息的又一种结构示意图;
图 2E为图 2D中 " SPEn标识 sub-TLV" 字段的结构示意图;
图 3为本发明实施例一提供的建立 P2MP MS-PW的方法的流程图; 图 4为本发明实施例提供的建立 P2MP MS-PW的方法所应用的一种 P2MP MS-PW系统结构示意图;
图 5为本发明实施例二提供的建立 P2MP MS-PW的方法的流程图; 图 6为本发明实施例提供的建立 P2MP MS-PW的方法所应用的另一种 P2MP MS-PW系统结构示意图;
图 7为本发明实施例提供的建立 P2MP MS-PW的方法所应用的又一种 P2MP MS-PW系统结构示意图;
图 8A为本发明实施例通过建立虚拟 P2MP MS-PW 的方法提供 P2P MS-PW分段保护的示意图;
图 8B为本发明实施例三提供的建立 P2MP MS-PW的方法的流程图; 图 8C为本发明实施例四提供的建立 P2MP MS-PW的方法的流程图; 图 9为本发明实施例提供的源 TPE设备的结构示意图;
图 10为本发明实施例提供的另一种 P2MP MS-PW系统的结构示意图。
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。
图 1为本发明实施例提供的一种建立 P2MP MS-PW的方法的流程图。 如图 1所示, 建立 P2MP MS-PW的方法包括:
11、 源终结运营商边缘 TPE ( Terminating Provider Edge ) 配置 P2MP MS-PW建立信息, 所述 P2MP MS-PW建立信息包括显式路由信息。
所述显式路由信息即 PW 路由信息, 例如可以为要建立的 P2MP MS-PW上的 SPE的标识。
12、所述源 TPE向 SPE发送携带有所述 P2MP MS-PW建立信息的 LDP 报文。
13、 所述 SPE接收到所述 LDP报文后, 根据所述显式路由信息找到所 述 LDP报文的出端口, 并使用所述出端口转发所述 LDP报文。
本发明实施例提供的建立 P2MP MS-PW的方法, 在源 TPE配置 P2MP MS-PW建立信息时, 可以进一步包括: 所述源 TPE 配置承载所述 P2MP MS-PW的 LSP信息;
相应地, 源 TPE发送 LDP报文时, 所述 LDP报文还携带所述 LSP信 息, 例如该 LSP信息可以包括承载所述 P2MP MS-PW中每个 PW分段的
LSP的信息。
为了建立传送叶子 TPE到源 TPE的反向数据所需的反向 PW,所述 LDP 报文中还可以携带有建立传送所述叶子 T P E到所述源 T P E的数据流量所需 PW的标签。
为了对建立的 P2MP MS-PW中的 PW分段提供保护, 本发明实施例提 供的建立 P2MP MS-PW的方法中, 在 P2MP MS-PW建立过程中设置 PW 分段的主用和备用特性, 相应地, 所述显式路由信息还包括显式路由的主 备信息; 并且相应地, 所述 SPE还进一步根据所述显式路由的主备信息确 定所述出端口的主备状态。举例来说,可以在所述显式路由信息中包括 SPE 的主备状态信息, 或者在所述显式路由信息中包括转发所述 LDP报文的出 端口的主备状态信息; 相应地, 收到所述 P2MP MS-PW的 LDP报文的所 述 SPE可以根据所述 SPE的主备状态信息或者所述转发所述 LDP报文的 出端口的主备状态信息, 确定自身的主备状态或者转发所述 LDP报文的出 端口的主备状态, 从而确定相应的 PW分段的主备状态。
举例来说, 为了实现 P2P MS-PW的分段保护, 所述源 TPE配置 P2MP MS-PW建立信息可以包括: 所述源 TPE配置虚拟的 P2MP MS-PW建立信 息。
本实施例中, 通过在源 TPE配置 PW的显式路由信息并在发送 P2MP MS-PW的 LDP报文中携带 PW显式路由信息完成 P2MP MS-PW的建立, 避免了大量复杂的配置操作, 简化了 P2MP MS-PW 的建立过程, 提高了 P2MP MS-PW的建立效率。 进一步地, 通过在源 TPE配置显式路由的主备 信息, 将上述 P2MP MS-PW的建立方法扩展应用于 P2MP MS-PW的分段 灵活保护。 进一步地, 通过在源 TPE配置虚拟的 P2MP MS-PW建立信息 并通过在发送的 LDP报文中携带虚拟 P2MP MS-PW的建立信息, 实现了 具有分段保护功能的 P2MP MS-PW的建立。
举例来说,本实施例中的 LDP报文可以在标准的 P2MP SS-PW建立信 令的 LDP报文基础上改进得到。 本发明实施例在标准的 LDP报文中定义
了一种新的类型长度值 TLV ( type-length-value )一显式路由 TLV ( explicit route TLV ), 显式路由 TLV携带了 P2MP MS-PW上的 SPE的相关信息, 如 P2MP MS-PW上的多个 SPE的标识( SPEn Identifier )。上述的显式路由 TLV 可以作为 P2MP SS-PW 转发等价类 FEC ( Forwarding Equivalence Class ) 信息的一部分,也可以与 P2MP SS-PW FEC信息并列作为 LDP报文的一部 分。
SPE设备在接收到 LDP报文时, 通过读取该 TLV信息来对 LDP报文 进行处理, 并发起 P2MP PW中的下一个 PW分段 ( segment ) 的建立。
举例来说, 显式路由信息可以通过如图 2A和图 2B所示的格式携带, 其中显式路由信息的 SPE节点信息可以如图 2A所示携带在 TLV的值部分 (图 2A中的 SPEn标识)。 或者如图 2B所示, 显式路由信息的 SPE节点 信息也可以通过 sub-tlv的形式来携带。例如,在显式路由每一跳 TLV( each hop sub-tlv ) 中携带 SPE信息, 并且可以进一步地携带从所述 SPE起始的 LSP的信息。
图 2A、 2B 中类型 (Type ) 值与标准不冲突, 选取遵循 RFC3036 , 可 使用预留值中的任意一个,或者其他与现有 TLV不冲突的值。长度( Length ) 值为可变值, 第一个 length标识的是 FEC的长度, 第二个 length标识的是 AGI长度, 第三个 length标识的是附属节点标识 ΑΠ (Attachment Individual Identifier)长度。显式路由 TLV中的 Length标识的是 SPEn标识字段的长度。 其中, 可选参数( Optional parameters ) 字段也可以用来携带下一跳信息或 转发出端口,以使 SPE可以直接根据下一跳信息或转发出端口找到 LDP报 文的出端口。
需要说明的是图 2A及图 2B给出的是两个具体的 P2MP PW FEC实例, 实际的 P2MP PW FEC不限于此。
以下通过四个具体的实施例对建立 P2MP MS-PW 的方法作进一步说 明。
实施例一
P2MP MS-PW的建立过程如图 3所示, 包括:
31:源 TPE配置 P2MP MS-PW建立信息。 所述 P2MP MS-PW建立信息 包括附属组信息 (Attachment Group Identifier , AGI )、 源附属节点标识 ( Source Attachment Individual Identifier, SAII ) 以及显式路由信息。
进一步地,可以预先在源 TPE配置承载 LSP信息。举例来说,在 P2MP MS-PW中的 PW分段为 P2MP时 , 需要对 P2MP MS-PW配置承载 PW分 段的 LSP信息。这里, P2MP的 P2MP MS-PW分段即一个 SPE与多个 SPE 或多个 TPE相连的情况,如图 10所示的 PW2分段就属于 P2MP类型 , SPE1 与三个叶子节点 TPE2、 TPE3及 TPE4相连。 举例来说, 配置的 LSP信息 可以为该 LSP的标识, 例如可以是 LSP五元组, 包括源 IP地址、 目的 IP 地址、 协议号、 源端口、 目的端口。
32: 源 TPE和 SPE节点, 以及 SPE节点和叶子 TPE之间建立 LDP会 话。
33 : 源 TPE发送 LDP报文, 该 LDP报文中携带所述 AGI、 所述 SAII 信息及显式路由信息。
举例来说,此处可以使用如图 2A和图 2B所示扩展的 FEC信息来携带 所述 AGI、 所述 SAII信息及显式路由信息。
进一步地, 在叶子 TPE节点上配置 AGI、 叶子 TPE所属的组信息。 进一步地, 所述 LDP报文还携带承载 PW分段的 LSP信息。 例如, 可 以在源 TPE配置了承载 LSP信息的情况下, 在源 TPE发送的 LDP报文进 一步携带所述配置的 LSP信息。
进一步地, 所述 LDP报文还可以携带建立发送叶子 TPE到源 TPE数 据流量的反向 P2P MS-PW的标签。 举例来说, 由于某些业务可能需要叶子 TPE向源 TPE发送数据流量, 因此就需要建立叶子 TPE到源 TPE的反向 P2P MS-PW, 该 P2P MS-PW为单向, 也就是只传送从叶子 TPE向源 TPE 的数据流量。 具体地, 可以在源 TPE发送的 LDP报文中携带建立反向 P2P MS-PW所需的标签, 该建立反向 P2P MS-PW所需的标签和建立从源 TPE
到叶子 TPE的 P2MP MS-PW所需的标签可以同时发送。
34: SPE收到 LDP报文后, 检查显式路由信息中携带的 SPE信息是否 与自身匹配, 如匹配, 则通过该显式路由信息查找 LDP报文的出端口, 并 使用所述出端口将所述 LDP报文转发出去。
进一步地, 如果通过该显式路由信息查找到的 LDP报文的出端口有多 个出端口, 则可将 PW分段绑定相应的 LSP。 其中, 这里的多个出端口是 指的要建立的 P2MP MS-PW中的 PW分段为 P2MP的情况,对于这种情况 , 在 LDP报文中携带了承载 P2MP MS-PW的 PW分段的 LSP信息, 因此可 以根据所述 LSP信息将 PW分段与相应的 LSP进行绑定。
35: 叶子 TPE收到 LDP报文, 完成 P2MP MS-PW的建立。
进一步地,叶子 TPE可以建立到源 TPE的 P2P MS-PW,用于叶子 TPE 向源 TPE发送数据流量。 举例来说, 源 TPE可以在发送 P2MP MS-PW标 签时, 同时发送建立叶子 TPE到源 TPE的 P2P MS-PW所需的标签。
实施例二
图 4、图 6〜图 7为提供 P2MP MS-PW的分段冗余保护的场景的示意图。 图 4、 图 6〜图 7中, TPE1为源节点, TPE2~TPE5为叶子节点。 实际本实 施例适用的 P2MP MS-PW分段保护的场景不限于此。具有分段保护功能的 P2MP MS-PW建立过程如图 5所示, 包括:
51 : 源 TPE配置 P2MP MS-PW建立信息, 其中包括 AGI、 SAII、 显式 路由信息以及显式路由的主备信息。
举例来说, 显式路由的主备信息可以是显式路由中的 SPE节点的主备 信息。这里的主备信息用来标识 SPE节点或者 SPE节点的端口的主备状态, 其中处于主用状态的 SPE节点或 SPE节点的端口就是在无故障情况下, 转 发数据报文时优先选择的设备或端口; 而处于备用状态的设备或端口当主 用的设备和端口故障的时候将会启动工作。
进一步地, 还可以预先在源 TPE配置承载 LSP信息。
进一步地, 还在叶子 TPE节点上配置 AGI和叶子 TPE节点所属的组
等信息。
52: 源 TPE和 SPE节点, 以及 SPE节点和叶子 TPE节点间建立 LDP 会话。
53 : 源 TPE发送 LDP报文, 该 LDP报文中携带源 TPE配置的所述 AGI、 SAIL 显式路由信息以及显式路由的主备信息。
举例来说,此处可以使用如图 2A和图 2B所示扩展的 FEC信息来携带 所述 AGI、 SAII信息、 显式路由信息和显式路由的主备信息。 其中, 所述 显式路由的主备信息可以以多种方式携带在显式路由 TLV中。 例如, 可以 如图 2C所示, 在显式路由 TLV中包含 SPE1主用 /备用字段及 SPEn主用 / 备用字段, 用来携带 SPE1至 SPEn的主备信息。 这里 SPEn代表从 2至 n 多个 SPE的标识, 其中 n为自然数。 例如, 在要建立的 P2MP MS-PW上包 括 2个 SPE, 则所述显式路由 TLV中包含 SPE1和 SPE2的主备信息, 如 果包括 3个 SPE, 则所述显式路由 TLV中包含 SPE1、 SPE2和 SPE3的主 备信息。
其中 SPE节点的主备信息可以使用一个比特(bit )来标识,例如当 SPE1 主用 /备用字段及 SPEn主用 /备用字段 (SPEn Active/backup ) 字段为 1 表 示对应的 SPE节点为主用, 为 0 表示对应的 SPE节点为备用。
再例如, SPE节点的主备信息也可以以图 2D所示的方式携带在显式路 由 TLV中。
其中 SPEn标识 ( SPEn identifier ) sub-tlv字段用来标识每个 SPE节 点的信息。 SPEn identifier sub-tlv的格式可以如图 2E所示, 例如, SPEn 主用 /备用状态 ( SPEn active/backup status ) 字段为 1表示对应的 SPE节点 为主用, 为 0 表示对应的 SPE节点为备用。
进一步地, 所述 LDP报文可以进一步携带 PW分段的 LSP信息。
54: SPE收到 LDP报文后, 通过检查显式路由信息中携带的 SPE信息 是否与自身匹配, 如匹配则根据该显式路由信息查找 LDP报文的出端口, 使用所述出端口转发所述 LDP报文, 并根据 LDP报文中的显式路由的主
备信息, 确定出端口的主备用状态;
具体地, SPE根据显式路由信息查找到 LDP报文的出端口, 然后使用 所述出端口转发所述 LDP报文, 需要说明的是不仅在处用主用状态的出端 口转发所述 LDP报文, 在处于备用状态的出端口也转发所述 LDP报文。 另外, SPE根据显式路由的主备信息, 确定查找到的出端口的主备用状态, SPE 在无故障情况下, 转发数据报文时优先选择处于主用状态的端口; 而 处于备用状态的端口当主用的端口故障的时候将会启动工作。
进一步地,对于查找到的报文的出端口为多个的情况,可以根据在 LD P 报文中携带的承载 P2MP MS-PW的 PW分段的 LSP信息将 PW分段与相应 的 LSP进行绑定。
55: 叶子 TPE收到 ^艮文, 完成 P2MP MS-PW建立, 其中包括建立处 于备用的 PW 分段。 该 PW 分段可以是 P2MP 也可以是 P2P的。 本实施 例中, 源 TPE 通过进一步配置显式路由的主备信息, 从而可提供 P2MP MS-PW的 PW 分段保护、 P2P PW分段保护、以及 P2MP PW 分段和 P2P PW 分段组合保护。
实施例三
本实施例提供一种建立 P2MP MS-PW的方法, 该方法通过建立虚拟的 P2MP MS-PW, 为 P2P MS-PW提供分段保护。 其中,虚拟的 P2MP MS-PW 是指以 P2MP MS-PW方式建立的 P W , 但是只有一个叶子节点和源节点之 间的 P2P PW是工作的, 而其他叶子节点和源节点的 PW不转发数据。 本 实施例提供的建立 P2MP MS-PW 的方法的应用场景实例如图 8A所示, TPE1 为源节点, TPE2及 TPE3 为叶子节点, 其中将备用的 TPE3看作与 CE连接的虚拟 P2MP MS-PW的 TPE节点, 则图 8A所示的 CE1与 CE2之 间的 PW可以看作虚拟的 P2MP MS-PW, 但实际上 PW仍然为 CE1与 CE2 之间的 P2P MS-PW。
本实施例 P2MP MS-PW的建立过程如图 8B所示, 包括:
71: TPE1节点配置虚拟的 P2MP MS-PW建立信息, 其中包括 AGI、
SAII信息、 显式路由信息以及显式路由的主备信息。
进一步地, 在 71中源 TPE还可以配置承载 LSP信息。
进一步地, TPE2和 TPE3节点上需要配置 AGI、 目标 ALL TAII( Target All ) 等信息。 其中 TAII信息是和 71 中配置的 SAII对应的, 用于在 P2P MS-PW的建立过程中标识目的节点。在该实施例中, 由于用于 P2P MS-PW 的分段保护, 需要保证 P2P MS-PW的两个方向都建立 PW, 因此需要在叶 子节点上配置目的信息, 该目的信息也就是 71 中配置的 SAII信息源节点 标识。
72: TPE1节点和 SPE节点, 以及 SPE节点和 TPE2和 TPE3节点间建 立 LDP会话。
73 : TPE1节点发送 LDP报文, 该 LDP报文中携带所述 AGI、 SAII信 息、 显式路由信息以及显式路由的主备信息。 其中, 所述显式路由的主备 信息可以是 SPE的主备信息。
举例来说,此处可以使用如图 2A和图 2B所示扩展的 FEC信息来携带 所述 AGI、 SAII信息、 显式路由信息和显式路由的主备信息。 其中, 所述 显式路由的主备信息可以以多种方式携带在显式路由 TLV中, 例如可以以 图 2C或者图 2D的形式携带在显式路由 TLV中。
进一步地, 所述 LDP报文可以进一步携带 PW分段的 LSP信息。
74: SPE收到 LDP报文后, 检查 LDP报文中携带的显式路由信息中 的 SPE信息是否与自身匹配,如匹配则通过该显式路由信息查找 LDP报文 的出端口, 使用所述出端口转发所述 LDP报文, 并根据 LDP报文中携带 的显式路由的主备信息, 确定 SPE节点上出端口的主备状态。
具体地, SPE根据显式路由信息查找到 LDP报文的出端口, 然后使用 所述出端口转发所述 LDP报文, 需要说明的是不仅在处用主用状态的出端 口转发所述 LDP报文, 在处于备用状态的出端口也转发所述 LDP报文。 另外, SPE根据显式路由的主备信息, 确定查找到的出端口的主备用状态, SPE 在无故障情况下, 转发数据报文时优先选择处于主用状态的端口; 而
处于备用状态的端口当主用的端口故障的时候将会启动工作。
进一步地,对于查找到的报文的出端口为多个的情况,可以根据在 LD P 报文中携带的承载 P2MP MS-PW的 PW分段的 LSP信息将 PW分段与相应 的 LSP进行绑定。
75: TPE2和 TPE3节点收到 4艮文, 完成虚拟的 P2MP MS-PW建立, 其中 SPE1到 TPE1的 PW分段为主用, SPE1到 TPE2的 PW分段为备用。
76: TPE2和 TPE3在收到 TPE1的 LDP才艮文后, 才艮据显式路由信息和 显式路由的主备信息, 向 TPE1发送 LDP报文, 完成 P2P MS-PW的反方 向的建立。
本实施例中, 在源 TPE上配置显式路由信息, 以及显式路由信息的主 备信息, 并发送携带显式路由信息以及显式路由信息的主备状态的 LDP报 文, 建立虚拟的 P2MP MS-PW。
实施例四
本实施例提供一种建立 P2MP MS-PW的方法, 与实施例三类似地, 该 方法通过建立虚拟的 P2MP MS-PW 从而建立具有分段保护功能的 P2P MS-PW。 不同之处在于, 虚拟 P2MP MS-PW的源 TPE发送源 TPE到叶子 TPE的 P2MP MS-PW的标签的同时发送叶子 TPE到源 TPE的 P2P MS-PW 的标签, 以建立反向 P2P MS-PW传送叶子 TPE到源 TPE的反向数据。 应 用场景实例仍如图 8A所示。
本实施例 P2MP MS-PW的建立过程如图 8C所示, 包括:
81 : TPE1节点配置虚拟的 P2MP MS-PW建立信息, 其中包括 AGI、 SAII信息、 显式路由信息以及显式路由的主备信息。
进一步地, 在 81中源 TPE可以进一步配置承载 P2MP MS-PW的 PW 分段的 LSP信息。
进一步地, TPE2和 TPE3节点上配置 AGI、 TAII等信息。
82: TPE1节点和 SPE节点, 以及 SPE节点和 TPE2和 TPE3节点间建 立 LDP会话。
83 : TPEl节点发送 LDP报文, 该 LDP报文中携带所述 AGI、 SAII信 息、 显式路由信息以及显式路由的主备信息, 并且该 LDP报文中同时携带 TPE1 以上游标签分配方式和下游标签分配方式分配的建立 TPE1 到 TPE2 的 PW所需的标签以及建立 TPE1到 TPE3的 PW所需的标签信息, 以及建 立 TPE2 i'J TPEl 的 PW所需^;标签和建立 TPE3 TPE1 的 PW所需 ^;标 签。 其中, 所述显式路由的主备信息可以是 SPE的主备信息。
进一步地, 所述 LDP报文可以进一步携带承载 PW分段的 LSP信息。
84: SPE收到 LDP报文后, 检查 LDP报文中携带的显式路由信息中 的 SPE信息是否与自身匹配,如匹配则通过该显式路由信息查找 LDP报文 的出端口, 使用所述出端口转发所述 LDP报文, 并根据 LDP报文中携带 的显式路由的主备信息, 确定 SPE节点上出端口的主备状态。
进一步地,对于查找到的报文的出端口为多个的情况,可以根据在 LD P 报文中携带的承载 P2MP MS-PW的 PW分段的 LSP信息将 PW分段与相应 的 LSP进行绑定。
85: TPE2和 TPE3节点收到 4艮文, 完成虚拟的 P2MP MS-PW建立, 其中 SPE1到 TPE1分段为主用, SPE1到 TPE2分段为备用, 并且同时完 成反方向 P2P MS-PW的建立。
本实施例中 , TPE1在发送建立源 TPE到叶子 TPE的 PW所需的标签 的同时发送建立叶子 TPE到源 TPE的 PW所需的标签, 避免了 LDP报文 的二次发送。 实际应用中, 该发明提供的 P2P MS-PW分段保护不限于此。 该发明可以提供具有分段保护功能的 P2P MS-PW的建立,能够提供多个连 续或非连续分段的 P2P MS-PW分段的保护。
上述方法实施例, 通过在源 TPE配置显式路由信息并发送携带显式路 由信息的 LDP报文, 实现了基于显式路由的 P2MP MS-PW的动态建立, 并且避免了引入 BGP/IGP的复杂信令机制, 避免静态配置过程中 PW分段 间映射的复杂配置工作。 上述方法实施例可用于任意多跳的 MS-PW 的建 立, 进一步地, 通过在源 TPE配置显式路由信息和显式路由的主备信息并
发送携带显式路由信息和显式路由信息的主备状态的 LDP报文, 实现了具 有分段保护功能的 P2MP MS-PW和 P2P MS-PW的建立。
实施例五
本发明实施例进一步提供一种源 TPE设备, 图 9为本发明实施例提供 的源 TPE设备的结构示意图。 如图 9所示, 源 TPE设备包括: 配置单元 91及^艮文发送单元 92。
配置单元 91用于配置 P2MP MS-PW建立信息, 所述 P2MP MS-PW建 立信息包括显式路由信息。 所述显式路由信息例如可以为要建立的 P2MP MS-PW上的 SPE的标识。
进一步地, 所述建立信息还包括附属组信息 AGI、 源附属节点标识 SAIL
才艮文发送单元 92用于向 SPE发送携带有所述 P2MP MS-PW建立信息 的 LDP报文, 以使所述 SPE接收到所述 LDP报文后, 根据所述显式路由 信息找到所述 LDP报文的出端口, 并使用所述出端口转发所述 LDP报文。
进一步地, 所述配置单元还用于配置承载 P2MP MS-PW的 LSP信息; 相应地, 所述 LDP报文还携带有所述 LSP信息。
进一步地,所述 LDP 文中还可携带有建立传送所述叶子 TPE到所述 源 TPE的流量所需 PW的标签。
进一步地,所述配置单元 91配置的所述显式路由信息还包括显式路由 的主备信息, 以使所述 SPE根据所述 SPE的主备信息, 确定所述 SPE的主 备状态。
所述配置单元 91可具体用于配置虚拟的 P2MP MS-PW建立信息。 具 体详见上述方法实施例中的说明。
本实施例中, 源 TPE设备通过配置单元配置 P2MP MS-PW的显式路 由信息并发送携带 P2MP MS-PW显式路由信息的 P2MP MS-PW的 LDP报 文,完成 P2MP MS-PW建立,避免了大量且复杂的配置操作, 简化了 P2MP MS-PW建立过程, 提高了 P2MP MS-PW的建立效率。
实施例六
本发明实施例进一步提供一种建立 P2MP MS-PW的系统, 所述系统包 括源 TPE、 SPE及叶子 TPE, 其中, 在所述源 TPE配置 P2MP MS-PW建立 信息, 所述 P2MP MS-PW建立信息包括显式路由信息, 并发送携带有所述 P2MP MS-PW建立信息的 LDP报文; 所述 SPE用于接收所述 LDP报文, 根据所述显式路由信息中的 SPE标识找到所述 LDP报文的出端口,并使用 所述出端口转发所述 LDP报文; 所述叶子 TPE接收所述 SPE转发的所述 LDP报文。 其中, 源 TPE、 SPE及叶子 TPE的数量不限, 由实际网络情况 而定。
进一步地, 可以在所述源 TPE上配置承载 LSP信息; 所述 LDP报文 还携带有源 TPE配置承载建立的所述 P2MP MS-PW的 LSP的信息即承载 PW分段的 LSP信息。
进一步地,所述 LDP ^艮文中还可以携带有建立传送所述叶子 TPE到所 述源 TPE数据流量所需 PW的标签。
所述 P2MP MS-PW建立信息包括所述显式路由的主备信息; 相应地, 所述 SPE还用于根据所述显式路由的主备信息确定所述 LDP报文的转发操 作。
举例来说, 所述显式路由信息可以为 SPE的主备信息; 相应地, 所述 SPE还用于根据所述 SPE的主备信息,确定 SPE的主备状态或者 SPE的端 口的主备信息。
叶子 TPE可以至少为两个, 其中一个叶子 TPE为主用状态, 一个叶子 TPE为备用状态。 如图 8A中所示的虚拟 P2MP MS-PW系统中实线框的叶 子 TPE 2为主用状态,虚线框的叶子 TPE 3为备用状态。相应地,所述 P2MP MS-PW建立信息为虚拟的 P2MP MS-PW建立信息。
图 10为本发明实施例提供的另一种 P2MP MS-PW系统的结构示意图。 本发明实施例提供的 P2MP MS-PW系统还可如图 4、图 6〜图 7所示。 P2MP MS-PW系统动态建立 P2MP MS-PW具体详见上述方法实施例的说明。
本实施例提供的所述建立 P2MP MS-PW的系统建立 P2MP MS-PW的 具体流程可以参见上述方法实施例中的说明, 在此不再赘述。
上述系统实施例通过在源 TPE配置 P2MP MS-PW建立信息并发送携 带 P2MP MS-PW建立信息的 LDP报文 , 实现了基于显式 PW路由的 P2MP MS-PW的动态建立, 并且避免了引入 BGP/IGP的复杂信令机制, 避免静 态配置过程中 PW分段间映射的复杂配置工作。 上述方法实施例可用于任 意多跳的 MS-PW的建立。 进一步地, 通过在源 TPE配置显式路由信息和 显式路由信息的主备信息并发送携带显式路由信息和显式路由的主备信息 的 LDP报文, 实现了具有分段保护功能的 P2MP MS-PW和 P2P MS-PW的 建立。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机 可读取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序 代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。
Claims
1、 一种建立点到多点多分段伪线 P2MP MS-PW的方法, 其特征在于, 包括:
源终结运营商边缘 TPE 配置 P2MP MS-PW 建立信息, 所述 P2MP MS-PW建立信息包括显式路由信息;
所述源 TPE向交换运营商边缘 SPE发送携带有所述 P2MP MS-PW建 立信息的标签交换协议 LDP报文;
所述 SPE接收到所述 LDP报文后, 根据所述显式路由信息找到所述 LDP报文的出端口, 并使用所述出端口转发所述 LDP报文。
2、 根据权利要求 1所述的建立 P2MP MS-PW的方法, 其特征在于, 还包括:
所述源 TPE配置承载所述 P2MP MS-PW的标签交换路径 LSP信息; 所述 LDP报文还携带有所述 LSP信息。
3、 根据权利要求 1或 2所述的建立 P2MP MS-PW的方法, 其特征在 于, 所述 LDP报文还携带有建立传送所述叶子 TPE到所述源 TPE的数据 流量所需伪线 PW的标签。
4、 根据权利要求 1 -3任一项所述的建立 P2MP MS-PW的方法, 其特 征在于, 所述显式路由信息包括显式路由的主备信息;
所述方法还包括: 所述 SPE根据所述显式路由的主备信息确定所述出 端口或所述 SPE的主备状态。
5、 根据权利要求 1 -4任一项所述的建立 P2MP MS-PW的方法, 其特 征在于, 还包括:
所述源 TPE配置虚拟的 P2MP MS-PW建立信息;
所述 LDP ^艮文还携带有所述虚拟的 P2MP MS-PW建立信息。
6、 一种源终结运营商边缘设备, 其特征在于, 包括:
配置单元, 用于配置点到多点多分段伪线 P2MP MS-PW建立信息, 所 述 P2MP MS-PW建立信息包括显式路由信息; 才艮文发送单元, 用于向交换运营商边缘 SPE 发送携带有所述 P2MP MS-PW建立信息的标签交换协议 LDP报文,以使所述 SPE接收到所述 LDP 报文后, 根据所述显式路由信息找到所述 LDP报文的出端口, 并使用所述 出端口转发所述 LDP报文。
7、 根据权利要求 6所述的源终结运营商边缘设备, 其特征在于, 所述 配置单元还用于配置承载所述 P2MP MS-PW的标签交换路径 LSP信息; 所述 LDP报文还携带有所述 LSP信息。
8、 根据权利要求 6或 7所述的源终结运营商边缘设备, 其特征在于, 所述 LDP报文还携带有建立传送所述叶子 TPE到所述源 TPE的数据流量 所需伪线 PW的标签。
9、 根据权利要求 6-8任一项所述的源终结运营商边缘设备, 其特征在 于, 所述配置单元配置的所述显式路由信息包括显式路由的主备信息, 以 使所述 SPE根据所述 SPE的主备信息, 确定所述 SPE的主备状态。
10、 一种点到多点多分段伪线 P2MP MS-PW系统, 包括源终结运营商 边缘 TPE、 交换运营商边缘 SPE及叶子 TPE, 其特征在于, 在所述源 TPE 配置 P2MP MS-PW建立信息, 所述 P2MP MS-PW建立信息包括显式路由 信息, 并发送携带有所述 P2MP MS-PW建立信息的标签交换协议 LDP报 文; 所述 SPE用于接收所述 LDP报文, 根据所述显式路由信息中的 SPE 标识找到所述 LDP报文的出端口, 并使用所述出端口转发所述 LDP报文; 所述叶子 TPE接收所述 SPE转发的所述 LDP ^艮文。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011102455366A CN102957611A (zh) | 2011-08-25 | 2011-08-25 | 建立p2mp ms-pw的方法、设备及系统 |
| CN201110245536.6 | 2011-08-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2013026399A1 true WO2013026399A1 (zh) | 2013-02-28 |
Family
ID=47745949
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/080490 Ceased WO2013026399A1 (zh) | 2011-08-25 | 2012-08-23 | 建立p2mp ms-pw的方法、设备及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102957611A (zh) |
| WO (1) | WO2013026399A1 (zh) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103269314B (zh) * | 2013-05-03 | 2016-10-26 | 普联技术有限公司 | 一种以太网报文定向转发的方法、系统及报文转发器 |
| CN106161235A (zh) * | 2015-04-10 | 2016-11-23 | 中兴通讯股份有限公司 | 一种获取多段伪线路径信息的方法及装置 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090154453A1 (en) * | 2007-12-18 | 2009-06-18 | Himanshu Shah | Systems and methods for pseudowire-in-pseudowire to transport pseudowire payload across packet switched networks |
| CN102045239A (zh) * | 2009-10-13 | 2011-05-04 | 中兴通讯股份有限公司 | 点到多点伪线保护网络的实现方法及装置 |
| CN102130813A (zh) * | 2010-01-15 | 2011-07-20 | 华为技术有限公司 | 伪线建立方法、系统及设备 |
| CN102148745A (zh) * | 2010-02-08 | 2011-08-10 | 中兴通讯股份有限公司 | 提高虚拟专用局域网业务网络转发效率的方法和系统 |
| US8004964B2 (en) * | 2009-03-23 | 2011-08-23 | Cisco Technology, Inc. | Restoring multi-segment pseudowires following failure of a switching PE device |
-
2011
- 2011-08-25 CN CN2011102455366A patent/CN102957611A/zh active Pending
-
2012
- 2012-08-23 WO PCT/CN2012/080490 patent/WO2013026399A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090154453A1 (en) * | 2007-12-18 | 2009-06-18 | Himanshu Shah | Systems and methods for pseudowire-in-pseudowire to transport pseudowire payload across packet switched networks |
| US8004964B2 (en) * | 2009-03-23 | 2011-08-23 | Cisco Technology, Inc. | Restoring multi-segment pseudowires following failure of a switching PE device |
| CN102045239A (zh) * | 2009-10-13 | 2011-05-04 | 中兴通讯股份有限公司 | 点到多点伪线保护网络的实现方法及装置 |
| CN102130813A (zh) * | 2010-01-15 | 2011-07-20 | 华为技术有限公司 | 伪线建立方法、系统及设备 |
| CN102148745A (zh) * | 2010-02-08 | 2011-08-10 | 中兴通讯股份有限公司 | 提高虚拟专用局域网业务网络转发效率的方法和系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102957611A (zh) | 2013-03-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101576411B1 (ko) | 레이블 분배 프로토콜(ldp) 레이블 스위칭 경로(lsp)의 데이터 플레인 페이트 분리용 시스템 및 방법 | |
| CN101741709B (zh) | 建立标签交换路径的方法、系统及网络节点 | |
| ES2830182T3 (es) | Controladores centrales de elementos de cálculo de rutas (PCECC) para servicios de red | |
| EP2878106B1 (en) | System and method for switching traffic from sub-optimal primary p2mp to standby p2mp | |
| US9912586B2 (en) | Method, system, and device for establishing pseudo wire | |
| EP2735126B1 (en) | Signaling a label switched path (lsp) tunneling model | |
| US20120057505A1 (en) | Method, apparatus, and system for setting up bidirectional point-to-multipoint label switched path | |
| JP4109692B2 (ja) | ラベルスイッチネットワークにおけるセッション確立方法及びラベルスイッチノード | |
| JP2006211661A (ja) | Mpls基盤のvpn提供装置及びvpn提供方法 | |
| WO2006017982A1 (en) | A rerouting method in the multi-protocol label switch network | |
| EP2961117B1 (en) | Method, device and system for establishing label switched path | |
| WO2010034225A1 (zh) | 生成转发表项信息的方法、标签交换路由器及系统 | |
| WO2011120360A1 (zh) | 集中式网络节点中实现热备份的方法及系统 | |
| WO2012142753A1 (zh) | Ip承载网性能监控的方法及设备 | |
| WO2013026399A1 (zh) | 建立p2mp ms-pw的方法、设备及系统 | |
| WO2012103729A1 (zh) | 隧道配置方法及装置 | |
| WO2015062285A1 (zh) | 接口参数同步方法和装置 | |
| CN102136945B (zh) | Lsp保护的建立方法和节点 | |
| WO2012016392A1 (zh) | 多段伪线共享带宽的方法及系统、提供商边缘节点 | |
| Abukhshim | Intra-Area, Inter-Area and Inter-AS Traffic Engineering and Path Selection Evaluation | |
| WO2016090950A1 (zh) | 标签请求消息的控制方法和系统及上下游标签交换路由器 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12826350 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 12826350 Country of ref document: EP Kind code of ref document: A1 |