CN116567071A - Method and equipment for forwarding ring network data message by proxy - Google Patents

Method and equipment for forwarding ring network data message by proxy Download PDF

Info

Publication number
CN116567071A
CN116567071A CN202310632685.0A CN202310632685A CN116567071A CN 116567071 A CN116567071 A CN 116567071A CN 202310632685 A CN202310632685 A CN 202310632685A CN 116567071 A CN116567071 A CN 116567071A
Authority
CN
China
Prior art keywords
rpr
proxy
port
node
ring
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
CN202310632685.0A
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
Original Assignee
New H3C 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 Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202310632685.0A priority Critical patent/CN116567071A/en
Publication of CN116567071A publication Critical patent/CN116567071A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • 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/422Synchronisation for ring 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • 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
    • H04L2012/421Interconnected ring systems

Landscapes

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

Abstract

The application provides a method and equipment for forwarding looped network data messages by proxy, wherein the method comprises the following steps: setting two RPR ports for connecting each adjacent node of RPR ring net and proxy RPR port for connecting one proxy node through direct RPR link; when the collected topology of the RPR ring network does not contain the proxy node, notifying other nodes in the current topology of the RPR ring network of the proxy node; advertising nodes in the current topology of the RPR ring network to the proxy node through the direct connection RPR link; recording an output interface of the proxy node in the RPR ring selection table as a proxy RPR port; updating an output interface of the RPR broadcasting table into an RPR port in a normal state and an agent RPR port; and based on the updated RPR broadcasting table, transmitting the first RPR broadcasting message which is forwarded by each node except the proxy node in the upper ring to the proxy node through the RPR proxy port.

Description

Method and equipment for forwarding ring network data message by proxy
Technical Field
The application relates to communication technology, in particular to a method and equipment for forwarding ring network data messages by proxy.
Background
RPR (Resilient Packet Ring ) is a MAC (Media Access Control, medium access control) protocol that can run over SONET (Synchronous Optical Network )/SDH (Synchronous Digital Hierarchy, synchronous digital hierarchy), DWDM (Dense Wavelength Division Multiplexing ) and ethernet. The RPR uses RPR MAC layer frame encapsulation to achieve 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 transmits the RPR data message in the clockwise direction is a 0 Ring, also called Outer Ring; the direction in which the RPR sends RPR messages in the counter-clockwise direction is 1 Ring, also called Inner Ring. The RPR node sends the RPR data message on the ring 0 and receives the RPR data message on the ring 1 through the east physical port; and receiving the RPR data message on the 0 ring and transmitting the RPR data message on the 1 ring through the western physical port.
The east-west physical port and the west-west physical port of each RPR node form an RPR logic port, the RPR chip transmits the RPR message to the RPR logic port for lower loop forwarding, and the exchange chip transmits the Ethernet message to the RPR logic port for upper loop forwarding.
When the RPR node fails in a single RPR ring, the RPR data message is sent through the RPR ring in the other direction, and the data link redundancy protection is provided. When the links of the RPR ring in both directions of the RPR node fail, neither of the RPR rings in both directions can provide data forwarding, becoming an island node.
Disclosure of Invention
The purpose of the application is to provide a method and equipment for forwarding ring network data messages by proxy, which provide proxy forwarding of an RPR ring network for an island RPR node.
In order to achieve the above object, the present application provides a method for forwarding a ring network data packet by proxy, which includes: setting and connecting two RPR ports and more than one proxy RPR port for the RPR logic port; wherein, two RPR ports are respectively connected with an adjacent node of the RPR ring network; each proxy RPR port is connected with a proxy node through a direct-connection RPR link; when the collected topology of the RPR ring network does not contain the proxy node, notifying other nodes in the current topology of the RPR ring network of the proxy node so that the other nodes modify the RPR port reaching the proxy node into the RPR port reaching the device; the method comprises the steps that nodes in the current topology of an RPR ring network are announced to proxy nodes through a direct-connection RPR link, so that the proxy nodes modify RPR ports reaching other nodes into RPR proxy ports of a connection opposite end; recording an output interface of the proxy node in the RPR ring selection table as a proxy RPR port; updating an output interface of the RPR broadcasting table into an RPR port in a normal state and an agent RPR port; and based on the updated RPR broadcasting table, transmitting the first RPR broadcasting message which is forwarded by each node except the proxy node in the upper ring to the proxy node through the RPR proxy port.
In order to achieve the above object, the present application further provides a device for forwarding a ring network data packet by using a proxy, where the device includes: the setting module is used for setting and connecting two RPR ports and more than one proxy RPR port for the RPR logic port; wherein, two RPR ports are respectively connected with an adjacent node of the RPR ring network; each proxy RPR port is connected with a proxy node through a direct-connection RPR link; the topology module is used for collecting the topology of the RPR ring network, and when the collected topology of the RPR ring network does not contain the proxy node, other nodes in the current topology announce the proxy node; advertising nodes in the current topology of the RPR ring network to the proxy node through the direct connection RPR link; an elastic packet ring processing unit, configured to record an outgoing interface of the proxy node in the RPR ring selection table as a proxy RPR port; updating an output interface of the RPR broadcasting table into an RPR port in a normal state and an agent RPR port; and transmitting the first RPR broadcast message which is forwarded by all nodes except the proxy node in a ring manner through the RPR proxy port based on the updated RPR broadcast table.
The method has the advantages that when the link between the node on the RPR ring and the adjacent node can not be forwarded, the link is required to be forwarded to the proxy node on the RPR ring network through direct connection of the RPR link, so that the link participates in the forwarding of the RPR ring before the topology of the RPR ring network is restored.
Drawings
Fig. 1 is a flowchart of an embodiment of a method for forwarding a ring network data packet by using a proxy provided in the present application;
fig. 2 is a schematic diagram of ring network proxy forwarding advertisement provided in the present application;
fig. 3 is a schematic diagram of a first ring proxy forwarding embodiment provided in the present application;
fig. 4 is a schematic diagram of a second ring proxy forwarding embodiment provided in the present application;
fig. 5 is a schematic diagram of another embodiment of a ring network proxy forwarding networking provided in the present application;
fig. 6 is a schematic diagram of an embodiment of an apparatus for proxy forwarding ring network data packets provided in the present application.
Detailed Description
A plurality of examples shown in the drawings will be described in detail. 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.
The term "comprising" as used in the terminology includes, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" encompass the present number; the terms "greater than", "less than" mean that the number is not inclusive. The term "based on" means based at least in part on a portion thereof.
Fig. 1 is a flowchart of an embodiment of a method for proxy forwarding of ring network data packets, the method comprising:
step 101, setting and connecting two RPR ports and more than one proxy RPR port for an RPR logic port;
two RPR ports are respectively connected with an adjacent node of the RPR ring network, and each proxy RPR port is connected with a proxy node through a direct-connection RPR link;
102, when the collected topology of the RPR ring network does not contain the proxy node, notifying other nodes in the current topology of the RPR ring network of the proxy node;
thus, when the other node receives the advertised proxy node, the RPR port reaching the proxy node is modified to the RPR port reaching the device.
Step 103, notifying the proxy node of the node in the current topology of the RPR ring network through the direct connection RPR link;
thus, when the proxy node receives other nodes announced, the RPR port is modified into a connection opposite-end RPR proxy port;
104, recording the output interface of the proxy node in the RPR ring selection table as a proxy RPR port;
step 105, updating the output interface of the RPR broadcasting table into an RPR port in a normal state and an agent RPR port;
and step 106, based on the updated RPR broadcast table, the RPR broadcast messages forwarded by the upper ring of each node except the proxy node are sent to the proxy node through the RPR proxy port.
The embodiment of fig. 1 has the advantage that when the link between the node on the RPR ring and the neighboring node cannot be forwarded, the link needs to be forwarded to the proxy node on the RPR ring network by directly connecting the RPR link, so that the link participates in the forwarding of the RPR ring before the topology of the RPR ring network is restored.
Fig. 2 is a schematic diagram of ring network proxy forwarding advertisement provided in the present application. On the RPR ring network 200, the node a and the node C are connected by a direct RPR link 21 and are proxy nodes; the node B and the node D are connected by the direct RPR link 22 and are proxy nodes to each other.
In fig. 2, the RPR logical port of the node a-node D is set to connect two RPR ports and one proxy RPR port; the two RPR ports of the node a-node D are respectively connected to adjacent nodes on the RPR ring network 200, and the proxy RPR ports of the node a-node D are respectively connected to direct RPR links for connecting the respective proxy nodes.
In fig. 2, when the RPR ports of the nodes C in the east and west directions are failed or the RPR link of this connection is failed, the node A, B, D transmits topology collection messages according to the topology collection period; the current topology of the RPR ring network 200 is collected according to the received topology collection message of the other nodes, and node C is not included.
When the node a determines that the topology of the collected RPR ring network 200 does not include the proxy node C, an ATD (Attribute Discovery ) frame 201 is transmitted in the RPR ring network, and the RPR MAC address of the proxy node C is carried by the T-L-V field newly added in the ATD frame 201, so that the proxy node C is notified to other nodes B and D in the current topology.
The node B and the node D receive the ATD frame and modify the RPR ports of the proxy nodes in the ring tables to the RPR ports reaching the node A.
Node a sends an ATD frame 202 via a direct RPR link 21, and the node C is notified of the node B and node D in the current topology of the RPR ring network, i.e. nodes other than the proxy node a of node C, by carrying the RPR MAC addresses of the proxy node B and node C in the newly added T-L-V field of the ATD frame 202.
The node C receives the ATD frame 202, modifies the RPR ports reaching the node B and the node D in the RPR ring table to be RPR proxy ports, and modifies the ports in the RPR broadcast table to be RPR proxy ports.
Fig. 3 is a schematic diagram of a first ring proxy forwarding embodiment provided in the present application. In fig. 3, after receiving the ethernet broadcast packet, the node D encapsulates the ethernet broadcast packet into an RPR broadcast packet 301 for forwarding in an upper ring.
The node D broadcasts an RPR broadcast message 301 in the RPR ring network 200 and transmits it to the node a through the western RPR port.
The node A receives the RPR broadcast message 301 forwarded by the node D through the RPR ring network 200, and sends the RPR broadcast message 301 to the node B through the east RPR port, and continues to broadcast the RPR broadcast message 301 on the RPR ring network 200; the node a transmits an RPR broadcast message 301 to the node C through the RPR proxy port in the RPR broadcast table.
After node C receives the RPR broadcast message 301 and releases the RPR encapsulation, the port broadcast of the VLAN to which the ethernet broadcast message after the encapsulation belongs is released.
The node B receives the Ethernet unicast message, and searches the RPR MAC address of the destination RPR node in the MAC address table item through the destination MAC address to be the RPR MAC address of the node C; the received ethernet unicast message is encapsulated into an RPR unicast message 302, and the RPR port reaching the node a is updated according to the ring selection table, that is, the western RPR port in fig. 3 is sent to the node a.
The node A receives the RPR single message 302 forwarded by the node B through the RPR ring network 200, and sends the RPR single message 302 to the node C through the RPR proxy port corresponding to the node C in the RPR ring selection table.
And after the node C receives the RPR broadcast message 302 and releases the RPR encapsulation, the node C sends the RPR broadcast message according to the output port corresponding to the destination MAC address of the Ethernet unicast message after the encapsulation is released.
Fig. 4 is a schematic diagram of a second ring proxy forwarding embodiment provided in the present application;
after receiving the ethernet broadcast message, the node C encapsulates the ethernet broadcast message into an RPR broadcast message 401 for forwarding in an upper ring.
The node C transmits an RPR broadcast message 401 to the node a through the RPR proxy port in the RPR broadcast table.
The node A receives the RPR broadcast message 401 forwarded by the node C in the upper ring through the RPR proxy port; the MAC address table entry is learned from the source RPRMAC address of the RPR broadcast message 401 and the source MAC address of the inner ethernet broadcast message. The node a respectively transmits and replicates an RPR broadcast message 401 for the east and west RPR ports in the RPR broadcast table, and transmits the RPR broadcast message 401 on the RPR ring network 200 through the east and west RPR ports, and agents broadcast the RPR broadcast message 401.
Node C and node B each receive RPR broadcast message 401, learn MAC address table item according to source RPRMAC address of RPR broadcast message 401 and source MAC address of inner Ethernet broadcast message, after removing RPR encapsulation, go down ring processing through removing port broadcast of VLAN to which the encapsulated Ethernet broadcast message belongs.
After receiving the ethernet unicast message, the node C encapsulates the ethernet unicast message into an RPR unicast message 402, where the destination RPRMAC address found according to the destination MAC address of the ethernet unicast message is the RPR MAC address of the node B; the source RPR MAC address and the destination RPR MAC address are respectively the RPR MAC addresses of a node C and a node B, and the node C carries out upper loop forwarding on the received Ethernet unicast message.
The node C sends an RPR unicast message 402 to the node a through the RPR proxy port corresponding to the node B in the RPR ring table.
The node A receives the ring forwarding RPR unicast message 402 of the node C through the RPR proxy port; the MAC address table entry is learned from the source RPRMAC address of the RPR unicast message 402 and the source MAC address of the inner ethernet broadcast message. The node a searches the RPR ring selection table that the destination RPR MAC address corresponds to the east RPR port, and sends the RPR unicast message 402 through the east RPR port, and the proxy node C forwards the RPR unicast message 402 on the RPR ring network 200.
The node B receives the RPR unicast message 402, learns the MAC address table item based on the source RPRMAC address and the inner layer source MAC address, performs the loop-down processing, and decapsulates the message into an Ethernet unicast message; and sending the message through the output port of the MAC address table entry of the destination MAC address.
As can be seen from the embodiments of fig. 2 to fig. 4, the present embodiment can provide proxy forwarding for RPR nodes that cannot participate in the forwarding of the RPR ring network, and only needs to refresh the RPR broadcast table and the unicast RPR ring selection table on each node, thereby accelerating the fault recovery.
Fig. 5 is a schematic diagram of another embodiment of ring proxy forwarding networking provided in the present application.
On the RPR ring network 500, node a is connected to node B, node C, and node D via direct RPR links 51, 52, 53, respectively; the node A and the other three RPR nodes are proxy nodes.
In fig. 2, the RPR logical port of the node a-is configured to connect two RPR ports and three proxy RPR ports; the two RPR ports of the node a are respectively connected to the adjacent node B and node D on the RPR ring network 200, and the proxy RPR ports of the node a are respectively connected to the direct RPR links 51, 52, 53 to connect the three proxy nodes.
The RPR logic ports of the node B, the node C and the node D are connected with two RPR ports and one proxy RPR port; the two RPR ports are respectively connected to adjacent nodes on the RPR ring network 200, and the proxy RPR port is connected to the proxy node a.
In fig. 5, when the failure shown in fig. 2 occurs in the east and west RPR links connected by any node, proxy forwarding may be advertised in the RPR ring network 500 in the manner shown in fig. 2-4, and the RPR unicast/broadcast messages looped on other nodes may be sent to the RPR node that becomes an island node; or, the RPR broadcast message/unicast message of the upper ring of the RPR node which becomes the island node is sent to other nodes of the RPR ring network.
In fig. 2 to fig. 5, an island node in the RPR ring network connects with a link failure of an adjacent RPR node, and the island node can collect topology of the RPR ring network; when the ring network topology collected by other nodes comprises island nodes, refreshing an RPR broadcast table and an RPR ring selection table according to the existing mechanism of the RPR ring network; this eliminates proxy forwarding of the RPR ring network by the proxy node.
The method has the advantages that the local upper ring or the local lower ring forwarding capacity of the island node is not affected, and the packet loss of the data message on the ring network is reduced through proxy forwarding; the service quality is improved.
Fig. 6 is a schematic diagram of an embodiment of an apparatus for proxy forwarding ring network data packets provided in the present application, where the apparatus 60 includes: the device comprises a switching unit, a resilient packet ring processing unit, a CPU and a memory. The switching unit may be implemented by a switching chip, and the resilient packet ring processing unit may be implemented by an FPGA chip. The processor is configured to execute the setup module and the topology module by executing processor-executable instructions in the memory.
The setting module is used for setting and connecting two RPR ports and more than one proxy RPR port for the RPR logic port; wherein, two RPR ports are respectively connected with an adjacent node of the RPR ring network; each proxy RPR port is connected with a proxy node through a direct-connection RPR link; the topology module is used for collecting the topology of the RPR ring network, and when the collected topology of the RPR ring network does not contain the proxy node, other nodes in the current topology announce the proxy node; advertising nodes in the current topology of the RPR ring network to the proxy node through the direct connection RPR link; an elastic packet ring processing unit, configured to record an outgoing interface of the proxy node in the RPR ring selection table as a proxy RPR port; updating an output interface of the RPR broadcasting table into an RPR port in a normal state and an agent RPR port; and transmitting the first RPR broadcast message which is forwarded by all nodes except the proxy node in a ring manner through the RPR proxy port based on the updated RPR broadcast table.
The resilient packet ring processing unit is further configured to send, based on the updated RPR ring selection table, a first RPR unicast packet in which the destination RPR MAC address sent through the proxy RPR port is the RPR MAC address of the proxy node and is forwarded by the ring on each node other than the proxy node.
The resilient packet ring processing unit is further configured to receive, through the proxy RPR port, a second RPR broadcast packet whose source RPR MAC address is the RPP MAC address of the proxy node; learning a MAC address table item according to a source MAC address of an inner Ethernet message of the second RPR broadcast message and the source RPR MAC address; and sending a second RPR broadcast message according to the RPR port in the working state in the RPR broadcast table.
The elastic packet ring processing unit is further used for receiving a second RPR unicast message of which the source RPR MAC address is the RPP MAC address of the proxy node through the proxy RPR port; learning a MAC address table item according to a source MAC address of the inner Ethernet message of the second RPR unicast message and the source RPR MAC address; and determining an RPR port corresponding to the destination RPR MAC address of the second RPR broadcast message according to the RPR ring selection table, and sending the second RPR unicast message.
The topology module is also used for notifying the elastic packet ring processing unit when the topology of the RPR ring network cannot be collected; the elastic packet ring processing unit is also used for refreshing all the output interfaces of the RPR ring selection table into proxy RPR ports; updating the output interface of the RPR broadcasting table into a proxy RPR port; the RPR broadcast message or the RPR unicast message forwarded by the upper ring of the equipment is sent to the proxy node through the RPR proxy port; receiving an RPR broadcast message or an RPR unicast message forwarded by the lower ring of the equipment through an RPR proxy port; the RPR encapsulation of the RPR broadcast message or the RPR unicast message forwarded by the lower ring of the equipment is released; a switching unit for releasing the VLAN exit port broadcast to which the RPR encapsulated Ethernet broadcast message belongs; and sending the message through the output port of the destination MAC address of the Ethernet unicast message which is released from the RPR encapsulation.
The foregoing description of the preferred embodiments of the present invention is not intended to limit the invention to the precise form disclosed, and any modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for proxy forwarding of ring network data packets, the method comprising:
setting and connecting two RPR ports and more than one proxy RPR port for the RPR logic port; wherein, two RPR ports are respectively connected with an adjacent node of the RPR ring network; each proxy RPR port is connected with a proxy node through a direct-connection RPR link;
when the topology of the collected RPR ring network does not contain the proxy node, notifying other nodes in the current topology of the RPR ring network of the proxy node so that the other nodes modify the RPR port reaching the proxy node into the RPR port reaching the device;
notifying the proxy node of a node in the current topology of the RPR ring network through the direct connection RPR link so that the proxy node modifies the RPR ports reaching the other nodes into the RPR proxy ports of the connection opposite end;
recording an output interface of the proxy node in the RPR ring selection table as a proxy RPR port;
updating an output interface of an RPR broadcasting table into an RPR port in a normal state and the proxy RPR port;
and based on the updated RPR broadcasting table, sending the first RPR broadcasting message forwarded by the upper ring of each node except the proxy node to the proxy node through the RPR proxy port.
2. The method according to claim 1, wherein the method further comprises:
based on the updated RPR ring selection table, the destination RPR MAC address sent through the proxy RPR port is the RPR MAC address of the proxy node and is the first RPR unicast message forwarded by the ring on each node except the proxy node.
3. The method according to claim 1, wherein the method further comprises:
receiving a second RPR broadcast message of which the source RPR MAC address is the RPP MAC address of the proxy node through the proxy RPR port;
learning an MAC address table item according to a source MAC address of an inner Ethernet message of the second RPR broadcast message and the source RPR MAC address;
and sending the second RPR broadcast message according to the RPR port of the working state in the RPR broadcast table.
4. The method according to claim 1, wherein the method further comprises:
receiving a second RPR unicast message with a source RPR MAC address being the RPP MAC address of the proxy node through the proxy RPR port;
learning an MAC address table item according to a source MAC address of the inner Ethernet message of the second RPR unicast message and the source RPR MAC address;
and determining an RPR port corresponding to a destination RPR MAC address of the second RPR broadcast message according to the RPR ring selection table, and sending the second RPR unicast message.
5. The method according to claim 1, wherein the method further comprises:
when the topology of the RPR ring network cannot be collected, refreshing all the interfaces of the RPR ring selection table as the proxy RPR port; updating an output interface of an RPR broadcasting table into the proxy RPR port;
the RPR broadcast message or the RPR unicast message forwarded by the upper ring of the equipment is sent to the proxy node through the RPR proxy port;
receiving an RPR broadcast message or an RPR unicast message forwarded by the lower ring of the equipment through the RPR proxy port;
the RPR encapsulation of the RPR broadcast message forwarded by the lower ring of the equipment is released, and the VLAN exit port broadcast to which the encapsulated Ethernet broadcast message belongs is released;
and releasing the RPR encapsulation of the RPR unicast message forwarded by the lower ring of the equipment, and sending the RPR unicast message through the output port of the destination MAC address of the released encapsulated Ethernet unicast message.
6. An apparatus for proxy forwarding of ring network data packets, the apparatus comprising:
the setting module is used for setting and connecting two RPR ports and more than one proxy RPR port for the RPR logic port; wherein, two RPR ports are respectively connected with an adjacent node of the RPR ring network; each proxy RPR port is connected with a proxy node through a direct-connection RPR link;
the topology module is used for collecting the topology of the RPR ring network, and when the collected topology of the RPR ring network does not contain the proxy node, other nodes in the current topology announce the proxy node; advertising nodes in the current topology of the RPR ring network to the proxy node through the direct-connection RPR link;
an elastic packet ring processing unit, configured to record an outgoing interface of the proxy node in an RPR ring selection table as a proxy RPR port; updating an output interface of an RPR broadcasting table into an RPR port in a normal state and the proxy RPR port; and transmitting a first RPR broadcast message which is forwarded by all nodes except the proxy node in a ring manner through the RPR proxy port based on the updated RPR broadcast table.
7. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the resilient packet ring processing unit is further configured to send, based on the updated RPR ring selection table, a first RPR unicast message that is sent through the proxy RPR port and that is sent by each node other than the proxy node in a ring, where the destination RPR MAC address is the RPR MAC address of the proxy node.
8. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the resilient packet ring processing unit is further configured to receive, through the proxy RPR port, a second RPR broadcast packet having a source RPR MAC address that is an RPP MAC address of the proxy node; learning an MAC address table item according to a source MAC address of an inner Ethernet message of the second RPR broadcast message and the source RPR MAC address; and sending the second RPR broadcast message according to the RPR port of the working state in the RPR broadcast table.
9. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the resilient packet ring processing unit is further configured to receive, through the proxy RPR port, a second RPR unicast packet having a source RPR MAC address that is an RPP MAC address of the proxy node; learning an MAC address table item according to a source MAC address of the inner Ethernet message of the second RPR unicast message and the source RPR MAC address; and determining an RPR port corresponding to a destination RPR MAC address of the second RPR broadcast message according to the RPR ring selection table, and sending the second RPR unicast message.
10. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the topology module is further configured to notify the resilient packet ring processing unit when the topology of the RPR ring cannot be collected;
the elastic packet ring processing unit is further configured to refresh all outgoing interfaces of the RPR ring selection table into proxy RPR ports; updating the output interface of the RPR broadcasting table into a proxy RPR port; the RPR broadcast message or the RPR unicast message forwarded by the upper ring of the equipment is sent to the proxy node through the RPR proxy port; receiving an RPR broadcast message or an RPR unicast message forwarded by the lower ring of the equipment through the RPR proxy port; the RPR encapsulation of the RPR broadcast message or the RPR unicast message forwarded by the lower ring of the equipment is released;
a switching unit for releasing the VLAN exit port broadcast to which the RPR encapsulated Ethernet broadcast message belongs; and sending the message through the output port of the destination MAC address of the Ethernet unicast message which is released from the RPR encapsulation.
CN202310632685.0A 2023-05-30 2023-05-30 Method and equipment for forwarding ring network data message by proxy Pending CN116567071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310632685.0A CN116567071A (en) 2023-05-30 2023-05-30 Method and equipment for forwarding ring network data message by proxy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310632685.0A CN116567071A (en) 2023-05-30 2023-05-30 Method and equipment for forwarding ring network data message by proxy

Publications (1)

Publication Number Publication Date
CN116567071A true CN116567071A (en) 2023-08-08

Family

ID=87500053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310632685.0A Pending CN116567071A (en) 2023-05-30 2023-05-30 Method and equipment for forwarding ring network data message by proxy

Country Status (1)

Country Link
CN (1) CN116567071A (en)

Similar Documents

Publication Publication Date Title
JP4687176B2 (en) Packet relay device
US7606886B1 (en) Method and system for providing operations, administration, and maintenance capabilities in packet over optics networks
JP4034782B2 (en) Ring connection device and data transfer control method
US7619987B2 (en) Node device
JP4835422B2 (en) Network device and communication system
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
JP4526423B2 (en) Ring connection method and apparatus
US20080068985A1 (en) Network redundancy method and middle switch apparatus
US7126921B2 (en) Packet network providing fast distribution of node related information and a method therefor
US7773612B2 (en) Networking controller, device and communication network system of asynchronous transfer mode
EP2339791B1 (en) Method for forwarding protocol frames in spanning rings and a shared node of multi-rings in the ethernet
Ryoo et al. Ethernet ring protection for carrier ethernet networks
US20080259920A1 (en) Method and apparatus for establishing virtual resilient packet ring (RPR) subrings over a common communications path
JP2008166990A (en) Ring node device
JPWO2012086019A1 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD
US7145882B2 (en) Multiplexed automatic protection switching channels
JP4705492B2 (en) Ring node device and ring node redundancy method
WO2020199421A1 (en) Dual-homing protection method, access node, device and communication network
CN104009903A (en) Flow forwarding method and device for RPR network
JP4637021B2 (en) Transmission apparatus, transmission line ring connection method, and transmission line ring connection program
JP5029612B2 (en) Packet ring network system, packet transfer method and interlink node
CN101262399B (en) A cross-loop RPR two point failure processing method and system
CN116567071A (en) Method and equipment for forwarding ring network data message by proxy
CN115277543A (en) Message forwarding method and device
JP3031992B2 (en) Failure recovery method for asynchronous multiplex transmission ring network

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