CN115604054A - Method and equipment for forwarding message by common link of resilient packet ring - Google Patents

Method and equipment for forwarding message by common link of resilient packet ring Download PDF

Info

Publication number
CN115604054A
CN115604054A CN202211200917.7A CN202211200917A CN115604054A CN 115604054 A CN115604054 A CN 115604054A CN 202211200917 A CN202211200917 A CN 202211200917A CN 115604054 A CN115604054 A CN 115604054A
Authority
CN
China
Prior art keywords
rpr
ring
port
shared
data message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211200917.7A
Other languages
Chinese (zh)
Inventor
项学锋
汪洪远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd Hefei Branch
Original Assignee
New H3C Technologies Co Ltd Hefei Branch
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 New H3C Technologies Co Ltd Hefei Branch filed Critical New H3C Technologies Co Ltd Hefei Branch
Priority to CN202211200917.7A priority Critical patent/CN115604054A/en
Publication of CN115604054A publication Critical patent/CN115604054A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The application provides a method and a device for forwarding a message by a common link of a resilient packet ring, wherein the method comprises the following steps: setting the RPR MAC address of the neighbor intersected node as an opposite-end node RPR MAC of a shared link; setting a shared port on an RPR shared ring; a redundant shared channel provided between the RPR shared ring and the RPR intersecting ring; setting a redirection table item for redirecting the message of which the common port is an output port to a redundant common channel; when the output port of the RPR unicast data message to be forwarded is a shared port, the RPR unicast data message to be forwarded is transmitted from the RPR shared ring to the RPR intersected ring through the redirection table entry; packaging an outer RPR head with a designated VLAN and an opposite end node MAC address with a common link as a target RPR MAC address for an RPR unicast data message to be forwarded; and sending the data through the shortest path to the neighbor intersection node on the RPR intersection ring.

Description

Method and equipment for forwarding message by common link of resilient packet ring
Technical Field
The present application relates to resilient packet ring technologies, and in particular, to a method and an apparatus for forwarding a packet through a common link of a resilient packet ring.
Background
RPR (Resilient Packet Ring) is a new MAC (Media Access Control) protocol, and can be operated in SONET (Synchronous Optical Network)/SDH (Synchronous Digital Hierarchy), DWDM (Dense Wavelength Division Multiplexing), and ethernet, thereby providing a flexible and efficient networking scheme for broadband IP metropolitan area Network operators. And the RPR adopts RPR MAC layer frame encapsulation to realize the transparent transmission of Ethernet Over RPR. The ring structure and topology protection mechanism of the RPR are transparent to the forwarding process of the carried traffic and the access device.
In a single RPR Ring, the direction in which the RPR node sends an RPR data packet in the clockwise direction is a0 Ring, which is also called an Outer Ring; the direction in which the RPR sends the RPR packet in the counterclockwise direction is 1 Ring, also called Inner Ring. The RPR node sends an RPR data message on a ring 0 and receives the RPR data message on a ring 1 through an east physical port; and receiving the RPR data message on the ring 0 and transmitting the RPR data message on the ring 1 through the west-oriented physical port.
The east-west physical port and west-west physical port of each RPR node constitute an RPR logical port. Each switching unit and each RPR processing unit are interconnected through an Internal physical Ethernet Port A) in the RPR node.
At present, different RPR rings are evolved on the basis of a single RPR ring to form an RPR intersecting ring network, and the different RPR rings of the RPR intersecting ring network intersect at two RPR nodes.
Disclosure of Invention
The application aims to provide a method and equipment for forwarding a message by a common link of a resilient packet ring, wherein the physical link of one RPR sub-ring between intersecting nodes carries the traffic of the intersecting nodes on other RPR sub-rings.
In order to achieve the above object, the present application provides a method for forwarding a packet through a common link of a resilient packet ring, where the method includes: setting the RPR MAC address of the neighbor intersected node as an opposite-end node RPR MAC of a shared link; setting a shared port on an RPR shared ring for a port which is not connected with a neighbor intersection node; the RPR shared ring is arranged on a redundant shared channel between the RPR shared ring and the RPR intersected ring; setting a common port redirection table entry for redirecting a message with a common port as an output port to a redundant common channel; when the output port of the RPR unicast data message to be forwarded is a common port, the RPR unicast data message to be forwarded is transmitted from the RPR common ring to the RPR intersected ring through a common port redirection table entry; packaging an outer RPR head with a designated VLAN and an opposite end node MAC address with a common link as a destination RPR MAC address for an RPR unicast data message to be forwarded; and sending the RPR unicast data message with the outer RPR head through an RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring.
In order to achieve the above object, the present application further provides an apparatus for forwarding a packet through a common link of a resilient packet ring, where the apparatus includes a processor and a memory; the memory is used for storing processor executable instructions; wherein the processor is configured to perform the following by executing the processor-executable instructions in the memory: setting the RPR MAC address of the neighbor intersected node as an opposite-end node RPR MAC of a shared link; setting a shared port on an RPR shared ring for a port RPR shared ring which is not connected with the neighbor intersection node; a redundant shared channel disposed between the RPR shared ring and the RPR intersecting ring; setting a common port redirection table entry for redirecting a message with a common port as an output port to a redundant common channel; when the output port of the RPR unicast data message to be forwarded is a common port, the RPR unicast data message to be forwarded is transmitted from the RPR common ring to the RPR intersected ring through a common port redirection table entry; packaging an outer RPR head with a designated VLAN and an opposite end node MAC address with a common link as a destination RPR MAC address for an RPR unicast data message to be forwarded; transmitting an RPR unicast data message with an outer RPR head through an RPR port on the shortest path from an RPR intersecting ring to a neighbor intersecting node; traffic of the intersecting node on other RPR sub-rings is carried over the physical links between the intersecting nodes on one of the RPR sub-rings.
The method has the advantages that the traffic between the intersection nodes on the RPR shared ring is borne through the intersection ring, and the networking application of the RPR intersection ring network is facilitated.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for forwarding a packet through a common link of a resilient packet ring according to the present application;
FIGS. 2A-2B are schematic internal views of an intersection node provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a common link of an RPR intersecting ring network according to an embodiment of the present application;
fig. 4 is a schematic diagram of an internal shared link of intersecting nodes of an RPR intersecting ring network according to an embodiment of the present application;
fig. 5 is a schematic diagram of an embodiment of a common link forwarding device for providing resilient packet ring according to the present application.
Detailed Description
A detailed description will be given of a number of examples shown in a number of figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
Where the terms are used, the terms "include" and "comprise" mean including but not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" are inclusive of the instant numbers; the terms "greater than" and "less than" mean that the number is not included. The term "based on" means based on at least a portion thereof.
Fig. 1 is a flowchart of an embodiment of a method for forwarding a packet through a common link of a resilient packet ring according to the present application; the embodiment comprises the following steps:
step 101, setting RPR MAC address of neighbor crossing node as opposite node RPR MAC of shared link;
102, setting a shared port on an RPR shared ring to be used for a port RPR shared ring which is not connected with a neighbor intersection node;
103, setting a redundant shared channel between the RPR shared ring and the RPR intersected ring;
104, setting a common port redirection table entry for redirecting the message with the common port as an output port to the redundant common channel;
step 105, when the output port of the RPR unicast data message to be forwarded is a common port, transmitting the RPR unicast data message to be forwarded from the RPR common ring to the RPR intersection ring through the common port redirection table entry;
106, packaging an outer RPR head with an appointed VLAN and an opposite terminal node RPR MAC address with a shared link for an RPR unicast data message to be forwarded;
and step 107, sending the RPR unicast data message with the outer RPR head through the RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring.
Fig. 2A-2B are internal schematic diagrams of a node a and a node B connected by a common link of an intersecting ring.
The node A and the node B are configured to share a physical link mode, and the west-direction physical port of the node A on the RPR ring 20 is configured to be a shared port without connecting a physical link; the node B is configured to not connect a physical link to the shared port on the east physical port of the RPR ring 20.
Configuring the node A and the node B as opposite node RPR MAC of the shared link, and encapsulating the outer RPR bearing tunnel head according to the RPR MAC address of the opposite node of the shared link as the destination RPR MAC address.
And configuring a west-direction physical port of the node A on the RPR20 ring as a shared RPR port, and configuring a west-direction physical port of the node B on the RPR20 ring as a shared RPR port.
In the node A, an RPR forwarding channel and a redundant shared channel are configured; wherein, the RPR forwarding channel comprises an Internal Port30 between the switching chip S1 and the RPR chip P1 and an Internal Port 32 between the switching chip S2 and the RPR chip P2; the redundant common channel includes an Internal Port31 between the switch chip S1 and the RPR chip P1 and an Internal Port 32 between the switch chip S2 and the RPR chip P2.
In the node B, an RPR forwarding channel and a redundant shared channel are configured; wherein, the RPR forwarding channel comprises an Internal Port34 between the switching chip S3 and the RPR chip P3 and an Internal Port36 between the switching chip S4 and the RPR chip P4; the redundant common channel includes an Internal Port35 between the switch chip S3 and the RPR chip P3 and an Internal Port 37 between the switch chip S2 and the RPR chip P2.
When the switching chips S1-S4 of the node A and the node B receive the Ethernet message needing the upper ring, the Ethernet message is respectively sent to the connected RPR chips through the Internal ports 30, 32, 34 and 36 of the RPR forwarding channel to carry out RPR encapsulation and forwarding; when the RPR chips P1-P4 of the node A and the node B receive the RPR data message which needs to be looped down, the RPR data message is respectively sent to the connected switching chips S1-S4 through the Internal ports 30, 32, 34 and 36 of the RPR forwarding channel to carry out RPR decapsulation and Ethernet forwarding.
When the RPR chips P1-P4 of the node a and the node B receive the RPR data packet/RPR protocol packet forwarded across the intersecting ring, the RPR forwarding channel is used to send the data accessed by one of the RPR rings (e.g., the RPR chips P1 and P3) or the forwarded protocol packet across the ring to the other intersecting ring (e.g., the RPR chips P2 and P4) in the node a and the node B.
The improvement point of the application lies in that the RPR protocol message/data message between the node A and the node B on the RPR20 ring is transmitted through the link of the shared RPR10 ring in the node A and the node B through the redundant shared channel, so as to realize the cross-ring shared link forwarding.
In the node A, a configured common port redirection table entry; the matching term is the west physical Port of the RPR ring 20, and the action term is the transmission to the Internal Port31.
In the node B, a configured common port redirection table entry; the matching item is an east physical Port of which the output Port is the RPR ring 20, and the action item is sent to the Internal Port34.
Fig. 3 is a schematic diagram of a common 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 comprises node a-node B-node E-node F-node G-node H.
Fig. 4 is a schematic diagram of an internal shared link of intersecting nodes of an RPR intersecting ring network according to an embodiment of the present application; there is no connected physical link between node a and node B on the RPR ring 20. The nodes a and B carry traffic between the nodes a and B on the RPR ring 20 through the RPR ring 10.
Node a and node B are intersecting nodes of the RPR rings 10 and 20. The RPR ring 10 is an RPR common ring, and the node a is a10 and a20 at the RPR logical ports of the RPR rings 10 and 20, respectively. On the RPR rings 10, 20, the RPR logical ports of the node B are B10, B20, respectively.
A multi-ring intersected group multi-ring cross group 1 is configured on the node A, and RPR logic ports A10 and A20 are configured to belong to the multi-ring cross group 1; associating RPR logical port a10 to RPR ring 10 of ring priority 0; the RPR logical ports 20 are associated to the RPR ring 20 of ring priority 1. Configuring a neighbor node RPR MAC address of a node A as an RPR MAC address of a node B, and an RPR MAC B; configuring the intersecting group role of node a as a Primary node (Primary).
A node B is configured with a multi-ring intersection group multi-ring cross group 1, and RPR logic ports B10 and B20 are configured to belong to the multi-ring cross group 1; associating RPR logical port B10 to RPR ring 10 of ring priority 0; the RPR logical port B20 is associated to the RPR ring 20 of ring priority 1. Configuring a neighbor node RPR MAC address of a node B as an RPR MAC A of a node A; configuring the intersecting group role of the node B as a slave node (Secondary).
In this embodiment, the ring priority 0 represents the highest priority, and the priority of the ring priority 1 is decreased step by step.
The node A sends a source RPR MAC on 2 RPR rings as a topology collection protocol message of the RPR MAC A, wherein the topology collection protocol message carries multi-ring cross group identification multi-ring cross group 1 and ring priority.
After the node B receives the topology collection protocol sent by the node a on the RPR ring 10, the node B can acquire the priority of the RPR ring 10 configured on the node a through the topology collection protocol packet sent by the west-oriented physical port or the east-oriented physical port of the RPR10 ring. Similarly, the node B may learn the priority of the RPR ring 10 configured on the node B after receiving the topology collection protocol sent by the node B on the RPR ring 10 through the topology collection protocol packet sent by the west-oriented physical port or the east-oriented physical port of the RPR ring 10.
When the node A sends a topology collection protocol message through a west-oriented physical Port of an RPR20 ring, the node A sends the topology collection protocol message to the switching chip S1 through the Internal Port31 based on a common Port redirection table item, the switching chip S1 sets an inter-chip output Port of the topology protocol message as the Internal Port33 based on the configured redundant common channel Internal Port33, and sends the topology collection protocol message with the chip output Port of the redundant common channel Internal Port33 to the switching chip S2 through the switching chip.
Because the respective chip port information is synchronized between the chips exchanged among the communication devices of the multi-service board; after the Internal ports 31 and 33 of the redundant shared channel are configured, the switching chips S1 and S2 can realize the transmission in the redundant shared channel according to the synchronous chip Port information.
The exchange chip S2 of the node A receives the redundant topology protocol, strips off a chip output Port of the redundant shared channel, and sends a topology collection protocol to the RPR chip P2 through the Internal Port 33.
The node A redirects the RPR protocol message which needs to be sent through the west-oriented physical port of the RPR20 ring to the redundant shared channel through the shared port redirection table entry, and the protocol message which is originally forwarded through the RPR20 ring is trans-annularly transmitted to the RPR10 ring through the redundant shared channel.
The RPR chip P2 of the node A receives the topology collection protocol through an Internal Port33 of the redundant shared channel, and adds an RPR tunnel head with a designated VLAN; the source RPR MAC is the RPR MAC of the node A, and the destination RPR MAC is the RPR MAC of the node B; i.e. the correspondent node RPR MAC sharing the link.
The node a sends the topology collection protocol packet with the outer RPR tunnel header through the west physical port on the RPR ring 10.
The node B receives a topology collection protocol message with an outer RPR tunnel head through an east physical Port of the RPR ring 10, strips off the outer tunnel head according to a designated VLAN and a destination RPR MAC address, and sends the message through an Internal Port36 of a redundant common channel.
The switching chip S4 of the node B sets an interchip output Port of the topology protocol message as an Internal Port36 based on the configured Internal Port36 of the redundant shared channel, and sends the topology collection protocol message of the interchip output Port of the redundant shared channel with the Internal Port36 to the switching chip S3 through the switching chip S4.
The switching chip S3 of the node B receives the redundant topology protocol, strips off a chip output Port of the redundant shared channel, namely an Internal Port36, and sends a topology collection protocol to the RPR chip P3 through an Internal Port 35.
The node B transfers the redundancy protocol message of the RPR20 ring forwarded by the RPR10 ring to the RPR20 ring by spanning the ring through a redundancy shared channel. After receiving the topology collection protocol sent by the node a on the RPR ring 10, the node B may learn the priority of the RPR ring 10 configured on the node a.
In the example shown in fig. 2 and fig. 3, when the node a and the node B each transmit the topology collection protocol packet through the east and west physical ports of the RPR20 ring, the node a does not need to transmit the topology collection protocol packet of the RPR20 ring to the node B through the RPR ring 10, and the RPR chip 3 of the RPR20 ring of the node B redirects the entry through the shared port, and transmits the topology collection protocol packet to the RPR chip 4 through the redundant shared channel. The node B receives the topology collection protocol packet through the redundant shared channel, adds an outer layer RPR header with a designated VLAN, and sends the packet to the node a through the shortest path from the node B to the node a on the RPR ring (in fig. 2, the east physical port of the RPR10 ring of the node B is connected to the west physical port of the RPR10 ring of the node a). The RPR chip 2 of the node A receives the RPR message with the appointed VLAN, removes the outer RPR head and sends the RPR message to the RPR chip 1 through the redundant common channel.
The node a and the node B elect the RPR ring 10 of the highest priority as the main ring, and determine the RPR ring 20 of the low priority as the sub-ring. Node a and node B each set the RPR logic port A0 and RPR logic port B0 on the main ring to a forwarding (forwarded) state. The master node a of the multi-ring cross group 1 sets all the RPR logical ports A1 of the subring of the device to the forwarding state. The slave node B of the multi-ring cross group 1 sets the RPR logical port B1 of the subring of the device as blocking.
When the data packet on the upper ring of each RPR node on the RPR10 ring and the RPR20 ring needs to be forwarded across rings, the RPR data packet is sent to the master node a on each RPR ring according to the existing manner, and the master node a performs the forwarding across rings, which is not described in detail herein.
The improvement point of the present application is that, when the RPR data packet on the RPR20 ring needs to be forwarded between the nodes a and B, when the node a receives the RPR data packet through the east physical port of the RPR ring 20 or receives the RPR data packet of the local upper ring, when the destination MAC address is the RPR MAC address of the node E, the RPR data packet is sent from the west physical port of the RPR20 ring according to the collected topology of the RPR20 ring.
The node A sends the RPR data message of the RPR20 ring to a redundancy shared channel according to the shared port redirection table item, sends the RPR data message to the RPR10 ring through the redundancy shared channel, adds an outer RPR head with a designated VLAN and a destination RPR MAC address as an RPR B address, and sends the RPR data message on the RPR20 ring through the shortest path of the node A on a shared link, namely a western-direction physical port of the node A on the RPR10 ring in the figure 3.
The node B receives the RPR message with the appointed VLAN, strips off the outer RPR head, and sends the message to the RPR20 ring through the redundancy sharing channel. The node B receives the data message of the RPR20 ring through the redundancy shared channel, and learns the RPR MAC address according to the shared port, namely the east physical port and the source RPR MAC address of the RPR20 ring.
Then, the node B searches an RPR MAC address table item according to the destination RPR MAC address, when the destination RPR MAC address is an RPR MAC, the RPR encapsulation is stripped, and forwarding is carried out according to the destination MAC address of the inner-layer Ethernet message (the switching chip S3 is sent through an Internal Port34 of the RPR3, and after the RPR encapsulation is stripped by the switching chip S3, forwarding is carried out according to an output Port corresponding to the destination MAC address of the inner-layer Ethernet message); when the destination RPR MAC address is an RPR MAC address of another node (e.g., node E) of the RPR20 ring, it is transmitted through a path on the RPR20 ring to the other node.
When the RPR data packet received by the node B needs to be sent to the node a, the RPR data packet whose egress port is an east physical port on the RPR20 ring is redirected to the redundant shared channel through the same mechanism, the RPR data packet is forwarded to the RPR10 ring by the redundant shared channel, an outer layer RPR header with a designated VLAN and a destination RPR MAC address as an RPR a address is added, and the RPR data packet is sent on the shortest path on the RPR20 ring through the node B on the shared link, that is, the east physical port on the RPR10 ring of the node a in fig. 3.
If the link between node a and node B in fig. 3 is broken between the RPR10 rings, the shortest path for node B to reach node a on the RPR10 ring is the west physical port.
The node A receives an RPR message with a designated VLAN from a west-oriented physical port or an east-oriented physical port of the RPR10 ring, strips off an outer RPR head, and sends the RPR message to the RPR20 ring through a redundancy shared channel. The node B receives the data message of the RPR20 ring through the redundant shared channel, and learns the RPR MAC address according to the shared port, namely the east physical port and the source RPR MAC address of the RPR20 ring.
Then, the node A searches an RPR MAC address table item according to the destination RPR MAC address, when the destination RPR MAC address is RPR MACA, the RPR encapsulation is peeled off, and the forwarding is carried out according to the destination MAC address of the inner layer Ethernet message (after the RPR encapsulation is peeled off by an Internal Port30 of the RPR1 to send a switching chip S1, and the switching chip S1 carries out the forwarding according to an output Port corresponding to the destination MAC address of the inner layer Ethernet message); when the destination RPR MAC address is an RPR MAC address of another node (e.g., node H) of the RPR20 ring, the destination RPR MAC address is transmitted through a west-oriented RPR port of a path on the RPR20 ring to the another node.
When the node a sends an RPR non-unicast data packet (multicast/broadcast) on the RPR20 ring, the RPR non-unicast packet is sent through the east-oriented physical port and the west-oriented physical port of the RPR ring 20, redirected to the redundant shared channel through the shared port, delivered to the RPR10 ring through the redundant shared channel, added with an outer RPR header specifying a VLAN and an RPR MACB (opposite node RPR MAC address of the shared link), and sent to the node B through the shortest path of the RPR10 ring.
The node B receives the RPR non-unicast data message with the appointed VLAN, strips off the outer RPR head and transmits the data message to the RPR20 ring through a redundant common channel. And the node B receives the RPR non-unicast message through the redundant common channel, confirms that the inlet interface of the RPR non-unicast message is a common port, and transmits the message through a west-direction physical port of the RPR20 ring.
As described in the above embodiments of fig. 2A-2B, fig. 3, and fig. 4, the RPR protocol packet and the RPR data packet sharing the RPR20 ring can be forwarded through the link bearer of the intersecting ring RPR10 ring.
Each RPR ring of the existing RPR intersected rings is independently networked, and between two intersected points, each node of each ring needs an independent interconnection physical link, usually an optical fiber; the fiber resource is generally under tension. If only one section of optical fiber is laid between the intersecting nodes of the intersecting ring network, no optical fiber is directly connected between the intersecting nodes on a certain RPR ring (for example, the RPR20 ring in fig. 3 and 4) in the intersecting ring network, so that the data message and the protocol message on the RPR ring can be forwarded only in one direction, and once one of the nodes fails, the forwarding of the traffic and the protocol message of the RPR ring is interrupted.
The method and the device have the advantages that the traffic between the intersecting nodes on the RPR shared ring is borne through the intersecting ring, and the networking application of the RPR intersecting ring network is facilitated.
Fig. 5 is a schematic diagram of an embodiment of a common link forwarding device for providing resilient packet ring according to the present application. The apparatus 50 includes a processor and a memory; the memory is used for storing processor executable instructions; wherein the processor is configured to perform the following by executing the processor-executable instructions in the memory: setting the RPR MAC address of the neighbor intersected node as an opposite node RPR MAC of the shared link; setting a port connected with a neighbor intersection node on an RPR shared ring as a shared port; a redundant shared channel disposed between the RPR shared ring and the RPR intersecting ring; setting a common port redirection table entry for redirecting a message with a common port as an output port to a redundant common channel; when the output port of the RPR unicast data message to be forwarded is a common port, the RPR unicast data message to be forwarded is transmitted from the RPR common ring to the RPR intersected ring through a common port redirection table entry; packaging a first outer layer RPR head with a designated VLAN and a destination RPR MAC address as an opposite end node MAC address of a shared link for an RPR unicast data message to be forwarded; and transmitting the RPR unicast data message with the first outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring.
The processor, by executing the processor-executable instructions in the memory, further performs the following: receiving an RPR unicast data message with a second outer layer RPR head through an RPR port on the shortest path from an RPR intersected ring to a neighbor intersected node; wherein, the second outer RPR head has a designated VLAN and the destination RPR MAC address is the RPR MAC address of the device; stripping off the second outer layer RPR head to obtain an inner layer RPR unicast data message; transmitting the inner layer RPR unicast data message from the RPR intersecting ring to the RPR sharing ring through the redundant common channel; learning an RPR MAC address table item according to a source RPR MAC address of a shared port and an inner layer RPR unicast data message; and searching a PRRMAC address table item matched with the target RPR MAC address of the inner-layer RPR unicast data message to execute forwarding.
The processor, by executing the processor-executable instructions in the memory, further performs the following: when the output 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 transmitted from the RPR shared ring to the RPR intersected ring through a shared port redirection table item; packaging a third outer layer RPR head with a designated VLAN and an opposite end node MAC address with a common link as a target RPR MAC address for an RPR non-unicast data message to be forwarded; and transmitting the RPR non-unicast data message with the third outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring.
The processor, by executing the processor-executable instructions in the memory, further performs the following: receiving an RPR non-unicast data message with a fourth outer layer RPR head through an RPR port on the shortest path from an RPR intersecting ring to a neighbor intersecting node; wherein, the fourth outer RPR head has a designated VLAN and the destination RPR MAC address is the RPR MAC address of the device; stripping off the fourth outer layer RPR head to obtain an inner layer RPR non-unicast data message; sending the inner layer non-RPR unicast data message from the RPR intersection ring to the RPR sharing ring through a redundant common channel; determining an input interface of the inner layer RPR unicast data message on an RPR shared ring as a shared port; and sending the inner RPR non-unicast data message through another RPR port on the RPR shared ring.
The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

Claims (8)

1. A method for forwarding packets on a common link of a Resilient Packet Ring (RPR) is provided, which comprises:
setting the RPR MAC address of the neighbor intersected node as an opposite node RPR MAC of the shared link;
setting a shared port on an RPR shared ring for a port that is not connected to the neighbor intersecting node;
a redundant shared channel disposed between the RPR shared ring and the RPR intersecting ring;
setting a common port redirection table entry for redirecting the message of which the common port is an output port to the redundant common channel;
when the output port of the RPR unicast data message to be forwarded is the shared port, the RPR unicast data message to be forwarded is transmitted from the RPR shared ring to the RPR intersected ring through the shared port redirection table entry;
packaging a first outer layer RPR head with a designated VLAN and a destination RPR MAC address which is an opposite end node RPR MAC address of the shared link for the RPR unicast data message to be forwarded;
and transmitting the RPR unicast data message with the first outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring.
2. The method of claim 1, further comprising,
receiving an RPR unicast data message with a second outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring; wherein, the second outer RPR header is provided with the appointed VLAN and the destination RPR MAC address is the RPR MAC address of the device;
stripping off the second outer layer RPR head to obtain an inner layer RPR unicast data message;
sending the inner layer RPR unicast data message from the RPR intersecting ring to the RPR sharing ring through the redundancy common channel;
learning an RPR MAC address table item according to the common port and a source RPR MAC address of the inner-layer RPR unicast data message;
and searching a PRRMAC address table item matched with the target RPR MAC address of the inner-layer RPR unicast data message to execute forwarding.
3. The method of claim 1, further comprising,
when the output 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 transmitted from the RPR common ring to the RPR intersected ring through the common port redirection table entry;
packaging a third outer-layer RPR head with a designated VLAN and a destination RPR MAC address which is an opposite-end node MAC address of the shared link for the RPR non-unicast data message to be forwarded;
and transmitting the RPR non-unicast data message with the third outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring.
4. The method of claim 1, further comprising:
receiving an RPR non-unicast data message with a fourth outer layer RPR head through an RPR port on the shortest path to the neighbor intersection node on the RPR intersection ring; the fourth outer RPR head is provided with the designated VLAN and the destination RPR MAC address is the RPR MAC address of the equipment;
stripping off the fourth outer layer RPR head to obtain an inner layer RPR non-unicast data message;
sending the inner layer non-RPR unicast data message from the RPR intersecting ring to the RPR sharing ring through the redundant common channel;
determining that an input interface of the inner layer RPR unicast data message on the RPR shared ring is the shared port;
and sending the inner layer RPR non-unicast data message through another RPR port of the RPR shared ring.
5. An apparatus for forwarding packets via a common link of a resilient packet ring, the apparatus comprising a processor and a memory; the memory is to store processor-executable instructions; wherein the processor, by executing the processor-executable instructions in the memory, is to perform operations comprising:
setting the RPR MAC address of the neighbor intersected node as an opposite node RPR MAC of the shared link;
setting a shared port on an RPR shared ring for a port RPR shared ring which is not connected with the neighbor intersection node;
a redundant shared channel disposed between the RPR shared ring and the RPR intersecting ring;
setting a common port redirection table entry for redirecting the message of which the common port is an output port to a redundant common channel;
when the output port of the RPR unicast data message to be forwarded is the shared port, the RPR unicast data message to be forwarded is transmitted from the RPR shared ring to the RPR intersected ring through the shared port redirection table entry;
packaging a first outer layer RPR head with a designated VLAN and a destination RPR MAC address which is an opposite end node RPR MAC address of the shared link for the RPR unicast data message to be forwarded;
and sending the RPR unicast data message with the first outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring.
6. The device of claim 5, wherein the processor, by executing the processor-executable instructions in the memory, further performs the following:
receiving an RPR unicast data message with a second outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring; wherein, the second outer RPR header is provided with the appointed VLAN and the destination RPR MAC address is the RPR MAC address of the device;
stripping the second outer layer RPR head to obtain an inner layer RPR unicast data message;
sending the inner layer RPR unicast data message from the RPR intersecting ring to the RPR shared ring through the redundant common channel;
learning an RPR MAC address table item according to the common port and a source RPR MAC address of the inner-layer RPR unicast data message;
and searching a PRRMAC address table item matched with the target RPR MAC address of the inner-layer RPR unicast data message to execute forwarding.
7. The device of claim 5, wherein the processor, by executing the processor-executable instructions in the memory, further performs the following:
when the output port of the RPR non-unicast data message to be forwarded is the shared port, the RPR non-unicast data message to be forwarded is transmitted from the RPR shared ring to the RPR intersected ring through the shared port redirection table entry;
packaging a third outer-layer RPR head with a designated VLAN and a destination RPR MAC address which is an opposite-end node MAC address of the shared link for the RPR non-unicast data message to be forwarded;
and transmitting the RPR non-unicast data message with the third outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring.
8. The device of claim 5, wherein the processor, by executing the processor-executable instructions in the memory, further performs the following:
receiving an RPR non-unicast data message with a fourth outer layer RPR head through an RPR port on the shortest path reaching the neighbor intersection node on the RPR intersection ring; the fourth outer RPR header is provided with the designated VLAN and the destination RPR MAC address is the RPR MAC address of the equipment;
stripping the fourth outer layer RPR head to obtain an inner layer RPR non-unicast data message;
transmitting the inner layer non-RPR unicast data message from the RPR intersecting ring to the RPR shared ring through the redundant common channel;
determining that an input interface of the inner layer RPR unicast data message on the RPR shared ring is the shared port;
and sending the inner layer RPR non-unicast data message through another RPR port on the RPR shared ring.
CN202211200917.7A 2022-09-29 2022-09-29 Method and equipment for forwarding message by common link of resilient packet ring Pending CN115604054A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211200917.7A CN115604054A (en) 2022-09-29 2022-09-29 Method and equipment for forwarding message by common link of resilient packet ring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211200917.7A CN115604054A (en) 2022-09-29 2022-09-29 Method and equipment for forwarding message by common link of resilient packet ring

Publications (1)

Publication Number Publication Date
CN115604054A true CN115604054A (en) 2023-01-13

Family

ID=84844286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211200917.7A Pending CN115604054A (en) 2022-09-29 2022-09-29 Method and equipment for forwarding message by common link of resilient packet ring

Country Status (1)

Country Link
CN (1) CN115604054A (en)

Similar Documents

Publication Publication Date Title
US7352745B2 (en) Switching system with distributed switching fabric
US6952397B2 (en) Communication in a bidirectional ring network with single-direction receiving
US7733812B2 (en) Method for enabling multipoint network services over a ring topology network
US7043541B1 (en) Method and system for providing operations, administration, and maintenance capabilities in packet over optics networks
CN100407720C (en) resilient multiple service ring
US7340163B2 (en) Signaling protocol and architecture for protection rings
JP4676528B2 (en) RPR ring network on / off ring processing, data transfer method and network equipment thereof
US20040208554A1 (en) Packet/TDM integrated node apparatus
KR101573195B1 (en) Network element for switching time division multiplex signals
EP2568673A1 (en) Parallel Redundancy Protocol, PRP, packet duplication over VLANs based on Spanning Tree instances.
US20110249972A1 (en) Frame transmission method
US20080259920A1 (en) Method and apparatus for establishing virtual resilient packet ring (RPR) subrings over a common communications path
US20030031177A1 (en) Systems and methods for exchanging information between optical nodes
CN103188151A (en) Packet transport network and method for transporting service in packet transport network
CN103078777B (en) Be applied to loop removing method and device in elastic packet loop network
EP1701495A1 (en) Hybrid digital cross-connect for switching circuit and packet based data traffic
JPH05199248A (en) Communication-tree constituting device, communication network and transmitting method
WO2008053995A1 (en) Packet ring network system, packet transfer method and interlink node
CN101145925A (en) Method and system for realizing multicast service on multi-service transmission platform
CN101978629A (en) System and method for implementing an automatic discovery function in a dwdm network
CN115604054A (en) Method and equipment for forwarding message by common link of resilient packet ring
CN115277543A (en) Message forwarding method and device
CN115037679A (en) Message forwarding method and device
US20130003759A1 (en) Technique for bandwidth effective traffic protection in communication networks
CN101227337B (en) Method for collocating circuit simulation end to end business

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination