CN105553779A - Efficient testing method for switch - Google Patents
Efficient testing method for switch Download PDFInfo
- Publication number
- CN105553779A CN105553779A CN201610009197.4A CN201610009197A CN105553779A CN 105553779 A CN105553779 A CN 105553779A CN 201610009197 A CN201610009197 A CN 201610009197A CN 105553779 A CN105553779 A CN 105553779A
- Authority
- CN
- China
- Prior art keywords
- switch
- port
- flow generator
- testing
- test
- 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/50—Testing arrangements
-
- 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
- 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/0852—Delays
-
- 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/0852—Delays
- H04L43/087—Jitter
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses an efficient testing method for a switch. The method adopts a network observer and a traffic generator for testing, and comprises the following steps: S1, connecting all ports of the switch with the traffic generator, and connecting the switch with the network observer, wherein the network observer is connected with the traffic generator; and S2, connecting the switch to a power supply, observing whether the switch can be normally started or not, sending data from two ports of the switch to the third port by the traffic generator after power-on, observing the receiving condition of the traffic generator, observing transceiving of a pause frame via the network visualize, and then testing the traffic control capability of the switch. By adopting the method, the stability of the full-load switch can be tested, and the switch can achieve a full-load testing effect by using the network observer and the traffic generator, so that resources are efficiently utilized, repetitive operation is avoided, the testing operation is simpler and more feasible, and the universality is strong.
Description
Technical field
The present invention relates to the method for testing technical field of switch, particularly relate to a kind of highly effective testing method of switch.
Background technology
Exchange (switching) is the needs according to communication two ends transmission information, and the method automatically completed with artificial or equipment, delivers to the information that will transmit the general designation of the technology in satisfactory corresponding route.Switch, according to the difference of service position, can be divided into wide-area network switch and LAN switch.The switch (switch) of wide area is exactly a kind of equipment completing information exchange functions in a communications system, and it is applied in data link layer.Switch has multiple port, and each port has bridging functionality, can connect a local area network (LAN) or a high-performance server or work station.In fact, switch is sometimes referred to as multiport bridge.The appearance of many novel Client/Server application programs and multimedia technology, result in traditional hub based LAN and can not meet the demands far away, and this has also just promoted the appearance of LAN switch.LAN switch has many ports, and each port has the dedicated bandwidth of oneself, and can connect the different network segments.Communication between each port of switch is simultaneously, walks abreast, and this just substantially increases information throughput.In order to improve performance further, each port only can also connect an equipment.In order to realize the interconnection between switch or the connection with high-grade server, LAN switch generally has one or several high-speed port, as 100M ethernet port, FDDI port or 155MATM port, thus ensureing that the transmission performance of whole network is in computer network system, the proposition of switching concept improves shared mode of operation.And HUB hub is exactly a kind of physical layer shared device, HUB itself can not identify MAC Address and IP address, when the A main frame in same local area network (LAN) is to B Host Transfer data, packet with broadcast transmission, is determined whether to receive by the MAC Address of verification msg header by each station terminal on the network taking HUB as framework.That is, in this mode of operation, synchronization network can only transmit the communication of one group of Frame, must retry if collided.This mode is exactly shared network bandwidth.Popular says, general switch is not with management function, an inlet wire, and other interfaces are received on computer just passable.
The data packet transceive of switch is its basic function.In switch production process, the high temperature ageing test of product is the important test step improving switch product reliability, guarantee product under extreme conditions stable performance.The high temperature ageing test of product has strict testing standard, and usual test environment temperature will reach 50 ± 5 DEG C.Product is in running order in burn-in test process.Carry out diagnostic products by the working temperature of Real-Time Monitoring product and output voltage parameter whether to break down in ageing process in prior art, to improve the q&r of product, but such detection needs a large amount of manpower to go to check one by one the parameter of switch, comparatively bother, we have proposed a kind of highly effective testing method of switch for this reason.
Summary of the invention
Based on the technical problem that background technology exists, the present invention proposes a kind of highly effective testing method of switch.
The highly effective testing method of a kind of switch that the present invention proposes, comprise the network scope for testing and flow generator, the method comprises the following steps:
S1, is connected all of the port of switch with flow generator, is connected by switch with network scope, and network scope and flow generator are interconnected;
Can S2, be communicated with power supply by switch, see and normally start, after energising, flow generator sends data from two ports of switch to the 3rd port, observes the reception situation of flow generator, observed the transmitting-receiving of pause frame by network scope, and then test out the flow control capability of switch;
S3, flow generator sends the data of full rate from two ports of switch to the 3rd port, whether observe one of them port has duration data stream, congested to determine to occur;
S4, send data from flow generator with port capabilities 5-15%, the testing time is 5-15s, the underloading time delay of test switch and underloading delay variation; Send data from flow generator with port capabilities 90-100%, the testing time is 5-15s, the heavily loaded time delay of test switch and heavily loaded delay variation;
S5, concluding testing the data list drawn, can test out function and the performance of switch.
Preferably, the port of described switch is untagged port.
Preferably, send data in described S4 from flow generator with port capabilities 10%, the testing time is 10s, the underloading time delay of test switch and underloading delay variation; Send data from flow generator with port capabilities 100%, the testing time is 10s, the heavily loaded time delay of test switch and heavily loaded delay variation.
Preferably, under the test environment of described switch is set to hot conditions.
Preferably, all connected by a netting twine between the port of described switch.
In the present invention, switch and network scope, flow generator are linked together, by network scope, flow generator, switch is tested, realize the test to the function in switch and performance, improve the efficiency of switch performance test and the reliability of test result, the stability test that the present invention can will carry out under switch full load condition, utilize network scope, flow generator that switch just can be made to reach the effect of full load test, efficiency utilization resource, avoid repetitive operation, make test job more simple, highly versatile.
Accompanying drawing explanation
Fig. 1 is the connection block diagram of the highly effective testing method of a kind of switch that the present invention proposes;
Fig. 2 is that the switch of the highly effective testing method of a kind of switch that the present invention proposes connects block diagram.
Embodiment
Below in conjunction with specific embodiment, further explanation is done to the present invention.
With reference to Fig. 1-2, the highly effective testing method of a kind of switch that the present invention proposes, comprise the network scope for testing and flow generator, the method comprises the following steps:
S1, is connected all of the port of switch with flow generator, is connected by switch with network scope, and network scope and flow generator are interconnected;
Can S2, be communicated with power supply by switch, see and normally start, after energising, flow generator sends data from two ports of switch to the 3rd port, observes the reception situation of flow generator, observed the transmitting-receiving of pause frame by network scope, and then test out the flow control capability of switch;
S3, flow generator sends the data of full rate from two ports of switch to the 3rd port, whether observe one of them port has duration data stream, congested to determine to occur;
S4, send data from flow generator with port capabilities 5-15%, the testing time is 5-15s, the underloading time delay of test switch and underloading delay variation; Send data from flow generator with port capabilities 90-100%, the testing time is 5-15s, the heavily loaded time delay of test switch and heavily loaded delay variation;
S5, concluding testing the data list drawn, can test out function and the performance of switch.
The port of switch described in the present invention is untagged port.
Under the test environment of switch described in the present invention is set to hot conditions.
All connected by a netting twine between the port of switch described in the present invention.
In the present invention, switch and network scope, flow generator are linked together, by network scope, flow generator, switch is tested, realize the test to the function in switch and performance, improve the efficiency of switch performance test and the reliability of test result, and select as user and weigh one of switch performance most important index, the height of throughput determines switch and sends when not having frame losing and the maximum rate of received frame.When testing, we carry out under full load state, and test configurations, can Validity Test for map one to one.
The above; be only the present invention's preferably embodiment; but protection scope of the present invention is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the present invention discloses; be equal to according to technical scheme of the present invention and inventive concept thereof and replace or change, all should be encompassed within protection scope of the present invention.
Claims (5)
1. a highly effective testing method for switch, is characterized in that, comprise the network scope for testing and flow generator, the method comprises the following steps:
S1, is connected all of the port of switch with flow generator, is connected by switch with network scope, and network scope and flow generator are interconnected;
Can S2, be communicated with power supply by switch, see and normally start, after energising, flow generator sends data from two ports of switch to the 3rd port, observes the reception situation of flow generator, observed the transmitting-receiving of pause frame by network scope, and then test out the flow control capability of switch;
S3, flow generator sends the data of full rate from two ports of switch to the 3rd port, whether observe one of them port has duration data stream, congested to determine to occur;
S4, send data from flow generator with port capabilities 5-15%, the testing time is 5-15s, the underloading time delay of test switch and underloading delay variation; Send data from flow generator with port capabilities 90-100%, the testing time is 5-15s, the heavily loaded time delay of test switch and heavily loaded delay variation;
S5, concluding testing the data list drawn, can test out function and the performance of switch.
2. the highly effective testing method of a kind of switch according to claim 1, is characterized in that, the port of described switch is untagged port.
3. the highly effective testing method of a kind of switch according to claim 1, is characterized in that, sends data in described S4 from flow generator with port capabilities 10%, and the testing time is 10s, the underloading time delay of test switch and underloading delay variation; Send data from flow generator with port capabilities 100%, the testing time is 10s, the heavily loaded time delay of test switch and heavily loaded delay variation.
4. the highly effective testing method of a kind of switch according to claim 1, is characterized in that, under the test environment of described switch is set to hot conditions.
5. the highly effective testing method of a kind of switch according to claim 1, is characterized in that, is all connected by a netting twine between the port of described switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610009197.4A CN105553779A (en) | 2016-01-08 | 2016-01-08 | Efficient testing method for switch |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610009197.4A CN105553779A (en) | 2016-01-08 | 2016-01-08 | Efficient testing method for switch |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105553779A true CN105553779A (en) | 2016-05-04 |
Family
ID=55832718
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610009197.4A Pending CN105553779A (en) | 2016-01-08 | 2016-01-08 | Efficient testing method for switch |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105553779A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789423A (en) * | 2016-12-20 | 2017-05-31 | 深圳市菲菱科思通信技术股份有限公司 | Interchanger automatic test device and method of testing |
CN108183840A (en) * | 2017-12-28 | 2018-06-19 | 天津芯海创科技有限公司 | Verification method, device and the realization device of switch performance |
CN111220907A (en) * | 2020-01-10 | 2020-06-02 | 苏州浪潮智能科技有限公司 | Method and device for testing maximum power consumption of switching chip |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545256A (en) * | 2003-11-11 | 2004-11-10 | 中兴通讯股份有限公司 | Method for testing Ethernet switch stability |
CN103078770A (en) * | 2013-01-22 | 2013-05-01 | 浪潮电子信息产业股份有限公司 | Method for testing stability of switch |
US8619599B1 (en) * | 2010-09-17 | 2013-12-31 | Marvell International Ltd. | Packet processor verification methods and systems |
CN104253723A (en) * | 2014-09-29 | 2014-12-31 | 电子科技大学 | Software and hardware collaborative implementation-based switch verification test method and device |
CN104394043A (en) * | 2014-12-17 | 2015-03-04 | 上海斐讯数据通信技术有限公司 | Switch testing device and method |
-
2016
- 2016-01-08 CN CN201610009197.4A patent/CN105553779A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545256A (en) * | 2003-11-11 | 2004-11-10 | 中兴通讯股份有限公司 | Method for testing Ethernet switch stability |
US8619599B1 (en) * | 2010-09-17 | 2013-12-31 | Marvell International Ltd. | Packet processor verification methods and systems |
CN103078770A (en) * | 2013-01-22 | 2013-05-01 | 浪潮电子信息产业股份有限公司 | Method for testing stability of switch |
CN104253723A (en) * | 2014-09-29 | 2014-12-31 | 电子科技大学 | Software and hardware collaborative implementation-based switch verification test method and device |
CN104394043A (en) * | 2014-12-17 | 2015-03-04 | 上海斐讯数据通信技术有限公司 | Switch testing device and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106789423A (en) * | 2016-12-20 | 2017-05-31 | 深圳市菲菱科思通信技术股份有限公司 | Interchanger automatic test device and method of testing |
CN106789423B (en) * | 2016-12-20 | 2021-02-26 | 深圳市菲菱科思通信技术股份有限公司 | Automatic testing device and method for switch |
CN108183840A (en) * | 2017-12-28 | 2018-06-19 | 天津芯海创科技有限公司 | Verification method, device and the realization device of switch performance |
CN111220907A (en) * | 2020-01-10 | 2020-06-02 | 苏州浪潮智能科技有限公司 | Method and device for testing maximum power consumption of switching chip |
CN111220907B (en) * | 2020-01-10 | 2022-12-27 | 苏州浪潮智能科技有限公司 | Method and device for testing maximum power consumption of switching chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103078770A (en) | Method for testing stability of switch | |
CN104104570B (en) | Aggregation processing method in IRF systems and device | |
CN109067592B (en) | Intelligent management and control device and method for intelligent power distribution and utilization | |
CN106789401A (en) | The performance test methods and system of a kind of double-frequency wireless router | |
CN103916319A (en) | Link selection method and stacking device in LACP stacked networking | |
CN103139017B (en) | The test system and method for a kind of network equipment | |
CN103957552B (en) | The method for improving data communication reliability in automatic weather station | |
CN106340176A (en) | Intelligent electricity meter information sharing method, intelligent electricity meter and acquisition router | |
CN103179178B (en) | The method and apparatus of aggregation group member port between extension cluster | |
CN106302017B (en) | The small capaciated flow network velocity-measuring system of high concurrent and method | |
CN102916857A (en) | Stacking and splitting quick detection method and device | |
CN103139075B (en) | A kind of message transmitting method and equipment | |
CN102098187B (en) | Method and system for testing robustness of data path of router | |
CN105553779A (en) | Efficient testing method for switch | |
CN102752161A (en) | Test system | |
Irawati et al. | Link aggregation control protocol on software defined network | |
CN103023815B (en) | Aggregation link load sharing method and device | |
CN104486167A (en) | Concurrence network performance and network trending direction testing method based on MESH network | |
CN103023716A (en) | System and method for monitoring network quality with zero traffic consumption | |
CN104618189A (en) | Link failure detection method and device | |
CN103078767A (en) | Method and device for testing throughput of WAN (Wide Area Network) at single port and at full wire speed | |
CN103580979B (en) | The virtual bridged website in method for building up and system, edge and bridge of logical channel | |
CN113472610B (en) | Stability test system and method for full-load AP of PoE switch | |
CN107018088B (en) | Transmission link selection method and device | |
CN106549797B (en) | With network method, network distribution device and router |
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 |
Application publication date: 20160504 |
|
RJ01 | Rejection of invention patent application after publication |