CN103532785A - Full load test method for Ethernet switch - Google Patents

Full load test method for Ethernet switch Download PDF

Info

Publication number
CN103532785A
CN103532785A CN201310493210.4A CN201310493210A CN103532785A CN 103532785 A CN103532785 A CN 103532785A CN 201310493210 A CN201310493210 A CN 201310493210A CN 103532785 A CN103532785 A CN 103532785A
Authority
CN
China
Prior art keywords
low
speed
speed port
port
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.)
Granted
Application number
CN201310493210.4A
Other languages
Chinese (zh)
Other versions
CN103532785B (en
Inventor
毛永烽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310493210.4A priority Critical patent/CN103532785B/en
Publication of CN103532785A publication Critical patent/CN103532785A/en
Application granted granted Critical
Publication of CN103532785B publication Critical patent/CN103532785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to a full load test method for an Ethernet switch, in particular to a switch test method. The method comprises the steps that high-speed ports and low-speed ports are divided into N groups, wherein N is more than or equal to 1; each group respectively comprises a first high-speed port, a second high-speed port, a low-speed port corresponding to a first virtual local area network together with the first high-speed port and a low-speed port corresponding to a second virtual local area network together with the second high-speed port; each first high-speed port is connected with each second high-speed port and each low-speed port is connected with one test port of low-speed Ethernet test equipment; each low-speed port of the first virtual local area network is set to correspond to one low-speed port of the second virtual local area network; the low-speed Ethernet test equipment sends data frames to each low-speed port in the first virtual local area network according to the maximum data flow to realize the full load of the Ethernet switch; environment and/or pressure test is performed. The full load work test of the high-speed Ethernet switch is finished by using a low-speed Ethernet tester and setting a virtual local area network technology, and the test investment is reduced.

Description

A kind of full load method of testing of Ethernet switch
Technical field
The present invention relates to electronic communication field, be specifically related to a kind of method of testing of switch.
Background technology
Ethernet switch is the core connection device in diverse network, it is the important support that guarantees whole network performance, development along with network technology, the overall performance of Ethernet switch and reliability are all had higher requirement, require Ethernet switch under complete machine full-load conditions, also can stand the test of various external environment conditions.In the test of Ethernet switch, often need to allow Ethernet switch operation at full load, to do some environmental testings and pressure test, in prior art, for the test of the full load of ten thousand mbit ethernet switches, a kind of method is to adopt ten thousand mbit ethernet testers, and this technology is directly carried out exchanges data to 10,000,000,000 network interfaces of 10,000,000,000 switches, yet expensive, and the port that can be used for testing is relatively less simultaneously, for the more switch of network interface, cannot meet testing requirement.
Summary of the invention
The object of the invention is to, a kind of full load method of testing of 10,000,000,000 switches is provided, solve above technical problem.
Technical problem solved by the invention can realize by the following technical solutions:
A full load method of testing, be applied to Ethernet switch, described Ethernet switch is provided with at least two high-speed ports and a plurality of low-speed port, it is characterized in that, described method comprises:
Step s1, is divided into N group by described high-speed port and low-speed port, and N is more than or equal to 1; Wherein, every group comprises respectively the first high-speed port, the second high-speed port, sets the low-speed port of number and corresponding to first of the second VLAN, set the low-speed port of number with described the second high-speed port corresponding to first of the first VLAN with described the first high-speed port; Described the first high-speed port connects described the second high-speed port by optical transceiver module; Described in each, low-speed port connects a test port of low speed ethernet test equipment;
Step s2, by the low-speed port in first VLAN of every group and low-speed port corresponding setting one by one in the second VLAN;
Step s3, adopt low speed ethernet test equipment according to maximum data flow, to send Frame to each low-speed port in the first VLAN: the data of all low-speed ports of described the first VLAN are carried out data transmission by described the first high-speed port, described the second high-speed port receives the data of described the first high-speed port transmission and is transmitted to corresponding low-speed port in described the second VLAN, the data traffic of described the first high-speed port and described the second high-speed port reaches full load, realizes the full load of Ethernet switch;
Step s4, carries out environmental testing and/or pressure test.
Preferably, described low-speed port is gigabit port, and described high-speed port is 10,000,000,000 ports.
Preferably, described the first setting number is ten.
Preferably, described Ethernet switch comprises 20 low-speed ports.
Preferably, described optical transceiver module comprises the first optical transceiver module and the second optical transceiver module, and described the first high-speed port connects described the first optical transceiver module, and described the second high-speed port connects described the second optical transceiver module; Between described the first optical transceiver module and described the second optical transceiver module, by optical fiber, be connected.
Preferably, described by the low-speed port in first VLAN of every group and low-speed port corresponding setting one by one in the second VLAN; Comprise:
Destination address corresponding setting one by one by the source address of each low-speed port in described the first VLAN with each low-speed port in described the second VLAN;
And, by the source address of the destination address of each low-speed port in described the first VLAN and each low-speed port in described the second VLAN one by one corresponding arrange identical.
Beneficial effect: owing to adopting above technical scheme, the present invention can not adopt under the prerequisite of ten thousand mbit ethernet testers, the technology of utilizing gigabit Ethernet tester and VLAN being set completes the test of the operation at full load of ten thousand mbit ethernet switches, reduces testing cost.
Accompanying drawing explanation
Fig. 1 is test flow chart of the present invention;
Fig. 2 is the test macro configuration diagram of a kind of specific embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the present invention can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
With reference to Fig. 1, a kind of full load method of testing of Ethernet switch, is applied to Ethernet switch, and Ethernet switch is provided with at least two high-speed ports and a plurality of low-speed port, it is characterized in that, method comprises:
Step s1, is divided into N group by high-speed port and low-speed port, and N is more than or equal to 1; Wherein, every group comprises respectively the first high-speed port, the second high-speed port, sets the low-speed port of number and corresponding to first of the second VLAN, set the low-speed port of number with the second high-speed port corresponding to first of the first VLAN with the first high-speed port; The first high-speed port connects the second high-speed port by optical transceiver module; Each low-speed port connects a test port of low speed ethernet test equipment;
Step s2, by the low-speed port in first VLAN of every group and low-speed port corresponding setting one by one in the second VLAN;
Step s3, adopt low speed ethernet test equipment according to maximum data flow, to send Frame to each low-speed port in the first VLAN: the data of all low-speed ports of the first VLAN are carried out data transmission by the first high-speed port, the second high-speed port receives the data of the first high-speed port transmission and is transmitted to low-speed port corresponding in the second VLAN, the data traffic of the first high-speed port and the second high-speed port reaches full load, realizes the full load of Ethernet switch;
Step s4, carries out environmental testing and/or pressure test.
, low-speed port is gigabit port, high-speed port is 10,000,000,000 ports.Ethernet switch comprises 20 gigabit ports, and two 10,000,000,000 ports, are respectively the 10,000,000,000 port E1, the 20,000,000,000 port E2,
Step s1, with reference to Fig. 2, chooses ten gigabit ports, as is respectively G1, G2, G3, G4, G5, G6, G7, G8, G9, G10 and the 10,000,000,000 port E1 configuration to the first virtual LAN VLAN 1; From remaining gigabit port, choose again ten gigabit ports, as be respectively G11, G12, G13, G14, G15, G16, G17, G18, G19, G20 and the 20,000,000,000 port E2 configuration to the second virtual LAN VLAN 2; The 10,000,000,000 port E1 connects the first optical transceiver module 101, the 20,000,000,000 port E2 and connects the second optical transceiver module 102; The first optical transceiver module 101 is connected by optical fiber with the second optical transceiver module 102; Each gigabit port connects a test port of gigabit Ethernet testing equipment 103; In concrete enforcement, gigabit port is to surpass 5 class netting twine connecting test ports;
Step s2, arranges the gigabit port in corresponding the second virtual LAN VLAN 2 of each gigabit port in the first virtual LAN VLAN 1; It is identical with the destination address of a gigabit port in the second virtual LAN VLAN 2 by the source address of the gigabit port in the first virtual LAN VLAN 1 is set, simultaneously, the destination address of the gigabit port in the first virtual LAN VLAN 1 is set identical with the source address of a gigabit port in the second virtual LAN VLAN 2, makes the source address of gigabit port one to one identical with destination address; As connection well after, the destination address of the source address of gigabit port G1 and G11 is arranged to the same address, then the source address of the destination address of gigabit port G1 and G11 is arranged to the same address.The source address of other 18 gigabit ports and the method to set up of destination address, with G1 and G11, form 10 pairs of gigabit ports corresponding one by one respectively;
Step s3, adopt each gigabit port in 103 pairs of the first virtual LAN VLAN 1 of gigabit Ethernet testing equipment to send Frame according to maximum data flow, also claim to beat stream, the data of all gigabit ports of the first virtual LAN VLAN 1 are carried out data transmission by the 10,000,000,000 port E1, the 20,000,000,000 port E2 receives the data of the 10,000,000,000 port E1 transmission and is transmitted to corresponding gigabit port in the second virtual LAN VLAN 2, two ports of G1 and G11 carry out exchanges data, G2 and G12 carry out exchanges data, other mouthfuls all by that analogy, the data traffic of ten gigabit ports is carried out to data transmission by the 10,000,000,000 port, the data traffic of ten gigabit ports is carried out to data receiver by the 20,000,000,000 port, the data traffic of the 10,000,000,000 port and the 20,000,000,000 port reaches 10,000,000,000, has realized the full load of 10,000,000,000 ports, has also just realized the full load test condition of Ethernet switch,
Step s4, carries out environmental testing and/or pressure test according to method of testing of the prior art.
The present invention is by Virtual Local Area Network technology, the data traffic of 2 groups of 10 gigabit ports is carried out to sending and receiving by the 10,000,000,000 port, the 20,000,000,000 port, so just realized the gigabit port of 10,000,000,000 switches and the operation at full load of 10,000,000,000 ports simultaneously.Can allow the full load of 10,000,000,000 switches by gigabit Ethernet testing equipment, gigabit Ethernet testing equipment can be cheap a lot of with respect to ten thousand mbit ethernet testing equipments, reduce testing cost; Test port quantity can increase and increase along with increasing the test board number of gigabit Ethernet testing equipment, simple to operation; Whether and it is normal by this technology, can also to detect in 10,000,000,000 switches functionality of vlan.
The present invention is particularly useful for the Ethernet switch of the multiple that the ratio of the number of gigabit port and the number of 10,000,000,000 ports is 10; Also be applicable to the situation that the ratio of the number of gigabit port and the number of 10,000,000,000 ports is less than 10, now will guarantee that the gigabit network interface number in each VLAN is consistent; The situation that is greater than 10 for the ratio of the number of gigabit port and the number of 10,000,000,000 ports, can be connected to remaining gigabit port after configuring virtual LAN separately the test port of gigabit Ethernet testing equipment, realizes full load.
The foregoing is only preferred embodiment of the present invention; not thereby limit embodiments of the present invention and protection range; to those skilled in the art; should recognize that being equal to that all utilizations specification of the present invention and diagramatic content done replace and the resulting scheme of apparent variation, all should be included in protection scope of the present invention.

Claims (6)

1. a full load method of testing for Ethernet switch, is applied to Ethernet switch, and described Ethernet switch is provided with at least two high-speed ports and a plurality of low-speed port, it is characterized in that, described method comprises:
Step s1, is divided into N group by described high-speed port and low-speed port, and N is more than or equal to 1; Wherein, every group comprises respectively the first high-speed port, the second high-speed port, sets the low-speed port of number and corresponding to first of the second VLAN, set the low-speed port of number with described the second high-speed port corresponding to first of the first VLAN with described the first high-speed port; Described the first high-speed port connects described the second high-speed port by optical transceiver module; Described in each, low-speed port connects a test port of low speed ethernet test equipment;
Step s2, by the low-speed port in first VLAN of every group and low-speed port corresponding setting one by one in the second VLAN;
Step s3, adopt low speed ethernet test equipment according to maximum data flow, to send Frame to each low-speed port in the first VLAN: the data of all low-speed ports of described the first VLAN are carried out data transmission by described the first high-speed port, described the second high-speed port receives the data of described the first high-speed port transmission and is transmitted to corresponding low-speed port in described the second VLAN, the data traffic of described the first high-speed port and described the second high-speed port reaches full load, realizes the full load of Ethernet switch;
Step s4, carries out environmental testing and/or pressure test.
2. the full load method of testing of Ethernet switch according to claim 1, is characterized in that, described low-speed port is gigabit port, and described high-speed port is 10,000,000,000 ports.
3. the full load method of testing of Ethernet switch according to claim 1, is characterized in that, described the first setting number is ten.
4. the full load method of testing of Ethernet switch according to claim 1, is characterized in that, described Ethernet switch comprises 20 low-speed ports.
5. the full load method of testing of Ethernet switch according to claim 1, it is characterized in that, described optical transceiver module comprises the first optical transceiver module and the second optical transceiver module, described the first high-speed port connects described the first optical transceiver module, and described the second high-speed port connects described the second optical transceiver module; Between described the first optical transceiver module and described the second optical transceiver module, by optical fiber, be connected.
6. the full load method of testing of Ethernet switch according to claim 1, is characterized in that, described by the low-speed port in first VLAN of every group and low-speed port corresponding setting one by one in the second VLAN; Comprise:
Destination address corresponding setting one by one by the source address of each low-speed port in described the first VLAN with each low-speed port in described the second VLAN;
And, by the source address of the destination address of each low-speed port in described the first VLAN and each low-speed port in described the second VLAN one by one corresponding arrange identical.
CN201310493210.4A 2013-10-18 2013-10-18 Full load test method for Ethernet switch Active CN103532785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310493210.4A CN103532785B (en) 2013-10-18 2013-10-18 Full load test method for Ethernet switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310493210.4A CN103532785B (en) 2013-10-18 2013-10-18 Full load test method for Ethernet switch

Publications (2)

Publication Number Publication Date
CN103532785A true CN103532785A (en) 2014-01-22
CN103532785B CN103532785B (en) 2017-02-15

Family

ID=49934484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310493210.4A Active CN103532785B (en) 2013-10-18 2013-10-18 Full load test method for Ethernet switch

Country Status (1)

Country Link
CN (1) CN103532785B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184642A (en) * 2014-08-31 2014-12-03 西安电子科技大学 Multistage star type switched network structure and optimizing method
CN104202215A (en) * 2014-09-10 2014-12-10 上海斐讯数据通信技术有限公司 Method for testing full load of electric ports of Ethernet switchboard
CN106789433A (en) * 2016-12-29 2017-05-31 武汉微创光电股份有限公司 The method that low-speed port based on Ethernet switch tests high-speed port performance
CN110460485A (en) * 2018-05-07 2019-11-15 大唐移动通信设备有限公司 Test the device and method of Ethernet interface performance
CN110505110A (en) * 2018-05-18 2019-11-26 杭州海康威视数字技术股份有限公司 Test method, device and the Multi-netmouth host of network interface
CN112422361A (en) * 2020-10-16 2021-02-26 浪潮思科网络科技有限公司 Switch testing method, device and medium
CN114025258A (en) * 2021-10-11 2022-02-08 中国航空无线电电子研究所 Fiber Ethernet switch testing method based on VLAN division
CN115297070A (en) * 2022-07-15 2022-11-04 中国航空无线电电子研究所 Multi-metadata-excited ARINC664 switch cache overflow test method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549531A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Apparatus for testing network equipment transmission performance and method thereof
US20060002307A1 (en) * 2004-06-30 2006-01-05 Accton Technology Corporation Apparatus and method for testing a network connection device
CN101247289A (en) * 2008-03-17 2008-08-20 中兴通讯股份有限公司 Test method and device for forwarding performance of Ethernet switchboard high speed port
CN103107924A (en) * 2013-03-06 2013-05-15 深圳市新格林耐特通信技术有限公司 Testing method for performance of network device with high-rate port by utilizing low-rate port
CN104579811A (en) * 2013-10-28 2015-04-29 上海斐讯数据通信技术有限公司 Method of testing high-capacity exchange

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549531A (en) * 2003-05-21 2004-11-24 华为技术有限公司 Apparatus for testing network equipment transmission performance and method thereof
US20060002307A1 (en) * 2004-06-30 2006-01-05 Accton Technology Corporation Apparatus and method for testing a network connection device
CN101247289A (en) * 2008-03-17 2008-08-20 中兴通讯股份有限公司 Test method and device for forwarding performance of Ethernet switchboard high speed port
CN103107924A (en) * 2013-03-06 2013-05-15 深圳市新格林耐特通信技术有限公司 Testing method for performance of network device with high-rate port by utilizing low-rate port
CN104579811A (en) * 2013-10-28 2015-04-29 上海斐讯数据通信技术有限公司 Method of testing high-capacity exchange

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184642B (en) * 2014-08-31 2017-05-10 西安电子科技大学 Multistage star type switched network structure and optimizing method
CN104184642A (en) * 2014-08-31 2014-12-03 西安电子科技大学 Multistage star type switched network structure and optimizing method
CN104202215A (en) * 2014-09-10 2014-12-10 上海斐讯数据通信技术有限公司 Method for testing full load of electric ports of Ethernet switchboard
CN106789433A (en) * 2016-12-29 2017-05-31 武汉微创光电股份有限公司 The method that low-speed port based on Ethernet switch tests high-speed port performance
CN110460485A (en) * 2018-05-07 2019-11-15 大唐移动通信设备有限公司 Test the device and method of Ethernet interface performance
CN110460485B (en) * 2018-05-07 2021-05-07 大唐移动通信设备有限公司 Device and method for testing Ethernet interface performance
CN110505110B (en) * 2018-05-18 2021-07-20 杭州海康威视数字技术股份有限公司 Network interface test method and device and multi-network-port host
CN110505110A (en) * 2018-05-18 2019-11-26 杭州海康威视数字技术股份有限公司 Test method, device and the Multi-netmouth host of network interface
CN112422361A (en) * 2020-10-16 2021-02-26 浪潮思科网络科技有限公司 Switch testing method, device and medium
CN114025258A (en) * 2021-10-11 2022-02-08 中国航空无线电电子研究所 Fiber Ethernet switch testing method based on VLAN division
CN114025258B (en) * 2021-10-11 2024-03-15 中国航空无线电电子研究所 Optical fiber Ethernet switch testing method based on VLAN division
CN115297070A (en) * 2022-07-15 2022-11-04 中国航空无线电电子研究所 Multi-metadata-excited ARINC664 switch cache overflow test method
CN115297070B (en) * 2022-07-15 2024-02-27 中国航空无线电电子研究所 Multi-metadata-excited ARINC664 switch cache overflow test method

Also Published As

Publication number Publication date
CN103532785B (en) 2017-02-15

Similar Documents

Publication Publication Date Title
CN103532785A (en) Full load test method for Ethernet switch
CN106789679A (en) A kind of Cluster Line-card Chassis, multi-chassis cascading router, routing and message processing method
CN101247289B (en) Test method and device for forwarding performance of Ethernet switchboard high speed port
CN103746884A (en) Method and system for testing flow through switchboard
CN103475542A (en) Network equipment handling capacity performance testing system and method
CN106789753A (en) A kind of Cluster Line-card Chassis, multi-chassis cascading router and message processing method
CN103036747A (en) Test method for performance of high-density port network equipment
CN103152220A (en) Method for carrying out Full Mesh performance test by utilizing Ethernet switch
CN103152239A (en) Open VSwitch-based virtual network implementation method and system
CN105337806A (en) Efficient interface testing method for Ethernet switch
CN207588888U (en) A kind of test device and mainboard
CN103036740A (en) Ethernet passive optical network (EPON) system testing method for network terminal gigabit Ethernet interface signal
CN105577273A (en) Method for testing ONU data forwarding function in batches
CN101217312B (en) An optical interface test fixture, test method and system
CN100541215C (en) A kind of state analog device and equipment under test function test system
CN109756400A (en) The flow rate test method and system of 10G POE interchanger
CN106951386A (en) A kind of multifunction converter based on FPGA
CN110034978A (en) A kind of method and apparatus of network apparatus test performance
CN105376118B (en) A kind of test method of AFDX interchangers sending performance
CN104954065B (en) A kind of passive optical network and communication means
CN101355601B (en) Network official telephone for digital microwave system and implementing method thereof
CN103716258B (en) High-density line card, switching device, cluster system and electric signal type configuration method
CN101656743A (en) Device for switching 63-path bridge service and kilomega Ethernet port in STM-1
CN106789433A (en) The method that low-speed port based on Ethernet switch tests high-speed port performance
CN105099775A (en) OLT and ONU connection detecting method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20180313

Granted publication date: 20170215

PD01 Discharge of preservation of patent

Date of cancellation: 20210313

Granted publication date: 20170215

PD01 Discharge of preservation of patent
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20170215

PP01 Preservation of patent right
PD01 Discharge of preservation of patent

Date of cancellation: 20240313

Granted publication date: 20170215

PD01 Discharge of preservation of patent