CN101651569A - Method and device for testing performance of Ethernet port - Google Patents

Method and device for testing performance of Ethernet port Download PDF

Info

Publication number
CN101651569A
CN101651569A CN200910171871A CN200910171871A CN101651569A CN 101651569 A CN101651569 A CN 101651569A CN 200910171871 A CN200910171871 A CN 200910171871A CN 200910171871 A CN200910171871 A CN 200910171871A CN 101651569 A CN101651569 A CN 101651569A
Authority
CN
China
Prior art keywords
port
ether
test
ether port
tested
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
CN200910171871A
Other languages
Chinese (zh)
Other versions
CN101651569B (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 CN2009101718719A priority Critical patent/CN101651569B/en
Publication of CN101651569A publication Critical patent/CN101651569A/en
Application granted granted Critical
Publication of CN101651569B publication Critical patent/CN101651569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to method and device for testing the performance of an Ethernet port. The method comprises the following steps: a centre processor of data equipment to be tested automatically creates a test flow region; the centre processor of the data equipment to be tested sends at least one broadcast data packet to an Ethernet port to be tested of the data equipment to be tested; the broadcast data packet is forwarded in the test flow region under the control of a single port loop device so as to carry out performance test. The device comprises the data equipment to be tested and thesingle port loop device, wherein the data equipment to be tested is used for automatically creating the test flow region and sending the broadcast data packet to the Ethernet port to be tested of thedata equipment to be tested; and the single port loop device is connected with the data equipment to be tested and used for forwarding the broadcast data packet in the test flow region. Therefore, theinvention proposes that a CPU issues a few packets to enable the test of the Ethernet port to meet the full flow requirement in the way of broadcast storm of a signal port and the rapid starting andstopping control of storm is realized without using a data test instrument.

Description

The performance test methods of ether port and device
Technical field
The present invention relates to the exchange data communications field, relate in particular to the performance test methods and the device of the ether port of the Packet Transport Network equipment that is applied to (Packet Transport Network is called for short PTN).
Background technology
Switch need carry out the limit test of flowing full amount at high hot house after producing line and finishing processing, with the high temperature ageing performance of Authentication devices, and the high temperature flowing full amount load performance of ether port especially.What the low side data product was generally taked is the mode of static state high-temperature burn-in test, promptly places 24 hours in high-temperature cabinet, does not carry out any operation and load, and testing efficiency and validity are not high.
And the aging mode of dynamic high temperature when equipment is carried out high-temperature baking, allows equipment move according to certain strategy, and key chip is all in running order, and certain load is arranged.Accent behind the high temperature is surveyed like this, only needs to test the project that can't test under the hot environment, or simply takes a sample test, and has improved testing efficiency and test validity.
Data equipment ether port is carried out full service traffics Road test, is exactly wherein very important one.Under hot environment, each ether port is loaded the service message of flowing full amount, by the long-term behaviour data analysis, verify under its high temperature ageing performance and the flowing full amount performances such as packet loss.In order to make the data that enter port to be measured can reach the flowing full amount limit, the way of taking usually is that port to be measured is connected with data tester, sends flowing full amount packet.The defective of this scheme is that number was more when equipment was produced test in batches, needed the lot of data tester, needed manual intervention, carried out work such as miscellaneous line and instrument configuration; And hot environment also is a kind of bigger loss for the data tester of costliness, and testing cost is very high.
Summary of the invention
Technical problem to be solved by this invention provides performance test methods and the device under a kind of ether port-threshold flow, and solving in the prior art needs the lot of data tester, needs manual intervention, carries out problems such as work such as miscellaneous line and instrument configuration.
In order to solve the problems of the technologies described above, the invention provides a kind of performance test methods of ether port, this method may further comprise the steps:
The central processing unit of testing data equipment is created a test basin automatically;
The central processing unit of testing data equipment sends at least one broadcast data packet to the ether port to be measured of described testing data equipment;
Under the control of single port loopback apparatus, described broadcast data wraps in described test basin and transmits, to carry out performance test.
Described test basin comprises: a plurality of logic ports, described a plurality of logic ports are mapped to same physical port.
Described broadcast data wraps in described test basin and transmits specifically and comprise: after described ether port to be measured received described broadcast data packet, all described logic ports that are mapped to same physical port in described test basin were transmitted.
Described same physical port is the ether port described to be measured of described testing data equipment.
The ether port of described single port loopback apparatus adopts the RJ45 interface, and transfer of data adopts differential signal.
The performance test methods of described ether port also comprises: the described test basin deletion that will create.
The present invention also provides a kind of performance testing device of ether port, and this device comprises:
Testing data equipment is used for creating automatically a test basin; And send a broadcast data packet to the ether port to be measured of described testing data equipment;
The single port loopback apparatus is connected with described testing data equipment, is used under its control, and described broadcast data wraps in described test basin and transmits.
Described test basin comprises: a plurality of logic ports, described a plurality of logic ports are mapped to same physical port.
Described same physical port is the ether port described to be measured of described testing data equipment.
The ether port of described single port loopback apparatus adopts the RJ45 interface, and transfer of data adopts differential signal.
Therefore, the present invention proposes only to allow CPU send out bag a spot of, or even bag, mode by the single port broadcast storm, make the ether port test reach the requirement of flowing full amount, under the situation of not using data tester, realized the rapid starting/stopping control of storm, support a plurality of port concurrent testings to be independent of each other.
Description of drawings
Fig. 1 is the flow chart of the performance test methods of a kind of ether port of the present invention.
Fig. 2 is the schematic diagram of single port loopback apparatus of the present invention.
Fig. 3 brings out the mechanism schematic diagram for single port broadcast storm of the present invention.
Embodiment
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
For under the situation of not using data tester, the ether port is carried out the test of giving out a contract for a project automatically of flowing full amount, the present invention proposes a kind of performance test methods and device of ether port.
If do not rely on the instruments of giving out a contract for a project such as data tester of prior art, be to the test of giving out a contract for a project of ether port, method is to use CPU (central processor unit, central processing unit) construction data message the most easily, sends to port.But,, the flow of ether port is reached capacity (limit flow of fast ethernet port is 100Mbps), because the frequency of giving out a contract for a project of CPU is very limited iff relying on giving out a contract for a project of CPU.
In order to address the above problem, the invention provides an easy device, allow CPU only send out bag a spot of, or even a bag, utilize the principle of broadcast storm, cause spreading unchecked of network packet in the port, thereby meet the requirements of flow speed.Normal network application need suppress broadcast storm by every means, but the present invention will utilize broadcast storm just, realizes the purpose of port-threshold flow self-test.
Thus, technical solution of the present invention relates to the following problem that solves: 1, adopt what easy device can allow data message receive and dispatch from ring in the port; 2, how to create a kind of special test basin, provide environment for broadcast storm produces; 3, generation how to control storm quickly and easily with stop;
In order to realize allowing the transceive data bag in the port, transmit, the invention provides a kind of single port loopback apparatus of realizing the single port packet from ring.Use this loopback apparatus,, behind external loop, get back to the port again from the packet that a certain port sends.
Produce broadcast storm in order to be implemented in port, also need to create special test basin of configuration.Different with common professional basin, this test basin needs to realize that packet only transmits on a physical port, otherwise can't produce storm.To test that a plurality of logic ports are tied to same physical port in the basin, and can realize this demand.In theory, the logic port that the test basin comprises is many more, and the speed that produces broadcast storm will be fast more.Since be broadcast storm, be unable to do without bringing out of a broadcast packet naturally, this broadcast packet is responsible for sending to port by CPU.
At last, by will testing the deletion in basin, storm moment can be stopped.In addition, the method for the invention and device have been realized the inner storm of single ether port, do not adopt the mode of multiport series connection, have effectively avoided interacting between a plurality of ports, can truly reflect the limit flow performance of single ether port.
Below for example, describe the performance test methods of ether port of the present invention in detail, to reflect the limit flow performance of single ether port.
As shown in Figure 1, be the flow chart of the performance test methods of a kind of ether port of the present invention, wherein this method may further comprise the steps:
Step 11, the central processing unit of testing data equipment are created a test basin automatically; This basin comprise 3 logic ports be User Network Interface (user network interface, UNI), 3 logic ports all are mapped to same physical port, this same physical port is ether port to be measured.
Step 12, the central processing unit of testing data equipment sends a broadcast data packet to the ether port to be measured of described testing data equipment;
Step 13, under the control of single port loopback apparatus, described broadcast data wraps in described test basin and transmits.The single port loopback apparatus sees also Fig. 2.The schematic diagram of single port loopback apparatus of the present invention as shown in Figure 2, the ether port adopts RJ45 interface (be generally used for transfer of data, have eight cores and make, the modal network interface card interface that is applied as).For avoiding crosstalking and the loss of signal, transfer of data adopts differential signal, and two pairs of positive and negative receiving and transmitting signal lines are arranged respectively, wherein 1 pin is Tx+ (signals+), and 2 pin are Tx-(signallings-), and 3 pin are Rx+ (collect mail number+), 6 pin are Rx-(collect mail number-), and all the other pin do not use.Will be wherein 1,3 pin and 2,6 pin short circuit respectively, promptly realized the ether port from loop device.
In the above-mentioned steps 13, after described ether port to be measured received described broadcast data packet, under the control of single port loopback apparatus, all described logic ports that are mapped to same physical port in described test basin were transmitted.Promptly there are 3 logic ports to be mapped on this ether port to be measured such as above-mentioned, because the single port loopback apparatus can be with the packet that sends from this ether port, behind external loop, get back to the port again, can realize this broadcast data packet behind external loop, get back on the ether port same to be measured of 3 logic port mappings.Being not limited to 3 logic ports, is example with 3 only.
In other words, as shown in Figure 3, for single port broadcast storm of the present invention is brought out the mechanism schematic diagram.Promptly send a broadcast data packet (target MAC (Media Access Control) address is the data message of full FF) to this ether port to be measured by CPU control.According to the Layer 2 data exchange principle, after ether port to be measured is received this broadcast data packet, will in testing the basin, this transmit by other logic port.Because this test all logic port (uni1 of basin, uni2 and uni3) in fact all be mapped to same physical port, normal exchange process can be made discard processing with the data message of receiving, therefore need test the basin to this does special processing, allows and also finishes forwarding from the message of the port.So be equivalent to a CPU broadcast data (" bringing out ") bag, first cycle has duplicated 2 parts and has encircled certainly in the port, second period will produce 4 parts ... so circulation (promptly, 3 logic ports point to same physical port such as ether port to be measured, so after this ether port to be measured sends broadcast data packet, the ether port should be able to be transmitted to 3 all logic ports, and they all are to point to this ether port to be measured, so, first cycle, send a broadcast data packet, duplicated 3 parts on this ether port), broadcast packet forms broadcast storm rapidly with exponential speed increment, in a short period of time, can make this port transceive data flowing full amount that reaches capacity.
As shown in Figure 1, the performance test methods of this ether port is further comprising the steps of:
Step 14, after the limit flow test was finished, with the test basin deletion of creating, because the test basin is deleted, the ether port can not transmitted after receiving broadcast data packet, and broadcast storm stops immediately.
Correspondingly, the present invention also provides a kind of performance testing device of ether port, and this testing apparatus comprises:
Testing data equipment, its central processing unit is used for creating automatically a test basin; And send a broadcast data packet to the ether port to be measured of described testing data equipment;
The single port loopback apparatus is connected with described testing data equipment, is used under its control, and described broadcast data wraps in described test basin and transmits.
Described test basin comprises: a plurality of logic ports, and described a plurality of logic ports are mapped to same physical port, and described same physical port is the ether port described to be measured of described testing data equipment.
Wherein, as shown in Figure 2, the ether port of described single port loopback apparatus adopts the RJ45 interface, and transfer of data adopts differential signal, and two pairs of positive and negative receiving and transmitting signal lines are arranged respectively, wherein 1,3 and 2,6 difference short circuits, promptly realized the ether port from loop device.
Adopt the performance testing device of this ether port of the present invention, can realize utilizing the single port loopback apparatus to realize the ring certainly of packet in the ether port; By creating the test basin, realize the interior packet broadcast storm of single port of the broadcast data packet initiation that CPU sends, realize flowing full amount in the port.
For example, before switch is producing line and machines the back delivery, need enter high hot house and carry out the test of giving out a contract for a project of ether port-threshold flow, the high temperature ageing performance of Authentication devices port.Therefore, can adopt single port loopback apparatus of the present invention simply in conjunction with each ether port of testing data equipment (, generally can provide plug-type single port loopback apparatus of whole row), thereby form whole performance testing device in order to produce handled easily on the line.Behind the testing data device start, CPU controls each port and carries out the performance test of giving out a contract for a project of the flowing full amount limit respectively and open.The a plurality of ports of multiple devices can walk abreast simultaneously and carry out, and do not disturb mutually.At first create in the CPU basin of respectively testing of finishing each ether port, and CPU sends broadcast data packet at each ether port then, causes processing such as broadcast storm, and the ether port of Devices to test is in the limit load operation of flowing full amount.Ether port at Devices to test is in service in full load, can regularly report the port performance data, analyzes each port in view of the above and whether satisfies ageing properties index under the limit flow.And after the enough full-load run time arrived, CPU deleted the basin automatically, and moment stops broadcast storm in the port, EOT.Promptly, can carry out the said method flow process at above-mentioned performance testing device.
The performance test methods of ether port of the present invention and device, mode by the single port broadcast storm, make port test reach the requirement of flowing full amount, under the situation of not using data tester, realized the rapid starting/stopping control of storm, support a plurality of port concurrent testings to be independent of each other, improved economy, the convenience of test greatly.
Should be noted that at last, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment, change the present invention or be equal to replacement, and not break away from the spirit and scope of the present invention and claim.

Claims (10)

1, a kind of performance test methods of ether port is characterized in that comprising:
The central processing unit of testing data equipment is created a test basin automatically;
The central processing unit of testing data equipment sends at least one broadcast data packet to the ether port to be measured of described testing data equipment;
Under the control of single port loopback apparatus, described broadcast data wraps in described test basin and transmits, to carry out performance test.
2, the performance test methods of ether port as claimed in claim 1, it is characterized in that described test basin comprises: a plurality of logic ports, described a plurality of logic ports are mapped to same physical port.
3, the performance test methods of ether port as claimed in claim 2 is characterized in that described broadcast data wraps in described test basin and transmits specifically and comprise:
After described ether port to be measured received described broadcast data packet, all described logic ports that are mapped to same physical port in described test basin were transmitted.
4, the performance test methods of ether port as claimed in claim 3 is characterized in that described same physical port is the ether port described to be measured of described testing data equipment.
5, the performance test methods of ether port as claimed in claim 4 is characterized in that the ether port of described single port loopback apparatus adopts the RJ45 interface, and transfer of data adopts differential signal.
6, the performance test methods of ether port as claimed in claim 1 is characterized in that also comprising:
With the described test basin deletion of creating.
7, a kind of performance testing device of ether port is characterized in that comprising:
Testing data equipment is used for creating automatically a test basin; And send a broadcast data packet to the ether port to be measured of described testing data equipment;
The single port loopback apparatus is connected with described testing data equipment, is used under its control, and described broadcast data wraps in described test basin and transmits.
8, the performance testing device of ether port as claimed in claim 7, it is characterized in that described test basin comprises: a plurality of logic ports, described a plurality of logic ports are mapped to same physical port.
9, the performance testing device of ether port as claimed in claim 8 is characterized in that described same physical port is the ether port described to be measured of described testing data equipment.
10, the performance testing device of ether port as claimed in claim 9 is characterized in that the ether port of described single port loopback apparatus adopts the RJ45 interface, and transfer of data adopts differential signal.
CN2009101718719A 2009-09-11 2009-09-11 Method and device for testing performance of Ethernet port Active CN101651569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101718719A CN101651569B (en) 2009-09-11 2009-09-11 Method and device for testing performance of Ethernet port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101718719A CN101651569B (en) 2009-09-11 2009-09-11 Method and device for testing performance of Ethernet port

Publications (2)

Publication Number Publication Date
CN101651569A true CN101651569A (en) 2010-02-17
CN101651569B CN101651569B (en) 2012-04-11

Family

ID=41673698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101718719A Active CN101651569B (en) 2009-09-11 2009-09-11 Method and device for testing performance of Ethernet port

Country Status (1)

Country Link
CN (1) CN101651569B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848120A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 High-temperature testing method and device
CN101877658A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 Method and device for detecting network port performance of IPTV set-top box
CN102447590A (en) * 2010-10-13 2012-05-09 无锡江南计算技术研究所 Method, device and system for testing exchange board circuit
CN105207833A (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Aging detection method and aging detection device
CN105897494A (en) * 2015-01-26 2016-08-24 明泰科技股份有限公司 Testing method of network transmission rate
CN106330613A (en) * 2016-08-31 2017-01-11 北京信而泰科技股份有限公司 Broadband communication equipment testing method, device and system
CN106533846A (en) * 2016-12-30 2017-03-22 盛科网络(苏州)有限公司 Network configuration method and test method for testing forwarding performance of switch
CN107317727A (en) * 2017-06-30 2017-11-03 迈普通信技术股份有限公司 Loop testing method, device and router
CN107395455A (en) * 2017-07-14 2017-11-24 国网四川省电力公司电力科学研究院 The network storm method of testing and tester of a kind of intelligent substation network switch
CN107547435A (en) * 2016-06-29 2018-01-05 迈普通信技术股份有限公司 Network equipment overload protection method, overload protection function method of testing and system
CN109962824A (en) * 2017-12-26 2019-07-02 新汉股份有限公司 High-speed network appliance and its self test method
CN110278126A (en) * 2019-06-28 2019-09-24 苏州浪潮智能科技有限公司 A kind of switch port self checking method, system, terminal and storage medium
CN113676380A (en) * 2021-09-30 2021-11-19 西安易朴通讯技术有限公司 Switch port testing method, electronic equipment and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI559704B (en) * 2015-01-12 2016-11-21 Test method of network transmission rate

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100502322C (en) * 2005-04-25 2009-06-17 华为技术有限公司 Flow control testing device and method
CN100450043C (en) * 2005-06-10 2009-01-07 华为技术有限公司 Device for testing radio transmission performance and method for implementing same
CN101272289B (en) * 2008-05-09 2010-12-01 中兴通讯股份有限公司 Method for port line-speed transmitting test data frame and Ethernet switchboard

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848120A (en) * 2010-06-04 2010-09-29 中兴通讯股份有限公司 High-temperature testing method and device
CN101877658A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 Method and device for detecting network port performance of IPTV set-top box
CN102447590A (en) * 2010-10-13 2012-05-09 无锡江南计算技术研究所 Method, device and system for testing exchange board circuit
CN102447590B (en) * 2010-10-13 2014-09-03 无锡江南计算技术研究所 Method, device and system for testing exchange board circuit
US9906971B2 (en) 2014-06-23 2018-02-27 Zte Corporation Ageing detection method and device
WO2015196661A1 (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Ageing detection method and device
CN105207833A (en) * 2014-06-23 2015-12-30 中兴通讯股份有限公司 Aging detection method and aging detection device
CN105897494A (en) * 2015-01-26 2016-08-24 明泰科技股份有限公司 Testing method of network transmission rate
CN107547435A (en) * 2016-06-29 2018-01-05 迈普通信技术股份有限公司 Network equipment overload protection method, overload protection function method of testing and system
CN106330613A (en) * 2016-08-31 2017-01-11 北京信而泰科技股份有限公司 Broadband communication equipment testing method, device and system
CN106533846A (en) * 2016-12-30 2017-03-22 盛科网络(苏州)有限公司 Network configuration method and test method for testing forwarding performance of switch
CN107317727A (en) * 2017-06-30 2017-11-03 迈普通信技术股份有限公司 Loop testing method, device and router
CN107395455A (en) * 2017-07-14 2017-11-24 国网四川省电力公司电力科学研究院 The network storm method of testing and tester of a kind of intelligent substation network switch
CN109962824A (en) * 2017-12-26 2019-07-02 新汉股份有限公司 High-speed network appliance and its self test method
CN110278126A (en) * 2019-06-28 2019-09-24 苏州浪潮智能科技有限公司 A kind of switch port self checking method, system, terminal and storage medium
CN113676380A (en) * 2021-09-30 2021-11-19 西安易朴通讯技术有限公司 Switch port testing method, electronic equipment and system

Also Published As

Publication number Publication date
CN101651569B (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN101651569B (en) Method and device for testing performance of Ethernet port
CN103236956B (en) A kind of method and switch that communication apparatus is carried out testing throughput
CN104618208A (en) Elastic data interaction comprehensive bus system
CN103078770A (en) Method for testing stability of switch
CN101072073A (en) Self-defined Ethernet optronic interface performance test method and device
CN103107924A (en) Testing method for performance of network device with high-rate port by utilizing low-rate port
CN111314180B (en) Ethernet link test method, terminal and storage medium
CN201699731U (en) Packet loss tester
TW201511483A (en) Method for testing data packet signal transceivers with multiple radio access technologies using interleaved device setup and testing
CN100388692C (en) Multi-mouth switching device and testing method for network exchanger
CN108924006A (en) Automated testing method, system and the device of router far and near distance performance
CN103973377B (en) A kind of base station test method, Apparatus and system
US9026713B2 (en) Expander for loop architectures
CN106533846A (en) Network configuration method and test method for testing forwarding performance of switch
CN202218247U (en) Switch fault detection system
CN104539348A (en) PON system link loopback detection method and device
CN103108349A (en) Far-end radiofrequency unit channel failure detection method and system
CN104579811A (en) Method of testing high-capacity exchange
CN104702449A (en) Connectivity test system and method
CN102497296A (en) Method for testing normality of network card receiving and sending packets
CN112911632B (en) Point-to-multipoint network measuring method, device, communication system and storage medium
CN105323122A (en) Device for testing throughput capacity of network equipment based on switchboard and test method
CN208707659U (en) A kind of Ethernet interface physical layer detection circuit based on RMII interface
CN107769997A (en) AFDX trade-to products switching technology delay index testing device and method of testing
CN101136807B (en) Port VLAN based switching chip port 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