CN105337772A - System and method for backing up and restoring configuration of network equipment - Google Patents
System and method for backing up and restoring configuration of network equipment Download PDFInfo
- Publication number
- CN105337772A CN105337772A CN201510799580.XA CN201510799580A CN105337772A CN 105337772 A CN105337772 A CN 105337772A CN 201510799580 A CN201510799580 A CN 201510799580A CN 105337772 A CN105337772 A CN 105337772A
- Authority
- CN
- China
- Prior art keywords
- backup
- configuration
- network equipment
- module
- telnet
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/20—Network management software packages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/084—Configuration by using pre-existing information, e.g. using templates or copying from other elements
- H04L41/0846—Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Abstract
The invention relates to the field of data backup and in particular relates to a system and method for backing up and restoring configuration of network equipment. The system for backing up and restoring the configuration of the network equipment comprises a configuration backing up module which is used for producing and outputting a control command according to backup and restoration of network equipment configuration by virtue of a network management software unit, a Telnet module which is respectively connected with the network equipment and the configuration backing up module, realizing establishment of a communication link with the network equipment and extracting backup data from the network equipment based on the communication link according to the received control command, and a database which is connected with the configuration backing up module, and the Telnet module backs up the extracted backup data to the database by virtue of the configuration backing up module.
Description
Technical field
The present invention relates to data backup field, particularly relate to the system and method for a kind of backup and recovery network equipments configuration.
Background technology
Along with the development of network, network configuration becomes and becomes increasingly complex, and webmastering software also becomes more and more important, how effectively to back up and the configuration that recovers the network equipment becomes extremely important.The method utilizing webmastering software backup switch to configure at present depends on switch, generates mib information reporting to webmastering software by switch, time webmastering software will recover switch configuration, issues corresponding mib information on switch.Another kind of general way is the mib nodal information of webmastering software backup switch in large quantities, when needs recover switch configuration, is all issued on switch by these mib nodes.But shortcoming of the prior art is, does like this and can rely on the behavior with switch to a great extent, if switch does not support this function, webmastering software just cannot obtain exchange mib configuration; Meanwhile, the mib node of switch is too huge, generally has thousands of mib node, the inefficiency done like this.
Summary of the invention
For the shortcoming existed in prior art, the present invention proposes a kind of backup and recovers the system and method for network equipments configuration, is intended to not rely on switch when reporting configuration, backs up efficiently and recover switch configuration.
The present invention adopts following technical scheme:
A system for backup and recovery network equipments configuration, by webmastering software unit to the backup of network equipments configuration and recovery, described webmastering software unit comprises:
Configuration backup module, in order to produce and to export control command;
Telnet module, respectively with the described network equipment and described configuration backup model calling, realizes setting up communication link with the described network equipment, and from the described network equipment, extracts Backup Data based on described communication link according to the described control command received;
Database, with described configuration backup model calling, and the described Backup Data extracted is backed up to described database through described configuration backup module by described Telnet module.
Preferably, described webmastering software unit also comprises:
Configuration restore module, respectively with described database and described Telnet model calling, extracts and recovers data, and send control command to described Telnet module from described database, to make to recover data described in described Telnet module recovery to the described network equipment.
Preferably, described Backup Data and/or described recovery data are login user name and/or password and/or IP address and/or model.
Preferably, the described network equipment is switch.
Preferably, described Telnet module logs in described switch automatically by Telnet agreement.
Backup and the method recovering network equipments configuration, comprise network equipments configuration backup method and network equipments configuration restoration methods,
Described network equipments configuration restoration methods comprises:
Extract the authentication information of the described network equipment;
Enable Telnet module, by the network equipment described in described Telnet model calling, and automated validation identity;
Send control command to described Telnet module, and obtain Backup Data from the described network equipment;
The described Backup Data extracted is preserved;
Described network equipments configuration backup method comprises:
The authentication information of the network equipment is removed from database;
Authentication is carried out to the described network equipment;
Extract and recover data and the described recovery data removing the described network equipment;
The described recovery data removed are sent to the described network equipment, and the described network equipment runs described recovery data.
Preferably, described authentication information comprises: login user name and/or password and/or IP address.
Preferably, described Telnet module logs in the described network equipment automatically by Telnet agreement.
Preferably, described authentication information comprises: login user name and/or password and/or IP address.
The invention has the beneficial effects as follows:
The present invention mainly make use of webmastering software backup and recovers the systems approach of switch configuration, and do not rely on and report configuration with switch, be configured backup and the recovery of file by webmastering software, efficiency is higher.
Accompanying drawing explanation
Fig. 1 is that the present invention backs up and recovers the structural representation of system of network equipments configuration;
Fig. 2 is the schematic flow sheet of backup network device of the present invention configuration;
Fig. 3 is the schematic flow sheet that the present invention recovers network equipments configuration.
Embodiment
It should be noted that, when not conflicting, following technical proposals, can combine between technical characteristic mutually.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is further described:
The relevant information of preserving the network equipment (below with switch citing) in the webmastering software (webmastering software unit) of the present embodiment (comprises IP address, model, login user name and password), when preserving configuration file, telnet agreement can be utilized automatically to log on switch with webmastering software, then automatically username and password is inputted, carry out authentication, after authentication success, to switch input display configuration order, (the display configuration order of such as most of switch is: showrunning-config).Then the output content of switch is saved in webmastering software this locality.
When needs recover switch configuration file, again utilize webmastering software automatically to log on switch, enter configuration mode, first remove switch configuration, that preserves before then issuing is configured to switch.The object of Save and restore switch configuration is reached with this.
Embodiment one
The present embodiment adds two functions in the webmastering software of foregoing description, one is switch configuration file backup functionality, another is switch configuration file restore funcitons, its block architecture diagram as shown in Figure 1, comprising telnet module, switch backup module, switch configuration module, database module, telnet module directly and switch communication.
As shown in Figure 2, the flow process of configuration backup module is as follows: wait for that user performs configuration backup order, the login user name of this switch and password and IP address is taken out from database, enable telnet module afterwards, telnet model calling switch, and automatically input username and password, send and obtain configuration order to telnet module, such as: showrunning-config order, from switch obtain configuration, finally by Set up-conservancy in database.
Embodiment two
As shown in Figure 3, the flow process of configuration restore module is as follows: wait for that user performs configuration restore order, from database, remove the login user name of this switch and password and IP address, start telnet module, connect switch, and automatically input username and password, from database, take out the configuration file of this switch, remove the configuration file of this switch, the configuration file removed from database is sent to switch, switch runs this configuration file, both can complete configuration restore.
In sum, the present invention mainly make use of webmastering software backup and recovers the systems approach of switch configuration, and do not rely on and report configuration with switch, be configured backup and the recovery of file by webmastering software, efficiency is higher.
By illustrating and accompanying drawing, giving the exemplary embodiments of the ad hoc structure of embodiment, based on the present invention's spirit, also can do other conversion.Although foregoing invention proposes existing preferred embodiment, but these contents are not as limitation.
For a person skilled in the art, after reading above-mentioned explanation, various changes and modifications undoubtedly will be apparent.Therefore, appending claims should regard the whole change and correction of containing true intention of the present invention and scope as.In Claims scope, the scope of any and all equivalences and content, all should think and still belong to the intent and scope of the invention.
Claims (9)
1. a system for backup and recovery network equipments configuration, it is characterized in that, by webmastering software unit to the backup of network equipments configuration and recovery, described webmastering software unit comprises:
Configuration backup module, in order to produce and to export control command;
Telnet module, respectively with the described network equipment and described configuration backup model calling, realizes setting up communication link with the described network equipment, and from the described network equipment, extracts Backup Data based on described communication link according to the described control command received;
Database, with described configuration backup model calling, and the described Backup Data extracted is backed up to described database through described configuration backup module by described Telnet module.
2. the system of backup according to claim 1 and recovery network equipments configuration, it is characterized in that, described webmastering software unit also comprises:
Configuration restore module, respectively with described database and described Telnet model calling, extracts and recovers data, and send control command to described Telnet module from described database, to make to recover data described in described Telnet module recovery to the described network equipment.
3. backup according to claim 1 and recover the system of network equipments configuration, is characterized in that, described Backup Data and/or described recovery data are login user name and/or password and/or IP address and/or model.
4. the system of backup according to claim 1 and recovery network equipments configuration, it is characterized in that, the described network equipment is switch.
5. the system of backup according to claim 4 and recovery network equipments configuration, it is characterized in that, described Telnet module logs in described switch automatically by Telnet agreement.
6. backup and the method recovering network equipments configuration, is characterized in that, comprise network equipments configuration backup method and network equipments configuration restoration methods,
Described network equipments configuration restoration methods comprises:
Extract the authentication information of the described network equipment;
Enable Telnet module, by the network equipment described in described Telnet model calling, and automated validation identity;
Send control command to described Telnet module, and obtain Backup Data from the described network equipment;
The described Backup Data extracted is preserved;
Described network equipments configuration backup method comprises:
The authentication information of the network equipment is removed from database;
Authentication is carried out to the described network equipment;
Extract and recover data and the described recovery data removing the described network equipment;
The described recovery data removed are sent to the described network equipment, and the described network equipment runs described recovery data.
7. the method for backup network device according to claim 6 configuration, it is characterized in that, described authentication information comprises: login user name and/or password and/or IP address.
8. the method for backup network device configuration according to claim 6, it is characterized in that, described Telnet module logs in the described network equipment automatically by Telnet agreement.
9. the method for recovery network equipments configuration according to claim 6, is characterized in that, described authentication information comprises: login user name and/or password and/or IP address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510799580.XA CN105337772A (en) | 2015-11-18 | 2015-11-18 | System and method for backing up and restoring configuration of network equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510799580.XA CN105337772A (en) | 2015-11-18 | 2015-11-18 | System and method for backing up and restoring configuration of network equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105337772A true CN105337772A (en) | 2016-02-17 |
Family
ID=55288085
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510799580.XA Pending CN105337772A (en) | 2015-11-18 | 2015-11-18 | System and method for backing up and restoring configuration of network equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105337772A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106998271A (en) * | 2017-05-17 | 2017-08-01 | 中国工商银行股份有限公司 | Automatic adaptation processing system and method |
CN108206749A (en) * | 2016-12-19 | 2018-06-26 | 国基电子(上海)有限公司 | Online configuration file standby system and method |
CN111817884A (en) * | 2020-06-24 | 2020-10-23 | 浪潮思科网络科技有限公司 | Method, device, equipment and medium for checking switch configuration |
CN111865670A (en) * | 2020-07-03 | 2020-10-30 | 宏图智能物流股份有限公司 | Warehouse network rapid recovery method and warehouse network rapid recovery server |
CN112272101A (en) * | 2020-09-08 | 2021-01-26 | 山东中创软件商用中间件股份有限公司 | Method, system and related device for backing up switch configuration file |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN102104500A (en) * | 2011-03-26 | 2011-06-22 | 成都勤智数码科技有限公司 | Automatic network management equipment abnormity restoring method |
CN102148711A (en) * | 2011-04-08 | 2011-08-10 | 瑞斯康达科技发展股份有限公司 | Backup method and system for network device |
CN102263667A (en) * | 2011-08-24 | 2011-11-30 | 迈普通信技术股份有限公司 | Network management system and network management processing method |
CN103973487A (en) * | 2014-04-29 | 2014-08-06 | 上海上讯信息技术股份有限公司 | Configuration backup system based on interactive scripts and configuration management method |
-
2015
- 2015-11-18 CN CN201510799580.XA patent/CN105337772A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101262376A (en) * | 2008-04-21 | 2008-09-10 | 北京星网锐捷网络技术有限公司 | A method and system for modifying configuration of network device in batch mode |
CN102104500A (en) * | 2011-03-26 | 2011-06-22 | 成都勤智数码科技有限公司 | Automatic network management equipment abnormity restoring method |
CN102148711A (en) * | 2011-04-08 | 2011-08-10 | 瑞斯康达科技发展股份有限公司 | Backup method and system for network device |
CN102263667A (en) * | 2011-08-24 | 2011-11-30 | 迈普通信技术股份有限公司 | Network management system and network management processing method |
CN103973487A (en) * | 2014-04-29 | 2014-08-06 | 上海上讯信息技术股份有限公司 | Configuration backup system based on interactive scripts and configuration management method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108206749A (en) * | 2016-12-19 | 2018-06-26 | 国基电子(上海)有限公司 | Online configuration file standby system and method |
CN106998271A (en) * | 2017-05-17 | 2017-08-01 | 中国工商银行股份有限公司 | Automatic adaptation processing system and method |
CN106998271B (en) * | 2017-05-17 | 2020-06-05 | 中国工商银行股份有限公司 | Automatic adaptation processing system and method |
CN111817884A (en) * | 2020-06-24 | 2020-10-23 | 浪潮思科网络科技有限公司 | Method, device, equipment and medium for checking switch configuration |
CN111865670A (en) * | 2020-07-03 | 2020-10-30 | 宏图智能物流股份有限公司 | Warehouse network rapid recovery method and warehouse network rapid recovery server |
CN111865670B (en) * | 2020-07-03 | 2023-06-30 | 宏图智能物流股份有限公司 | Warehouse network rapid recovery method and warehouse network rapid recovery server |
CN112272101A (en) * | 2020-09-08 | 2021-01-26 | 山东中创软件商用中间件股份有限公司 | Method, system and related device for backing up switch configuration file |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105337772A (en) | System and method for backing up and restoring configuration of network equipment | |
CN110380917B (en) | Control method and device of federal learning system, terminal equipment and storage medium | |
CN106326219B (en) | Method, device and system for checking business system data | |
CN103778034B (en) | Data backup disaster recovery method and system based on cloud storage | |
CN102521083B (en) | Backup method and system of virtual machine in cloud computing system | |
CN102104500A (en) | Automatic network management equipment abnormity restoring method | |
CN103618604A (en) | Identity authentication method and system | |
CN104579746A (en) | Method and device for controlling dual-link transmission | |
CN104484242B (en) | During a kind of Copy on write snapshot can breakpoint transmission method | |
CN103067372B (en) | Cloud terminal logs in method and the login system of Cloud Server | |
CN102546756A (en) | Data processing method, cloud server and terminal | |
CN105302621A (en) | Method for remotely achieving initial value restoration of server BIOS Setup | |
CN107562494A (en) | A kind of method for updating memory SPD firmware | |
CN102520982A (en) | Method and device of node hot plug | |
CN110515762A (en) | Data reconstruction method, device, terminal device and storage medium | |
CN102769660A (en) | Cloud server, terminal and data backing up method thereof | |
CN103533563A (en) | Restoring method and terminal for wireless local area network account number | |
CN105607606A (en) | Data acquisition device and data acquisition method based on double-mainboard framework | |
CN102684928B (en) | The method and apparatus of a kind of service backup and recovery | |
CN101022633B (en) | Allocation data recovering method, system and device | |
CN102215518B (en) | Method for backing-up and restoring configuration of network access equipment according to user permission | |
CN204557485U (en) | A kind of privately owned cloud device reaching terminal device reduction by finger print identifying | |
CN106941422B (en) | Tree topology network recovery method based on central node master control | |
CN106250274A (en) | The backup method of a kind of virtual machine and device | |
WO2016086579A1 (en) | Method and device for intelligently backing up and recovering network element data in network management system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160217 |