Invention content
The purpose of the present invention is to provide a kind of methods of network equipment high-speed port performance test, are applied to comprising tested
In equipment and the system of auxiliary measurement equipment, the equipment under test includes:At least two high-speed port to be measured, the auxiliary measurement equipment include
First low-speed port, the second low-speed port, the first auxiliary survey high-speed port and the second auxiliary survey high-speed port, this method concrete implementation
Including:
First low-speed port is connected with a port of network tester, second low-speed port and network test
The another port of instrument is connected, and first low-speed port is identical with the second low-speed port rate;The first auxiliary survey high speed
Port a certain high-speed port correspondence to be measured identical with rate is connected, and the second auxiliary survey high-speed port and rate are identical another
High-speed port to be measured, which corresponds to, to be connected, other identical high-speed ports to be measured of rate connect two-by-two.
Further, the method further includes:
Multiple VLAN are created, each VLAN is only comprising two high-speed ports to be measured, and two high-speed ports to be measured being connected
It cannot be in same VLAN;VLAN where first low-speed port and first some auxiliary surveyed where high-speed port
VLAN is the same VLAN;VLAN where second low-speed port and second some auxiliary surveyed where high-speed port
VLAN is the same VLAN;The first auxiliary survey high-speed port, the second auxiliary survey high-speed port and high-speed port to be measured configure
In multiple VLAN;
Optional a port carries out VLAN mapping configurations in two connected high-speed ports.
Further, the method further includes:
Test data is sent out from network tester, into the first low-speed port, then where first low-speed port
The first auxiliary survey high-speed port of VLAN is sent out, the test data with VLAN tag where first low-speed port enter with
VLAN tag replacement is carried out when the high-speed port to be measured that the first auxiliary survey high-speed port is connected, is substituted for the speed end to be measured
Through another in some VLAN where the high-speed port to be measured after the VLAN tag of some VLAN where mouthful
High-speed port to be measured is sent out;And/or
Test data is sent out from network tester, into the first low-speed port, with where first low-speed port
The test data of VLAN tag carries out VLAN tag replacement on the first auxiliary survey high-speed port, is substituted for high with the described first auxiliary survey
It is sent to the high-speed port to be measured after the VLAN tag of some VLAN where the connected high-speed port to be measured in fast port, then is passed through
Another high-speed port to be measured in some VLAN where the high-speed port to be measured is sent out;
First auxiliary survey high-speed port, to be measured high-speed port and second auxiliary survey high speed of the traversal configuration in multiple VLAN successively
Port, reaches the flank speed of high-speed port to be measured after traversing n times, and wherein N is the integer more than 0;
After reaching high-speed port flank speed to be measured, test data sends out from the second low-speed port and returns to network tester.
Further, the method further includes:It is a certain low in high-speed port to be measured when reaching during traversal
After the rate of rate high-speed port to be measured, low rate high-speed port to be measured exits port traversal, and follow-up traversal is remaining to be measured
It is carried out in high-speed port.
Further, the auxiliary measurement equipment is included in equipment under test.
Another object of the present invention, which also resides in, provides a kind of system of network equipment high-speed port performance test, the system packet
Equipment under test, auxiliary measurement equipment and network tester are included, the equipment under test includes:At least two high-speed port to be measured, the auxiliary survey
Equipment include 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 and the second low-speed port rate are identical, and first low-speed port is connected with a port of network tester, the
Two low-speed ports are connected with the another port of network tester;The first auxiliary survey high-speed port and rate are identical a certain to be measured
High-speed port, which corresponds to, to be connected, and the second auxiliary survey high-speed port another high-speed port correspondence to be measured identical with rate is connected, speed
Other identical high-speed ports to be measured of rate connect two-by-two.
Further, the equipment under test further includes VLAN configuration modules, and for creating multiple VLAN, each VLAN is only wrapped
Containing two high-speed ports to be measured, and two connected high-speed ports to be measured cannot be in same VLAN;The high-speed port to be measured
Configuration is in multiple VLAN;
The equipment under test further includes VLAN mapping configuration modules, for optional in two connected high-speed ports to be measured
A port carries out VLAN mapping configurations;
The auxiliary measurement equipment further includes VLAN configuration modules, for creating multiple VLAN, the first low-speed port place
VLAN and it is described first it is auxiliary survey high-speed port where some VLAN be the same VLAN;Where second low-speed port
VLAN and it is described second it is auxiliary survey high-speed port where some VLAN be the same VLAN;The first auxiliary survey high-speed port
With the described second auxiliary survey high-speed port configuration in multiple VLAN;
The auxiliary measurement equipment further includes VLAN mapping configuration modules, for selecting the first auxiliary survey high-speed port or the second auxiliary survey
High-speed port carries out VLAN mapping configurations.
Further, the auxiliary measurement equipment includes data transmission module, for receiving the test number from network tester
According to the test data is sent out from network tester, after first low-speed port where first low-speed port
The described first auxiliary survey high-speed port of VLAN is sent to equipment under test;And/or the test data is sent out from network tester, into
Enter first low-speed port, the test data with VLAN tag where first low-speed port is high in the described first auxiliary survey
VLAN tag replacement is carried out on fast port, be substituted for described first it is auxiliary survey on the equipment under test that is connected of high-speed port a certain wait for
After the VLAN tag of some VLAN surveyed where high-speed port equipment under test is sent to from the described first auxiliary survey high-speed port;
The equipment under test further includes data transmission module, for receiving from the described first auxiliary test for surveying high-speed port
Data, the test data of VLAN tag is entering and the described first auxiliary survey high-speed port where with first low-speed port
VLAN tag replacement is carried out when a certain high-speed port to be measured in this connected equipment, is substituted for where the high-speed port to be measured
Some VLAN VLAN tag after through another height to be measured in some VLAN where the high-speed port to be measured
Fast port is sent out;And/or it is receiving with a certain height to be measured in this equipment being connected with the described first auxiliary survey high-speed port
After the test data of the VLAN tag of some VLAN where fast port, by the test data through the high-speed port to be measured
Another high-speed port to be measured of some VLAN at place is sent out;
The data transmission module on equipment under test is additionally operable to traverse to be measured high speed of the configuration in multiple VLAN successively
Port, reaches the flank speed of high-speed port to be measured after traversing n times, and wherein N is the integer more than 0;Reach high speed to be measured
After the flank speed of port, test data sends out from the second low-speed port and returns to network tester.
Further, the data transmission module on equipment under test is additionally operable to during traversal, to be measured when reaching
In high-speed port after the rate of a certain low rate high-speed port to be measured, low rate high-speed port to be measured exits port traversal, after
Continuous traversal carries out in remaining high-speed port to be measured.
Further, the auxiliary measurement equipment is included in equipment under test.
Beneficial effects of the present invention are:The present invention mainly utilizes VLAN to map (Virtual Local Area Network
Mapping) VLAN tag when test data enters port is replaced, come guide test data it is anticipated that flow direction in quilt
It is recycled inside and out measurement equipment so that the test data of low-speed port is repeatedly again through low-speed port after high-speed port
Outflow.It is only needed in the present invention there are two low-speed port, by adjusting the transmission speed of the network tester of connection low-speed port
Rate, it will be able to carry out the high-speed port test of N (N is the integer more than 0) times network tester transmission rate.
Specific implementation mode
An embodiment of the present invention provides a kind of method of network equipment high-speed port performance test, principle is to utilize VLAN
Mapping, when test data enters port carry out VLAN tag replacement, come guide test data it is anticipated that flow direction in quilt
It is recycled inside and out measurement equipment so that the test data of low-speed port is repeatedly again through low-speed port after high-speed port
Outflow.In embodiments of the present invention, it is only necessary to which, there are two the low-speed port assisted, the network by adjusting connection low-speed port is surveyed
Try the transmission rate of instrument, it will be able to carry out the survey of the high-speed port of N (N is the integer more than 0) times network tester transmission rate
Examination.
To keep technical scheme of the present invention clearer, the present invention is further described presently in connection with attached drawing, the present invention is implemented
The method of example is applied in the system comprising equipment under test and auxiliary measurement equipment, as shown in Figure 1, the equipment under test includes:At least 2
A high-speed port to be measured, the auxiliary measurement equipment include the first low-speed port, the second low-speed port, the first auxiliary survey high-speed port and the
Two auxiliary survey high-speed ports, the method concrete implementation of the embodiment of the present invention include:
First low-speed port is connected with a port of network tester, second low-speed port and network test
The another port of instrument is connected, and first low-speed port is identical with the second low-speed port rate;The first auxiliary survey high speed
Port a certain high-speed port correspondence to be measured identical with rate is connected, and the second auxiliary survey high-speed port and rate are identical another
High-speed port to be measured, which corresponds to, to be connected, other identical high-speed ports to be measured of rate connect two-by-two.
Multiple VLAN are created, each VLAN is only comprising two high-speed ports to be measured, and two high-speed ports to be measured being connected
It cannot be in same VLAN;VLAN where first low-speed port and first some auxiliary surveyed where high-speed port
VLAN is the same VLAN;VLAN where second low-speed port and second some auxiliary surveyed where high-speed port
VLAN is the same VLAN;The first auxiliary survey high-speed port, the second auxiliary survey high-speed port and high-speed port to be measured configure
In multiple VLAN,
Wherein, the VLAN patterns of the first low-speed port and the second low-speed port be configurable to access, trunk or
Hybrid, as long as network tester can be connected, the first auxiliary survey high-speed port, the second auxiliary survey high-speed port and high speed to be measured
The VLAN patterns of port are configurable to the hybrid of trunk or tape label;
Optional a port carries out VLAN mapping configurations in two connected high-speed ports.
After the completion of configuration, test data from network tester pass through the first low-speed port, into the first low-speed port institute
Network is returned in the first auxiliary survey high-speed port of VLAN, after then traversing between high-speed port to be measured by the second low-speed port to survey
Try instrument.It specifically includes:
Test data is sent out from network tester, into the first low-speed port, then where first low-speed port
The first auxiliary survey high-speed port of VLAN is sent out, the test data with VLAN tag where first low-speed port enter with
VLAN tag replacement is carried out when the high-speed port to be measured that the first auxiliary survey high-speed port is connected, is substituted for the speed end to be measured
Through other one in some VLAN where the high-speed port to be measured after the VLAN tag of some VLAN at the place of mouth
A high-speed port to be measured is sent out;And/or
Test data is sent out from network tester, into the first low-speed port, with where first low-speed port
The test data of VLAN tag carries out VLAN tag replacement on the first auxiliary survey high-speed port, is substituted for high with the described first auxiliary survey
It is sent to the high-speed port to be measured after the VLAN tag of some VLAN where the connected high-speed port to be measured in fast port, then is passed through
Another high-speed port to be measured in some VLAN where the high-speed port to be measured is sent out;
First auxiliary survey high-speed port, to be measured high-speed port and second auxiliary survey high speed of the traversal configuration in multiple VLAN successively
Port, reaches the flank speed of high-speed port to be measured after traversing n times, and wherein N is the integer more than 0;In the process of traversal
In, after reaching the rate of a certain low rate high-speed port to be measured in high-speed port to be measured, low rate high-speed port to be measured moves back
Exit port traverses, and follow-up traversal carries out in remaining high-speed port to be measured.
After reaching high-speed port flank speed to be measured, test data sends out from the second low-speed port and returns to network tester.
Fig. 2 is the annexation figure of network tester of the embodiment of the present invention, equipment under test and auxiliary measurement equipment upper port, is being schemed
In 2, B, C, D ..., (2M-3), (2M-2), (2M-1) be high-speed port to be measured, A be the first auxiliary survey high-speed port, 2M (M>=
2, M is more than 0 integers) be the second auxiliary survey high-speed port, a1 is the first low-speed port, a2 be the second low-speed port (herein
Low-speed port can also be that the low-speed mode of high-speed port is collectively referred to as low-speed port for convenience of describing);Dotted line indicates two
Port belongs to a VLAN, and solid line indicates that two ports are connected.
First VLAN where the auxiliary survey high-speed port A of VLAN and first where first low-speed port a1 is same
VLAN, first VLAN where first VLAN and high-speed port C to be measured where high-speed port B to be measured is same
VLAN ... ..., auxiliary second surveyed where high-speed port A of first VLAN and first where the second auxiliary survey high-speed port 2M
VLAN is the same VLAN;Second VLAN where second VLAN and high-speed port C to be measured where high-speed port B to be measured
It is the same VLAN ... ..., the auxiliary places survey high-speed port A N-1 VLAN and first where the second auxiliary survey high-speed port 2M
N-th VLAN be the same VLAN, the N where n-th VLAN and high-speed port C to be measured where high-speed port B to be measured
A VLAN is the same VLAN, and second auxiliary surveys where n-th VLAN and the second low-speed port a2 where high-speed port 2M
VLAN is the same VLAN.Since the test data on two connected ports will not carry out VLAN tag conversion, only need
VLAN mapping configurations are carried out to the half of high-speed port, and configuration need to meet two connected high-speed ports only to one of them
High-speed port carry out VLAN mapping configuration, be in embodiments of the present invention to high-speed port B, D to be measured ..., 2M-2 and second
Auxiliary survey high-speed port 2M carries out VLAN mapping configurations.
After the completion of configuration, test data enters from the first low-speed port a1, traverses the first auxiliary survey high-speed port A successively, waits for
Survey high-speed port B, C, D ..., (2M-1), second auxiliary survey after first VLAN where high-speed port 2M again through the first auxiliary survey
Second VLAN where high-speed port A is sent out, then traverse successively high-speed port B, C to be measured, D ..., (2M-1), second auxiliary
Second VLAN where high-speed port 2M is surveyed, the N (N is more than 0 integer) where traversing high-speed port is a
After 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.?
During traversal, after reaching the rate of a certain low rate high-speed port to be measured in high-speed port to be measured, the low rate is to be measured
High-speed port exits port traversal, and follow-up traversal carries out in remaining high-speed port to be measured.Negative direction test data traversal is identical,
Form bidirectional traffics;Wherein A, B, C, D ..., (2M-1), the port that the ports such as 2M are arbitrary selection can without ordinal relation
To select the identical high-speed port assembled arrangement to be measured of any two rate as needed;Due to test data only enter and
Low-speed port can be passed through when flowing out auxiliary measurement equipment, intermediate cyclic process and low-speed port are unrelated, therefore this topological mode can be with
Realize the test of the high-speed port of N (N is the integer more than 0) times network tester transmission rate, in embodiments of the present invention, net
Network tester transmission rate can be arranged according to high-speed port rate/N in network tester, and transmission rate size is no more than low
The flank speed that fast port allows, therefore, the flank speed of high-speed port is limited only by the flank speed and core of low-speed port
The maximum VLAN that piece is supported maps number.The higher rate being likely to occur after can be used for 40G/100G high-end at present even
The test of port has very strong flexibility and scalability.
Implementing step includes:
S201, the value that traversal times N is determined according to the rate ratio of high-speed port and low-speed port, wherein N>=high speed
Port speed/low-speed port rate, the value of N are the integer more than 0, and test data is sent out from network tester Single port, is passed through
First low-speed port a1 enters, and first where high-speed port A is surveyed since the VLAN and first where the first low-speed port a1 is auxiliary
A VLAN is the same VLAN, forwards vlan data principle, data can be from VLAN where the first low-speed port a1 according to interchanger
Other ports forward, forward from the first auxiliary surveys high-speed port A specific to being exactly here, and due to the first auxiliary survey height
Fast port A is that the hybrid of trunk or tape label is added to the VLAN, so test data is through the first auxiliary survey high-speed port A
When sending out, the corresponding first auxiliary label for surveying first VLAN where high-speed port A can be taken;
The auxiliary test data for surveying first VLAN tag where high-speed port A of S202, band first reaches speed end to be measured
It when mouth B, is mapped due to being configured with VLAN on high-speed port B to be measured, auxiliary first surveyed where high-speed port A of band first
When the test data of VLAN tag enters high-speed port B to be measured from the first auxiliary survey high-speed port A, replacing for VLAN tag can be carried out
It changes, is substituted for one of the places high-speed port B to be measured VLAN and (here for convenience of description, is assigned therein as speed end to be measured
First VLAN where mouthful B) label, such test data advanced to first where high-speed port B to be measured
VLAN;
S203, test data are after high-speed port B to be measured enters equipment under test, due to the place of high-speed port B to be measured
First VLAN where one VLAN and high-speed port C to be measured forwards vlan data former in the same VLAN according to interchanger
Reason, test data can the other termination port of VLAN where the high-speed port B to be measured forward, specific to being exactly to be measured here
First VLAN where high-speed port C is sent out;
S204, the test data with first VLAN tag where high-speed port B to be measured reach high-speed port D to be measured
When, it is mapped due to being configured with VLAN on high-speed port D to be measured, with first VLAN tag where high-speed port B to be measured
Test data from high-speed port C to be measured out enter back into high-speed port D to be measured when, the replacement of VLAN tag can be carried out, replace
It (here for convenience of description, is assigned therein as where high-speed port D to be measured at VLAN one of where high-speed port D to be measured
First VLAN) label, such test data advanced to first VLAN where high-speed port D to be measured;
S205, test data reach after first VLAN where high-speed port D to be measured from where high-speed port D to be measured
First VLAN belong to another high-speed port to be measured of a VLAN and send out, traversed according to step S201-S204, directly
VLAN (here for convenience of description, is assigned therein as one of where reaching the second auxiliary survey high-speed port 2M to test data
Second auxiliary first VLAN surveyed where high-speed port 2M);
S206, test data are after the second auxiliary survey high-speed port 2M enters auxiliary measurement equipment, due to the second auxiliary survey high-speed port
Second VLAN where the auxiliary survey high-speed port A of first VLAN and first where 2M is the same VLAN, according to interchanger
Forward vlan data principle, test data that can forward, have from second auxiliary other ports for surveying high-speed port 2M place VLAN
Body is sent out from the first auxiliary survey high-speed port A to being exactly here, and since the first auxiliary survey high-speed port A is trunk or with mark
The hybrid of label is added to the VLAN, so when test data is sent out through the first auxiliary survey high-speed port A, it is auxiliary to take second
Survey the label of first VLAN where high-speed port 2M;
S207, step S202-S205 is repeated, number of repetition is N-2 times, then repeats step S202-S204 so that is surveyed
Data are tried from the second auxiliary survey high-speed port 2M to enter;
S208, test data are after the second auxiliary survey high-speed port 2M enters auxiliary measurement equipment, due to the second auxiliary survey high-speed port
The VLAN where n-th VLAN and the second low-speed port a2 where 2M is the same VLAN, and VLAN numbers are forwarded according to interchanger
According to principle, test data can from second it is auxiliary survey high-speed port 2M where the other termination port of VLAN forward, i.e., directly from the
Two low-speed port a2 are issued to another port of network tester.
When negative direction, test data enters according to from the second low-speed port a2, after the identical traversals of same S201-S208
It is sent out from the first low-speed port a1 and returns to network tester, only in the ergodic process of negative direction, due to being in high speed to be measured
Port B, D ... 2M-2, second it is auxiliary survey the VLAN mappings configured on high-speed port 2M, therefore test data from configured with
When VLAN where second auxiliary survey high-speed port 2M of VLAN mappings is sent out, re-sends to and wait for after meeting first progress VLAN tag replacement
The VLAN ... ... where high-speed port 2M-1 is surveyed, test data is where the high-speed port B to be measured mapped configured with VLAN
When VLAN is sent out, the first auxiliary VLAN surveyed where high-speed port A is re-send to after first carrying out VLAN tag replacement.The tool of data
Body ergodic process is constant, and details are not described herein again.
In above-mentioned ergodic process, when the rate for reaching a certain low rate high-speed port to be measured in high-speed port to be measured
Afterwards, low rate high-speed port to be measured exits port traversal, and follow-up traversal carries out in remaining high-speed port to be measured.
When high-speed port to be measured is 2M+1 (M>=2, M are more than 0 integer) it is a when, then need high-speed port to be measured point
It is primary only to test two high-speed ports to be measured to test twice, test 2M (M simultaneously another time>=2, M are the integer more than 0)
A high-speed port to be measured, tests connection relation and test method is constant, and details are not described herein again.
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) are high-speed port to be measured.A is the first auxiliary survey high-speed port, 2M (M>=2, M are big
In 0 integer) it is the second auxiliary survey high-speed port, a1 is the first low-speed port, a2 is the second low-speed port (low-speed port herein
Can also be that the low-speed mode of high-speed port is collectively referred to as low-speed port for convenience of describing);Dotted line indicates that two ports belong to
One VLAN, solid line indicate that two ports are connected.
In the embodiment of the present invention 1, equipment under test includes two high-speed ports to be measured, and auxiliary measurement equipment includes that 2 auxiliary surveys are high
Fast port, 2 low-speed ports, and the rate of 10 times of low-speed ports of high-speed port to be measured, equipment under test, auxiliary measurement equipment and network
The connection relation of tester is only connected comprising the case where 2 high-speed ports to be measured according to equipment under test in Fig. 2, is implemented in the present invention
Wherein A is the first auxiliary survey high-speed port in example 1, D is the second auxiliary survey high-speed port, and B, C are high-speed port to be measured, and a1 is first low
Rate port, a2 are the second low rate port, and such as (vlan number is side to the following table 1 in table 1 for equipment under test VLAN and VLAN mapping configuration
Just illustrate illustrated example, which can arbitrarily select in 1-4094):
Table 1
Under such configuration, the specific implementation step of the embodiment of the present invention 1 includes:
S301, test data are sent out from the Single port of network tester, enter auxiliary measurement equipment through the first low-speed port a1, by
In the auxiliary survey high-speed port A of the first low-speed port a1 and first all in VLAN100;Vlan data principle is forwarded according to interchanger,
Test data can be forwarded from other ports of the VLAN where the first low-speed port a1, just specific to the embodiment of the present invention 1
It is to be sent out from the first auxiliary survey high-speed port A, and since the first auxiliary survey high-speed port A is the hybrid of trunk or tape label
It is added to VLAN100, so when test data is sent out through the first auxiliary survey high-speed port A, it can band VLAN100 labels;
When S302, the test data with VLAN100 labels reach high-speed port B to be measured, due on high-speed port B to be measured
Face is mapped configured with VLAN, and the data with VLAN100 labels can carry out replacing for VLAN tag when entering high-speed port B to be measured
It changes, is substituted for one of high-speed port B to be measured VLAN101, such test data has advanced to high-speed port B institutes to be measured
VLAN101;
S303, test data are after high-speed port B to be measured enters equipment under test, due to high-speed port B to be measured and height to be measured
Fast port C forwards vlan data principle in the same VLAN101, according to interchanger, and test data can be from the other termination of VLAN101
Mouth forwards, and specific to the embodiment of the present invention 1 is sent out from high-speed port C to be measured, since high-speed port C to be measured is
The hybrid of trunk or tape label is added to VLAN101, so when test data is sent out through high-speed port C to be measured, it can band
Corresponding VLAN101 labels;
When S304, the test data with VLAN101 labels reach the second auxiliary survey high-speed port D, due to high in the second auxiliary survey
It is mapped configured with VLAN above fast port D, the test data with VLAN101 labels is when entering the second auxiliary survey high-speed port D, meeting
The replacement for carrying out VLAN tag maps according to VLAN and configures, is substituted for VLAN102, such test data has advanced to second
The auxiliary VLAN102 surveyed where high-speed port D;
S305, test data are after the second auxiliary survey high-speed port D enters, since the second auxiliary survey high-speed port D and first is auxiliary
High-speed port A is surveyed in VLAN102, forwards vlan data principle, test data can be from the second auxiliary survey high speed according to interchanger
Other ports of VLAN102 where the D of port forward, and are exactly from the first auxiliary survey speed end specific to the embodiment of the present invention 1
Mouthful A is sent out, and since the hybrid that the first auxiliary survey high-speed port A is trunk or tape label is added to VLAN102, institute
It, can be with corresponding VLAN102 labels when being sent out through the first auxiliary survey high-speed port A with test data;
S306, step S302-S305 (vlan number is changed according to table 1) is repeated, until the vlan number of test data replaces
It changes VLAN118 into, then repeats S302-S304, test data enters the second auxiliary survey high-speed port D, and vlan number is
120;
S307, test data are after the second auxiliary survey high-speed port D enters auxiliary measurement equipment, due to the second auxiliary survey high-speed port D
With the second low-speed port a2 in the same VLAN, vlan data principle is forwarded according to interchanger, test data can be from the second auxiliary survey
Other ports of VLAN where high-speed port D forward, and are exactly from the second low-speed port a2 specific to the embodiment of the present invention 1
It sends out, i.e., is directly issued to another port of network tester from the second low-speed port a2;
Negative direction test data is according to the second low-speed port a2 into negative direction is after the identical traversals of same S301-S307
It is sent out from the first low-speed port a1 and returns to network tester, only in the traversal of negative direction, due to being in high-speed port to be measured
B, second it is auxiliary survey the VLAN mappings configured on high-speed port D, therefore test data is from the second auxiliary survey mapped configured with VLAN
When VLAN where high-speed port D is sent out, re-send to where high-speed port C to be measured after first carrying out VLAN tag replacement
VLAN;Test data can first carry out VLAN marks when being sent out from the VLAN where the high-speed port B to be measured mapped configured with VLAN
Label re-send to the first auxiliary VLAN surveyed where high-speed port A after replacing.
As shown in figure 4, the embodiment of the present invention also provides a kind of system of network equipment high-speed port performance test, the system
Including equipment under test 401, auxiliary measurement equipment 402 and network tester 403, the equipment under test 401 includes:At least two height to be measured
Fast port, the auxiliary measurement equipment 402 include that the first low-speed port, the second low-speed port, the first auxiliary survey high-speed port and second are auxiliary
High-speed port is surveyed, first low-speed port and the second low-speed port rate are identical, first low-speed port and network test
The a port of instrument is connected, and the second low-speed port is connected with the another port of network tester;The first auxiliary survey high-speed port
A certain high-speed port correspondence to be measured identical with rate is connected, and the second auxiliary survey high-speed port and rate are identical another to be measured
High-speed port, which corresponds to, to be connected, other identical high-speed ports to be measured of rate connect two-by-two.
The equipment under test 401 further includes VLAN configuration modules 501, and for creating multiple VLAN, each VLAN includes only
Two high-speed ports to be measured, and two connected high-speed ports to be measured cannot be in same VLAN;The high-speed port to be measured is matched
It sets in multiple VLAN;
The equipment under test further includes VLAN mapping configuration modules 502, in two connected high-speed ports to be measured
Optional a port carries out VLAN mapping configurations;
The auxiliary measurement equipment further includes VLAN configuration modules 601, for creating multiple VLAN, the first low-speed port institute
VLAN and it is described first it is auxiliary survey high-speed port where some VLAN be the same VLAN;The second low-speed port institute
VLAN and it is described second it is auxiliary survey high-speed port where some VLAN be the same VLAN;The first auxiliary survey speed end
Mouth and the described second auxiliary survey high-speed port configuration are in multiple VLAN;
The auxiliary measurement equipment further includes VLAN mapping configuration modules 602, for selecting the first auxiliary survey high-speed port or second
Auxiliary survey high-speed port carries out VLAN mapping configurations.
The auxiliary measurement equipment includes data transmission module 603, described for receiving the test data from network tester
Test data is sent out from network tester, from described in VLAN where first low-speed port after first low-speed port
First auxiliary survey high-speed port is sent to equipment under test;And/or the test data is sent out from network tester, into described first
Low-speed port, the test data with VLAN tag where first low-speed port are enterprising in the described first auxiliary survey high-speed port
Row VLAN tag is replaced, and is substituted for and the described first auxiliary a certain high-speed port to be measured surveyed on the equipment under test that high-speed port is connected
After the VLAN tag of some VLAN at place equipment under test is sent to from the described first auxiliary survey high-speed port;
The equipment under test further includes data transmission module 503, for receiving from the described first auxiliary survey high-speed port
Test data, the test data of VLAN tag is entering and the described first auxiliary survey high speed where with first low-speed port
VLAN tag replacement is carried out when a certain high-speed port to be measured in this connected equipment of port, is substituted for the high-speed port to be measured
It is waited for through another in some VLAN where the high-speed port to be measured after the VLAN tag of some VLAN at place
High-speed port is surveyed to send out;And/or receive with described first it is auxiliary survey in this equipment for being connected of high-speed port a certain wait for
After surveying the test data of the VLAN tag of some VLAN where high-speed port, by the test data through the high speed to be measured
Another high-speed port to be measured of some VLAN where port is sent out;
It is to be measured in multiple VLAN to be additionally operable to traverse configuration successively for the data transmission module 503 on equipment under test
High-speed port, reaches the flank speed of high-speed port to be measured after traversing n times, and wherein N is the integer more than 0;Reach to be measured
After the flank speed of high-speed port, test data sends out from the second low-speed port and returns to network tester.
The data transmission module 503 on equipment under test is additionally operable to during traversal, when reaching speed end to be measured
In mouthful after the rate of a certain low rate high-speed port to be measured, low rate high-speed port to be measured exits port traversal, follow-up to traverse
It is carried out in remaining high-speed port to be measured.
System described in the embodiment of the present invention further comprises that the auxiliary measurement equipment 402 is included in equipment under test 401.
The foregoing is merely the preferred embodiments of the application, not to limit the protection domain of the application, it is all
Within the spirit and principle of technical scheme, any modification, equivalent substitution, improvement and etc. done should be included in this Shen
Within the scope of please protecting.Therefore protection scope of the present invention should be based on the protection scope of the described claims.