Method and device for preventing link switching in networking, network equipment and storage medium

A networking and link technology, applied in the field of communication, can solve the problems of affecting user-end services, communication disconnection, affecting service forwarding in the network, etc., and achieve the effect of reducing the number of impacts and enhancing the robustness.

Inactive Publication Date: 2019-08-13
北京东土军悦科技有限公司
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] It can be seen that when the faulty link between network devices is restored, the communication between PC1 and PC2 will be passively disconnected twice, seriously affecting the service of the client; moreover, the frequent changes of the forwarding link will affect the service of the network. forwarding, increasing the instability of the 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
  • Method and device for preventing link switching in networking, network equipment and storage medium
  • Method and device for preventing link switching in networking, network equipment and storage medium
  • Method and device for preventing link switching in networking, network equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] figure 2 It is a flow chart of a method for preventing link switchback in a network provided by Embodiment 1 of the present invention. This embodiment is applicable to a network running a spanning tree protocol and having a ring structure. Wherein, the networking includes network equipment with dual-regulation access, and dual-regulation access means that two ring ports of the network equipment are connected to different aggregation nodes. In the networking, a network device with dual-regulation access is called a target network device in the embodiment of the present invention. The target network device is provided with a first ring port and a second ring port, and accesses different aggregation nodes through the first ring port and the second ring port. In addition, the target network device is also provided with a third port, and the third port can be connected to the network device or the terminal.

[0034] image 3 It is a schematic structural diagram of the ne...

Embodiment 2

[0053] This embodiment is further optimized on the basis of the foregoing embodiments, and describes the switching process of the forwarding link in the scenario where the port on the second ring becomes faulty. Figure 4 It is a flow chart of a method for preventing link switchback in networking provided by Embodiment 2 of the present invention, and specifically includes the following operations:

[0054] S210. When it is detected that the first ring port recovers from the fault state to the normal state, configure the port overhead value of the first ring port.

[0055] S220. Run the spanning tree protocol, and determine, according to the port cost value of the first ring port, that the path cost value from the first ring port to the root bridge is greater than the root path cost value from the second ring port to the root bridge.

[0056] S230. Configure the port state of the first ring port as a blocking state, and configure the port state of the second ring port as a forw...

Embodiment 3

[0065] This embodiment is further optimized on the basis of the second embodiment, and describes the process of preventing the switchback of the forwarding link in the scenario where the second ring port returns to a normal state. Figure 6 It is a flow chart of a method for preventing link switchback in networking provided by Embodiment 3 of the present invention, and specifically includes the following operations:

[0066] S310. When it is detected that the first ring port recovers from the fault state to the normal state, configure the port overhead value of the first ring port.

[0067] S320. Running the spanning tree protocol, and according to the port cost value of the first ring port, determine that the path cost value from the first ring port to the root bridge is greater than the root path cost value from the second ring port to the root bridge.

[0068] S330. Configure the port state of the first ring port as a blocking state, and configure the port state of the seco...

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 embodiment of the invention discloses a method and device for preventing link switching in networking, network equipment and a storage medium. The method comprises the following steps: when it ismonitored that a first ring port is recovered from a fault state to a normal state, configuring a port overhead value of the first ring port; operating the spanning tree protocol, and determining thatthe path overhead value from the first ring port to the root network bridge is greater than the root path overhead value from the second ring port to the root network bridge according to the port overhead value of the first ring port; configuring the port state of the first ring port to be a blocking state, and configuring the port state of the second ring port to be a forwarding state, wherein when the first ring port is in a fault state, the port state of the first ring port is a blocking state, and the port state of the second ring port is a forwarding state. The embodiments of the presentinvention can prevent back-switching of a forwarding link.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular to a method, device, network device and storage medium for preventing link switchback in networking. Background technique [0002] The spanning tree protocol is a data link layer protocol. Network devices running the spanning tree protocol discover loops in the network by exchanging information with each other, and selectively block a certain port (BLOCK), and finally prune the ring network structure to no The tree-like network structure of the loop prevents the message from continuously multiplying and infinitely looping in the ring network, and avoids the reduction of the processing capacity of the network equipment due to repeated reception of the same message. [0003] When the spanning tree protocol is applied to a dual-regular access network, due to the implementation of the protocol, a new forwarding link will be re-determined when the link fails or reco...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L12/705H04L29/08H04L45/18
CPCH04L45/18H04L69/324H04L41/0661
Inventor 王小军冯彦蒙
Owner 北京东土军悦科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products