Unlock instant, AI-driven research and patent intelligence for your innovation.

Message forwarding method and apparatus

A message forwarding and message technology, applied in the field of network communication, can solve the problems affecting the normal forwarding of the message, and achieve the effect of ensuring the normal forwarding of the message

Active Publication Date: 2018-08-03
NEW H3C TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a message forwarding method and device to solve the problem that the MAC address refresh will affect the normal forwarding of the message when the ring network protection switching occurs in the existing ring network

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message forwarding method and apparatus
  • Message forwarding method and apparatus
  • Message forwarding method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Such as image 3 As shown, it is a schematic flowchart of a message forwarding method provided by an embodiment of the present invention, wherein the message forwarding method can be applied to node 210, such as image 3 As shown, the message forwarding method may include the following steps:

[0047] Step 301, when receiving the SF packet, switch the port 211 from the blocking state to the forwarding state.

[0048] In this embodiment, when the link between the node 230 and the node 240 fails, the node 230 and the node 240 will switch the port 231 and the port 241 from the forwarding state to the blocking state respectively, and periodically report to the node 220 respectively. The sum node 210 sends an SF (Signal Fail, signal failure) message (that is, the failure notification message in the above method embodiment).

[0049] When the node 210 receives the SF message, it is determined that a link failure occurs. At this time, the node 210 can switch the RPL port (th...

Embodiment 2

[0066] Such as Figure 4 As shown, it is a schematic flowchart of a message forwarding method provided by an embodiment of the present invention, wherein the message forwarding method can be applied to node 220, such as Figure 4 As shown, the message forwarding method may include the following steps:

[0067] Step 401, when receiving the SF packet, switch the port 221 from the blocking state to the forwarding state.

[0068] In this embodiment, for the specific implementation of step 401, reference may be made to the related description in step 301, and details are not repeated in this embodiment of the present invention.

[0069] Step 402, the node 220 generates a third ACL entry, and the third ACL entry is used to instruct the node 220 to prohibit the FBD search, and to broadcast the received message from a port in a forwarding state other than the source port.

[0070] Wherein, the format of the third ACL entry may be as shown in Table 1.

[0071] Step 403, when the MAC...

Embodiment 3

[0079] Such as Figure 5 As shown, it is a schematic flowchart of a message forwarding method provided by an embodiment of the present invention, wherein the message forwarding method can be applied to node 230 or node 240 (in this embodiment, node 230 is taken as an example), such as Figure 5 As shown, the message forwarding method may include the following steps:

[0080] Step 501 , when a link failure between itself and the node 240 is detected, switch the port 231 from the forwarding state to the blocking state.

[0081] In this embodiment, when the node 230 detects a link failure between itself and the node 240, the node 230 can switch the port 231 from the forwarding state to the blocking state. At this time, the node 230 can also periodically send the SF message and refresh the MAC address, that is, clear the MAC addresses learned before the ring network protection switch on port 231 and port 232 (that is, before the link failure occurs), and re-learn the MAC address ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a message forwarding method and apparatus. The method comprises the following steps: in the case of ring network protection switchover, disabling a forwarding database FDB search function, and broadcasting a received message in other ports in a forwarding state excluding a source port; when the MAC address learned before the ring network protection switchover on the ring network port is cleared, enabling the FDB search function. By application of the message forwarding method and apparatus, the influence of MAC address refresh on the message forwarding during the ring network protection switchover can be avoided, and the normal message forwarding during the ring network protection switchover can be ensured.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a message forwarding method and device. Background technique [0002] Currently, in order to avoid loops in a ring network (referred to as a ring network), some nodes in the ring network use ring protection links to protect the ring network. [0003] Under normal conditions, the ports corresponding to the ring protection link on the nodes at both ends of the ring protection link (referred to as the ring protection link port in this paper) are in a blocking state. The node will block the port corresponding to the failed link (referred to as the failed link port in this paper), and notify other nodes in the ring network of the link failure, and the nodes at both ends of the ring protection link will switch the ring protection link port to Forwarding status, realize ring network protection switching, and ensure normal traffic forwarding. [0004] When the faulty link...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L12/703H04L12/741H04L12/42H04L45/28H04L45/74
CPCH04L12/42H04L45/28H04L45/54H04L45/74
Inventor 梁学伟闫丰
Owner NEW H3C TECH CO LTD