CN101977127A - SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment - Google Patents
SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment Download PDFInfo
- Publication number
- CN101977127A CN101977127A CN 201010560534 CN201010560534A CN101977127A CN 101977127 A CN101977127 A CN 101977127A CN 201010560534 CN201010560534 CN 201010560534 CN 201010560534 A CN201010560534 A CN 201010560534A CN 101977127 A CN101977127 A CN 101977127A
- Authority
- CN
- China
- Prior art keywords
- rollback
- order
- snmp
- configuration
- equipment
- 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
Images
Abstract
The invention provides a method for canceling last or several configuration commands when equipment is managed through an SNMP (Simple Network Management Protocol), in particular an SNMP based equipment configuration roll back method. The method comprises the following steps of: after SNMP equipment generates a configuration command, correspondingly generating a roll back command matched with the configuration command, and after the configuration command is successfully issued to corresponding network equipment, storing the configuration command and the corresponding roll back command into a history command list corresponding to the network equipment; when the configuration of the network equipment is needed to be rolled back, selecting a configuration command required to be rolled back from the corresponding history command list; and executing roll back commands corresponding to all configuration commands one to one from the last stored configuration command in the history command list until the selected configuration command is executed.
Description
Technical field
The present invention relates to the network device management technology, relate in particular to the technology of equipment disposition being carried out rollback based on SNMP (Simple Network ManagementProtocol, Simple Network Management Protocol).
Background technology
Present most of network equipment is all supported by SNMP (Simple Network Management Protocol, Simple Network Management Protocol) agreement it to be managed and disposes; SNMP is a request/response protocol that adopts polling mechanism, and promptly hypervisor sends administration order to the agency of the network equipment, and the agency of the network equipment receives order and fill order, sends response to hypervisor then; On the other hand, the agency constantly monitors the node device at place, just initiatively sends alarm to hypervisor immediately in case some anomalous event takes place.Receive agency's SNMP configuring request when the network equipment after, according to message content operation corresponding M IB (management information bank) list item, each MIB list item is finished oneself independently function, such as when the needs upgrading is provided with system, the configuration information of necessity is passed to the system version administration module of the network equipment by SNMP, this module uses FTP (file transfer protocol (FTP))/TFTP modes such as (TFTPs) to obtain redaction according to parameter, thereby realizes system upgrade.
When the network equipment being managed by snmp protocol, because snmp protocol itself is very simple, there is not recording mechanism for history command, if find mis-arrange even mistake, the keeper can't fast cancel last or configuration order several times, the influence that the order that leads to errors causes customer service can not very fast elimination.
Summary of the invention
Technical problem to be solved by this invention is, provides a kind of when by snmp protocol equipment being managed, and can cancel last or the method for configuration order several times.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be, the equipment disposition rollback method based on SNMP may further comprise the steps:
After the SNMP Network Management Equipment generates configuration order, the corresponding generation and the supporting rollback order of this configuration order, and after described configuration order successfully is issued to the corresponding network equipment, with described configuration order and corresponding rollback order is saved in and this network equipment corresponding historical command list (CLIST) in;
When needing the configuration of the rollback network equipment, the configuration order that selection need roll back in the corresponding historical command list (CLIST), the configuration order that SNMP Network Management Equipment system preserves from the history command tabulation recently begins, carry out the rollback order of every configuration order correspondence one by one, till carrying out selected configuration order.
Concrete, described rollback order comprises OID tabulation (object identity order) and the parameter of cancelling corresponding configuration order.
Further, after the rollback command execution of configuration order finished, the SNMP Network Management Equipment was removed this configuration order and corresponding rollback order thereof from the history command tabulation.The configuration order of every rollback order correspondence can only rollback once.
Further, in rollback process, during as certain bar rollback command execution failure, in order to recover correct configuration to greatest extent, the SNMP Network Management Equipment is skipped this rollback order, continue to carry out the rollback order of next bar configuration order, finishes until the rollback command execution of selected configuration order.
Further, after the failure of rollback command execution, the SNMP Network Management Equipment gives a warning to the keeper.
The SNMP Network Management Equipment comprises configuration order generation module, rollback order generation module, history command tabulation generation module, roll-back module;
The configuration order generation module is used to generate and triggers rollback order generation module after the configuration order, and with this command down-transmitting to the corresponding network equipment, issue successfully the back and trigger history command tabulation generation module;
Rollback order generation module is used for corresponding configuration order and generates supporting rollback order;
History command tabulation generation module is used for the rollback order of described configuration order and correspondence is saved to the history command tabulation of map network equipment;
Roll-back module, the configuration order that is used for rolling back to is after the history command tabulation is determined, the rollback order of the configuration order correspondence that roll-back module is preserved from the history command tabulation recently begins oppositely to carry out successively all the rollback orders after the selected configuration order that is finished.
The invention has the beneficial effects as follows, when the network equipment being managed by snmp protocol, as find mis-arrange or configuration error, the state that does not dispose before rolling back to the configuration order of equipment fast, the influence of avoiding the mistake order that customer service is caused to greatest extent.
Description of drawings
Fig. 1 is the network management device based on SNMP.
The flow chart that Fig. 2 forms for the history command tabulation.
Fig. 3 is the rollback flow chart.
Embodiment
The snmp management system mainly is made up of the SNMP Network Management Equipment and the network equipment that receives the SNMP order.As shown in Figure 1, the SNMP Network Management Equipment comprises configuration order generation module, rollback order generation module, history command tabulation generation module, roll-back module.
The flow process that the SNMP Network Management Equipment generates the history command tabulation is as shown in Figure 2:
A1, configuration order generation module trigger rollback order generation module after generating configuration order;
A2, the corresponding configuration order of rollback order generation module generate supporting rollback order; This rollback order comprises OID tabulation (object identity is the unique identifier of each object distribution) and the parameter of cancelling configuration order,
A3, configuration order generation module to the corresponding network equipment, issue successfully back triggering history command tabulation generation module with this command down-transmitting, issue failure, then abandon this rollback order;
A4, history command tabulation generation module are saved to configuration order and corresponding rollback order thereof in the history command tabulation of map network equipment.History command tabulation generation module will be held a history command tabulation for the network equipment maintenance that each quilt is managed.
When needing the rollback configuration order because of reasons such as administrator configurations errors, flow process as shown in Figure 3:
B1, keeper's configuration order that selection need roll back in the history command tabulation;
The rollback order of b2, the nearest configuration order correspondence of roll-back module from the history command tabulation begins, and oppositely carries out the rollback order of configuration order correspondence in the history command tabulation successively;
If certain rollback bar command execution failure takes place in b3, roll-back module in the process of implementation, will alarm to the keeper, skip this rollback order simultaneously, continue to carry out follow-up rollback order;
B4, the rollback order that is finished and configuration order thereof will be by roll-back module deletions from the history command tabulation, and every configuration order of having carried out only can be by rollback once;
B5, roll-back module judge that whether current deletion rollback order is the rollback order of configuration order correspondence selected among the step b1, and in this way, rollback is finished, and as not, continues to carry out next rollback order, finishes until selected rollback command execution.
The keeper can understand the command information that do-it-yourself is crossed at any time at any time by checking the history command tabulation.
The network equipment in the system receives the SNMP message and makes response according to normal snmp protocol, need not special processing.
Claims (10)
1. based on the equipment disposition rollback method of SNMP, it is characterized in that, may further comprise the steps:
After the SNMP Network Management Equipment generates configuration order, the corresponding generation and the supporting rollback order of this configuration order, and after described configuration order successfully is issued to the corresponding network equipment, with described configuration order and corresponding rollback order is saved to and this network equipment corresponding historical command list (CLIST) in;
When needing the configuration of the rollback network equipment, the configuration order that selection need roll back in the corresponding historical command list (CLIST), the configuration order that the SNMP Network Management Equipment is preserved from described history command tabulation recently begins, carry out the rollback order of every configuration order correspondence one by one, till carrying out selected configuration order.
2. according to claim 1 based on the equipment disposition rollback method of SNMP, it is characterized in that described rollback order comprises object identity tabulation and the parameter of cancelling corresponding configuration order.
3. as claimed in claim 1 or 2 based on the equipment disposition rollback method of SNMP, it is characterized in that after the rollback command execution of configuration order finished, the SNMP Network Management Equipment was removed this configuration order and corresponding rollback order thereof in the history command tabulation.
As described in the claim 3 based on the equipment disposition rollback method of SNMP, it is characterized in that the SNMP Network Management Equipment is when carrying out the rollback order, as current rollback command execution failure, then skip the rollback order of current execution failure, continue to carry out next bar rollback order.
As described in the claim 4 based on the equipment disposition rollback method of SNMP, it is characterized in that after the failure of rollback command execution, the SNMP Network Management Equipment gives a warning to the keeper.
6.SNMP Network Management Equipment is characterized in that, comprises configuration order generation module, rollback order generation module, history command tabulation generation module, roll-back module;
Described configuration order generation module is used to generate and triggers rollback order generation module after the configuration order, and with this command down-transmitting to the corresponding network equipment, issue successfully the back and trigger history command tabulation generation module;
Described rollback order generation module is used for corresponding configuration order and generates supporting rollback order;
Described history command tabulation generation module is used for the rollback order of described configuration order and correspondence is saved to the history command tabulation of map network equipment;
Described roll-back module, the pairing rollback order of configuration order that is used for rolling back to is after the history command tabulation is determined, the rollback order of the configuration order correspondence that roll-back module is preserved from the history command tabulation recently begins oppositely to carry out successively all the rollback orders after executing selected configuration order.
7. as SNMP Network Management Equipment as described in the claim 6, it is characterized in that described rollback order comprises object identity order and the parameter of cancelling corresponding configuration order.
8. as SNMP Network Management Equipment as described in claim 6 or 7, it is characterized in that described roll-back module after also being used for the rollback command execution and finishing, is removed this rollback order in the history command tabulation.
9. as SNMP Network Management Equipment as described in the claim 8, it is characterized in that described roll-back module also is used for then skipping this rollback order as current rollback command execution failure, continues to carry out next bar rollback order.
10. as SNMP Network Management Equipment as described in the claim 9, it is characterized in that described roll-back module also is used for giving a warning after the failure of rollback command execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010560534 CN101977127B (en) | 2010-11-26 | 2010-11-26 | SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010560534 CN101977127B (en) | 2010-11-26 | 2010-11-26 | SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101977127A true CN101977127A (en) | 2011-02-16 |
CN101977127B CN101977127B (en) | 2013-04-10 |
Family
ID=43576974
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010560534 Active CN101977127B (en) | 2010-11-26 | 2010-11-26 | SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101977127B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164048A (en) * | 2011-04-06 | 2011-08-24 | 上海美琦浦悦通讯科技有限公司 | Data stream optimization device and method for realizing multi-ISP (internet service provider) access in local area network |
CN103399714A (en) * | 2013-08-06 | 2013-11-20 | 安徽安庆瀚科莱德信息科技有限公司 | Maintenance system for storage device configuration information and application method of maintenance system |
CN105915370A (en) * | 2016-04-07 | 2016-08-31 | 烽火通信科技股份有限公司 | Temporary configuration management system and method based on batch rollback |
CN105915372A (en) * | 2016-04-07 | 2016-08-31 | 烽火通信科技股份有限公司 | Temporary configuration management system and method based on automatic rollback |
CN105939217A (en) * | 2016-03-23 | 2016-09-14 | 杭州迪普科技有限公司 | Configuration rollback method and device |
CN105939205A (en) * | 2015-08-28 | 2016-09-14 | 杭州迪普科技有限公司 | Configuration rollback method and device |
CN109829678A (en) * | 2017-11-23 | 2019-05-31 | 阿里巴巴集团控股有限公司 | A kind of rollback processing method, device and electronic equipment |
CN110351392A (en) * | 2019-08-23 | 2019-10-18 | 易联众智能(厦门)科技有限公司 | A kind of long-range control method, system and the readable medium of multiple terminals Internet of Things |
CN110391949A (en) * | 2019-09-19 | 2019-10-29 | 华为技术有限公司 | A kind of method and relevant apparatus of configuration change |
CN111478801A (en) * | 2020-03-27 | 2020-07-31 | 烽火通信科技股份有限公司 | Communication equipment configuration management method and system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6275853B1 (en) * | 1998-05-27 | 2001-08-14 | 3Com Corporation | System and method for extending communications features using generic management information base objects |
CN101197698A (en) * | 2006-12-06 | 2008-06-11 | 中兴通讯股份有限公司 | Method for managing application layer affair rollback by simple network management protocol |
CN101197699A (en) * | 2006-12-06 | 2008-06-11 | 中兴通讯股份有限公司 | Method for managing application layer affair rollback by simple network management protocol |
-
2010
- 2010-11-26 CN CN 201010560534 patent/CN101977127B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6275853B1 (en) * | 1998-05-27 | 2001-08-14 | 3Com Corporation | System and method for extending communications features using generic management information base objects |
CN101197698A (en) * | 2006-12-06 | 2008-06-11 | 中兴通讯股份有限公司 | Method for managing application layer affair rollback by simple network management protocol |
CN101197699A (en) * | 2006-12-06 | 2008-06-11 | 中兴通讯股份有限公司 | Method for managing application layer affair rollback by simple network management protocol |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102164048A (en) * | 2011-04-06 | 2011-08-24 | 上海美琦浦悦通讯科技有限公司 | Data stream optimization device and method for realizing multi-ISP (internet service provider) access in local area network |
CN102164048B (en) * | 2011-04-06 | 2014-11-26 | 上海美琦浦悦通讯科技有限公司 | Data stream optimization device and method for realizing multi-ISP (internet service provider) access in local area network |
CN103399714A (en) * | 2013-08-06 | 2013-11-20 | 安徽安庆瀚科莱德信息科技有限公司 | Maintenance system for storage device configuration information and application method of maintenance system |
CN103399714B (en) * | 2013-08-06 | 2016-05-25 | 安徽安庆瀚科莱德信息科技有限公司 | The maintenance system of storage device configurations information and using method thereof |
CN105939205A (en) * | 2015-08-28 | 2016-09-14 | 杭州迪普科技有限公司 | Configuration rollback method and device |
CN105939217A (en) * | 2016-03-23 | 2016-09-14 | 杭州迪普科技有限公司 | Configuration rollback method and device |
CN105939217B (en) * | 2016-03-23 | 2019-02-19 | 杭州迪普科技股份有限公司 | Configure the method and device of rollback |
CN105915372A (en) * | 2016-04-07 | 2016-08-31 | 烽火通信科技股份有限公司 | Temporary configuration management system and method based on automatic rollback |
CN105915370A (en) * | 2016-04-07 | 2016-08-31 | 烽火通信科技股份有限公司 | Temporary configuration management system and method based on batch rollback |
CN105915370B (en) * | 2016-04-07 | 2018-11-30 | 烽火通信科技股份有限公司 | Provisional configuration management system and method based on batch rollback |
CN109829678A (en) * | 2017-11-23 | 2019-05-31 | 阿里巴巴集团控股有限公司 | A kind of rollback processing method, device and electronic equipment |
CN110351392A (en) * | 2019-08-23 | 2019-10-18 | 易联众智能(厦门)科技有限公司 | A kind of long-range control method, system and the readable medium of multiple terminals Internet of Things |
CN110391949A (en) * | 2019-09-19 | 2019-10-29 | 华为技术有限公司 | A kind of method and relevant apparatus of configuration change |
CN110391949B (en) * | 2019-09-19 | 2019-12-13 | 华为技术有限公司 | configuration change method and related device |
CN111478801A (en) * | 2020-03-27 | 2020-07-31 | 烽火通信科技股份有限公司 | Communication equipment configuration management method and system |
Also Published As
Publication number | Publication date |
---|---|
CN101977127B (en) | 2013-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101977127B (en) | SNMP (Simple Network Management Protocol) based equipment configuration roll back method and SNMP network management equipment | |
CN105229613B (en) | Coordinate the fault recovery in distributed system | |
CN100479575C (en) | Method and apparatus for realizing scheduled operation in equipment management | |
US9647891B2 (en) | Managing network configurations | |
EP2600565B1 (en) | Disaster tolerance service system and disaster tolerance method | |
CN109669762B (en) | Cloud computing resource management method, device, equipment and computer readable storage medium | |
US10635473B2 (en) | Setting support program, setting support method, and setting support device | |
US9780836B2 (en) | Server information handling system NFC management sideband feedback | |
CN104199957A (en) | Redis universal agent implementation method | |
CN102255761B (en) | File-based configuration rollback system and configuration rollback method | |
CN105245371A (en) | Automatic deployment system and method based on ansable | |
CN101593119A (en) | A kind of aerial firmware upgrade method of flash memory unit equipment and device monopolized | |
CN107453932B (en) | Distributed storage system management method and device | |
CN101996083A (en) | Mirror image updating method and device | |
CN1937523A (en) | Client service emergency system and its realizing method | |
US8583789B2 (en) | Computer system management method and management apparatus | |
CN104463014B (en) | A kind of oracle database guard method based on snapshot | |
JP2011175494A (en) | Maintenance work support system | |
CN113312059A (en) | Service processing system and method and cloud native system | |
CN110620798A (en) | Control method, system, equipment and storage medium for FTP connection | |
CN103428022B (en) | A kind of method and system backed up and restore configuration data file on network element | |
US8631112B2 (en) | Management system, management apparatus, management method, and non-transitory computer readable medium storing control program for registering processing devices | |
CN110096226B (en) | Disk array deployment method and device | |
CN110209497A (en) | A kind of method and system of the scalable appearance of host resource dynamic | |
US9542250B2 (en) | Distributed maintenance mode control |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |