Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Vlan batch addition and deletion method and system for white board switch of data center

A data center and switch technology, which is applied in the field of data center virtual local area network, can solve the problems of wasting time and error-prone, and achieve the effect of easy to use, improve usability, and save the time of adding and deleting

Inactive Publication Date: 2020-05-12
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above-mentioned former data center of the prior art only supporting the addition and deletion commands of a single vlan, and executing the creation and deletion of a single vlan command again and again, on the one hand, it is easy to make mistakes and on the other hand it wastes time. The present invention provides a data center Method and system for adding and deleting VLANs in batches of white-label switches to solve the above-mentioned technical problems

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
  • Vlan batch addition and deletion method and system for white board switch of data center
  • Vlan batch addition and deletion method and system for white board switch of data center
  • Vlan batch addition and deletion method and system for white board switch of data center

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] Such as figure 1 As shown, the present invention provides a method for batch adding and deleting vlans of data center white-label switches, comprising the following steps:

[0068] S1. Obtain the input command and parameter value;

[0069] S2. Parsing and judging the type of the input command;

[0070] When the input command is adding vlans in batches, enter step S3;

[0071] S3. Parsing the parameter value of the input batch increase vlan command, obtaining the vlan group to be added and the vlanID to be added in each vlan group to be added;

[0072] S4. Perform adding operations on all the vlanIDs to be added in batches. The input command parameter value includes a distinguishing mark of the vlan group to be added and a distinguishing mark of different vlanIDs in each vlan group to be added. There are three operations for adding VLANs in batches: adding a single VLAN; adding multiple consecutive VLANs, that is, the same VLAN group; adding multiple discontinuous VL...

Embodiment 2

[0074] Such as figure 2 As shown, the present invention provides a method for batch adding and deleting vlans of data center white-label switches, comprising the following steps:

[0075] S1. Obtain the input command and parameter value;

[0076] S2. Parsing and judging the type of the input command;

[0077] When the input command is adding vlans in batches, enter step S3;

[0078] When the input command is to delete vlans in batches, enter step S3A;

[0079] S3. analyze the parameter value of the batch increase vlan command of input, obtain the vlanID to be added in the vlan group to be added and each vlan group to be increased; Add vlan group;

[0080] If so, go to step S32;

[0081] If not, go to step S4;

[0082] S32. Obtain the vlan group to be added and its quantity, and obtain the vlanID and its quantity to be added in each vlan group to be added;

[0083] S4. When there are no multiple vlan groups to be added, perform an increase operation on all vlanIDs to be...

Embodiment 3

[0103] Such as image 3 As shown, the present invention provides a method for batch adding and deleting vlans of data center white-label switches, comprising the following steps:

[0104] S1. Obtain the input command and parameter value;

[0105] S2. Parsing and judging the type of the input command;

[0106] When the input command is adding vlans in batches, enter step S3;

[0107] When the input command is to delete vlans in batches, enter step S3A;

[0108] S3. Parsing the parameter value of the input batch increase vlan command, obtaining the vlan group to be added and the vlanID to be added in each vlan group to be added;

[0109] S41. Obtain the currently created vlanID list, and determine whether the vlanID to be added is currently created in the vlanID list;

[0110] If so, set all vlanIDs to be added to fail to create, report an error and prompt that the vlanID to be added already exists; end;

[0111] If not, go to step S4;

[0112] S4. Add operations to all vl...

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 vlan batch addition and deletion method and system for a white board switch of a data center. The method comprises the following steps: S1, acquiring an input command and parameter values; S2, analyzing and judging the type of the input command; when the input command is to increase vlan in batches, entering the step S3; when the input command is to delete vlan in batches,entering the step S3A; S3, analyzing the parameter values of the input command for increasing vlan in batches, and obtaining vlan groups to be increased and vlanIDs to be increased in each vlan groupto be increased; S4, performing addition on all the to-be-added vanIDs in batches; S3A, analyzing the parameter values of the input command for deleting vlan in batches, and obtaining a vlan group tobe deleted and a vlan ID to be deleted in each vlan group to be deleted; and S4A, deleting all the to-be-deleted vanIDs in batches.

Description

technical field [0001] The invention belongs to the technical field of data center virtual local area network, and in particular relates to a method and system for adding and deleting vlans in batches in a data center white-label switch. Background technique [0002] The Chinese name of VLAN (Virtual Local Area Network) is "virtual local area network". A virtual local area network (VLAN) is a group of logical devices and users. and other factors to organize them, and communicate with each other as if they are in the same network segment, hence the name virtual local area network. [0003] At present, white-box switches have been first used by many large enterprises. Compared with traditional switches, white-box switches are programmable, and their bright spot is their strong openness. , software, etc. have more choices. [0004] At present, the data center only supports adding and deleting commands for a single VLAN, but there is no command to add or delete VLANs in batche...

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/46H04L12/931
CPCH04L12/4641H04L49/354
Inventor 刘勇王少美李德新
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products