CN115811491A - System and method for building, monitoring and managing switch test environment - Google Patents

System and method for building, monitoring and managing switch test environment Download PDF

Info

Publication number
CN115811491A
CN115811491A CN202211528576.6A CN202211528576A CN115811491A CN 115811491 A CN115811491 A CN 115811491A CN 202211528576 A CN202211528576 A CN 202211528576A CN 115811491 A CN115811491 A CN 115811491A
Authority
CN
China
Prior art keywords
serial
switch
upper computer
server
information
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
CN202211528576.6A
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.)
Wuhan Maiwei Communications Co ltd
Original Assignee
Wuhan Maiwei Communications Co ltd
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 Wuhan Maiwei Communications Co ltd filed Critical Wuhan Maiwei Communications Co ltd
Priority to CN202211528576.6A priority Critical patent/CN115811491A/en
Publication of CN115811491A publication Critical patent/CN115811491A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a system and a method for building, monitoring and managing a switch test environment, and relates to the field of industrial automation communication, wherein the system comprises an upper computer, a serial port server group and a plurality of switches, wherein the upper computer is in communication connection with the serial port server group and is used for processing network data converted by the serial port server group; the serial port server group is in communication connection with the upper computer and the switch and is used for receiving Console port data of the switch, converting the Console port data into network data and sending the network data to the upper computer; the switch is in communication connection with the serial port server group and sends Console port data to the serial port server group; the upper computer and the switch are respectively arranged in different network environments. The network where the test environment is located and the network where the upper computer is located are completely separated, so that the network of the upper computer cannot be influenced when abnormal scene testing is performed in the test environment, the upper computer can monitor the state of each device in the abnormal scene, and the upper computer can manage a plurality of independent test environments simultaneously without interference.

Description

System and method for building, monitoring and managing switch test environment
Technical Field
The invention relates to the field of industrial automation communication, in particular to a system and a method for building, monitoring and managing a switch test environment.
Background
Generally, a network where an upper computer is located and a network where a test environment is located are the same, service data and upper computer management data are separated through technologies such as VLAN, and if the upper computer management data are in abnormal scenes such as network storms, the management of the upper computer is affected, and equipment cannot be managed; in abnormal scenes such as equipment crash, the current information of the equipment cannot be acquired, and the problem is not easy to analyze and solve.
Chinese patent CN101789889A "a method and system for automatically testing communication devices" discloses a method for automatically testing communication devices, in which a control device and a device under test are connected through a serial server to test multiple communication devices, however, when network storm interference occurs, the above method may cause abnormal management of an upper computer because the control device and the device under test are in the same network, and the device may crash and lose data.
Therefore, a system and a method for building and monitoring management of a switch test environment are urgently needed, a serial server is utilized to convert Console port data in the switch into network data and then the network data is sent to an upper computer for processing, and a network in the test environment and a network where the upper computer is located are completely separated, so that the test environment can be built at will without influencing the management of the upper computer on the switch.
Disclosure of Invention
In view of this, the invention provides a system and a method for building, monitoring and managing a switch test environment, which are used for separating a network of a test environment switch from an upper computer and solving the problems of abnormal upper computer management and switch crash caused by network storm interference at present.
The technical scheme of the invention is realized as follows: on one hand, the invention provides a system for building and monitoring management of a switch test environment, which comprises an upper computer, a serial port server group and a plurality of switches,
the upper computer is in communication connection with the serial server group and is used for processing the network data converted by the serial server group;
the serial port server group is in communication connection with the upper computer and the switch and is used for receiving Console port data of the switch, converting the Console port data into network data and sending the network data to the upper computer;
the switch is in communication connection with the serial port server group and sends the Console port data to the serial port server group;
the system is characterized in that the upper computer and the switch are respectively arranged in different network environments.
Preferably, the serial server group comprises one or more serial servers, and the number of the serial servers in the serial server group is adjusted according to the relation between the number of the serial servers and the number of the Console ports of the switch.
Preferably, the upper computer is further used for data processing, managing the state of the switch and monitoring the state of the switch.
On the other hand, the invention also provides a method for building and monitoring management of the switch test environment, which comprises the following steps:
s1, building a test environment, configuring serial servers in batches, and building a communication channel between an upper computer and a Console port of an exchanger;
s2, establishing a mapping relation table of the serial server IP-serial number-switch IP-mac;
and S3, configuring the switches in batches, managing and monitoring the switches through the upper computer, and recording and storing alarm information of the switches.
Preferably, step S1 specifically includes:
the test environment building process specifically comprises the steps of connecting the Console port of the switch in the test environment with the serial port of the serial server, connecting the network port of the serial server with the network where the upper computer is located, and when the total number of serial ports of the serial server group is not less than the number of Console ports of all the switches, not increasing the serial servers, otherwise, increasing the serial servers.
Preferably, step S1 further comprises:
the serial server is configured in batches, specifically, an upper computer is used for scanning the serial server, the configuration of each serial port of the serial server is obtained, serial ports are selected in batches according to parameters of a switch in a test environment, working modes and parameters of the serial ports of the serial server are modified in batches, and a destination address of a network port connection is pointed to the upper computer.
Preferably, step S2 specifically includes:
sending an information request message to each switch in a test environment by using an upper computer to acquire the corresponding relation between the serial server IP-serial number and the switch IP-mac;
the upper computer sends a state request broadcast message to the serial server, the serial server configures converted serial data as heartbeat packets of each serial port after receiving the state request broadcast message, the serial server converts the state request broadcast message into serial data to send to each serial port, a Console port of a switch in a test environment receives the state request broadcast message and sends back a reply message, IP and mac information of the switch are added into the reply message to the serial server, the serial server converts the reply message sent back by the Console port into network data, and adds a source serial number to send back to the upper computer in a unicast mode, and the upper computer establishes a mapping relation table according to the IP and mac information of the switch, the serial number of the serial server and the source serial number of the serial server.
Preferably, step S2 further comprises:
after the serial server sends the heartbeat packet to the switch, the switch sends the IP and mac information of the switch to the serial server, the serial server returns the IP and mac information of the switch and serial number to the upper computer, the upper computer compares the mapping relation table according to the received data, if the difference occurs, the upper computer sends a unicast request message to the switch through the serial server, the switch sends the IP and mac information of the switch again, if the reply information received by the upper computer is inconsistent with the mapping table, the mapping table is updated, and if the reply information received by the upper computer is consistent with the mapping table, the mapping table is kept unchanged.
Preferably, step S2 further comprises:
when a test environment changes, the state of a switch connected with a serial port end of a serial port server is updated, a heartbeat packet of the serial port server acquires new switch information and sends the new switch information to an upper computer, the upper computer is triggered to send a state request message which comprises corresponding mapping information in the current upper computer, the serial port server compares the information with actual information of the current serial port server after receiving the information, if the information is consistent, the message is not processed, if the information is inconsistent, the serial port server replies the latest message information to the upper computer, and the upper computer updates a mapping table according to the received message information;
when a new test environment is added, a new serial server is accessed, after the upper computer receives the information of the new serial server, a configuration message is sent to the serial server to configure the serial server, and then a mapping relation table of the serial server IP-serial number-switch IP-mac is added.
Preferably, step S3 specifically includes:
the upper computer checks switches in batches according to test requirements, issues configuration commands, converts the commands into serial port commands through the serial port server and issues the serial port commands to the switches for batch configuration;
configuring a monitoring command in the upper computer, sending a state request command to the switch at regular time intervals, acquiring state information of the switch, sending alarm information when the memory utilization rate in the state information reaches a set threshold value, triggering a command for collecting the current state information of the switch, sending the request command to the switch, and storing data replied by the switch to the local upper computer for a research and development worker to check;
when the switch is abnormally restarted, a section error alarm or a crash occurs in the test environment, data is sent out through the Console port and is transmitted to the upper computer, and the upper computer receives the data and then stores and alarms.
Compared with the prior art, the system and the method for building, monitoring and managing the switch test environment have the following beneficial effects:
(1) By completely separating the network where the test environment is located and the network where the upper computer is located, abnormal scene testing can be performed in the test environment without affecting the network of the upper computer, the upper computer can monitor the state of each device in an abnormal scene, and the upper computer can manage a plurality of independent test environments simultaneously without interference;
(2) The middle serial port server group can be a single device or a plurality of devices, and the plurality of devices can be established as the serial port server group and are uniformly managed by the upper computer;
(3) The monitoring of the state of the serial port equipment in the test environment is realized by a heartbeat packet of a serial port server configured by an upper computer, and the state of a mapping relation table in the upper computer can be maintained to be the latest state;
(4) The data processing is carried out without depending on a serial server, the serial server is only used for carrying out data conversion between serial data and network data, the data processing is not carried out, the data processing is finished by an upper computer, the performance of the serial server is not depended on, and the whole environment is not influenced even if the performance of the serial server is not high;
(5) And a mapping table establishing mechanism is used, and when the test environment changes, how the upper computer perceives can be updated on the mapping table item.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a system structure diagram for building and monitoring management of a switch test environment according to the present invention;
FIG. 2 is a flow chart of a method for building, monitoring and managing a testing environment of a switch according to the present invention;
FIG. 3 is a flow chart of the establishment of a mapping relation table of a serial server IP-serial number-switch IP-mac according to the method for building and monitoring management of the switch test environment of the present invention;
FIG. 4 is a flow chart of updating a mapping relation table of a serial server IP-serial number-switch IP-mac according to the method for building, monitoring and managing the switch test environment of the present invention;
fig. 5 is a processing flow chart of the newly added serial server or the newly added test environment of the method for building, monitoring and managing the switch test environment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Example one
There is provided a system for building and monitoring management of switch test environment, as shown in fig. 1, the system comprises an upper computer, a serial server group and a plurality of switches,
the upper computer is in communication connection with the serial port server group and is used for processing the network data converted by the serial port server group;
the serial port server group is in communication connection with the upper computer and the switch and is used for receiving Console port data of the switch, converting the Console port data into network data and sending the network data to the upper computer;
the switch is in communication connection with the serial port server group and sends Console port data to the serial port server group;
the upper computer and the switch are respectively arranged in different network environments.
The network in the test environment is separated from the network of the upper computer, and when the test environment has abnormal conditions such as storm, the management of the upper computer on the equipment to be tested in the test environment cannot be influenced.
The serial server group comprises one or more serial servers, and the number of the serial servers in the serial server group is adjusted according to the relation between the number of the serial servers and the number of the Console ports of the switch.
Because the test environment is separated from the upper computer network, the topology in the test environment can be increased or modified at any time, and the upper computer updates the mapping table relation table between the corresponding serial server IP-serial number-switch IP-mac.
The upper computer is also used for data processing, managing the state of the switch and monitoring the state of the switch.
It should be noted that the invention does not depend on the serial server for data processing, the serial server is only used for data conversion between the serial data and the network data, and does not perform data processing, and the data processing is completed by the upper computer, so that the invention does not depend on the performance of the serial server, and the performance of the serial server is not high, and the whole environment is not influenced.
Example two
A method for building and monitoring management of a switch test environment is provided, as shown in fig. 2, including the following steps:
s1, building a test environment, configuring serial servers in batches, and building a communication channel between an upper computer and a Console port of an exchanger;
s2, establishing a mapping relation table of the serial server IP-serial number-switch IP-mac;
and S3, configuring the switches in batches, managing and monitoring the switches through the upper computer, and recording and storing alarm information of the switches.
The invention transmits data through network alone, is not influenced by test environment, can monitor equipment more conveniently and rapidly, can normally manage equipment under abnormal network, is convenient for troubleshooting, and can monitor a plurality of test environments simultaneously.
The step S1 specifically includes:
the test environment building process specifically comprises the steps of connecting the Console port of the switch in the test environment with the serial port of the serial server, connecting the network port of the serial server with the network where the upper computer is located, and when the total number of serial ports of the serial server group is not less than the number of Console ports of all the switches, not increasing the serial servers, otherwise, increasing the serial servers.
The serial server is configured in batches, specifically, an upper computer is used for scanning the serial server, the configuration of each serial port of the serial server is obtained, serial ports are selected in batches according to parameters of a switch in a test environment, working modes and parameters of the serial ports of the serial server are modified in batches, and a destination address of a network port connection is pointed to the upper computer.
When the number of the Console ports of the switch in the current environment is lower than that of the serial ports of the serial servers, the number of the serial servers in the serial server group is 1, a model diagram is shown in figure 1, and topology in each test environment is built according to actual test requirements and can be networked in a ring network, a link, aggregation mode and other modes;
when the number of Console ports of the switch in the test environment is larger than that of the serial ports of the serial port servers, the number of the serial port servers in the serial port server group can be directly expanded;
the network port of each serial server is connected with the upper computer, and the serial port of each serial server is connected with the console port of the switch in the test environment.
The step S2 specifically includes:
sending an information request message to each switch in a test environment by using an upper computer, and acquiring the corresponding relation between the IP-serial number of the serial server and the IP-mac of the switch;
the upper computer sends a state request broadcast message to the serial server, after the serial server receives the state request broadcast message, the serial server configures converted serial data as heartbeat packets of each serial port, simultaneously the serial server converts the state request broadcast message into serial data to send to each serial port, a switch Console port in a test environment receives the state request broadcast message and sends back a reply message, IP and mac information of the switch are added into the reply message to the serial server, the serial server converts the reply message sent back by the Console port into network data, adds a source serial number and sends back the reply message to the upper computer in a unicast mode, and the upper computer establishes a mapping relation table according to the IP and mac information of the switch, the serial number of the serial server and the source serial IP information of the serial server.
The mapping relationship table establishment flow chart is shown in fig. 3:
step1, the upper computer sends a broadcast to request to acquire the information of each switch to be tested;
step2, the serial server configures a heartbeat packet according to the received command, converts the request command into a serial command and sends the serial command to each switch connected with the serial server;
step3, the exchanger replies the IP and mac information of the equipment to the serial server;
step4, the serial port server converts the information replied by the switch into a network data packet, adds the received serial port number information of the serial port and sends the serial port number information to the upper computer in a unicast mode;
step5, establishing a mapping relation table by the upper computer;
step6, the serial server sends heartbeat packets to the switch at regular intervals to request to receive switch information;
step7, the exchanger replies the IP and mac information of the equipment to the serial server;
step8, the serial port server converts the information replied by the switch into a network data packet, adds the received serial port number information of the serial port and sends the serial port number information to the upper computer in a unicast mode;
step9, comparing the mapping relation table by the upper computer, if the mapping relation table is consistent with the mapping relation table, not processing the mapping relation table, and if the mapping relation table is inconsistent with the mapping relation table, executing Step10;
step10, the upper computer sends a unicast request to acquire the information of the switch equipment to the serial server;
step11, the serial server converts the request command into a serial command and sends the serial command to the switch;
step12, the exchanger replies IP and mac information of the equipment to the serial server;
step13, the serial port server converts the information replied by the switch into a network data packet, adds the received serial port number information of the serial port, and sends the serial port number information to the upper computer in a unicast mode;
step14 compares the mapping table with the result of Step13, and if they match, the processing is not performed, and if they do not match, the mapping table is updated.
After the serial server sends the heartbeat packet to the switch, the switch sends the IP and mac information of the switch to the serial server, the serial server returns the IP and mac information of the switch and the serial number to the upper computer, the upper computer compares the mapping relation table according to the received data, if the difference occurs, the upper computer sends a unicast request message to the switch through the serial server, the switch sends the IP and mac information of the switch again, if the reply information received by the upper computer is inconsistent with the mapping table, the mapping table is updated, and if the reply information received by the upper computer is consistent with the mapping table, the mapping table is kept unchanged.
The mapping table updating flow chart is shown in fig. 4:
s100, the serial server sends heartbeat packets to the switch at regular intervals;
s200, the exchanger replies the IP and mac information of the equipment to a serial server;
s300, the serial server uploads the reply information to an upper computer, and the upper computer compares the information with the mapping relation table;
if the two are consistent, ending;
if not, sending a unicast state request message to the switch through the upper computer, and replying IP and mac information of the equipment by the switch;
s310, the serial server uploads the reply information to an upper computer, and the upper computer compares the information with the mapping relation table;
if the two are consistent, ending;
and if not, updating the mapping relation table.
When the test environment changes, the state of the switch connected with the serial port end of the serial port server is updated, a heartbeat packet of the serial port server acquires new switch information and sends the new switch information to the upper computer, the upper computer is triggered to send a state request message which comprises corresponding mapping information in the current upper computer, the serial port server compares the information with actual information of the current serial port server after receiving the information, if the information is consistent, the message is not processed, if the information is inconsistent, the serial port server replies latest message information to the upper computer, and the upper computer updates a mapping table according to the received message information;
when a new test environment is added, a new serial server is accessed, after the upper computer receives the information of the new serial server, a configuration message is sent to the serial server to configure the serial server, and then a mapping relation table of the serial server IP-serial number-switch IP-mac is added.
When a serial server or a test environment is newly added, the processing flow of the upper computer is as shown in fig. 5:
1) A new serial server is added;
2) The upper computer receives continuous alarm information of the newly-added serial server;
3) The upper computer unicast issues a configuration command to configure the parameters of the serial server, so that the serial port of the serial server is communicated with the upper computer;
4) The upper computer sends a unicast state request message to the serial server;
5) The serial server converts the request message into serial data and sends the serial data to each serial port connected with the equipment;
6) After receiving the request message, the switch replies the IP and mac information of the equipment;
7) The serial server converts the message received by the serial port end into internet port data, adds serial port number information of the local computer and forwards the internet port data to the upper computer;
8) And the upper computer adds a table entry of the mapping relation table according to the received data.
Step S3 specifically includes:
the upper computer checks switches in batches according to test requirements, issues configuration commands, converts the commands into serial port commands through the serial port server and issues the serial port commands to the switches for batch configuration;
configuring a monitoring command in an upper computer, sending a state request command to a switch at regular time intervals, acquiring state information of the switch, sending alarm information when the memory utilization rate in the state information reaches a set threshold value, triggering a command for collecting the current state information of the switch, sending the request command to the switch, and storing data replied by the switch to the local upper computer for a research and development staff to check;
and if the switch is abnormally restarted, section error alarm or crashed in the test environment, sending data through the Console port and transmitting the data to the upper computer, and storing and alarming after the data is received by the upper computer.
Research personnel can carry out problem reproduction and problem analysis according to the stored abnormal restart, section error alarm or crash information and is used for modifying the configuration of the upper computer.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A system for building and monitoring management of a switch test environment comprises an upper computer, a serial server group and a plurality of switches,
the upper computer is in communication connection with the serial server group and is used for processing the network data converted by the serial server group;
the serial port server group is in communication connection with the upper computer and the switch and is used for receiving Console port data of the switch, converting the Console port data into network data and sending the network data to the upper computer;
the switch is in communication connection with the serial port server group and sends the Console port data to the serial port server group;
the system is characterized in that the upper computer and the switch are respectively arranged in different network environments.
2. The system for building, monitoring and managing the test environment of the switch as claimed in claim 1, wherein the serial server group comprises one or more serial servers, and the number of the serial servers in the serial server group is adjusted according to the relationship between the number of the serial servers and the number of the Console ports of the switch.
3. The system for building, monitoring and managing the switch test environment according to claim 2, wherein the upper computer is further used for data processing, managing the state of the switch and monitoring the state of the switch.
4. A method for building and monitoring management of a switch test environment is characterized by comprising the following steps:
s1, building a test environment, configuring serial servers in batches, and building a communication channel between an upper computer and a Console port of a switch;
s2, establishing a mapping relation table of the serial server IP-serial number-switch IP-mac;
and S3, configuring the switches in batches, managing and monitoring the switches through the upper computer, and recording and storing alarm information of the switches.
5. The method for building and monitoring management of the switch test environment according to claim 4, wherein the step S1 specifically comprises:
the test environment establishing process specifically comprises the steps of connecting the Console port of the switch in the test environment with the serial port of the serial server, connecting the net port of the serial server with the network where the upper computer is located, and when the total number of serial ports of the serial server group is not less than the number of Console ports of all switches, not increasing the serial servers, otherwise, increasing the serial servers.
6. The method for switch test environment setup and monitoring management according to claim 5, wherein the step S1 further comprises:
the process of configuring the serial servers in batches specifically comprises the steps of scanning the serial servers by using an upper computer, obtaining the configuration of each serial port of the serial servers, selecting the serial ports in batches according to the parameters of the switches in the test environment, modifying the working modes and the parameters of the serial ports of the serial servers in batches, and directing the destination address of the internet access connection to the upper computer.
7. The method for switch test environment building and monitoring management according to claim 4, wherein the step S2 specifically comprises:
sending an information request message to each switch in a test environment by using an upper computer, and acquiring the corresponding relation between the IP-serial number of the serial server and the IP-mac of the switch;
the upper computer sends a state request broadcast message to the serial server, after the serial server receives the state request broadcast message, the serial server configures converted serial data as heartbeat packets of each serial port, simultaneously the serial server converts the state request broadcast message into serial data to send to each serial port, a switch Console port in a test environment receives the state request broadcast message and sends back a reply message, IP and mac information of the switch are added into the reply message to the serial server, the serial server converts the reply message sent back by the Console port into network data, adds a source serial number and sends back the reply message to the upper computer in a unicast mode, and the upper computer establishes a mapping relation table according to the IP and mac information of the switch, the serial number of the serial server and the source serial IP information of the serial server.
8. The method for switch test environment building and monitoring management according to claim 7, wherein the step S2 further comprises:
after the serial server sends the heartbeat packet to the switch, the switch sends the IP and mac information of the switch to the serial server, the serial server returns the IP and mac information of the switch and serial number to the upper computer, the upper computer compares the mapping relation table according to the received data, if the difference occurs, the upper computer sends a unicast request message to the switch through the serial server, the switch sends the IP and mac information of the switch again, if the reply information received by the upper computer is inconsistent with the mapping table, the mapping table is updated, and if the reply information received by the upper computer is consistent with the mapping table, the mapping table is kept unchanged.
9. The method for switch test environment building and monitoring management according to claim 8, wherein the step S2 further comprises:
when the test environment changes, the state of the switch connected with the serial port end of the serial port server is updated, a heartbeat packet of the serial port server acquires new switch information and sends the new switch information to the upper computer, the upper computer is triggered to send a state request message which comprises corresponding mapping information in the current upper computer, the serial port server compares the information with actual information of the current serial port server after receiving the information, if the information is consistent, the message is not processed, if the information is inconsistent, the serial port server replies latest message information to the upper computer, and the upper computer updates a mapping table according to the received message information;
when a new test environment is added, a new serial server is accessed, after the upper computer receives the information of the new serial server, a configuration message is sent to the serial server to configure the serial server, and then a mapping relation table of the serial server IP-serial number-switch IP-mac is added.
10. The method for building and monitoring management of the switch test environment according to claim 4, wherein the step S3 specifically comprises:
the upper computer checks switches in batches according to test requirements, issues configuration commands, converts the commands into serial commands through the serial server and issues the serial commands to the switches for batch configuration;
configuring a monitoring command in an upper computer, sending a state request command to a switch at regular time intervals, acquiring state information of the switch, sending alarm information when the memory utilization rate in the state information reaches a set threshold value, triggering a command for collecting the current state information of the switch, sending the request command to the switch, and storing data replied by the switch to the local upper computer for a research and development staff to check;
when the switch is abnormally restarted, a section error alarm or a crash occurs in the test environment, data is sent out through the Console port and is transmitted to the upper computer, and the upper computer receives the data and then stores and alarms.
CN202211528576.6A 2022-11-30 2022-11-30 System and method for building, monitoring and managing switch test environment Pending CN115811491A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211528576.6A CN115811491A (en) 2022-11-30 2022-11-30 System and method for building, monitoring and managing switch test environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211528576.6A CN115811491A (en) 2022-11-30 2022-11-30 System and method for building, monitoring and managing switch test environment

Publications (1)

Publication Number Publication Date
CN115811491A true CN115811491A (en) 2023-03-17

Family

ID=85484703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211528576.6A Pending CN115811491A (en) 2022-11-30 2022-11-30 System and method for building, monitoring and managing switch test environment

Country Status (1)

Country Link
CN (1) CN115811491A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118041693A (en) * 2024-04-11 2024-05-14 国网浙江省电力有限公司杭州市富阳区供电公司 Security defense method, system, equipment and medium of switch

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118041693A (en) * 2024-04-11 2024-05-14 国网浙江省电力有限公司杭州市富阳区供电公司 Security defense method, system, equipment and medium of switch

Similar Documents

Publication Publication Date Title
US6205122B1 (en) Automatic network topology analysis
US7719956B2 (en) Trunk network system for multipoint-to-multipoint relay
US20050047350A1 (en) Apparatus and methods for discovery of network elements in a network
US10530673B2 (en) Telemetry for servers and devices using a link-layer protocol
WO2009089742A1 (en) Distributed network management collection system, realization method and corresponding device
KR20040104327A (en) Home network system
JPH07245614A (en) Method for measuring inter-equipments distance on lan and equipment therefor
CN115811491A (en) System and method for building, monitoring and managing switch test environment
CN107623752B (en) Network management method and device based on link layer
CN113518125A (en) Offline data uploading method and system, storage medium and electronic device
AT515450B1 (en) Procedure for communication in a satellite network
CN110213089B (en) Method and system for accessing large-scale remote zero configuration equipment to network management
WO2021249546A1 (en) Network monitoring method, electronic device and storage medium
CN113259893B (en) Power distribution body area network node authentication system and method
TWI737015B (en) Communication method of wireless sensing network
JP2000134203A (en) Network management system and its management method
CN116886515A (en) Remote maintenance system for communication equipment
CN116708148B (en) Network diagnosis method and electronic equipment
JP4673532B2 (en) Comprehensive alignment process in a multi-manager environment
CN114448528B (en) Method and device for determining fault cause
CN116346634A (en) State sensing information processing method and device of network management and control system and electronic equipment
CN115277790A (en) Plug-and-play self-registration communication method for distributed power supply
CN114915936A (en) Wireless Mesh network system, connection method and transmission structure of sensing data
CN113691454A (en) Industrial Internet of things data acquisition and management method and system
KR102254775B1 (en) Method and apparatus for managing topology

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination