CN111510364B - Message forwarding method and system - Google Patents

Message forwarding method and system Download PDF

Info

Publication number
CN111510364B
CN111510364B CN202010246333.8A CN202010246333A CN111510364B CN 111510364 B CN111510364 B CN 111510364B CN 202010246333 A CN202010246333 A CN 202010246333A CN 111510364 B CN111510364 B CN 111510364B
Authority
CN
China
Prior art keywords
rpr
node
ring
main
equipment
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.)
Active
Application number
CN202010246333.8A
Other languages
Chinese (zh)
Other versions
CN111510364A (en
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 Security Technologies Co Ltd
Original Assignee
New H3C Security Technologies Co Ltd
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 Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202010246333.8A priority Critical patent/CN111510364B/en
Publication of CN111510364A publication Critical patent/CN111510364A/en
Application granted granted Critical
Publication of CN111510364B publication Critical patent/CN111510364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The invention provides a message forwarding method and a message forwarding system. The system comprises a plurality of resilient packet rings RPR intersecting at two intersecting nodes; the two intersected nodes are associated with the same multi-ring intersected group at the logic port of each RPR and are respectively configured as a main node and a slave node; the priority of an RPR ring where each logic port associated with a master node and a slave node interaction multi-ring intersection group is located, an RPR sub-ring with the highest priority is elected as a master ring, and other RPR rings are elected as sub-rings; the main node sets the logic ports of the equipment on the main ring and each subring to be in a forwarding state; the slave node sets the logic port of the device on the main ring to be in a forwarding state, and sets the logic port of the device on each subring to be in a blocking state; the main node forwards the RPR multicast/broadcast message accessed by the main ring to each subring through the logic port of the equipment on each subring; the main node forwards the RPR unicast message accessed by the main ring to the subring of the target RPR node through the logic port of the equipment on the subring of the target RPR node.

Description

Message forwarding method and system
Technical Field
The present invention relates to communication technologies, and in particular, to a method and a system for forwarding a packet.
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 an RPR node sends an RPR data packet clockwise is a0 Ring, also called 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.
A plurality of RPR rings are evolved on the basis of a single RPR ring to form an RPR intersecting ring network, and the RPR rings of the RPR intersecting ring network intersect at two RPR nodes. However, the problem to be solved by the RPR inter-ring network is how to implement service switching when a two-layer ring existing between RPR rings and a node on any RPR ring fail.
Disclosure of Invention
The invention aims to provide a message forwarding method and a message forwarding system, which avoid an inter-ring two-layer loop of an intersected ring network with multiple intersected rings and realize inter-ring forwarding.
In order to achieve the above object, the present invention provides a message forwarding method, wherein the method comprises: associating two intersected nodes of the intersected ring network with the same multi-ring intersected group at a logic port of each RPR; setting two intersected nodes as a main node and a slave node respectively; the master node and the slave node select a master ring and a slave ring according to the priority of each RPR ring of the intersected ring network; the main node sets the logic ports of the equipment on the main ring and each subring to be in a forwarding state; the slave node sets the logic port of the device on the main ring to be in a forwarding state, and sets the logic port of the device on each subring to be in a blocking state; the main node forwards the RPR multicast/broadcast message accessed by the main ring to each subring through the logic port of the equipment on each subring; the main node forwards the RPR unicast message accessed by the main ring to the subring of the target RPR node through the logic port of the equipment on the subring of the target RPR node.
In order to achieve the above object, the present invention further provides a packet forwarding system, which includes a plurality of resilient packet rings RPRs intersecting at two intersecting nodes; the two intersected nodes are associated with the same multi-ring intersected group at the logic port of each RPR and are respectively configured as a main node and a slave node; the priority of an RPR ring where each logic port associated with a master node and a slave node interaction multi-ring intersection group is located; the master node and the slave node elect the RPR sub-ring with the highest priority as a master ring, and elect other RPR rings as sub-rings; the main node sets the logic ports of the equipment on the main ring and each subring to be in a forwarding state; the slave node sets the logic port of the device on the main ring to be in a forwarding state, and sets the logic port of the device on each subring to be in a blocking state; the main node forwards the RPR multicast/broadcast message accessed by the main ring to each subring through the logic port of the equipment on each subring; the main node forwards the RPR unicast message accessed by the main ring to the subring of the target RPR node through the logic port of the equipment on the subring of the target RPR node.
The method and the system provided by the invention can avoid the inter-ring two-layer loop in the multi-ring intersected ring network and realize the inter-ring forwarding in the intersected ring network.
Drawings
Fig. 1 is a flowchart illustrating a message forwarding method according to the present invention;
FIG. 2 is a schematic diagram of an RPR intersecting ring network;
FIG. 3 is a diagram illustrating an embodiment of multi-ring interlace group forwarding provided by the present invention;
FIG. 4 is a schematic diagram of an embodiment of the multi-ring intersection group failover forwarding of FIG. 2;
fig. 5 is a schematic diagram of another embodiment of multi-ring intersection group failover forwarding in fig. 2.
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 invention. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "including" as that term is used is meant to include, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" include 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.
The message forwarding method of the intersecting ring network shown in fig. 1 includes the following steps:
step 101, associating two intersecting nodes of an intersecting ring network with the same multi-ring intersecting group at a logic port of each RPR;
102, setting two intersected nodes as a main node and a slave node respectively;
103, the master node and the slave node interact the priority of an RPR ring where each logic port associated with a multi-ring intersection group is located;
104, the master node and the slave node elect the RPR sub-ring with the highest priority as a master ring and elect other RPR rings as sub-rings;
step 105, the main node sets the logic ports of the equipment on the main ring and each subring to be in a forwarding state;
106, the slave node sets the logic port of the device on the main ring to be in a forwarding state, and sets the logic port of the device on each sub ring to be in a blocking state;
step 107, the main node forwards the RPR multicast/broadcast message accessed by the main ring to each sub-ring through the local device logic port on each sub-ring;
and step 108, the main node forwards the RPR unicast message accessed by the main ring to the subring to which the target RPR node belongs through the local equipment logic port on the subring to which the target RPR node belongs.
The message forwarding method shown in fig. 1 can avoid an inter-ring two-layer loop in an intersecting ring network with multiple intersecting rings and implement inter-ring forwarding in the intersecting ring network.
The RPR intersecting ring network shown in fig. 2 has 4 RPR rings, and the RPR ring 10 includes: node a-node B-node C-node D-node E; RPR ring 11: node a-node B-node O-node P; RPR ring 12: node a-node B-node M; RPR ring 13: node A-node B-node X-node W-node V-node U;
the intersection of these 4 RPR rings is at two intersecting nodes, node a and node B. On the RPR rings 10, 11, 12, and 13, the RPR logic ports of the node a are a0, a1, a2, and A3, respectively, and the RPR logic ports on one RPR board in the node a. In the RPR rings 10, 11, 12, and 13, the RPR logic ports of the node B are B0, B1, B2, and B3, respectively, and are RPR logic ports on one RPR board in the node B.
A node A is provided with a multi-ring intersection group multi-ring cross group 1, and RPR logic ports A0, A1, A2 and A3 belong to the multi-ring cross group 1; associate RPR logical port a0 to RPR ring 10 of ring priority 0; associate RPR logical port a1 to RPR ring 11 of ring priority 1; associate RPR logical port a2 to the RPR ring 12 of ring priority 2; the RPR logical port a3 is associated to the RPR ring 13 of ring priority 3. Configuring a neighbor station RPR MAC address of a node A as an RPR MAC address of a B station, RPR MAC B; configuring the intersecting group role of node a as a Primary node (Primary).
Configuring a multi-ring intersection group multi-ring cross group 1 on a node B, and configuring RPR logic ports B0, B1, B2 and B3 to belong to the multi-ring cross group 1; associate RPR logical port B0 to RPR ring 10 of ring priority 0; associate RPR logical port B1 to RPR ring 11 of ring priority 1; associate RPR logical port B2 to the RPR ring 12 of ring priority 2; the RPR logical port B3 is associated to the RPR ring 13 of ring priority 3. Configuring a neighbor station RPR MAC address of a node B as an RPR MAC address of a station A, RPR MAC 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, the priorities of the ring priorities 1, 2, and 3 are decreased step by step, and the ring priority 3 represents the lowest priority.
The node A sends a topology collection protocol message which sends a source RPR MAC to the RPR MAC A on four RPR rings, wherein the topology collection protocol message carries multi-ring intersection group identifiers 1, and the ring priority of each RPR ring. The node B sends a topology collection protocol packet with the source RPR MAC as the RPR MAC a on the four RPR rings, respectively, where the topology collection protocol packet carries a multi-ring intersection group identifier multi-ring cross group 1 and a ring priority of each RPR ring. The nodes on the other rings are not intersecting nodes, and therefore the topology collection protocol is sent without multi-ring intersection group identification and priority of each RPR ring.
After receiving the topology collection protocol sent by the node B on each RPR ring, the node a can acquire the priority of each RPR ring configured on the node B; similarly, after receiving the topology collection protocol sent by the node a on each RPR ring, the node B may learn the priority of each RPR ring configured on the node a.
And the node A serving as a main node determines that the priority of any RPR ring configured by the node B is different from the priority of the same RPR ring configured by the equipment, and then sends a fault alarm message carrying an RPR ring identifier and a priority configuration error identifier to the network management equipment. For example, when the node a receives the topology collection packet sent by the node B on the RPR ring 13, and determines that the priority of the RPR ring 13 of the node B belonging to the same multi-ring intersection group is different from the priority of the RPR ring 13 on the device, the node a sends a fault alarm packet carrying a multi-ring cross group 1 and a priority configuration error. The network management device receives the fault alarm message and displays the fault information, so that the network management technician can reconfigure the priority of the node A and the node B on the RPR ring 13 of the multi-ring cross group 1 through the network management device.
The following describes packet forwarding of the RPR intersected ring network shown in fig. 2, by taking as an example that the priorities of the RPR rings of the node a and the node B belonging to the same multi-ring intersected group are the same.
Fig. 3 is a schematic diagram of a multi-ring intersection group forwarding embodiment provided in the present invention.
The node a and the node B elect the RPR ring 10 of the highest priority as the main ring, and determine the RPR rings 11, 12, 13 of the low priority as the sub-rings. Point a and node B set the RPR logic port a0 and RPR logic port B0, respectively, on the main ring to a Forward (Forward) state. The master node a sets the device to be in a forwarding state at the RPR logical ports a1, a2, A3 of the respective sub rings. The slave node B sets the present device to blocking at each RPR logical port B1, B2, B3 of each sub-ring.
In this embodiment, when the multicast/broadcast packet is accessed by the main ring, the node D receives the RPR multicast/broadcast packet, performs RPR encapsulation and broadcasts in the RPR ring 10, the node a serving as the master node receives the RPR multicast/broadcast packet on the RPR ring 10 through the RPR logical port a0, sends the RPR multicast/forward packet to the node P through the RPR logical port a1 of the RPR ring 11, sends the RPR multicast/broadcast packet to the node M through the RPR logical port a2 of the RPR ring 12, and sends the RPR multicast/broadcast packet to the node U through the RPR logical port A3 of the RPR ring 13, so that the node a forwards the RPR multicast/broadcast packet through the physical port connecting the non-intersecting node in the RPR logical ports of the respective sub-rings, and performs inter-ring forwarding from the main ring to the sub-rings. Since the RPR logical ports B1, B2, B3 of the node B on the sub ring are in a blocking state, no inter-ring forwarding is performed. Thus, in the multi-ring intersected group of the RPR intersected ring network, the RPR multicast/broadcast message is transmitted among the rings of the intersected ring network while the two-layer loop among the rings is avoided. In each RPR ring, the RPR multicast/broadcast packet is forwarded in the existing manner, which is not limited in this embodiment. The multicast/broadcast message may be a protocol message (e.g., multicast protocol message, ARP protocol message), and may be a data message.
In this embodiment, when the unicast message is accessed from the main ring, the node C receives the unicast message, finds that the RPR MAC corresponding to the destination address is the RPR MAC U (that is, the target RPR node of the lower ring is the node U), encapsulates the unicast message into the RPR unicast message according to the RPR MAC U, and forwards the RPR unicast message to the node a on the RPR node according to the shortest path node C-node B-node a, where the RPR logical port corresponding to the destination RPR MAC U address of the RPR unicast message is found as a3 by the node a. The node A sends the RPR unicast message to the node U on the RPR ring 13 through the port on the shortest path of the RPR logical port A3. Similarly, while avoiding the two-layer loop between the rings, the RPR unicast message is transmitted between the rings of the intersecting ring network. In each RPR ring, the RPR unicast message is forwarded through the shortest path according to the existing mode. The unicast message may be a protocol message (e.g., an ARP protocol message) and may be a data message.
In this embodiment, when the sub-ring accesses the multicast/broadcast packet, and when the packet accessed by the RPR ring 11 is forwarded, the node O receives the multicast/broadcast packet, performs RPR encapsulation and then broadcasts the packet in the RPR ring 11, and the node a receives the RPR multicast/broadcast packet on the RPR ring 11 through the RPR logical port a1 and forwards the packet to the RPR rings 10, 12, and 13 through the RPR logical ports a0, a2, and A3. The node a sends the RPR multicast/forward packet to the node E on the RPR ring 10 through the RPR logical interface a0, the node a sends the RPR multicast/broadcast packet to the node M on the RPR ring 12 through the RPR logical interface a2, and the node a sends the RPR multicast/broadcast packet to the node U on the RPR ring 13 through the RPR logical interface A3.
Because the node B is used as a slave node and the RPR logical ports on the subring are blocked, the node a forwards the multicast/broadcast packet through the physical port connecting the non-intersecting nodes in the RPR logical ports on each subring, and forwards the RPR multicast/broadcast packet on the subring to the main ring and other subrings through inter-ring forwarding. Because the RPR logical ports B1, B2, and B3 of the node B on the sub-ring are in a blocking state, no loop occurs, and the RPR multicast/broadcast packet is not forwarded between rings through the node B.
In this embodiment, when a sub-ring accesses a unicast message, a node X receives the unicast message, finds that an RPR MAC corresponding to a destination address is an RPR MAC D (that is, a lower ring node is a node D), encapsulates the unicast data message into an RPR unicast message according to the RPR MAC D, forwards the RPR unicast message to a node a according to a shortest path node X-node W-node V-node U-node a on the RPR node, finds that an RPR logical port corresponding to the destination RPR MAC U address of the RPR unicast message is a0, sends the RPR unicast message to the node D through an RPR logical port a0, and the node a can select a physical port located on the shortest path to the node D in the RPR logical port a0 to send the RPR unicast message according to the existing manner. Therefore, the RPR unicast message accessed by the subring can be forwarded between rings and within the RPR ring in the intersecting ring network.
Fig. 4 is a schematic diagram of an embodiment of multi-ring intersection group failover forwarding in fig. 2. When any one of the RPR logical ports a1, a2, A3 of the node a on the sub ring fails, the node a cannot transmit the topology collection protocol on the RPR ring 11 through the RPR logical port a1, assuming that the RPR logical port a1 fails. Node a sets the other sub-ring RPR logic ports a2, A3 in the normal state to the blocking state, and node a switches to the slave intersecting node. The node B does not receive the topology collection protocol of the node a on the RPR ring 11, detects the failure of the sub-ring RPR logical port a1, sets each of the sub-ring logical ports B1, B2, and B3 to a forwarding state, and switches the node B to a main intersecting node.
In this embodiment, when the main ring accesses the multicast/broadcast packet, and when the packet accessed to the RPR ring 10 is forwarded, the node C receives the multicast/broadcast packet, performs RPR encapsulation and then broadcasts the packet in the RPR ring 10, and the node B receives the RPR multicast/broadcast packet on the RPR ring 10 through the RPR logical port B0 and forwards the packet B1, the packet B2, and the packet B3 to the RPR rings 11, 12, and 13 through the RPR logical ports. The node B sends the RPR multicast/forward packet to the node O on the RPR ring 11 through the RPR logical interface B1, the node B sends the RPR multicast/broadcast packet to the node M on the RPR ring 12 through the RPR logical interface B2, and the node B sends the RPR multicast/broadcast packet to the node X on the RPR ring 13 through the RPR logical interface B3. The node B forwards the message through the physical port connected with the non-intersecting node in the RPR logical port on each sub-ring, and forwards the multicast/broadcast message accessed to the RPR by the main ring to each sub-ring through the inter-ring forwarding. Because the RPR logic ports A1, A2 and A3 of the node A on the subring are in a blocking state, no loop occurs, the RPR multicast/broadcast message can not be forwarded between rings through the node A, and the two-layer loop forwarded between rings is avoided.
In this embodiment, when the unicast message is accessed from the main ring, the node X receives the unicast message, finds that the RPR MAC corresponding to the destination address is the RPR MAC D (that is, the lower ring node is the node D), encapsulates the unicast message into the RPR unicast message according to the RPR MAC D, and forwards the RPR unicast message to the main node B according to the shortest path node X-node B on the RPR node. The node B searches for the RPR logical port corresponding to the destination RPR MAC D address of the RPR unicast message as B0, and sends the RPR unicast message to the node D through the RPR logical port B0, and the node B can select a physical port located on the shortest path to the node D in the RPR logical port B0 to send the RPR unicast message according to the existing mode. In this way, the RPR unicast packet accessed by the sub-ring is transmitted to the node D performing the lower ring processing by the inter-ring forwarding and the single ring forwarding, and no loop exists.
In this embodiment, when a sub-ring accesses a multicast/broadcast packet, when a node O receives the multicast/broadcast packet, it performs RPR encapsulation and then broadcasts in an RPR ring 11, a node B receives the RPR multicast/broadcast packet through an RPR logic port B1, sends the RPR multicast/forward packet to a node C through an RPR logic port B0 of the RPR ring 10, sends the RPR multicast/broadcast packet to a node M through an RPR logic port B2 on the RPR ring 12, and sends the RPR multicast/broadcast packet to a node X through an RPR logic port B3 on the RPR ring 13, so that the node B forwards the packet by connecting physical ports of non-intersecting nodes in RPR logic ports on each sub-ring, and performs inter-ring forwarding from a main ring to a sub-ring. Because node a's RPR logical ports a1, a2, A3 on the sub-ring are blocking, no inter-ring forwarding is performed. Thus, in the multi-ring intersected group of the RPR intersected ring network, the RPR multicast/broadcast message is forwarded between rings of the intersected ring network and is forwarded in each RPR ring.
In this embodiment, when a sub-ring accesses a unicast message, a node M receives the unicast message, finds that an RPR MAC corresponding to a destination address is an RPR MAC U (that is, a lower ring node is a node U), encapsulates the unicast message into an RPR unicast message according to the RPR MAC U, forwards the RPR unicast message on the RPR node according to a shortest path node M-node B, finds that an RPR logical port corresponding to the destination RPR MAC U address of the RPR unicast message is B3, sends the RPR unicast message to a node X through an RPR logical port B3, and forwards the unicast message received by the node X in the ring RPR 13 to the node U according to an RPR ring forwarding mechanism.
Fig. 5 is a schematic diagram of another embodiment of multi-ring intersection group failover forwarding in fig. 2. When the RPR logical port a0 of the node a on the main ring in fig. 3 fails, the node a cannot send the topology collection protocol on the RPR ring 10 through the RPR a0, and the node B does not receive the topology collection protocol of the node a on the RPR ring 10, and determines that the RPR logical port a0 of the node a on the main ring fails. Node A and node B elect 11-bit new main ring of RPR ring according to priority, and RPR ring 10, RPR ring 12 and 13 are sub-rings. The node A sets the RPR logic port A1 on the main ring to be in a forwarding state, sets the RPR logic ports A0, A2 and A3 nodes on the sub-ring to be in a blocking state, and switches the node A to be a slave node. The node B sets the RPR logical port B1 on the main ring to the forwarding state, sets the RPR logical ports B0, B2, and B3 on the sub ring to the forwarding state, and switches the node B to the main node.
In this embodiment, when the main ring accesses the multicast/broadcast packet, when the node O of the RPR ring 11 receives the multicast/broadcast packet, the RPR is encapsulated and then broadcast in the RPR ring 11, and the node B receives the RPR multicast/broadcast packet on the RPR ring 11 through the RPR logical interface B1 and forwards the RPR multicast/broadcast packet to the RPR rings 10, 12, and 13 through the RPR logical interfaces B0, B2, and B3. The node B sends the RPR multicast/forward packet to the node C on the RPR ring 10 through the RPR logical interface B0, the node B sends the RPR multicast/broadcast packet to the node M on the RPR ring 12 through the RPR logical interface B2, and the node B sends the RPR multicast/broadcast packet to the node X on the RPR ring 13 through the RPR logical interface B3. Thus, the node B can transmit the message through the physical port connected with the non-intersecting node in the RPR logical port on each sub-ring, and transmit the RPR multicast/broadcast message accessed by the main ring to other sub-rings through inter-ring transmission. Because the RPR logical ports a0, a2, A3 of the node a on the sub-ring are in a blocking state, no loop occurs, and the RPR multicast/broadcast packet is not forwarded between rings through the node a.
In this embodiment, when the unicast message is accessed from the main ring, the node O receives the unicast message, finds that the RPR MAC corresponding to the destination address is the RPR MAC D (that is, the lower ring node is the node D), encapsulates the unicast message into the RPR unicast message according to the RPR MAC D, and forwards the RPR unicast message to the node B according to the shortest path node O-node B on the RPR node. The node B searches for the RPR logical port corresponding to the destination RPR MACD address of the RPR unicast message as B0, and sends the RPR unicast message to the node D through the RPR logical port B0, and the node B can select a physical port located on the shortest path to the node D in the RPR logical port B0 to send the RPR unicast message according to the existing mode. In this way, the RPR unicast packet accessed by the main ring is transmitted to the node D performing the lower ring processing by the inter-ring forwarding and the single ring forwarding, and no loop exists.
In this embodiment, when the sub-ring accesses the multicast/broadcast packet, when the node D receives the multicast/broadcast packet, the RPR is encapsulated and then broadcast in the RPR ring 10, the node B receives the RPR multicast/broadcast packet through the RPR logic port B0, the RPR multicast/forward packet is sent to the node O through the RPR logic port B1 of the RPR ring 11, the RPR multicast/broadcast packet is sent to the node M through the RPR logic port B2 of the RPR ring 12, and the RPR multicast/broadcast packet is sent to the node X through the RPR logic port B3 of the RPR ring 13, so that the node B can connect the physical port of the non-intersecting node through the main ring and the sub-ring RPR logic ports to forward the packet, and perform inter-ring forwarding. Because node a's RPR logical ports a0, a2, A3 on the sub-ring are blocking, no inter-ring forwarding is performed.
In this embodiment, when a sub-ring accesses a unicast message, a node C receives the unicast message, finds that an RPR MAC corresponding to a destination address is an RPR MAC U (that is, a lower ring node is a node U), encapsulates the unicast message into an RPR unicast message according to the RPR MAC U, forwards the RPR unicast message on the RPR node according to a shortest path node C-node B, finds that an RPR logical port corresponding to the destination RPR MAC U address of the RPR unicast message is B3, sends the RPR unicast message to a node X through an RPR logical port B3, and forwards the unicast message received by the node X in the ring RPR 13 to the node U according to an RPR ring forwarding mechanism.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A message forwarding method is characterized in that the method comprises the following steps:
associating two intersected nodes of the intersected ring network with the same multi-ring intersected group at a logic port of each RPR;
setting the two intersected nodes as a master node and a slave node respectively;
the master node and the slave node interact the priority of the RPR ring where each logic port associated with the multi-ring intersection group is located;
the master node and the slave node elect the RPR sub-ring with the highest priority as a master ring and elect other RPR rings as sub-rings;
the main node sets the logic ports of the equipment on the main ring and each subring to be in a forwarding state;
the slave node sets the logic port of the device on the main ring to be in a forwarding state, and sets the logic port of the device on each sub-ring to be in a blocking state;
the main node forwards the RPR multicast/broadcast message accessed by the main ring to each subring through the logic port of the equipment on each subring;
and the main node forwards the RPR unicast message accessed by the main ring to the subring to which the target RPR node belongs through the logic port of the equipment on the subring to which the target RPR node belongs.
2. The method of claim 1, further comprising:
the main node forwards the RPR multicast/broadcast message accessed by any sub-ring to the main ring through the logic port of the main ring;
and the main node forwards the RPR unicast message accessed by any sub-ring to the main ring through the logic port of the equipment on the main ring.
3. The method of claim 2, further comprising:
the main node detects the failure of the logic port of the equipment on any subring;
the main node sets the logic ports of the equipment on other subrings to be in a blocking state; the master node is switched into a new slave node;
the slave node detects the equipment logic port with the failure of the master node, and sets the equipment logic port on each subring to be in a forwarding state; the slave node switches to the new master node.
4. The method of claim 1,
the main node detects the failure of the logic port of the equipment on the main ring;
the slave node detects the failure of a main equipment logic interface on the main ring;
the master node and the slave nodes elect a new master ring according to the priority of each subring;
the main node sets the logic port of the equipment on the new main ring to be in a forwarding state, and sets the logic ports of the equipment on other RPR rings to be in a blocking state; the master node is switched into a new slave node;
the slave node sets the logic ports of the equipment on the new main ring and other RPR rings to be in a forwarding state; the slave node switches to the new master node.
5. The method of claim 1, further comprising:
and the master node determines that the RPR ring priority configured by the slave node is different from the RPR priority configured locally, and sends a fault alarm message carrying an RPR ring identifier and a priority configuration error identifier to the network management equipment.
6. A message forwarding system, characterized in that,
the system comprises a plurality of resilient packet rings RPRs intersecting at two intersecting nodes; the two intersected nodes are associated with the same multi-ring intersected group at the logic port of each RPR and are respectively configured as a main node and a slave node;
the master node and the slave node interact the priority of the RPR ring where each logic port associated with the multi-ring intersection group is located;
the master node and the slave node elect the RPR sub-ring with the highest priority as a master ring and elect other RPR rings as sub-rings;
the main node sets the logic ports of the equipment on the main ring and each subring to be in a forwarding state;
the slave node sets the logic port of the device on the main ring to be in a forwarding state, and sets the logic port of the device on each sub-ring to be in a blocking state;
the main node forwards the RPR multicast/broadcast message accessed by the main ring to each subring through the logic port of the equipment on each subring;
and the main node forwards the RPR unicast message accessed by the main ring to the subring to which the target RPR node belongs through the logic port of the equipment on the subring to which the target RPR node belongs.
7. The system of claim 6,
the main node forwards the RPR multicast/broadcast message accessed by any sub-ring to the main ring through the logic port of the main ring;
and the main node forwards the RPR unicast message accessed by any sub-ring to the main ring through the logic port of the equipment on the main ring.
8. The system of claim 7,
the main node detects the failure of the logic port of the equipment on any subring;
the main node sets the logic ports of the equipment on other subrings to be in a blocking state; the master node is switched into a new slave node;
the slave node detects the equipment logic port with the failure of the master node, and sets the equipment logic port on each subring to be in a forwarding state; the slave node switches to the new master node.
9. The system of claim 6,
the main node detects the failure of the logic port of the equipment on the main ring;
the slave node detects the failure of a main equipment logic interface on the main ring;
the master node and the slave nodes elect a new master ring according to the priority of each subring;
the main node sets the logic port of the equipment on the new main ring to be in a forwarding state, and sets the logic ports of the equipment on other RPR rings to be in a blocking state; the master node is switched into a new slave node;
the slave node sets the logic port of the device on other RPR rings to be in a forwarding state; the slave node switches to the new master node.
10. The system of claim 6,
and the master node determines that the RPR ring priority configured by the slave node is different from the RPR priority configured locally, and sends a fault alarm message carrying an RPR ring identifier and a priority configuration error identifier to the network management equipment.
CN202010246333.8A 2020-03-31 2020-03-31 Message forwarding method and system Active CN111510364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010246333.8A CN111510364B (en) 2020-03-31 2020-03-31 Message forwarding method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010246333.8A CN111510364B (en) 2020-03-31 2020-03-31 Message forwarding method and system

Publications (2)

Publication Number Publication Date
CN111510364A CN111510364A (en) 2020-08-07
CN111510364B true CN111510364B (en) 2022-02-22

Family

ID=71864767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010246333.8A Active CN111510364B (en) 2020-03-31 2020-03-31 Message forwarding method and system

Country Status (1)

Country Link
CN (1) CN111510364B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870558A (en) * 2006-05-17 2006-11-29 杭州华为三康技术有限公司 Loop detection method and system of intersection ring in elastic group ring
CN1909496A (en) * 2006-08-24 2007-02-07 杭州华为三康技术有限公司 Intersecting Ether ring net and its automatic protecting method, node device for Ether ring net
CN101022391A (en) * 2007-03-13 2007-08-22 华为技术有限公司 RPR bidge redundancy protecting method and RPR bridge ring equipment
CN101800774A (en) * 2010-02-04 2010-08-11 中兴通讯股份有限公司 Environmental-friendly accessing method and environmental-friendly accessing network
CN105763409A (en) * 2016-01-29 2016-07-13 杭州华三通信技术有限公司 Flow forwarding method and device
CN106899507A (en) * 2017-01-16 2017-06-27 新华三技术有限公司 A kind of file transmitting method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870558A (en) * 2006-05-17 2006-11-29 杭州华为三康技术有限公司 Loop detection method and system of intersection ring in elastic group ring
CN1909496A (en) * 2006-08-24 2007-02-07 杭州华为三康技术有限公司 Intersecting Ether ring net and its automatic protecting method, node device for Ether ring net
CN101022391A (en) * 2007-03-13 2007-08-22 华为技术有限公司 RPR bidge redundancy protecting method and RPR bridge ring equipment
CN101800774A (en) * 2010-02-04 2010-08-11 中兴通讯股份有限公司 Environmental-friendly accessing method and environmental-friendly accessing network
CN105763409A (en) * 2016-01-29 2016-07-13 杭州华三通信技术有限公司 Flow forwarding method and device
CN106899507A (en) * 2017-01-16 2017-06-27 新华三技术有限公司 A kind of file transmitting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
弹性分组环中关键技术的分析;陈奎成;《电力系统通信》;20041010(第10期);全文 *

Also Published As

Publication number Publication date
CN111510364A (en) 2020-08-07

Similar Documents

Publication Publication Date Title
EP2104994B1 (en) Hash-based multi-homing
EP1768319B1 (en) Method of inter-RPR-ring bridge redundancy
US7876673B2 (en) Prevention of frame duplication in interconnected ring networks
EP3672173B1 (en) Communication method and device, and storage medium
US7822049B1 (en) System and method for enabling a remote instance of a loop avoidance protocol
EP1863230B1 (en) A method for implementing on-ring process, off-ring process and data forwarding in resilience packet data ringnet and a network device thereof
US20030117946A1 (en) Method to protect RPR networks of extended topology, in particular RPR ring-to-ring and meshed backbone networks, and relating RPR network
US20080068985A1 (en) Network redundancy method and middle switch apparatus
EP1983694B1 (en) Method and device for transmitting packet in resilient packet intersect ring
JP2011229188A (en) Communication system and node
Ryoo et al. Ethernet ring protection for carrier ethernet networks
JP4705492B2 (en) Ring node device and ring node redundancy method
US20080304480A1 (en) Method for Determining the Forwarding Direction of Ethernet Frames
CN111510364B (en) Message forwarding method and system
JP4299658B2 (en) Network control system and control method
CN115277543A (en) Message forwarding method and device
JP2004032633A (en) System and method for monitoring transmission network
CN108347385B (en) Message broadcasting method and device applied to Resilient Packet Ring (RPR)
CN115604054A (en) Method and equipment for forwarding message by common link of resilient packet ring
WO2006131019A1 (en) A method and site for achieving link aggregation between the interconnected resilient packet ring
CN116567071A (en) Method and equipment for forwarding ring network data message by proxy
CN116319160A (en) Communication method and device
WO2014134806A1 (en) Method and device for protection switching of ethernet ring
WO2006131026A1 (en) A method and system for inter-connecting the resilient package ring

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
GR01 Patent grant
GR01 Patent grant