CN106789433A - The method that low-speed port based on Ethernet switch tests high-speed port performance - Google Patents
The method that low-speed port based on Ethernet switch tests high-speed port performance Download PDFInfo
- Publication number
- CN106789433A CN106789433A CN201611243001.4A CN201611243001A CN106789433A CN 106789433 A CN106789433 A CN 106789433A CN 201611243001 A CN201611243001 A CN 201611243001A CN 106789433 A CN106789433 A CN 106789433A
- Authority
- CN
- China
- Prior art keywords
- port
- low
- speed port
- vlan
- speed
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Abstract
The invention discloses a kind of method that low-speed port based on Ethernet switch tests high-speed port performance, the method comprises the following steps:For the low-speed port and high-speed port of interchanger configure VLAN;Low-speed port quantity and it is equal to high-speed port speed with the product of port speed;The forwarding for configuring VLAN flows to relation;Low-speed port is interconnected in addition to first port and last port between other low-speed ports, is interconnected between high-speed port;The a port of ethernet performance tester is connected to the first low-speed port of tested interchanger, another port of ethernet performance tester is connected to last low-speed port of tested interchanger, tested.The method can complete the performance test of Ethernet switch high-speed port using the ethernet performance tester of low bandwidth, save R&D costs, simplify method of testing.
Description
Technical field
It is specifically a kind of to be based on Ethernet exchanging the present invention relates to a kind of method that low-speed port tests high-speed port performance
The method that the low-speed port of machine tests high-speed port performance, belongs to computer network communication technology field.
Background technology
With the development of data communication technology, the application of high bandwidth Ethernet switch is also more prevalent.High bandwidth with
Too in the R&D process of network switch, the test to interchanger forwarding performance is an important link.
Conventional method present in prior art to the test of Ethernet switch performance is by the port of tester
It is joined directly together with the port of tested interchanger, tester sends data message to be tested.But, based on the method, one
Aspect, test interchanger high-speed port need tester possess with tested port speed identical port, i.e., must using height
The ethernet performance tester of bandwidth;On the other hand, high bandwidth tester is expensive, safeguards and maintenance cost is high, volume
It is larger, carry inconvenient.
The content of the invention
For the problem that above-mentioned prior art is present, the present invention provides a kind of low-speed port based on Ethernet switch and surveys
The method for trying high-speed port performance, the method tests the property of interchanger high-speed port by the ethernet performance tester of low bandwidth
Can such that it is able to avoid using high bandwidth tester.
The present invention is achieved through the following technical solutions above-mentioned purpose:A kind of low-speed port based on Ethernet switch is surveyed
The method for trying high-speed port performance, the method comprises the following steps:
1) it is 2n low-speed port of interchanger and 2 high-speed port configuration VLAN, wherein, n is the integer more than 1;Match somebody with somebody
It is that VLAN a0, low-speed port P3 and high-speed port X1 are VLAN a1, low-speed port P5 to put low-speed port P1 and high-speed port X1
It is VLAN a2 with high-speed port X1, the like, low-speed port 2n-1 and high-speed port X1 is VLAN a (n-1);Configuration low speed
Port P2 and high-speed port X2 is that VLAN b0, low-speed port P4 and high-speed port X2 are VLAN b1, low-speed port P6 and high speed
Port x 2 is VLAN b2, and the rest may be inferred, and low-speed port P2n and high-speed port X2 is VLAN b (n-1);
2) forwarding of configuration VLAN flows to relation and is Concrete configuration is as follows:Configuration VLAN a0 and VLAN b0
It is two-way converting relation, configuration VLAN b0 and VLAN a1 are two-way converting relation, configuration VLAN a1 and VLAN b1 are two-way
Forwarding relation, the rest may be inferred, and configuration VLAN a (n-1) is two-way converting relation with VLAN b (n-1);
3) respectively by the low-speed port P2 of tested interchanger and low-speed port P3, low-speed port P4 and low-speed port P5, low
Fast port P6 and low-speed port P7 ... low-speed port P2n-2 and low-speed port P2n-1 cable interconnections, by high-speed port X1
With high-speed port X2 cable interconnections;
4) a port of ethernet performance tester is connected to the low-speed port P1 of tested interchanger, by Ethernet
Another port of energy tester is connected to the low-speed port P2n of tested interchanger, is tested.
Further, the step 1) in, low-speed port is configured to Access ports.
Further, the step 1) in, high-speed port is configured to hybrid ports.
Further, the step 2) in, by VLAN a1, VLAN a2 ... VLAN a (n-1) and VLAN b0, VLAN
B1 ... the forwarding capability of VLAN b (n-2) is configured to VLAN mapping relations.
Further, the low-speed port is 100,000,000 ports or gigabit port.
Further, the high-speed port is gigabit port or 10,000,000,000 ports.
The beneficial effects of the invention are as follows:The method configures VLAN by by low-speed port and high-speed port, and to difference
Port be defined so that low-speed port and high-speed port are set up with VLAN contacting, reach and use the ether of low bandwidth
Net ability meter can complete the purpose of the performance test of Ethernet switch high-speed port, it is to avoid be tested using high bandwidth
Instrument, has saved R&D costs, simplifies method of testing.
Brief description of the drawings
Fig. 1 is configured in one piece schematic diagram of the present invention;
Fig. 2 overall flow schematic diagram of the present invention.
Specific embodiment
Below in conjunction with embodiments of the invention, the technical scheme in the embodiment of the present invention is clearly and completely retouched
State, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the present invention
In embodiment, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
As depicted in figs. 1 and 2:A kind of method that low-speed port based on Ethernet switch tests high-speed port performance,
The method comprises the following steps:
1) it is 2n low-speed port of interchanger and 2 high-speed port configuration VLAN, wherein, n is the integer more than 1;Match somebody with somebody
It is that VLAN a0, low-speed port P3 and high-speed port X1 are VLAN a1, low-speed port P5 to put low-speed port P1 and high-speed port X1
It is VLAN a2 with high-speed port X1, the like, low-speed port 2n-1 and high-speed port X1 is VLAN a (n-1);Configuration low speed
Port P2 and high-speed port X2 is that VLAN b0, low-speed port P4 and high-speed port X2 are VLAN b1, low-speed port P6 and high speed
Port x 2 is VLAN b2, and the rest may be inferred, and low-speed port P2n and high-speed port X2 is VLAN b (n-1);Low-speed port is configured
It is Access ports;High-speed port is configured to hybrid ports.
2) forwarding of configuration VLAN flows to relation and is Concrete configuration is as follows:Configuration VLAN a0 and VLAN b0
It is two-way converting relation, configuration VLAN b0 and VLAN a1 are two-way converting relation, configuration VLAN a1 and VLAN b1 are two-way
Forwarding relation, the rest may be inferred, and configuration VLAN a (n-1) is two-way converting relation with VLAN b (n-1);By VLAN a1, VLAN
A2 ... VLAN a (n-1) and VLAN b0, VLAN b1 ... the forwarding capability of VLAN b (n-2) be configured to VLAN mapping close
System.
3) respectively by the low-speed port P2 of tested interchanger and low-speed port P3, low-speed port P4 and low-speed port P5, low
Fast port P6 and low-speed port P7 ... low-speed port P2n-2 and low-speed port P2n-1 cable interconnections, by high-speed port X1
With high-speed port X2 cable interconnections.
4) a port of ethernet performance tester is connected to the low-speed port P1 of tested interchanger, by Ethernet
Another port of energy tester is connected to the low-speed port P2n of tested interchanger, is tested.
The low-speed port is gigabit port;The high-speed port is 10,000,000,000 ports.
Embodiment:
10,000,000,000 tested industrial ethernet switchs have 48 gigabit ports and 8 10,000,000,000 ports, and existing Smart
Bit only supports gigabit forwarding rate, and the port number of gigabit Smart bit is limited.During for 10,000,000,000 port performance of test, can take
2 modes of 10,000,000,000 ports of test, set up logical by the two-port of 20 gigabit ports, 2 10,000,000,000 ports and Smart bit every time
Letter loop, carries out data transmit-receive.
First:Configuration VLAN, configuration gigabit port P1 and 10,000,000,000 port xs 1 are VLAN a0, gigabit port P3 and 10,000,000,000 ends
Mouthful X1 is VLAN a1, and gigabit port P5 and 10,000,000,000 port xs 1 are with 10,000,000,000 port xs 1 for VLAN a2 ... ... gigabit ports P19
VLAN a9;Configuration gigabit port P2 and 10,000,000,000 port xs 2 are VLAN b0, and gigabit port P4 and 10,000,000,000 port xs 2 are VLAN b1,
Gigabit port P6 and 10,000,000,000 port xs 2 are VLAN b2 ... ... gigabit ports P20 and 10,000,000,000 port xs 2 are VLAN b9;By gigabit end
Mouth is configured to Access ports, and 10,000,000,000 ports are configured into hybrid ports.
Secondly:The forwarding for configuring VLAN flows to relation, because each port of interchanger is both as receiving port, also conduct
Sending port, therefore configuration VLAN a0 and VLAN b0 are two-way converting relation, VLAN b0 and VLAN a1 are closed for two-way converting
System, VLAN a1 and VLAN b1 are that two-way converting relation ... ... VLAN a9 and VLAN b9 are two-way converting relation.It is easy to see
Go out, in addition to VLAN a0 and VLAN b9 only have forwarding relation with a VLAN, remaining VLAN has forwarding with two VLAN
Relation.So also needing to configure VLAN mapping functions, i.e., there is the VLAN of forwarding relation to need forwarding capability to match somebody with somebody with two VLAN
VLAN mapping relations are set to, i.e., carry out data forwarding between two difference VLAN of this VLAN.For example, coming from VLAN b0
Data enter VLAN a1 after, be forwarded directly to VLAN b1;When reversely, the data for coming from VLAN b1 enter VLAN a1,
VLAN b0 are forwarded directly to, it is possible thereby to set up the data flow of defined.
Then:By the gigabit port P2 of tested interchanger and gigabit port P3, gigabit port P4 and gigabit port P5, gigabit
Port P6 and gigabit port P7 ... gigabit port P18 and gigabit port P19 netting twines or optical fiber interconnections, by 10,000,000,000 port xs 1
With 10,000,000,000 port x 2 netting twine or optical fiber interconnections.
The port 2 that the port 1 of Smart bit is connected to gigabit port P1, the Smart bit of tested interchanger is connected to
The port 1 and port 2 of gigabit port P20, the Smart bit of tested interchanger send data flow simultaneously.
The data flow that the port 1 of Smart bit sends sequentially pass through gigabit port P1,10,000,000,000 port xs 1,10,000,000,000 port xs 2,
Gigabit port P2, gigabit port P3,10,000,000,000 port xs 1,10,000,000,000 port xs 2, gigabit port P4 ... gigabit port P20 is sent to
The port 2 of Smart bit.
The data flow that the port 2 of Smart bit sends sequentially passes through gigabit port P20,10,000,000,000 port xs 2,10,000,000,000 ports
X1, gigabit port P19, gigabit port P18,10,000,000,000 port xs 2,10,000,000,000 port xs 1, gigabit port P17 ... gigabit port P1 send out
It is sent to the port 1 of Smart bit.
Finally:By data flow between gigabit port and 10,000,000,000 ports after multiple loopback, the forwarding rate of 10,000,000,000 ports
Full load is reached, realizes that 10,000,000,000 speed receive and dispatch the test of performance.
Embodiment provided above is better embodiment of the invention, only for the convenient explanation present invention, not to this hair
It is bright to make any formal limitation, any those of ordinary skill in the art, if putting forward skill the present invention is not departed from
In the range of art feature, using the Equivalent embodiments for locally being changed done by disclosed technology contents or modify, and
Without departing from technical characteristic content of the invention, still fall within the range of the technology of the present invention feature.
Claims (6)
1. a kind of method that low-speed port based on Ethernet switch tests high-speed port performance, it is characterised in that the method
Comprise the following steps:
1) it is 2n low-speed port of interchanger and 2 high-speed port configuration VLAN, wherein, n is the integer more than 1;With setting low
Fast port P1 and high-speed port X1 is that VLAN a0, low-speed port P3 and high-speed port X1 are VLAN a1, low-speed port P5 and height
Fast port x 1 is VLAN a2, the like, low-speed port 2n-1 and high-speed port X1 is VLAN a (n-1);Configuration low-speed port
P2 and high-speed port X2 is that VLAN b0, low-speed port P4 and high-speed port X2 are VLAN b1, low-speed port P6 and high-speed port
X2 is VLAN b2, and the rest may be inferred, and low-speed port P2n and high-speed port X2 is VLAN b (n-1);
2) forwarding of configuration VLAN flows to relation and is Concrete configuration is as follows:Configuration VLAN a0 and VLAN b0
It is two-way converting relation, configuration VLAN b0 and VLAN a1 are two-way converting relation, configuration VLAN a1 and VLAN b1 are two-way
Forwarding relation, the rest may be inferred, and configuration VLAN a (n-1) is two-way converting relation with VLAN b (n-1);
3) respectively by the low-speed port P2 of tested interchanger and low-speed port P3, low-speed port P4 and low-speed port P5, low speed end
Mouth P6 and low-speed port P7 ... low-speed port P2n-2 and low-speed port P2n-1 cable interconnections, by high-speed port X1 and height
Fast port x 2 uses cable interconnection;
4) a port of ethernet performance tester is connected to the low-speed port P1 of tested interchanger, ethernet performance is surveyed
Another port for trying instrument is connected to the low-speed port P2n of tested interchanger, is tested.
2. the method that the low-speed port based on Ethernet switch according to claim 1 tests high-speed port performance, its
It is characterised by:The step 1) in, low-speed port is configured to Access ports.
3. the method that the low-speed port based on Ethernet switch according to claim 1 tests high-speed port performance, its
It is characterised by:The step 1) in, high-speed port is configured to hybrid ports.
4. the method that the low-speed port based on Ethernet switch according to claim 1 tests high-speed port performance, its
It is characterised by:The step 2) in, by VLAN a1, VLAN a2 ... VLAN a (n-1) and VLAN b0, VLAN b1 ...
The forwarding capability of VLAN b (n-2) is configured to VLAN mapping relations.
5. the method that the low-speed port based on Ethernet switch according to claim 1 tests high-speed port performance, its
It is characterised by:The low-speed port is 100,000,000 ports or gigabit port.
6. the method that the low-speed port based on Ethernet switch according to claim 1 tests high-speed port performance, its
It is characterised by:The high-speed port is gigabit port or 10,000,000,000 ports.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611243001.4A CN106789433A (en) | 2016-12-29 | 2016-12-29 | The method that low-speed port based on Ethernet switch tests high-speed port performance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611243001.4A CN106789433A (en) | 2016-12-29 | 2016-12-29 | The method that low-speed port based on Ethernet switch tests high-speed port performance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106789433A true CN106789433A (en) | 2017-05-31 |
Family
ID=58923791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611243001.4A Pending CN106789433A (en) | 2016-12-29 | 2016-12-29 | The method that low-speed port based on Ethernet switch tests high-speed port performance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789433A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156050A (en) * | 2017-11-28 | 2018-06-12 | 盛科网络(苏州)有限公司 | Seamless bidirectional forwarding detection (BFD) method and device |
CN109861879A (en) * | 2019-01-17 | 2019-06-07 | 杭州迪普科技股份有限公司 | A kind of interface performance test system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1917452A (en) * | 2005-08-19 | 2007-02-21 | 上海亿人通信终端有限公司 | Method for testing forwarding performance of Ethernet exchange, and method for configuring network |
CN101247289A (en) * | 2008-03-17 | 2008-08-20 | 中兴通讯股份有限公司 | Test method and device for forwarding performance of Ethernet switchboard high speed port |
CN103532785A (en) * | 2013-10-18 | 2014-01-22 | 上海斐讯数据通信技术有限公司 | Full load test method for Ethernet switch |
-
2016
- 2016-12-29 CN CN201611243001.4A patent/CN106789433A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1917452A (en) * | 2005-08-19 | 2007-02-21 | 上海亿人通信终端有限公司 | Method for testing forwarding performance of Ethernet exchange, and method for configuring network |
CN101247289A (en) * | 2008-03-17 | 2008-08-20 | 中兴通讯股份有限公司 | Test method and device for forwarding performance of Ethernet switchboard high speed port |
CN103532785A (en) * | 2013-10-18 | 2014-01-22 | 上海斐讯数据通信技术有限公司 | Full load test method for Ethernet switch |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156050A (en) * | 2017-11-28 | 2018-06-12 | 盛科网络(苏州)有限公司 | Seamless bidirectional forwarding detection (BFD) method and device |
CN109861879A (en) * | 2019-01-17 | 2019-06-07 | 杭州迪普科技股份有限公司 | A kind of interface performance test system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103560829B (en) | Method and system for automatic testing of UNI ports | |
CN104348673B (en) | A kind of method of commissioning, master control borad and business board | |
CN104184617B (en) | InterWorking Equipment pre-add method for reconfiguration, device, system and the network equipment | |
CN103532785B (en) | Full load test method for Ethernet switch | |
CN105337806A (en) | Efficient interface testing method for Ethernet switch | |
CN111092782B (en) | Tested communication equipment, communication equipment port data forwarding test system and method | |
CN109753043A (en) | The test device and method of CAN bus communication matrix | |
US8654654B2 (en) | Traffic distribution control | |
CN106789433A (en) | The method that low-speed port based on Ethernet switch tests high-speed port performance | |
CN108259368A (en) | A kind of data transmission system and method based on FPGA | |
CN105577474B (en) | A kind of method and system of network equipment high-speed port performance test | |
CN108964754A (en) | Insertion Loss bearing calibration, system and the Insertion Loss measuring system of optic communication device | |
CN106027397B (en) | A kind of distributed measurement device network communication method of star-like expansion | |
CN107294565A (en) | A kind of termination of emulation test system | |
CN101834679A (en) | Port test method, device and system | |
CN105591839A (en) | Device, method and system of testing network exchange chip | |
CN107483336A (en) | Network equipment MAC Address volume test system and method | |
CN102497296A (en) | Method for testing normality of network card receiving and sending packets | |
CN101931462A (en) | Testing control method and device for optical transmission network | |
CN105656718A (en) | Stable automatic testing method for switch | |
CN201450513U (en) | Network port detection device | |
CN206472138U (en) | Line-spacing analogue means and network test system | |
CN101599808A (en) | A kind of cross board method of testing, system and chip | |
CN114443488A (en) | ARINC664 network configuration testing framework construction method | |
CN206100208U (en) | A network pick -up device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170531 |