Summary of the invention
The object of the present invention is to provide the method for a kind of network equipment high-speed port performance test, be applied in the system comprising equipment under test and auxiliary measurement equipment, described equipment under test comprises: at least 2 high-speed ports to be measured, described auxiliary measurement equipment comprises the first low-speed port, the second low-speed port, the first auxiliary survey high-speed port and the second auxiliary survey high-speed port, and the realization that the method is concrete comprises:
Described first low-speed port is connected with a port of network tester, and described second low-speed port is connected with the another port of network tester, and described first low-speed port is identical with described second low-speed port speed; The high-speed port correspondence a certain to be measured that described first auxiliary survey high-speed port is identical with speed is connected, and another high-speed port correspondence to be measured that described second auxiliary survey high-speed port is identical with speed is connected, and other high-speed ports to be measured that speed is identical connect between two.
Further, described method also comprises:
Create multiple VLAN, each VLAN only comprises two high-speed ports to be measured, and two high-speed ports to be measured be connected can not in same VLAN; The VLAN at described first low-speed port place and some VLAN at described first auxiliary survey high-speed port place is same VLAN; The VLAN at described second low-speed port place and some VLAN at described second auxiliary survey high-speed port place is same VLAN; Described first auxiliary survey high-speed port, the second auxiliary survey high-speed port and high-speed port to be measured are all configured in multiple VLAN;
In two high-speed ports be connected, an optional port carries out VLAN mapping configuration.
Further, described method also comprises:
Test data sends from network tester, enter the first low-speed port, send from the first auxiliary survey high-speed port of described first low-speed port place VLAN again, test data with described first low-speed port place VLAN label carries out the replacement of VLAN label when entering the high-speed port to be measured be connected with described first auxiliary survey high-speed port, and the another one high-speed port to be measured after replacing to the VLAN label of some VLAN at described high-speed port place to be measured in some VLAN at described high-speed port place to be measured sends; And/or,
Test data sends from network tester, enter the first low-speed port, test data with described first low-speed port place VLAN label carries out the replacement of VLAN label on the first auxiliary survey high-speed port, send to described high-speed port to be measured after replacing to the VLAN label of some VLAN at the high-speed port place to be measured be connected with described first auxiliary survey high-speed port, then the another one high-speed port to be measured in some VLAN at described high-speed port place to be measured sends;
Traversal is configured in the first auxiliary survey high-speed port in multiple VLAN, high-speed port to be measured and the second auxiliary survey high-speed port successively, until reach the flank speed of high-speed port to be measured after traversal N time, wherein N be greater than 0 integer;
After reaching high-speed port flank speed to be measured, test data sends from the second low-speed port and gets back to network tester.
Further, described method comprises further: in the process of traversal, when after the speed reaching a certain low rate high-speed port to be measured in high-speed port to be measured, this low rate high-speed port to be measured exits port traversal, and follow-up traversal is carried out in residue high-speed port to be measured.
Further, described auxiliary measurement equipment is included in equipment under test.
Another object of the present invention is also the system providing the performance test of a kind of network equipment high-speed port, this system comprises equipment under test, auxiliary measurement equipment and network tester, described equipment under test comprises: at least 2 high-speed ports to be measured, described auxiliary measurement equipment comprises the first low-speed port, the second low-speed port, the first auxiliary survey high-speed port and the second auxiliary survey high-speed port, described first low-speed port is identical with the second low-speed port speed, described first low-speed port is connected with a port of network tester, and the second low-speed port is connected with the another port of network tester; The high-speed port correspondence a certain to be measured that described first auxiliary survey high-speed port is identical with speed is connected, and another high-speed port correspondence to be measured that described second auxiliary survey high-speed port is identical with speed is connected, and other high-speed ports to be measured that speed is identical connect between two.
Further, described equipment under test also comprises VLAN configuration module, and for creating multiple VLAN, each VLAN only comprises two high-speed ports to be measured, and two high-speed ports to be measured be connected can not in same VLAN; Described high-speed port to be measured is configured in multiple VLAN;
Described equipment under test also comprises VLAN and maps configuration module, carries out VLAN map configuration for an optional port in two high-speed ports to be measured be connected;
Described auxiliary measurement equipment also comprises VLAN configuration module, and for creating multiple VLAN, the VLAN at described first low-speed port place and some VLAN at described first auxiliary survey high-speed port place is same VLAN; The VLAN at described second low-speed port place and some VLAN at described second auxiliary survey high-speed port place is same VLAN; Described first auxiliary survey high-speed port and described second auxiliary survey high-speed port are configured in multiple VLAN;
Described auxiliary measurement equipment also comprises VLAN and maps configuration module, carries out VLAN map configuration for selecting the first auxiliary survey high-speed port or the second auxiliary survey high-speed port.
Further, described auxiliary measurement equipment comprises data transmission module, for receiving the test data from network tester, described test data sends from network tester, and the described first auxiliary survey high-speed port from described first low-speed port place VLAN after described first low-speed port sends to equipment under test; And/or, described test data sends from network tester, enter described first low-speed port, test data with described first low-speed port place VLAN label carries out the replacement of VLAN label on described first auxiliary survey high-speed port, sends to equipment under test after replacing to the VLAN label of some VLAN at the high-speed port place a certain to be measured on the equipment under test that is connected with described first auxiliary survey high-speed port from described first auxiliary survey high-speed port;
Described equipment under test also comprises data transmission module, for receiving the test data from described first auxiliary survey high-speed port, carry out the replacement of VLAN label in the test data with described first low-speed port place VLAN label when entering a certain high-speed port to be measured on this equipment be connected with described first auxiliary survey high-speed port, the another one high-speed port to be measured after replacing to the VLAN label of some VLAN at described high-speed port place to be measured in some VLAN at described high-speed port place to be measured sends; And/or, after the test data of VLAN label receiving the some VLAN with the high-speed port place a certain to be measured on this equipment be connected with described first auxiliary survey high-speed port, described test data another high-speed port to be measured through some VLAN at described high-speed port place to be measured is sent;
Described data transmission module on equipment under test, also for traveling through the high-speed port to be measured that is configured in multiple VLAN successively, until reach the flank speed of high-speed port to be measured after traversal N time, wherein N be greater than 0 integer; After reaching the flank speed of high-speed port to be measured, test data sends from the second low-speed port and gets back to network tester.
Further, described data transmission module on equipment under test is also in the process of traversal, when after the speed reaching a certain low rate high-speed port to be measured in high-speed port to be measured, this low rate high-speed port to be measured exits port traversal, and follow-up traversal is carried out in residue high-speed port to be measured.
Further, described auxiliary measurement equipment is included in equipment under test.
Beneficial effect of the present invention is: the present invention mainly utilizes VLAN to map (VirtualLocalAreaNetworkmapping) VLAN label when test data enters into port and replaces, guide test data to circulate in equipment under test inside and outside according to the flow direction of expection, the test data of low-speed port is repeatedly flowed out through low-speed port after high-speed port again.Only need two low-speed ports in the present invention, connected the transmission rate of network tester of low-speed port by adjustment, just can carry out N (N be greater than 0 integer) high-speed port of times network tester transmission rate tests.
Embodiment
Embodiments provide the method for a kind of network equipment high-speed port performance test, its principle utilizes VLAN to map, the replacement of VLAN label is carried out when test data enters into port, guide test data to circulate in equipment under test inside and outside according to the flow direction of expection, the test data of low-speed port is repeatedly flowed out through low-speed port after high-speed port again.In embodiments of the present invention, only need two auxiliary low-speed ports, connected the transmission rate of network tester of low-speed port by adjustment, just can carry out N (N be greater than 0 integer) test of high-speed port of times network tester transmission rate.
For making technical scheme of the present invention clearly, further describe the present invention by reference to the accompanying drawings now, the method of the embodiment of the present invention is applied in the system comprising equipment under test and auxiliary measurement equipment, as shown in Figure 1, described equipment under test comprises: at least 2 high-speed ports to be measured, described auxiliary measurement equipment comprises the first low-speed port, the second low-speed port, the first auxiliary survey high-speed port and the second auxiliary survey high-speed port, and the realization that the method for the embodiment of the present invention is concrete comprises:
Described first low-speed port is connected with a port of network tester, and described second low-speed port is connected with the another port of network tester, and described first low-speed port is identical with described second low-speed port speed; The high-speed port correspondence a certain to be measured that described first auxiliary survey high-speed port is identical with speed is connected, and another high-speed port correspondence to be measured that described second auxiliary survey high-speed port is identical with speed is connected, and other high-speed ports to be measured that speed is identical connect between two.
Create multiple VLAN, each VLAN only comprises two high-speed ports to be measured, and two high-speed ports to be measured be connected can not in same VLAN; The VLAN at described first low-speed port place and some VLAN at described first auxiliary survey high-speed port place is same VLAN; The VLAN at described second low-speed port place and some VLAN at described second auxiliary survey high-speed port place is same VLAN; Described first auxiliary survey high-speed port, the second auxiliary survey high-speed port and high-speed port to be measured are all configured in multiple VLAN,
Wherein, the VLAN pattern of the first low-speed port and the second low-speed port can be configured to access, trunk or hybrid, as long as can interconnection network tester, the VLAN pattern of the first auxiliary survey high-speed port, the second auxiliary survey high-speed port and high-speed port to be measured can be configured to the hybrid of trunk or tape label;
In two high-speed ports be connected, an optional port carries out VLAN mapping configuration.
After having configured, test data through the first low-speed port, enters the first auxiliary survey high-speed port with the first low-speed port place VLAN from network tester, then between high-speed port to be measured, gets back to network tester after traversal through the second low-speed port.Specifically comprise:
Test data sends from network tester, enter the first low-speed port, send from the first auxiliary survey high-speed port of described first low-speed port place VLAN again, test data with described first low-speed port place VLAN label carries out the replacement of VLAN label when entering the high-speed port to be measured be connected with described first auxiliary survey high-speed port, and the another one high-speed port to be measured after replacing to the VLAN label of some VLAN at the place of described high-speed port to be measured in some VLAN at described high-speed port place to be measured sends; And/or,
Test data sends from network tester, enter the first low-speed port, test data with described first low-speed port place VLAN label carries out the replacement of VLAN label on the first auxiliary survey high-speed port, send to described high-speed port to be measured after replacing to the VLAN label of some VLAN at the high-speed port place to be measured be connected with described first auxiliary survey high-speed port, then the another one high-speed port to be measured in some VLAN at described high-speed port place to be measured sends;
Traversal is configured in the first auxiliary survey high-speed port in multiple VLAN, high-speed port to be measured and the second auxiliary survey high-speed port successively, until reach the flank speed of high-speed port to be measured after traversal N time, wherein N be greater than 0 integer; In the process of traversal, when after the speed reaching a certain low rate high-speed port to be measured in high-speed port to be measured, this low rate high-speed port to be measured exits port traversal, and follow-up traversal is carried out in residue high-speed port to be measured.
After reaching high-speed port flank speed to be measured, test data sends from the second low-speed port and gets back to network tester.
Fig. 2 is the annexation figure of embodiment of the present invention network tester, equipment under test and auxiliary measurement equipment upper port, in fig. 2, B, C, D ..., (2M-3), (2M-2), (2M-1) be high-speed port to be measured, A is the first auxiliary survey high-speed port, 2M (M>=2, M be greater than 0 integer) be the second auxiliary survey high-speed port, a1 is the first low-speed port, a2 is the second low-speed port, and (low-speed port herein can also be the low-speed mode of high-speed port, for convenience of describing, be collectively referred to as low-speed port); Dotted line represents that two ports belong to a VLAN, and solid line represents that two ports are connected.
First VLAN at the VLAN at the first low-speed port a1 place and the first auxiliary survey high-speed port A place is same VLAN, first VLAN at high-speed port B place to be measured and first VLAN at high-speed port C place to be measured is same VLAN,, first VLAN at the second auxiliary survey high-speed port 2M place and second VLAN at the first auxiliary survey high-speed port A place is same VLAN; Second VLAN at high-speed port B place to be measured and second VLAN at high-speed port C place to be measured is same VLAN, N-1 the VLAN at the second auxiliary survey high-speed port 2M place and N number of VLAN at the first auxiliary survey high-speed port A place is same VLAN, N number of VLAN at high-speed port B place to be measured and N number of VLAN at high-speed port C place to be measured is same VLAN, and second auxiliary N number of VLAN at survey high-speed port 2M place and the VLAN at the second low-speed port a2 place is same VLAN.Because the test data on two connected ports can not carry out the conversion of VLAN label, therefore only need that VLAN is carried out to the half of high-speed port and map configuration, and configuration need meet two connected high-speed ports only carries out VLAN to one of them high-speed port and map configuration, be in embodiments of the present invention to high-speed port B to be measured, D ..., 2M-2 and the second auxiliary survey high-speed port 2M carry out VLAN map configuration.
After having configured, test data enters from the first low-speed port a1, travel through the first auxiliary survey high-speed port A successively, high-speed port B to be measured, C, D, (2M-1), send through second VLAN at the first auxiliary survey high-speed port A place again after first VLAN at the second auxiliary survey high-speed port 2M place, travel through high-speed port B to be measured more successively, C, D, (2M-1), second VLAN at the second auxiliary survey high-speed port 2M place, until traverse high-speed port place N (N be greater than 0 integer) after individual VLAN reaches the flank speed of high-speed port to be measured, test data flows out to network tester from the second low-speed port a2.In the process of traversal, when after the speed reaching a certain low rate high-speed port to be measured in high-speed port to be measured, this low rate high-speed port to be measured exits port traversal, and follow-up traversal is carried out in residue high-speed port to be measured.Test data traversal is identical in the other direction, forms bidirectional traffics, wherein A, B, C, D ..., (2M-1), the port such as 2M be the port chosen arbitrarily, there is no ordinal relation, the high-speed port assembled arrangement to be measured that any two speed are identical can be selected as required, because test data only can through low-speed port when entering and flow out auxiliary measurement equipment, middle cyclic process and low-speed port have nothing to do, therefore this topological mode can realize N (N be greater than 0 integer) test of high-speed port of times network tester transmission rate, in embodiments of the present invention, network tester can arrange network tester transmission rate according to high-speed port speed/N, its transmission rate size is no more than the flank speed that low-speed port allows, therefore, the flank speed of high-speed port is only limited to the flank speed of low-speed port and the maximum VLAN mapping number of times of chip support.May be used for the test of the higher rate port that 40G/100G high-end at present may occur even later, there is very strong flexibility and autgmentability.
Specific implementation step comprises:
S201, rate ratio according to high-speed port and low-speed port determines the value traveling through times N, wherein N>=high-speed port speed/low-speed port speed, the value of N be greater than 0 integer, test data sends from network tester Single port, enter through the first low-speed port a1, because the VLAN at the first low-speed port a1 place and first VLAN at the first auxiliary survey high-speed port A place is same VLAN, vlan data principle is forwarded according to switch, data can be gone out from other port repeats of the first low-speed port a1 place VLAN, specific to forwarding from the first auxiliary survey high-speed port A exactly here, and because the first auxiliary survey high-speed port A is trunk or tape label, hybrid joins this VLAN, so test data is when the first auxiliary survey high-speed port A sends out, the label of first VLAN at first of correspondence the auxiliary survey high-speed port A place can be brought,
S202, when the test data of first VLAN label with the first auxiliary survey high-speed port A place arrives high-speed port B to be measured, map owing to being configured with VLAN on high-speed port B to be measured, when the test data of first VLAN label with the first auxiliary survey high-speed port A place enters high-speed port B to be measured from the first auxiliary survey high-speed port A, the replacement of VLAN label can be carried out, replace to one of them VLAN at high-speed port B place to be measured (here for convenience of describing, be assigned therein as first VLAN at high-speed port B place to be measured) label, such test data has just entered into first VLAN at high-speed port B place to be measured,
S203, test data are after high-speed port B to be measured enters equipment under test, because first, the place VLAN of high-speed port B to be measured and first VLAN at high-speed port C place to be measured is at same VLAN, vlan data principle is forwarded according to switch, test data can be gone out from other end port repeats of high-speed port B place VLAN to be measured, specific to sending out from first VLAN at high-speed port C place to be measured exactly here;
S204, when the test data of first VLAN label with high-speed port B place to be measured arrives high-speed port D to be measured, map owing to being configured with VLAN on high-speed port D to be measured, when the test data of first VLAN label with high-speed port B place to be measured out enters high-speed port D to be measured again from high-speed port C to be measured, the replacement of VLAN label can be carried out, replace to one of them VLAN at high-speed port D place to be measured (here for convenience of describing, be assigned therein as first VLAN at high-speed port D place to be measured) label, such test data has just entered into first VLAN at high-speed port D place to be measured,
Another high-speed port to be measured belonging to a VLAN from first VLAN with high-speed port D place to be measured after S205, test data arrive first VLAN at high-speed port D place to be measured sends, travel through according to step S201-S204, until test data arrives one of them VLAN (here for convenience of describing, being assigned therein as first VLAN at the second auxiliary survey high-speed port 2M place) at the second auxiliary survey high-speed port 2M place;
S206, test data is after the second auxiliary survey high-speed port 2M enters auxiliary measurement equipment, because first VLAN at the second auxiliary survey high-speed port 2M place and second VLAN at the first auxiliary survey high-speed port A place is same VLAN, vlan data principle is forwarded according to switch, test data can be gone out from other port repeats of the second auxiliary survey high-speed port 2M place VLAN, specific to sending out from the first auxiliary survey high-speed port A exactly here, and hybrid joins this VLAN because the first auxiliary survey high-speed port A is trunk or tape label, so test data is when the first auxiliary survey high-speed port A sends out, the label of first VLAN at the second auxiliary survey high-speed port 2M place can be brought,
S207, repetition step S202-S205, number of repetition is N-2 time, and then repeats step S202-S204, and test data is entered from the second auxiliary survey high-speed port 2M;
S208, test data are after the second auxiliary survey high-speed port 2M enters auxiliary measurement equipment, because second auxiliary N number of VLAN at survey high-speed port 2M place and the VLAN at the second low-speed port a2 place is same VLAN, vlan data principle is forwarded according to switch, test data can be gone out from other end port repeats of the second auxiliary survey high-speed port 2M place VLAN, i.e. the direct another one port being issued to network tester from the second low-speed port a2.
Time in the other direction, test data enters according to from the second low-speed port a2, send from the first low-speed port a1 after the traversal that same S201-S208 is identical and get back to network tester, just in reciprocal ergodic process, owing to being at high-speed port B to be measured, D, 2M-2, the VLAN of configuration on the second auxiliary survey high-speed port 2M maps, therefore test data is when sending from the VLAN being configured with the second auxiliary survey high-speed port 2M place that VLAN maps, the VLAN at high-speed port 2M-1 place to be measured is re-send to after first carrying out the replacement of VLAN label, test data is when sending from the VLAN being configured with the high-speed port B place to be measured that VLAN maps, the VLAN at the first auxiliary survey high-speed port A place is re-send to after first carrying out the replacement of VLAN label.The concrete ergodic process of data is constant, repeats no more herein.
In above-mentioned ergodic process, when after the speed reaching a certain low rate high-speed port to be measured in high-speed port to be measured, this low rate high-speed port to be measured exits port traversal, and follow-up traversal is carried out in residue high-speed port to be measured.
When high-speed port to be measured is 2M+1 (M>=2, M be greater than 0 integer) individual time, high-speed port to be measured is then needed to be divided into twice test, once only test two high-speed ports to be measured, 2M (M>=2 is tested in another time simultaneously, M be greater than 0 integer) individual high-speed port to be measured, test annexation and method of testing constant, repeat no more herein.
Fig. 3 is the network topological diagram that the auxiliary measurement equipment of the embodiment of the present invention is included in equipment under test, in figure 3, B, C, D ..., (2M-3), (2M-2), (2M-1) be high-speed port to be measured.A is the first auxiliary survey high-speed port, 2M (M>=2, M be greater than 0 integer) be the second auxiliary survey high-speed port, a1 is the first low-speed port, a2 is the second low-speed port, and (low-speed port herein can also be the low-speed mode of high-speed port, for convenience of describing, be collectively referred to as low-speed port); Dotted line represents that two ports belong to a VLAN, and solid line represents that two ports are connected.
In the embodiment of the present invention 1, equipment under test comprises two high-speed ports to be measured, auxiliary measurement equipment comprises 2 auxiliary survey high-speed ports, 2 low-speed ports, and high-speed port 10 to be measured is doubly to the speed of low-speed port, equipment under test, the situation that auxiliary measurement equipment only comprises 2 high-speed ports to be measured with the annexation of network tester according to equipment under test in Fig. 2 is connected, in the embodiment of the present invention 1, wherein A is the first auxiliary survey high-speed port, D is the second auxiliary survey high-speed port, B, C is high-speed port to be measured, a1 is the first low rate port, a2 is the second low rate port, equipment under test VLAN and VLAN map configuration as following table 1 (in table 1 vlan number for convenience of description for example, this vlan number can be selected arbitrarily in 1-4094):
Table 1
Under this kind of configuration, the specific implementation step of the embodiment of the present invention 1 comprises:
S301, test data send from the Single port of network tester, enter auxiliary measurement equipment through the first low-speed port a1, because the first low-speed port a1 and the first auxiliary survey high-speed port A is in VLAN100; Vlan data principle is forwarded according to switch, test data can be gone out from other port repeats of the VLAN at the first low-speed port a1 place, send out from the first auxiliary survey high-speed port A exactly specific to the embodiment of the present invention 1, and hybrid joins VLAN100 because the first auxiliary survey high-speed port A is trunk or tape label, so test data is when the first auxiliary survey high-speed port A sends out, VLAN100 label can be with;
When the test data of S302, band VLAN100 label arrives high-speed port B to be measured, map owing to being configured with VLAN on high-speed port B to be measured, data with VLAN100 label are when entering high-speed port B to be measured, the replacement of VLAN label can be carried out, replace to one of them VLAN101 of high-speed port B to be measured, such test data has just entered into the VLAN101 at high-speed port B place to be measured;
S303, test data are after high-speed port B to be measured enters equipment under test, because high-speed port B to be measured and high-speed port C to be measured is at same VLAN101, vlan data principle is forwarded according to switch, test data can be gone out from other port repeats of VLAN101, send out from high-speed port C to be measured specific to the embodiment of the present invention 1, the hybrid being trunk or tape label due to high-speed port C to be measured joins VLAN101, so test data is when high-speed port C to be measured sends out, can with corresponding VLAN101 label;
When the test data of S304, band VLAN101 label arrives the second auxiliary survey high-speed port D, map owing to being configured with VLAN on the second auxiliary survey high-speed port D, test data with VLAN101 label is when entering the second auxiliary survey high-speed port D, the replacement of VLAN label can be carried out, configuration is mapped according to VLAN, replace to VLAN102, such test data has just entered into the VLAN102 at the second auxiliary survey high-speed port D place;
S305, test data is after the second auxiliary survey high-speed port D enters, because the second auxiliary survey high-speed port D and the first auxiliary survey high-speed port A is all in VLAN102, vlan data principle is forwarded according to switch, test data can be gone out from other port repeats of the VLAN102 at the second auxiliary survey high-speed port D place, send out from the first auxiliary survey high-speed port A exactly specific to the embodiment of the present invention 1, and hybrid joins VLAN102 because the first auxiliary survey high-speed port A is trunk or tape label, so test data is when the first auxiliary survey high-speed port A sends out, can with corresponding VLAN102 label,
S306, repetition step S302-S305 (vlan number changes according to table 1), until the vlan number of test data replaces to VLAN118, and then repeat S302-S304, test data enters into the second auxiliary survey high-speed port D, and its vlan number is 120;
S307, test data are after the second auxiliary survey high-speed port D enters auxiliary measurement equipment, because the second auxiliary survey high-speed port D and the second low-speed port a2 is at same VLAN, vlan data principle is forwarded according to switch, test data can be gone out from other port repeats of the VLAN at the second auxiliary survey high-speed port D place, send out from the second low-speed port a2 exactly specific to the embodiment of the present invention 1, i.e. the direct another one port being issued to network tester from the second low-speed port a2;
Test data is entered according to the second low-speed port a2 in the other direction, send from the first low-speed port a1 after the traversal that same S301-S307 is identical in the other direction and get back to network tester, just in reciprocal traversal, owing to being the VLAN mapping configured on high-speed port B to be measured, the second auxiliary survey high-speed port D, therefore test data is when sending from the VLAN being configured with the second auxiliary survey high-speed port D place that VLAN maps, and re-sends to the VLAN at high-speed port C place to be measured after first carrying out the replacement of VLAN label; Test data, when sending from the VLAN being configured with the high-speed port B place to be measured that VLAN maps, re-sends to the VLAN at the first auxiliary survey high-speed port A place after first carrying out the replacement of VLAN label.
As shown in Figure 4, the embodiment of the present invention also provides the system of a kind of network equipment high-speed port performance test, this system comprises equipment under test 401, auxiliary measurement equipment 402 and network tester 403, described equipment under test 401 comprises: at least 2 high-speed ports to be measured, described auxiliary measurement equipment 402 comprises the first low-speed port, second low-speed port, first auxiliary survey high-speed port and the second auxiliary survey high-speed port, described first low-speed port is identical with the second low-speed port speed, described first low-speed port is connected with a port of network tester, second low-speed port is connected with the another port of network tester, the high-speed port correspondence a certain to be measured that described first auxiliary survey high-speed port is identical with speed is connected, and another high-speed port correspondence to be measured that described second auxiliary survey high-speed port is identical with speed is connected, and other high-speed ports to be measured that speed is identical connect between two.
Described equipment under test 401 also comprises VLAN configuration module 501, and for creating multiple VLAN, each VLAN only comprises two high-speed ports to be measured, and two high-speed ports to be measured be connected can not in same VLAN; Described high-speed port to be measured is configured in multiple VLAN;
Described equipment under test also comprises VLAN and maps configuration module 502, carries out VLAN map configuration for an optional port in two high-speed ports to be measured be connected;
Described auxiliary measurement equipment also comprises VLAN configuration module 601, and for creating multiple VLAN, the VLAN at described first low-speed port place and some VLAN at described first auxiliary survey high-speed port place is same VLAN; The VLAN at described second low-speed port place and some VLAN at described second auxiliary survey high-speed port place is same VLAN; Described first auxiliary survey high-speed port and described second auxiliary survey high-speed port are configured in multiple VLAN;
Described auxiliary measurement equipment also comprises VLAN and maps configuration module 602, carries out VLAN map configuration for selecting the first auxiliary survey high-speed port or the second auxiliary survey high-speed port.
Described auxiliary measurement equipment comprises data transmission module 603, for receiving the test data from network tester, described test data sends from network tester, and the described first auxiliary survey high-speed port from described first low-speed port place VLAN after described first low-speed port sends to equipment under test; And/or, described test data sends from network tester, enter described first low-speed port, test data with described first low-speed port place VLAN label carries out the replacement of VLAN label on described first auxiliary survey high-speed port, sends to equipment under test after replacing to the VLAN label of some VLAN at the high-speed port place a certain to be measured on the equipment under test that is connected with described first auxiliary survey high-speed port from described first auxiliary survey high-speed port;
Described equipment under test also comprises data transmission module 503, for receiving the test data from described first auxiliary survey high-speed port, carry out the replacement of VLAN label in the test data with described first low-speed port place VLAN label when entering a certain high-speed port to be measured on this equipment be connected with described first auxiliary survey high-speed port, the another one high-speed port to be measured after replacing to the VLAN label of some VLAN at described high-speed port place to be measured in some VLAN at described high-speed port place to be measured sends; And/or, after the test data of VLAN label receiving the some VLAN with the high-speed port place a certain to be measured on this equipment be connected with described first auxiliary survey high-speed port, described test data another high-speed port to be measured through some VLAN at described high-speed port place to be measured is sent;
Described data transmission module 503 on equipment under test, also for traveling through the high-speed port to be measured that is configured in multiple VLAN successively, until reach the flank speed of high-speed port to be measured after traversal N time, wherein N be greater than 0 integer; After reaching the flank speed of high-speed port to be measured, test data sends from the second low-speed port and gets back to network tester.
Described data transmission module 503 on equipment under test, also in the process of traversal, when after the speed reaching a certain low rate high-speed port to be measured in high-speed port to be measured, this low rate high-speed port to be measured exits port traversal, and follow-up traversal is carried out in residue high-speed port to be measured.
System described in the embodiment of the present invention comprises described auxiliary measurement equipment 402 further and is included in equipment under test 401.
The foregoing is only the preferred embodiment of the application; not in order to limit the protection range of the application; within all spirit in technical scheme and principle, any amendment made, equivalent replacements, improvement etc., all should be included within scope that the application protects.Therefore protection scope of the present invention should be as the criterion with the protection range of described claim.