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

A method and device for switch port restoration

A switch and port technology, applied in the computer field, can solve the problem of no network connection state processing, etc., and achieve the effect of reducing broadcast storms

Active Publication Date: 2022-05-17
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technology detects the occurrence of broadcast storms only when the loop is generated, and closes a certain port in the loop, and does not further process the connection status of the entire 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
  • A method and device for switch port restoration
  • A method and device for switch port restoration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0051] Based on the above purpose, the first aspect of the embodiments of the present invention proposes an embodiment of a method for restoring a switch port. figure 1 Shown is a schematic flow chart of the method.

[0052] Such as figure 1As shown in , the method may include the following steps:

[0053] S1 obtains the port list of each vlan and the connection relationship between ports every time the threshold time passes and sends a detection packet from each port in the list. For example, the detection packet can be sent regularly through Tx_thread (sending thread), and Tx_thread is every threshold time ( Preferably be two seconds) will go to obtain current Vlan and Vlan member list, send detecti...

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 present invention provides a method and equipment for switch port recovery, the method comprising: obtaining a port list of each vlan and the connection relationship between ports every time a threshold time passes, and sending a detection packet from each port in the list; closing the list One port in the upper layer port intercepts the detection packet based on the preset interception rules, and analyzes the intercepted detection packet; judges whether the intercepted detection packet is a connection closing port in the list based on the analyzed detection packet and the connection relationship In response to the detection packet sent by other ports that intercept the detection packet that is not the connection shutdown port in the list, all ports on the vlan corresponding to the shutdown port will be closed to avoid broadcast storm generation. By using the solution of the present invention, broadcast storms caused by mistaken plugging and unplugging of network cables can be greatly reduced, and managers can be helped to grasp the status of switches in real time and quickly find out the ports where problems occur.

Description

technical field [0001] This field relates to the field of computers, and more particularly relates to a method and device for port restoration of a switch. Background technique [0002] Spanning Tree Protocol (Spanning Tree Protocol, STP) is a communication protocol that acts on the second layer of the OSI network model. The basic application is to prevent the loop generated by the redundant link of the switch, and to ensure the loop-free logical topology in the Ethernet, so as to avoid the broadcast storm from occupying a large amount of switch resources. The working principle of the spanning tree protocol is that if there are two or more links to the root bridge in any switch, the spanning tree protocol will cut off one of them according to the algorithm, and only keep one, so as to ensure that there is only one link between any two switches. Single active link. [0003] Link Layer Discovery Protocol (Link Layer Discovery Protocol) is a data link layer protocol, and netw...

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 Patents(China)
IPC IPC(8): H04L49/111H04L49/354H04L49/55H04L49/552
CPCH04L49/30H04L49/354H04L49/555H04L49/552Y02D30/00
Inventor 丁健文
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD