A method and device for forwarding messages via a shared link of a resilient packet ring

By setting up redundant common channels and common port redirection table entries in the RPR intersection ring network, the problem of traffic cannot be effectively forwarded between intersection nodes is solved, and the effective bearer of traffic on the RPR shared ring and the network application enhancement of the RPR intersection ring network is achieved.

CN115604054BActive Publication Date: 2025-03-14新华三技术有限公司合肥分公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211200917.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-29
Publication Date
2025-03-14
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

In the RPR intersection ring network, traffic between intersection nodes cannot be effectively forwarded through the shared link, resulting in limited network network application.

Method used

By setting up redundant common channel and common port redirecting table entries, traffic between intersecting nodes on the RPR common ring is redirected to the RPR intersection ring to realize common link forwarding across the ring.

Benefits of technology

The effective bearing of traffic between intersecting nodes on the RPR common ring is realized, and the networking application capabilities of the RPR intersection ring network are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604054B_ABST
    Figure CN115604054B_ABST
Patent Text Reader

Abstract

The present application provides a method and device for forwarding messages on a shared link of a resilient packet ring, the method comprising: setting the RPR MAC address of a neighbor intersection node as the RPR MAC address of the opposite node of the shared link; setting a shared port on the RPR shared ring; setting a redundant shared channel between the RPR shared ring and the RPR intersecting ring; setting a redirection table entry for redirecting messages with the shared port as an egress port to the redundant shared channel; when the egress port of an RPR unicast data message to be forwarded is a shared port, transferring the RPR unicast data message to be forwarded from the RPR shared ring to the RPR intersecting ring through the redirection table entry; encapsulating the RPR unicast data message to be forwarded with an outer RPR header having a specified VLAN and a destination RPR MAC address as the MAC address of the opposite node of the shared link; and sending the message through the shortest path on the RPR intersecting ring to reach the neighbor intersection node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a resilient packet ring technology, and in particular to a method and device for forwarding messages on a shared link of a resilient packet ring. Background Art

[0002] RPR (Resilient Packet Ring) is a new MAC (Media Access Control) protocol that can run on SONET (Synchronous Optical Network) / SDH (Synchronous Digital Hierarchy), DWDM (Dense Wavelength Division Multiplexing) and Ethernet, providing a flexible and efficient networking solution for broadband IP metropolitan area network operators. RPR uses RPR MAC layer frame encapsulation to achieve transparent transmission of Ethernet Over RPR. The ring structure and topology protection mechanism of RPR are transparent to the forwarding process and access equipment of the traffic it carries.

[0003] In a single RPR ring, the direction in which RPR nodes send RPR data packets in the clockwise direction is Ring 0, also known as the Outer Ring; the direction in which RPR sends RPR packets in the counterclockwise direction is Ring 1, also known as the Inner Ring. RPR nodes send RPR data packets on Ring 0 and receive RPR data packets on Ring 1 through the eastbound physical port; they receive RPR data packets on Ring 0 and send RPR data packets on Ring 1 through the westbound physical port.

[0004] The east-west physical ports and west-bound physical ports of each RPR node form the RPR logical port. In the RPR node, each switching unit and each RPR processing unit are interconnected through the internal physical Ethernet port Internal Port A).

[0005] At present, different RPR rings are evolved on the basis of a single RPR ring to form an RPR intersecting ring network, and different RPR rings of the RPR intersecting ring network intersect at two RPR nodes. Summary of the invention

[0006] The purpose of the present application is to provide a method and device for forwarding messages on a shared link of a resilient packet ring, which carries the traffic of the intersecting nodes on other RPR sub-rings through the physical link between the intersecting nodes in one of the RPR sub-rings.

[0007] To achieve the above-mentioned purpose, the present application provides a method for forwarding messages on a shared link of a resilient packet ring, the method comprising: setting the RPR MAC address of a neighbor intersection node as the RPR MAC address of the opposite node of the shared link; setting a shared port on the RPR shared ring for a port that is not connected to the neighbor intersection node; the RPR shared ring is set as a redundant shared channel between the RPR shared ring and the RPR intersection ring; setting a shared port redirection table entry that redirects messages with the shared port as an egress port to the redundant shared channel; when the egress port of the RPR unicast data message to be forwarded is a shared port, transferring the RPR unicast data message to be forwarded from the RPR shared ring to the RPR intersection ring through the shared port redirection table entry; encapsulating the RPR unicast data message to be forwarded with an outer RPR header with a specified VLAN and a destination RPR MAC address as the MAC address of the opposite node of the shared link; and sending the RPR unicast data message with the outer RPR header through the RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring.

[0008] To achieve the above-mentioned purpose, the present application also provides a device for forwarding messages on a shared link of a resilient packet ring, the device comprising a processor and a memory; the memory is used to store processor executable instructions; wherein the processor performs the following operations by running the processor executable instructions in the memory: setting the RPR MAC address of the neighbor intersection node to the RPR MAC address of the opposite node of the shared link; setting a shared port on the RPR shared ring for use with the port RPR shared ring that is not connected to the neighbor intersection node; setting a redundant shared channel between the RPR shared ring and the RPR intersection ring; setting a shared port redirection table entry for redirecting messages with the shared port as the egress port to the redundant shared channel; when the egress port of the RPR unicast data message to be forwarded is the shared port, transferring the RPR unicast data message to be forwarded from the RPR shared ring to the RPR intersection ring through the shared port redirection table entry; encapsulating the RPR unicast data message to be forwarded with a specified VLAN and a destination RPR An outer RPR header whose MAC address is the MAC address of the opposite node of the shared link; an RPR unicast data message with an outer RPR header is sent through an RPR port on the shortest path to the neighboring intersecting node on the RPR intersecting ring; and traffic of the intersecting nodes on other RPR sub-rings is carried through a physical link between the intersecting nodes in one of the RPR sub-rings.

[0009] The beneficial effect of the present application is that the traffic between the intersecting nodes on the RPR shared ring is carried through the intersecting rings, which is beneficial to the application of the networking of the RPR intersecting ring network. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A flowchart of an embodiment of a method for forwarding messages on a shared link of a resilient packet ring provided by the present application;

[0011] Figure 2A-2B An internal schematic diagram of an intersection node provided in an embodiment of the present application;

[0012] Figure 3 A schematic diagram of a shared link of an RPR intersecting ring network provided in an embodiment of the present application;

[0013] Figure 4 An internal schematic diagram of a shared link of an intersecting node of an RPR intersecting ring network provided in an embodiment of the present application;

[0014] Figure 5 A schematic diagram of an embodiment of a shared link forwarding device for a resilient packet ring is provided for the present application. DETAILED DESCRIPTION

[0015] The present invention will be described in detail with multiple examples shown in multiple figures. In the following detailed description, multiple specific details are used to provide a comprehensive understanding of the present application. Known methods, steps, components and circuits are not described in detail in the examples to avoid making these examples difficult to understand.

[0016] Among the terms used, the term "include" means including but not limited to; the term "contain" means including but not limited to; the terms "above", "within" and "below" are inclusive of the number; the terms "greater than" and "less than" are exclusive of the number. The term "based on" means based on at least a part thereof.

[0017] Figure 1 A flowchart of an embodiment of a method for forwarding messages on a shared link of a resilient packet ring provided by the present application; the embodiment includes:

[0018] Step 101, setting the RPR MAC address of the neighbor intersection node to the RPR MAC address of the opposite end node of the shared link;

[0019] Step 102, setting a common port on the RPR common ring for use in a port RPR common ring that is not connected to a neighbor intersecting node;

[0020] Step 103, setting a redundant common channel between the RPR common ring and the RPR intersecting ring;

[0021] Step 104, setting a shared port redirection table entry for redirecting the message with the shared port as the egress port to the redundant shared channel;

[0022] Step 105, when the outgoing port of the RPR unicast data message to be forwarded is a shared port, the RPR unicast data message to be forwarded is transferred from the RPR shared ring to the RPR intersecting ring through the shared port redirection entry;

[0023] Step 106, encapsulating the RPR unicast data message to be forwarded with an outer RPR header having a designated VLAN and a destination RPR MAC address that is the RPR MAC address of the opposite end node of the shared link;

[0024] Step 107: Send the RPR unicast data message with the outer RPR header through the RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring.

[0025] Figure 2A-2B Schematic diagram of an internal structure in which nodes A and B are connected via a common link of intersecting rings.

[0026] Node A and Node B are configured in a shared physical link mode. The westbound physical port of Node A in the RPR ring 20 is configured as a shared port without a physical link; the eastbound physical port of Node B in the RPR ring 20 is configured as a shared port without a physical link.

[0027] The RPR MAC of the opposite end node of the shared link between node A and node B is configured to encapsulate the outer RPR bearer tunnel header according to the RPR MAC of the opposite end node of the shared link as the destination RPR MAC address.

[0028] Configure the west-bound physical port of node A on the RPR20 ring as a shared RPR port, and configure the west-bound physical port of node B on the RPR20 ring as a shared RPR port.

[0029] In node A, an RPR forwarding channel and a redundant shared channel are configured; wherein the RPR forwarding channel includes Internal Port 30 between the switch chip S1 and the RPR chip P1 and Internal Port 32 between the switch chip S2 and the RPR chip P2; the redundant shared channel includes Internal Port 31 between the switch chip S1 and the RPR chip P1 and Internal Port 32 between the switch chip S2 and the RPR chip P2.

[0030] In node B, an RPR forwarding channel and a redundant shared channel are configured; wherein the RPR forwarding channel includes Internal Port 34 between the switching chip S3 and the RPR chip P3 and Internal Port 36 between the switching chip S4 and the RPR chip P4; the redundant shared channel includes Internal Port 35 between the switching chip S3 and the RPR chip P3 and Internal Port 37 between the switching chip S2 and the RPR chip P2.

[0031] When the switching chips S1-S4 of nodes A and B receive Ethernet packets that need to be put on the ring, they are sent to the connected RPR chips through Internal Ports 30, 32, 34, and 36 of the RPR forwarding channel for RPR encapsulation and forwarding; when the RPR chips P1-P4 of nodes A and B receive RPR data packets that need to be put off the ring, they are sent to the connected switching chips S1-S4 through Internal Ports 30, 32, 34, and 36 of the RPR forwarding channel for RPR decapsulation and Ethernet forwarding.

[0032] When the RPR chips P1-P4 of nodes A and B receive RPR data packets / RPR protocol packets forwarded across intersecting rings, they send the data accessed by one of the RPR rings (for example, RPR chips P1 and P3) or the forwarded protocol packets across the rings to another intersecting ring (for example, RPR chips P2 and P4) in nodes A and B through the RPR forwarding channel.

[0033] The improvement of the present application is that the RPR protocol message / data message between node A and node B on the RPR20 ring is transmitted through the link of the shared RPR10 ring inside node A and node B through a redundant shared channel, thereby realizing cross-ring shared link forwarding.

[0034] In node A, a common port redirection table entry is configured; wherein the matching entry is the westbound physical port of the RPR ring 20 whose egress port is the westbound physical port, and the action entry is to send to the Internal Port 31.

[0035] In node B, a common port redirection table entry is configured; wherein the matching entry is the eastbound physical port of the RPR ring 20 whose egress port is the eastbound physical port, and the action entry is to send to the internal port 34.

[0036] Figure 3 A schematic diagram of a shared link of an RPR intersecting ring network provided in the present application; in the RPR intersecting ring network, the RPR ring 10 includes: node A-node B-node C-node D; the RPR ring 20 includes node A-node B-node E-node F-node G-node H.

[0037] Figure 4 The schematic diagram of the common link internal of the intersecting nodes of the RPR intersecting ring network provided in the embodiment of the present application is as follows: there is no physical link connected between node A and node B on the RPR ring 20. Node A and node B carry the traffic between node A and node B on the RPR ring 20 through the RPR ring 10.

[0038] Node A and node B are intersection nodes of RPR rings 10 and 20. RPR ring 10 is an RPR common ring, and the RPR logical ports of node A on RPR rings 10 and 20 are A10 and A20 respectively. On RPR rings 10 and 20, the RPR logical ports of node B are B10 and B20 respectively.

[0039] Configure multi-ring cross group 1 on node A, configure RPR logical ports A10 and A20 to belong to multi-ring cross group 1; associate RPR logical port A10 with RPR ring 10 of ring priority 0; associate RPR logical port 20 with RPR ring 20 of ring priority 1. Configure the RPR MAC address of node A's neighbor node to be the RPR MAC address of node B, RPR MAC B; configure the intersection group role of node A to be the primary node (Primary).

[0040] Configure multi-ring cross group 1 on node B, configure RPR logical ports B10 and B20 to belong to multi-ring cross group 1; associate RPR logical port B10 with RPR ring 10 of ring priority 0; associate RPR logical port B20 with RPR ring 20 of ring priority 1. Configure the neighbor node RPR MAC address of node B to be RPR MAC A of node A; configure the intersection group role of node B to be a secondary node.

[0041] In this embodiment, the ring priority 0 represents the highest priority, and the ring priority 1 represents a decreasing priority level.

[0042] Node A sends a topology collection protocol message with source RPR MAC being RPR MAC A on two RPR rings respectively, wherein the message carries a multi-ring cross group identifier multi-ring cross group 1 and a ring priority.

[0043] Node A sends a topology collection protocol message through the westbound physical port or the eastbound physical port of the RPR10 ring. After receiving the topology collection protocol message sent by node A on the RPR ring 10, node B can learn the priority of the RPR ring 10 configured on node A. Similarly, node B sends a topology collection protocol message through the westbound physical port or the eastbound physical port of the RPR10 ring. After receiving the topology collection protocol message sent by node B on the RPR ring 10, node A can learn the priority of the RPR ring 10 configured on node B.

[0044] When node A sends a topology collection protocol message through the westbound physical port of the RPR20 ring, node A sends the topology collection protocol message to the switching chip S1 through Internal Port 31 based on the shared port redirection table entry. The switching chip S1 sets the inter-chip egress port of the topology protocol message to Internal Port 33 based on the configured redundant shared channel Internal Port33, and sends the topology collection protocol message of the chip egress port Internal Port33 with the redundant shared channel to the switching chip S2 through the switching chip.

[0045] Because the chip port information of each switch chip is synchronized between the communication devices of the multi-service board; when the Internal Ports 31 and 33 of the redundant shared channel are configured, the switch chips S1 and S2 can realize the transmission in the redundant shared channel according to the synchronized chip port information.

[0046] The switch chip S2 of the node A receives the redundant topology protocol, strips off the chip egress port Internal Port33 of the redundant common channel, and sends the topology collection protocol to the RPR chip P2 through Internal Port33.

[0047] Node A redirects the RPR protocol message that needs to be sent through the westbound physical port of the RPR20 ring to the redundant common channel through the shared port redirection table entry, and transmits the protocol message originally forwarded through the RPR20 ring to the RPR10 ring through the redundant common channel.

[0048] The RPR chip P2 of node A receives the topology collection protocol through the Internal Port33 of the redundant shared channel and adds an RPR tunnel header with a specified VLAN; the source RPR MAC is the RPR MAC of node A, and the destination RPR MAC is the RPR MAC of node B; that is, the RPR MAC of the opposite node of the shared link.

[0049] Node A sends the topology collection protocol message with the outer RPR tunnel header through the westbound physical port on the RPR ring 10 .

[0050] Node B receives the topology collection protocol message with the outer RPR tunnel header through the eastbound physical port of RPR ring 10, strips off the outer tunnel header according to the specified VLAN and destination RPR MAC address, and sends it through InternalPort 36 of the redundant shared channel.

[0051] The switch chip S4 of node B sets the inter-chip egress port of the topology protocol message to Internal Port 36 based on the configured redundant shared channel Internal Port 36, and sends the topology collection protocol message with the chip egress port InternalPort36 of the redundant shared channel to the switch chip S3 through the switch chip S4.

[0052] The switch chip S3 of the node B receives the redundant topology protocol, strips off the chip output port Internal Port36 of the redundant common channel, and sends the topology collection protocol to the RPR chip P3 through Internal Port35.

[0053] Node B transmits the redundant protocol message of RPR20 ring forwarded through RPR10 ring to RPR20 ring through the redundant common channel. After receiving the topology collection protocol sent by node A on RPR ring 10, node B can learn the priority of RPR ring 10 configured on node A.

[0054] Figure 2 and Figure 3 In the example shown, when node A and node B each send a topology collection protocol message through the east-west physical port of the RPR20 ring, node A does not need to send the topology collection protocol message of the RPR20 ring to node B through the RPR ring 10, and the RPR chip 3 of the RPR20 ring of node B transmits the topology collection protocol message to the RPR chip 4 through the redundant common channel through the shared port redirection table entry. Node B receives the topology collection protocol message through the redundant common channel, adds an outer RPR header with the specified VLAN, and sends it to node A through the shortest path from node B to node A on the RPR ring (the east physical port of the RPR10 ring of node B is connected to the west physical port of the RPR10 ring of node A in Figure 2). The RPR chip 2 of node A receives the RPR message with the specified VLAN, removes the outer RPR header, and sends it to the RPR chip 1 through the redundant common channel.

[0055] Node A and Node B select the highest priority RPR ring 10 as the main ring, and determine the low priority RPR ring 20 as the sub-ring. Node A and Node B each set the RPR logical port A0 and RPR logical port B0 on ​​the main ring to the forwarding state. The master node A of multi-ring cross group 1 sets the RPR logical port A1 of the sub-ring of its own device to the forwarding state. The slave node B of multi-ring cross group 1 sets the RPR logical port B1 of the sub-ring of its own device to the blocking state.

[0056] When data packets passing through each RPR node on the RPR10 ring and the RPR20 ring need to be forwarded across the ring, the RPR data packets are sent to the master node A on their respective RPR rings in the existing manner, and the master node A forwards them across the ring, which will not be described in detail in this application.

[0057] The improvement of the present application lies in that when the RPR data message on the RPR20 ring needs to be forwarded between nodes A and B, when node A receives the RPR data message through the east-bound physical port of the RPR ring 20 or receives the RPR data message on the local ring, when the destination MAC address is the RPR MAC address of node E, it is sent from the west-bound physical port of the RPR20 ring according to the collected topology of the RPR20 ring.

[0058] Node A sends the RPR data message of the RPR20 ring to the redundant common channel according to the shared port redirection table entry, and sends it to the RPR10 ring through the redundant common channel, adding an outer RPR header with the specified VLAN and the destination RPR MAC address as the RPR B address, and sends it through the shortest path on the RPR20 ring through the shared link of node A, that is, Figure 3 The west-bound physical port of intermediate node A on the RPR10 ring.

[0059] Node B receives the RPR message with the specified VLAN, strips off the outer RPR header, and sends it to the RPR20 ring through the redundant shared channel. Node B receives the data message of the RPR20 ring through the redundant shared channel, and learns the RPR MAC address based on the shared port, that is, the eastbound physical port of the RPR20 ring and the source RPR MAC address.

[0060] Then, node B searches the RPR MAC address table entry according to the destination RPR MAC address. When the destination RPR MAC address is RPR MACB, it strips off the RPR encapsulation and forwards it according to the destination MAC address of the inner Ethernet message (sends it to the switching chip S3 through InternalPort34 of RPR3. After the switching chip S3 strips off the RPR encapsulation, it forwards it according to the egress port corresponding to the destination MAC address of the inner Ethernet message). When the destination RPR MAC address is the RPR MAC address of other nodes in the RPR20 ring (for example, node E), it is sent through the path on the RPR20 ring to reach other nodes.

[0061] When the RPR data message received by node B needs to be sent to node A, the RPR data message with the outgoing port being the eastbound physical port on the RPR20 ring is redirected to the redundant common channel through the same mechanism. The redundant common channel forwards the RPR data message from the RPR20 ring to the RPR10 ring, adds an outer RPR header with the specified VLAN and the destination RPR MAC address as the RPR A address, and sends it through the shortest path on the RPR20 ring through the common link of node B, that is, Figure 3 East-bound physical port of midpoint A on the RPR10 ring.

[0062] if Figure 3 The link between node A and node B in the RPR10 ring is disconnected, and the shortest path from node B to node A on the RPR10 ring is the westbound physical port.

[0063] Node A receives the RPR message with the specified VLAN from the westbound physical port or eastbound physical port of the RPR10 ring, strips off the outer RPR header, and sends it to the RPR20 ring through the redundant shared channel. Node B receives the data message of the RPR20 ring through the redundant shared channel, and learns the RPR MAC address based on the shared port, that is, the eastbound physical port of the RPR20 ring and the source RPR MAC address.

[0064] Then, node A searches the RPR MAC address table entry according to the destination RPR MAC address. When the destination RPR MAC address is RPR MACA, it strips off the RPR encapsulation and forwards it according to the destination MAC address of the inner Ethernet message (sends it to the switching chip S1 through InternalPort30 of RPR1. After the switching chip S1 strips off the RPR encapsulation, it forwards it according to the egress port corresponding to the destination MAC address of the inner Ethernet message). When the destination RPR MAC address is the RPR MAC address of other nodes in the RPR20 ring (for example, node H), it is sent through the westbound RPR port of the path to other nodes on the RPR20 ring.

[0065] When node A sends an RPR non-unicast data message (multicast / broadcast) on the RPR20 ring, it is sent through the eastbound physical port and westbound physical port of the RPR ring 20. The RPR non-unicast message of the RPR20 ring is redirected to the redundant common channel through the shared port, and is transmitted to the RPR10 ring through the redundant common channel. The outer RPR header of the specified VLAN and RPR MACB (RPR MAC address of the opposite node of the shared link) is added, and is sent to node B through the shortest path of the RPR10 ring.

[0066] Node B receives the RPR non-unicast data message with the specified VLAN, strips off the outer RPR header, and transmits it to the RPR20 ring through the redundant shared channel. Node B receives the RPR non-unicast message through the redundant shared channel, confirms that the inbound interface of the RPR non-unicast message is a shared port, and then sends it through the westbound physical port of the RPR20 ring.

[0067] pass Figure 2A-2B , Figure 3 , Figure 4 According to the description of the above embodiment, both the RPR protocol messages and the RPR data messages sharing the RPR20 ring can be carried and forwarded via the links of the intersecting ring RPR10 ring.

[0068] Each RPR ring of the existing intersecting RPR rings is independently networked. Between the two intersection points, each node of each ring needs an independent interconnection physical link, usually optical fiber; the laying of optical fiber resources is generally tight. If only one section of optical fiber is laid between the intersecting nodes of the intersecting ring network, then a certain RPR ring in the intersecting ring network (for example Figure 3 and Figure 4 On the RPR20 ring in the RPR ring, there is no directly connected optical fiber between the intersecting nodes, resulting in that the data packets and protocol packets on the RPR ring can only be forwarded in one direction. Once one of the nodes fails, the traffic and protocol packet forwarding of the RPR ring will be interrupted.

[0069] In the present application, traffic between intersecting nodes on an RPR shared ring is carried through the intersecting rings, which is more conducive to the application of the networking of the RPR intersecting ring network.

[0070] Figure 5 A schematic diagram of an embodiment of a shared link forwarding device for a resilient packet ring is provided for the present application. The device 50 includes a processor and a memory; the memory is used to store processor executable instructions; wherein the processor performs the following operations by running the processor executable instructions in the memory: setting the RPR MAC address of the neighbor intersection node to the RPR MAC address of the opposite node of the shared link; setting the port connected to the neighbor intersection node on the RPR shared ring to be a shared port; setting a redundant shared channel between the RPR shared ring and the RPR intersecting ring; setting a shared port redirection table entry that redirects the message with the shared port as the egress port to the redundant shared channel; when the egress port of the RPR unicast data message to be forwarded is the shared port, transferring the RPR unicast data message to be forwarded from the RPR shared ring to the RPR intersecting ring through the shared port redirection table entry; encapsulating the RPR unicast data message to be forwarded with a first outer RPR header with a specified VLAN and a destination RPR MAC address as the MAC address of the opposite node of the shared link; and sending the RPR unicast data message with the first outer RPR header through the RPR port on the shortest path to the neighbor intersection node on the RPR intersecting ring.

[0071] The processor also performs the following operations by running the processor executable instructions in the memory: receiving an RPR unicast data message with a second outer RPR header through an RPR port on the shortest path to a neighboring intersecting node on the RPR intersecting ring; wherein the second outer RPR header carries a specified VLAN and the destination RPR MAC address is the RPR MAC address of the device; stripping off the second outer RPR header to obtain an inner RPR unicast data message; sending the inner RPR unicast data message from the RPR intersecting ring to the RPR shared ring through a redundant shared channel; learning an RPR MAC address table entry based on the shared port and the source RPR MAC address of the inner RPR unicast data message; searching for a PRRMAC address table entry that matches the destination RPR MAC address of the inner RPR unicast data message to perform forwarding.

[0072] The processor further performs the following operations by running the processor executable instructions in the memory: when the egress port of the RPR non-unicast data message to be forwarded is a shared port, the RPR non-unicast data message to be forwarded is transferred from the RPR shared ring to the RPR intersecting ring through the shared port redirection table entry; the RPR non-unicast data message to be forwarded is encapsulated with a third outer RPR header having a designated VLAN and a destination RPR MAC address being the MAC address of the opposite node of the shared link; and the RPR non-unicast data message with the third outer RPR header is sent through an RPR port on the shortest path to the neighbor intersecting node on the RPR intersecting ring.

[0073] The processor also performs the following operations by running the processor executable instructions in the memory: receiving an RPR non-unicast data message with a fourth outer RPR header through an RPR port on the shortest path to a neighboring intersecting node on an RPR intersecting ring; wherein the fourth outer RPR header carries a specified VLAN and the destination RPR MAC address is the RPR MAC address of this device; stripping off the fourth outer RPR header to obtain an inner RPR non-unicast data message; sending the inner non-RPR unicast data message from the RPR intersecting ring to the RPR shared ring through a redundant shared channel; determining that the input interface of the inner RPR unicast data message on the RPR shared ring is a shared port; and sending the inner RPR non-unicast data message through another RPR port on the RPR shared ring.

[0074] The above are only preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. A method for forwarding messages on a shared link of a resilient packet ring, characterized in that: The method comprises: Set the RPR MAC address of the neighbor intersection node to the RPR MAC address of the peer node of the shared link; Setting a common port on the RPR common ring to be used for a port not connected to the neighbor intersection node; A redundant common channel provided between the RPR common ring and the RPR intersecting ring; Setting a common port redirection table entry for redirecting the message with the common port as the egress port to the redundant common channel; When the outgoing port of the RPR unicast data message to be forwarded is the common port, the RPR unicast data message to be forwarded is transferred from the RPR common ring to the RPR intersecting ring through the common port redirection entry; encapsulating the RPR unicast data message to be forwarded with a first outer RPR header having a designated VLAN and a destination RPR MAC address that is the RPR MAC address of the opposite end node of the shared link; The RPR unicast data message with the first outer RPR header is sent through an RPR port on the shortest path on the RPR intersection ring to the neighbor intersection node.

2. The method according to claim 1, characterized in that The method further comprises, Receiving an RPR unicast data message with a second outer RPR header through an RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring; wherein the second outer RPR header carries the specified VLAN and the destination RPR MAC address is the RPR MAC address of the device; Stripping off the second outer RPR header to obtain an inner RPR unicast data message; Sending the inner RPR unicast data message from the RPR intersecting ring to the RPR common ring through the redundant common channel; learning an RPR MAC address table entry according to the shared port and the source RPR MAC address of the inner RPR unicast data message; The destination RPR MAC address of the inner layer RPR unicast data message is searched for a PRRMAC address table entry that matches the destination RPR MAC address of the inner layer RPR unicast data message and forwarded.

3. The method according to claim 1, characterized in that The method further comprises, When the outgoing port of the RPR non-unicast data message to be forwarded is the common port, the RPR non-unicast data message to be forwarded is transferred from the RPR common ring to the RPR intersecting ring through the common port redirection entry; encapsulating the RPR non-unicast data message to be forwarded with a third outer RPR header having a designated VLAN and a destination RPR MAC address that is a MAC address of a peer node of the shared link; The RPR non-unicast data message with the third outer RPR header is sent through an RPR port on the shortest path on the RPR intersection ring to the neighbor intersection node.

4. The method according to claim 1, characterized in that: The method further comprises: Receiving an RPR non-unicast data message with a fourth outer RPR header through an RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring; wherein the fourth outer RPR header carries the specified VLAN and the destination RPR MAC address is the RPR MAC address of the device; Stripping off the fourth outer RPR header to obtain an inner RPR non-unicast data message; Sending the inner RPR non-unicast data message from the RPR intersecting ring to the RPR common ring through the redundant common channel; Determining that the inbound interface of the inner RPR non-unicast data message on the RPR shared ring is the shared port; The inner RPR non-unicast data message is sent through another RPR port of the RPR common ring.

5. A device for forwarding messages on a shared link of a resilient packet ring, characterized in that: The device includes a processor and a memory; the memory is used to store processor-executable instructions; wherein the processor executes the processor-executable instructions in the memory to perform the following operations: Set the RPR MAC address of the neighbor intersection node to the RPR MAC address of the peer node of the shared link; Setting a common port on the RPR common ring for use in the port RPR common ring that is not connected to the neighbor intersection node; A redundant common channel provided between the RPR common ring and the RPR intersecting ring; Setting a shared port redirection table entry for redirecting the message with the shared port as the egress port to the redundant shared channel; When the outgoing port of the RPR unicast data message to be forwarded is the common port, the RPR unicast data message to be forwarded is transferred from the RPR common ring to the RPR intersecting ring through the common port redirection entry; encapsulating the RPR unicast data message to be forwarded with a first outer RPR header having a designated VLAN and a destination RPR MAC address that is the RPR MAC address of the opposite end node of the shared link; The RPR unicast data message with the first outer RPR header is sent through an RPR port on the shortest path on the RPR intersection ring to the neighbor intersection node.

6. The device according to claim 5, characterized in that The processor further performs the following operations by executing the processor executable instructions in the memory: Receiving an RPR unicast data message with a second outer RPR header through an RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring; wherein the second outer RPR header carries the specified VLAN and the destination RPR MAC address is the RPR MAC address of the device; Stripping off the second outer RPR header to obtain an inner RPR unicast data message; Sending the inner RPR unicast data message from the RPR intersecting ring to the RPR common ring through the redundant common channel; learning an RPR MAC address table entry according to the shared port and the source RPR MAC address of the inner RPR unicast data message; The destination RPR MAC address of the inner layer RPR unicast data message is searched for a PRRMAC address table entry that matches the destination RPR MAC address of the inner layer RPR unicast data message and forwarded.

7. The device according to claim 5, characterized in that The processor further performs the following operations by executing the processor executable instructions in the memory: When the outgoing port of the RPR non-unicast data message to be forwarded is the common port, the RPR non-unicast data message to be forwarded is transferred from the RPR common ring to the RPR intersecting ring through the common port redirection entry; encapsulating the RPR non-unicast data message to be forwarded with a third outer RPR header having a designated VLAN and a destination RPR MAC address that is a MAC address of a peer node of the shared link; The RPR non-unicast data message with the third outer RPR header is sent through an RPR port on the shortest path on the RPR intersection ring to the neighbor intersection node.

8. The device according to claim 5, characterized in that The processor further performs the following operations by executing the processor executable instructions in the memory: Receiving an RPR non-unicast data message with a fourth outer RPR header through an RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring; wherein the fourth outer RPR header carries the specified VLAN and the destination RPR MAC address is the RPR MAC address of the device; Stripping off the fourth outer RPR header to obtain an inner RPR non-unicast data message; Sending the inner RPR non-unicast data message from the RPR intersecting ring to the RPR common ring through the redundant common channel; Determining that the inbound interface of the inner RPR non-unicast data message on the RPR shared ring is the shared port; The inner RPR non-unicast data message is sent through another RPR port on the RPR common ring.

Citation Information

Patent Citations

  • Elastic grouping intersected ring packet forwarding method and apparatus

    CN101317393A

  • Protection method, device and system of intersected ring networks

    CN102148733A