CN113595818B - Test method for detecting flow of frame type cable clamp plate - Google Patents
Test method for detecting flow of frame type cable clamp plate Download PDFInfo
- Publication number
- CN113595818B CN113595818B CN202110829458.8A CN202110829458A CN113595818B CN 113595818 B CN113595818 B CN 113595818B CN 202110829458 A CN202110829458 A CN 202110829458A CN 113595818 B CN113595818 B CN 113595818B
- Authority
- CN
- China
- Prior art keywords
- line card
- service
- tested line
- card board
- 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.)
- Active
Links
Images
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/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/50—Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate
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 a test method for detecting frame type cable clamp plate flow, which comprises the following steps: s1, configuring a tester; s2, configuring a tested line card board; s3, connecting and starting the tester and the tested line card plate; and S4, judging a result. The invention has the advantages of simple networking, less occupied tester ports, higher tester utilization rate, higher detection efficiency, more accurate test result and low cost.
Description
Technical Field
The invention belongs to the technical field of testing, and particularly relates to a testing method for detecting frame type cable clamp plate flow.
Background
Frame type equipment in network products generally comprises a main function frame, a power supply frame, a fan frame and the like; the main function frame generally comprises a main control board, a line card (also called a service board), a screen board, a host backboard and the like; the service board is responsible for completing the internal exchange of two or three layers of data boards, and is connected with the master control through a host backboard or the network board to complete the forwarding between boards and the like.
With the increasing port density of network products, the traffic ports are gradually developed from GE,10GE to 40G, 100G. As a test for developing internal software and hardware, a simple and feasible method is needed to verify the reliability, service conformity and the like of a product; as a production test, a single plate with a fault needs to be screened out through a large-flow pressure test, and the delivery quality of the single plate is guaranteed.
One of the existing test methods is: and a special flow test instrument is used to be in one-to-one butt joint with the external service ports of the tested service board, so that flow receiving and sending are completed, and each port butted by the test instrument is counted to see whether the single board is normal or not. The testing method needs to occupy a large number of ports of the tester and double optical module resources, and the like, and has complex networking and higher cost.
Another existing test method is as follows: and carrying out a transceiving loopback test on the service port by using the CPU of the service board, and comparing the transceiving packets of each port by using the CPU to see whether packet loss exists or not after the transceiving packets of each port are finished. Although the testing method is simple, the pressure of the service board is not enough, and the requirement of the whole service pressure test of the single board cannot be met.
Disclosure of Invention
The invention aims to provide a test method for detecting the flow of a frame type cable clamp plate, which has the advantages of simple networking, low cost, less occupied tester ports and less occupied optical module resources.
A test method for detecting frame type cable clamp plate flow comprises the following steps:
s1, configuring a tester to output flow of corresponding bandwidth according to the bandwidth of a port to be detected on a tested line card board;
s2, configuring the tested line card board to enable the flow entering the tested line card board to advance according to an appointed path;
s3, connecting a port1 to be used on the tester with a port1 of a service port on a tested line card, and starting; the preset number of flows advance along a preset path, and each interface to be detected on the detected line card is detected in sequence;
s4, judging a result: when the number of the received packages of the tester is the same as the number of the sent packages, the tested line clamping plate is qualified; when the number of the received packages is different from the number of the sent packages, the tested line clamping plate is unqualified;
the bandwidth of a service port1 on the tested line card board is greater than or equal to the bandwidth of other service ports on the tested line card board;
the bandwidth of the port1 to be used on the tester is greater than or equal to the bandwidth of the service port1 on the tested cable card board.
Further, in step S1, the tester is configured as follows:
s11, configuring a source MAC, a destination MAC, a source IP and a destination IP of a port1 to be used by the tester;
s12, configuring the flow of the port1 to be used by the tester into n flows, which are respectively denoted as a 1 、a 2 ……a n Wherein n is the number of the bandwidth types of the ports to be tested on the tested line card board; the utilization of each flow is denoted X 1 、X 2 ……X n And X 1 +X 2 +……+X n =100%;
S13, configuring a vlan for each flow according to the bandwidth of each port on the tested line card board; the vlan id of each flow is configured to be consistent with the vlan id of the port with the corresponding bandwidth on the tested line card board;
wherein a1 is configured as a default vlan; a2 is configured as vlan 1; a3 is configured as vlan2 … … an is configured as vlan n.
Further, in step S2, the configuration of the cable card under test is as follows:
s21, setting a port working mode to work in a two-layer mode, and designating that the equipment allows the ultra-long frame with the designated length to pass through;
s22, configuring the vlan and the trunk of the main control board and the line card board to be tested into default states;
s23, configuring default vlan of each port;
the HG port on the main control board is configured to be vlan A;
adding a service port1 on a tested line card board and an HG port on the tested line card board to the vlan A;
adding the last HG port through which the preset flow flows on the tested line card board and the service port2 on the tested line card board to the vlan B;
adding a service port1 on the tested line card board and a service port2 on the tested line card board to the vlan 1;
adding a service port1 on the tested line card board and a service port3 on the tested line card board to the vlan 2;
……
adding a service port1 on the tested line card board and a service port n on the tested line card board to the vlan n;
s24, configuring a broadcast mask table.
Further, the configuring of the broadcast mask table in step S24 specifically includes the following steps:
s241, setting a broadcast mask table of the main control board and the line card board to be tested to be completely masked;
and S242, configuring HG ports for interconnecting the main control board and the line card board to be tested, wherein the main control board opens the broadcast mask table to the main control board, and the loop can be realized after the flow of the HG ports of the line card board to be tested is input to the main control board.
Further, the step S2 of configuring the tested cable card board further includes a detection procedure for closing the switching network ASIC chip.
Further, when the bandwidths of the rest service ports on the tested cable card are the same, a preset flow enters the far-end exchange mesh through the back board connector port for loopback, then returns to the cable card, traverses the rest back board connector ports in sequence, and then returns to the service port2 on the tested cable card; the preset flow two is forwarded to a service port2 on the tested line card through a service port1 on the tested line card; after the preset flow I and the preset flow II input into the service port2 on the tested line card are converged, the converged flow returns to the service port2 on the tested line card through the optical module and the self-looping optical fiber, and then sequentially traverses the rest service ports and returns to the tester through the service port1 on the tested line card and the port1 to be used on the tester.
Further, when the bandwidths of the rest service ports on the tested line card board are different, a preset flow enters the far-end exchange mesh through the back board connector port for loopback, then returns to the line card board, traverses the rest back board connector ports in sequence and then returns to the service port2 on the tested line card board; the preset flow two is forwarded to a service port2 on the tested line card through a service port1 on the tested line card; after the preset flow I and the preset flow II input into the service port2 on the tested line card board are converged, the converged flow returns to the service port2 on the tested line card board through the optical module and the self-looping optical fiber, and then sequentially traverses the rest service ports with the same bandwidth as the service port2 and enters the service port3 on the tested line card board; the preset flow three is forwarded to a service port3 on the tested line card plate through a service port1 on the tested line card plate, after the preset flow one, the preset flow two and the preset flow three which are input to a service port2 on the tested line card plate are converged, the converged flow returns to the service port3 on the tested line card plate through an optical module and a self-looping optical fiber, and then sequentially traverses the rest service ports with the same bandwidth as the service port3, if the service ports with other bandwidths exist, the analogy is carried out, namely, the preset flow three sequentially returns to the tester through the service port1 on the tested line card plate and a port1 to be used on the tester; wherein, the bandwidth of the service port3 on the tested line card board is more than or equal to the bandwidth of the service port2 on the tested line card board
The invention has the advantages that:
only one port on the tester is connected with one port on the tested line clamping plate, and the rest service ports on the tested line clamping plate are connected with the optical module and the light to form a loop, so that the networking is simple, the occupied ports of the tester are few, one tester can simultaneously detect a plurality of line clamping plates, the utilization rate is higher, and the detection efficiency is higher; sufficient testing pressure can be ensured, full load pressure testing can be carried out, and the testing result is more accurate; the use of optical module resources is reduced, and the cost is greatly reduced.
Drawings
FIG. 1 is a flow chart of the present invention;
FIG. 2 is a test networking and internal flow routing diagram of the tested cable card board in the invention.
Detailed Description
In order to make the technical solution of the present invention better understood, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
As shown in fig. 1 and fig. 2, a test method for detecting flow of a frame cable-clamp board includes the following steps:
s1, configuring a tester to output flow of corresponding bandwidth according to the bandwidth of a port to be detected on a tested line card board; the tester is the existing equipment and can be purchased in the market, so the details are not repeated herein;
s2, configuring the tested line card board to enable the flow entering the tested line card board to advance according to an appointed path;
s3, connecting a port1 to be used on the tester with a service port1 on the tested line card, and starting; the preset number of flows advance along a preset path, and each interface to be detected on the detected line card is detected in sequence;
specifically, the traffic traveling scheme at least includes the following cases:
when the bandwidths of the rest service ports on the tested line card board are the same, a preset flow I enters a far-end exchange net piece (an exchange network ASIC chip) through a back board connector port to loop back, then returns to the line card board, sequentially traverses the rest back board connector ports and then returns to a service port2 on the tested line card board; the preset flow two is forwarded to a service port2 on the tested line card through a service port1 on the tested line card; after the preset flow I and the preset flow II input into the service port2 on the tested line card board are converged, the converged flow returns to the service port2 on the tested line card board through an optical module and a self-looping optical fiber, and then sequentially traverses the rest service ports and then returns to the tester through the service port1 on the tested line card board and the port1 to be used on the tester in sequence;
when the bandwidths of the rest service ports on the tested line card board are different, a preset flow I enters a far-end exchange net piece (an exchange network ASIC chip) through a back board connector port to loop back, then returns to the line card board, sequentially traverses the rest back board connector ports and then returns to a service port2 on the tested line card board; the preset flow two is forwarded to a service port2 on the tested line card through a service port1 on the tested line card; after the preset flow I and the preset flow II input into the service port2 on the tested line card board are converged, the converged flow returns to the service port2 on the tested line card board through the optical module and the self-looping optical fiber, and then sequentially traverses the rest service ports with the same bandwidth as the service port2 and enters the service port3 on the tested line card board; the preset flow three is forwarded to a service port3 on the tested line card plate through a service port1 on the tested line card plate, after the preset flow one, the preset flow two and the preset flow three which are input to a service port2 on the tested line card plate are converged, the converged flow returns to the service port3 on the tested line card plate through an optical module and a self-looping optical fiber, and then the converged flow sequentially traverses the rest service ports with the same bandwidth as the service port3, if the service ports with other bandwidths exist, the analogy is carried out, namely the preset flow three sequentially returns to the tester through the service port1 on the tested line card plate and the port1 to be used on the tester; the bandwidth of a service port3 on the tested line card board is greater than or equal to the bandwidth of a service port2 on the tested line card board;
s4, judging a result: when the number of the received packages of the tester is the same as the number of the sent packages, the tested line clamping plate is qualified; when the number of the received packages is different from the number of the sent packages, the tested line clamping plate is unqualified;
the bandwidth of a service port1 on the tested line card board is greater than or equal to the bandwidth of other service ports on the tested line card board;
the bandwidth of the port1 to be used on the tester is greater than or equal to the bandwidth of the service port1 on the tested cable card board.
In some embodiments, the tester is configured as follows:
s11, configuring a source MAC, a destination MAC, a source IP and a destination IP of a port1 to be used by the tester;
it should be noted that the destination MAC is a broadcast address, the whole flow model is moved according to a broadcast message mode, the flow control is controlled by a vlan, and other source MACs, source IPs and destination IPs can be configured arbitrarily and distinguished;
in this embodiment, the source MAC is 000000000002, the destination MAC is FFFFFFFFFFFF, the source IP is 192.168.1.1, and the destination IP is 192.168.1.2; in other embodiments, the setting can be self-set according to the requirement;
s12, configuring the flow of the port1 to be used of the tester into n flows, which are respectively represented as a 1 、a 2 ……a n Wherein n is the number of the bandwidth types of the ports to be tested on the tested cable clamp plate; the utilization (ratio of total bandwidth) of each stream is denoted X 1 、X 2 ……X n And X 1 +X 2 +……+X n =100%,
The ports to be detected refer to all ports needing to be detected on the line card to be detected, and the ports to be detected comprise HG (HiGig) ports and service ports; the number of bandwidth types refers to that the ports on the carriage line card board are totally divided into several different bandwidths, taking the tested line card board shown in fig. 2 of this embodiment as an example, where the bandwidth of the HG port is 40Gbps, and the bandwidths of the service port1 and the port2 are 100Gbps, so the number of bandwidth types of the tested line card board shown in fig. 2 is 2, that is, n is 2, and at this time, the traffic of the port1 to be used by the tester is configured as a1 and a2, that is, divided into two data streams;
in other embodiments, the traffic of the port1 to be used by the tester may also be configured into more flows, as long as the total traffic introduced into each port is the same as the bandwidth of the port; the method can enable the introduced flow to be more close to the bandwidth of the port, reduce errors and improve the accuracy of detection results;
s13, configuring a vlan for each flow according to the bandwidth of each port on the tested line card board; the vlan id of each flow is configured to be consistent with the vlan id of the port with the corresponding bandwidth on the tested line card board;
wherein, a 1 Configured as a default vlan; a is 2 Configured as vlan 1; a is 3 Configured as vlan2 … … a n Configured as vlan n-1.
In some embodiments, the configuration for the cable card under test is as follows:
s21, setting a port working mode to work in a two-layer mode, and designating that the equipment allows the ultra-long frame with the designated length to pass through;
s22, configuring the vlan and the trunk of the main control board and the line card board to be tested into default states;
s23, configuring default vlan of each port; when a port receives an untagged (namely, a vlan id-free) message, considering the vlan to which the message belongs as a default vlan;
the HG port on the main control board is configured to be vlan A;
adding a service port1 on a tested line card board and an HG port on the tested line card board to the vlan A; the vlan A is a default vlan of a service port1 on the tested line card board;
adding the last HG port through which the preset flow flows on the tested line card and a service port2 on the tested line card to a vlan B;
adding a service port1 on a tested line card board and a service port2 on the tested line card board to the vlan 1;
adding a service port1 on the tested line card board and a service port3 on the tested line card board to the vlan 2;
……
adding a service port1 on the tested line card board and a service port n on the tested line card board to the vlan n;
it should be noted that each port (including all HG ports and service ports) has two vlans, one is a vlan K from which a control message comes from another service port (or HG port), and the other is a vlan J from which a control message can come to another service port, and we can consider the vlan J as a default vlan; based on this, in the present application, the configuration of the default vlan related to the HG port is omitted, but for those skilled in the art, the configuration is very easy based on the technical solutions disclosed in the present application, and therefore, details are not described herein;
s24, configuring a broadcast mask table; for example, the mask of the service port1 on the tested line card needs to be released to the service port2 on the tested line card and the HG port on the tested line card at the same time.
The step S24 of configuring the broadcast mask table specifically includes the following steps:
s241, setting a broadcast mask table of the main control board and the line card board to be tested to be completely masked;
and S242, configuring an HG port for interconnecting the main control board and the line card board to be tested, wherein the main control board opens the broadcast mask table to itself, and the purpose that the flow of the HG port on the line card board side to be tested is input to the main control board side and then the loopback can be realized is achieved. For example, the port numbers of the connections of the 3-slot and 1-slot are (master-side) ports 16, 20.
In some embodiments, configuring the tested line card board further comprises closing a detection program of the switching network ASIC chip.
After the detection is started, the port1 to be used of the tester inputs n streams to the service port1 on the tested cable card board through the optical module and the optical fiber, wherein the first stream a 1 Because the configuration is the default vlan, the vlan id of the vlan is automatically attributed to the default vlan of the service port1 on the tested line card board, namely vlan A, and at the moment, the first flow a is 1 Along a preset path, firstly sending to the 1 st HG port on the main control board through the 1 st HG port on the tested line card and then returning to the 1 st HG port on the tested line card, then sending to the 2 nd HG port on the main control board through the 2 nd HG port on the tested line card and then returning to the 2 nd HG port on the tested line card, … … then sending to the last HG port on the main control board through the last HG port on the tested line card through which a preset flow flows, then returning to the last HG port on the tested line card and inputting to a service port2 on the tested line card; because the service port2 on the tested line card and the HG port on the tested line card do not belong to the same vlan id, the vlan id on the HG port on the tested line card needs to be modified, the vlan id on the HG port on the tested line card is modified by the calling interface, and the vlan id is modified into vlan B, so that the flow can reach the service port2 on the tested line card;
the port1 to be used of the tester inputs the second flow a of the service port1 on the tested cable card 2 The second flow a is configured as vlan 1 2 Will be inputted to the service port2 of the tested cable card board along the preset path, and the second stream a 2 Will be associated with the first stream a 1 After the convergence, the optical module and the optical fiber self-loop (one end of the optical fiber is connected with a receiving module of the optical module, and the other end of the optical fiber is connected with a sending module of the optical module) which are connected with a service port2 on the tested line card board return to the service port2 on the tested line card board, and then the rest service ports (which can be represented as port 2) with the same bandwidth as the service port2 on the tested line card board are traversed in sequence 1 、port 2 2 、port 2 3 … …); then the data is input to a service port3 on the tested cable card board;
the port to be used 1 of the tester inputs the third flow a of the service port1 on the tested cable card 3 The third flow a is configured as vlan2 3 Will be inputted to the service port3 of the tested cable card board along the preset path, and the third flow a 3 Will be associated with the first stream a 1 And a second stream a 2 After being converged, the data is passed through the service terminal on the tested line cardThe optical module and the optical fiber self-loop (one end of the optical fiber is connected with the receiving module of the optical module, the other end is connected with the sending module of the optical module) connected with the port3 return to the service port3 on the tested line card board, and then the rest service ports (which can be represented as port 3) with the same bandwidth as the service port3 on the tested line card board are traversed in sequence 1 、port 3 2 、port 3 3 … …); then the data is input to a service port 4 on the tested cable card board;
……
the port to be used 1 of the tester inputs the nth flow a of the service port1 on the tested line card board n The nth flow a due to the configuration as vlan2 n Will be inputted to the service port n, the nth flow a on the tested cable card board along the preset path n Will be associated with the first stream a 1 The second stream a 2 The third stream a 3 … …, stream n-1 a n-1 After the convergence, the optical module and the optical fiber self-loop (one end of the optical fiber is connected with a receiving module of the optical module, and the other end is connected with a sending module of the optical module) which are connected with a service port n on the tested line card board return to the service port n on the tested line card board, and then the rest service ports (which can be represented as port n) with the same bandwidth as the service port n on the tested line card board are traversed in sequence 1 、port n 2 、port n 3 … …); and finally returning to the tester through the service port1 on the tested cable card.
Determining whether the tested line card board is qualified or not by judging whether the number of data packets sent by a port1 to be used of the tester is consistent with that of the received data packets or not; the quantity of the receiving and sending packets is consistent and qualified, and the packet loss is unqualified.
Further exemplifying by taking the tested line card board shown in fig. 2 of this embodiment as an example, the tested line card board is provided with two service ports with a bandwidth of 100Gbps, which are respectively represented by port1 and port 2; 6 HG ports with bandwidth of 40Gbps are also provided, and are respectively represented by a backplane HG40-1, a backplane HG40-2, a backplane HG40-3, a backplane HG40-4, a backplane HG40-5 and a backplane HG 40-6; the main control board is provided with 6 HG ports corresponding to the HG ports on the tested line card board, the bandwidth of the main control board is also 40Gbps, and the main control board is respectively represented by an exchange net HG40-1, an exchange net HG40-2, an exchange net HG40-3, an exchange net HG40-4, an exchange net HG40-5 and an exchange net HG 40-6; the interface for outputting the flow on the tester is represented as a tester port1, and the bandwidth of the tester port1 is 100 Gbps;
specifically, Port1 of the tested cable clamping plate is in butt joint with Port1 of the tester through the optical module and the optical fiber, and Port2 of the tested cable clamping plate only needs to be connected with the 100G optical module and the self-looping optical fiber.
10 streams (1-10 representing 10 streams) are configured on tester Port1, each running 10G of bandwidth traffic, so that the 10 streams add up to 100G needed by ports 1 and 2 of the line card under test. After the line card board is started, the service board is configured correspondingly, so that the flow can be carried out according to the following route:
the flow direction is 1: making four flows (1-4 represents 4 flows) loop back through backplane connector HG40-1 Port by going through far-end switching mesh (switching network ASIC chip), then returning to the line card board, sequentially traversing HG40-2/3/4/5/6 ports and then returning to tested line card board Port 2;
the flow direction 2: so that six streams (5-10 represent 6 streams) are directly forwarded to Port2 of the tested line card board through Port1 of the tested line card board;
the flow direction is 3: all the traffic passing through the tested line card board Port2 passes through the optical module and the outer ring of the self-looping optical fiber and finally returns to the tested line card board Port 1.
And finally, judging whether the equipment is normal or not by judging whether the number of the receiving and sending packets of the tester Port1 is the same or not.
Before testing, the tester and the tested single board need to be configured respectively in sequence, and the flow can be tested after configuration.
Wherein, the tester is configured as follows:
1. configuring 10 streams for a Port1 Port used for a tester, wherein a source MAC is 000000000002, a destination MAC is FFFFFFFFFFFF, a source IP is 192.168.1.1, and a destination IP is 192.168.1.2;
2. configuring the utilization rate of each flow to be 10%, wherein the sum of 10 flows reaches 100%;
3. the vlan is needed to be configured for 6 flows, and the vlan id is configured according to the slot position of the card board of the line to be tested and the script of the card board of the line to be tested;
4. the other 4 streams do not require a vlan.
The tested line card board is configured as follows:
1. setting a port working mode to work in a two-layer mode, and designating equipment to allow an ultra-long frame with a designated length to pass through;
2. turning off the hmonitor detection;
3. clearing the vlan of the main control board and the tested line card board;
4. clearing the trunk of the main control board and the tested line card board;
5. setting a broadcast mask table of a main control board and a tested line card board to be completely masked;
6. configuring an HG port for interconnecting a main control board and a tested line card board, wherein the main control board is required to open a broadcast mask table to the HG port; for example, the port numbers of the connection of the 3-slot position and the 1-slot position are (master control board side) ports 16 and 20.. and the like, and the broadcast mask tables of the master control board side ports 16 and 20.. are released for the ports 16 and 20.. so as to enable the traffic of the HG port on the tested line card board side to return after reaching the master control board side;
7. setting a default vlan of a port, and when the port receives an untagged message, considering the vlan to which the message belongs as the default vlan;
8. the vlan id of the master control side HG port (namely the exchange mesh HG40) is set to be 200;
9. the tested line card board Port1 and the tested line card board HG Port (namely to the back board HG40) are added to the vlan 200;
10. the last HG Port of the tested line card (namely to the back plate HG40-6) and the tested line card Port2 are added to the vlan 201;
11. the tested line card board Port1 and the tested line card board Port2 are added to the vlan 210;
12. configuring a broadcast mask table setting, for example, the mask of the tested line card board Port1 connected to the tester Port1 needs to be simultaneously released to the tested line card board Port2 and the tested line card board HG Port (i.e. to the backplane HG 40-1);
the tester and the tested equipment end can carry out the test of receiving and dispatching package after being configured, tested line cardboard Port1 divides two flows, 40G's flow does not take vlan, transmit according to default vlan 200, go up to be tested line cardboard HG Port after to be tested line cardboard Port2, and be tested line cardboard Port2 and be tested line cardboard HG Port do not belong to same vlan, just so need to modify the vlan on being tested line cardboard HG Port, call the interface and just modify the vlan on being tested line cardboard HG Port, modify into vlan 201, the flow just can reach being tested line cardboard Port2 like this. And 60G of the stream with the vlan tag, the vlan id is 210, the traffic is forwarded according to the vlan tag, the outgoing traffic is not provided with the tag after the outgoing traffic reaches the tested line card Port2, and the outgoing traffic is forwarded according to the default vlan210 and finally returns to the tested line card Port 1.
Finally, the results are compared: comparing the number of the data packets sent by the tester Port1 with the number of the received data packets, and if the number of the data packets is consistent, determining that the tested line card board is qualified; if the number is inconsistent, the tested wire clamping plate is unqualified.
By the method, the networking method is simpler and more reliable, the operation is easier, the networking time is greatly reduced, and the test is more efficient; the cost of environmental materials is saved, only one port of precious tester resources is occupied for one wire clamping plate, and a large amount of tester resources and test environment resources are not occupied, so that the utilization rate of the tester is effectively improved; and by utilizing a simple networking mode and configuring the flow direction of the line card board, the full load pressure test requirement forwarded by all service ports and the back board of the whole service board can be met.
Meanwhile, the method can be used for the production test requirements of the wire clamping plate, can effectively screen single plates with poor performance, and has wider application range.
The invention herein may be practiced in the absence of any element or elements, limitation or limitations, which limitation or limitations is not specifically disclosed herein. The terms and expressions which have been employed herein are used as terms of description and not of limitation, and there is no intention in the use of such terms and expressions of excluding any equivalents of the features shown and described, but it is recognized that various modifications and changes may be made within the scope of the invention and the claims which follow. It is to be understood that the embodiments described herein are examples of some implementations and features in some embodiments and that modifications and variations may be made by one of ordinary skill in the art in light of the teachings of this disclosure, which are also to be considered as within the purview of this invention and the scope of the appended claims and their equivalents.
Claims (5)
1. A frame type cable clamp plate flow testing method is characterized in that: the method comprises the following steps:
s1, configuring a tester to output flow of corresponding bandwidth according to the bandwidth of a port to be detected on a tested line card board;
s2, configuring the tested line card board to enable the flow entering the tested line card board to advance according to an appointed path;
s3, connecting a port1 to be used on the tester with a service port1 on the tested line card, and starting; the preset number of flows advance along the specified path, and each interface to be detected on the detected line card is detected in sequence;
the preset number of flows advance along the specified path, and each interface to be detected on the detected line clamping plate is detected in sequence, wherein the preset number of flows at least comprises the following conditions:
when the bandwidths of the rest service ports on the tested line card board are the same, a preset flow I enters the far-end exchange net sheet through the back board connector port to loop back, then returns to the tested line card board, sequentially traverses the rest back board connector ports and then returns to the service port2 on the tested line card board; the preset flow two is forwarded to a service port2 on the tested line card board through a service port1 on the tested line card board; after the preset flow I and the preset flow II input into the service port2 on the tested line card board are converged, the converged flow returns to the service port2 on the tested line card board through an optical module and a self-looping optical fiber, and then sequentially traverses the rest service ports and then returns to the tester through the service port1 on the tested line card board and the port1 to be used on the tester in sequence;
when the bandwidths of the rest service ports on the tested line card board are different, a preset flow I enters the far-end exchange net sheet through the back board connector port to loop back, then returns to the tested line card board, sequentially traverses the rest back board connector ports and then returns to the service port2 on the tested line card board; the preset flow two is forwarded to a service port2 on the tested line card board through a service port1 on the tested line card board; after the preset flow I and the preset flow II input into the service port2 on the tested line card board are converged, the converged flow returns to the service port2 on the tested line card board through an optical module and a self-loop optical fiber, and then sequentially traverses the rest service ports with the same bandwidth as the service port2 and enters the service port3 on the tested line card board; the preset flow three is forwarded to a service port3 on the tested line card plate through a service port1 on the tested line card plate, after the preset flow one, the preset flow two and the preset flow three which are input to a service port2 on the tested line card plate are converged, the converged flow returns to the service port3 on the tested line card plate through an optical module and a self-looping optical fiber, and then after the other service ports with the same bandwidth as the service port3 are traversed in sequence, if the service ports with other bandwidths exist, the analogy is carried out in the same way; then, the test cable returns to the tester through a service port1 on the tested cable card board and a port1 to be used on the tester in sequence; the bandwidth of a service port3 on the tested line card board is greater than or equal to the bandwidth of a service port2 on the tested line card board;
s4, judging a result: when the number of the received packages of the tester is the same as the number of the sent packages, the tested line clamping plate is qualified; when the number of the received packages is different from the number of the sent packages, the tested line clamping plate is unqualified;
the bandwidth of a service port1 on the tested line card board is greater than or equal to the bandwidth of other service ports on the tested line card board;
the bandwidth of the port1 to be used on the tester is greater than or equal to the bandwidth of the service port1 on the tested cable card board.
2. The frame wire-clamping plate flow test method according to claim 1, characterized in that: in step S1, the tester is configured as follows:
s11, configuring a source MAC, a destination MAC, a source IP and a destination IP of a port1 to be used by the tester;
s12, configuring the flow of the port1 to be used by the tester into n flows, which are respectively denoted as a 1 、a 2 ……a n Wherein n is the number of the bandwidth types of the ports to be tested on the tested cable clamp plate; the utilization of each flow is denoted X 1 、X 2 ……X n And X 1 +X 2 +……+X n =100%;
S13, configuring a vlan for each flow according to the bandwidth of each port on the tested line card board; the vlan id of each flow is consistent with the vlan id configuration of a port of a corresponding bandwidth on a tested line card board;
wherein, a 1 Configured as a default vlan; a is 2 Configured as vlan 1; a is 3 Configured as vlan2 … … a n Configured as vlan n-1.
3. The frame wire-clamping plate flow test method according to claim 2, characterized in that: in step S2, the tested cable card is configured as follows:
s21, setting a port working mode to work in a two-layer mode, and designating that the equipment allows the ultra-long frame with the designated length to pass through;
s22, configuring the vlan and trunk of the main control board and the tested line card board into default states;
s23, configuring default vlan of each port;
the HG port on the main control board is configured to be vlan A;
adding a service port1 on a tested line card board and an HG port on the tested line card board to the vlan A;
adding the last HG port through which the preset flow flows on the tested line card and a service port2 on the tested line card to a vlan B;
adding a service port1 on the tested line card board and a service port2 on the tested line card board to the vlan 1;
adding a service port1 on the tested line card board and a service port3 on the tested line card board to the vlan 2;
……
adding a service port1 on the tested line card board and a service port n on the tested line card board to the vlan n;
s24, configuring a broadcast mask table.
4. The frame wire-clamping plate flow test method according to claim 3, characterized in that: the configuring of the broadcast mask table in step S24 specifically includes the following steps:
s241, setting a broadcast mask table of the main control board and the tested line card board;
and S242, configuring HG ports of the main control board and the tested line card board, releasing the main control board by the broadcast mask table on the main control board side, and realizing loopback after the flow of the HG ports on the tested line card board side is input to the main control board side.
5. The frame wire-clamping plate flow test method according to claim 3, characterized in that: in step S2, the configuration of the tested cable card board further includes a detection procedure for closing the switching network ASIC chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110829458.8A CN113595818B (en) | 2021-07-22 | 2021-07-22 | Test method for detecting flow of frame type cable clamp plate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110829458.8A CN113595818B (en) | 2021-07-22 | 2021-07-22 | Test method for detecting flow of frame type cable clamp plate |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113595818A CN113595818A (en) | 2021-11-02 |
CN113595818B true CN113595818B (en) | 2022-08-26 |
Family
ID=78248739
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110829458.8A Active CN113595818B (en) | 2021-07-22 | 2021-07-22 | Test method for detecting flow of frame type cable clamp plate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113595818B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105323122A (en) * | 2015-12-04 | 2016-02-10 | 北京博维亚讯技术有限公司 | Device for testing throughput capacity of network equipment based on switchboard and test method |
CN105843718A (en) * | 2016-04-05 | 2016-08-10 | 浪潮电子信息产业股份有限公司 | Test board card as well as management card test system and method |
WO2017000843A1 (en) * | 2015-06-30 | 2017-01-05 | 中兴通讯股份有限公司 | Automatic test method and device for board card |
CN108415801A (en) * | 2018-03-07 | 2018-08-17 | 深圳市风云实业有限公司 | Backplane test method and computer storage media |
CN111092782A (en) * | 2018-10-24 | 2020-05-01 | 迈普通信技术股份有限公司 | Tested communication equipment, communication equipment port data forwarding test system and method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102752150B (en) * | 2012-07-20 | 2015-07-15 | 迈普通信技术股份有限公司 | Distributed communication equipment capable of providing remote board card debugging and remote board card debugging method |
CN109633414B (en) * | 2018-12-28 | 2021-06-15 | 武汉长光科技有限公司 | Backboard testing device and method based on ATCA (advanced telecom computing architecture) |
-
2021
- 2021-07-22 CN CN202110829458.8A patent/CN113595818B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017000843A1 (en) * | 2015-06-30 | 2017-01-05 | 中兴通讯股份有限公司 | Automatic test method and device for board card |
CN105323122A (en) * | 2015-12-04 | 2016-02-10 | 北京博维亚讯技术有限公司 | Device for testing throughput capacity of network equipment based on switchboard and test method |
CN105843718A (en) * | 2016-04-05 | 2016-08-10 | 浪潮电子信息产业股份有限公司 | Test board card as well as management card test system and method |
CN108415801A (en) * | 2018-03-07 | 2018-08-17 | 深圳市风云实业有限公司 | Backplane test method and computer storage media |
CN111092782A (en) * | 2018-10-24 | 2020-05-01 | 迈普通信技术股份有限公司 | Tested communication equipment, communication equipment port data forwarding test system and method |
Also Published As
Publication number | Publication date |
---|---|
CN113595818A (en) | 2021-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102355377B (en) | Entire test system and method for Ethernet switch | |
CN106452942B (en) | The vehicle-mounted Ethernet exchanging software performance test system and method for track transportation industry | |
US9565064B2 (en) | Frame transmission apparatus and method for checking normality | |
CN111669255B (en) | Communication equipment network port loopback test method, device, circuit, equipment and medium | |
CN102904777B (en) | Port-based multi-equipment testing implementing method | |
EP2803173A1 (en) | Expanding network functionalities for openflow based split-architecture networks | |
CN103532785B (en) | Full load test method for Ethernet switch | |
CN103107924A (en) | Testing method for performance of network device with high-rate port by utilizing low-rate port | |
US10097633B2 (en) | Automated mirroring and remote switch port analyzer (RSPAN)/encapsulated remote switch port analyzer (ERSPAN) functions using fabric attach (FA) signaling | |
CN103873360B (en) | Communication system and network repeater | |
EP2634967B1 (en) | Data driven connection fault management (DDCFM) in CFM maintenance points | |
CN102684979A (en) | Multicast data forwarding method and device capable of supporting virtual terminal | |
CN100428703C (en) | Method and system for set testing of router | |
US20100110906A1 (en) | Efficient full mesh load testing of network elements | |
CN106453156A (en) | Communication method and apparatus between virtual devices | |
CN110278126A (en) | A kind of switch port self checking method, system, terminal and storage medium | |
CN101094111B (en) | Method and system for carrying out testing whole set of network device | |
CN113595818B (en) | Test method for detecting flow of frame type cable clamp plate | |
CN201226522Y (en) | Network analogy system for software test environment | |
CN112187569B (en) | Multicast VPN (virtual private network) testing system and method in NG (NG) mode of electric power | |
CN101494574A (en) | Performance test system and method for double-layer virtual special access backbone network | |
CN105049316B (en) | Communication means and communication equipment | |
CN102291317B (en) | A kind of retransmission method and device of virtual private network packet | |
CN107566238A (en) | A kind of method of User space configuration physical interface automatic identification vlan frames and non-vlan frames | |
CN112104466A (en) | Vehicle-mounted Ethernet loopback test method and system based on BroadR-Reach technology |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |