WO2011000140A1 - 一种伪线的建立方法、装置和系统 - Google Patents

一种伪线的建立方法、装置和系统 Download PDF

Info

Publication number
WO2011000140A1
WO2011000140A1 PCT/CN2009/072504 CN2009072504W WO2011000140A1 WO 2011000140 A1 WO2011000140 A1 WO 2011000140A1 CN 2009072504 W CN2009072504 W CN 2009072504W WO 2011000140 A1 WO2011000140 A1 WO 2011000140A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
node
fec
control packet
routing information
Prior art date
Application number
PCT/CN2009/072504
Other languages
English (en)
French (fr)
Inventor
曹玮
薛莉
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN200980158251.XA priority Critical patent/CN102282811B/zh
Priority to EP09846669.1A priority patent/EP2439888B1/en
Priority to PCT/CN2009/072504 priority patent/WO2011000140A1/zh
Priority to ES09846669.1T priority patent/ES2531546T3/es
Priority to ES14180989.7T priority patent/ES2611180T3/es
Priority to EP14180989.7A priority patent/EP2822238B1/en
Publication of WO2011000140A1 publication Critical patent/WO2011000140A1/zh
Priority to US13/340,101 priority patent/US8964749B2/en
Priority to US14/604,255 priority patent/US20150131672A1/en

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for establishing a pseudowire. Background technique
  • PW Point-to-point and point-to-multipoint methods.
  • the PE Provider Edge
  • CE Customer Edge
  • the PW can be applied to the Layer 2 Virtual Private Network (L2VPN). It can be used to provide VPWS (Virtual Private Wire Service) and VPLS (Virtual). Private LAN service, virtual LAN service, etc.
  • L2VPN Layer 2 Virtual Private Network
  • VPWS Virtual Private Wire Service
  • VPLS Virtual Private Switche Service
  • MS-PW Multi Segment-Pseudo Wire
  • Line to meet the needs of end-to-end service simulation across multiple PSNs (Provider Service Network).
  • the network continues to grow and develop, and the number of network devices continues to increase.
  • point-to-point PW is established on the service bearer, network devices need to be fully connected or partially connected. This causes certain problems in network deployment, so it is needed. Deploy MS-PW to reduce the number of sessions between devices.
  • FMC Fixed-mobile convergence, fixed-mobile convergence
  • TDM Time Division Multiplexer
  • CSG Cell Site Gateway, Cell Site Gateway
  • MASG Mobile Aggregation Site Gateway
  • PWE3 Pseudo Wire Emulation Edge to Edge, end-to-end
  • Pseudo-wire emulation Pipeline for service transparent transmission. Because there are too many CSGs under the MASG, the session pressure of MASG's T-LDP (targeted label distribution protocol) is also required. Therefore, MS-PW needs to be deployed.
  • the PW needs to be segmented to establish a PW, and then the mapping relationship between the PWs is established.
  • the PWs are respectively configured between the switching node 120 and the end node 140: PW105, PW115, PW125, and PW135, and then the mapping relationship between the established PWs is manually configured on the switching node 120, for example, the mapping relationship between the PW IDs.
  • a mapping is formed between the PW ID of the PW 105 and the PW ID of the PW 125, and a mapping relationship is formed between the PW ID of the PW 115 and the PW ID of the PW 135, thereby completing the establishment of the PW between the end node 100 and the end node 140, however,
  • the manual configuration is relatively large, and the maintenance is complicated.
  • Dynamically establishing a PW consists of two parts, including static configuration or dynamic establishment and use of the PW routing table.
  • LDP Label Distribution Protocol
  • the PW routing table needs to be manually configured on the switching node 120 or the routing protocol is configured to complete the establishment of the PW routing table. Thereafter, the end node 100 sends the PW. LDP signaling established by the PW segment between the end node 100 and the switching node 120. After the switching node 120 receives the LDP signaling, the PW routing table configured by the querying node initiates the PW segmentation between the switching node 120 and the ending node 140 to establish LDP.
  • Embodiments of the present invention provide a method, apparatus, and system for establishing a pseudowire, and the provided method, apparatus, and system can automatically establish a pseudowire between end nodes.
  • An embodiment of the present invention provides a method for establishing a pseudowire PW, including:
  • the switching node receives the control packet, where the control packet carries the first forwarding equivalence class FEC information and routing information;
  • the switching node constructs a first control message according to the control message, and sends the first control message to the second end node;
  • the second terminal node constructs a second control packet carrying the second FEC information and the second routing information according to the first control packet, where the second FEC information carries the identifier information of the first end node;
  • the second terminal node sends the second control message to the switching node according to the second routing information.
  • An embodiment of the present invention provides an end node, including:
  • a packet receiving module configured to receive a first control packet from the switching node, where the first control packet carries the first forwarding equivalent FEC information and routing information;
  • a packet processing module configured to construct a second control packet according to the first control packet received by the packet receiving module, where the second control packet carries the second FEC information and the second routing information, where the second FEC The information carries the identification information of the first end node;
  • a packet sending module configured to send, to the switching node, a second control packet that is configured by the packet processing module.
  • An embodiment of the present invention provides an end node, including:
  • a storage module configured to store the first FEC information and the first routing information, or to store the first FEC information, the first routing information, and the second routing information, where the first FEC information carries the identification information of the destination end node ;
  • a message processing module configured to construct a control message carrying the first FEC information and the first routing information when the storage module stores the first FEC information and the first routing information; or storing the first in the storage module
  • the control message carrying the first FEC information, the first routing information, and the second routing information is configured when the FEC information, the first routing information, and the second routing information are configured;
  • a message sending module configured to send the control message constructed by the message processing module to the switching node between the end node and the destination end node according to the first routing information.
  • An embodiment of the present invention provides a switching node, including:
  • a receiving module configured to receive a control packet, where the control packet carries forwarding equivalent FEC information and routing information;
  • a processing module configured to acquire, according to the routing information in the control packet received by the receiving module, identifier information of a next hop node, and construct a first control packet according to the control packet;
  • a sending module configured to send the first control packet according to the identifier information acquired by the processing module Send the node corresponding to the identification information.
  • An embodiment of the present invention provides a PW establishing system, including a first end node, a second end node, and a switching node, where the first end node is connected to the second end node by using a switching node.
  • the first end node is configured to construct a control packet, where the control packet carries a first forwarding equivalent class
  • the first FEC information carries the identification information of the second end node, and the control message is sent to the switching node according to the routing information; and the control packet of the switching node is received; the switching node receives Controlling the packet, constructing the first control packet according to the received control packet, and acquiring the identifier information of the next hop node according to the routing information in the received control packet, and sending the first control packet to the identifier according to the obtained identifier information
  • the second terminal node is configured to receive a control packet of the switching node, and construct a second control packet according to the received control packet, where the second control packet carries the second FEC information and the second routing information, and the second The FEC information carries the identifier information of the first end node, and sends the second control packet to the switching node according to the second routing information.
  • the method, device, and system for establishing a pseudowire by carrying the PW routing information required for establishing the PW between the two end nodes in the control message, that is, the identification information of the intermediate switching node that passes through, so that the switching node is in the
  • the control packet can be forwarded according to the identifier information.
  • manual routing or dynamic signaling is not required to establish routing table information required for the pseudowire, and no manual connection between the pseudowires is required.
  • the mapping relationship, the intermediate forwarding process is automatically completed by the switching node, and applies to multiple switching nodes, which can reduce the workload caused by manual operations and reduce the introduction of complex dynamic signaling, and is easy to manage.
  • FIG. 1 is a schematic diagram of an existing PW establishment process
  • FIG. 2 is a schematic diagram of a system architecture including a terminal node and a switching node according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for establishing a PW according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of an FEC structure according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for establishing a PW according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a structure of an end node according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of a structure of a switching node according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a system for establishing a PW according to an embodiment of the present invention.
  • the embodiment of the present invention establishes a pseudowire PW between the first end node 200 and the second end node 220, wherein the first end node 200 and the second end node 220 may include multiple switching nodes.
  • the method used in the case of not including the switching node may be the same as the existing method. It should be understood by those skilled in the art that the first terminal node will be used in the embodiment of the present invention.
  • Two switching nodes are included between the 200 and the second end node 220 as an example, respectively a switching node 205 and a switching node 215.
  • the first end node 200 and the second end node 220 may be end node provider edge routers TPE, and the switching node 205 and switching node 215 may be switching node provider edge routers SPE.
  • An embodiment of the present invention provides a method for establishing a PW.
  • the method of the method is to send a control packet carrying routing information between the first end node 200 and the second end node 220, where the routing information includes an intermediate switching node.
  • the identification information is such that after receiving the control packet, the intermediate switching node can forward the packet according to the routing information in the control packet.
  • Figure 3 including:
  • Step 300 The first end node 200 sends a control message carrying the PW label, the first FEC (forward equivalence class, the forwarding equivalence class M message and the first routing information to the switching node 205.
  • the control packet may be an existing label mapping packet, such as a Label mapping packet, and the PW label carried in the control packet is a PW label assigned to the next node by the first end node 200, which is Labell in this embodiment.
  • the structure can be similar to existing LSP tags.
  • the first FEC information is shown in Figure 4, including but not limited to:
  • SAII Source Attachment Individual Identifier
  • the Global ID is unique to the device provider and is used for To ensure the uniqueness of the end node
  • Prefix is used to identify the source end node, which can be either a vendor assignment or a loopback address from the end node.
  • TAII Target Attachment Individual Identifier
  • the Global ID is unique to the device provider to ensure the uniqueness of the end node.
  • Prefix is used to identify the end of the purpose. The node, which can be either a vendor assignment or a loopback address from the endpoint.
  • the information carried by the SAII in the control message may be used to identify the first end node 200, and the information carried by the ⁇ may be used for A second end node 220 is identified.
  • the first routing information carries the identification information of the switching node that the PW needs to pass between the first end node 200 and the second end node 220.
  • the first routing information carries the identifiers of the switching node 205 and the switching node 215. information.
  • the first routing information may be carried in the TLV parameter of the control packet, and the structure of the TLV parameter carrying the first routing information may be as shown in Table 1:
  • the TLV parameters carrying the first routing information can also be as shown in Table 2.
  • the Content value of the ER-hop TLV1 is the identification information of the switching node 205
  • the Content value of the ER-hop TLV2 is the identification information of the switching node 215.
  • the identifier information of the switching node may be one of a device identifier of the switching node or an IP address of the switching node or other identifier information of the switching node.
  • the first end node 200 sends a control message to the corresponding switching node according to the identification information of the first switching node in the first routing information, which is the switching node 205 in this embodiment.
  • Step 310 The switching node 205 allocates a PW label Label2, and sends a control packet carrying Label2 to the switching node 215.
  • the switching node 205 After receiving the control packet, the switching node 205 parses the first routing information in the control packet, and obtains and stores the PW label Labell in the control packet as the PW label allocated by the first terminal node 200 to the switching node. Labell is used to identify the segmentation PW from the switching node to the first end node 200. The switching node 205 assigns a PW label Label2.
  • the Label2 format can be similar to the LSP label, and can be the same as the Labell or different from the Labell.
  • the switching node 205 constructs a control packet carrying the label 2, the first FEC information, and the first routing information, and obtains the identification information of the next switching node of the first routing information in the first routing information, and sends the control packet carrying the Label2 to the acquiring packet.
  • the switching node corresponding to the identification information that is, the switching node 215 in this embodiment.
  • Step 320 The switching node 215 allocates a PW label Label3, and sends a first control message carrying Label3 to the second end node 220.
  • the switching node 215 parses the first routing information in the control packet, and obtains and stores the PW label Label2 in the control packet as the PW label assigned to the switching node by the switching node 205.
  • the labeling PW is assigned to the switching node 205.
  • the switching node 215 is assigned a PW label Label3.
  • the Labe format can be similar to the LSP label. It can be the same as Label2 or different from Label2.
  • the configuration carries Lebel3 and the first FEC. Information and first control message of the first routing information.
  • the switching node 215 obtains the next identifier information of the first identifier information in the first routing information. Because there is no next identifier, the switching node 215 reads the value of the ⁇ field in the first FEC information in the first control packet. Sending the first control packet carrying Label3 to the second end according to the obtained value Node 220.
  • Step 330 The second end node 220 constructs a second control message carrying the PW label, the second FEC, and the second routing information, and sends the second control message to the switching node 215.
  • the second end node 220 stores Label3, which is assigned as the switching node 215 by the label of the PW of the second end node 220, and Label3 is used to identify the segment PW between the switching node 215 and the second end node 220.
  • the second terminal node 220 allocates a PW label label4, and constructs a second control packet carrying the Label4, the second FEC information, and the second routing information.
  • the Label4 may be the same as the Label3, or may be different from the Label3, and the Label4 format and the LSP may be The tags are similar.
  • the second end node 220 constructs the second control message as follows:
  • the SAII field of the second FEC information carries the identification information of the second end node 220
  • the ⁇ field carries the identification information of the first end node 200
  • the second end The node 220 parses the first routing information in the first control packet, and generates second routing information according to the first routing information, where the generated second routing information carries the identification information of the switching node in the first routing information, and the second routing Information can also be included in the TLV parameters, and the structure can be as shown in Table 4.
  • the structure of the ER-hop TLV2 and the ER-hop TLV1 has been described in Table 3.
  • the Content field of the ER-hop TLV2 carries the identification information of the switching node 215, and the Content field of the ER-hop TLV1 carries the identification information of the switching node 205.
  • the second end node 220 constructs a second control message carrying the second FEC information, the Label4, and the second routing information.
  • the second terminal node 220 generates the second routing information according to the first routing information in the first control packet, including parsing the first routing information in the first control packet, as shown in Table 4 or as shown in Table 5. Second routing information.
  • the second end node 220 constructs a second control message carrying the second FEC information, Label4 and the second routing information.
  • the selection of the above two methods depends on the policy set on the second end node 220, for example, the second end node 220 needs to parse the first FEC information, etc., regardless of whether the second FEC information is configured with the value of ⁇ ;
  • the second terminal node 220 may determine, by the second terminal node 220, which manner is selected, for example, when the value of ⁇ is configured in the second FEC information, the second terminal node 220 selects the first mode, and when the value of ⁇ is not configured, Choose the second way.
  • the second terminal node 220 sends the second control packet to the corresponding switching node according to the first identifier information in the second routing information, which is the switching node 215 in this embodiment.
  • Step 340 The switching node 215 allocates a PW label Label5, and sends a third control message carrying Label5 to the switching node 205.
  • the switching node 215 parses the second routing information in the second control packet, and obtains and saves the Label4 in the second control packet, and allocates the label 4 in the second control packet to the switching node.
  • the PW tag, Label4 is used to identify the segmentation PW from the switching node to the second end node 220.
  • the switching node 215 allocates a PW label Label5, which may be the same as or different from Label4.
  • the switching node 215 constructs a third control packet carrying the label5, the second FEC information, and the second routing information, and obtains the second routing information in the second routing information.
  • the next identification information of the identification information is sent to the switching node corresponding to the next identification information, which is the switching node 205 in this embodiment.
  • Step 350 The switching node 205 allocates a PW label Label6, and sends a control packet carrying the Label6 to the first end node 200.
  • the switching node 205 parses the routing information of the switching node in the third control packet, and obtains and saves the PW label Label5 in the third control packet, and assigns the label to the switching node 215.
  • the PW label of the node, Label5 is used to identify the segment PW from the switching node to the switching node 215; the switching node 205 assigns a PW label Label6, which may be the same as or different from Label5.
  • the switching node 205 constructs a control message carrying the Label6, the second FEC information, and the second routing information.
  • the next identification information of the own identification information is obtained. Since there is no next identification information, the switching node 205 reads the control packet.
  • the value of the ⁇ field in the second FEC information is sent to the first end node 200 according to the obtained value.
  • the first end node 200 saves Label6 as a PW label assigned to the first end node 200 by the switching node 205.
  • a bidirectional PW is established between the first end node 200 and the second end node 220.
  • the routing information of the intermediate switching node is carried in the control packet, so that the intermediate switching node can forward the packet according to the routing information. Therefore, the PW is not required to be configured on the switching node.
  • the PW routing table or the PW routing table is dynamically created. You do not need to manually configure the mapping between PWs.
  • the second routing information including the switching node identification information required by the returning is carried in the first control packet, so that the second end node 220 can directly read the second routing information in the first control packet, without Reconstruction, the specific process of this method is shown in Figure 5, including:
  • Step 500 The first terminal node 200 constructs a control packet carrying a PW label, a first FEC information, a first routing information, and a second routing information, and sends a control packet to the switching node according to the first routing information.
  • the first end node 200 allocates a PW label Labell to the second end node 220, and the format of Labell can be similar to the LSP label.
  • the first FEC information includes identification information of the first end node 200 and the second end node 220.
  • the first routing information carries the identification information of the switching node 205 and the switching node 215, and the structure may be as shown in Table 1 or Table 2.
  • the second routing information carries the identification information of the switching node 215 and the switching node 205, and the structure may be as shown in Table 4 or Table 5.
  • the first end node 200 sends a control message to the corresponding switching node according to the first identification information of the first routing information, that is, 205 in this embodiment.
  • step 510 the switching node 205 allocates the PW label Label2, and removes the identification information of the first routing information, and then sends the control packet carrying the Label2 to the switching node 215.
  • the switching node 205 parses the first routing information in the control packet, obtains and saves the PW label Labell in the control packet, and assigns a PW label Label2 to obtain the identity of the first routing information.
  • the identification information of the next switching node of the information (the first identification information), removes the identification information of the first routing information in the control packet, constructs the label 2, the first FEC information, the second routing information, and removes its own
  • Step 520 The switching node 215 allocates the PW label Label3, and removes the first identification message carrying the Label3 to the second end node 220 after removing the identification information of the first routing information.
  • the switching node 215 parses the first routing information in the first control packet, obtains and saves the PW label Label2 in the first control packet, and assigns a PW label Label3 to obtain the first routing information.
  • the next identification information of the own identification information (first identification information)
  • the switching node 215 reads the value of the ⁇ field in the first FEC information in the first control message, and removes
  • the first routing information in the first routing information is configured to construct the first control packet carrying the label3, the first FEC information, the second routing information, and the first routing information with the own identification information removed;
  • the first control message carrying Label3 is sent to the second end node 220.
  • the second end node 220 is configured to include a PW label Label4, a second FEC information, and a The second control message of the routing information is sent and the second control message is sent.
  • the second terminal node 220 After receiving the first control packet, the second terminal node 220 allocates the PW label label4, and constructs the second control packet according to the first control packet, where Label4 can be the same as Label3 or different from Label3.
  • the second end node 220 constructs the second control message as follows:
  • the SAII field of the second FEC information carries the identification information of the second end node 220
  • the ⁇ field carries the identification information of the first end node 200
  • the second end node 220 constructs a second control message carrying the second FEC information, Label4 and the second routing information.
  • the second end node 220 configures the second FEC information
  • the value of the SAII in the second FEC information is configured, and the second end node 220 learns the first FEC information in the first control packet to obtain the first FEC.
  • the value of the SAII field of the information assigns the value of the learned SAII field to the ⁇ in the second FEC information.
  • the second end node 220 reads the second routing information in the first control message.
  • the second end node 220 constructs a second control message carrying the second FEC information, Label4 and the second routing information.
  • the second end node 220 sends the second control message to the corresponding switching node, that is, the switching node 215 in this embodiment, according to the identification information of the first switching node in the second routing information.
  • step 540 the switching node 215 allocates the PW label Label5, and removes the third control message carrying the label 5 from the second routing information to the switching node 205.
  • the switching node 215 parses the second routing information in the second control packet, obtains and saves the Label4 in the second control packet, allocates the PW label Label5, and obtains the second control packet.
  • the next identification information of the first identification information (the first identification information) in the second routing information, the identity information of the second routing information is removed, and the label5, the second FEC information, and the identity of the second FEC are constructed.
  • the third control packet of the second routing information of the information is sent to the switching node corresponding to the next identifier information, that is, the switching node 205 in this embodiment.
  • the switching node 205 allocates the PW label Label6, and removes the identification information of the second routing information, and then sends the control packet carrying the Label6 to the first end node 200.
  • the switching node 205 parses the routing information of the switching node in the third control packet, obtains and saves the Label5 in the third control packet, allocates the PW label Label6, and obtains the third control packet.
  • the next identification information of the own identification information (the first identification information) in the second routing information in the text because there is no next identification information, the switching node 205 reads the second FEC information in the third control message.
  • the value of the field in the field removes the identity information of the second routing information, and constructs a control message carrying the Label6, the second FEC information, and the second routing information with the identity information removed; the obtained threshold value will be
  • the control message carrying Label6 is sent to the first end node 200.
  • the PW between the first end node 200 and the second end node 220 is established.
  • this method enables the carrying of the return routing information in the control message.
  • the second end node 220 does not need to separately parse the first control message, and the intermediate switching node removes its own identification information after acquiring the next switching node. Therefore, the identity of the next switching node is always the first, thus, Make the processing of the intermediate switching nodes become more compact.
  • the embodiment provides an end node, and the provided end node can be used to initiate the process of establishing a PW, and can also be used to passively establish a PW.
  • the packet receiving module 601 and the packet sending module are included.
  • the message processing module 605 and the storage module 607 may further include a PW processing module 609,
  • the packet receiving module 601 is configured to receive a first control packet from the switching node, where the first control packet carries the exchange The PW label, the first FEC information, and the first routing information that are allocated by the node, where the first routing information carries the identifier information of the switching node, and the routing information is used by the switching node to send the first control packet.
  • the first routing information may be included in the TLV parameter, and the structure may be as shown in Table 1 or Table 2.
  • the first control packet can be an existing Label Mapping packet.
  • the content of the first FEC information may be as shown in FIG. 4, including the identifiers of the first end node and the end node. Information.
  • the storage module 607 is configured to store the second FEC information that is preset.
  • the structure of the second FEC information may be as shown in FIG. 4, and the values of SAII and ⁇ may be pre-configured, or only the value of the SAII may be configured. The value is obtained by learning the first control message.
  • the storage module 607 can also be used to store identification information of neighboring nodes.
  • the PW processing module 609 is configured to allocate a PW label, and the format of the allocated PW label can be similar to the LSP label.
  • the message processing module 605 is configured to construct a second control message according to the first control message received by the message receiving module 601.
  • the message processing module 605 may further include a reading module and a message construction module, the reading module is configured to read the second FEC information in the storage module 607, and the read second FEC information is used in the structure of the message construction module. Two control messages.
  • the message construction module is configured to construct a second control message according to the first control message, and the second control message may be configured as follows:
  • the value of SAII, the value of the acquired SAII is assigned to the ⁇ field in the second FEC information read by the reading module.
  • the second routing information is generated according to the first routing information, and the process may be: creating a TLV parameter, reading the TLV parameter (original TLV parameter) of the first control message that includes the identity information of the switching node, and acquiring the original TLV parameter.
  • the identification information of the node is added to the newly created TLV parameter according to the format described in Table 4 or Table 5;
  • the second control _t text carrying the PW tag, the second FEC information and the second routing information allocated by the PW processing module 609 is constructed.
  • the message construction module may not learn the first control message, but pre-configure the value of the second FEC in the storage module 607.
  • the packet construction module generates second routing information according to the first routing information in the first control packet, and the process of generating the second routing information is as described above;
  • the message construction module constructs a second control message carrying the PW tag, the second routing information, and the second FEC information stored by the storage module 607, which are allocated by the PW processing module 609.
  • the first control message received by the message receiving module 601 carries the second routing information in addition to the first routing information
  • the reading module of the message processing module 605 is further configured to read The second routing information in the first control packet
  • the packet construction module constructs the second control packet in the following two manners:
  • the second control message carrying the PW tag allocated by the PW processing module 609, the second FEC information, and the second routing information read by the reading module is constructed.
  • the message construction module constructs the PW tag assigned by the PW processing module 609, the second FEC information read by the reading module, and the The second control message of the routing information.
  • the message sending module 603 is configured to send the second control message constructed by the message processing module 605 to the corresponding switching node, so as to implement the establishment of the PW between the terminal and the first end node.
  • the message sending module 603 sends the second control message to the corresponding switching node according to the identification information of the first switching node in the second routing information, and the switching node sends the second control message to the corresponding node.
  • the storage module 607 is configured to store the preset first FEC information, and the structure of the first FEC information may be as shown in FIG.
  • the value of SAII and ⁇ is pre-configured in the FEC information, the value of SAII contains the identification information of the end node, and the value of ⁇ contains the identification information of the second end node.
  • the storage module 607 is further configured to store the identification information of the neighboring node and the first routing information, where the first routing information carries the identification information of the switching node between the local end node and the second end node.
  • the function of the PW processing module 609 is consistent with the functions of the end node for passively establishing the PW, which has been described above and will not be described here.
  • a message processing module 605 configured to construct a first control message
  • the reading module in the message processing module 605 is configured to read the first FEC information and the first routing information in the storage module 607.
  • the message construction module in the message processing module 605 is configured to construct a control message according to the first FEC information read by the reading module, where the constructed control message includes the first FEC information, the first routing information, and the PW processing module 609. PW label.
  • the message construction module in the message processing module 605 can also construct second routing information, and the identification information of the switching node in the second routing information can be opposite to the order of the identification information of the switching node in the first routing information.
  • the message sending module 603 is configured to send the control message constructed by the message processing module 605 to the corresponding switching node according to the first routing information, so as to implement the establishment of the PW between the end point and the second end node.
  • the message sending module 603 sends the control message to the corresponding switching node according to the identification information of the first switching node in the first routing information, and the switching node sends the control message to the corresponding node.
  • the terminal node provided in this embodiment can receive the control message carrying the routing information.
  • the routing message carries the identification information of the switching node. Therefore, after the switching node receives the message, the information can be learned by parsing the message.
  • the identification information of a node can send a control message to the next node according to the identification information of the next node. This process will be automatically completed by the switching node, and no additional routing table information needs to be configured for establishing the PW, and no additional PW configuration is required.
  • the embodiment further provides a switching node, as shown in FIG. 7, including a receiving module 701, a sending module 703, and a processing module 705, where
  • the receiving module 701 is configured to receive a control packet, where the control packet carries the PW label, the FEC information, and the routing information that are allocated by the terminal node or the switching node, where the routing information carries the identifier information of the switching node, and the routing information. Can be included in the TLV parameters in the control message.
  • the processing module 705 is configured to process the control packet received by the receiving module 701, and obtain the identifier information of the next hop node on the PW route according to the routing information in the control packet.
  • the processing module 705 can include a reading module and a determining module, where
  • the reading module is configured to read the next identification information of the own identification information in the routing information carried by the control packet.
  • the reading module is further configured to read a PW label carried in the control packet, and allocate a PW label.
  • the assigned PW tag may be the same as or different from the PW tag in the control file.
  • a judging module configured to determine whether the read module reads that the identifier information is empty, and if yes, notifying the reading module to read the value of the ⁇ field in the FEC information carried by the control packet, as Identification information of a hop node.
  • the reading module is further configured to read the next identification information of the own identification information in the routing information
  • the identification information of the routing information is removed, so that the identification information of the next switching node is in the routing information.
  • the first identification information is further configured to read the next identification information of the own identification information in the routing information
  • the sending module 703 is configured to send the control packet according to the identifier information acquired by the processing module.
  • the switching node provided in this embodiment can send a packet according to the routing information of the intermediate switching node carried in the packet after receiving the control packet of the PW, so that the switching node does not need to be set up.
  • An embodiment of the present embodiment provides a PW establishing system, as shown in FIG. 8, including a first end node 200, a second end node 220, and a switching node 800.
  • the first end node 200 passes through the switching node 800 and the The two end nodes 220 are connected.
  • the first end node 200 is configured to construct a control packet, where the control packet carries the PW label, the first FEC information, and the first routing information that are allocated by the first end node, and sends the control packet to the switching node 800 according to the first routing information. .
  • the switching node 800 is configured to receive the control packet from the first end node 200, process the control packet, and obtain the identifier of the next hop node on the PW route from the first end node 200 to the second end node 220. And sending the first control message according to the obtained identification information; and receiving the second control message from the second terminal node 220, processing the second control message, and acquiring the second terminal node 220 to the first.
  • the identifier information of the next hop node on the PW route of the end node 200 is sent, and the third control packet is sent according to the acquired next hop node identifier information.
  • the obtaining, by the switching node 800, the identifier information of the next hop node on the PW route from the first terminal node 200 to the second terminal node 220 includes: acquiring the next identifier information of the identity information in the control packet, and acquiring the next identifier information An identification information is used as the identification information of the next hop node on the PW route.
  • the identifier information of the destination end node of the first FEC information in the control packet is obtained as the identifier information of the next hop node on the PW route, and the switching node acquires the second end node 220.
  • the process of obtaining the identification information of the next hop node on the PW route in the direction of the first end node 200 is similar to the process of obtaining the identification information of the next hop node on the PW route from the first end node 200 to the second end node 220. It will not be elaborated here.
  • the second end node 220 is configured to receive the first control packet, construct the second control packet according to the first control packet, and send the second control packet to the switching node 800, and the switching node 800 receives the second control packet according to the received second control packet.
  • the second routing information in the text sends a third control message to the first end node 200 to complete PW establishment between the second end node and the first end node.
  • the second terminal node 220 After receiving the first control message, the second terminal node 220 allocates a PW label, and constructs the second control message according to the first control message, including two modes:
  • the second routing information is generated according to the first routing information, and the process may be: creating a TLV parameter, reading the TLV parameter (original TLV parameter) of the first control message that includes the identity information of the switching node, and acquiring the original TLV parameter.
  • the identification information of the node is added to the newly created TLV parameter according to the format described in Table 4 or Table 5;
  • a second control message carrying the PW label, the second FEC information and the second routing information allocated by the second end node 220 is constructed.
  • the first control message may not be learned, but the value of the second FEC is configured in advance on the second end node 220.
  • the second terminal node 220 generates second routing information according to the first routing information in the first control packet, and the process of generating the second routing information is as described above;
  • the second control message carrying the PW label, the second FEC information and the second routing information allocated by the second end node 220 is constructed.
  • the second terminal node 220 sends the second control message to the corresponding switching node according to the second routing information, for example, according to the first identifier information in the second routing information, the second control packet.
  • the text is sent to the corresponding switching node.
  • the first end node 200 carries a PW flag when constructing the control message.
  • the second routing information includes the second routing information, where the second routing information carries the identification information of the switching node of the PW route in the direction of the second central node 220 to the first end node 200, and the second routing
  • the order of the identification information of the switching node carried by the information may be opposite to the order of the identification information of the switching node carried by the first routing information, so that after receiving the control packet, the second end node 220 does not need to generate the second routing information directly. Read the second routing information in the control message.
  • the switching node 800 can also read the identifier information of the next hop node in the direction from the first terminal node 200 to the second terminal node 220, and delete the The identification information of the routing information in the routing information is such that the identification information of the next switching node of the PW route from the first end node 200 to the second end node 220 is the first one of the first routing information; 220, in the direction of the first end node 200, the switching node 800 can also read the identification information of the next hop node, and delete the identity information of the second routing information, so that the second end node 220 is in the direction of the first end node 200.
  • the identification information of the next switching node of the PW route is the first one of the second routing information.
  • the PW establishing system carries the identification information of the intermediate switching node on the PW route in the control packet sent by the first terminal node, and the intermediate node can send the control packet according to the identification information of the switching node and the PW.
  • the identification information of the intermediate node on the route is forwarded, so that the PW routing table required for establishing the PW is not separately configured, and the direction of the second terminal node to the first terminal node is carried in the control packet of the first terminal node.
  • the PW routing information can also cause the second end node to become a single in the way of constructing the control message.
  • the embodiment of the present invention or a part thereof may be implemented by software, and the corresponding software program may be stored in a readable storage medium such as an optical disk, a hard disk, a floppy disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

一种伪线的建立方法、 装置和系统
技术领域 本发明涉及通信领域, 尤其涉及一种伪线的建立方法、 装置和系统。 背景技术
PW(Pseudo Wire, 伪线)提供了一种业务仿真技术, 分为点到点和点到多点 两种方式。 PE(Provider Edge , 提供商边缘)设备通过将接收到的 CE(Customer Edge, 用户边缘)数据封装和解封装的操作来完成对用户数据的模拟。
PW作为一种端到端的二层业务承载技术, 可应用在 L2VPN(Layer 2 Virtual Private Network, 二层虚拟专用网)中, 可用来提供 VPWS(Virtual Private Wire Service, 虚拟专线业务) 、 VPLS( Virtual Private LAN service, 虚拟局域网业务) 等。 在目前网络不断扩大的趋势下, 由于网络互通需求的增加, 对网络的安全 性也提出了很严格的要求, 因此, 在业务承载方面, 需要建立 MS-PW(Multi Segment-Pseudo Wire , 多段伪线), 从而满足跨越多个 PSN(Provider Service Network, 提供商服务网络)的端到端业务仿真的需要。 另一方面, 网络不断发展 壮大, 网络设备不断的增多, 在业务承载上若使用点到点的 PW建立, 就需要 网络设备全连接或部分全连接, 这对网络部署造成一定困扰, 于是就需要部署 MS-PW来减少设备间的会话数量, 特别的, 在 FMC ( Fixed-mobile convergence, 固网和移动网络的融合)网络中,对非 IP业务的 TDM(Time Division Multiplexer, 时分复用)/ATM(Asynchronous Transfer Mode,异步传输模式)业务, CSG(Cell Site Gateway, 蜂窝站点网关)和 MASG(Mobile Aggregation Site Gateway, 移动聚合 站点网关 )间必须通过 PWE3(Pseudo Wire Emulation Edge to Edge, 端到端伪线 仿真)管道来进行业务透传, 由于 MASG 下挂 CSG 过多, 造成 MASG 的 T-LDP(targeted Label distribution protocol , 基于目标的标签分发协议)会话压力, 因此也需要部署 MS-PW。
目前部署 MS-PW—般通过静态配置或者动态建立两种方式来完成,静态配 置需要分段建立 PW, 然后建立 PW之间的映射关系, 如图 1所示, 要在终节点 100和终节点 140之间静态配置 PW, 需要分别在终节点 100和交换节点 120之 间以及交换节点 120和终节点 140之间分别静态配置 PW: PW105、 PW115、 PW125以及 PW135 , 然后在交换节点 120上人工配置建立的 PW之间的映射关 系, 例如可以是 PW ID之间的映射关系, 如 PW105的 PW ID与 PW 125的 PW ID之间形成映射, PW 115的 PW ID和 PW135 的 PW ID之间形成映射关系, 从而完成终节点 100和终节点 140之间的 PW的建立, 但是, 终节点 100和终 节点 140之间存在多跳交换节点的时候或者存在多个 MS-PW的时候,通过人工 配置工作量比较大, 而且维护也比较复杂。
动态建立 PW包括两部分, 包括 PW路由表的静态配置或动态建立和使用
LDP ( Label Distribution Protocol, 标签分发协议)建立 MS-PW。 如图 1所示, 要在终节点 100和终节点 140之间建立 PW,需要首先在交换节点 120上人工配 置 PW路由表或者配置路由协议完成 PW路由表的建立, 之后, 终节点 100发 送在终节点 100和交换节点 120之间 PW分段建立的 LDP信令, 交换节点 120 收到 LDP信令后, 查询配置的 PW路由表将发起交换节点 120和终节点 140之 间 PW分段建立 LDP信令, 而在动态建立 MS-PW的过程中, 也需要人工在交 换节点上配置 PW路由表或者引入复杂的路由信令建立 PW路由表, 因此, 当 中间存在多跳交换节点的时候或存在多个 MS-PW的时候,人工在交换节点上配 置 PW路由表的工作量也比较大, 而引入信令进行 PW路由表的建立对设备性 能有较高的要求, 并且建立流程复杂。
发明内容
本发明实施例提供一种伪线建立的方法、 装置和系统, 所提供的方法、 装 置和系统能自动建立终节点之间的伪线。
本发明一个实施例提供一种伪线 PW的建立方法, 包括:
交换节点接收控制报文, 所述控制报文携带第一转发等价类 FEC信息和路 由信息;
所述交换节点根据所述控制报文构造第一控制报文, 并将所述第一控制报 文发送给第二终节点; 所述第二终节点根据所述第一控制报文构造携带第二 FEC信息和第二路由 信息的第二控制报文, 所述第二 FEC信息携带第一终节点的标识信息;
所述第二终节点根据所述第二路由信息将所述第二控制报文发送给所述交 换节点。
本发明一个实施例提供一种终节点, 包括:
报文接收模块, 用于接收来自交换节点的第一控制报文, 所述第一控制报 文携带第一转发等效类 FEC信息和路由信息;
报文处理模块, 用于根据报文接收模块收到的第一控制报文构造第二控制 报文, 所述第二控制报文携带第二 FEC信息和第二路由信息, 所述第二 FEC信 息携带第一终节点的标识信息;
报文发送模块, 用于将所述报文处理模块构造的第二控制报文发送给所述 交换节点。
本发明一个实施例提供一种终节点, 包括:
存储模块,用于存储第一 FEC信息和第一路由信息,或者用于存储第一 FEC 信息、 第一路由信息和第二路由信息, 其中, 所述第一 FEC信息携带目的终节 点的标识信息;
报文处理模块, 用于在存储模块存储有第一 FEC信息和第一路由信息时构 造携带所述第一 FEC信息和所述第一路由信息的控制报文; 或者在存储模块存 储有第一 FEC信息、第一路由信息和第二路由信息时构造携带所述第一 FEC信 息、 第一路由信息和所述第二路由信息的控制报文;
报文发送模块, 用于根据所述第一路由信息将所述报文处理模块构造的控 制报文发送给本终节点和目的终节点之间的交换节点。
本发明一个实施例提供一种交换节点, 包括:
接收模块, 用于接收控制报文, 所述控制报文携带转发等效类 FEC信息和 路由信息;
处理模块, 用于根据所述接收模块收到的控制报文中的路由信息获取下一 跳节点的标识信息, 以及根据所述控制报文构造第一控制报文;
发送模块, 用于根据所述处理模块获取的标识信息将所述第一控制报文发 送给所述标识信息对应的节点。
本发明一个实施例提供一种 PW 的建立系统, 包括第一终节点、 第二终节 点和交换节点, 所述第一终节点通过交换节点与所述第二终节点相连,
所述第一终节点, 用于构造控制报文, 所述控制报文携带第一转发等效类
FEC信息和路由信息, 所述第一 FEC信息携带第二终节点的标识信息, 根据所 述路由信息将所述控制报文发送给交换节点; 以及接收交换节点的控制报文; 交换节点, 接收控制报文, 根据接收的控制报文构造第一控制报文, 根据 接收的控制报文中的路由信息获取下一跳节点的标识信息, 根据获取的标识信 息将第一控制报文发送给标识信息对应的节点;
所述第二终节点, 用于接收交换节点的控制报文, 根据接收的控制报文构 造第二控制报文, 所述第二控制报文携带第二 FEC信息和第二路由信息, 第二 FEC信息携带第一终节点的标识信息, 根据第二路由信息将所述第二控制报文 发送给交换节点。
本发明实施例提供的伪线建立方法、 装置和系统, 通过在控制报文中携带 两个终节点间建立 PW所需 PW路由信息, 即经过的中间交换节点的标识信息, 从而使得交换节点在收到该控制报文时, 能根据标识信息对控制报文进行转发, 在这个过程不需要人工配置或动态信令建立伪线所需的路由表信息, 也不需要 人工进行伪线之间的映射关系, 中间的转发过程是由交换节点自动完成, 且适 用多个交换节点的情况, 可以减少人工操作带来的工作量并减少复杂动态信令 的引入, 且易于管理。
附图说明 图 1为现有的 PW建立过程的示意图;
图 2为本发明实施例提供的包含终节点和交换节点的系统架构的示意图; 图 3为本发明实施例提供的建立 PW的方法的流程图;
图 4为本发明实施例提供的 FEC结构的示意图;
图 5为本发明实施例提供的建立 PW的方法流程图;
图 6为本发明实施例提供的终节点的结构的示意图;
图 7为本发明实施例提供的交换节点的结构的示意图; 图 8为本发明实施例提供的建立 PW的系统的示意图。
具体实施方式
为了使本发明实施例的目的、 技术方案及优点更加清楚明白, 以下结合附 图及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描述的具体实 施例仅仅用以解释本发明, 并不用于限定本发明。
如图 2所示, 本发明实施例要在第一终节点 200和第二终节点 220之间建 立伪线 PW ,其中第一终节点 200和第二终节点 220之间可以包含多个交换节点, 也可以不包含交换节点, 不包含交换节点时所使用的方法和现有的方法一致, 本领域普通技术人员都应知悉, 在此不再阐述, 本发明实施例中将以第一终节 点 200和第二终节点 220之间包含两个交换节点作为举例,分别为交换节点 205 和交换节点 215。其中第一终节点 200和第二终节点 220可以是终节点提供商边 缘路由器 TPE, 交换节点 205和交换节点 215可以是交换节点提供商边缘路由 器 SPE。
本发明一个实施例提供一种 PW建立方法, 所使用方法的思想为在第一终 节点 200和第二终节点 220之间发送携带路由信息的控制报文, 所述路由信息 包括中间交换节点的标识信息, 这样, 中间交换节点收到控制报文后, 可以根 据控制报文中的路由信息对报文进行转发。 具体过程如图 3所示, 包括:
步骤 300 , 第一终节点 200 发送携带 PW 标签、 第一 FEC ( forwarding equivalence class,转发等价类 M言息和第一路由信息的控制报文给交换节点 205。
控制报文可以是现有的标签映射报文, 如 Label Mapping报文, 控制报文中 携带的 PW标签为第一终节点 200分配给下一个节点的 PW标签, 本实施例中 为 Labell , 其结构可以和现有的 LSP标签类似。
第一 FEC信息如图 4所示, 包括但不限于:
SAII ( Source Attachment Individual Identifier, 源附属个体标识), 包括但不 限于全球统一标签 Global ID、 前缀 Prefix和 AC ID (attachment circuit identifier, 附录电路标识), Global ID对设备提供商是唯一的, 用于保证终节点的唯一性, Prefix 用于标识源终节点, 可以是供应商分配也可以是从终节点的回环地址得 到。 TAII ( Target Attachment Individual Identifier, 目的附属个体标识 ), 包括但 不限于 Global ID、 Prefix和 AC ID, Global ID对设备提供商是唯一的, 用于保 证终节点的唯一性, Prefix用于标识目的终节点, 可以是供应商分配也可以是从 终节点的回环地址得到。
关于第一 FEC信息的具体内容, 本领域普通技术人员都应知悉, 在本实施 例中, 控制报文中的 SAII携带的信息可以用于标识第一终节点 200, ΤΑΠ携带 的信息可以用于标识第二终节点 220。
第一路由信息携带在第一终节点 200和第二终节点 220之间建立 PW需经 过的交换节点的标识信息, 在本实施例中, 第一路由信息携带交换节点 205 和 交换节点 215的标识信息。 其中, 第一路由信息可以携带在控制报文的 TLV参 数中, 携带第一路由信息的 TLV参数的结构可以如表 1所示:
TYPE
Length
交换节点 205的标识信息
交换节点 215的标识信息
携带第一路由信息的 TLV参数也可以如表 2所示,
2
TYPE
Length
ER-hop TLV1
ER-hop TLV2
其中, ER-hop TLV参数的结构如表 3所示
3
TYPE
Length
L
Content ER-hop TLV1的 Content值为交换节点 205的标识信息, ER-hop TLV2的 Content值为交换节点 215的标识信息。
其中, 交换节点的标识信息可以是交换节点的设备标识或者交换节点的 IP 地址或者交换节点的其它标识信息中的一种。
第一终节点 200根据第一路由信息中第一个交换节点的标识信息将控制报 文发送给相应的交换节点, 本实施例中为交换节点 205。
步骤 310, 交换节点 205分配 PW标签 Label2, 发送携带 Label2的控制报 文给交换节点 215。
交换节点 205 收到控制报文后, 对控制报文中的第一路由信息进行解析, 获取并保存控制 ·^艮文中的 PW标签 Labell , 作为第一终节点 200分配给本交换 节点的 PW标签, Labell用于标识从本交换节点到第一终节点 200的分段 PW; 交换节点 205分配一个 PW标签 Label2, Label2格式可以和 LSP标签类似, 可 以和 Labell相同, 也可以和 Labell不同。
交换节点 205构造携带 label2、 第一 FEC信息和第一路由信息的控制报文, 获取第一路由信息中自己的标识信息的下一个交换节点的标识信息, 将携带 Label2 的控制报文发送给获取的标识信息对应的交换节点, 即本实施例中的交 换节点 215。
步骤 320, 交换节点 215分配 PW标签 Label3 , 发送携带 Label3的第一控 制报文给第二终节点 220。
交换节点 215 收到控制报文后, 对控制报文中的第一路由信息进行解析, 获取并保存控制报文中的 PW标签 Label2, 作为交换节点 205分配给本交换节 点的 PW标签, Label2用于标识从本交换节点到交换节点 205的分段 PW; 交换 节点 215分配一个 PW标签 Label3 , Labe 格式可以和 LSP标签类似, 可以和 Label2相同, 也可以和 Label2不同, 构造携带 Lebel3、 第一 FEC信息和第一路 由信息的第一控制报文。
交换节点 215 获取第一路由信息中自己的标识信息的下一个标识信息, 由 于没有下一个标识, 因此, 交换节点 215读取第一控制报文中的第一 FEC信息 中的 ΤΑΠ字段的值,根据获取的值将携带 Label3的第一控制报文发送给第二终 节点 220。
步骤 330, 第二终节点 220构造携带 PW标签、 第二 FEC和第二路由信息 的第二控制报文并将第二控制报文发送给交换节点 215。
第二终节点 220保存 Label3 ,作为交换节点 215分配第二终节点 220的 PW 的标签, Label3用于标识交换节点 215和第二终节点 220间的分段 PW。
第二终节点 220分配 PW标签 label4, 构造携带 Label4、 第二 FEC信息和 第二路由信息的第二控制报文,其中, Label4可以和 Label3相同,也可以和 Label3 不同, Label4的格式可以和 LSP标签类似。
第二终节点 220构造第二控制报文的方式如下:
( 1 )如果在第二终节点 220上配置了第二 FEC信息,第二 FEC信息的 SAII 字段携带第二终节点 220的标识信息, ΤΑΠ字段携带第一终节点 200的标识信 息, 第二终节点 220对第一控制报文中的第一路由信息进行解析, 根据第一路 由信息生成第二路由信息, 生成的第二路由信息携带第一路由信息中的交换节 点的标识信息,第二路由信息也可以包含在 TLV参数中,结构可以如表 4所示。
TYPE
Length
交换节点 215的标识信息
交换节点 205的标识信息
也可以如表 5所示,
5
TYPE
Length
ER-hop TLV2
ER-hop TLV1
其中, ER-hop TLV2和 ER-hop TLV1的结构表 3已经描述, ER-hop TLV2 的 Content字段携带交换节点 215的标识信息, ER-hop TLV1的 Content字段携 带交换节点 205的标识信息。 第二终节点 220构造携带第二 FEC信息、 Label4和第二路由信息的第二控 制报文。
( 2 )第二终节点 220配置第二 FEC信息时, 不配置第二 FEC信息中 ΤΑΠ 字段的值,而是由第二终节点 220对第一控制报文中的第一 FEC信息进行学习, 获取第一 FEC信息的 SAII字段的值,将学习得到的 SAII字段的值赋予第二 FEC 信息中的 ΤΑΠ。
第二终节点 220根据第一控制报文中的第一路由信息生成第二路由信息, 包括对第一控制报文中的第一路由信息进行解析, 生成如表 4所示或者表 5所 示的第二路由信息。
第二终节点 220构造携带第二 FEC信息、 Label4和第二路由信息的第二控 制报文。
上述两种方式的选择取决于在第二终节点 220上设定的策略, 比如不管第 二 FEC信息是否配置了 ΤΑΠ的值, 都需要第二终节点 220对第一 FEC信息进 行解析等; 也可以由第二终节点 220 自己判断该选择哪一种方式, 比如可以是 当第二 FEC信息中配置了 ΤΑΠ的值时, 第二终节点 220选择第一种方式, 没有 配置 ΤΑΠ的值时, 选择第二种方式。
第二终节点 220根据第二路由信息中第一个标识信息将第二控制报文发送 给对应的交换节点, 本实施例中为交换节点 215。
步骤 340, 交换节点 215分配 PW标签 Label5 , 发送携带 Label5的第三控 制报文给交换节点 205。
交换节点 215 收到第二控制报文后, 对第二控制报文中的第二路由信息进 行解析, 获取并保存第二控制报文中的 Label4, 作为第二终节点 220分配给本 交换节点的 PW标签, Label4用于标识从本交换节点到第二终节点 220的分段 PW。 交换节点 215分配一个 PW标签 Label5 , Label5可以和 Label4相同, 也可 以不同, 交换节点 215构造携带 label5、 第二 FEC信息和第二路由信息的第三 控制报文, 获取第二路由信息中自己的标识信息的下一个标识信息, 将携带 Label5 的第三控制报文发送给获取的下一个标识信息对应的交换节点, 则即本 实施例中的交换节点 205。 步骤 350, 交换节点 205分配 PW标签 Label6, 发送携带 Label6的控制报 文给第一终节点 200。
交换节点 205 收到第三控制报文后, 对第三控制报文中的交换节点的路由 信息进行解析, 获取并保存第三控制报文中的 PW标签 Label5 , 作为交换节点 215分配给本交换节点的 PW标签, Label5用于标识从本交换节点到交换节点 215的分段 PW; 交换节点 205分配一个 PW标签 Label6, Label6可以和 Label5 相同, 也可以不同。 交换节点 205构造携带 Label6、 第二 FEC信息和第二路由 信息的控制报文; 获取自己的标识信息的下一个标识信息, 由于没有下一个标 识信息, 因此, 交换节点 205读取控制报文中的第二 FEC信息中的 ΤΑΠ字段的 值, 根据获取的值将携带 Label6的第二控制报文发送给第一终节点 200。
第一终节点 200保存 Label6, 作为交换节点 205分配给第一终节点 200的 PW标签。
经过上述步骤后, 第一终节点 200和第二终节点 220之间就建立了双向的 PW。 在这种方式下, 通过在控制报文中携带中间的交换节点的路由信息, 使得 中间的交换节点能根据路由信息转发报文, 因此, 在建立 PW 的过程中不需要 另外在交换节点上配置 PW路由表或动态建立 PW路由表, 也不需要人工配置 PW之间的映射关系。 在建立第一终节点 200和第二终节点 220之间的 PW时, 由于在第二终节 点 220发送的第二控制报文中需要对第一控制报文中的第一路由信息进行解析, 因此, 可以在第一控制报文携带返程所需要的包含交换节点标识信息第二路由 信息, 这样第二终节点 220可以直接读取第一控制报文中的第二路由信息, 而 不需要另外再构造, 这种方法的具体流程如图 5所示, 包括:
步骤 500, 第一终节点 200构造携带 PW标签、 第一 FEC信息、 第一路由 信息和第二路由信息的控制报文, 根据第一路由信息将控制报文发送交换节点
205。
第一终节点 200为第二终节点 220分配 PW标签 Labell , Labell的格式可 以和 LSP标签类似。 第一 FEC信息如图 4所示, 包含第一终节点 200和第二终节点 220的标识 信息。
第一路由信息携带交换节点 205和交换节点 215的标识信息, 结构可以如 表 1或表 2所示。
第二路由信息携带交换节点 215和交换节点 205的标识信息, 结构可以如 表 4或表 5所示。
第一终节点 200根据第一路由信息的第一个标识信息, 将控制报文发送给 对应的交换节点, 即本实施例中的 205。
步骤 510, 交换节点 205分配 PW标签 Label2, 去掉第一路由信息中自己的 标识信息后发送携带 Label2的控制报文给交换节点 215。
交换节点 205 收到控制报文后, 对控制报文中的第一路由信息进行解析, 获取并保存控制报文中的 PW标签 Labell , 分配一个 PW标签 Label2, 获取第 一路由信息中自己的标识信息 (第一个标识信息) 的下一个交换节点的标识信 息, 去掉控制报文中第一路由信息中自己的标识信息, 构造携带 label2、 第一 FEC信息、 第二路由信息和去掉了自己的标识信息后的第一路由信息的控制报 文, 根据获取的下一个交换节点的标识信息将处理后的控制报文发送对应的交 换节点, 即本实施例中的交换节点 215。
步骤 520, 交换节点 215分配 PW标签 Label3 , 去掉第一路由信息中自己的 标识信息后发送携带 Label3的第一控制报文给第二终节点 220。
交换节点 215 收到控制报文后, 对第一控制报文中的第一路由信息进行解 析, 获取并保存第一控制报文中的 PW标签 Label2, 分配一个 PW标签 Label3 , 获取第一路由信息中自己的标识信息 (第一标识信息) 的下一个标识信息, 由 于无下一个标识信息, 因此, 交换节点 215读取第一控制报文中的第一 FEC信 息中的 ΤΑΠ字段的值, 去掉第一路由信息中自己的标识信息, 构造携带 label3、 第一 FEC信息、 第二路由信息和去掉了自己的标识信息的第一路由信息的第一 控制报文中;根据获取的 ΤΑΠ的值将携带 Label3的第一控制报文发送给第二终 节点 220。
步骤 530, 第二终节点 220构造包括 PW标签 Label4、 第二 FEC信息和第 二路由信息的第二控制报文并发送第二控制报文。
第二终节点 220收到第一控制报文后, 分配 PW标签 label4, 根据第一控制 报文构造第二控制报文, 其中, Label4可以和 Label3相同, 也可以和 Label3不 同。
第二终节点 220构造第二控制报文的方式如下:
( 1 )如果在第二终节点 220配置了第二 FEC信息, 第二 FEC信息的 SAII 字段携带第二终节点 220的标识信息, ΤΑΠ字段携带第一终节点 200的标识信 息, 则第二终节点 220读取第一控制报文中的第二路由信息。
第二终节点 220构造携带第二 FEC信息、 Label4和第二路由信息的第二控 制 4艮文。
( 2 )第二终节点 220配置第二 FEC信息时, 配置第二 FEC信息中 SAII的 值, 由第二终节点 220对第一控制报文中的第一 FEC信息进行学习,获取第一 FEC信息的 SAII字段的值,将学习得到的 SAII字段的值赋予第二 FEC信息中 的 ΤΑΠ。
第二终节点 220读取第一控制报文中的第二路由信息。
第二终节点 220构造携带第二 FEC信息、 Label4和第二路由信息的第二控 制报文。
第二终节点 220根据第二路由信息中第一个交换节点的标识信息将第二控 制报文发送给相应的交换节点, 即本实施例中的交换节点 215。
步骤 540, 交换节点 215分配 PW标签 Label5 , 去掉第二路由信息中自己的 标识信息后将携带 Label5的第三控制报文发送给交换节点 205。
交换节点 215 收到第二控制报文后, 对第二控制报文中的第二路由信息进 行解析, 获取并保存第二控制报文中的 Label4, 分配 PW标签 Label5 , 获取第 二控制报文中的第二路由信息中自己的标识信息 (第一个标识信息) 的下一个 标识信息, 去掉第二路由信息中自己的标识信息, 并构造携带 label5、 第二 FEC 信息和去掉了自己的标识信息的第二路由信息的第三控制报文; 将携带 Label5 的第三控制报文发送给获取的下一个标识信息对应的交换节点, 即本实施例中 的交换节点 205。 步骤 550, 交换节点 205分配 PW标签 Label6, 去掉第二路由信息中自己的 标识信息后将携带 Label6的控制报文发送给第一终节点 200。
交换节点 205 收到第三控制报文后, 对第三控制报文中的交换节点的路由 信息进行解析, 获取并保存第三控制报文中的 Label5 , 分配 PW标签 Label6, 获取第三控制报文中的第二路由信息中自己的标识信息 (第一个标识信息) 的 下一个标识信息, 由于没有下一个标识信息, 因此, 交换节点 205读取第三控 制报文中的第二 FEC信息中的 ΤΑΠ字段的值,去掉第二路由信息中自己的标识 信息, 并构造携带 Label6、 第二 FEC信息和去掉了自己的标识信息的第二路由 信息的控制报文;根据获取的 ΤΑΠ值将携带 Label6的控制报文发送给第一终节 点 200。
经过上述过程后, 第一终节点 200和第二终节点 220之间的 PW就建立起 来了, 和第一种方式相比, 这种方式通过在控制报文中携带返程的路由信息, 使得第二终节点 220 不需要另外对第一控制报文进行解析, 而且中间交换节点 在获取下一个交换节点后, 去掉自己的标识信息, 因此, 下一个交换节点的标 识始终是第一个, 这样, 使得中间交换节点的处理过程变得更加筒单。 本实施例提供一种终节点, 所提供的终节点可用于主动发起建立 PW 的过 程, 也可以用于被动建立 PW的过程, 如图 6所示, 包括报文接收模块 601、 报 文发送模块 603、 报文处理模块 605和存储模块 607, 还可以包括 PW处理模块 609,
当终节点用于被动建立 PW的过程时, 各模块分别具备的功能如下: 报文接收模块 601 , 用于接收来自交换节点的第一控制报文, 所述第一控制 报文携带所述交换节点分配的 PW标签、第一 FEC信息和第一路由信息, 其中, 第一路由信息携带交换节点的标识信息, 所述路由信息用于交换节点发送所述 第一控制报文。
其中, 第一路由信息可以包含在 TLV参数中, 结构可以如表 1或者表 2所 示。 第一控制报文可以是现有的 Label Mapping报文。
第一 FEC信息的内容可以如图 4所示, 包括第一终节点和本终节点的标识 信息。
存储模块 607 , 用于存储预先设置的第二 FEC信息, 其中, 第二 FEC信息 的结构可以如图 4所示,可以预先配置其中的 SAII和 ΤΑΠ的值,也可以只配置 SAII的值, ΤΑΠ的值通过对第一控制报文进行学习得到。
存储模块 607还可以用于存储相邻节点的标识信息。
PW处理模块 609, 用于分配 PW标签, 分配的 PW标签的格式可以和 LSP 标签类似。
报文处理模块 605 ,用于根据报文接收模块 601收到的第一控制报文构造第 二控制报文。
报文处理模块 605 进一步可以包括读取模块和报文构造模块, 读取模块用 于读取存储模块 607中的第二 FEC信息,所读取的第二 FEC信息用于报文构造 模块构造第二控制报文。
报文构造模块用于根据第一控制报文构造第二控制报文, 构造第二控制报 文可包括以下方式:
( 1 )对第一控制报文进行学习, 获取第一控制报文中第一 FEC信息中的
SAII的值, 将获取的 SAII的值赋予读取模块读取的第二 FEC信息中的 ΤΑΠ字 段。 根据第一路由信息生成第二路由信息, 过程可以是: 新建一个 TLV参数, 读取第一控制报文中的包含交换节点的标识信息的 TLV参数(原 TLV参数), 获取原 TLV参数中交换节点的标识信息, 按照表 4或者表 5所述的格式将获取 的交换节点的标识信息添加到新建的 TLV参数中;
构造携带 PW处理模块 609分配的 PW标签、 第二 FEC信息和第二路由信 息的第二控制 _t艮文。
( 2 )报文构造模块也可以不对第一控制报文进行学习, 而是预先在存储模 块 607中配置好第二 FEC的 ΤΑΠ的值。
报文构造模块根据第一控制报文中的第一路由信息生成第二路由信息, 生 成第二路由信息的过程如上所述;
报文构造模块构造携带 PW处理模块 609分配的 PW标签、 第二路由信息 和存储模块 607存储的第二 FEC信息的第二控制报文。 在另一个实施例中, 报文接收模块 601 接收的第一控制报文中除了携带第 一路由信息外, 还携带第二路由信息, 则报文处理模块 605 的读取模块还用于 读取第一控制报文中的第二路由信息, 报文构造模块构造第二控制报文可以采 取如下两种方式:
( 1 )对第一控制报文进行学习, 获取第一控制报文中第一 FEC信息中的 SAII的值, 将获取的 SAII的值赋予读取模块读取的第二 FEC信息中的 ΤΑΠ字 段;
构造携带 PW处理模块 609分配的 PW标签、 第二 FEC信息和读取模块读 取的第二路由信息的第二控制报文。
( 2 )如果存储模块 607存储的第二 FEC信息配置好了 SAII和 ΤΑΠ的值, 则报文构造模块构造携带 PW处理模块 609分配的 PW标签、 读取模块读取的 第二 FEC信息和第二路由信息的第二控制报文。
报文发送模块 603 ,用于将所述报文处理模块 605构造的第二控制报文发送 给相应的交换节点, 从而实现本终结点和第一终节点之间的 PW的建立。
报文发送模块 603根据第二路由信息中第一个交换节点的标识信息将第二 控制报文发送给相应的交换节点, 由交换节点将第二控制报文发送给相应节点。 当所提供的终节点用于主动建立 PW的过程时, 各模块的功能如下: 存储模块 607 , 用于存储预先设置的第一 FEC信息, 第一 FEC信息的结构 可以如图 4所示, 第一 FEC信息中预先配置了 SAII和 ΤΑΠ的值, SAII的值包 含本终节点的标识信息, ΤΑΠ的值包含第二终节点的标识信息。
存储模块 607还用于存储相邻节点的标识信息以及第一路由信息, 第一路 由信息携带本终节点和第二终节点之间的交换节点的标识信息。
PW处理模块 609的功能与终节点用于被动建立 PW的过程中所具备的功能 一致, 上面已经描述, 在此不再阐述。
报文处理模块 605 , 用于构造第一控制报文, 其中,
报文处理模块 605中的读取模块用于读取存储模块 607中的第一 FEC信息 和第一路由信息。 报文处理模块 605中的报文构造模块用于根据读取模块读取的第一 FEC信 息构造控制报文, 构造的控制报文包括第一 FEC信息、 第一路由信息和 PW处 理模块 609分配的 PW标签。
报文处理模块 605 中的报文构造模块还可以构造第二路由信息, 第二路由 信息中交换节点的标识信息可以和第一路由信息中的交换节点的标识信息的顺 序相反。
报文发送模块 603 ,用于根据第一路由信息将所述报文处理模块 605构造的 控制报文发送给对应的交换节点,从而实现本终结点和第二终节点之间的 PW的 建立。
具体地, 报文发送模块 603根据第一路由信息中第一个交换节点的标识信 息将控制报文发送给相应的交换节点, 由交换节点将控制报文发送给相应节点。
本实施例提供的终节点, 能接收携带路由信息的控制消息, 由于在该路由 消息中携带交换节点的标识信息, 因此, 在交换节点收到该消息后, 通过对消 息的解析可以得知下一个节点的标识信息, 可以根据下一个节点的标识信息向 下一个节点发控制报文, 这个过程将由交换节点自动完成, 而不需要另外为建 立 PW而配置路由表信息, 也不需要另外配置 PW标签之间的映射关系。 本实施例还提供一种交换节点, 如图 7所示, 包括接收模块 701、 发送模块 703和处理模块 705 , 其中,
接收模块 701 , 用于接收控制报文, 所述控制报文携带所述终节点或交换节 点分配的 PW标签、 FEC信息和路由信息, 其中, 所述路由信息携带交换节点 的标识信息, 路由信息可以包含在控制报文中的 TLV参数中。
处理模块 705 , 用于对所述接收模块 701收到的控制报文进行处理, 包括根 据控制报文中的路由信息获取 PW路由上下一跳节点的标识信息。
处理模块 705可以包括读取模块和判断模块, 其中,
读取模块, 用于读取所述控制报文携带的路由信息中自己的标识信息的下 一个标识信息。
读取模块, 还用于读取所述控制报文携带的 PW标签, 分配一个 PW标签, 所分配的 PW标签可以和控制 4艮文中的 PW标签相同, 也可以不同。 判断模块, 用于判断所述读取模块读取标识信息是否为空, 如果为空, 则 通知所述读取模块读取所述控制报文携带的 FEC信息中的 ΤΑΠ字段的值,作为 下一跳节点的标识信息。
在另一个实施例中, 读取模块还用于读取路由信息中自己的标识信息的下 一个标识信息之后, 去掉路由信息中自己的标识信息, 这样下一个交换节点的 标识信息为路由信息中的第一个标识信息。
发送模块 703 , 用于根据所述处理模块获取的标识信息发送所述控制报文。 本实施例提供的交换节点, 能在收到建立 PW 的控制报文后, 根据报文中 携带的中间交换节点的路由信息发送报文, 从而不需要再交换节点上设置建立
PW所需的 PW路由表信息, 也不需要配置 PW各个分段之间的映射关系。 本实施例一个实施例提供一种 PW的建立系统, 如图所示 8所示, 包括第 一终节点 200、 第二终节点 220以及交换节点 800, 第一终节点 200通过交换节 点 800和第二终节点 220相连。
其中,
第一终节点 200, 用于构造控制报文, 控制报文携带第一终节点分配的 PW 标签、 第一 FEC信息和第一路由信息, 根据第一路由信息将控制报文发送给交 换节点 800。
交换节点 800, 用于接收所述来自第一终节点 200的控制报文,对控制报文 进行处理, 获取从第一终节点 200到第二终节点 220方向的 PW路由上下一跳 节点的标识信息, 根据获取的标识信息发送第一控制报文; 以及接收来自所述 第二终节点 220 的第二控制报文, 对第二控制报文进行处理, 获取从第二终节 点 220到第一终节点 200方向的 PW路由上下一跳节点的标识信息, 根据获取 的下一跳节点标识信息发送第三控制报文。
交换节点 800获取从第一终节点 200到所述第二终节点 220方向的 PW路 由上下一跳节点的标识信息包括: 获取控制报文中自己的标识信息的下一个标 识信息, 将获取的下一个标识信息当作 PW路由上的下一跳节点的标识信息, 当获取的下一个标识信息为空时, 获取控制报文中的第一 FEC信息的目的终节 点的标识信息作为 PW路由上的下一跳节点的标识信息, 交换节点获取从第二 终节点 220到第一终节点 200方向的 PW路由上下一跳节点的标识信息的过程 与获取从第一终节点 200到所述第二终节点 220方向的 PW路由上下一跳节点 的标识信息的过程类似, 在此不再阐述。
第二终节点 220, 用于接收第一控制报文,根据第一控制报文构造第二控制 报文, 将第二控制报文发送交换节点 800, 交换节点 800根据收到的第二控制报 文中的第二路由信息, 向第一终节点 200发送第三控制报文, 完成第二终节点 到第一终节点间的 PW建立。
其中, 第二终节点 220收到第一控制报文后, 分配 PW标签, 根据第一控 制报文构造第二控制报文包括两种方式:
( 1 )对第一控制报文进行学习, 获取第一控制报文中第一 FEC信息中的 SAII的值, 将获取的 SAII的值赋予第二终节点 220上预先存储的第二 FEC信 息中的 ΤΑΠ字段。 根据第一路由信息生成第二路由信息, 过程可以是: 新建一 个 TLV参数, 读取第一控制报文中的包含交换节点的标识信息的 TLV参数 (原 TLV参数), 获取原 TLV参数中交换节点的标识信息, 按照表 4或者表 5所述 的格式将获取的交换节点的标识信息添加到新建的 TLV参数中;
构造携带第二终节点 220分配的 PW标签、 第二 FEC信息和第二路由信息 的第二控制报文。
( 2 )也可不对第一控制报文进行学习, 而是预先第二终节点 220上配置好 第二 FEC的 ΤΑΠ的值。第二终节点 220根据第一控制报文中的第一路由信息生 成第二路由信息, 生成第二路由信息的过程如上所述;
构造携第二终节点 220分配的 PW标签、 第二 FEC信息和第二路由信息的 第二控制报文。
构造了第二控制报文后, 第二终节点 220根据第二路由信息将第二控制报 文发送给相应的交换节点, 例如, 根据第二路由信息中第一个标识信息将第二 控制报文发送给对应的交换节点。
在另一个实施例中, 第一终节点 200在构造控制报文时, 除了携带 PW标 签、 第一 FEC信息和第一路由信息外, 还包括第二路由信息, 第二路由信息携 带第二中节点 220到第一终节点 200方向上 PW路由的交换节点的标识信息, 第二路由信息携带的交换节点的标识信息的顺序可以和第一路由信息携带的交 换节点的标识信息的顺序相反, 这样第二终节点 220收到控制报文后, 不需要 另外生成第二路由信息, 直接读取控制报文中的第二路由信息。
在控制报文中携带第一路由信息和第二路由信息后, 在从第一终节点 200 到第二终节点 220方向, 交换节点 800还可以读取下一跳节点的标识信息, 并 删除第一路由信息中自己的标识信息, 使得第一终节点 200到第二终节点 220 方向上 PW路由的下一个交换节点的标识信息为第一路由信息中的第一个; 在 从第二终节点 220到第一终节点 200方向, 交换节点 800还可以读取下一跳节 点的标识信后, 删除第二路由信息中自己的标识信息, 使得第二终节点 220到 第一终节点 200方向上 PW路由的下一个交换节点的标识信息为第二路由信息 中的第一个。
本实施例提供的 PW的建立系统,在第一终节点发送的控制报文中携带 PW 路由上中间交换节点的标识信息, 中间节点能根据交换节点的标识信息对控制 报文的发送并对 PW路由上的中间节点的标识信息进行转发, 这样不需要另外 配置建立 PW所需的 PW路由表, 同时通过在第一终节点的控制报文中携带从 第二终节点到第一终节点方向上 PW路由信息, 这样也可以使得第二终节点在 构造控制报文的方式上变得筒单。
本发明实施例或者其中的一部分, 可以利用软件实现, 相应的软件程序可 以存储在可读取的存储介质中, 例如光盘, 硬盘, 软盘等。
以上公开的仅为本发明的几个具体实施例, 但是, 本发明并非局限于此, 任何本领域的技术人员能思之的变化都应落入本发明的保护范围。

Claims

权利要求
1、 一种伪线 PW的建立方法, 其特征在于包括:
交换节点接收控制报文, 所述控制报文携带第一转发等价类 FEC信息和路 由信息;
所述交换节点根据所述控制报文构造第一控制报文, 并将所述第一控制报 文发送给第二终节点;
所述第二终节点根据所述第一控制报文构造携带第二 FEC信息和第二路由 信息的第二控制 ·^艮文, 所述第二 FEC信息包括第一终节点的标识信息;
所述第二终节点根据所述第二路由信息将所述第二控制报文发送给所述交 换节点。
2、 根据权利要求 1所述的方法, 其特征在于, 所述第二终节点根据所述第 一控制报文构造携带第二 FEC信息和第二路由信息的第二控制报文具体包括: 所述第二终节点根据所述第一控制报文中的路由信息生成第二路由信息; 所述第二终节点构造携带预先配置的第二 FEC信息和所述第二路由信息的 第二控制报文, 其中, 所述第二 FEC信息携带所述第二终节点的标识信息。
3、 根据权利要求 1所述的方法, 其特征在于, 所述第二终节点根据所述第 一控制报文构造携带第二 FEC信息和第二路由信息的第二控制报文具体包括: 所述第二终节点对所述第一 FEC信息进行学习,获取所述第一 FEC信息中 的源附属个体标识 SAII信息, 用所述 SAII信息设置第二 FEC信息, 第二 FEC 信息携带所述第二终节点的标识信息;
所述第二终节点根据所述第一控制报文中的路由信息生成第二路由信息; 所述第二终节点构造携带第二 FEC信息和所述第二路由信息的第二控制报 文。
4、 根据权利要求 2或 3所述的方法, 其特征在于, 所述路由信息携带建立 从所述第一终节点到所述第二终节点的 PW需经过的交换节点的标识信息, 所 述第二路由信息携带建立从所述第二终节点到所述第一终节点的建立 PW需经 过的交换节点的标识信息, 所述交换节点的标识信息为交换节点的设备标识或 交换节点的 IP地址。
5、 根据权利要求 1所述的方法, 其特征在于, 所述路由信息包括第一路由 信息和第二路由信息, 所述第一路由信息携带建立从所述第一终节点到所述第 二终节点的 PW需经过的交换节点的标识信息, 所述第二路由信息携带建立从 所述第二终节点到所述第一终节点的 PW需经过的交换节点的标识信息, 所述 交换节点的标识信息为交换节点的设备标识或交换节点的 IP地址。
6、 根据权利要求 5所述的方法, 其特征在于, 所述第二终节点根据所述第 一控制报文构造携带第二 FEC信息和第二路由信息的第二控制报文具体包括: 所述第二终节点对所述第一 FEC信息进行学习,获取所述第一 FEC信息中 的 SAII信息, 用所述 SAII信息设置第二 FEC信息, 设置后第二 FEC携带所述 第二终节点的标识信息;
所述第二终节点读取所述第一控制报文中的第二路由信息;
所述第二终节点构造携带第二 FEC信息和所述第二路由信息的第二控制报 文。
7、 根据权利要求 5所述的方法, 其特征在于, 所述第二终节点根据所述第 一控制报文构造携带第二 FEC信息和第二路由信息的第二控制报文具体包括: 所述第二终节点读取所述第一控制报文中的第二路由信息;
所述第二终节点构造携带预先配置的第二 FEC信息和所述第二路由信息的 第二控制报文, 其中, 所述第二 FEC信息携带所述第二终节点的标识信息。
8、 根据权利要求 2或 3或 6或 7所述的方法, 其特征在于, 第一终节点的 标识信息为回环地址, 第二终节点的标识信息为回环地址。
9、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括, 所述交换节点收到来自所述第二终节点的第二控制报文后, 读取所述第二 控制报文中的第二路由信息中自己的标识信息的下一个标识信息, 如果无下一 个标识信息, 则所述交换节点读取所述第二控制报文中的第二 FEC信息中第一 终节点的标识信息;
所述交换节点构造第三控制报文, 根据读取的标识信息将所述第三控制报 文发送给对应的节点。
10、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括, 所述交换节点收到来自所述第二终节点的第二控制报文后, 读取所述第二 控制报文中的第二路由信息中自己的标识信息的下一个标识信息, 如果无下一 个标识信息, 则所述交换节点读取所述第二控制报文中的第二 FEC信息中第一 终节点的标识信息;
所述交换节点删除所述第二路由信息中自己的标识信息;
所述交换节点构造第三控制报文, 根据读取的标识信息将所述第三控制报 文发送给对应的节点。
11、 一种终节点, 其特征在于, 包括:
报文接收模块, 用于接收来自交换节点的第一控制报文, 所述第一控制报 文携带第一转发等效类 FEC信息和路由信息;
报文处理模块, 用于根据报文接收模块收到的第一控制报文构造第二控制 报文, 所述第二控制报文携带第二 FEC信息和第二路由信息, 所述第二 FEC信 息携带第一终节点的标识信息;
报文发送模块, 用于将所述报文处理模块构造的第二控制报文发送给所述 交换节点。
12、 根据权利要求 11所述的终节点, 其特征在于, 所述报文处理模块具体 包括读取模块和报文构造模块,
所述读取模块, 用于读取预先配置的第二 FEC信息;
所述报文构造模块, 用于根据所述第一控制报文中的路由信息生成第二路 由信息, 构造携带所述读取单元读取的第二 FEC信息和所述第二路由信息的第 二控制报文;
所述读取模块, 用于读取预先配置部分信息的第二 FEC信息;
所述报文构造模块,用于对所述第一控制报文中的第一 FEC信息进行学习, 获取所述第一 FEC信息中的源附属个体标识 SAII信息, 用所述 SAII信息设置 所述读取模块读取的第二 FEC信息, 根据所述第一控制报文中的路由信息生成 第二路由信息, 构造携带设置后的第二 FEC信息和所述第二路由信息的第二控 制报文。
13、 根据权利要求 11所述的终节点, 其特征在于, 所述路由信息具体包括 第一路由信息和第二路由信息, 所述报文处理模块具体包括读取模块和报文构 造模块,
所述读取模块, 用于读取预先配置的第二 FEC信息和所述第一控制报文中 的第二路由消息;
所述报文构造模块, 用于构造携带所述读取单元读取的第二 FEC信息和所 述第二路由信息的第二控制报文;
所述读取模块, 用于读取预先配置部分信息的第二 FEC信息和所述第一控 制报文中的第二路由消息;
所述报文构造模块,用于对所述第一控制报文中的第一 FEC信息进行学习, 获取所述第一 FEC信息中的 SAII信息, 用所述 SAII信息设置所述读取模块读 取的第二 FEC信息,构造携带设置后的第二 FEC信息和所述读取模块读取的第 二路由信息的第二控制报文。
14、 一种终节点, 其特征在于, 包括:
存储模块,用于存储第一 FEC信息和第一路由信息,或者用于存储第一 FEC 信息、 第一路由信息和第二路由信息, 其中, 所述第一 FEC信息携带目的终节 点的标识信息;
报文处理模块, 用于在存储模块存储有第一 FEC信息和第一路由信息时构 造携带所述第一 FEC信息和所述第一路由信息的控制报文; 或者在存储模块存 储有第一 FEC信息、第一路由信息和第二路由信息时构造携带所述第一 FEC信 息、 第一路由信息和所述第二路由信息的控制报文;
报文发送模块, 用于根据所述第一路由信息将所述报文处理模块构造的控 制报文发送给对应的交换节点。
15、 一种交换节点, 其特征在于, 包括:
接收模块, 用于接收控制报文, 所述控制报文携带转发等效类 FEC信息和 路由信息; 处理模块, 用于根据所述接收模块收到的控制报文中的路由信息获取下一 跳节点的标识信息, 以及根据所述控制报文构造第一控制报文;
发送模块, 用于根据所述处理模块获取的标识信息将所述第一控制报文发 送给所述标识信息对应的节点。
16、 根据权利要求 15所述的交换节点, 其特征在于, 所述处理模块具体包 括读取模块和判断模块,
所述读取模块, 读取所述控制报文携带的路由信息中下一跳交换节点的标 识信息;
所述判断模块, 判断所述读取模块是读取的标识信息是否为空, 如果为空, 则通知所述读取模块读取所述控制报文携带的 FEC信息中的目的终节点的标识 信息。
17、 根据权利要求 16所述的交换节点, 其特征在于,
所述读取模块还用于删除所述控制报文携带的路由信息中自己的标识信 息。
18、 一种伪线 PW的建立系统, 包括第一终节点、 第二终节点和交换节点, 所述第一终节点通过交换节点与所述第二终节点相连, 其特征在于,
所述第一终节点, 用于构造控制报文, 所述控制报文携带第一转发等效类 FEC信息和路由信息, 所述第一 FEC信息携带第二终节点的标识信息, 根据所 述路由信息将所述控制报文发送给交换节点, 以及接收交换节点的控制报文; 交换节点, 接收控制报文, 根据接收的控制报文构造第一控制报文, 根据 接收的控制报文中的路由信息获取下一跳节点的标识信息, 根据获取的标识信 息将第一控制报文发送给标识信息对应的节点;
所述第二终节点, 用于接收交换节点的控制报文, 根据接收的控制报文构 造携带第二 FEC信息和第二路由信息的第二控制报文,第二 FEC信息携带第一 终节点的标识信息, 根据第二路由信息将所述第二控制报文发送给交换节点。
PCT/CN2009/072504 2009-06-29 2009-06-29 一种伪线的建立方法、装置和系统 WO2011000140A1 (zh)

Priority Applications (8)

Application Number Priority Date Filing Date Title
CN200980158251.XA CN102282811B (zh) 2009-06-29 2009-06-29 一种伪线的建立方法、装置和系统
EP09846669.1A EP2439888B1 (en) 2009-06-29 2009-06-29 Apparatus and method for establishing pseudo wire
PCT/CN2009/072504 WO2011000140A1 (zh) 2009-06-29 2009-06-29 一种伪线的建立方法、装置和系统
ES09846669.1T ES2531546T3 (es) 2009-06-29 2009-06-29 Aparato y método para establecer un denominado pseudo-conductor
ES14180989.7T ES2611180T3 (es) 2009-06-29 2009-06-29 Método, dispositivo y sistema para establecer un denominado Pseudo-circuito
EP14180989.7A EP2822238B1 (en) 2009-06-29 2009-06-29 Method and device for establishing a pseudo wire
US13/340,101 US8964749B2 (en) 2009-06-29 2011-12-29 Method, device and system for establishing a pseudo wire
US14/604,255 US20150131672A1 (en) 2009-06-29 2015-01-23 Method, device and system for establishing a pseudo wire

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2009/072504 WO2011000140A1 (zh) 2009-06-29 2009-06-29 一种伪线的建立方法、装置和系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/340,101 Continuation US8964749B2 (en) 2009-06-29 2011-12-29 Method, device and system for establishing a pseudo wire

Publications (1)

Publication Number Publication Date
WO2011000140A1 true WO2011000140A1 (zh) 2011-01-06

Family

ID=43410441

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2009/072504 WO2011000140A1 (zh) 2009-06-29 2009-06-29 一种伪线的建立方法、装置和系统

Country Status (5)

Country Link
US (2) US8964749B2 (zh)
EP (2) EP2439888B1 (zh)
CN (1) CN102282811B (zh)
ES (2) ES2611180T3 (zh)
WO (1) WO2011000140A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195870A (zh) * 2010-03-01 2011-09-21 中兴通讯股份有限公司 伪线迁移方法及装置
CN102404199A (zh) * 2011-10-11 2012-04-04 中兴通讯股份有限公司 一种多段伪线的建立及恢复方法、装置和系统
CN106161235A (zh) * 2015-04-10 2016-11-23 中兴通讯股份有限公司 一种获取多段伪线路径信息的方法及装置

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9042369B2 (en) * 2013-03-13 2015-05-26 Alcatel Lucent System and method for reflecting FEC route information
CN105684400B (zh) * 2013-10-17 2019-02-01 华为技术有限公司 二层虚拟专用网络业务的建立方法和设备
US9407541B2 (en) * 2014-04-24 2016-08-02 International Business Machines Corporation Propagating a flow policy by control packet in a software defined network (SDN) based network
CN104158877A (zh) * 2014-08-15 2014-11-19 杭州古北电子科技有限公司 远程控制方法、装置及其系统
EP2988451A1 (en) * 2014-08-22 2016-02-24 Vodafone IP Licensing limited Method and system for mapping different layouts

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355490A (zh) * 2007-07-25 2009-01-28 华为技术有限公司 消息路由方法、系统和节点设备
WO2009013582A1 (en) * 2007-07-20 2009-01-29 Telefonaktiebolaget L M Ericsson (Publ) System and method for ethernet label distribution
CN101414979A (zh) * 2008-11-26 2009-04-22 北京星网锐捷网络技术有限公司 标签分发消息的处理方法及标签交换路由器
CN101433030A (zh) * 2006-04-27 2009-05-13 阿尔卡特朗讯公司 Ip接口上的以太网vll轮辐终端
US20090141721A1 (en) * 2007-11-30 2009-06-04 Cisco Technology, Inc., A Corporation Of California Deterministic Multiprotocol Label Switching (MPLS) Labels

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100473069C (zh) 2004-07-12 2009-03-25 中兴通讯股份有限公司 支持伪线标签反射的二层虚拟专网设备和组网方法
WO2007022640A1 (en) * 2005-08-26 2007-03-01 Nortel Networks Limited Method for establishing multi segment pseudowire across domains having different pseudowire signaling protocol
CN100555989C (zh) * 2006-01-20 2009-10-28 华为技术有限公司 一种点到多点伪线的实现方法
US7532587B2 (en) * 2006-09-06 2009-05-12 Motorola, Inc. Method and apparatus for performing anonymous source routing
US7778204B2 (en) * 2008-07-25 2010-08-17 Alcatel-Lucent Usa Inc. Automatic maintenance of a distributed source tree (DST) network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101433030A (zh) * 2006-04-27 2009-05-13 阿尔卡特朗讯公司 Ip接口上的以太网vll轮辐终端
WO2009013582A1 (en) * 2007-07-20 2009-01-29 Telefonaktiebolaget L M Ericsson (Publ) System and method for ethernet label distribution
CN101355490A (zh) * 2007-07-25 2009-01-28 华为技术有限公司 消息路由方法、系统和节点设备
US20090141721A1 (en) * 2007-11-30 2009-06-04 Cisco Technology, Inc., A Corporation Of California Deterministic Multiprotocol Label Switching (MPLS) Labels
CN101414979A (zh) * 2008-11-26 2009-04-22 北京星网锐捷网络技术有限公司 标签分发消息的处理方法及标签交换路由器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2439888A4 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102195870A (zh) * 2010-03-01 2011-09-21 中兴通讯股份有限公司 伪线迁移方法及装置
CN102404199A (zh) * 2011-10-11 2012-04-04 中兴通讯股份有限公司 一种多段伪线的建立及恢复方法、装置和系统
CN102404199B (zh) * 2011-10-11 2014-04-30 中兴通讯股份有限公司 一种多段伪线的建立及恢复方法、装置和系统
CN106161235A (zh) * 2015-04-10 2016-11-23 中兴通讯股份有限公司 一种获取多段伪线路径信息的方法及装置

Also Published As

Publication number Publication date
CN102282811A (zh) 2011-12-14
US8964749B2 (en) 2015-02-24
ES2531546T3 (es) 2015-03-17
US20120099598A1 (en) 2012-04-26
EP2822238A1 (en) 2015-01-07
EP2822238B1 (en) 2016-09-21
ES2611180T3 (es) 2017-05-05
EP2439888A4 (en) 2012-10-10
EP2439888B1 (en) 2014-12-10
US20150131672A1 (en) 2015-05-14
CN102282811B (zh) 2014-05-21
EP2439888A1 (en) 2012-04-11

Similar Documents

Publication Publication Date Title
Martini et al. Pseudowire setup and maintenance using the label distribution protocol (LDP)
WO2020029976A1 (zh) Vpn跨域的实现方法、装置和边界节点
WO2016066072A1 (zh) 实现nvo3网络与mpls网络之间通信的方法和装置
WO2011000140A1 (zh) 一种伪线的建立方法、装置和系统
JP5472664B2 (ja) ネットワーク通信方法およびネットワークノード装置
US8861547B2 (en) Method, apparatus, and system for packet transmission
JP2014532368A (ja) トラフィックエンジニアリングトンネルに基づく仮想プライベートネットワーク実行方法及びシステム
WO2015165311A1 (zh) 传输数据报文的方法和供应商边缘设备
WO2015000173A1 (zh) 建立隧道的方法、分配标签的方法、设备及网络系统
WO2014194711A1 (zh) 报文处理方法、设备标签处理方法及设备
EP2214352A1 (en) Layer two virtual private network cross-domain implementation (l2vpn) method, system and device
WO2010127570A1 (zh) 一种双向点到多点标签交换路径的建立方法、装置及系统
WO2011153679A1 (zh) 业务配置方法、设备和系统
WO2007095799A1 (fr) Procédé et système permettant de réaliser une émulation pseudo-filaire de bout en bout de l'interface de groupage
WO2015032275A1 (zh) 隧道建立的方法及路由器
WO2013139270A1 (zh) 实现三层虚拟专用网络的方法、设备及系统
WO2008011818A1 (fr) Procédé de fourniture d'un service réseau local privé virtuel à hiérarchie et système réseau
WO2014186978A1 (zh) 用于以太虚拟专用网的方法和设备
WO2015000384A1 (zh) 一种标签处理的方法及装置
WO2013139234A1 (zh) 一种组播传输方法、装置和网络系统
WO2012055247A1 (zh) 伪线路由扩散方法和设备
WO2011147341A1 (zh) 一种分配mpls标签的方法和网络装置
WO2015100585A1 (zh) 光纤到分配点设备及其通信方法
WO2012142753A1 (zh) Ip承载网性能监控的方法及设备
WO2013117165A1 (zh) 实现基于VPLS的E-tree业务的方法和节点

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980158251.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09846669

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2009846669

Country of ref document: EP