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

Method, device, equipment and medium for adding and deleting IP addresses of switch ports

A technology of IP address and verification method, which is applied in the computer field, can solve problems such as network data failure and switch database confusion, and achieve the effect of ensuring normal operation and preventing crashes

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

AI Technical Summary

Problems solved by technology

The current SONIC version does not have an IP address addition and deletion verification mechanism, which will cause different ports to be configured with the same IP address segment, causing the entire network data to fail, and may cause confusion in the switch database

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, device, equipment and medium for adding and deleting IP addresses of switch ports
  • Method, device, equipment and medium for adding and deleting IP addresses of switch ports
  • Method, device, equipment and medium for adding and deleting IP addresses of switch ports

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0040] According to some implementations of the switch port IP address addition and deletion verification method of the present invention, the method also includes:

[0041] In response to the end of each data update operation, detect whether there is an IP address on the port of the switch within a preset time; in response to the existence of the IP address, record the data of the IP address and the data of the port corresponding to the IP address into the database file table.

[0042] Figure 4 Show the db table data update flowchart of the embodiment of the switch port IP address addition and deletion verification method according to the present invention, as Figure 4 As shown, in some embodiments of the present invention, in the 5-second cycle period after each automatic update of the db table containing port data and IP address data corresponding to the port, the operation is to find whether there is an IP address at the switch port. Address, when it is found that the s...

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 discloses a method for verifying the addition and deletion of IP addresses of switch ports, which includes: in response to receiving a port IP address addition command, querying whether all ports have IP addresses; and recording the IP address data of ports with IP addresses in a database file table In; in response to the data of the added IP address and the recorded IP address data in the database file table are not repeated, add an IP address to a port that does not have an IP address and record it in the database file table; in response to the added IP address The data is repeated with the data of the IP address already recorded in the database file table, prompting that the IP address repeats related information; in response to receiving the command to delete the port IP address, query the data of the IP address in the database file table; in response to the data in the database file table If the queried IP address data does not exist, the relevant information about the command failure will be displayed, and if found, it will be deleted. The invention also discloses a device, equipment and medium. The invention improves the reliability of the switch.

Description

technical field [0001] The present invention relates to the field of computer technology, and more specifically, to a method, device, device and medium for verifying the addition and deletion of IP addresses of switch ports. Background technique [0002] At present, many small and medium-sized enterprises are using traditional switches of brands such as Huawei, H3C, and Cisco. However, large enterprises such as Google, Amazon, and Facebook have begun to use white-label switches. Compared with traditional switches, white-box switches can be programmed while the latter cannot. The biggest highlight of the white-box switch is its strong openness, that is to say, for users, there are more choices in the operating system and software of the white-box switch. [0003] According to the ISO seven-layer classification, switches can be divided into two-layer switches and three-layer switches. The two-layer switch is a data link layer device that can identify the MAC address informati...

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): H04L61/5046H04L61/5007
CPCH04L61/5046H04L61/5007
Inventor 刘勇王少美陈雪
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD