Method, device and system for establishing a pseudo wire
Abstract
A method, a device and a system for establishing a Pseudo Wire (PW) are provided. The method includes: receiving, by a switching node, a control message; constructing a first control message according the first FEC information and the routing information in the control message, and sending the first control message to a second terminal node; constructing, by the second terminal node, a second control message, where the second control message includes the second FEC information and the second routing information, and the second FEC information carries identification information of the first terminal node; and sending the second control message to the switching node. In the method, it is unnecessary to manually configure a PW routing table on the switching node or establish a PW routing table dynamically through a routing protocol, and it is unnecessary to configure mapping relations between PW segments manually. This method achieves robust maintenance.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method for establishing a Pseudo Wire (PW), the method comprising:
receiving, by a first switching node, a first control message comprising a first PW label, Forwarding Equivalence Class (FEC) information and first routing information, wherein the first routing information comprises an identifier of the first switching node and an identifier of a second switching node, the first switching node is required to be passed for establishing a Multi-Segment Pseudo Wire (MS-PW) from a first terminal node to a second terminal node, the second switching node is the next-hop of the first switching node in the MS-PW, the FEC information comprises an identifier of the second terminal node; obtaining the identifier of the second switching node from the first routing information; deleting the identifier of the first switching node from the first routing information to obtain second routing information; based on the deletion of the identifier of the first switching node from the first routing information, constructing a second control message comprising a second PW label, the FEC information and the second routing information; and sending the second control message to a node according to the obtained identification of the second switching node.
2 . The method according to claim 1 , further comprising: storing, by the first switching node, the first PW label.
3 . A first switching node, comprising:
a receiver, configured to receive a first control message comprising a first PW label, Forwarding Equivalence Class (FEC) information and first routing information, wherein the first routing information comprises an identifier of the first switching node and an identifier of a second switching node, the first switching node is required to be passed for establishing a Multi-Segment Pseudo Wire (MS-PW) from a first terminal node to a second terminal node, the second switching node is the next-hop of the first switching node in the MS-PW, the FEC information comprises an identifier of the second terminal node; a message compiler, configured to obtain the identifier of the second switching node from the first routing information, delete the identifier of the first switching node from the first routing information to obtain second routing information, construct a second control message based on the deletion of the identifier of the first switching node from the first routing information, wherein the second control message comprises a second PW label, the FEC information and the second routing information; and a transmitter, configured to send the second control message to a node according to the obtained identification of the second switching node.
4 . The first switching node according to claim 3 , further comprising a storage module, configured to store the first PW label.
5 . A computer program product for use in a first switching node, the computer program product comprising computer executable instructions, stored on a non-transitory computer readable medium, such that when executed by a computer program processor, cause the first switching node to perform the following:
receive a first control message comprising a first PW label, Forwarding Equivalence Class (FEC) information and first routing information, wherein the first routing information comprises an identifier of the first switching node and an identifier of a second switching node, the first switching node is required to be passed for establishing a Multi-Segment Pseudo Wire (MS-PW) from a first terminal node to a second terminal node, the second switching node is the next-hop of the first switching node in the MS-PW, the FEC information comprises an identifier of the second terminal node; obtain the identifier of the second switching node from the first routing information; delete the identifier of the first switching node from the first routing information to obtain second routing information; based on the deletion of the identifier of the first switching node from the first routing information, constructing a second control message comprising a second PW label, the FEC information and the second routing information; and send the second control message to anode according to the obtained identification of the second switching node.
6 . The computer program product according to claim 5 , wherein the first switching node is further caused to store the first PW label.Join the waitlist — get patent alerts
Track US2015131672A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.