CN105337806A - Efficient interface testing method for Ethernet switch - Google Patents
Efficient interface testing method for Ethernet switch Download PDFInfo
- Publication number
- CN105337806A CN105337806A CN201510815305.2A CN201510815305A CN105337806A CN 105337806 A CN105337806 A CN 105337806A CN 201510815305 A CN201510815305 A CN 201510815305A CN 105337806 A CN105337806 A CN 105337806A
- Authority
- CN
- China
- Prior art keywords
- interface
- ethernet switch
- divided
- test
- vlan
- 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
-
- 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses an efficient interface testing method for an Ethernet switch. The method comprises the following steps: 1) the interface quantity of the switch is defined as n, and the interface numbers are defined as E1, E2, E3...En; 2) every two interfaces belong to a VLAN (Virtual Local Area Network), namely, E1 and E2 belong to a VLAN1, E3 and E4 belong to a VLAN2, E5 and E6 belong to a VLAN3, E7 and E8 belong to a VLAN4, and the like, E(n-1) and En belong to a VLAN(n/2); 3) E2 and E3, E4 and E5, E6 and E7...E(n-2) and E(n-1) are respectively connected with each other by a cable in sequence; 4) except E1 and En, each two of all the rest interfaces are subjected to loopback in sequence, and E1 and En are connected with an Ethernet testing instrument to be tested. As nearly all large switches support the interface VLAN division, the method has the beneficial effects that the configuration is simple, and the operation is convenient; under the condition that the cost of the testing instrument is not increased, the testing time can be greatly saved.
Description
Technical field
The present invention relates to a kind of exchange interface method of testing, specifically a kind of Ethernet switch interface test method efficiently, belongs to computer communication technology field.
Background technology
Along with the development of network, the multifunctionality of network and high efficiency are more and more obvious, and its application in all trades and professions also gets more and more, and contact tightr with our schedule work and life.The universal of network causes the use of Ethernet switch also to get more and more, and particularly the use of a fairly large number of large-scale Ethernet switch of Ethernet interface in industry-by-industry is more and more frequent.
Increasing of Ethernet switch usage quantity, associated Ethernet switch test will increase with the time needed for detecting thereupon.The Ethernet switch that particularly interface is more, owing to needing to cover all of the port during test interface, the time resource that needs take is very many.
With general testing standard requirement, test Ethernet throughput, needs the Ethernet bag of 7 kinds of bag length of testing within the scope of 64-1518, long 1 minute of each bag, repeat three times, add the time of instrument to auxiliary data transmission, calculating, once test required time general 30 minutes.Further, this is only the test of a throughput, and loss packet test and delay test time can be longer.When needs traversal all of the port, a large amount of time will be taken.
The ethernet test instrument used in prior art mostly is four test interfaces, eight test interfaces or more little.For an ethernet test instrument with four test ports, if directly will test the total interface of 48 mouth switchs, each test 4 interfaces, then need to carry out ten second tests.
Therefore, with general testing standard requirement, only test the throughput of an Ethernet switch interface, just need test 6 hours, count the interface throughput that Complete test is all in, packet loss and time delay, the time can be longer, cause time cost very high, also can postpone the Development and Production cycle of equipment.Use the large-scale ethernet test instrument of many mouthfuls (20 mouthfuls or more), although can test a large amount of interfaces simultaneously, this quasi-instrument uses general, and composition is very high, unrealistic for most Ethernet switch manufacturer.
Summary of the invention
Have problems for above-mentioned prior art, the invention provides a kind of Ethernet switch interface test method efficiently, the method utilizes the functionality of vlan of switch, come through loopback test between port and once just can cover all of the port, namely all interface throughputs can be tested, the time resource needed in turn saving test and detecting.
The present invention is achieved through the following technical solutions above-mentioned purpose: a kind of Ethernet switch interface test method efficiently, the method comprises the steps:
1), definition exchange interface quantity is n, and interface number is defined as E1, E2, E3 ... En;
2), in order, every two interfaces are divided into a VLAN, and namely E1, E2 are divided into VLAN1, E3, E4 are divided into VLAN2, E5, E6 are divided into VLAN3, and E7, E8 are divided into VLAN4, the like be divided into VLAN (n/2) to En-1, En;
3), by netting twine successively by E2 and E3, E4 and E5, E6 and E7 ... En-2 and En-1 couples together;
4), except E1 and En interface, all loopbacks between two in order, and by E1 and En two interface access network based on ethernet testers tests.
Further, described exchange interface quantity n is even number.
Further, described exchange interface quantity n is odd number, then last interface number En can not participate in loopback test, needs to test separately.
Further, described exchange interface is electrical interface, and network interface is connected and connected by netting twine.
Further, described exchange interface is optical interface, and Fiber connection is passed through in network interface connection.
Further, described exchange interface is between optical interface and electrical interface, and network interface connects by other model calling of transferring.
The invention has the beneficial effects as follows: how the solution that the method can be concrete utilizes divides VLAN to switch ports themselves, and passes through the mode of loopback between port, can disposable test all of the port.Save the cost of testing time, the Development and Production cycle of equipment can not be postponed.Because nearly all larger switch all supports that port vlan divides, and is operated by the method, configuration is simple, easy to operate; When not increasing tester cost, the testing time can greatly be saved.
What the method divided that VLAN mainly utilizes to switch ports themselves is mutually isolated between the different broadcast domains that divide of VLAN, and the communication of isolation different group vlan port, avoids causing test crash to forming broadcast storm between individual port during loopback.
Embodiment
Below in conjunction with embodiments of the invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A kind of Ethernet switch interface test method efficiently, the method comprises the steps:
1), definition exchange interface quantity is n, and interface number is defined as E1, E2, E3 ... En;
2), in order, every two interfaces are divided into a VLAN, and namely E1, E2 are divided into VLAN1, E3, E4 are divided into VLAN2, E5, E6 are divided into VLAN3, and E7, E8 are divided into VLAN4, the like be divided into VLAN (n/2) to En-1, En;
3), by netting twine successively by E2 and E3, E4 and E5, E6 and E7 ... En-2 and En-1 couples together;
4), except E1 and En interface, all loopbacks between two in order, and by E1 and En two interface access network based on ethernet testers tests.
As the preferred technical scheme of the program be: described exchange interface quantity n is even number.
As the preferred technical scheme of the program be: described exchange interface quantity n is odd number, then last interface number En can not participate in loopback test, needs to test separately.
Be: described exchange interface is electrical interface that network interface is connected and connected by netting twine as the preferred technical scheme of the program.
Be: described exchange interface is optical interface that Fiber connection is passed through in network interface connection as the preferred technical scheme of the program.
Be: described exchange interface is between optical interface and electrical interface that network interface connects by other model calling of transferring as the preferred technical scheme of the program.
Embodiment one
For modal 24 mouthfuls of gigabit electrical interface switches on the market.
Defining interface number is 1-24, divides 12 VLAN, each VLAN numbering with interface in VLAN group to be:
VLAN1 comprises interface 1 and interface 2;
VLAN2 comprises interface 3 and interface 4;
VLAN3 comprises interface 5 and interface 6;
VLAN4 comprises interface 7 and interface 8;
VLAN5 comprises interface 9 and interface 10;
VLAN6 comprises interface 11 and interface 12;
VLAN7 comprises interface 13 and interface 14;
VLAN8 comprises interface 15 and interface 16;
VLAN9 comprises interface 17 and interface 18;
VLAN10 comprises interface 19 and interface 20;
VLAN11 comprises interface 21 and interface 22;
VLAN12 comprises interface 23 and interface 24;
With netting twine according to this by the loopback between two in order of the interface except interface 1 and 24, namely with netting twine connecting interface 2 and 3,4 and 5,6 and 7,8 and 9,10 and 11,12 and 13,14 and 15,16 and 17,18 and 19,20 and 21,22 and 23 respectively, then interface 1 and 24 access network based on ethernet tester is tested.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (6)
1. an efficient Ethernet switch interface test method, it is characterized in that, the method comprises the steps:
1), definition exchange interface quantity is n, and interface number is defined as E1, E2, E3 ... En;
2), in order, every two interfaces are divided into a VLAN, and namely E1, E2 are divided into VLAN1, E3, E4 are divided into VLAN2, E5, E6 are divided into VLAN3, and E7, E8 are divided into VLAN4, the like be divided into VLAN (n/2) to En-1, En;
3), by netting twine successively by E2 and E3, E4 and E5, E6 and E7 ... En-2 and En-1 couples together;
4), except E1 and En interface, all loopbacks between two in order, and by E1 and En two interface access network based on ethernet testers tests.
2. the efficient Ethernet switch interface test method of one according to claim 1, is characterized in that: described exchange interface quantity n is even number.
3. the efficient Ethernet switch interface test method of one according to claim 1, it is characterized in that: described exchange interface quantity n is odd number, then last interface number En can not participate in loopback test, needs to test separately.
4. the efficient Ethernet switch interface test method of one according to claim 1, is characterized in that: described exchange interface is electrical interface, and network interface is connected and connected by netting twine.
5. the efficient Ethernet switch interface test method of one according to claim 1, is characterized in that: described exchange interface is optical interface, and Fiber connection is passed through in network interface connection.
6. the efficient Ethernet switch interface test method of one according to claim 1, is characterized in that: described exchange interface is between optical interface and electrical interface, and network interface connects by other model calling of transferring.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510815305.2A CN105337806A (en) | 2015-11-20 | 2015-11-20 | Efficient interface testing method for Ethernet switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510815305.2A CN105337806A (en) | 2015-11-20 | 2015-11-20 | Efficient interface testing method for Ethernet switch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105337806A true CN105337806A (en) | 2016-02-17 |
Family
ID=55288118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510815305.2A Pending CN105337806A (en) | 2015-11-20 | 2015-11-20 | Efficient interface testing method for Ethernet switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105337806A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105871653A (en) * | 2016-03-23 | 2016-08-17 | 四川华拓光通信股份有限公司 | Rapid test system and method of QSFP(Quad Small Form-factor Pluggable)+ to 4SFP(Small Form-factor Pluggable)+ high speed cable |
CN107465577A (en) * | 2017-09-04 | 2017-12-12 | 太仓市同维电子有限公司 | A kind of wide-band terminal production flow rate test method |
CN107769997A (en) * | 2017-10-27 | 2018-03-06 | 中国航空无线电电子研究所 | AFDX trade-to products switching technology delay index testing device and method of testing |
CN111092788A (en) * | 2019-12-16 | 2020-05-01 | 京信通信系统(中国)有限公司 | Switch test system |
CN111224847A (en) * | 2020-01-15 | 2020-06-02 | 广州视源电子科技股份有限公司 | Network port test method and test system of sending card |
CN112104466A (en) * | 2019-06-17 | 2020-12-18 | 广州汽车集团股份有限公司 | Vehicle-mounted Ethernet loopback test method and system based on BroadR-Reach technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1670187A1 (en) * | 2004-12-13 | 2006-06-14 | Alcatel | Tagging rules for hybrid ports |
CN1917452A (en) * | 2005-08-19 | 2007-02-21 | 上海亿人通信终端有限公司 | Method for testing forwarding performance of Ethernet exchange, and method for configuring network |
US20070255733A1 (en) * | 2006-04-26 | 2007-11-01 | Cisco Technology, Inc. (A California Corporation) | Method and system for performing simplified troubleshooting procedures to isolate connectivity problems |
CN103078770A (en) * | 2013-01-22 | 2013-05-01 | 浪潮电子信息产业股份有限公司 | Method for testing stability of switch |
-
2015
- 2015-11-20 CN CN201510815305.2A patent/CN105337806A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1670187A1 (en) * | 2004-12-13 | 2006-06-14 | Alcatel | Tagging rules for hybrid ports |
CN1917452A (en) * | 2005-08-19 | 2007-02-21 | 上海亿人通信终端有限公司 | Method for testing forwarding performance of Ethernet exchange, and method for configuring network |
US20070255733A1 (en) * | 2006-04-26 | 2007-11-01 | Cisco Technology, Inc. (A California Corporation) | Method and system for performing simplified troubleshooting procedures to isolate connectivity problems |
CN103078770A (en) * | 2013-01-22 | 2013-05-01 | 浪潮电子信息产业股份有限公司 | Method for testing stability of switch |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105871653A (en) * | 2016-03-23 | 2016-08-17 | 四川华拓光通信股份有限公司 | Rapid test system and method of QSFP(Quad Small Form-factor Pluggable)+ to 4SFP(Small Form-factor Pluggable)+ high speed cable |
CN105871653B (en) * | 2016-03-23 | 2019-03-26 | 四川华拓光通信股份有限公司 | The fast testing system and method for 4 SFP+ high speed cable of QSFP+to |
CN107465577A (en) * | 2017-09-04 | 2017-12-12 | 太仓市同维电子有限公司 | A kind of wide-band terminal production flow rate test method |
CN107769997A (en) * | 2017-10-27 | 2018-03-06 | 中国航空无线电电子研究所 | AFDX trade-to products switching technology delay index testing device and method of testing |
CN107769997B (en) * | 2017-10-27 | 2021-04-23 | 中国航空无线电电子研究所 | AFDX exchange product exchange technology delay index testing device |
CN112104466A (en) * | 2019-06-17 | 2020-12-18 | 广州汽车集团股份有限公司 | Vehicle-mounted Ethernet loopback test method and system based on BroadR-Reach technology |
CN111092788A (en) * | 2019-12-16 | 2020-05-01 | 京信通信系统(中国)有限公司 | Switch test system |
CN111224847A (en) * | 2020-01-15 | 2020-06-02 | 广州视源电子科技股份有限公司 | Network port test method and test system of sending card |
CN111224847B (en) * | 2020-01-15 | 2023-02-28 | 西安青松光电技术有限公司 | Network port test method and test system of sending card |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105337806A (en) | Efficient interface testing method for Ethernet switch | |
CN102904777B (en) | Port-based multi-equipment testing implementing method | |
CN104767657B (en) | The registration of light cat and test system and method | |
CN103746884A (en) | Method and system for testing flow through switchboard | |
CN103532785B (en) | Full load test method for Ethernet switch | |
CN106556765A (en) | The method of testing and RTDS emulators of distributed distribution automation system | |
CN102497229B (en) | Performance testing system and method for passive optical network (PON) card hardware | |
CN105068445A (en) | Multifunctional signal route adaption matrix | |
CN105553885B (en) | A kind of FC interchanger priority test method | |
CN110278126A (en) | A kind of switch port self checking method, system, terminal and storage medium | |
CN113141279B (en) | Switch mesh test system and method | |
CN104579855A (en) | Testing method of interchanger product MINI LTT | |
CN103152220A (en) | Method for carrying out Full Mesh performance test by utilizing Ethernet switch | |
CN105262638A (en) | Method for simultaneously testing plurality of electronic products | |
CN108462659A (en) | The network switching equipment and its data transmission method | |
CN112436601A (en) | Information flow processing method of intelligent substation, computer equipment and storage medium | |
CN103647680A (en) | Method for testing size of MAC address table of switch product | |
CN104580030A (en) | Business panel, main control panel, communication method of business panel and main control panel, access equipment and rack-type system | |
CN108562805A (en) | A kind of interactive mode break-make electric test device, system and method | |
CN109633414B (en) | Backboard testing device and method based on ATCA (advanced telecom computing architecture) | |
CN103716258B (en) | High-density line card, switching device, cluster system and electric signal type configuration method | |
CN106789433A (en) | The method that low-speed port based on Ethernet switch tests high-speed port performance | |
CN109992552A (en) | A kind of managing device and management method of IIC | |
CN108197048A (en) | Multifunctional interface circuit and versatile interface realization method | |
CN101599808A (en) | A kind of cross board method of testing, system and chip |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20160217 |