CN101262376B - A method and system for modifying configuration of network device in batch mode - Google Patents
A method and system for modifying configuration of network device in batch mode Download PDFInfo
- Publication number
- CN101262376B CN101262376B CN200810104524XA CN200810104524A CN101262376B CN 101262376 B CN101262376 B CN 101262376B CN 200810104524X A CN200810104524X A CN 200810104524XA CN 200810104524 A CN200810104524 A CN 200810104524A CN 101262376 B CN101262376 B CN 101262376B
- Authority
- CN
- China
- Prior art keywords
- configuration
- configuration file
- network equipment
- network
- modification
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and a system for modifying configurations of network facilities in batches. The embodiment of the invention generates configuration files according to the properties of network facilities as well as administration commands and has the network facilities connected and configurations of the network facilities modified according to the configuration files. The proposal provided by the embodiment of the invention can realize the method of modifying configurations of network facilities in batches and solve the problems that hand operations squander time and vigor and easily result in faulty operations.
Description
Technical field
The present invention relates to the Computers and Communication technical field, relate in particular to a kind of method and system of batch modification network equipments configuration.
Background technology
In the network device management of routine, a plurality of network equipments are managed by the network manager.Owing to there are a plurality of network equipments, the network manager often needs respectively the different network equipments to be managed operation.In the prior network device management, often need the keeper that the network equipment is carried out manual setting, removing, backup and recovery configuring.When under the situation that need frequently back up a large amount of network equipments and recover (for example in the network laboratories regular modification and recover network equipments configuration), network manager's manual operations is not only wasted time and energy, and misoperation occurs easily.
Summary of the invention
The embodiment of the invention provides a kind of method and system of batch modification network equipments configuration, and the network manager is when revising network equipments configuration in the prior art in order to solve, and the problem of misoperation is wasted time and energy, occurs easily in manual operations.
A kind of method of batch modification network equipments configuration, this method comprises:
According to the characteristic and the administration order of the network equipment, generate configuration file; Described configuration file comprises: at the bind command and the configuration order of each network equipment;
The bind command at the described network equipment according in the described configuration file connects the described network equipment; And, the configuration of the described network equipment is made amendment according to the configuration order in the described configuration file at the described network equipment.
Method further comprises: when adjusting network equipments configuration modification content, revise described configuration file.
A kind of system of batch modification network equipments configuration, this system comprise configuration file generation unit, reading unit, linkage unit and modification unit, wherein,
Described configuration file generation unit is used for characteristic and administration order according to the network equipment, generates configuration file;
Described reading unit is used to read described configuration file, resolves configuration file content and sends to described linkage unit;
Described linkage unit is used for the bind command at the described network equipment according to configuration file, connects corresponding network device;
Described modification unit is used for the configuration order at the described network equipment according to configuration file, revises the configuration of the network equipment that connects.
The embodiment of the invention generates configuration file according to the characteristic and the administration order of the network equipment; According to described configuration file, connect the network equipment and revise the configuration of the described network equipment.The scheme that the embodiment of the invention provides can realize the batch modification method to network equipments configuration, and having solved manual operations wastes time and energy, and occurs the problem of misoperation easily.The scheme that the embodiment of the invention provides, improved the utilance of the network equipment, when needs are organized switching entirely to network equipment running environment, at short notice, can be by on management server, carrying out configuration file, finish the backup of full set of network devices fast and reconfigure, make the network equipment switch to new running environment fast; And in needs, can also switch back the configuration of original backup fast by carrying out configuration file, and recover original running environment, improve the utilance of the network equipment.Simultaneously, the scheme that the embodiment of the invention provides has improved network manager's efficient.Traditional network manager, usually need to every network equipment be provided with separately by hand, remove, backup and recovery configuring, along with increasing of number of devices, need to drop into a large amount of time.And the scheme that the embodiment of the invention provides only needs the keeper when being necessary, carries out the good configuration file of customization in advance on management server, promptly can finish the management to all-network equipment fast.
Description of drawings
Fig. 1 is that network equipments configuration is revised system schematic in the prior art;
Fig. 2 is the main realization principle flow chart of the embodiment of the invention 1;
Fig. 3 is the main realization principle flow chart of the embodiment of the invention 2;
Fig. 4 is one of structural representation of the embodiment of the invention 3 generators;
Fig. 5 be the embodiment of the invention 3 generators structural representation two;
Fig. 6 be the embodiment of the invention 3 generators structural representation three.
Embodiment
The embodiment of the invention writes configuration file in advance with these orders, and configuration file is imported in the storage system of management server by the manual order that input is carried out on corresponding network equipment of simulation keeper and the order of execution thereof; Management server reads the respective profiles in the storage system, according to the link order that pre-sets in the configuration file, connects the network equipment of appointment; Management server reads the administration order at this network equipment from configuration file, the bookkeeping that sets in advance (can be setting, removing, backup and recovery configuring).Behind the end of operation, management server is closed to the connection of this network equipment, and switches to next network equipment by the instruction in the configuration file, carries out corresponding operating, finishes until whole specified network operations of equipment.
Be explained in detail to the main realization principle of embodiment of the invention technical scheme, embodiment and to the beneficial effect that should be able to reach below in conjunction with each accompanying drawing.
As shown in Figure 1, network management device manages a plurality of network equipments by management server.Management server can be a network equipment or server, is characterized in possessing a plurality of ports, can connect a plurality of network equipments of being managed respectively by these ports, and many network equipments is converged carry out unified management.Each network equipment all possesses management port, and management port is a network equipment control port, includes but not limited to: control desk (Console), the same/asynchronous serial port that can receiving terminal connects, can accept the ethernet port that telnet connects.Can connect and logging in network equipment by this management port, use the Command Line Interface on the network equipment, the network equipment is managed for configuration.For example use character terminal equipment (or the terminal-emulation software on the PC), the Console port that connects the network equipment by serial port, on terminal interface, Command Line Interface (command-line interface is arranged, CLI), form configuration order by the keyboard input character, the network equipment is configured and manages.
As shown in Figure 2, the main realization principle process of the embodiment of the invention 1 is as follows:
Step 11 according to the characteristic and the administration order of the network equipment, generates configuration file.
Because in prior network device configuration modification process, the network manager needs the manual configuration modification that the Command Line Interface input command is realized the network equipment that passes through.Thereby the manual order that input is carried out on the network equipment of embodiment of the invention analog network keeper and the order of execution thereof write configuration file in advance with these orders, and configuration file are imported in the storage system of management server and store.The configuration file here can be the script file of memory command and command execution order.
In the configuration file, comprise the exectorial execution sequence of configuration needs at every network equipment, also comprise the sequencing of carrying out configuration modification between a plurality of network equipments, the sequencing of carrying out configuration modification between a plurality of network equipments can be carried out sequentially, also can select at random.
Step 12 according to described configuration file, connects the configuration of the corresponding network device and the described network equipment of corresponding modify.
Management server reads the respective profiles in the storage system, according to the link order that pre-sets in the configuration file, connects the network equipment of appointment; From configuration file, read administration order, the bookkeeping that analog manual operation's process sets in advance at this network equipment.The bookkeeping here comprises setting, removing, the back up or restore to network equipments configuration.
Behind the end of operation, management server is closed to the connection of this network equipment, and switches to the network equipment that next needs to revise configuration by the instruction in the configuration file, carries out corresponding operating, and so circulation finishes until whole specified network device configuration modifications.
In the present embodiment, change configuration modification if desired, maybe need different network equipments configuration is made amendment, only need to revise configuration file the network equipment, according to described configuration file, the configuration that connects the corresponding network device and the described network equipment of corresponding modify gets final product.For example, the enforcement when needs modification network equipments configuration can write the relevant configuration order in configuration file, after management server signs in on the network equipment, carries out default configuration order; Enforcement when needs are removed network equipments configuration can write relevant clear command in configuration file, after management server signs in on the network equipment, (for example: deletion configuration file or the like) carry out clear command; Enforcement when needing the backup network device configuration can write relevant backup command in configuration file, after management server signs in on the network equipment, carry out backup command (for example: preserve current operation configuration on network equipment storage system); When the enforcement that needs recover network equipments configuration, can in configuration file, write the relevant order that recovers, after management server signs in on the network equipment, carry out and recover order (for example: the configuration that will back up imports again) on the network equipment.
In the present embodiment, when needing the configuration of the batch modification network equipment, the network manager only need carry out the good configuration file of customization in advance on management server, just can be configured again all network equipments quickly and easily, save the plenty of time that manual configuration consumed, alleviated network manager's workload.
As shown in Figure 3, be the main realization principle process that the embodiment of the invention 2 provides according to configuration file modification network equipments configuration, specific as follows:
Here, configuration file has been formed and stored in the management server, and when needs were configured modification to the network equipment, management server read the content of corresponding configuration file, and selects corresponding network device.
Management server can be itself to possess the router that the polytype PORT COM is arranged, and these PORT COM include but not limited to: with/asynchronous serial port, ethernet port etc.These PORT COM can be the ports that is solidificated on the management server, also can be the ports that provides by alternate manners such as expansion cards.
Use cable that the management port of managed networks equipment and the PORT COM on the management server are coupled together, making it can normal communication.For example: the control desk port of the network equipment is connected with asynchronous serial port on the management server, and adjusts speed, make management server can be used as the terminal equipment login and enter the Command Line Interface of the network equipment of being managed.
Management server is according to the content choice corresponding network device of configuration file, and connects this network equipment.
Especially, by revising the content of configuration file, can change content, order and method that network equipments configuration is revised.
In the present embodiment, only need the network manager when needed, on management server, carry out the good configuration file of customization in advance, promptly can finish management fast all-network equipment.
Correspondingly, the embodiment of the invention 3 also provides a kind of system of batch modification network equipments configuration, and as shown in Figure 4, this system comprises configuration file generation unit 31, reading unit 32, linkage unit 33 and revises unit 34, and is specific as follows:
Configuration file generation unit 31 is used for characteristic and administration order according to the network equipment, generates configuration file;
Revise unit 34, be used for, revise the configuration of the network equipment that connects according to configuration file content.
In the present embodiment, each functional module can realize that management server can be itself to possess the router that the polytype PORT COM is arranged by management server, and these PORT COM include but not limited to: with/asynchronous serial port, ethernet port etc.These PORT COM can be the ports that is solidificated on the management server, also can be the ports that provides by alternate manners such as expansion cards.
Use cable that the management port of managed networks equipment and the PORT COM on the management server are coupled together, making it can normal communication.For example: the control desk port of the network equipment is connected with asynchronous serial port on the management server, and adjust speed, make management server can be used as terminal equipment login and enter the Command Line Interface of the network equipment of being managed, finish modification network equipments configuration by order line.
Preferably, as shown in Figure 5, the system in the foregoing description 3 further comprises selected cell 35, is used for disconnecting corresponding connection after the corresponding network device configuration modification is finished, and according to configuration file, selects the other network equipment, and notice linkage unit 33.
Preferably, as shown in Figure 6, the system in the foregoing description 3 further comprises configuration file modification unit 36, is used for revising as required the content of configuration file.
For example, the enforcement when needs modification network equipments configuration can write the relevant configuration order in configuration file, after management server signs in on the network equipment, carries out default configuration order; Enforcement when needs are removed network equipments configuration can write relevant clear command in configuration file, after management server signs in on the network equipment, (for example: deletion configuration file or the like) carry out clear command; Enforcement when needing the backup network device configuration can write relevant backup command in configuration file, after management server signs in on the network equipment, carry out backup command (for example: preserve current operation configuration on network equipment storage system); When the enforcement that needs recover network equipments configuration, can in configuration file, write the relevant order that recovers, after management server signs in on the network equipment, carry out and recover order (for example: the configuration that will back up imports again) on the network equipment.
The scheme that the embodiment of the invention provides, improved the utilance of the network equipment, when needs are organized switching entirely to network equipment running environment, at short notice, can be by on management server, carrying out configuration file, finish the backup of full set of network devices fast and reconfigure, make the network equipment switch to new running environment fast; And in needs, can also switch back the configuration of original backup fast by carrying out configuration file, and recover original running environment, improve the utilance of the network equipment.Simultaneously, the scheme that the embodiment of the invention provides has improved network manager's efficient.Traditional network manager, usually need to every network equipment be provided with separately by hand, remove, backup and recovery configuring, along with increasing of number of devices, need to drop into a large amount of time.And the scheme that the embodiment of the invention provides only needs the keeper when being necessary, carries out the good configuration file of customization in advance on management server, promptly can finish the management to all-network equipment fast.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.
Claims (6)
1. the method for a batch modification network equipments configuration is characterized in that, this method comprises:
According to the characteristic and the administration order of the network equipment, generate configuration file; Described configuration file comprises: at the bind command and the configuration order of each network equipment;
The bind command at the described network equipment according in the described configuration file connects the described network equipment; And, the configuration of the described network equipment is made amendment according to the configuration order in the described configuration file at the described network equipment.
2. the method for claim 1 is characterized in that, described modification network equipments configuration comprises setting, removing, backup and/or recovers network equipments configuration.
3. method as claimed in claim 2 is characterized in that, this method further comprises: when adjusting network equipments configuration modification content, revise described configuration file.
4. the system of a batch modification network equipments configuration is characterized in that, this system comprises configuration file generation unit, reading unit, linkage unit and modification unit, wherein,
Described configuration file generation unit is used for characteristic and administration order according to the network equipment, generates configuration file; Described configuration file comprises: at the bind command and the configuration order of each network equipment;
Described reading unit is used to read described configuration file, resolves configuration file content and sends to described linkage unit;
Described linkage unit is used for the bind command at the described network equipment according to configuration file, connects corresponding network device;
Described modification unit is used for the configuration order at the described network equipment according to configuration file, revises the configuration of the network equipment that connects.
5. system as claimed in claim 4 is characterized in that described system further comprises selected cell, be used for after the corresponding network device configuration modification is finished, disconnecting corresponding connection, according to configuration file, select the other network equipment, and notify described linkage unit;
Described linkage unit, the network equipment that also is used for selecting with described selected cell connects.
6. as claim 4 or 5 described systems, it is characterized in that described system further comprises configuration file modification unit, be used to revise the content of configuration file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810104524XA CN101262376B (en) | 2008-04-21 | 2008-04-21 | A method and system for modifying configuration of network device in batch mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810104524XA CN101262376B (en) | 2008-04-21 | 2008-04-21 | A method and system for modifying configuration of network device in batch mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101262376A CN101262376A (en) | 2008-09-10 |
CN101262376B true CN101262376B (en) | 2010-09-29 |
Family
ID=39962601
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810104524XA Expired - Fee Related CN101262376B (en) | 2008-04-21 | 2008-04-21 | A method and system for modifying configuration of network device in batch mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101262376B (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616040B (en) * | 2009-06-30 | 2011-08-31 | 杭州华三通信技术有限公司 | Method and device for managing equipment |
CN101667938B (en) * | 2009-09-27 | 2014-03-19 | 中兴通讯股份有限公司 | Method and system for remotely configuring network element equipment |
CN102368710A (en) * | 2011-10-17 | 2012-03-07 | 深圳市共进电子股份有限公司 | Local area network-based method for match upgrading of network equipment software |
CN102347810B (en) * | 2011-10-21 | 2014-07-23 | 迈普通信技术股份有限公司 | Centralized test system and method of machine room |
CN103200021B (en) * | 2012-01-04 | 2018-02-27 | 中兴通讯股份有限公司 | Network management system, client, service end and the method for realizing batch configuration data |
CN102970375A (en) * | 2012-12-05 | 2013-03-13 | 曙光信息产业(北京)有限公司 | Cluster configuration method and device |
CN103209338A (en) * | 2013-02-04 | 2013-07-17 | 奥维通信股份有限公司 | Online dynamic configuration system and method for multiplexer |
CN103152199A (en) * | 2013-03-04 | 2013-06-12 | 上海森松压力容器有限公司 | Method and system for remote batch configuration of network devices |
CN103220170B (en) * | 2013-04-07 | 2017-02-15 | 神州数码网络(北京)有限公司 | Method and device for automatically configuring and managing equipment |
CN104253705A (en) * | 2013-06-28 | 2014-12-31 | 杭州东方通信软件技术有限公司 | One-click automatic batched AC equipment configuration method |
CN103338125B (en) * | 2013-07-17 | 2017-12-01 | 上海斐讯数据通信技术有限公司 | A kind of method of batch network device configuration |
CN103973487B (en) * | 2014-04-29 | 2018-07-24 | 上海上讯信息技术股份有限公司 | A kind of configuration backup system and configuring management method based on interactive script |
CN104090778B (en) * | 2014-07-28 | 2017-08-01 | 中国银行股份有限公司 | A kind of method and system of application system environmental structure |
CN105991307B (en) * | 2015-01-30 | 2020-05-08 | 新华三技术有限公司 | Method and device for remotely controlling router |
CN105337772A (en) * | 2015-11-18 | 2016-02-17 | 上海斐讯数据通信技术有限公司 | System and method for backing up and restoring configuration of network equipment |
CN105488018A (en) * | 2015-11-24 | 2016-04-13 | 魅族科技(中国)有限公司 | Information modification method and terminal |
CN105847036B (en) * | 2016-03-17 | 2018-11-13 | 烽火通信科技股份有限公司 | The system and method for order pre-execution |
CN105812210A (en) * | 2016-05-25 | 2016-07-27 | 赵鹏 | Distributed network performance measuring system |
CN106484912A (en) * | 2016-10-26 | 2017-03-08 | 乐视控股(北京)有限公司 | A kind for the treatment of method and apparatus of cloud disk resource |
CN106790766A (en) * | 2017-02-17 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of dns server intelligent configuration method for client |
CN107040480A (en) * | 2017-04-01 | 2017-08-11 | 汕头大学 | A kind of method that network of computer room automatically switches |
CN113556250B (en) * | 2021-07-21 | 2022-12-20 | 中国工商银行股份有限公司 | Network equipment batch configuration method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1564558A (en) * | 2004-04-01 | 2005-01-12 | 高金铎 | Method of controlling distance terminal controller through internet |
CN1859187A (en) * | 2005-12-14 | 2006-11-08 | 华为技术有限公司 | Method and system for centrally configurating terminal equipment |
-
2008
- 2008-04-21 CN CN200810104524XA patent/CN101262376B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1564558A (en) * | 2004-04-01 | 2005-01-12 | 高金铎 | Method of controlling distance terminal controller through internet |
CN1859187A (en) * | 2005-12-14 | 2006-11-08 | 华为技术有限公司 | Method and system for centrally configurating terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101262376A (en) | 2008-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101262376B (en) | A method and system for modifying configuration of network device in batch mode | |
CN103503414B (en) | A kind of group system calculating storage and merge | |
CN103583021A (en) | Incremental high radix network scaling | |
CN104135514B (en) | Fusion type virtual storage system | |
CN102662803A (en) | Double-controlled double-active redundancy equipment | |
CN109101611A (en) | File system directories maximize test method, device, terminal and storage medium | |
CN108616376A (en) | A kind of FC network system failures dynamic reconfiguration method | |
CN103036934A (en) | Wide area network clustered deployment system and method based on mirror image | |
CN103166765A (en) | Power over ethernet (PoE) power gating switchover method and device | |
CN108540225B (en) | Board working mode switching method, communication equipment, control board and storage medium | |
CN111343011B (en) | Openstack network fusion control method and system for cloud management platform | |
CN101764696B (en) | Distributed routing exchange equipment and implementation method thereof | |
CN101448050A (en) | Firmware update device of ATCA system and method thereof | |
CN108712293B (en) | Single board management method and network equipment | |
CN109828826A (en) | A kind of polling method of Task Progress, apparatus and system | |
CN101616040B (en) | Method and device for managing equipment | |
CN104158709A (en) | Optical module identification method and port extender | |
CN102387137B (en) | Implementation method and system of intelligent operation logic of a plurality of network devices | |
CN101677275B (en) | System and method of managing network element authority | |
CN100499535C (en) | Method and device for supporting Ethernet self-consultation in medium access control | |
CN102970375A (en) | Cluster configuration method and device | |
CN100442780C (en) | iSCSI memory network, CD array and capacity extending method thereof | |
CN213934570U (en) | SVG (scalable vector graphics) coordinated redundancy controller and SVG coordinated redundancy control system | |
CN112787872B (en) | Distributed processing system network configuration and reconfiguration method | |
CN109361543A (en) | A kind of whole machine cabinet monitoring method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Jing Pengxin Document name: the First Notification of an Office Action |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100929 Termination date: 20140421 |