CN1929396A - Method for realizing data configuration of network element in network - Google Patents

Method for realizing data configuration of network element in network Download PDF

Info

Publication number
CN1929396A
CN1929396A CN 200510102425 CN200510102425A CN1929396A CN 1929396 A CN1929396 A CN 1929396A CN 200510102425 CN200510102425 CN 200510102425 CN 200510102425 A CN200510102425 A CN 200510102425A CN 1929396 A CN1929396 A CN 1929396A
Authority
CN
China
Prior art keywords
order
cli
command
carried out
batch
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
Application number
CN 200510102425
Other languages
Chinese (zh)
Inventor
周丹
周明
丁爱民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN 200510102425 priority Critical patent/CN1929396A/en
Publication of CN1929396A publication Critical patent/CN1929396A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • General Factory Administration (AREA)

Abstract

This invention relates to one method to realize network data aligning, which comprises the following steps: generating CLI order; providing real CLI orders of different device positions according to real aligning; processing batch to provide several set generation batch order; according to device for matching. This invention method adopts SNMP and CLI properties and order model generation order tree to support batch order aligning.

Description

Realize network element is carried out the method for data configuration in a kind of network
Technical field
The present invention relates to the network management technology field, be specifically related to a kind of method that in network management system, is managed for configuration, realize network element is carried out the method for data configuration in particularly a kind of network.
Background technology
Flourish along with internet, network management system is also arisen at the historic moment.Comprised many network elements in a network management system, network management system need be carried out the configuration and the maintenance of data to all network elements.
Following two kinds of methods are used in existing configuration usually:
1, uses SNMP (simple network management) agreement, see Fig. 1, all can manage the mib file of object to administrative unit in definition, realize the SNMP agent (agency) of equipment side and the manager of management-side, allow the user finish configuration, and once can carry out identical configuration at the multiple devices of same type by graphical interfaces.
2, use the telnet agreement, see Fig. 2, need on the accurate terminal of another station symbol, allow the user order the Operation and Maintenance of finishing it by the CLI of delegation of input delegation.
Above-mentioned two kinds of methods all have pluses and minuses separately.
At first, be configured by SNMP, its user interface close friend, the user is simple to operate, can batch facility criticizes the configuration of carrying out network element of order, still, when increasing a kind of equipment newly, requirement equipment place realizes SNMP agent, and provides corresponding M IB to carry out the exploitation of graphical interfaces to manager, and task is heavy; Along with development of internet technology, network equipment kind from now on can get more and more, a kind of new equipment of every increase, will repeat an above-mentioned development process, this will make that the program of the data configuration of Unified Network Management is more and more huger from now on, both strengthen the exploitation dynamics of system, also be unfavorable for the exploitation and the maintenance of system.
Secondly, the configuration of command line mode need not extra program development, but use the interface unfriendly, and the function difference that the network equipment is played the part of, command set is also very huge, hundreds of even thousands of are generally all arranged, allow the user remember that it is very difficult that so many numerous and diverse orders are configured; This mode once can only dispose an equipment, finish the basic configuration of an equipment and need finish at least tens order usually, and have such demand often, according at a kind of equipment, need finish configuration to several even hundreds of platform equipment; Because the user need carry out different configurations to different equipment, so the user has experienced and must realize the inconvenience that a configuration set order is brought to equipment.Suppose that the workload that an equipment is finished basic configuration is m, the operating time is t, and when the quantity of equipment rose to the n platform from 1, its workload had also risen to m * n from m so, and the operating time also rises to t * n from t.
Summary of the invention
The objective of the invention is to be configured the numerous and diverse of operation and to be configured the high shortcoming of development cost by CLI in the network management configuration by SNMP in order to overcome in the prior art, solve the inefficiency that therefore produces in the prior art, exploitation and safeguard complicated problems provides in a kind of network the method that realizes network element is carried out data configuration.
The present invention is such specific implementation:
Realize network element is carried out the method for data configuration in a kind of network, it is characterized in that, may further comprise the steps:
Generate the CLI order:, provide the actual CLI order of the different configurations of distinct device for the user according to actual disposition;
Criticize command process: a plurality of configurations that are used to a plurality of equipment to provide generate errorlevels, are configured according to selected batch of order according to selected device.
Realize network element is carried out the method for data configuration in the described network, further may further comprise the steps:
The first step is according to the corresponding command template of CLI order formation of a certain type equipment;
Second step loaded into command tree with command template, formed the CLI order according to the command tree node, and then organized batch command;
In the 3rd step, select the multiple devices of the type to carry out batch order.
Described CLI order generating portion further comprises the formation of command template, forms the command tree of hierarchy, the generation of CLI order;
A kind of CLI command format of particular device is finished in the formation of described command template;
The command tree of described formation hierarchy is organized as tree with all CLI command catalogs of a particular device;
The generation of described CLI order, according to the order actual parameter of user's input, the utilization command template is packaged into the CLI order that a reality can be moved.
Described batch of command process further comprises with telnet and being connected, and forms batch order, and batch order is carried out in batch facility;
Describedly be connected,, connect, equipment is configured by the CLI order at different equipment according to the telnet agreement with telnet;
Order is criticized in described formation, is used to form the set of many actual motion CLI orders;
Described batch facility is carried out criticized order, at every equipment, by cli interface, carries out batch order.
The command template of described formation is to realize according to the configuration file that CLI command set on the equipment is formulated.
The command template of described formation further comprises implication, description, scope, the type of each parameter in the title, order of order;
The command template of described formation can be the command template of router, or the command template of switch, or the command template of any support telnet protocol devices.
The described connection with telnet can only be positioned at client, or separately is positioned at service end and client realization.
Described batch facility is carried out criticized order, can be an equipment is carried out a CLI order, or an equipment be carried out many CLI order, or multiple devices are carried out a CLI order, or multiple devices are carried out many CLI orders;
Describedly order is criticized in batch facility can only be positioned at client, or separately be positioned at service end and client realizes.
Adopt the method for the invention, compared with prior art, the present invention has inherited the advantage of SNMP and CLI, abandons its shortcoming; Adopted according to command template and generated command tree, friendly more generation CLI order, support batch facility to criticize the configuration network element of order simultaneously, only need revise command template to newly added equipment, therefore obtained the progress that not dependence equipment repeats to develop, reached and disposed effect simply and easily, saved the development time and the exploitation dynamics of user configured time and efforts and network supervisor, improved the efficient of configuration.
Description of drawings
The schematic diagram that Fig. 1 is to use SNMP to be configured;
The schematic diagram that Fig. 2 is to use CLI to be configured;
Fig. 3 is the configuration principle figure that the inventive method adopts;
Fig. 4 is the flow chart of configuration management among the embodiment.
Embodiment
Describe below in conjunction with the method for carrying out the network element data configuration in 3,4 pairs of network managements of the present invention of accompanying drawing.
The method of the invention may further comprise the steps:
The first step is according to the CLI order formation command template of a certain type equipment;
Second step loaded into command tree with command template, formed the CLI order according to the command tree node, and then organized batch command;
In the 3rd step, select the multiple devices of the type to carry out batch order.
Among the present invention, the key of whole process is the foundation of command template, and so just with the foundation from network element mib of the emphasis of system development, the exploitation of SNMP agent and manager is transferred in the foundation of command template, thereby has improved development efficiency significantly.Because command template is a file, does not relate to writing of code, makes application program need not extra exploitation, versatility then increases greatly.
In addition, because the present invention is based on CLI, equipment side need not newly-increased any work, the stable basis that made disposing of data, this just allows to develop a general CLI configurator and carries out all data configurations, and needn't be concerned about the type of network element, whether support SNMP, thereby greatly reduce the workload and the difficulty of system development.
Among the present invention, command template is the configuration file of formulating according to the CLI command set on the equipment, safeguards like this and uses just convenient.And since all configuration all based on the telnet agreement, shielded the realization details of bottom, this just makes does not need original system is changed when increasing new device type, only need to revise command template, improve the extensibility of system, thereby made the maintenance of system simply also be more prone to more.
Simultaneously, because this system supports batch facility to criticize the configuration data of order, make to becoming possibility by high efficiency configuration data in the network management.Alleviated user's working strength greatly.
As shown in Figure 3, the present invention mainly is made up of following two parts: CLI orders generating portion: according to actual disposition, generate for the user provides the actual CLI order of the different configurations of distinct device; Criticize the command process part: a plurality of configurations that are used to a plurality of equipment to provide generate errorlevels, are configured according to selected batch of order according to selected device.
Wherein CLI order generating portion comprises: command template, and command tree, CLI orders generation; And batch order control section comprises that: telnet connects, batch order, and batch order batch facility is carried out.
The major function and the interaction relationship of each several part are as follows:
A, command template, each command template have all been represented a kind of CLI command format of particular device;
B, command tree, all CLI command catalogs of a particular device are organized as tree;
C, CLI order generation, and according to the order actual parameter of user's input, the utilization command template is packaged into the CLI order that a reality can be moved;
D, batch order, the set of many CLI orders;
E, telnet connect, and according to the telnet agreement, connect at different equipment, can be configured equipment by the CLI order like this;
Batch order is carried out in F, batch facility, to one or more equipment, carries out one or more of CLI orders.
Further, command template can also comprise the implication, description, scope, type etc. of each parameter in the title, order of order;
Further, command template can be the command template of router, also can be the command template of switch, and it can be the command template of any support telnet protocol devices;
Further, batch order is carried out in batch facility, can be an equipment is carried out a CLI order, also can be that an equipment is carried out many CLI orders, also can be that multiple devices are carried out a CLI order, also can be that multiple devices are carried out many CLI orders;
Further, telnet connection and batch facility are criticized order and can only be positioned at client, also can separately be positioned at service end and client;
Further, the present invention is used for the configuration management of data product such as switch more, also is applicable to soft switch, the configuration management of equipment such as ADSL simultaneously.
Treatment step such as Fig. 4 of flow process part:
Beginning: according to the telnet order of Ethernet switch, carry out the classification of order, promptly need the hierarchy of the command tree of formation at last;
The command template 101 of step 1, formation Ethernet switch, the i.e. XML of Ethernet switch command set
Step 2, load this XML file and form command tree 102;
An order on step 3, the user's select command tree, and setting command parameter 103;
Step 4, formation CLI order 104;
Step 5, execution in step 4 repeatedly form batch order;
Step 6, select one or more Ethernet switch equipment, set up telnet and connect 106;
Step 7, at every equipment, by cli interface, carry out batch order 107.
Further, if batch order has been arranged, very little change only takes place in the order that other equipment is carried out, and can directly revise existing batch of order, execution in step 6,7.
Like this, the user can generate the CLI order by friendly interface, and editor obtains batch order at last, and the telnet that sets up selected device again connects, and the execution configuration of order is criticized in batch facility.This mode has been shunted user's hard work, has improved allocative efficiency; When increasing a equipment newly, only need increase corresponding command template to new equipment, need not to revise any code of equipment side and management-side, reduced the exploitation dynamics, improved service quality.

Claims (8)

1, realize network element is carried out the method for data configuration in a kind of network, it is characterized in that, may further comprise the steps:
Generate the CLI order:, provide the actual CLI order of the different configurations of distinct device for the user according to actual disposition;
Criticize command process: a plurality of configurations that are used to a plurality of equipment to provide generate errorlevels, are configured according to selected batch of order according to selected device.
2, realize network element is carried out the method for data configuration according to claim 1 in the network, it is characterized in that, may further comprise the steps:
The first step is according to the corresponding command template of CLI order formation of a certain type equipment;
Second step loaded into command tree with command template, formed the CLI order according to the command tree node, and then organized batch command;
In the 3rd step, select the multiple devices of the type to carry out batch order.
3, realize network element is carried out the method for data configuration as claimed in claim 1 or 2 in the network, it is characterized in that described CLI order generates the formation that further comprises command template, forms the command tree of hierarchy, the generation of CLI order;
A kind of CLI command format of particular device is finished in the formation of described command template;
The command tree of described formation hierarchy is organized as tree with all CLI command catalogs of a particular device;
The generation of described CLI order, according to the order actual parameter of user's input, the utilization command template is packaged into the CLI order that a reality can be moved.
4, realize network element is carried out the method for data configuration as claimed in claim 1 or 2 in the network, it is characterized in that described batch of command process further comprises with telnet and being connected, and forms batch order, and batch order is carried out in batch facility;
Describedly be connected,, connect, equipment is configured by the CLI order at different equipment according to the telnet agreement with telnet;
Order is criticized in described formation, is used to form the set of many actual motion CLI orders;
Described batch facility is carried out criticized order, at every equipment, by cli interface, carries out batch order.
5, as realizing network element is carried out the method for data configuration in the network as described in the claim 3, it is characterized in that:
The command template of described formation is to realize according to the configuration file that CLI command set on the equipment is formulated.
6, as realizing network element is carried out the method for data configuration in the network as described in the claim 3, it is characterized in that:
The command template of described formation further comprises implication, description, scope, the type of each parameter in the title, order of order;
The command template of described formation can be the command template of router, or the command template of switch, or the command template of any support telnet protocol devices.
7, as realizing network element is carried out the method for data configuration in the network as described in the claim 4, it is characterized in that:
The described connection with telnet can only be positioned at client, or separately is positioned at service end and client realization.
8, as realizing network element is carried out the method for data configuration in the network as described in the claim 4, it is characterized in that:
Described batch facility is carried out criticized order, can be an equipment is carried out a CLI order, or an equipment be carried out many CLI order, or multiple devices are carried out a CLI order, or multiple devices are carried out many CLI orders;
Describedly order is criticized in batch facility can only be positioned at client, or separately be positioned at service end and client realizes.
CN 200510102425 2005-09-09 2005-09-09 Method for realizing data configuration of network element in network Pending CN1929396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510102425 CN1929396A (en) 2005-09-09 2005-09-09 Method for realizing data configuration of network element in network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510102425 CN1929396A (en) 2005-09-09 2005-09-09 Method for realizing data configuration of network element in network

Publications (1)

Publication Number Publication Date
CN1929396A true CN1929396A (en) 2007-03-14

Family

ID=37859194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510102425 Pending CN1929396A (en) 2005-09-09 2005-09-09 Method for realizing data configuration of network element in network

Country Status (1)

Country Link
CN (1) CN1929396A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557312B (en) * 2009-05-08 2012-07-04 中兴通讯股份有限公司 Method and device for controlling access control list of network equipment
WO2013000236A1 (en) * 2011-06-27 2013-01-03 中兴通讯股份有限公司 Method and device for message adaptation
CN103138978A (en) * 2011-11-30 2013-06-05 迈普通信技术股份有限公司 Network management method and network management system
CN103560914A (en) * 2013-11-01 2014-02-05 国网安徽省电力公司铜陵供电公司 Interchanger ARP table operation method based on instruction template
CN103888297A (en) * 2014-03-21 2014-06-25 醴陵恒茂电子科技有限公司 Interchanger network management method and system
CN104767635A (en) * 2015-01-12 2015-07-08 武汉烽火网络有限责任公司 Method for sharing mirror image by multiple devices based on dynamic command line replacement
WO2015196805A1 (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Batch command execution method and apparatus
CN109067572A (en) * 2018-07-25 2018-12-21 郑州云海信息技术有限公司 Method, device and equipment based on order edlin SNMP configuration file
CN109861836A (en) * 2017-11-30 2019-06-07 北京亿阳信通科技有限公司 A kind of network management device and its management method
CN110622488A (en) * 2019-03-27 2019-12-27 阿里巴巴集团控股有限公司 System and method for managing user interaction with blockchains

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557312B (en) * 2009-05-08 2012-07-04 中兴通讯股份有限公司 Method and device for controlling access control list of network equipment
WO2013000236A1 (en) * 2011-06-27 2013-01-03 中兴通讯股份有限公司 Method and device for message adaptation
CN103138978A (en) * 2011-11-30 2013-06-05 迈普通信技术股份有限公司 Network management method and network management system
CN103138978B (en) * 2011-11-30 2015-12-09 迈普通信技术股份有限公司 Network management and system
CN103560914A (en) * 2013-11-01 2014-02-05 国网安徽省电力公司铜陵供电公司 Interchanger ARP table operation method based on instruction template
CN103560914B (en) * 2013-11-01 2017-10-17 国网安徽省电力公司铜陵供电公司 A kind of switch A RP table handling methods based on command template
CN103888297A (en) * 2014-03-21 2014-06-25 醴陵恒茂电子科技有限公司 Interchanger network management method and system
CN105207799A (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Batch command executing method and device
WO2015196805A1 (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Batch command execution method and apparatus
CN104767635A (en) * 2015-01-12 2015-07-08 武汉烽火网络有限责任公司 Method for sharing mirror image by multiple devices based on dynamic command line replacement
CN104767635B (en) * 2015-01-12 2019-01-04 武汉烽火网络有限责任公司 A method of mirror image is total to for more equipment based on order line dynamic replacement
CN109861836A (en) * 2017-11-30 2019-06-07 北京亿阳信通科技有限公司 A kind of network management device and its management method
CN109067572A (en) * 2018-07-25 2018-12-21 郑州云海信息技术有限公司 Method, device and equipment based on order edlin SNMP configuration file
CN110622488A (en) * 2019-03-27 2019-12-27 阿里巴巴集团控股有限公司 System and method for managing user interaction with blockchains
WO2019120319A3 (en) * 2019-03-27 2020-02-06 Alibaba Group Holding Limited System and method for managing user interactions with a blockchain
US10764032B2 (en) 2019-03-27 2020-09-01 Alibaba Group Holding Limited System and method for managing user interactions with a blockchain
CN110622488B (en) * 2019-03-27 2021-02-09 创新先进技术有限公司 System and method for managing user interaction with blockchains
US11201727B2 (en) 2019-03-27 2021-12-14 Advanced New Technologies Co., Ltd. System and method for managing user interactions with a blockchain

Similar Documents

Publication Publication Date Title
CN1929396A (en) Method for realizing data configuration of network element in network
CN1791037A (en) Method for realizing Web service automatic test
CN1368812A (en) Device and method for controlling equipment in household network and household network system
CN1825823A (en) Service framework for home network
CN1898902A (en) Centralized link-scope configuration of an internet protocol (ip) network
CN1577277A (en) Managing program applications
CN1719786A (en) Automatic testing system and method for command of command line interface of data communication apparatus
CN1859216A (en) SNMP communication system and method
CN101051976A (en) Apparatus, method and system for managing event information
CN101079153A (en) Method and system for quickly creating an animation
CN101042648A (en) Plug-in component, system and method for providing unionize interface for multicell application
CN1941702A (en) Method and method for issuing blog articles
CN1889557A (en) Long-distance XML data updating method and system
CN1859205A (en) Method and system for single board soft ware storage and loading
CN1889462A (en) Method and system for realizing network management and network element configuration operation
CN1905476A (en) Managing system and method for terminal products
CN1929405A (en) Off-line configuration management system and method based on client/server structure
CN1801739A (en) Information service hierarchy inheritance relation realizing method in network management interface
CN1630853A (en) Method for constructing distributed software components
CN1921412A (en) System and method of circuit shearing and connecting
CN1332528C (en) Implement method for loading tree of information management base in standard agent of network management
CN1588411A (en) Flow custom managing platform
CN101035024A (en) Method for processing the batch configuration and network management device and network system
CN1317868C (en) Communication message treatment equipment based on class template like management apparatus and method
CN1859251A (en) Method for realizing communication unit interconnection

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication