CN104468285A - Network equipment multicast performance test method and system - Google Patents

Network equipment multicast performance test method and system Download PDF

Info

Publication number
CN104468285A
CN104468285A CN201410854258.8A CN201410854258A CN104468285A CN 104468285 A CN104468285 A CN 104468285A CN 201410854258 A CN201410854258 A CN 201410854258A CN 104468285 A CN104468285 A CN 104468285A
Authority
CN
China
Prior art keywords
multicast
under test
equipment under
vrf
layer interface
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
CN201410854258.8A
Other languages
Chinese (zh)
Other versions
CN104468285B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201410854258.8A priority Critical patent/CN104468285B/en
Publication of CN104468285A publication Critical patent/CN104468285A/en
Application granted granted Critical
Publication of CN104468285B publication Critical patent/CN104468285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to multicast techniques in the data communication field and discloses a network equipment multicast performance test method and system. According to the technical scheme, the system comprises tested equipment, a first test instrument, a second test instrument and a test console, the first test instrument is connected with the head port of the tested equipment, the remaining ports of the tested equipment are connected together in pairs, the port of the second test instrument is connected with the tail port of the tested equipment, the test console is used for establishing n three-layer interfaces on the tested equipment and correspondingly dividing all the ports of the tested equipment to the n three-layer interfaces, n is an even number and is larger than or equal to 4, VRF embodiments are configured, the three-layer interfaces are allocated to VRFs, every two ports are allocated to one VRF from the head port of the tested equipment, an IP address and a multicast protocol are configured for the three-layer interfaces, and a static multicast group is configured for a multicast traffic outlet. The network equipment multicast performance test method and system are especially suitable for testing network equipment with high-density ports.

Description

Network equipment multicast performance measuring method and system
Technical field
The present invention relates to the multicasting technology of data communication field, particularly a kind of network equipment multicast performance measuring method and system.
Background technology
Multicast is a kind of point-to-multipoint communications mode in communication network, and host of data sources only needs to send a data, just can send multiple user to simultaneously, realize the efficient data transfer of network.Multicast is suitable for multi-party video/voice conferencing, Web TV program request, large-scale network game etc., obviously can save bandwidth.
The agreement that current multicast is conventional is PIM (Protocol Independent Multicast) and IGMP (Internet GroupManagement Protocol).Wherein IGMP is igmpinternet, and that is responsible for recording user submission adds multicast group request, thus learns which user needs multicast services.PIM is Routing Protocol, is responsible for forwarding multicasting business datum, by the cooperation with IGMP agreement, and the transmission of finishing service data from source host to user.
When testing the network equipment of a support multicast functionality, need the performance paying close attention to multi-cast business data forwarding, as maximum throughput etc.In daily test, use test instrument comes emulating server and user's also difference connection device.Server end sends multi-cast business data towards equipment, and user side uses IGMP notice of settlement equipment to wish to receive this business datum, thus reaches forwarding.Afterwards, whether the business datum that tester can compare server transmission is all received by user, if all received, tester increases packet sending speed and continues to compare again, until arrive the critical point that can not forward completely, thus draws maximum throughput test result.
But conventionally test way has an obvious bottleneck.A port of a tester port connection device, that tester port gives out a contract for a project/and the speed of packet receiving can not more than the maximum bandwidth of a device port, and the maximum throughput ability of this bandwidth value often from complete machine is also far, so a small amount of tester port can not meet performance test.In order to reach test purpose, often can only by multiple tester port.Rely on the multiple port of multiple tester port connection device and give out a contract for a project to equipment simultaneously, reaching the object increasing throughput.
Can find out, the demand of conventional methods to tester port is larger.On the one hand, if buy as far as possible many tester ports to need no small input, and test utilance is not high yet.On the other hand, if tester port just meets needed for daily test, enough vacant tester port can be can not find again when testing multicast forwarding performance, needing many time coordinations, the work of other tester may be affected.If multiple tester has the needs of performance test simultaneously, the possibility coordinating enough testers can be lower.
Be the main weak point of existing multicast performance measuring method to the wilderness demand of tester port, while being inconvenient to coordinate port, also reduce operating efficiency.
Summary of the invention
The object of the invention is, a kind of network equipment multicast performance measuring method is provided, only need a pair test port just can carry out the test of complete machine multicast forwarding throughput performance.
For achieving the above object, the technical solution used in the present invention is, network equipment multicast performance measuring method, comprises the following steps:
A, the first tester port connect equipment under test head end mouth;
All the other ports of b, equipment under test between two one group link together;
C, the second tester port connect equipment under test tail end mouth;
D, establishment n three layer interfaces, and draw in individual three layer interfaces of described n by corresponding respectively for equipment under test all of the port; Described n is even number, n >=4;
E, configuration VRF instance three layer interfaces are divided in VRF, from described equipment under test head end mouth, every two ports are divided in a VRF;
F, be three layer interface configuration of IP address and multicast protocols;
G, be flux of multicast outlet configuring static multicast group.
Further, described step e is specially: create n/2 VRF instance, and a pair division between two of described three layer interfaces is allocated to the VRF instance of establishment, and odd number three layer interface is traffic ingress, and even number three layer interface is flowexit.
Further, in described step f during configuration of IP address, be specially: odd number three layer interface uses the IP address of the same network segment and do not conflict with even number three layer interface IP address.
Further, when configuring multicast protocol in described step f, all three layer interfaces are all configured to Passive Mode.
Concrete, described step g is specially, and even number three layer interface is configured to static multicast groups.
Concrete, described method of testing also comprises step:
H, the first tester port analog are multicast server, send multi-cast business data to described equipment under test head end mouth.
Another object of the present invention, provides a kind of network equipment multicast performance measuring system, comprises equipment under test, the first tester, the second tester and test console, described first tester be connected described equipment under test head end mouth; All the other ports of described equipment under test between two one group link together; Described second tester port connects described equipment under test tail end mouth;
Described test console, for creating n three layer interfaces at described equipment under test, and draws in described n three layer interfaces by corresponding respectively for equipment under test all of the port; Described n is even number, n >=4; Three layer interfaces are also divided in VRF by configuration VRF instance, and from described equipment under test head end mouth, every two ports are divided in a VRF; Be three layer interface configuration of IP address and multicast protocols; For flux of multicast outlet configuring static multicast group.
Further, described test console also for: on described equipment under test, create n/2 VRF instance, a pair division between two of described three layer interfaces is allocated to the VRF instance of establishment, and odd number three layer interface is traffic ingress, and even number three layer interface is flowexit.
Further, described test console also for: configuration multicast protocol time, all three layer interfaces are all configured to Passive Mode; Described test console also for, when the three layer interface configuration of IP address for equipment under test, odd number three layer interface uses the IP address of the same network segment and does not conflict with even number three layer interface IP address.
Concrete, described first tester port analog is multicast server, for sending multi-cast business data to described equipment under test head end mouth.
The invention has the beneficial effects as follows, utilize the feature of multicast and other correlation function, the work completed by most of tester port, by equipment autodigestion, can be finished the work with a small amount of tester port, also save the more time when building and remove test environment.On the other hand, each port of equipment has also been covered in this invention, so also achieve the object that test port is fully loaded with multicast forwarding ability.
Accompanying drawing explanation
Fig. 1 is the environment topology figure of the method for testing of the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, describe technical scheme of the present invention in detail.
Embodiment
Fig. 1 is the environment topology figure of method of testing of the present invention, and for 8 port devices in figure, concrete method of testing flow process is as follows:
1, the first tester end and the second test port connection device head and the tail two ports P1, P8 respectively.
2, netting twine all the other interfaces on connection device are between two used: P2-P3, P4-P5, P6-P7.
3, three layer interfaces are configured.Create 8 three layer interface IF1-IF8, and draw corresponding respectively for port P1-P8 in these 8 three layer interfaces.
4, configure VRF (VPN Routing Forwarding, Virtual Private Network routing transmitting example) and three layer interfaces are divided in VRF.VRF is a kind of three layers of forwarding instance, and each VRF similarly is an independently network equipment, and the information such as the route of different VRF are completely independent.Create 4 VRF instances VRF1, VRF2, VRF3, VRF4, IF1, IF2 are allocated to VRF1, IF3, IF4 are allocated to VRF2, IF5, IF6 are allocated to VRF3, IF7, IF8 are allocated to VRF4.Can find out after dividing, from P1, every two ports are divided in a VRF.
5, be three layer interface configuration of IP address and multicast protocols.During configuration of IP address, require that odd number three layer interface IF1, IF3, IF5, IF7 use the IP address (or identical address) of the same network segment, reason is that multicast has a kind of flow inspection system, if receive the source IP address of multicast message and local ip address not at a network segment from multicast source server, multicast packet can be dropped, in this routine method of testing, these four interfaces all simulate direct-connected source server, so all need to be configured to the same network segment with source address, such guarantee test is carried out smoothly.Other four configurable IP addresses legal arbitrarily of even number three layer interface IF2, IF4, IF6, IF8, the network segment that discord IF1, IF3, IF5, IF7 use conflicts.
During configuration multicast protocol (being PIM here), require that total interface is all configured to Passive Mode, avoid the interchange produced between different VRF in agreement.
6, be flux of multicast outlet configuring static multicast group.In this routine method of testing, P2, P4, P6, P8 are used as the outlet of flux of multicast, so three layer interface IF2, IF4, IF6, IF8 belonging to them will configure multicast group.Owing to not having the help of tester, we need configuring static multicast group on these mouths.By this operation, we have simulated the environment of these four interface Connecting groups broadcasting users.
The object of building environment odd-numbered port is modeled as the port connecting multicast source server, even port is modeled as the port of Connecting groups broadcasting user.This is the same with the idea of traditional test methods, but conventional method needs these ports all connecting test instruments, and only needs here at equipment head and the tail port connecting test instrument.
Here is test process and realizes principle:
First tester port analog is multicast server, and send multi-cast business data to equipment, now multicast packet enters into the process range of VRF1.VRF1 can check the multi-cast business data that this part receives from three layer interface IF1, finds there is corresponding static multicast groups at IF2, can think that IF2 is connected to multicast user, so data turned out from IF2, namely turn out from physical port P2.
Port P3 receives multicast packet because of direct-connected with port P2, and data enter into the process range of VRF2 thus.Owing to not having the interchange on multicast protocol between VRF1 and VRF2, VRF2 can think direct-connected as VRF1 certain multicast source server, adds and finds that IF4 has corresponding static multicast groups, so continue flow to turn out from IF4.Whole roadmap is similar to VRF1.
VRF3, VRF4 handling process is similar, and flow proceeds to that IF6 produces, IF7 proceeds to IF8 and produces successively from IF5, finally received by the second tester port, thus complete multicast forwarding flow process.
Whole process can be completed by performance test specific purpose tool, as RFC2544, can obtain a maximum throughput test result.But it is the actual maximum throughput of complete machine not, and because multicast packet has carried out repeatedly producing proceeding on equipment, goodput is multiplied.In this routine method of testing, it is identical with VRF number that multicast packet proceeds to the number of times produced, so the result that final complete machine maximum throughput result is measured by testing tool is multiplied by VRF number.
The embodiment of the present invention also provides a kind of network equipment multicast performance measuring system, comprises equipment under test, the first tester, the second tester and test console, described first tester be connected described equipment under test head end mouth; All the other ports of described equipment under test between two one group link together; Described second tester port connects described equipment under test tail end mouth;
Described test console, for creating n three layer interfaces at described equipment under test, and draws in described n three layer interfaces by corresponding respectively for equipment under test all of the port; Described n is even number, n >=4; Three layer interfaces are also divided in VRF by configuration VRF instance, and from described equipment under test head end mouth, every two ports are divided in a VRF; Be three layer interface configuration of IP address and multicast protocols; For flux of multicast outlet configuring static multicast group.Described test console also for: on described equipment under test, create n/2 VRF instance, a pair division between two of described three layer interfaces is allocated to the VRF instance of establishment, and odd number three layer interface is traffic ingress, and even number three layer interface is flowexit.Described test console also for: configuration multicast protocol time, all three layer interfaces are all configured to Passive Mode; Described test console also for, when the three layer interface configuration of IP address for equipment under test, odd number three layer interface uses the IP address of the same network segment and does not conflict with even number three layer interface IP address.Described first tester port analog is multicast server, for sending multi-cast business data to described equipment under test head end mouth.

Claims (10)

1. network equipment multicast performance measuring method, is characterized in that, comprises the following steps:
A, the first tester port connect equipment under test head end mouth;
All the other ports of b, equipment under test between two one group link together;
C, the second tester port connect equipment under test tail end mouth;
D, establishment n three layer interfaces, and draw in individual three layer interfaces of described n by corresponding respectively for equipment under test all of the port; Described n is even number, n >=4;
E, configuration VRF instance three layer interfaces are divided in VRF, from described equipment under test head end mouth, every two ports are divided in a VRF;
F, be three layer interface configuration of IP address and multicast protocols;
G, be flux of multicast outlet configuring static multicast group.
2. network equipment multicast performance measuring method according to claim 1, it is characterized in that, described step e is specially: create n/2 VRF instance, a pair division between two of described three layer interfaces is allocated to the VRF instance of establishment, odd number three layer interface is traffic ingress, and even number three layer interface is flowexit.
3. network equipment multicast performance measuring method according to claim 1, is characterized in that, in described step f during configuration of IP address, be specially: odd number three layer interface uses the IP address of the same network segment and do not conflict with even number three layer interface IP address.
4. network equipment multicast performance measuring method according to claim 1, is characterized in that, when configuring multicast protocol in described step f, all three layer interfaces are all configured to Passive Mode.
5. network equipment multicast performance measuring method according to claim 1, it is characterized in that, described step g is specially, and even number three layer interface is configured to static multicast groups.
6. the network equipment multicast performance measuring method according to any one of claim 1-5, it is characterized in that, described method of testing also comprises step:
H, the first tester port analog are multicast server, send multi-cast business data to described equipment under test head end mouth.
7. network equipment multicast performance measuring system, is characterized in that, comprises equipment under test, the first tester, the second tester and test console, described first tester be connected described equipment under test head end mouth; All the other ports of described equipment under test between two one group link together; Described second tester port connects described equipment under test tail end mouth;
Described test console, for creating n three layer interfaces at described equipment under test, and draws in described n three layer interfaces by corresponding respectively for equipment under test all of the port; Described n is even number, n >=4; Three layer interfaces are also divided in VRF by configuration VRF instance, and from described equipment under test head end mouth, every two ports are divided in a VRF; Be three layer interface configuration of IP address and multicast protocols; For flux of multicast outlet configuring static multicast group.
8. network equipment multicast performance measuring system as claimed in claim 7, it is characterized in that, described test console also for: on described equipment under test, create n/2 VRF instance, a pair division between two of described three layer interfaces is allocated to the VRF instance of establishment, odd number three layer interface is traffic ingress, and even number three layer interface is flowexit.
9. network equipment multicast performance measuring system as claimed in claim 7, is characterized in that, described test console also for: during configuration multicast protocol, all three layer interfaces are all configured to Passive Mode; And/or
Described test console also for, when the three layer interface configuration of IP address for equipment under test, odd number three layer interface uses the IP address of the same network segment and does not conflict with even number three layer interface IP address.
10. the network equipment multicast performance measuring system as described in claim 7-9, is characterized in that, described first tester port analog is multicast server, for sending multi-cast business data to described equipment under test head end mouth.
CN201410854258.8A 2014-12-31 2014-12-31 Network equipment multicast performance measuring method and system Active CN104468285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410854258.8A CN104468285B (en) 2014-12-31 2014-12-31 Network equipment multicast performance measuring method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410854258.8A CN104468285B (en) 2014-12-31 2014-12-31 Network equipment multicast performance measuring method and system

Publications (2)

Publication Number Publication Date
CN104468285A true CN104468285A (en) 2015-03-25
CN104468285B CN104468285B (en) 2018-04-27

Family

ID=52913692

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410854258.8A Active CN104468285B (en) 2014-12-31 2014-12-31 Network equipment multicast performance measuring method and system

Country Status (1)

Country Link
CN (1) CN104468285B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493073A (en) * 2019-07-12 2019-11-22 苏州浪潮智能科技有限公司 A kind of test method and system of network switch port function
CN113271474A (en) * 2021-05-25 2021-08-17 北京飞讯数码科技有限公司 Method, device, equipment and storage medium for testing streaming media server

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094111A (en) * 2007-07-18 2007-12-26 中兴通讯股份有限公司 Method and device for carrying out testing whole set of network device
CN101247289A (en) * 2008-03-17 2008-08-20 中兴通讯股份有限公司 Test method and device for forwarding performance of Ethernet switchboard high speed port
CN101330411A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Method and system for simulating large-scale network topological
CN102148727A (en) * 2011-04-22 2011-08-10 北京星网锐捷网络技术有限公司 Method and system for testing performance of network equipment
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
CN102355377A (en) * 2011-06-30 2012-02-15 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094111A (en) * 2007-07-18 2007-12-26 中兴通讯股份有限公司 Method and device for carrying out testing whole set of network device
CN101247289A (en) * 2008-03-17 2008-08-20 中兴通讯股份有限公司 Test method and device for forwarding performance of Ethernet switchboard high speed port
CN101330411A (en) * 2008-07-30 2008-12-24 中兴通讯股份有限公司 Method and system for simulating large-scale network topological
CN102148727A (en) * 2011-04-22 2011-08-10 北京星网锐捷网络技术有限公司 Method and system for testing performance of network equipment
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
CN102355377A (en) * 2011-06-30 2012-02-15 迈普通信技术股份有限公司 Entire test system and method for Ethernet switch

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493073A (en) * 2019-07-12 2019-11-22 苏州浪潮智能科技有限公司 A kind of test method and system of network switch port function
CN113271474A (en) * 2021-05-25 2021-08-17 北京飞讯数码科技有限公司 Method, device, equipment and storage medium for testing streaming media server
CN113271474B (en) * 2021-05-25 2023-07-04 北京飞讯数码科技有限公司 Method, device, equipment and storage medium for testing streaming media server

Also Published As

Publication number Publication date
CN104468285B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
JP4486902B2 (en) Network system and gateway device
CN102413059B (en) Multicast forwarding method based on SPB (Shortest Path Bridging) network and SPBM (MAC-in-MAC SPB) bridge
US8353020B2 (en) Transparently extensible firewall cluster
CN101335770B (en) Method and apparatus for network port address conversion
US9819574B2 (en) Concerted multi-destination forwarding in a joint TRILL fabric and VXLAN/IP fabric data center
CN101442564B (en) Method for forwarding multicast data and NAT equipment
US20100329252A1 (en) Method and Apparatus for Enabling Multicast Route Leaking Between VRFs in Different VPNs
CN101656637B (en) Virtual trunk measuring device and method for network protocol
US9344382B2 (en) Multicast support for internet protocol version four residual deployment via encapsulation or translation
CN103326948B (en) A kind of exchange processing system and method
JP4436960B2 (en) Packet communication system and mobile communication system
CN106357542B (en) The method and software defined network controller of multicast service are provided
US11296997B2 (en) SDN-based VPN traffic scheduling method and SDN-based VPN traffic scheduling system
US20150002616A1 (en) Apparatus and method for processing multicast traffic in openflow environment
CN103326940A (en) Method for forwarding message in network and edge device of operator
CN104506396B (en) The method of testing and system of the full port Full Mesh performances of equipment
CN101094111B (en) Method and system for carrying out testing whole set of network device
CN104734877B (en) A kind of method, apparatus and system obtaining configuration server information
CN104468285A (en) Network equipment multicast performance test method and system
CN103716244A (en) Method and device enabling extra-VPN forwarding of multicasts to be achieved
CN102413062B (en) Route selecting method and route equipment
CN112187569B (en) Multicast VPN (virtual private network) testing system and method in NG (NG) mode of electric power
CN110192382A (en) A kind of network communication method, peer-to-peer and system
CN101510901A (en) Communication method, communication apparatus and system between distributed equipment
CN106330487B (en) Method of automatic configuration, controller and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 Maple tower, 16 Hing Hing Road, nine High-tech Zone, Chengdu, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.