CN103338125B - A kind of method of batch network device configuration - Google Patents
A kind of method of batch network device configuration Download PDFInfo
- Publication number
- CN103338125B CN103338125B CN201310300521.4A CN201310300521A CN103338125B CN 103338125 B CN103338125 B CN 103338125B CN 201310300521 A CN201310300521 A CN 201310300521A CN 103338125 B CN103338125 B CN 103338125B
- Authority
- CN
- China
- Prior art keywords
- configuration
- equipment
- batch
- change
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A kind of method of batch network device configuration, including:Read the configuration of a network equipment;Configuration constant in the configuration of reading is saved in configuration file, setting needs the configuration changed;By configuration file and the configuration distributing of change to equipment.After method using the present invention, the configuration of the network equipment is divided into configuration file and sets the configuration changed of needs, configuration file is that the network equipment for needing batch configuration similarly configures, by configuration file and change configuration separately, the efficiency of Configuration network equipment is improved, at the same it is more convenient.
Description
Technical field
The present invention relates to technical field of network equipment, more particularly to a kind of method of batch network device configuration.
Background technology
, it is necessary to configure the substantial amounts of network equipment in the implementation process of a larger network engineering, wherein big portion
Point it is the equipment of Access Layer, when the quantity being related to is more, the method that is provided by equipment itself configures equipment, exists big
The problem of efficiency comparison that the duplication of labour of amount is brought is low.
Three kinds of methods general in terms of network equipments configuration are at present:
Computer is connected with equipment by COM, serial port terminal is run on computers and logs in software, pass through life
The window of order row configuration, inputs configuration order.
By the host-host protocols such as ftp by configuration file from server copy to equipment on, restart equipment after, equipment from
Configuration is loaded in the configuration file.
By the webpage function of being opened in equipment, configured on webpage, or configured by webmastering software.
1st kind of method needs to input configuration order one by one in each equipment, largely matches somebody with somebody when being issued using bonding method
When putting, supporting serial port terminal, which logs in software, can not provide the delay that order issues, and cause order to issue too fast, under partial order
Hair failure.
Second method:Need to first pass through serial ports logging device, set corresponding management ip address, then from server
Loading configuration file can just make configuration take-effective, it is necessary to the configuration consistent with the equipment that be prepared in advance, it is necessary to restart equipment
File.It can not realize that configuration comes into force in real time, the operation of restarting equipment can take the time of the project implementation, bring the problem of poorly efficient.
The third method:Webpage function or the webmastering software configuration provided whether through equipment, is all present to repeating
Configuration order carry out repeating the problem of configuring one by one, when number of devices is more, there is very big influence to efficiency.
The content of the invention
Based on this, it is necessary to provide a kind of method of convenient and simple batch network device configuration.
A kind of method of batch network device configuration, including:
Read the configuration of a network equipment;
Configuration constant in the configuration of reading is saved in configuration file, setting needs the configuration changed;
By configuration file and the configuration distributing of change to equipment.
In one of the embodiments, the configuration that the setting needs to change needs specifically by patterned interface setting
The configuration to be changed.
In one of the embodiments, the configuration distributing by configuration file and change specifically includes to equipment:
Equipment will be handed down to one by one after configuration file parsing;
The configuration of change is converted into command down-transmitting to equipment.
In one of the embodiments, in addition to:The order that the configuration of IP address is issued according to equipment is incremented by successively.
After method using the present invention, the configuration of the network equipment is divided into the configuration that configuration file and setting needs are changed,
Configuration file is that the network equipment for needing batch configuration similarly configures, and configuration file and change configuration are separated, improves and matches somebody with somebody
The efficiency of the network equipment is put, at the same it is more convenient.
Brief description of the drawings
Fig. 1 is the flow chart of the method for the batch network device configuration that one embodiment of the invention provides;
Fig. 2 is the flow chart of the method for the batch network device configuration that another embodiment of the present invention provides.
Embodiment
In order that the objects, technical solutions and advantages of the present invention are more clearly, below in conjunction with drawings and Examples, to this
Invention is further described.It should be appreciated that specific embodiment described herein is not used to limit only to explain the present invention
The fixed present invention.
Refering to Fig. 1, the method for the batch network device configuration of one embodiment provided by the invention, including:
Step S101, read the configuration of a network equipment;
In the step, the configuration of equipment is read in the network equipment for need batch configuration, it is necessary to batch configuration
The configuration of the network equipment is close, i.e., most of configuration is identical.One is chosen from the network equipment for need batch configuration, is read
Take its configuration.
Step S102, configuration constant in the configuration of reading is saved in configuration file, setting needs the configuration changed;
The configuration of the network equipment, for similar in application scenario, their configuration is largely identical, by this major part
Identical configuration is that constant configuration is saved in configuration file.The configuration for needing to change is set as change configuration.
Specifically, use patterned interface setting when setting the configuration for needing to change.Whole operation shorter mention order
Row operation, using patterned interface, reduce complexity and improve the speed of configuration equipment.
Step S103, by configuration file and the configuration distributing of change to equipment.
By the configuration file preserved in step S102 and the change configuration distributing of setting to equipment, the step is by needs
Configuration file is divided into two parts and issued, and configures for most of identical and is issued by configuration file, change configuration in addition
Also equipment is handed down in the lump.
Specifically, the configuration distributing of configuration file and change will be comprised the following steps to equipment:
Equipment will be handed down to one by one after configuration file parsing;
Equipment is issued to after configuration file is parsed one by one, is come into force immediately, avoids the restarting of equipment, and
Provide delay, it is ensured that order there are enough off times to issue.
The configuration of change is converted into command down-transmitting to equipment.
The configuration of change is configured by graphic interface config option, configuration order is converted into and is issued, it is less
It is related to the operation of the configuration order of order line.The efficiency issued is improved, by the way that specific order line is configured, is converted into figure
Shape interface configurations option is filled in, and reduces the difficulty of device configuration.
Refering to Fig. 2, the method that the batch network device configuration of another embodiment of offer is provided, including:
Step S201, read the configuration of a network equipment;
In the step, the configuration of equipment is read in the network equipment for need batch configuration, it is necessary to batch configuration
The configuration of the network equipment is close, i.e., most of configuration is identical.One is chosen from the network equipment for need batch configuration, is read
Take its configuration.
Step S202, configuration constant in the configuration of reading is saved in configuration file, setting needs the configuration changed;
The configuration of the network equipment, for similar in application scenario, their configuration is largely identical, by this major part
Identical configuration is that constant configuration is saved in configuration file.The configuration for needing to change is set as change configuration.
Specifically, use patterned interface setting when setting the configuration for needing to change.Whole operation shorter mention order
Row operation, using patterned interface, reduce complexity and improve the speed of configuration equipment.
Step S203, by configuration file and the configuration distributing of change to equipment;
By the configuration file preserved in step S202 and the change configuration distributing of setting to equipment, the step is by needs
Configuration file is divided into two parts and issued, and configures for most of identical and is issued by configuration file, change configuration in addition
Also equipment is handed down in the lump.
Specifically, the configuration distributing of configuration file and change will be comprised the following steps to equipment:
Equipment will be handed down to one by one after configuration file parsing;
Equipment is issued to after configuration file is parsed one by one, is come into force immediately, avoids the restarting of equipment, and
Provide delay, it is ensured that order there are enough off times to issue.
The configuration of change is converted into command down-transmitting to equipment.
The configuration of change is configured by graphic interface config option, configuration order is converted into and is issued, it is less
It is related to the operation of the configuration order of order line.The efficiency issued is improved, by the way that specific order line is configured, is converted into figure
Shape interface configurations option is filled in, and reduces the difficulty of device configuration.
Step S204, the order that the configuration of IP address is issued according to equipment are incremented by successively.
The step will reduce configuration item, realize the automation mechanized operation of batch configuration, reduce artificial operation, improve effect
Rate.
After method using the present invention, the configuration of the network equipment is divided into the configuration that configuration file and setting needs are changed,
Configuration file is that the network equipment for needing batch configuration similarly configures, and configuration file and change configuration are separated, improves and matches somebody with somebody
The efficiency of the network equipment is put, at the same it is more convenient.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously
Therefore the limitation to the scope of the claims of the present invention can not be interpreted as.It should be pointed out that for one of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the guarantor of the present invention
Protect scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (2)
- A kind of 1. method of batch network device configuration, it is characterised in that needing the configuration of the network equipment of batch configuration has Part identical configuration, methods described include:The configuration of a network equipment is read in the network equipment for need batch configuration;Configuration constant in the configuration of reading is saved in configuration file, setting needs the configuration changed, and the setting needs more The configuration that the configuration changed needs to change specifically by patterned interface setting;By configuration file and the configuration distributing of change to equipment, specifically include:Set being handed down to one by one after configuration file parsing It is standby;The configuration of change is converted into command down-transmitting to equipment.
- 2. the method for batch network device configuration according to claim 1, it is characterised in that also include:The order that the configuration of IP address is issued according to equipment is incremented by successively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310300521.4A CN103338125B (en) | 2013-07-17 | 2013-07-17 | A kind of method of batch network device configuration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310300521.4A CN103338125B (en) | 2013-07-17 | 2013-07-17 | A kind of method of batch network device configuration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103338125A CN103338125A (en) | 2013-10-02 |
CN103338125B true CN103338125B (en) | 2017-12-01 |
Family
ID=49246229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310300521.4A Active CN103338125B (en) | 2013-07-17 | 2013-07-17 | A kind of method of batch network device configuration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103338125B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744697A (en) * | 2013-12-26 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | System file configuration method and device |
CN104363128B (en) * | 2014-12-05 | 2018-04-06 | 上海斐讯数据通信技术有限公司 | A kind of ONU configuration files upgrade method and system |
CN106452810B (en) * | 2015-08-05 | 2021-05-04 | 中兴通讯股份有限公司 | Method and device for managing configuration data of network management system |
CN105429810A (en) * | 2016-01-07 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Network server parameter batch configuration apparatus and configuration method |
CN106100917B (en) * | 2016-08-30 | 2019-06-28 | 成都广达新网科技股份有限公司 | A kind of network management matching business configuration system and its data configuration method |
CN107222336B (en) * | 2017-05-27 | 2018-01-02 | 国网山东省电力公司临沂供电公司 | A kind of graphical network management system and method |
CN109413222B (en) * | 2018-10-24 | 2022-04-19 | 广东微云科技股份有限公司 | Automatic batch order setting method and system for cloud terminals |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183968A (en) * | 2006-11-14 | 2008-05-21 | 中兴通讯股份有限公司 | Gateway equipment login and automatic configuration method |
CN101540700A (en) * | 2009-04-10 | 2009-09-23 | 成都市华为赛门铁克科技有限公司 | Configuration linkage method, system, terminal and network equipment management server |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030149756A1 (en) * | 2002-02-06 | 2003-08-07 | David Grieve | Configuration management method and system |
US7013331B2 (en) * | 2002-12-20 | 2006-03-14 | Nokia, Inc. | Automated bulk configuration of network devices |
CN101262376B (en) * | 2008-04-21 | 2010-09-29 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN101384086B (en) * | 2008-10-30 | 2012-07-04 | 华为技术有限公司 | Network device configuring method apparatus and system |
CN102694687B (en) * | 2012-05-30 | 2017-02-08 | 杭州华三通信技术有限公司 | Batched configuration command issuing network management method and device |
CN103152199A (en) * | 2013-03-04 | 2013-06-12 | 上海森松压力容器有限公司 | Method and system for remote batch configuration of network devices |
-
2013
- 2013-07-17 CN CN201310300521.4A patent/CN103338125B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183968A (en) * | 2006-11-14 | 2008-05-21 | 中兴通讯股份有限公司 | Gateway equipment login and automatic configuration method |
CN101540700A (en) * | 2009-04-10 | 2009-09-23 | 成都市华为赛门铁克科技有限公司 | Configuration linkage method, system, terminal and network equipment management server |
Also Published As
Publication number | Publication date |
---|---|
CN103338125A (en) | 2013-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103338125B (en) | A kind of method of batch network device configuration | |
US10445223B1 (en) | Service virtualization platform | |
CN103473065A (en) | Virtual machine creation method capable of rapidly restoring system disk | |
CN103617211A (en) | HBase loaded data importing method | |
CN105391587B (en) | The Samba configuring management methods and system of a kind of network equipment | |
CN103761136A (en) | Method for dynamically loading data model based on plug-in | |
CN105490843A (en) | Information processing method and system | |
CN104954458A (en) | Configuration method of cloud operating system based on Loongson platform | |
CN112243033B (en) | Method, device and equipment for acquiring memory information and computer readable storage medium | |
CN107329738A (en) | Component update method and device | |
CN105867944A (en) | Web front-end terminal operating layer and implementing method thereof | |
CN105681343A (en) | Processing method and device for state control protocol based on ARM architecture | |
EP3087479A1 (en) | Systems and methods for injecting code into an application | |
CN105262604A (en) | Virtual machine migration method and equipment | |
CN103108046A (en) | Cloud terminal virtual machine login method and cloud terminal virtual machine login device and cloud terminal virtual machine login system | |
CN104219084B (en) | A kind of startup method and apparatus of board | |
CN108153745B (en) | Application data calling method and application development system | |
CN104536926A (en) | Control method and device of serial devices | |
CN104750817A (en) | Page module refreshing method and device based on data broadcast communication | |
CN104065513A (en) | Intelligent router management method and related user terminal | |
WO2016086704A1 (en) | Management platform, system and method for implementing optical transport network service, and storage medium | |
CN107547217A (en) | Router traffic collocation method and router | |
CN102299961A (en) | Method for Femto equipment to realize sharing network resources and Femto equipment | |
CN101834876B (en) | Distributed semi-physics simulation system based on Bluetooth, database and UDP protocol and data summarization and distribution method thereof | |
CN102567366A (en) | Method for realizing webpage resetting |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201118 Address after: 221700 4-1-110-shop, Nanyuan new town, Fengxian County, Xuzhou City, Jiangsu Province Patentee after: Song Yixiao Address before: 201616 Shanghai city Songjiang District Guangfulin Road No. 4855 Building No. 90 big industry territory Patentee before: Phicomm (Shanghai) Co.,Ltd. |