CN104092630B - Configuration file for automatic operation of switchboards and operation method thereof - Google Patents
Configuration file for automatic operation of switchboards and operation method thereof Download PDFInfo
- Publication number
- CN104092630B CN104092630B CN201410345391.0A CN201410345391A CN104092630B CN 104092630 B CN104092630 B CN 104092630B CN 201410345391 A CN201410345391 A CN 201410345391A CN 104092630 B CN104092630 B CN 104092630B
- Authority
- CN
- China
- Prior art keywords
- command
- switch
- information
- name
- sequence
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title abstract description 7
- 238000013459 approach Methods 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 abstract description 5
- 230000027455 binding Effects 0.000 description 2
- 238000009739 binding Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Abstract
The invention discloses a configuration file for automatic operation of switchboards and an operation method of the configuration file. The configuration file is characterized by comprising switchboard type information, basic command information and operation command sequence information. The switchboard type information comprises a switchboard type name and a switchboard manufacturer. The basic command information comprises a command name, the command format and command parameter information. The command parameter information comprises a user name, a password, a super password, a management address, an MAC address and an IP address. The operation command sequence information comprises a sequence name and a command sequence. The command sequence is command information composed of a command serial number and the command name. The configuration file can automatically process different types of switchboards of different manufactures and reduce the workload of operating maintenance personnel, thereby realizing automatic operation of the switchboards.
Description
Technical field
The present invention relates to the automatic operation method of field of computer technology, especially switch.
Background technology
With the continuous lifting that the continuous development and information data protection of network size are required, electric power networks company progressively adds
The strong Access Control of interior network termination, it is desirable to which the terminal of all access electric power Intranets is known device, unknown device is without stepping on
Note is inaccurate without exception to access electric power Intranet, is that this can on switches using the method reality of ARP table static binding IP-MAC addresses
The existing network admittance to registered device, that realizes unregistered equipment does not enter management;Power network terminal number is more simultaneously,
The ARP of the such quantity of on-board maintenance is exchanged to information, needs automated programming system to support.
But network size is big, the switch producer used in network, numerous types, including Cisco, Huawei, China three are with early
The brands such as the NORTEL of phase, due to not having unified Switch control agreement, while the artificial operational order of the switch of each producer
Sequence also differs greatly so that very tired using the ARP table on automatization's batch processing different manufacturers, different types of switch
Difficulty, it is very necessary using a kind of new processing method adapting to all kinds of switches of many producer's different models.
Generally switch has four kinds of way to manages, and difference is as follows:1st, using a hyper terminal (or imitative terminal software)
Be connected on the serial ports (console) of switch, so as to by hyper terminal come the command line interface (CLI) of access switch.
2nd, using TELNET or SSH order management switches:The order of switch access switch is connected to using TELNET or SSH
Line interface.3rd, using the network management software management switch for supporting snmp protocol, by the network management software of snmp protocol
Management switch.4th, using web browser managing switch.
Due to the switch distribution of Utilities Electric Co. it is wider, it is while by Ethernet access network, right in actual management
Generally obtained using snmp protocol in switch status inquiry operation, and for complicated control commands such as ARP operations, by network
Manager manually performs order using TELNET, SSH connection switch and realizes concrete operations.
Conventional Switch control mode of operation is not suitable for the automation mechanized operation of switch at present.
The content of the invention
In place of the present invention is in order to solve the deficiencies in the prior art, patent of the present invention proposes a kind of automation mechanized operation of switch
Configuration file and its operational approach, can process the different types of Switch control mode of different manufacturers according to configuration file, mitigate
The workload of operation maintenance personnel, so as to realize the automation mechanized operation of switch.
The technical scheme that adopted to reach above-mentioned purpose of the present invention is:
A kind of the characteristics of configuration file of switch automation mechanized operation of the present invention is that composition includes:Switch type information,
Basic command information and operational order sequence information;
The switch type information includes switch type title and switch producer;
The basic command information includes command name, command format and command parameter information;The command parameter packet
Include user name, password, super code, management address, MAC Address and IP address;
The operational order sequence information includes sequence name and command sequence;The command sequence is by order numbering and orders
The command information for making name constitute.
A kind of operational approach of the automation mechanized operation configuration file of utilization switch of the present invention, is applied to comprising switch
Computer network in, be characterized in carrying out as follows:
Step one, set up respectively different manufacturers and different model switch automation mechanized operation configuration file;
Step 2, setting switch configuration information, operation object information and operation name;The switch configuration information includes
Switch type title, switch producer, user name, password, super code and management address;The operation object information includes
MAC Address and IP address;It is described to operate entitled sequence name;
Step 3, according to the switch type title in the switch configuration information and switch producer, search the friendship
Switch type title and the switch producer changed planes in type information, obtains match somebody with somebody corresponding with the switch configuration information
Put file;
Step 4, according to the operation name, search the sequence name in the operational order sequence information, obtain and the behaviour
Make the corresponding command sequence of famous prime minister;
Step 5, numbered according to the order in the command sequence, obtained successively and the order corresponding life of numbering
Name is made, and according to the command name, searches the command name in the basic command information, obtained and order with the command sequence
The corresponding command format of famous prime minister and command parameter information;
Step 6, the user name by switch configuration information, password, super code and management address and the operation
MAC Address and IP address in object information is delivered separately to the command parameter information, so as to generate operational order;
Step 7, the execution operational order, complete the corresponding operation of the operation name.
Compared with prior art, Advantageous Effects of the invention are embodied in:
The present invention can be according to switch configuration information, operation object information, operation name and automation mechanized operation configuration file, oneself
Dynamic to generate operational order corresponding with switch and perform, operation maintenance personnel is obtaining switch configuration information, operation object
After information and operation name, you can realize the operation to switch, the corresponding operational order of different types of switch need not be known,
So as to simplify the work of operation maintenance personnel, facilitate the management of Switch control mode.
Description of the drawings
Fig. 1 is a kind of switch configuration file structure tree schematic diagram in the present invention;
Fig. 2 is switch automation mechanized operation flow chart.
Specific embodiment
A kind of configuration file of switch automation mechanized operation, composition include:Switch type information, basic command information and
Operational order sequence information;The artificial operational order of the switch of different manufacturers and type is slightly different, it is therefore desirable to which definition is handed over
Change planes the configuration file of automation mechanized operation, for describing the specific operational order of different switches and command sequence;
Switch type information includes switch type title, switch type description and switch producer;
Basic command information includes command name, command description, CMD, command format, command parameter information and holds
Row result treatment mode;The operational order of different switches is slightly different, but form is similar, possesses common command parameter letter
Breath;Command parameter information includes user name, password, super code, management address, MAC Address and IP address;
Operational order sequence information is used for the command in combination and its execution sequence that description can complete certain function;Operational order
Sequence information includes sequence name and command sequence;The command information that command sequence is made up of order numbering and command name.
A kind of operational approach of the automation mechanized operation configuration file of utilization switch, is to be applied to the calculating comprising switch
In machine network, carry out as follows:In the present embodiment, illustrate by taking switch A RP bindings as an example;
Step one, set up respectively different manufacturers and different model switch automation mechanized operation configuration file;Configuration text
The form of part in the present embodiment, can make configuration file using XML file with self-defined, and Fig. 1 is to be with the switch of Huawei
The structure tree of the configuration file that example makes, configuration file include a switch node, correspond to matching somebody with somebody for switch automation mechanized operation
File is put, under switch nodes, there are two child nodes, commands and tasks corresponds to basic command information and operational order respectively
Sequence information, commands include child node command, the detailed using method of each command child nodes record order,
Tasks includes task child nodes, and each task child nodes record completes a kind of operational order sequence information of function;
As shown in Figure 2;Step 2, setting switch configuration information, operation object information and operation name;Switch is configured
Information includes switch type title, switch producer, user name, password, super code and management address;Operation object information
Including MAC Address and IP address;Operate entitled sequence name;
Step 3, according to the switch type title in switch configuration information and switch producer, search switch type
Switch type title and switch producer in information, obtains the configuration file corresponding with switch configuration information;
Step 4, according to operation name, search the sequence name in the operational order sequence information, obtain relative with name is operated
The command sequence answered;
Step 5, numbered according to the order in command sequence, obtain successively and order the corresponding command name of numbering, and root
According to command name, search the command name in basic command information, obtain the command format corresponding with command name in command sequence and
Command parameter information;
Step 6, the user name by switch configuration information, password, super code and management address and operation object
MAC Address and IP address in information is delivered separately to corresponding user name, password, super code, pipe in command parameter information
Reason address, MAC Address and IP address, so as to generate operational order;Operational order includes form and parameter, such as telnet
[USER]@[SWITCHIP], [USER], [SWITCHIP] are parameter, generally form, and parameter occurrence is by step 2 acquisition;
Step 7, the execution operational order, complete the corresponding operation of the operation name.
Claims (1)
1. a kind of operational approach of the configuration file of switch automation mechanized operation, is to be applied to the computer network comprising switch
In, the configuration file includes:Switch type information, basic command information and operational order sequence information;
The switch type information includes switch type title and switch producer;
The basic command information includes command name, command format and command parameter information;The command parameter information includes using
Name in an account book, password, super code, management address, MAC Address and IP address;
The operational order sequence information includes sequence name and command sequence;The command sequence is by order numbering and command name
The command information of composition, is characterized in that, the operational approach is to carry out as follows:
Step one, set up respectively different manufacturers and different model switch automation mechanized operation configuration file;
Step 2, setting switch configuration information, operation object information and operation name;The switch configuration information includes exchanging
Machine typonym, switch producer, user name, password, super code and management address;The operation object information includes MAC
Address and IP address;It is described to operate entitled sequence name;
Step 3, according to the switch type title in the switch configuration information and switch producer, search the exchange
Switch type title and switch producer in machine type information, obtains the configuration corresponding with the switch configuration information
File;
Step 4, according to the operation name, search the sequence name in the operational order sequence information, obtain and the operation name
Corresponding command sequence;
Step 5, numbered according to the order in the command sequence, obtained successively and the order corresponding command name of numbering,
And according to the command name, the command name in the basic command information is searched, obtain famous prime minister is ordered with the command sequence
Corresponding command format and command parameter information;
Step 6, the user name by switch configuration information, password, super code and management address and the operation object
MAC Address and IP address in information is delivered separately to the command parameter information, so as to generate operational order;
Step 7, the execution operational order, complete the corresponding operation of the operation name.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410345391.0A CN104092630B (en) | 2014-07-18 | 2014-07-18 | Configuration file for automatic operation of switchboards and operation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410345391.0A CN104092630B (en) | 2014-07-18 | 2014-07-18 | Configuration file for automatic operation of switchboards and operation method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104092630A CN104092630A (en) | 2014-10-08 |
CN104092630B true CN104092630B (en) | 2017-04-12 |
Family
ID=51640313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410345391.0A Active CN104092630B (en) | 2014-07-18 | 2014-07-18 | Configuration file for automatic operation of switchboards and operation method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104092630B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104363228A (en) * | 2014-11-13 | 2015-02-18 | 国家电网公司 | Terminal security access control method |
CN105071948B (en) * | 2015-07-06 | 2018-04-17 | 北京云启志新科技股份有限公司 | The automatic deployment method and device of a kind of access switch |
CN106790740B (en) * | 2016-11-24 | 2020-12-01 | 上海易杵行智能科技有限公司 | Method for intelligently distributing static management address of switch in local area network |
CN108540339A (en) * | 2018-03-12 | 2018-09-14 | 国网安徽省电力有限公司池州供电公司 | A kind of detecting system and its detection method of switch port configuration |
CN111245645A (en) * | 2019-12-31 | 2020-06-05 | 中国建设银行股份有限公司 | Zone automatic configuration method, system, equipment and medium of SAN switch |
CN111526048B (en) * | 2020-04-16 | 2023-04-18 | 深圳市风云实业有限公司 | Unified management language adaptation method for multi-model switch |
CN112087337A (en) * | 2020-09-11 | 2020-12-15 | 浪潮思科网络科技有限公司 | Switch configuration method and switch configuration system |
CN113014428A (en) * | 2021-02-23 | 2021-06-22 | 深圳供电局有限公司 | Distribution network communication industrial switch operation and maintenance management method, terminal and storage device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860627A (en) * | 2010-05-25 | 2010-10-13 | 中兴通讯股份有限公司 | Business management method of access gateway and access gateway |
CN103176017A (en) * | 2011-12-22 | 2013-06-26 | 北京普源精电科技有限公司 | Oscilloscope, configuring device and configuring method thereof |
CN103220170A (en) * | 2013-04-07 | 2013-07-24 | 神州数码网络(北京)有限公司 | Method and device for automatically configuring and managing equipment |
-
2014
- 2014-07-18 CN CN201410345391.0A patent/CN104092630B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101860627A (en) * | 2010-05-25 | 2010-10-13 | 中兴通讯股份有限公司 | Business management method of access gateway and access gateway |
CN103176017A (en) * | 2011-12-22 | 2013-06-26 | 北京普源精电科技有限公司 | Oscilloscope, configuring device and configuring method thereof |
CN103220170A (en) * | 2013-04-07 | 2013-07-24 | 神州数码网络(北京)有限公司 | Method and device for automatically configuring and managing equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104092630A (en) | 2014-10-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104092630B (en) | Configuration file for automatic operation of switchboards and operation method thereof | |
CN103516541B (en) | Configuration information automatic management method based on Intelligent transformer station | |
Lins et al. | Industry 4.0 Retrofitting | |
CN104394008B (en) | A kind of method and its system of unified configuration different type interchanger | |
CN106131164B (en) | The data processing method and device of protocol analysis are carried out beyond the clouds | |
CN104471896B (en) | Configuration management device, configuration interface arrangement and method for the unrelated network equipment configuration of manufacturer | |
CN109150640A (en) | A kind of method for discovering network topology and system based on double layer network agreement | |
US10148519B2 (en) | Automation network topology determination for C and I systems | |
CN108769165A (en) | Data processing method, Internet of Things access system in a kind of Internet of Things | |
CN105376101A (en) | Method and system for enabling physical device to be connected into virtual network | |
CN109257208A (en) | A kind of information integrated system and method based on OPC UA | |
US20140317313A1 (en) | Nat sub-topology management server | |
CN104581419A (en) | Dual-network realizing method based on android intelligent set-top box | |
CN105812502A (en) | OpenFlow-based implementation method for address resolution protocol proxy technology | |
CN108847979A (en) | A kind of adaptive configuration system and method based on SCADA | |
CN108462587A (en) | A kind of network topology treating method and apparatus | |
CN104683190A (en) | Webmaster managed network simulation system and webmaster managed network simulation method | |
CN111711677A (en) | Virtual and real loop visualization method, system and medium for process layer switch of intelligent substation | |
CN107864231A (en) | Use the internet protocol addressed method and system of industrial control program | |
CN104135446A (en) | System and method of implementing transition from IPv4 (Internet Protocol Version4) to IPv6 (Internet Protocol Version6) based on SDN (Software Defined Network) | |
CN104486151A (en) | Method and device for carrying out production testing on access terminal product | |
CN105389131A (en) | Data acquisition method for process industry production system | |
CN106878095B (en) | Network configuration method based on scenario distributed simulation | |
CN103728957B (en) | HART (highway addressable remote transducer) field equipment management method and system based on real-time database | |
CN103560914B (en) | A kind of switch A RP table handling methods based on command template |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |