CN101534223A - Device and method for testing network switching equipment - Google Patents

Device and method for testing network switching equipment Download PDF

Info

Publication number
CN101534223A
CN101534223A CN200810101710A CN200810101710A CN101534223A CN 101534223 A CN101534223 A CN 101534223A CN 200810101710 A CN200810101710 A CN 200810101710A CN 200810101710 A CN200810101710 A CN 200810101710A CN 101534223 A CN101534223 A CN 101534223A
Authority
CN
China
Prior art keywords
port
test
tested
signal line
ports
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
CN200810101710A
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 CN200810101710A priority Critical patent/CN101534223A/en
Publication of CN101534223A publication Critical patent/CN101534223A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a device and a method for testing network switching equipment, wherein the device comprises: a main control unit connected with a test execution unit and an Ethernet interface treatment unit respectively and used for sending a test command to the test execution unit, receiving test results and sending port switching control information to the Ethernet interface treatment unit; the Ethernet interface treatment unit used for mutually connecting a plurality of ports of the unit according to the switching control information; and the test execution unit used for receiving the test command to configure a tested system veneer and further used for sending out test data through the test port, comparing returned data with the test data and reporting the test results to the main control unit. By the application of the technology provided by the invention, special instruments are not needed, and all main composition units are acquired easily and have low cost and no technical difficulties, thus being beneficial to the reduction of cost input for testing equipment; and the method can test the functions of the tested system veneer conveniently and rapidly, thus being suitable for the production test of the network switching system veneers produced in large scale.

Description

Device and method for testing network switching equipment
Technical Field
The present invention relates to a testing technique for network switching devices, and more particularly, to a device and a method for testing a network switching device.
Background
With the great application of the IP technology in the development, debugging and production processes of communication equipment, more and more network switching devices are used in the communication equipment. At present, tests aiming at network switching equipment have various mature test standards and test methods, corresponding test software and test instruments also have a plurality of mature products, but most of the test instruments aim at the communication performance test of a single network port or double network ports, are more suitable for the research and development test of the network switching equipment and the performance test of a complete machine system, and cannot be suitable for the rapid test during the mass production of the network switching equipment.
In the current common test method for the network switching equipment, a network test special instrument is used for testing the ports of the network switching equipment, and due to the limitation of the ports of the instrument and the requirement of manual cable replacement, the number of the simultaneously tested ports is limited, the test efficiency is low, and the requirement on the technical capability of an operator is high. The replacement of the cable is realized by equipping a special switching module, and the configuration and the test of the special instrument are controlled by a program, so that although the test efficiency is improved to a certain extent, the special instrument is expensive in cost and small in configuration quantity, and the output of the network switching equipment which is increased in a face of the increasing rate can not meet the requirement gradually.
Or, a computer or an industrial personal computer with an Ethernet interface is adopted to match with special test software to send Ethernet test data to replace a special instrument. For example, 2 computers with ethernet interfaces are arranged to realize a port connection link with the network switching device to be tested through the intermediate hub device, the switching module and the interface module, wherein 1 computer controls the switching module and initiates ethernet data communication to another computer at the other end of the link, and the working condition of a certain port of the network switching device to be tested is judged through receiving and transmitting network communication data. This device and method do solve the problem of expensive dedicated instruments, but from the above description it can be seen that the whole test system is complex, has many cables, requires many auxiliary modules; in addition, the test method has a defect in test efficiency: the ports of 2 computers communicating with each other adopt IP addresses of the same network segment, one computer sends TCP/IP protocol data to the other computer during testing, the connection between 2 computers and a certain 2 ports of the network switching equipment is respectively communicated through the switching module, and the network switching equipment inquires and forwards data in an MAC table of each port according to Media Access Control (MAC) address information carried by the data head after receiving the data, so that the switching module switches network connection, but the network switching equipment needs a period of time for reestablishing a new communication link, and the testing efficiency cannot be improved due to the reason; in addition, in the actual use process, the switching mode has various unstable conditions due to the fact that the test system is complex, cables are connected in a large number, the number of matched modules is large, and the maintenance workload is large.
Disclosure of Invention
The invention aims to provide a device and a method for testing network switching equipment, which are used for solving the defects that a special instrument required for testing the network switching equipment is too expensive and has low testing efficiency, and the testing efficiency is low and the testing equipment is difficult to maintain due to the fact that the network switching equipment needs a period of time for reestablishing a new communication link in the prior art.
An apparatus for testing a network switching device, comprising: the device comprises a main control unit, a test execution unit and an Ethernet interface processing unit; the main control unit is respectively connected with the test execution unit and the Ethernet interface processing unit; the Ethernet interface processing unit is used for sending a test command to the test execution unit, receiving a test result reported by the test execution unit and sending port switching control information to the Ethernet interface processing unit; the Ethernet interface processing unit is used for interconnecting the receiving signal lines and the sending signal lines of a plurality of ports on the Ethernet interface processing unit according to the switching control information; the test execution unit is used for receiving the test command from the main control unit to configure the tested system single board, so that a test port and the tested port to be tested form a loop path each time; and the test execution unit is also used for sending test data through the test port, returning the test data to the test execution unit after the test data passes through the loopback path to obtain return data, comparing the return data with the test data to obtain the test result, and reporting the test result to the main control unit.
A method of testing a network switching device, comprising the following test procedures: sending test data to a test port formed by an Ethernet exchange circuit and a test execution unit on a tested system single board, and returning the test data to the test port after passing through at least one tested port formed by the Ethernet exchange circuit and an Ethernet interface processing unit; and returning the test data to the test execution unit from the test port to obtain return data, comparing the return data with the test data and determining the condition of the port to be tested.
By applying the technology provided by the invention, a special instrument is not needed, all main components required by the testing device are easy to obtain, the cost is low, the connecting combination has no technical difficulty, and the input cost of the testing device is favorably reduced; the function test can be conveniently and quickly carried out on the tested system single board, and the method is suitable for carrying out production test on the network switching equipment system single boards produced in large batch.
Drawings
FIG. 1 is a schematic structural diagram of a preferred embodiment of a testing apparatus according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of another preferred embodiment of a testing device according to the present invention;
fig. 3 is a schematic diagram of an internal structure of an ethernet interface processing unit according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a port connection mode 1 of an ethernet interface processing unit according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a port connection mode 2 of an ethernet interface processing unit according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a port connection mode 3 of an ethernet interface processing unit according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of a testing process according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical features and effects of the present invention more apparent, preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.
The invention provides a device for testing network switching equipment, which at least comprises the following testing units: a main control unit 101, a test execution unit 102, a communication interface unit 103, and an ethernet interface processing unit 104; the test units jointly form a test device for testing the network switching equipment, generally, the network switching equipment refers to a system single board for realizing a network switching function, the system single board comprises an ethernet switching circuit 105 and a single board processor, each test unit and the ethernet switching circuit 105 positioned on the system single board form a test system, and the system single board can be called as a tested system single board at this time; the function of each test unit is described as follows:
the main control unit 101 controls the test start and end of the test execution unit 102; the method specifically comprises the following steps: by issuing a command to the test execution unit 102, starting the test execution unit 102 to implement the test on the tested system single board; receiving and processing the test result reported by the test execution unit 102, and giving information whether each switch port of the tested system single board has a fault according to the test result. The main control unit 101 may be a program module located on a common computer, for example, implemented by a personal computer, and communicates with the test execution unit 102 through a communication port such as a serial port or a network port; the specific testing process for the ethernet switch circuit 105 on the tested system board is implemented by the program module, and the program module can be customized according to the specific needs of the test. The communication port such as a serial port or a network port is the communication interface unit 103.
The test execution unit 102 is configured to receive a command from the main control unit 101, and configure the ethernet switching circuit 105 and other unit modules on the tested system board; the test data is sent and received through the test port, the test result is obtained after the sent test data is compared with the received return data, and the test result is reported to the main control unit 101. The test execution unit 102 may be located in a computer where the main control unit 101 is located, or may be located in a system board under test, and is executed by a processor on the board, depending on whether a specific system board under test has a processor circuit capable of sending test data.
The communication interface unit 103 is connected with the main control unit 101 and the test execution unit 102, and is used for realizing information communication between the main control unit 101 and the test execution unit 102; and is further connected with the ethernet interface processing unit 104 to realize the communication between the main control unit 101 and the ethernet interface processing unit 104.
The ethernet interface processing unit 104 is connected to the ethernet switching circuit 105 and the communication interface unit 103, respectively, and is configured to implement various interconnection processing on the ethernet switch port signal of the tested system board. The method specifically comprises the following steps: and comprehensively considering according to the fault positioning requirement and the test efficiency requirement, and realizing the interconnection processing of different switching port signals through a switching circuit. The ethernet interface processing unit 104 may be a hardware Board, for example, implemented in a Printed Circuit Board (PCB) Circuit form, or implemented in a test fixture form, or select another connection method meeting the requirement according to a port type of the tested system Board, where the port type at least includes: high density jacks, RJ45 jacks (IEC (60)603-7 standardized using 8 position (8 pin) modular jacks or plugs defined by international connector standards), fiber optic interfaces, and the like.
The specific operation principle and process of the preferred embodiment of the present invention will be described in more detail with reference to fig. 1 and 2. Fig. 1 and fig. 2 show preferred embodiments of a testing apparatus composed of each testing unit, and indicate a connection relationship between a tested system board and each testing module in the apparatus. Fig. 1 shows a case where a tested system board has a processor capable of sending network data, fig. 2 shows a case where the tested system board only provides a network switching function, and the two cases differ only in relation to the relationship between the test execution unit 102 and the tested system board, that is, in the embodiment of fig. 1, the test execution unit 102 is located in the processor of the tested system board, and in the embodiment of fig. 2, the test execution unit 102 is located outside the tested system board; the rest is not substantially different. A preferred embodiment of the present invention will be described in detail, taking only fig. 1 as an example.
In the test apparatus shown in fig. 1, at least: a main control unit 101, a test execution unit 102, a communication interface unit 103, and an ethernet interface processing unit 104; the connection relation among the units is as follows: the main control unit 101 is connected with the test execution unit 102 through a communication interface unit 103, and test commands and test result information are interacted through the interface unit; the main control unit 101 is connected to the ethernet interface processing unit 104 through the communication interface unit 103, and interacts with the port switching control information through the interface unit. The test execution unit 102 is located on the tested system board and executed by the tested system board processor.
The specific functions of each test unit are as follows:
the main control unit 101 can be implemented in a flexible manner, and can be implemented by using a common computer, and the external communication interface of the main control unit 101 is implemented by using common communication interface forms such as RS232 and ethernet ports. Besides the basic functions, the main control unit 101 can also provide a required user interaction interface according to the actual situation of the test site, and other extended functions: for example, a test result report, data are remotely recorded into a database, and the like, so that returned data can be analyzed when needed, a system single board test failure analysis platform is formed, and referred historical data information is provided for production, processing and testing of the system single board.
The communication interface unit 103 is used for implementing information communication between the main control unit 101 and the test execution unit 102. And is further connected with the ethernet interface processing unit 104 to realize the communication between the main control unit 101 and the ethernet interface processing unit 104.
The internal structure of the ethernet interface processing unit 104 is shown in fig. 3, and is mainly divided into an ethernet interface portion 303, a switching circuit 302 and a control circuit 301, where the control circuit 301 interacts with the main control unit 101 through the communication interface unit 103, receives port switching control information of the main control unit 101, and interconnects the transmitting and receiving signal lines of each switching port of the ethernet interface portion 303 through the switching circuit 302; whichever of the interconnections in fig. 4, 5 or 6 is used, the testing process should follow the following basic steps:
a, a test execution unit 102, according to a test instruction of a main control unit 101, first configuring an ethernet switch circuit 105 of a tested system board, and making a test port and a certain tested port in one Virtual Local Area Network (VLAN) by using the characteristic that a plurality of ports of the ethernet switch circuit 105 can be set to different VLANs;
wherein, the connection between the ethernet switching circuit 105 and the ethernet interface processing unit 104 forms a plurality of tested ports;
the test port refers to a network port through which the ethernet switch 105 on the board of the system under test is connected to the test execution unit 102.
B, sending test data in the VLAN through the test port;
wherein the test data at least comprises: test data packets or broadcast packets.
For the test data packet or the broadcast packet, the paths through the test data packet or the broadcast packet are slightly different:
if the test data packet is a test data packet, it should be noted that the destination MAC address of the test data packet is the MAC address of the test port, and the source MAC address must not be the MAC address of the test port; the test data packet is sent out through the sending signal line of the tested port, and returns to the switching circuit through the receiving signal line of the tested port after being switched and controlled by the ethernet interface processing unit 104;
if the broadcast packet is the broadcast packet, unconditionally sending the broadcast packet to all ports of the same VLAN, and sending all the broadcast packets back to the test port;
the test packet destined for the processor port MAC address is also eventually sent back to the test port.
And d, the test data is called return data after returning to the test execution unit 102, and the test execution unit 102 compares the received return data with the sent test data and judges whether the received return data is consistent with the sent test data, so that whether the tested port is normal is judged.
In the above description, several basic steps to be followed in the testing process are described, since the tested ports of the tested system board may be interconnected in different manners, the interconnection in different manners is described below, and the interconnection principle may be summarized as follows: all ports are guaranteed to be detected, and the number of times of sending test data for detection is as small as possible.
In fig. 4, ports 1 (a first tested port) to N (an nth tested port) are all tested ports, in all the switch ports of the ethernet interface processing unit 104, a sending signal line and a receiving signal line of the same switch port are looped back and connected, and the test port and each tested port form a virtual local area network; it is necessary to test the test data transmitted and received in the VLAN formed by each tested port and the test port.
However, as shown in the cascade test of fig. 5, it is described that the number of all the switch ports of the ethernet interface processing unit 104 is odd, the transmit signal line and the receive signal line of the adjacent switch ports are respectively connected, and the transmit signal line and the receive signal line of the last switch port are looped back to be connected; the first tested port is connected with the test port to form a virtual local area network; all the ports except the first tested port are interconnected to form a virtual local area network. Fig. 5 can be specifically described as that port 1 and port 2 are interconnected, port 3 and port 4 are interconnected, and port 5 and port 6 are interconnected, i.e., a transmission signal line (TX) of port 1 is connected with a reception signal line (RX) of port 2, a reception signal line of port 1 is connected with a transmission signal line of port 2, and ports 3 and 4, and ports 5 and 6 are connected in the same manner as ports 1 and 2; it is necessary to set the port 1 and the test port to one VLAN, and the port 2 and the port 3 to one VLAN.. said.. so, that is, the port 1 is located on the transmission signal line of the ethernet switch circuit 105 and connected to the test port, the port 1 is located on the reception signal line of the ethernet switch circuit 105 and connected to the test port, meanwhile, the TX of the port 2 is located on the RX connection of the ethernet switch circuit 105 and the RX of the port 3 is located on the ethernet switch circuit 105, and the RX of the port 2 is located on the ethernet switch circuit 105 and the TX of the port 3 is located on the ethernet switch circuit 105; at this point, the test data will go through the test port to port 1, then through the ethernet interface processing unit 104 to port 2, and then forwarded by port 2 within the ethernet switching circuit 105 to port 3. If the number of the external ethernet interfaces to the tested system board is an even number, as shown in fig. 6, if the number of all the switch ports of the ethernet interface processing unit 104 is an even number, the sending signal line and the receiving signal line of the adjacent switch ports are connected respectively; port 1 of the ethernet switching circuit 105 is connected to the test port to form a virtual local area network; the last port of the exchange circuit is connected with the test port to form a virtual local area network; the port 1 and the port N +1 are independently used as a VLAN, and adjacent tested ports in all tested ports except the port 1 and the port N +1 form a virtual local area network through interconnection; as can be seen in fig. 6, the test data is finally sent back to the test port at RX port N +1, and similarly, in the second test, the test data is sent out through TX port N +1, and finally sent back to the test port at RX port 1, so that for even number of tested ports, the test is required to be performed twice.
In the preferred embodiment of fig. 5, the test execution unit 102 only needs to send and receive test data once to complete the test of all the ports under test, while in the preferred embodiment of fig. 6, the test execution unit 102 only needs to send and receive test data twice to complete the test of all the ports under test; the test efficiency is obviously improved, but the fault location is not facilitated. In the embodiment shown in fig. 4, it is beneficial to locate the fault of the tested port, but because each tested port needs to be tested separately, the testing efficiency is low, so the two methods are respectively long.
To further illustrate the specific steps and the operation specification of the test in the above embodiment of the present invention, as shown in fig. 7, the step of performing the function test on the port of the ethernet switching circuit 105 located on the system board in the method of the present invention is specifically described as follows:
step 701, the main control unit 101 initializes the test environment and the tested system board.
Step 702, the command sent by the main control unit 101 is sent to the ethernet interface processing unit 104 through the communication interface unit 103, and controls the switching port thereof to perform connection switching.
Step 703, the test command sent by the main control unit 101 reaches the test execution unit 102 through the ethernet switching circuit 105.
Step 704, the test execution unit 102 sets the VLAN of the ethernet switching circuit 105 to be tested.
Step 705, the test execution unit 102 sends and receives test data packets or broadcast packets within the set VLAN.
Step 706, the test execution unit 102 compares whether the transmitted and received test data packets or broadcast packets are consistent and gives a test result, if so, the next test is continued, otherwise, the test result corresponding to the tested port is recorded.
And step 707, judging whether all the tested ports are tested, if not, returning to step 703 for execution, otherwise, executing the next step 708.
Step 708, the test execution unit 102 returns all test results to the main control unit 101.
And 709, the main control unit 101 sorts all the test results and displays the test results on the user interface.
For the above-described working steps, the flow direction of the test data is different for different connection structures, and as described with reference to fig. 5 and 6, the method specifically includes:
as shown in fig. 6, the number of all ports of the ethernet interface processing unit 104 is even, and the testing process further includes: the test data is sent from the test port to the sending signal line of the switching port through the sending signal line of the tested port, and is sent back to the receiving signal line of the adjacent switching port of the switching port and returns to the receiving signal line of the tested port connected with the adjacent switching port; a transmission signal line to be sent to a port to be tested adjacent to the port to be tested in the ethernet switch circuit 105; finally, the received signal line passing through the last tested port returns to the test port.
Or,
as shown in fig. 5, if the number of all ports of the ethernet interface processing unit 104 is odd, the transmitting signal line and the receiving signal line of the adjacent ports are connected respectively, and the transmitting signal line and the receiving signal line of the last port are looped back to be connected; port 1 of the ethernet switching circuit 105 is connected to a test port to form the virtual local area network; in all ports except port 1, the transmission signal lines and the reception signal lines of adjacent ports are interconnected to form a virtual local area network. The test data is sent from the test port to the sending signal line of the switching port through the sending signal line of the tested port, and is sent back to the receiving signal line of the adjacent switching port of the switching port and returns to the receiving signal line of the tested port connected with the adjacent switching port; a transmission signal line to be sent to a port under test adjacent to the port under test in the ethernet switch circuit 105; the signal is received through the receiving signal line of the last tested port and returns to the sending signal line of the last tested port; finally, the received signal line of the first tested port returns to the test port.
The above-described preferred embodiments of the working principle of the present invention are described by taking the VLAN setting mode as an example, but the method of the present invention is not limited to the VLAN mode, and other functions of the ethernet switching circuit 105 chip may also be utilized, such as: the port disabling function, the Bridge Protocol Data Unit (BPDU) broadcast packet mode established according to the Spanning Tree Protocol (STP), and the like are supported to complete the test. The methods can ensure that only one tested port is tested by sending test data without interference at the same time, can avoid the defects of link disconnection and waiting time delay when a link is reestablished due to the learning of an MAC address, and ensure higher test efficiency.
In the device for testing the network switching equipment, a special instrument is not needed, the acquisition of each main component testing unit is simple, the cost is low, the technical difficulty is avoided, and the input cost of the testing device is favorably reduced; the function test can be conveniently and rapidly carried out on the tested system single board, and the method is suitable for carrying out production test on the network switching system single board produced in large scale.
It should be noted that the above preferred embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting, and all the values of the parameters can be adjusted according to the actual situation and are within the scope of the claims. It will be understood by those skilled in the art that various modifications and equivalent arrangements may be made without departing from the spirit and scope of the present invention and shall be covered by the appended claims.

Claims (14)

1. An apparatus for testing a network switching device, comprising: the device comprises a main control unit, a test execution unit and an Ethernet interface processing unit;
the main control unit is respectively connected with the test execution unit and the Ethernet interface processing unit; the Ethernet interface processing unit is used for sending a test command to the test execution unit, receiving a test result reported by the test execution unit and sending port switching control information to the Ethernet interface processing unit;
the Ethernet interface processing unit is used for interconnecting the receiving signal lines and the sending signal lines of a plurality of ports on the Ethernet interface processing unit according to the switching control information;
the test execution unit is used for receiving the test command from the main control unit to configure the tested system single board, so that a test port and the tested port to be tested form a loop path each time; and the test execution unit is also used for sending test data through the test port, returning the test data to the test execution unit after the test data passes through the loopback path to obtain return data, comparing the return data with the test data to obtain the test result, and reporting the test result to the main control unit.
2. The apparatus of claim 1, further comprising a communication interface unit;
the main control unit is connected with the test execution unit and the Ethernet interface processing unit through the communication interface unit.
3. The apparatus of claim 2, wherein the master control unit is located in a computer, and the communication interface unit at least comprises: a serial port and a network port of the computer.
4. The apparatus of claim 3, wherein the test execution unit is located in the computer.
5. The apparatus according to claim 1, wherein said tested system board further comprises a processor;
the test execution unit is built in the processor.
6. The apparatus of claim 1, wherein the connection between the ethernet switching circuitry and the test execution unit forms the test port;
the connection between the Ethernet exchange circuit and the Ethernet interface processing unit forms a plurality of tested ports;
the step of configuring the tested system single board by the test execution unit further includes: setting the test port and the specific port to be tested in a virtual local area network;
or two different tested ports are arranged in one virtual local area network.
7. The apparatus of claim 6, wherein the ethernet interface processing unit is configured to interconnect the receive signal lines and the transmit signal lines of the plurality of switch ports on the unit further comprises:
the receiving signal line and the sending signal line of the same switching port are connected;
and the receiving signal line and the sending signal line of different switching ports are connected.
8. The apparatus according to claim 7, wherein in all the switch ports of the ethernet interface processing unit, the transmission signal line and the reception signal line of the same switch port are looped back and connected, and the test port forms one virtual local area network with each of the tested ports;
or,
if the number of all the switching ports of the Ethernet interface processing unit is an even number, the sending signal line and the receiving signal line of two adjacent switching ports are respectively connected; the first tested port is connected with the test port to form the virtual local area network; the last tested port of the exchange circuit is connected with the test port to form the virtual local area network; in all the tested ports except the first tested port and the last tested port, the adjacent tested ports form the virtual local area network through interconnection;
or,
if the number of all the switching ports of the ethernet interface processing unit is odd, the transmitting signal line and the receiving signal line of two adjacent switching ports are respectively connected, and the transmitting signal line and the receiving signal line of the last switching port are connected in a loopback manner; the first tested port is connected with the test port to form the virtual local area network; and in all the tested ports except the first tested port, the adjacent tested ports form the virtual local area network through interconnection.
9. The apparatus of claim 1, wherein the test data is a test data packet or a broadcast packet;
and the target medium access control address contained in the test data packet is different from the source medium access control address, and the target medium access control address is the medium access control address of the test port.
10. A method of testing a network switching device, comprising the steps of:
sending test data to a test port formed by an Ethernet exchange circuit and a test execution unit on a tested system single board, and returning the test data to the test port after passing through at least one tested port formed by the Ethernet exchange circuit and an Ethernet interface processing unit;
and returning the test data to the test execution unit from the test port to obtain return data, comparing the return data with the test data and determining the condition of the port to be tested.
11. The method of claim 10, wherein sending the test data further comprises:
setting the test port and the specific port to be tested in a virtual local area network;
or two different tested ports are arranged in one virtual local area network.
12. The method according to claim 11, wherein in all the switch ports of the ethernet interface processing unit, the transmission signal line and the reception signal line of the same switch port are looped back; the test port and each tested port form a virtual local area network respectively;
the test procedure further comprises:
the test data sent by the test execution unit in each virtual local area network reaches the sending signal line of the switching port through the sending signal line of the tested port by the test port and is looped back to the receiving signal line of the switching port;
and returning to the test port through the receiving signal line of the tested port again, and reaching the test execution unit to obtain the return data.
13. The method according to claim 11, wherein if the number of all the switch ports of the ethernet interface processing unit is an even number, the transmission signal line and the reception signal line of the adjacent switch ports are connected respectively; the first tested port is connected with the test port to form the virtual local area network; the last tested port is connected with the test port to form the virtual local area network; adjacent tested ports in all tested ports except the first tested port and the last tested port form the virtual local area network through interconnection; the test procedure further comprises:
the test data reaches the sending signal line of the switching port from the test port through the sending signal line of the tested port, is sent back to the receiving signal line of the adjacent switching port of the switching port and returns to the receiving signal line of the tested port connected with the adjacent switching port;
a transmission signal line in the Ethernet switching circuit, which is sent to the adjacent tested port of the tested port; finally, the received signal wire of the last tested port returns to the testing port.
14. The method according to claim 11, wherein if the number of all the switch ports of the ethernet interface processing unit is odd, the transmit signal line and the receive signal line of the adjacent switch ports are respectively connected, and the transmit signal line and the receive signal line of the last switch port are looped back to be connected; a first tested port of the Ethernet switching circuit is connected with the test port to form the virtual local area network; adjacent tested ports in all tested ports except the first tested port form the virtual local area network through interconnection; the test procedure further comprises:
the test data reaches the sending signal line of the switching port from the test port through the sending signal line of the tested port, is sent back to the receiving signal line of the adjacent switching port of the switching port and returns to the receiving signal line of the tested port connected with the adjacent switching port;
a transmission signal line in the Ethernet switching circuit, which is sent to the adjacent tested port of the tested port; the signal is received through the receiving signal line of the last tested port and returns to the sending signal line of the last tested port; finally, the signal is returned to the test port through the receiving signal line of the first tested port.
CN200810101710A 2008-03-11 2008-03-11 Device and method for testing network switching equipment Pending CN101534223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810101710A CN101534223A (en) 2008-03-11 2008-03-11 Device and method for testing network switching equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810101710A CN101534223A (en) 2008-03-11 2008-03-11 Device and method for testing network switching equipment

Publications (1)

Publication Number Publication Date
CN101534223A true CN101534223A (en) 2009-09-16

Family

ID=41104626

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810101710A Pending CN101534223A (en) 2008-03-11 2008-03-11 Device and method for testing network switching equipment

Country Status (1)

Country Link
CN (1) CN101534223A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101997737A (en) * 2010-11-04 2011-03-30 中兴通讯股份有限公司 Method for positioning errors of serial port and system
CN101789889B (en) * 2010-01-14 2011-11-23 瑞斯康达科技发展股份有限公司 Method and system for automatic testing communication equipment
CN102355380A (en) * 2011-08-17 2012-02-15 迈普通信技术股份有限公司 Hardware testing device and method for synchronous asynchronous serial interface
CN102377606A (en) * 2010-08-11 2012-03-14 鸿富锦精密工业(深圳)有限公司 Network connection device and port test method thereof
CN102447591A (en) * 2010-12-31 2012-05-09 北京谊安医疗系统股份有限公司 System and method for testing multiple serial devices
WO2015014175A1 (en) * 2013-07-29 2015-02-05 中兴通讯股份有限公司 Commissioning method, master control board, and service board
CN104601407A (en) * 2015-01-23 2015-05-06 北京奥普维尔科技有限公司 Intelligent network testing method
CN105871653A (en) * 2016-03-23 2016-08-17 四川华拓光通信股份有限公司 Rapid test system and method of QSFP(Quad Small Form-factor Pluggable)+ to 4SFP(Small Form-factor Pluggable)+ high speed cable
CN106941429A (en) * 2017-03-17 2017-07-11 深圳怡化电脑股份有限公司 One kind communication method for testing reliability and system
CN110687363A (en) * 2018-07-04 2020-01-14 佛山市顺德区顺达电脑厂有限公司 SFP port test fixture
CN111147318A (en) * 2018-11-05 2020-05-12 佛山市顺德区顺达电脑厂有限公司 Testing tool for network connection port
CN111162966A (en) * 2019-12-23 2020-05-15 广州视源电子科技股份有限公司 Method and device for testing network interface hardware of receiving card, storage medium and processor
CN111314945A (en) * 2019-12-14 2020-06-19 深圳市共进电子股份有限公司 Test method, system and terminal equipment
CN111314180A (en) * 2020-02-27 2020-06-19 深圳震有科技股份有限公司 Ethernet link test method, terminal and storage medium
CN111669255A (en) * 2020-07-09 2020-09-15 深圳市信锐网科技术有限公司 Loopback test method, device, circuit, equipment and medium for communication equipment network port
CN112241157A (en) * 2020-09-04 2021-01-19 北京新能源汽车技术创新中心有限公司 Loopback testing device and method for diagnosing communication link fault of vehicle central gateway
CN113472600A (en) * 2020-03-31 2021-10-01 烽火通信科技股份有限公司 Multi-node server testing method and system

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789889B (en) * 2010-01-14 2011-11-23 瑞斯康达科技发展股份有限公司 Method and system for automatic testing communication equipment
CN102377606A (en) * 2010-08-11 2012-03-14 鸿富锦精密工业(深圳)有限公司 Network connection device and port test method thereof
WO2012059066A1 (en) * 2010-11-04 2012-05-10 中兴通讯股份有限公司 Method and system for locating fault in serial port
CN101997737A (en) * 2010-11-04 2011-03-30 中兴通讯股份有限公司 Method for positioning errors of serial port and system
CN102447591A (en) * 2010-12-31 2012-05-09 北京谊安医疗系统股份有限公司 System and method for testing multiple serial devices
CN102447591B (en) * 2010-12-31 2015-08-26 北京谊安医疗系统股份有限公司 Test the system and method for multiple serial device
CN102355380A (en) * 2011-08-17 2012-02-15 迈普通信技术股份有限公司 Hardware testing device and method for synchronous asynchronous serial interface
WO2015014175A1 (en) * 2013-07-29 2015-02-05 中兴通讯股份有限公司 Commissioning method, master control board, and service board
CN104348673A (en) * 2013-07-29 2015-02-11 中兴通讯股份有限公司 Debugging and testing method, main control board and business boards
US10198396B2 (en) 2013-07-29 2019-02-05 Xi'an Zhongxing New Software Co., Ltd. Master control board that switches transmission channel to local commissioning serial port of the master control board
CN104601407B (en) * 2015-01-23 2017-12-01 北京奥普维尔科技有限公司 A kind of network intelligence method of testing
CN104601407A (en) * 2015-01-23 2015-05-06 北京奥普维尔科技有限公司 Intelligent network testing method
CN105871653B (en) * 2016-03-23 2019-03-26 四川华拓光通信股份有限公司 The fast testing system and method for 4 SFP+ high speed cable of QSFP+to
CN105871653A (en) * 2016-03-23 2016-08-17 四川华拓光通信股份有限公司 Rapid test system and method of QSFP(Quad Small Form-factor Pluggable)+ to 4SFP(Small Form-factor Pluggable)+ high speed cable
CN106941429A (en) * 2017-03-17 2017-07-11 深圳怡化电脑股份有限公司 One kind communication method for testing reliability and system
CN106941429B (en) * 2017-03-17 2020-07-24 深圳怡化电脑股份有限公司 Communication reliability test method and system
CN110687363A (en) * 2018-07-04 2020-01-14 佛山市顺德区顺达电脑厂有限公司 SFP port test fixture
CN111147318B (en) * 2018-11-05 2022-12-27 佛山市顺德区顺达电脑厂有限公司 Testing tool for network connection port
CN111147318A (en) * 2018-11-05 2020-05-12 佛山市顺德区顺达电脑厂有限公司 Testing tool for network connection port
CN111314945A (en) * 2019-12-14 2020-06-19 深圳市共进电子股份有限公司 Test method, system and terminal equipment
CN111314945B (en) * 2019-12-14 2023-12-05 深圳市共进电子股份有限公司 Test method, system and terminal equipment
CN111162966A (en) * 2019-12-23 2020-05-15 广州视源电子科技股份有限公司 Method and device for testing network interface hardware of receiving card, storage medium and processor
CN111314180A (en) * 2020-02-27 2020-06-19 深圳震有科技股份有限公司 Ethernet link test method, terminal and storage medium
CN111314180B (en) * 2020-02-27 2022-02-18 深圳震有科技股份有限公司 Ethernet link test method, terminal and storage medium
CN113472600A (en) * 2020-03-31 2021-10-01 烽火通信科技股份有限公司 Multi-node server testing method and system
CN113472600B (en) * 2020-03-31 2022-09-02 烽火通信科技股份有限公司 Multi-node server testing method and system
CN111669255A (en) * 2020-07-09 2020-09-15 深圳市信锐网科技术有限公司 Loopback test method, device, circuit, equipment and medium for communication equipment network port
CN112241157A (en) * 2020-09-04 2021-01-19 北京新能源汽车技术创新中心有限公司 Loopback testing device and method for diagnosing communication link fault of vehicle central gateway

Similar Documents

Publication Publication Date Title
CN101534223A (en) Device and method for testing network switching equipment
US9967025B2 (en) Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes
CN101170438B (en) A remote serial port debugging method and its system
CN107592187B (en) Voting method based on dual-channel voting system
CN111522700B (en) Self-testing platform for testing serial RapidIO network switching module
CN111314180B (en) Ethernet link test method, terminal and storage medium
CN107465558B (en) Double-channel voting system
US20120236727A1 (en) Network interface test device
CN109005080B (en) Distributed packet forwarding implementation method, implementation system and automatic test method
CN112511370B (en) Signal test system with self-switching PHY (physical layer) mode
CN111901197B (en) Ethernet interface mode detection device and detection method
CN207588888U (en) A kind of test device and mainboard
CN113067745A (en) Aircraft 1394B bus communication simulation test platform
CN109633414B (en) Backboard testing device and method based on ATCA (advanced telecom computing architecture)
CN109756400A (en) The flow rate test method and system of 10G POE interchanger
US6813729B1 (en) Programmable bi-directional MII testing methodology and device including same
CN109085489B (en) Back plate function test system, design method and test method
CN108089952B (en) Automatic change test equipment
CN205318374U (en) Redundant circuit of RS -232 serial ports
EP2775678B1 (en) Diagnostic port for inter-switch and node link testing in electrical, optical and remote loopback modes
CN208707659U (en) A kind of Ethernet interface physical layer detection circuit based on RMII interface
CN113162872A (en) Self-detection ARINC818 switch capable of dynamically switching and monitoring
CN111740864A (en) Out-of-band network port switching management method and system
CN117749657A (en) Ethernet testing device and method for vehicle-mounted controller
CN220511133U (en) Ethernet testing device and Ethernet testing system

Legal Events

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

Application publication date: 20090916