CN100409623C - Method for testing Ethernet switch stability - Google Patents

Method for testing Ethernet switch stability Download PDF

Info

Publication number
CN100409623C
CN100409623C CNB2003101035813A CN200310103581A CN100409623C CN 100409623 C CN100409623 C CN 100409623C CN B2003101035813 A CNB2003101035813 A CN B2003101035813A CN 200310103581 A CN200310103581 A CN 200310103581A CN 100409623 C CN100409623 C CN 100409623C
Authority
CN
China
Prior art keywords
test
model machine
flow
tested model
port
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.)
Expired - Lifetime
Application number
CNB2003101035813A
Other languages
Chinese (zh)
Other versions
CN1545256A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNB2003101035813A priority Critical patent/CN100409623C/en
Publication of CN1545256A publication Critical patent/CN1545256A/en
Application granted granted Critical
Publication of CN100409623C publication Critical patent/CN100409623C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a method for testing the stability of an Ethernet exchanger, which comprises the steps that (1), all ports of a tested model machine are connected to a flow generator; (2), the port mode of the tested model machine is in a self-adapting mode, a flow control function is closed, and all the ports are in a default state; (3), the port rate of the flow generator is in a linear speed, and the frame length of the flow generator is random. The method also comprises at least one full charge and load test, a flow shock test, a continuous operation test, a limit test and an environmental stress test which can be combined in a random order, and the stability of the Ethernet exchanger is completely tested by the testing processes. Compared with the prior art, the method of the present invention has the advantages of wide covering surface of testing content, high efficiency, obvious effect, high resource utilization rate, testing time and testing cost saving, and successful rate increase of a product stability test, and achieves the purpose that whether a product is stable is identified. Potential failures can be discovered as soon as possible, and the great loss generated by users and product suppliers is avoided.

Description

The method of test Ethernet switch stability
Technical field
The present invention relates to field tests, relate in particular to a kind of method of testing Ethernet switch.
Background technology
Establishment along with IP network technical market leading position, the Ethernet switch that can realize the exchange of IP datagram high-performance obtains the approval in market and has obtained application widely, but also there is poor stability on the market in a large number, often crashes or the product of inferior quality of service disconnection, bring massive losses to the user.Therefore how to detect the problem that the stability of Ethernet switch has become user and manufacturer to be concerned about very much.Existing Ethernet switch stability test technology is fairly simple, usually runs service traffics on switch with exactlying, and test period is generally one all or longer, sees that stability that whether tested model machine switch occurs judging unusually how.The shortcoming of prior art is: test point does not cover fully, and the time that takies is long, need expend more man power and material, and effect is not remarkable.
Summary of the invention
The objective of the invention is to propose a kind of method of testing Ethernet switch stability in order to have overcome long, shortcoming such as efficient is low, test point covers not exclusively, and is wasteful of test period of the prior art.
A kind of method of testing Ethernet switch stability comprises the following steps: that (1) is connected to all of the port of tested model machine on the flow generator; (2) port mode that tested model machine is set is a self adaptation, closing flow control function, and all of the port all is in default setting; (3) port speed that flow generator is set is a linear speed, and frame length is at random; Also comprise following at least a testing process with combined in any order:
(1) full load load testing:
(a) many IP messages of structure;
(b) flow generator adopts network type flow rate mode, switch type flow rate mode and the orthoscopic flow rate mode all of the port transmitted traffic to tested model machine respectively, makes tested model machine oepration at full load;
(2) flow attack test:
(a) construct the different 802.1Q frame of all VLAN marks of purpose MAC mac frame, VLAN mark and the tested model machine identical respectively, broadcast packet, multicast packets with tested model machine MAC;
(b) flow generator impacts to all of the port transmitted traffic of tested model machine with the message of above-mentioned specified format respectively;
(3) ongoing operation test:
(a) many IP messages of structure;
(b) flow generator adopts all of the port transmitted traffic of orthoscopic flow rate mode to tested model machine;
(c) make one with automated test tool and constantly carry out interpolations/deletion VLAN and member, check configuration, script that other operation commonly used etc. is moved, and realize manual simulationization operation synchronously to model machine by the control desk Run Script;
(4) limit test:
(a) many IP messages of structure;
(b) make a script with automated test tool, take all system resources of tested model machine;
(c) flow generator adopts all of the port transmitted traffic of orthoscopic flow rate mode to tested model machine, makes tested model machine oepration at full load;
(5) environmental stress test:
(a) tested model machine is put into sweat box, maintenance is connected with flow generator;
(b) many IP messages of structure make any two ports can both send out flow mutually;
(c) Control Parameter of sweat box is set, comprises high temperature, low temperature, hold time, warm variability, high low temperature cycle period and cycle-index, circular flow;
(d) flow generator makes tested model machine oepration at full load to all of the port transmitted traffic of tested model machine, and the duration is no less than the operation total time of sweat box;
(4) ruuning situation by consle, snmp, telnet and web webmaster mode observing system respectively, and logging test results.
In the above-mentioned testing process, the lasting time of load testing is 8-24 hour at full capacity; The time that the flow attack test continues is at least 30 minutes; The time that the ongoing operation test continues is not less than 8 hours; The time that limit test continues is no less than 2 hours.
Adopt the method for the invention, the stability of testing the full test Ethernet switch respectively by full load load testing, flow attack test, ongoing operation test, limit test and environmental stress, compared with prior art, the content measurement broad covered area, the efficient height, effect is remarkable, the resource utilization height, reached the purpose of differentiating that product is whether stable, and testing time and testing expense have been saved, improved the success rate of product stability check, incipient fault can have been accessed as early as possible find, the heavy losses of having avoided user and product vendor to occur.
Description of drawings
Fig. 1 is the flow chart of one embodiment of the present of invention.
Fig. 2 is the schematic diagram that flow generator carries out several application models of flow when sending.
Fig. 3 carries out the flow chart of load testing at full capacity in one embodiment of the present of invention.
Fig. 4 is the flow chart that carries out the flow attack test in one embodiment of the present of invention.
Fig. 5 is the flow chart that carries out limit test in one embodiment of the present of invention.
Fig. 6 is the flow chart that carries out the environmental stress test in one embodiment of the present of invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.
Fig. 1 is the flow chart of one embodiment of the present of invention.As shown in Figure 1, the present invention includes at least a testing process with combined in any order: load testing, flow attack test, ongoing operation test, limit test and environmental stress are tested at full capacity.In the present embodiment, its method of testing comprises: 1, connect tested model machine and flow generator.In the present embodiment, tested model machine is connected with optical fiber with netting twine (Category-5 twisted pair) with flow generator.2, tested model machine is set.The port mode that tested model machine is set is a self adaptation, closing flow control function, and all of the port all is in default setting, is default in VLAN1 such as the default setting of all of the port.3, flow generator is set.The port speed that flow generator is set is a linear speed, and frame length is at random.4, carry out the full load load testing.5, carry out the flow attack test.6, carry out the ongoing operation test.7, carry out limit test.8, carry out the environmental stress test.9, pass through the operation conditions of webmaster mode observing system, and logging test results.Specify above several testing process below respectively.
Fig. 2 is the schematic diagram that flow generator carries out several application models of flow when sending.As shown in Figure 2, the circle among the figure is represented port, the direction indication direction of the traffic of arrow.Wherein, Fig. 2 A represents network type flow sending mode, and Fig. 2 B is a switch type flow sending mode, and Fig. 2 C is an orthoscopic flow sending mode.In several testing processs that the present invention proposes, flow generator will be used several flow sending modes among Fig. 2 respectively.
Fig. 3 carries out the flow chart of load testing at full capacity in one embodiment of the present of invention.As shown in Figure 3, in this embodiment of the present invention, the load testing flow process comprises the following steps: many IP messages of (1) structure at full capacity.(2) flow generator sends the network type flow to all of the port of Ethernet switch.(3) flow generator sends the switch type flow to all of the port of Ethernet switch.(4) flow generator sends the orthoscopic flow to all of the port of Ethernet switch.Flow generator sends the analog service flow with three kinds of different flow rate modes to all of the port of tested model machine, transmission rate generally is equal to or greater than the receiving ability of receiving port, make model machine move a period of time at full capacity or under the state of excess load, the duration is to be advisable in 8-24 hour.(5) output delivers test result at full capacity.
Fig. 4 is the flow chart that carries out the flow attack test in one embodiment of the present of invention.As shown in Figure 4, in this embodiment of the present invention, the flow attack testing process comprises the following steps: that (1) construct the analog message of formulating form respectively.These analog messages comprise: 802 1Q frame, broadcast packet and the multicast packets that all VLAN marks of mac frame, VLAN mark and tested model machine that purpose MAC is identical with tested model machine MAC are different.In order to strengthen testing effect, also can increase other message, as protocol package, erroneous packets, long packets, ultrashort bag, complete 0 frame etc.(2) identical MAC Address frame flow attack.(3) the 802.1Q frame impacts.(4) multicast packets is impacted.(5) broadcast packet impacts.Flow generator impacts at least 30 minutes duration with the message of above-mentioned specified format to all of the port transmitted traffic of tested model machine respectively.(6) record and output flow shock-testing result.
The ongoing operation testing process comprises the following steps: many IP messages of (1) structure.(2) flow generator adopts all of the port transmitted traffic of orthoscopic flow rate mode to tested model machine, and the duration is no less than 8 hours.(3) make one with automated test tool and constantly carry out interpolation/deletion VLAN and member, check configuration, other operation commonly used waits script of action, and realizes manual simulationization operation to model machine synchronously by the control desk Run Script, and the duration is not less than 8 hours.(4) record and output ongoing operation test result.
Fig. 5 is the flow chart that carries out limit test in one embodiment of the present of invention.As shown in Figure 5, in this embodiment of the present invention, the limit test flow process comprises the following steps: many IP messages of (1) structure.(2) take the multicast table of tested prototyping system.(3) take the vlan table of tested prototyping system.(4) take the mac address table of tested prototyping system.In limit test, make a script with automated test tool, take all system resources of tested model machine, these system resources comprise vlan table, MACA address table, the multicast table of tested model machine; If three-tier switch also comprises routing table, ACL table and filter table.(5) allow system's oepration at full load.Flow generator adopts all of the port transmitted traffic of orthoscopic flow rate mode to tested model machine, makes tested model machine oepration at full load, and the duration is no less than 2 hours; (6) record and output limit test result.
Fig. 6 is the flow chart that carries out the environmental stress test in one embodiment of the present of invention.As shown in Figure 6, in this embodiment of the present invention, the environmental stress testing process comprises the following steps: (1) environmental stress test beginning.(2) switch is put into the Controllable Temperature case.Tested model machine is put into sweat box, and it is kept and being connected of flow generator.(3) parameter of design temperature controlled box.Comprise high temperature, low temperature, hold time, warm variability, high low temperature cycle period and cycle-index.(4) allow the model machine oepration at full load.Construct many IP messages, make any two ports can both send out flow mutually, flow generator makes tested model machine oepration at full load to all of the port transmitted traffic of tested model machine, and the duration is no less than the operation total time of sweat box.(5) high temperature keeps.(6) low temperature keeps.(7) high low temperature circulation.(8) record and output environment stress test result.Variation for the analog operation ambient temperature, exposure problem in short time, test prototype is put into the Controllable Temperature case, hot operation a period of time (being generally 2~8 hours), switch to cold operation a period of time (being generally 2~8 hours) again, after continuous circular flow a period of time of high temperature and low temperature (being generally 24~48 hours), can check high low temperature ability to bear and the system normal serviceability under high temperature and low temperature conservation condition of model machine device like this.In this embodiment of the present invention, the parameter of setting is: high temperature 55 degree, and low temperature one 15 degree, holding time is 2 hours, and warm variability is 3 a minutes/degree, and cycle period is 5 hours, and cycle-index is 10 times.In order to reach better effect, can also in the environmental stress test, increase the test of thunderbolt vulnerability to jamming, the test of static vulnerability to jamming, and voltage, the test of electric current vulnerability to jamming etc.
In above various testing processs, all can write down and output test result, system passes through the ruuning situation of consle, snmp, telnet and web webmaster mode observing system respectively, and logging test results.Judgment criterion to above several test results is: should not occur at test period 1, that port is hung up, bad phenomenon such as system restarts, system in case of system halt, service disconnection.2, mistakes such as CRC should not appear in each port.3, phenomenons such as slow should not appear responding or responding in the operation of console mouth.4, webmasters such as WEB, TELNET, SNMP should keep normal.5, during the temperature test, the switching performance that the switching performance of model machine is compared under the room temperature does not obviously descend.

Claims (7)

1. test the method for Ethernet switch stability, it is characterized in that comprising: (1) is connected to all of the port of tested model machine on the flow generator; (2) port mode that tested model machine is set is a self adaptation, closing flow control function, and all of the port all is in default setting; (3) port speed that flow generator is set is a linear speed, and frame length is at random; Also comprise following at least a testing process:
(1) full load load testing:
(a) many IP messages of structure;
(b) flow generator adopts network type flow rate mode, switch type flow rate mode and the orthoscopic flow rate mode all of the port transmitted traffic to tested model machine respectively, makes tested model machine oepration at full load;
(2) flow attack test:
(a) construct the different 802.1Q frame of all VLAN marks of purpose MAC mac frame, VLAN mark and the tested model machine identical respectively, broadcast packet, multicast packets with tested model machine MAC;
(b) flow generator impacts to all of the port transmitted traffic of tested model machine with the message of above-mentioned specified format respectively;
(3) ongoing operation test:
(a) many IP messages of structure;
(b) flow generator adopts all of the port transmitted traffic of orthoscopic flow rate mode to tested model machine;
(c) make one with automated test tool and constantly carry out interpolations/deletion VLAN and member, check configuration, script that other operation commonly used etc. is moved, and realize manual simulationization operation synchronously to model machine by the control desk Run Script;
(4) limit test:
(a) many IP messages of structure;
(b) make a script with automated test tool, take all system resources of tested model machine;
(c) flow generator adopts all of the port transmitted traffic of orthoscopic flow rate mode to tested model machine, makes tested model machine oepration at full load;
(5) environmental stress test:
(a) tested model machine is put into sweat box, maintenance is connected with flow generator;
(b) many IP messages of structure make any two ports can both send out flow mutually;
(c) Control Parameter of sweat box is set, comprises high temperature, low temperature, hold time, warm variability, high low temperature cycle period and cycle-index, circular flow;
(d) flow generator makes tested model machine oepration at full load to all of the port transmitted traffic of tested model machine, and the duration is no less than the operation total time of sweat box;
(4) ruuning situation by consle, snmp, telnet and web webmaster mode observing system respectively, and logging test results.
2. the method for test Ethernet switch stability according to claim 1 is characterized in that the time that described full load load testing continues is 8-24 hour; The time that the flow attack test continues is at least 30 minutes; The time that the ongoing operation test continues is not less than 8 hours; The time that limit test continues is no less than 2 hours.
3. the method for test Ethernet switch stability according to claim 1 is characterized in that the default setting of all of the port in the described step (2) is default in VLAN1.
4. the method for test Ethernet switch stability according to claim 1 is characterized in that all system resources that script in the described limit test takes tested model machine comprise vlan table, MACA address table, the multicast table of the system of taking; If three-tier switch also comprises routing table, ACL table and filter table.
5. the method for test Ethernet switch stability according to claim 1, the Control Parameter that it is characterized in that sweat box in the described environmental stress test is: high temperature 55 degree, low temperature-15 degree, hold time is 2 hours, the temperature variability is 3 a minutes/degree, cycle period is 5 hours, and cycle-index is 10 times.
6. the method for test Ethernet switch stability according to claim 1 is characterized in that can also construct protocol package, erroneous packets, long packets, ultrashort bag and complete 0 frame in the described flow attack test carries out the flow attack test.
7. the method for test Ethernet switch stability according to claim 1 is characterized in that can also increasing the test of thunderbolt vulnerability to jamming, the test of static vulnerability to jamming, electric current and voltage vulnerability to jamming test contents in the described environmental stress test.
CNB2003101035813A 2003-11-11 2003-11-11 Method for testing Ethernet switch stability Expired - Lifetime CN100409623C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101035813A CN100409623C (en) 2003-11-11 2003-11-11 Method for testing Ethernet switch stability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101035813A CN100409623C (en) 2003-11-11 2003-11-11 Method for testing Ethernet switch stability

Publications (2)

Publication Number Publication Date
CN1545256A CN1545256A (en) 2004-11-10
CN100409623C true CN100409623C (en) 2008-08-06

Family

ID=34333324

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101035813A Expired - Lifetime CN100409623C (en) 2003-11-11 2003-11-11 Method for testing Ethernet switch stability

Country Status (1)

Country Link
CN (1) CN100409623C (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007012224A1 (en) * 2005-07-28 2007-02-01 Zte Corporation A system for controlling the flow of the ip network and the method thereof
CN1937617B (en) * 2005-09-19 2010-10-06 中兴通讯股份有限公司 M3UA message event synthesizing method
CN100366005C (en) * 2005-12-21 2008-01-30 中国移动通信集团公司 Test method for throughput capacity of IP equipment
CN101136790B (en) * 2006-09-01 2010-09-01 中兴通讯股份有限公司 Cluster managerial automatization test system and method of ethernet switchboard
CN101207539B (en) * 2007-04-10 2011-03-16 中兴通讯股份有限公司 System and method for multicast performance measuring of broadband switch-in equipment
CN101136806B (en) * 2007-07-04 2010-08-04 中兴通讯股份有限公司 Label VLAN based switching chip port detecting method and apparatus
CN101136807B (en) * 2007-07-04 2010-09-01 中兴通讯股份有限公司 Port VLAN based switching chip port detecting method
US8767952B2 (en) * 2007-12-17 2014-07-01 Broadcom Corporation Method and system for utilizing a single connection for efficient delivery of power and multimedia information
CN101247289B (en) * 2008-03-17 2010-09-29 中兴通讯股份有限公司 Test method and device for forwarding performance of Ethernet switchboard high speed port
CN101945016A (en) * 2009-07-09 2011-01-12 中兴通讯股份有限公司 Method and device for testing stability of device webmaster
CN102098187B (en) * 2010-12-28 2013-09-18 深圳市普联技术有限公司 Method and system for testing robustness of data path of router
CN103441899A (en) * 2013-08-27 2013-12-11 上海斐讯数据通信技术有限公司 Performance testing method and system of wireless router
CN104468251B (en) * 2013-09-18 2018-11-13 深圳市共进电子股份有限公司 System and method for carrying out network equipment high/low temperature and long-time loop test automatically
CN105262646B (en) * 2015-11-10 2019-07-09 上海斐讯数据通信技术有限公司 A method of test interchanger reliability
CN105553779A (en) * 2016-01-08 2016-05-04 滁州嘉泰科技有限公司 Efficient testing method for switch
CN106789423B (en) * 2016-12-20 2021-02-26 深圳市菲菱科思通信技术股份有限公司 Automatic testing device and method for switch

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434382A (en) * 2002-04-01 2003-08-06 北京港湾网络有限公司 Test method and system for IEEE 802.1x network insertion equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434382A (en) * 2002-04-01 2003-08-06 北京港湾网络有限公司 Test method and system for IEEE 802.1x network insertion equipment

Also Published As

Publication number Publication date
CN1545256A (en) 2004-11-10

Similar Documents

Publication Publication Date Title
CN100409623C (en) Method for testing Ethernet switch stability
Appelman et al. Performance analysis of OpenFlow hardware
EP2704371B1 (en) A realization method and system of enabling lldp function on non-ethernet link
CN111901200B (en) Power control protection industrial control protocol security test method and system
CN113114509B (en) Method and equipment for message forwarding simulation in SDN network environment
Ingram et al. Network interactions and performance of a multifunction IEC 61850 process bus
CN101719692A (en) Method for acquiring network data and analyzing network performance for digital substation
CN107124742A (en) Realize the method and communication terminal of WLAN and LTE network automatic switchover
EP2544428B1 (en) Synchronized commands for network testing
US20150195727A1 (en) Method for monitoring a wireless link of a wi-fi node of a customer premises equipment device, and customer premises equipment device utilizing the method
CN113472610B (en) Stability test system and method for full-load AP of PoE switch
CN101494574B (en) Performance test system and method for double-layer virtual special access backbone network
EP1943787B1 (en) Method and system for loop-back and continue in packet-based network
CN105306303A (en) Fault real-time monitoring system based on terminal network device, and terminal network device
CN102938737B (en) Two layers of looped network Proxy Method and equipment
CN215452984U (en) Power network link monitoring device based on BFD protocol
CN115190032A (en) High-applicability light-weight full-virtual network simulation and test method and embedded equipment
Cisco Command Quick Reference
Cisco TrafficDirector Overview
Cisco TrafficDirector Overview
Cisco Checking Port Status and Connectivity
Cisco Command Summary
Cisco TrafficDirector Overview
Cisco Network Management
Kolenc et al. Monitoring communication QoS parameters of distributed energy resources

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
CX01 Expiry of patent term

Granted publication date: 20080806

CX01 Expiry of patent term