CN104506396B - The method of testing and system of the full port Full Mesh performances of equipment - Google Patents

The method of testing and system of the full port Full Mesh performances of equipment Download PDF

Info

Publication number
CN104506396B
CN104506396B CN201510035336.6A CN201510035336A CN104506396B CN 104506396 B CN104506396 B CN 104506396B CN 201510035336 A CN201510035336 A CN 201510035336A CN 104506396 B CN104506396 B CN 104506396B
Authority
CN
China
Prior art keywords
equipment
port
auxiliary equipment
under test
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.)
Active
Application number
CN201510035336.6A
Other languages
Chinese (zh)
Other versions
CN104506396A (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.)
Suzhou Centec Communications Co Ltd
Original Assignee
Centec Networks Suzhou 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 Centec Networks Suzhou Co Ltd filed Critical Centec Networks Suzhou Co Ltd
Priority to CN201510035336.6A priority Critical patent/CN104506396B/en
Publication of CN104506396A publication Critical patent/CN104506396A/en
Application granted granted Critical
Publication of CN104506396B publication Critical patent/CN104506396B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Present invention is disclosed the method for testing and system of a kind of full port Full Mesh performances of equipment, method includes:Tester sends test packet to the inbound port of the first auxiliary equipment and the second auxiliary equipment respectively by two-way transmitting line;The test packet received is transmitted to all of the port of equipment under test by the first auxiliary equipment and the second auxiliary equipment by respective exit port;Tester receives finally by two-way receiving circuit and analyzes the data message of equipment under test feedback, to observe the port flow reception condition of equipment under test.The present invention utilizes auxiliary equipment, reduces the test port number that tester uses, in the case of test resource deficiency, can also realize the test of port Full Mesh performances complete to equipment, greatly reduce the use of test resource.

Description

The method of testing and system of the full port Full Mesh performances of equipment
Technical field
The present invention relates to computer network field, and the full port Full of equipment is realized using auxiliary equipment more particularly, to one kind The method of testing and system of Mesh performances.
Background technology
Ethernet switch is the interchanger based on Ethernet transmission data, and Ethernet uses shared-bus transmission media The LAN of mode.The structure of Ethernet switch is that each port is directly connected with main frame, and is typically all operated in complete Duplex mode.Exchange function and connect simultaneously many to port, make every a pair main frames being in communication with each other can be as monopolizing communication medium Like that, ensuring escapement from confliction transmission data are carried out.In an ethernet switch, VLAN (Virtual Local Area can be applied Network, VLAN) technology, Ethernet switch is logically divided into the network segment one by one, will be sent to difference VLAN Tag (virtual local area network tags) corresponding to addition in the packet of the network segment, so as to realize the data exchange of virtual workgroup Technology.
Interchanger Full Mesh (full mesh) performance is also referred to as many-to-many (multiport to multiport) performance, is A kind of switch performance test item that RFC2889 is defined.The test is used for determining that interchanger all receives in all ports of oneself Institute's treatable totalframes during data, each port of interchanger are received from the same of other port datas with specific speed When, also send frame to every other port in a manner of equally distributed, circulation.
Current most of tester provides the method for testing of the test item, and its principle is all to use tester and equipment under test It is direct-connected, particular frame is sent by each port and reaches test purpose.As shown in figure 1, at present on Full Mesh performance tests Method and topology, tester ixia ports interconnect one by one with equipment under test (DUT) port, for the equipment under test of N number of port, Then need N number of tester port.
Existing this test mode, when carrying out Full Mesh performance tests to multi bri device, due to implementation Limitation, then need with the equipment tester port that to be tested port number equal, that is, tester resource is confined to, in test request When being carried out to the full port of equipment (or compared with multiport), it is understood that there may be the problem of the deficiency of tester port.
The content of the invention
A kind of the defects of it is an object of the invention to overcome prior art, there is provided survey of the full port FullMesh performances of equipment Method for testing and system, using auxiliary equipment, so that tester realizes port Full Mesh complete to test equipment with less port The test of performance.
To achieve the above object, the present invention proposes following technical scheme:A kind of survey of the full port Full Mesh performances of equipment Method for testing, comprise the following steps:
Inbound port of the tester by the first transmitting line to the first auxiliary equipment being connected with first transmitting line, And the inbound port by the second transmitting line to the second auxiliary equipment being connected with second transmitting line, send Full Mesh test packets;
The Full Mesh that first auxiliary equipment and second auxiliary equipment receive respective inbound port are surveyed Examination message is transmitted to going out for equipment under test and first auxiliary equipment or second auxiliary equipment by respective exit port The all of the port of direct port connection;
The tester is by the first receiving circuit for being connected with first auxiliary equipment, and by with described second The second connected receiving circuit of auxiliary equipment, receive and analyze the data message of the equipment under test feedback, observe described tested The port flow reception condition of equipment.
Another object of the present invention also resides in, there is provided a kind of test system of the full port Full Mesh performances of equipment, including Tester, the first auxiliary equipment, the second auxiliary equipment and equipment under test, between first auxiliary equipment and the tester, Transmitting line and receiving circuit, the part end of the equipment under test are connected between second auxiliary equipment and the tester It is mouthful direct-connected one by one with the port of first auxiliary equipment, remaining port then with the port one of second auxiliary equipment always Even, the tester sends Full Mesh to first auxiliary equipment and the second auxiliary equipment respectively by transmitting line and surveyed Try message;The Full Mesh test packets are transmitted to described be tested and set by first auxiliary equipment and the second auxiliary equipment It is standby;The all of the port of the equipment under test receives the Full that first auxiliary equipment or the second auxiliary equipment forward Mesh test packets, and corresponding data message is fed back by the receiving circuit and analyzed to the tester.
Preferably, to all ends of first auxiliary equipment, the second auxiliary equipment and the equipment under test direct port connection Mouth configuration Access attributes.
Preferably, to all ends of first auxiliary equipment, the second auxiliary equipment and the equipment under test direct port connection Mouth configuration Access attributes include:By first auxiliary equipment, the second auxiliary equipment and the equipment under test direct port connection All of the port is configured to VLAN, and first auxiliary equipment and the second auxiliary equipment are sent to the Full of the equipment under test Increase vlan tag in Mesh test packets.
Preferably, first auxiliary equipment and the second auxiliary equipment are sent to the Full Mesh surveys of the test equipment The vlan id for trying message are consistent with the port numbers of the equipment under test.
Preferably, the tester observes the port of the equipment under test by the first receiving circuit and the second receiving circuit Flow reception condition, comprises the following steps:
Determine the port of the equipment under test and connected port numbers in first auxiliary equipment or the second auxiliary equipment;
Image feature is carried out to the port numbers in first auxiliary equipment or the second auxiliary equipment, the mirror image Observation port connects port by the first receiving circuit or the second receiving circuit;
The number of the equipment under test feedback is received by the first receiving circuit or the second receiving circuit on the tester According to message and analyzed.
The beneficial effects of the invention are as follows:The present invention be able to can be also realized to the full end of equipment in the case of test resource deficiency The test of mouth Full Mesh performances, greatly reduces the use of test resource.
Brief description of the drawings
Fig. 1 is the method for existing Full Mesh performance tests and the principle schematic of topology;
Fig. 2 is the structural representation of the test system of the full port Full Mesh performances of present device;
Fig. 3 is the schematic flow sheet of the method for testing of the full port Full Mesh performances of present device.
Embodiment
Below in conjunction with the accompanying drawing of the present invention, clear, complete description is carried out to the technical scheme of the embodiment of the present invention.
Present invention is disclosed the method for testing and system of a kind of full port Full Mesh performances of equipment, tester passes through auxiliary Help equipment to be connected with equipment under test, the test of port Full Mesh performances complete to equipment is realized using less port.
As shown in Fig. 2 a kind of test system of the full port Full Mesh performances of disclosed equipment, including survey Try instrument Ixia, the first auxiliary equipment (DUT1), the second auxiliary equipment (DUT3) and equipment under test (DUT2), with existing tester and Different by way of direct port connection between equipment under test, the present invention increases auxiliary equipment between tester and equipment under test, By means of the port of auxiliary equipment, to realize that tester can also realize port Full complete to equipment under test using less port The test of Mesh performances.
Specifically, two lines road is connected between tester Ixia and the first auxiliary equipment DUT1, is the first transmission respectively Circuit and the first receiving circuit, two lines road is equally connected between tester Ixia and the second auxiliary equipment DUT3, is respectively Second transmitting line and the second receiving circuit, the termination of two lines road one between tester Ixia and the first auxiliary equipment DUT1 are surveyed Try instrument Ixia ports (port), the first auxiliary equipment DUT1 of another termination port, tester Ixia and the second auxiliary equipment Two lines road one between DUT3 terminates tester Ixia ports, the second auxiliary equipment DUT3 of another termination port, tester Ixia sends Full Mesh tests to the first and second auxiliary equipments DUT1, DUT3 respectively by the first and second transmitting lines Message, and corresponding test result is observed by the first and second receiving circuits.During implementation, tester Ixia, which needs to have, to be received Give out a contract for a project function.
The port of equipment under test DUT2 section ports and the first auxiliary equipment DUT1 is direct-connected one by one, and remaining port is then with Two auxiliary equipment DUT3 port is direct-connected one by one.If equipment under test DUT2 port number is n, i.e. port 1,2,3 ... n, In the present embodiment, equipment under test DUT2 the first half port (port 1,2 ... n/2) and the first auxiliary equipment DUT1 port one One is direct-connected, and such as the circuit group 3 in Fig. 2, (n/2+1, n/2+2 ... ... are n) for later half port and the second auxiliary equipment DUT3 port It is direct-connected one by one, such as the circuit group 4 in Fig. 2.
To realize that the message between auxiliary equipment and equipment under test transmits function, auxiliary equipment and equipment under test need to be carried out Corresponding configuration, specifically:
Configuration to the first auxiliary equipment DUT1:The inbound port being connected with the first transmitting line need to be forwarded the packet to all The exit port being connected with equipment under test DUT2, the port being connected with equipment under test DUT2 need to configure Access attributes, auxiliary from first Help equipment DUT1 to be sent in equipment under test DUT2 test packet and add upper specific vlan tag (virtual local area network tags), it is excellent Selection of land, the first auxiliary equipment DUT1 is sent to the vlan id of equipment under test DUT2 Full Mesh test packets in the present embodiment It is consistent with the port numbers of equipment under test.
Configuration to the second auxiliary equipment:The inbound port being connected with the second transmitting line need to be forwarded the packet to all and quilt Exit port connected measurement equipment DUT2, the exit port being connected with equipment under test DUT2 need to configure Access attributes, from the second auxiliary Equipment DUT3, which is sent in equipment under test DUT2 test packet, adds upper specific vlan tag, it is preferable that will in the present embodiment Second auxiliary equipment DUT3 is sent to the vlan id's and equipment under test DUT2 of equipment under test DUT2 Full Mesh test packets Port numbers are consistent.
Equipment under test DUT2 need to configure FDB list items, and FDB list items are specially:
vlan1:
macda 0.0.1vlan 1→port1
macda 0.0.2vlan 1→port2
macda 0.0.n vlan 1→port n
It is same as above for vlan2:
macda 0.0.1vlan2→port1
macda 0.0.2vlan 2→port2
macda 0.0.n vlan 2→port n
Vlan n need to be configured to altogether, wherein, above-mentioned n represents equipment under test DUT2 port number.
Complete needed for the topological sum of test system of the present invention with postponing, from the first transmitting line and the second transmitting line phase Tester port even sends message MAC destination addresses (macda) and is incremented to 0.0.n circulation message to the from 0.0.1 respectively One auxiliary equipment DUT1 and the second auxiliary equipment DUT3.
Now equipment under test DUT2 is in Full Mesh test environments, and test result passes through the first receiving circuit and Two receiving circuits are observed.If desired equipment under test DUT2 some port flow reception condition is observed, then first determines the end Mouth is carried out with connecting port numbers on the first auxiliary equipment DUT1 or the second auxiliary equipment DUT3 in auxiliary equipment to the port numbers Image feature, the observation port of mirror image connect port by the first receiving circuit or the second receiving circuit.In tester Ixia It is upper to be analyzed by the first receiving circuit or the second receiving circuit reception data message.
Based on the test system of above-mentioned introduction, as shown in figure 3, the full port Full of a kind of equipment that the present invention also discloses The method of testing of Mesh performances, comprises the following steps:
Step S1, tester Ixia are by the first transmitting line to the first auxiliary equipment being connected with the first transmitting line DUT1 inbound port, and end is entered to the second auxiliary equipment DUT3 being connected with the second transmitting line by the second transmitting line Mouthful, send Full Mesh test packets;
The Full that step S2, the first auxiliary equipment DUT1 and the second auxiliary equipment DUT3 receive respective inbound port Mesh test packets are transmitted to the auxiliary of equipment under test DUT2 and the first auxiliary equipment DUT1 or second by respective exit port and set For all of the port that DUT2 exit port is direct-connected;
Step S3, tester Ixia by the first receiving circuit for being connected with the first auxiliary equipment DUT1, and by with The second connected second auxiliary equipment DUT3 receiving circuit, receive and analyze the data message of equipment under test feedback.
Configuration to auxiliary equipment and equipment under test, and observation equipment under test DUT2 some port flow reception condition Deng having described in detail above-mentioned, just repeated no more here.
The technology contents and technical characteristic of the present invention have revealed that as above, but those skilled in the art still may base Make a variety of replacements and modification without departing substantially from spirit of the present invention, therefore, the scope of the present invention in teachings of the present invention and announcement The content disclosed in embodiment should be not limited to, and various replacements and modification without departing substantially from the present invention should be included, and is this patent Shen Please claim covered.

Claims (6)

1. a kind of method of testing of the full port Full Mesh performances of equipment, it is characterised in that comprise the following steps:
Inbound port of the tester by the first transmitting line to the first auxiliary equipment being connected with first transmitting line, and Inbound port by from the second transmitting line to the second auxiliary equipment being connected with second transmitting line, send Full Mesh Test packet;
The Full Mesh that first auxiliary equipment and second auxiliary equipment receive respective inbound port test report Text is transmitted to equipment under test and first auxiliary equipment or the exit port of second auxiliary equipment by respective exit port Direct-connected all of the port;Configuration to the first auxiliary equipment:The inbound port being connected with the first transmitting line need to forward the packet to All exit ports being connected with equipment under test, the exit port being connected with equipment under test need to configure Access attributes, from the first auxiliary Equipment, which is sent in the test packet of equipment under test, adds upper vlan tag;Configuration to the second auxiliary equipment:Line is sent with second The connected inbound port in road need to be forwarded the packet to all exit ports being connected with equipment under test, the exit port being connected with equipment under test Access attributes need to be configured, is sent to from the second auxiliary equipment in the test packet of equipment under test and adds upper vlan tag;
The tester by the first receiving circuit for being connected with first auxiliary equipment, and by with the described second auxiliary The second connected receiving circuit of equipment, receive and analyze the data message of the equipment under test feedback, observe the equipment under test Port flow reception condition.
2. method of testing according to claim 1, it is characterised in that the first auxiliary equipment and the second auxiliary equipment hair Give the end of the vlan id and the equipment under test in vlan tag described in the Full Mesh test packets of the equipment under test Slogan is consistent.
3. method of testing according to claim 1, it is characterised in that the tester passes through the first receiving circuit or second Receiving circuit observes the port flow reception condition of the equipment under test, comprises the following steps:
Determine the port of the equipment under test and connected port numbers in first auxiliary equipment or the second auxiliary equipment;
Image feature, the observation of the mirror image are carried out to the port numbers in first auxiliary equipment or the second auxiliary equipment Port connects port by the first receiving circuit or the second receiving circuit;
The datagram of the equipment under test feedback is received by the first receiving circuit or the second receiving circuit on the tester Text is simultaneously analyzed.
4. a kind of test system of the full port Full Mesh performances of equipment, it is characterised in that set including tester, the first auxiliary Standby, the second auxiliary equipment and equipment under test, the first transmitting line is connected between first auxiliary equipment and the tester With the first receiving circuit, the second transmitting line and second is connected between second auxiliary equipment and the tester and receives line Road, the section ports of the equipment under test and the exit port of first auxiliary equipment are direct-connected one by one, remaining port then with it is described The exit port of second auxiliary equipment is direct-connected one by one, and the tester is by transmitting line respectively to first auxiliary equipment and Two auxiliary equipments send Full Mesh test packets;First auxiliary equipment and the second auxiliary equipment are by the Full Mesh Test packet is transmitted to the equipment under test;Configuration to the first auxiliary equipment:The inbound port being connected with the first transmitting line needs Forward the packet to all exit ports being connected with equipment under test, the exit port being connected with equipment under test need to configure Access category Property, it is sent to from the first auxiliary equipment in the test packet of equipment under test and adds upper vlan tag;Configuration to the second auxiliary equipment: The inbound port being connected with the second transmitting line need to be forwarded the packet to all exit ports being connected with equipment under test, with equipment under test Connected exit port need to configure Access attributes, be sent to from the second auxiliary equipment in the test packet of equipment under test and add upper vlan tag;All of the port reception first auxiliary equipment of the equipment under test or the second auxiliary equipment forward described Full Mesh test packets, and corresponding data message is fed back to institute by first receiving circuit or the second receiving circuit State tester analysis.
5. test system according to claim 4, it is characterised in that the first auxiliary equipment and the second auxiliary equipment hair Give the end of vlan id and the equipment under test in the vlan tag of the Full Mesh test packets of the equipment under test Slogan is consistent.
6. test system according to claim 4, it is characterised in that all of the port of the equipment under test passes through described One receiving circuit or the second receiving circuit feed back corresponding data message to be included to the process of tester analysis:
Determine the port of the equipment under test and connected port numbers in first auxiliary equipment or the second auxiliary equipment;
Image feature, the observation of the mirror image are carried out to the port numbers in first auxiliary equipment or the second auxiliary equipment Port connects port by the first receiving circuit or the second receiving circuit;
The datagram of the equipment under test feedback is received by the first receiving circuit or the second receiving circuit on the tester Text is simultaneously analyzed.
CN201510035336.6A 2015-01-23 2015-01-23 The method of testing and system of the full port Full Mesh performances of equipment Active CN104506396B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510035336.6A CN104506396B (en) 2015-01-23 2015-01-23 The method of testing and system of the full port Full Mesh performances of equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510035336.6A CN104506396B (en) 2015-01-23 2015-01-23 The method of testing and system of the full port Full Mesh performances of equipment

Publications (2)

Publication Number Publication Date
CN104506396A CN104506396A (en) 2015-04-08
CN104506396B true CN104506396B (en) 2018-02-13

Family

ID=52948111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510035336.6A Active CN104506396B (en) 2015-01-23 2015-01-23 The method of testing and system of the full port Full Mesh performances of equipment

Country Status (1)

Country Link
CN (1) CN104506396B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357084A (en) * 2015-12-18 2016-02-24 成都广达新网科技股份有限公司 Multi-terminal equipment testing method and device based on EOC (Ethernet Over Coaix) technology
CN109213642B (en) * 2017-06-29 2023-09-15 国民技术股份有限公司 Data synchronization device, test system and test method
CN110971475B (en) * 2018-09-28 2022-05-17 迈普通信技术股份有限公司 Port forwarding test method, test system construction method and auxiliary test equipment
CN110445681A (en) * 2019-07-31 2019-11-12 新华三技术有限公司合肥分公司 A kind of multiport parallel test method, device and electronic equipment
CN113141279B (en) * 2021-04-21 2022-07-19 安徽新力电业科技咨询有限责任公司 Switch mesh test system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6914905B1 (en) * 2000-06-16 2005-07-05 Extreme Networks, Inc. Method and system for VLAN aggregation
CN101783745A (en) * 2009-01-21 2010-07-21 环旭电子股份有限公司 System and method for testing a plurality of network ports
CN102148727A (en) * 2011-04-22 2011-08-10 北京星网锐捷网络技术有限公司 Method and system for testing performance of network equipment
CN102355377A (en) * 2011-06-30 2012-02-15 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch
CN103152220A (en) * 2013-02-20 2013-06-12 神州数码网络(北京)有限公司 Method for carrying out Full Mesh performance test by utilizing Ethernet switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6914905B1 (en) * 2000-06-16 2005-07-05 Extreme Networks, Inc. Method and system for VLAN aggregation
CN101783745A (en) * 2009-01-21 2010-07-21 环旭电子股份有限公司 System and method for testing a plurality of network ports
CN102148727A (en) * 2011-04-22 2011-08-10 北京星网锐捷网络技术有限公司 Method and system for testing performance of network equipment
CN102355377A (en) * 2011-06-30 2012-02-15 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch
CN103152220A (en) * 2013-02-20 2013-06-12 神州数码网络(北京)有限公司 Method for carrying out Full Mesh performance test by utilizing Ethernet switch

Also Published As

Publication number Publication date
CN104506396A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN104506396B (en) The method of testing and system of the full port Full Mesh performances of equipment
CN102355377B (en) Entire test system and method for Ethernet switch
CN106664261B (en) A kind of methods, devices and systems configuring flow entry
US9973422B2 (en) Traffic interconnection between virtual devices
CN103477588A (en) Method and system for classification and management of inter-blade network traffic in a blade server
US20110110372A1 (en) Systems and methods to perform hybrid switching and routing functions
CN103763407A (en) Method for achieving address resolution protocol proxy through two-layer virtual local area network and local area network system
WO2017219840A1 (en) Device port detection method and apparatus
CN102185766A (en) Unicast forwarding method and forwarding equipment for responding messages by DHCP (Dynamic host configuration protocol) server
CN105262638A (en) Method for simultaneously testing plurality of electronic products
CN105187311A (en) Message forwarding method and message forwarding device
US7668105B1 (en) System for testing and/or evaluating the performance of a network switching apparatus
CN103516567A (en) Method and system for equipment discovery and server
CN108092922B (en) Method and device for transmitting message by interface board
CN105743687A (en) Method and device for determining node faults
CN110768862B (en) Cloud platform physical link connectivity detection device, method and system
CN101626343B (en) Method and apparatus for exchanging data packet, and communication device
JP2010124162A (en) Communication equipment and network testing method
CN105429901B (en) Uplink data packet forwarding method and device, downlink data packet forwarding method and device
CN102882734A (en) System and method for testing virtual ether performance
CN101510901B (en) Communication method, communication apparatus and system between distributed equipment
JP4040562B2 (en) Network equipment test equipment
CN104468285B (en) Network equipment multicast performance measuring method and system
CN107241249A (en) Ether bus switch, ether bus architecture and data communication method
CN104468385B (en) A kind of forwarding-table item treating method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province

Patentee after: Suzhou Shengke Communication Co.,Ltd.

Address before: 215000 unit 13 / 16, 4th floor, building B, No.5 Xinghan street, Suzhou Industrial Park, Jiangsu Province

Patentee before: CENTEC NETWORKS (SU ZHOU) Co.,Ltd.

CP01 Change in the name or title of a patent holder