CN103338125A - Method for batch network device configuration - Google Patents
Method for batch network device configuration Download PDFInfo
- Publication number
- CN103338125A CN103338125A CN2013103005214A CN201310300521A CN103338125A CN 103338125 A CN103338125 A CN 103338125A CN 2013103005214 A CN2013103005214 A CN 2013103005214A CN 201310300521 A CN201310300521 A CN 201310300521A CN 103338125 A CN103338125 A CN 103338125A
- Authority
- CN
- China
- Prior art keywords
- configuration
- equipment
- change
- batch
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 23
- 238000007429 general method Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
A method for batch network equipment configuration comprises the followings: reading configuration of one network device; saving unvaried configuration in the read configuration into a configuration file, and setting to-be-modified configuration; issuing the configuration file and modified configuration to the device. After the adoption of the method, the configuration of the network device is divided into the configuration file and the to-be-modified configuration set, the configuration file has the same configuration as network device requiring batch configuration, and is separated from the modified configuration, the efficiency of network device configuration is improved, and more conveniences are brought.
Description
Technical field
The present invention relates to network equipment technical field, particularly relate to a kind of method of the batch configuration network equipment.
Background technology
In the implementation process of a larger network engineering, need a large amount of network equipment of configuration, wherein major part is the equipment of Access Layer, when the quantity that relates to is many, come configuration device by the method that equipment self provides, the problem that the efficient that exists a large amount of duplication of labour to bring is lower.
Three kinds of general methods are aspect network equipments configuration at present:
Computer is connected by COM port with equipment, moves serial port terminal login software on computers, by the window of order line configuration, the input configuration order.
With on configuration file is from the server copy to equipment, behind the restart facility, equipment loads configuration from this configuration file by host-host protocols such as ftp.
Webpage function by opening on the equipment is configured at webpage, perhaps is configured by webmastering software.
The 1st kind of method need be imported configuration order one by one on each equipment, when adopting bonding method to issue a large amount of configuration, and the time-delay that supporting serial port terminal login software can't provide order to issue, it is too fast to cause order to issue, and the part order issues failure.
Second method: need to pass through earlier the serial ports logging device, set corresponding management ip address, then from the server loading configuration file, need restart facility just can make configuration take-effective, the configuration file consistent with this equipment need be prepared in advance.Can't realize that configuration comes into force in real time, the operation of restarting equipment can take the time of the project implementation, brings the problem of poor efficiency.
The third method: no matter be webpage function or the webmastering software configuration that provides by equipment, all have the problem that the configuration order that repeats is repeated to dispose one by one, when number of devices more for a long time, efficient is had very large influence.
Summary of the invention
Based on this, be necessary to provide a kind of method of the convenient and simple batch configuration network equipment.
A kind of method of the batch configuration network equipment comprises:
Read the configuration of a network equipment;
Configuration constant in the configuration of reading is saved in configuration file, sets the configuration that needs change;
Give equipment with the configuration distributing of configuration file and change.
Among embodiment, the configuration that described setting need be changed is specially the configuration that need change by patterned interface setting therein.
Among embodiment, described configuration distributing with configuration file and change specifically comprises for equipment therein:
Configuration file is resolved the equipment that is handed down to one by one afterwards;
The configuration of change is converted into command down-transmitting to equipment.
Among embodiment, also comprise: the configuration of IP address is increased progressively successively according to the order that equipment issues therein.
After adopting method of the present invention, the configuration of the network equipment is divided into configuration file and the configuration of setting the needs change, and configuration file is the identical configuration that needs the network equipment of batch configuration, and configuration file and change are disposed separately, improved the efficient of configure network devices, simultaneously convenient.
Description of drawings
The flow chart of the method for the batch configuration network equipment that Fig. 1 provides for one embodiment of the invention;
The flow chart of the method for the batch configuration network equipment that Fig. 2 provides for another embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
Consult Fig. 1, the method for the batch configuration network equipment of an embodiment provided by the invention comprises:
Step S101, the configuration of reading a network equipment;
In this step, read the configuration of an equipment in needing the network equipment of batch configuration, need the configuration of the network equipment of batch configuration close, namely most of configuration is identical.From the network equipment that needs batch configuration, choose one, read its configuration.
Step S102 is saved in configuration file with configuration constant in the configuration of reading, and sets the configuration that needs change;
The configuration of the network equipment, close for the application scenario, their configuration major part is identical, is that constant configuration is saved in configuration file with this most of identical configuration.The configuration of needs change is set at the change configuration.
Concrete, adopt patterned interface setting when setting the configuration that needs change.Patterned interface is adopted in the operation of whole operation shorter mention order line, has reduced complexity and the speed that has improved configuration device.
Step S103 gives equipment with the configuration distributing of configuration file and change.
Give equipment with the change configuration distributing of the configuration file preserved among the step S102 and setting, this step is divided into two parts with the configuration file of needs and issues, the configuration identical for major part issues by configuration file, and change configuration in addition also is handed down to equipment in the lump.
Concrete, just the configuration distributing of configuration file and change may further comprise the steps to equipment:
Configuration file is resolved the equipment that is handed down to one by one afterwards;
Configuration file is issued to equipment after resolving one by one, comes into force immediately, avoided restarting of equipment, and time-delay is provided, guarantee that order has issue enough off times.
The configuration of change is converted into command down-transmitting to equipment.
The configuration of change is disposed by the graphic interface config option, be converted into configuration order and issue, shorter mention is to the operation of the configuration order of order line.Improve the efficient that issues, by with concrete order line configuration, be converted into filling in of graphic interface config option, reduced the difficulty of equipment configuration.
Consult Fig. 2, the method for the batch configuration network equipment of another embodiment that invention provides comprises:
Step S201, the configuration of reading a network equipment;
In this step, read the configuration of an equipment in needing the network equipment of batch configuration, need the configuration of the network equipment of batch configuration close, namely most of configuration is identical.From the network equipment that needs batch configuration, choose one, read its configuration.
Step S202 is saved in configuration file with configuration constant in the configuration of reading, and sets the configuration that needs change;
The configuration of the network equipment, close for the application scenario, their configuration major part is identical, is that constant configuration is saved in configuration file with this most of identical configuration.The configuration of needs change is set at the change configuration.
Concrete, adopt patterned interface setting when setting the configuration that needs change.Patterned interface is adopted in the operation of whole operation shorter mention order line, has reduced complexity and the speed that has improved configuration device.
Step S203 gives equipment with the configuration distributing of configuration file and change;
Give equipment with the change configuration distributing of the configuration file preserved among the step S202 and setting, this step is divided into two parts with the configuration file of needs and issues, the configuration identical for major part issues by configuration file, and change configuration in addition also is handed down to equipment in the lump.
Concrete, just the configuration distributing of configuration file and change may further comprise the steps to equipment:
Configuration file is resolved the equipment that is handed down to one by one afterwards;
Configuration file is issued to equipment after resolving one by one, comes into force immediately, avoided restarting of equipment, and time-delay is provided, guarantee that order has issue enough off times.
The configuration of change is converted into command down-transmitting to equipment.
The configuration of change is disposed by the graphic interface config option, be converted into configuration order and issue, shorter mention is to the operation of the configuration order of order line.Improve the efficient that issues, by with concrete order line configuration, be converted into filling in of graphic interface config option, reduced the difficulty of equipment configuration.
Step S204 increases progressively the configuration of IP address successively according to the order that equipment issues.
This step will reduce configuration item, realize the automation mechanized operation of batch configuration, reduce artificial operation, improve efficient.
After adopting method of the present invention, the configuration of the network equipment is divided into configuration file and the configuration of setting the needs change, and configuration file is the identical configuration that needs the network equipment of batch configuration, and configuration file and change are disposed separately, improved the efficient of configure network devices, simultaneously convenient.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (4)
1. the method for a batch configuration network equipment is characterized in that, comprising:
Read the configuration of a network equipment;
Configuration constant in the configuration of reading is saved in configuration file, sets the configuration that needs change;
Give equipment with the configuration distributing of configuration file and change.
2. the method for the batch configuration network equipment according to claim 1 is characterized in that, the configuration that described setting need be changed is specially the configuration that need change by patterned interface setting.
3. the method for the batch configuration network equipment according to claim 2 is characterized in that, described configuration distributing with configuration file and change specifically comprises for equipment:
Configuration file is resolved the equipment that is handed down to one by one afterwards;
The configuration of change is converted into command down-transmitting to equipment.
4. according to the method for described any one the batch configuration network equipment of claim 1-3, it is characterized in that, also comprise:
The configuration of IP address is increased progressively successively according to the order that equipment issues.
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 true CN103338125A (en) | 2013-10-02 |
CN103338125B 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) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744697A (en) * | 2013-12-26 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | System file configuration method and device |
CN104363128A (en) * | 2014-12-05 | 2015-02-18 | 上海斐讯数据通信技术有限公司 | ONU (Optical Network Unit) configuration file upgrade method and system |
CN105429810A (en) * | 2016-01-07 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Network server parameter batch configuration apparatus and configuration method |
WO2016145899A1 (en) * | 2015-08-05 | 2016-09-22 | 中兴通讯股份有限公司 | Method and device of managing configuration data of network management system |
CN106100917A (en) * | 2016-08-30 | 2016-11-09 | 成都广达新网科技股份有限公司 | A kind of webmaster coupling business configuration system and data configuration method thereof |
CN107222336A (en) * | 2017-05-27 | 2017-09-29 | 国网山东省电力公司临沂供电公司 | A kind of graphical network management system and method |
CN109413222A (en) * | 2018-10-24 | 2019-03-01 | 广东微云科技股份有限公司 | Automatic batch order setting method and system for cloud terminals |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030149756A1 (en) * | 2002-02-06 | 2003-08-07 | David Grieve | Configuration management method and system |
CN1742268A (en) * | 2002-12-20 | 2006-03-01 | 诺基亚公司 | Automated batch configuration of network devices |
CN101183968A (en) * | 2006-11-14 | 2008-05-21 | 中兴通讯股份有限公司 | Gateway equipment login and automatic configuration method |
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN101384086A (en) * | 2008-10-30 | 2009-03-11 | 华为技术有限公司 | Method, device and system for configuring network equipment |
CN101540700A (en) * | 2009-04-10 | 2009-09-23 | 成都市华为赛门铁克科技有限公司 | Configuration linkage method, system, terminal and network equipment management server |
CN102694687A (en) * | 2012-05-30 | 2012-09-26 | 杭州华三通信技术有限公司 | 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 (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030149756A1 (en) * | 2002-02-06 | 2003-08-07 | David Grieve | Configuration management method and system |
CN1742268A (en) * | 2002-12-20 | 2006-03-01 | 诺基亚公司 | Automated batch configuration of network devices |
CN101183968A (en) * | 2006-11-14 | 2008-05-21 | 中兴通讯股份有限公司 | Gateway equipment login and automatic configuration method |
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN101384086A (en) * | 2008-10-30 | 2009-03-11 | 华为技术有限公司 | Method, device and system for configuring network equipment |
CN101540700A (en) * | 2009-04-10 | 2009-09-23 | 成都市华为赛门铁克科技有限公司 | Configuration linkage method, system, terminal and network equipment management server |
CN102694687A (en) * | 2012-05-30 | 2012-09-26 | 杭州华三通信技术有限公司 | 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 |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103744697A (en) * | 2013-12-26 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | System file configuration method and device |
CN104363128A (en) * | 2014-12-05 | 2015-02-18 | 上海斐讯数据通信技术有限公司 | ONU (Optical Network Unit) configuration file upgrade method and system |
CN104363128B (en) * | 2014-12-05 | 2018-04-06 | 上海斐讯数据通信技术有限公司 | A kind of ONU configuration files upgrade method and system |
WO2016145899A1 (en) * | 2015-08-05 | 2016-09-22 | 中兴通讯股份有限公司 | Method and device of managing configuration data of network management system |
CN105429810A (en) * | 2016-01-07 | 2016-03-23 | 上海斐讯数据通信技术有限公司 | Network server parameter batch configuration apparatus and configuration method |
CN106100917A (en) * | 2016-08-30 | 2016-11-09 | 成都广达新网科技股份有限公司 | A kind of webmaster coupling business configuration system and data configuration method thereof |
CN106100917B (en) * | 2016-08-30 | 2019-06-28 | 成都广达新网科技股份有限公司 | A kind of network management matching business configuration system and its data configuration method |
CN107222336A (en) * | 2017-05-27 | 2017-09-29 | 国网山东省电力公司临沂供电公司 | A kind of graphical network management system and method |
CN107222336B (en) * | 2017-05-27 | 2018-01-02 | 国网山东省电力公司临沂供电公司 | A kind of graphical network management system and method |
CN109413222A (en) * | 2018-10-24 | 2019-03-01 | 广东微云科技股份有限公司 | Automatic batch order setting method and system for cloud terminals |
CN109413222B (en) * | 2018-10-24 | 2022-04-19 | 广东微云科技股份有限公司 | Automatic batch order setting method and system for cloud terminals |
Also Published As
Publication number | Publication date |
---|---|
CN103338125B (en) | 2017-12-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103338125A (en) | Method for batch network device configuration | |
CN114650223B (en) | Network configuration method and device of Kubernetes cluster and electronic equipment | |
CN103324532B (en) | The dynamic migration method of virtual machine and system | |
CN107889178A (en) | Acquisition terminal network formats switching method and terminal device | |
CN102497424A (en) | Method for achieving cloud storage through mobile storage device | |
CN102843436A (en) | Method, equipment, server and system of equipment management | |
CN103530160A (en) | Page loading method and device | |
CN103927256A (en) | Method for controlling multiple Android devices | |
CN105426184A (en) | Method for setting static IP of Linux system of whole cabinet in batch | |
CN108471401A (en) | A kind of encapsulation of CAN signal, analysis method and device | |
CN203301532U (en) | Cloud desktop system | |
CN102970376A (en) | Cluster configuration method and device | |
CN103440111A (en) | Method for expanding disk space of virtual machines, host machines and platform | |
CN104780068B (en) | A kind of method for switching network, the apparatus and system of computer room migration | |
CN104391703A (en) | Quick page layout completing device and method | |
CN103986665A (en) | The method of network load balancing in Yunhai OS | |
CN102970375A (en) | Cluster configuration method and device | |
CN104219084A (en) | Board/card starting method and device | |
WO2018006696A1 (en) | Card, method and system for equalizing memory utilization rate of card | |
CN103885777A (en) | Development method of bank self-service system cross-browser insert | |
CN104407714A (en) | Main board and use method thereof for remote multi-computer switching | |
CN114564211A (en) | Cluster deployment method, cluster deployment device, equipment and medium | |
CN203301534U (en) | Virtual machine management platform based on cloud architecture | |
CN101146283B (en) | A method for realizing key service configuration of terminal devices | |
CN105391789A (en) | JSP template-based dynamic service realization method |
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. |