CN109302345B - System, method and device for testing issuing time of FIB routing table - Google Patents

System, method and device for testing issuing time of FIB routing table Download PDF

Info

Publication number
CN109302345B
CN109302345B CN201710614378.4A CN201710614378A CN109302345B CN 109302345 B CN109302345 B CN 109302345B CN 201710614378 A CN201710614378 A CN 201710614378A CN 109302345 B CN109302345 B CN 109302345B
Authority
CN
China
Prior art keywords
board card
auxiliary
testing
main
routing table
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
CN201710614378.4A
Other languages
Chinese (zh)
Other versions
CN109302345A (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 CN201710614378.4A priority Critical patent/CN109302345B/en
Publication of CN109302345A publication Critical patent/CN109302345A/en
Application granted granted Critical
Publication of CN109302345B publication Critical patent/CN109302345B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/26Route discovery packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Abstract

The embodiment of the application discloses a system, a method and a device for testing the issuing time of an FIB (focused ion beam) routing table, relates to the field of communication, and is used for realizing the accurate test of the issuing time of the FIB routing table. The system comprises: the device comprises main equipment, first auxiliary equipment, second auxiliary equipment, a first tester port and a second tester port, wherein the main equipment comprises a main test board card and at least one auxiliary test board card. The embodiment of the application is applied to the FIB routing table issuing time test of the switching equipment.

Description

System, method and device for testing issuing time of FIB routing table
Technical Field
The present application relates to the field of communications, and in particular, to a system, method, and apparatus for testing Forwarding Information Base (FIB) routing table down-sending time
Background
The FIB routing table is used as an adaptation management layer between an upper layer software routing and each chip resource object at a bottom layer, and is mainly used for bearing resource management operations such as upper layer Internet Protocol (IP) unicast and generation, change, deletion and the like of each resource table item at the bottom layer. The existing network equipment, especially the equipment in backbone core and convergence network level, has large quantity of more than hundreds of thousands of items in the capacity of the routing table, so the routing table generated by the upper layer software is quickly and accurately issued to the chip and correctly installed, and is an important index for measuring the routing processing capacity of a switching equipment.
In the prior art, the test of the issuing time of the FIB routing table items is rough and simple, specifically, the learning and the issuing of the routing table are started and timed from the completion of the configuration of the network equipment to the completion of the learning of the routing table with the full specification and the successful issuing are taken as the end, data statistics is carried out in the middle through the FIB routing table item statistical function provided by each software, the issuing end is calculated from the starting of the issuing of the routing table to the final data statistics and displayed as the end mark, and the manual table-inserting calculation of the issuing time is regarded as the FIB table item issuing time of the network equipment. However, the method is rough in statistics and has large manual errors.
Disclosure of Invention
The embodiment of the application provides a system, a method and a device for testing the issuing time of an FIB routing table, which are used for realizing the accurate test of the issuing time of the FIB routing table.
In order to achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
in a first aspect, a FIB routing table issue time test system is provided, which includes:
the device comprises a main test device, a first auxiliary test device, a second auxiliary test device, a first tester port and a second tester port, wherein the main test device comprises a main test board card and at least one auxiliary test board card;
the first auxiliary testing equipment is connected with a first member port of the main testing board card and a second member port of the auxiliary testing board card in a gathering mode through a first static link, and a first logic link is established between the first auxiliary testing equipment and the main testing board card and between the first auxiliary testing equipment and the auxiliary testing board card;
the second auxiliary testing equipment is connected with a third member port of the main testing board card and a fourth member port of the auxiliary testing board card through a second static link in a gathering mode and used for establishing a second logic link between the second auxiliary testing equipment and the main testing board card and the auxiliary testing board card;
after upper-layer software of the main test device learns an upper-layer software routing table, setting the first tester port to send a data stream with a flow rate of S to the second tester port through the first logical link and the second logical link, wherein the data stream covers an FIB routing table;
adjusting a load balancing algorithm for static link convergence to enable the data flow to be only loaded to the main test board card in a static link convergence state;
when the main test board card is pulled out and then is inserted into the main test equipment again, counting the packet loss m of the data stream;
and calculating the issuing time t of the FIB routing table according to the t-S/m.
In a second aspect, a method for testing FIB routing table delivery time is provided, which is applied to the system according to the first aspect, and the method includes:
the first auxiliary testing equipment is connected with a first member port of the main testing board card and a second member port of the auxiliary testing board card in a gathering mode through a first static link, and a first logic link is established between the first auxiliary testing equipment and the main testing board card and between the first auxiliary testing equipment and the auxiliary testing board card;
the second auxiliary testing equipment is connected with a third member port of the main testing board card and a fourth member port of the auxiliary testing board card through a second static link in a gathering mode and used for establishing a second logic link between the second auxiliary testing equipment and the main testing board card and the auxiliary testing board card;
after upper-layer software of the main test device learns an upper-layer software routing table, a first tester port is set to send a data stream with a flow rate of S to a second tester port through a first logic link and a second logic link, wherein the data stream covers all table entries of an FIB routing table;
adjusting a load balancing algorithm for static link convergence, so that the data stream is only loaded to a main test board card of the main test equipment in a static link convergence state;
when the main test board card is pulled out and then is inserted into the main test equipment again, counting the packet loss m of the data stream;
and calculating the issuing time t of the FIB routing table according to the t-S/m.
In a third aspect, a FIB routing table issue time testing apparatus is provided, which is applied to the system according to the first aspect, and the apparatus includes:
the device comprises a setting unit, a first testing unit and a second testing unit, wherein the setting unit is used for setting a first auxiliary testing device to be connected with a first member port of a main testing board card and a second member port of an auxiliary testing board card in a converging manner through a first static link so as to establish a first logic link between the first auxiliary testing device and the main testing board card and between the first auxiliary testing device and the auxiliary testing board card;
the setting unit is further configured to set a third member port of the main test board card and a fourth member port of the auxiliary test board card through a second static link in a convergence connection manner for the second auxiliary test equipment, so as to establish a second logical link between the second auxiliary test equipment and the main test board card and the auxiliary test board card;
the setting unit is further configured to set, after upper-layer software of the master device has learned an upper-layer software routing table, a first tester port to send a data stream with a traffic rate S to a second tester port through the first logical link and the second logical link, where the data stream covers all entries of an FIB routing table;
the setting unit is further configured to adjust a load balancing algorithm for static link aggregation, so that the data stream is only loaded to a main test board card of the main device in a static link aggregation state;
the statistical unit is used for counting the packet loss m of the data stream when the main test board card is pulled out and then is inserted into the main test equipment again;
and the calculating unit is used for calculating and obtaining the issuing time t of the FIB routing table according to the t-S/m.
According to the system, the method and the device for testing the issuing time of the FIB routing table, the main test board card and the auxiliary test board card are configured to be static links to be converged, and the data stream only flows through the main test board card in the static link convergence state, so that when the main test board card is just inserted into the main test equipment, the packet loss of the data stream is generated due to the fact that the main test board card does not normally work yet, the packet loss does not stop until the FIB routing table is issued, the packet loss time is just the issuing time of the FIB routing table, and therefore accurate testing of the issuing time of the FIB routing table can be achieved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic structural diagram of a FIB routing table issue time test system according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a FIB routing table issue time testing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another FIB routing table issue time testing method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an apparatus for testing FIB routing table issue time according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings.
The FIB routing table entry issuing time testing system and method provided by the embodiment of the application are mainly suitable for network equipment or distributed network equipment supporting a stacking system.
Referring to fig. 1, a system for testing a routing table delivery time provided in the embodiment of the present application includes: the main Test device 11, the first auxiliary Test device 12, the second auxiliary Test device 13, the first tester port (TC) 14, and the second tester port 15, where the main Test device 11 includes a main Test board Card (Card)111 and at least one auxiliary Test board Card 112.
The First auxiliary device 12 and the second auxiliary device 13 need to support a static link aggregation and a dynamic routing Protocol, such as an Open Shortest Path First Protocol (OSPF), a Border Gateway Protocol (BGP), and the like.
The FIB routing table specifications of the first slave device 12 and the second slave device 13 are equal to or larger than the FIB routing table specification of the master device 11. The FIB routing table specification of the auxiliary test board card 112 is greater than or equal to the FIB routing table specification of the main test board card 111. Therefore, when the boards are switched, the issue failure caused by insufficient FIB routing table specification can be avoided.
First tester port 14 and second tester port 15 need to be able to support the generation of FIB routing table specification numbers equal to or greater than master device 11.
Examples 1,
An embodiment of the present application provides a method for testing FIB routing table delivery time, which is applied to the foregoing system, and as shown in fig. 2, the method includes:
s101, the first auxiliary device 12 is connected to the first member port IF1 of the main board card 111 and the second member port IF2 of the auxiliary board card 112 through the first static link aggregation L1, and is configured to establish a first logical link between the first auxiliary device 12 and the main board card 111 and the auxiliary board card 112.
The adoption of static link aggregation mainly considers the following aspects: firstly, once the member ports of the static Link Aggregation are successfully physically negotiated, the logical ports of the static Link Aggregation can be successfully automatically negotiated, and a Link Aggregation Control Protocol (LACP) renegotiation Link is not performed any more, so that the time consumed correspondingly is reduced, and the time accuracy is relatively improved. And the generation of packet loss caused by issuing other non-FIB routing table items due to link switching in the test process is reduced, and zero packet loss is ensured to be generated when the logical link unchanged physical link is switched among member ports of different board cards. Thirdly, after any one of the member port IF1 and the member port IF2 is disconnected, the state of the logic port where the static links converge is always in a connected state, so that the OSPF neighbor state and the state of the software routing table entry are not affected, and the state of the routing protocol of the whole device and the state of the upper-layer software routing table are not affected when the main test board card is pulled out or inserted.
S102, the second auxiliary device 13 is connected to the third member port IF3 of the main board card 111 and the fourth member port IF4 of the auxiliary board card 112 through the second static link aggregation L2, and is configured to establish a second logical link between the second auxiliary device 13 and the main board card 111 and the auxiliary board card 112.
S103, after the upper layer software of the master device 11 has learned the upper layer software routing table, setting the first tester port 14 to send the data stream with the traffic rate S to the second tester port 15 through the first logical link and the second logical link, where the data stream covers all entries of the FIB routing table.
The aim of emphasizing that the time for upper-layer software to learn the routing table is eliminated when the time for issuing the FIB routing table is counted after the upper-layer software of the main device 11 has learned the routing table of the upper-layer software.
S104, adjusting a load balancing algorithm of static link convergence, so that the data stream is only loaded to the main test board card 111 of the main test device 11 in a static link convergence state.
And S105, when the main test board card 111 is pulled out and then is inserted into the main test equipment 11 again, counting the packet loss m of the data stream.
Since the setting in step S104 is in the static link convergence state, the data stream must be forced to flow through the board card 111, but when the board card traffic is switched to the board card 111 just after loading, the FIB routing table entry of the board card 111 is not issued immediately, and packet loss occurs. Only after the FIB routing table is issued from the upper-layer software to the chip of the main test board 111 again, the data stream can be normally forwarded from the main test board 111, and packet loss does not occur. Therefore, the accurate packet loss time can be obtained by quoting the packet loss number and the packet sending rate.
And S106, calculating the issuing time t of the FIB routing table according to the t-S/m.
According to the method for testing the issuing time of the FIB routing table, the main test board card and the auxiliary test board card are configured to be static links for aggregation, and the data stream only flows through the main test board card in the static link aggregation state, so that when the FIB routing table is issued just after the main test board card is inserted into the main test equipment and loaded, packet loss of the data stream is generated because the issuing of the FIB routing table is not completed, the packet loss can not stop until the issuing of the FIB routing table is completed, the packet loss time is just the issuing time of the FIB routing table, and accordingly accurate testing of the issuing time of the FIB routing table can be achieved.
According to the method for testing the issuing time of the FIB routing table, two board cards with the same specification are adopted, static links are constructed across two ports of the cards to be converged, the purpose is to ensure that the learned upper-layer software routing table does not have routing oscillation, and the pure time of issuing chips by the existing upper-layer software routing table is obtained by switching the states of the board cards. Meanwhile, after the learning time of the upper routing table is eliminated, the pure FIB routing table entry issuing time with full specification is constructed through the plugging and unplugging actions of the two board cards.
Examples 2,
The embodiment of the present application provides another FIB routing table issue time testing method, which is applied to the foregoing system, and as shown in fig. 3, the method includes:
s201, confirming the FIB routing table specification.
The FIB routing table specification is usually a specification of each board or each test equipment in the system, and the specification number is n (unit k), for example.
S202, a first static link aggregation and a second static link aggregation in the system are created.
This step is the same as S101 and S102, and will not be described again.
S203, the main device and the first auxiliary device build a routing neighbor through the convergence of the first static link, and the main device and the second auxiliary device build a routing neighbor through the convergence of the second static link.
S204, upper-layer software of the main testing device learns the FIB routing table according to the routing neighbors and confirms that the main testing board card and the auxiliary testing board card can support issuing the FIB routing table with the maximum specification (n in the embodiment of the application) in a stable state.
This step corresponds to S103.
S205, the first tester port is set to send data flow with the flow rate of S (per pps) to the second tester port through the first logic link and the second logic link.
This step corresponds to S104, where the data stream covers all entries of the FIB routing table obtained through the routing neighbor learning in step 204, that is, it is determined that the master device can normally forward according to all entries in the FIB routing table.
And S206, setting a link aggregation traffic load mode of the first auxiliary device and message characteristics sent by the first tester port, so that data streams from the outgoing direction of the first logic link of the first tester port all flow through the main test board card through the first member port in an aggregation state, and confirming that the data streams between the first tester port and the second tester port are normally received and sent without packet loss in the middle.
And S207, when the main test board card is pulled out, confirming that all data streams sent from the first tester port to the second tester port flow through the auxiliary test board card, emptying the receiving and sending packet statistics of the first tester port and the second tester port after the flow is stable, and starting packet loss statistics.
And S208, when the main test board card is inserted, waiting for the successful software loading of the main test board card, and enabling each member port of the main test board card to be normally connected, wherein at the moment, the data stream flows through the main test board card again according to the setting of the S206.
Because the setting of step S206 is in the static link convergence state, the forced data stream must flow through the main board card, but when the loading is just successful, the FIB routing table is not yet completely issued, and packet loss occurs. Only after the member ports of the main test board card are normally connected, the upper-layer software of the main test device starts to issue an FIB routing table to the chip of the main test board card, and records the total packet loss amount in the link switching process as m after the data stream is consistent from the initial packet loss to the final all receiving and sending.
This step corresponds to S105.
And S209, calculating the issuing time t of the FIB routing table of the main test board card according to the t-S/m.
This step corresponds to S106.
Compared with the method described in fig. 2, the FIB routing table issuance time testing method provided in the embodiment of the present application adds many steps for confirming the correct operation of each board card and testing device, and also realizes the accurate testing of the FIB routing table issuance time.
Examples 3,
An embodiment of the present application provides an apparatus for testing FIB routing table issuance time, which is used to execute the foregoing method and is applied to the foregoing system, and referring to fig. 4, the apparatus 40 includes:
the setting unit 401 is configured to set a first member port of a main test board card and a second member port of an auxiliary test board card, which are connected to the first auxiliary device through a first static link in a converged manner, so as to establish a first logical link between the first auxiliary device and the main test board card and the auxiliary test board card;
the setting unit 401 is further configured to set a third member port of the main test board card and a fourth member port of the auxiliary test board card, which are connected in a converged manner by the second auxiliary device through a second static link, so as to establish a second logical link between the second auxiliary device and the main test board card and the auxiliary test board card;
the setting unit 401 is further configured to set, after the upper layer software of the master device has learned the upper layer software routing table, the first tester port to send a data stream with a flow rate S to the second tester port through the first logical link and the second logical link, where the data stream covers all entries of the FIB routing table;
the setting unit 401 is further configured to adjust a load balancing algorithm for static link aggregation, so that the data stream is only loaded to a main test board card of the main device in a static link aggregation state;
a counting unit 402, configured to count a packet loss amount m of the data stream when the board card is unplugged and then reinserted into the device under test;
and a calculating unit 403, configured to calculate, according to t ═ S/m, an issue time t of the FIB routing table.
Since the apparatus in the embodiment of the present application can be applied to the method, the technical effect obtained by the apparatus can also refer to the embodiment of the method, and the embodiment of the present application is not described herein again.
In one possible design, referring to fig. 4, the apparatus further includes a determining unit 404, configured to determine that the main board card and the auxiliary board card can support issuing the FIB routing table with the largest size before the setting unit 401 sets the first tester port to send the data stream with the traffic rate S to the second tester port through the first logical link and the second logical link.
In a possible design, the determining unit 404 is configured to determine that there is no packet loss between the first tester port and the second tester port after the setting unit 401 sets that the data stream only flows through the board under test in the static link aggregation state.
In one possible design, the determining unit 404 is configured to determine that all data streams flow through the auxiliary test board when the main test board is unplugged.
The setting unit, the statistical unit, the calculating unit, and the determining unit may be individually configured processors, or may be implemented by being integrated into one of the processors of the controller, or may be stored in a memory of the controller in the form of program codes, and the one of the processors of the controller may call and execute the functions of the above units. The processor described herein may be a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions described in accordance with the embodiments of the present application are all or partially generated upon loading and execution of computer program instructions on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or can comprise one or more data storage devices, such as a server, a data center, etc., that can be integrated with the medium. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (9)

1. A system for testing the issue time of a FIB routing table in a forwarding information base is characterized by comprising the following components: the device comprises a main test device, a first auxiliary test device, a second auxiliary test device, a first tester port and a second tester port, wherein the main test device comprises a main test board card and at least one auxiliary test board card;
the specification of the FIB routing tables of the first auxiliary detection equipment and the second auxiliary detection equipment is greater than or equal to that of the FIB routing table of the main detection equipment, and the specification of the FIB routing table of the auxiliary detection board card is greater than or equal to that of the FIB routing table of the main detection board card;
the first auxiliary testing equipment is connected with a first member port of the main testing board card and a second member port of the auxiliary testing board card in a gathering mode through a first static link, and a first logic link is established between the first auxiliary testing equipment and the main testing board card and between the first auxiliary testing equipment and the auxiliary testing board card;
the second auxiliary testing equipment is connected with a third member port of the main testing board card and a fourth member port of the auxiliary testing board card through a second static link in a gathering mode and used for establishing a second logic link between the second auxiliary testing equipment and the main testing board card and the auxiliary testing board card;
after upper-layer software of the main test device learns an upper-layer software routing table, setting the first tester port to send a data stream with a flow rate of S to the second tester port through the first logical link and the second logical link, wherein the data stream covers an FIB routing table;
adjusting a load balancing algorithm for static link convergence to enable the data flow to be only loaded to the main test board card in a static link convergence state;
when the main test board card is pulled out and then is inserted into the main test equipment again, counting the packet loss m of the data stream;
and calculating the issuing time t of the FIB routing table according to the t-S/m.
2. A method for testing the issue time of a FIB routing table in a forwarding information base is applied to the system as claimed in claim 1, and is characterized in that the method comprises the following steps:
the first auxiliary testing equipment is connected with a first member port of the main testing board card and a second member port of the auxiliary testing board card in a gathering mode through a first static link, and a first logic link is established between the first auxiliary testing equipment and the main testing board card and between the first auxiliary testing equipment and the auxiliary testing board card;
the second auxiliary testing equipment is connected with a third member port of the main testing board card and a fourth member port of the auxiliary testing board card through a second static link in a gathering mode and used for establishing a second logic link between the second auxiliary testing equipment and the main testing board card and the auxiliary testing board card;
after upper-layer software of the main test device learns an upper-layer software routing table, a first tester port is set to send a data stream with a flow rate of S to a second tester port through a first logic link and a second logic link, wherein the data stream covers all table entries of an FIB routing table;
adjusting a load balancing algorithm for static link convergence, so that the data stream is only loaded to a main test board card of the main test equipment in a static link convergence state;
when the main test board card is pulled out and then is inserted into the main test equipment again, counting the packet loss m of the data stream;
and calculating the issuing time t of the FIB routing table according to the t-S/m.
3. The method of claim 2, wherein prior to said setting the first tester port to send the data stream at traffic rate S to the second tester port over the first logical link and the second logical link, the method further comprises:
and determining that the main test board card and the auxiliary test board card can support the issue of the maximum-size FIB routing table.
4. The method of claim 2, wherein after the adjusting the load balancing algorithm for static link aggregation such that the data flow is only loaded to the board under test in a static link aggregation state, the method further comprises:
and determining that no packet loss exists between the first tester port and the second tester port.
5. The method of claim 2, further comprising:
and when the main test board card is pulled out, determining that all the data streams flow through the auxiliary test board card.
6. A forwarding information base FIB routing table down time testing device applied to the system as claimed in claim 1, wherein the device comprises:
the device comprises a setting unit, a first testing unit and a second testing unit, wherein the setting unit is used for setting a first auxiliary testing device to be connected with a first member port of a main testing board card and a second member port of an auxiliary testing board card in a converging manner through a first static link so as to establish a first logic link between the first auxiliary testing device and the main testing board card and between the first auxiliary testing device and the auxiliary testing board card;
the setting unit is further configured to set a third member port of the main test board card and a fourth member port of the auxiliary test board card through a second static link in a convergence connection manner for the second auxiliary test equipment, so as to establish a second logical link between the second auxiliary test equipment and the main test board card and the auxiliary test board card;
the setting unit is further configured to set, after upper-layer software of the master device has learned an upper-layer software routing table, a first tester port to send a data stream with a traffic rate S to a second tester port through the first logical link and the second logical link, where the data stream covers all entries of an FIB routing table;
the setting unit is further configured to adjust a load balancing algorithm for static link aggregation, so that the data stream is only loaded to a main test board card of the main device in a static link aggregation state;
the statistical unit is used for counting the packet loss m of the data stream when the main test board card is pulled out and then is inserted into the main test equipment again;
and the calculating unit is used for calculating and obtaining the issuing time t of the FIB routing table according to the t-S/m.
7. The apparatus of claim 6,
the device further comprises a determining unit, which is used for determining that the main test board card and the auxiliary test board card can support the issue of the maximum-size FIB routing table before the setting unit sets the first tester port to send the data stream with the flow rate S to the second tester port through the first logic link and the second logic link.
8. The apparatus of claim 6,
the device further includes a determining unit, configured to adjust a load balancing algorithm for static link aggregation in the setting unit, so that after the data stream is only loaded to the board under test in a static link aggregation state, it is determined that there is no packet loss between the first tester port and the second tester port.
9. The apparatus of claim 6,
the device further comprises a determining unit, which is used for determining that all the data streams flow through the auxiliary test board card when the main test board card is pulled out.
CN201710614378.4A 2017-07-25 2017-07-25 System, method and device for testing issuing time of FIB routing table Active CN109302345B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710614378.4A CN109302345B (en) 2017-07-25 2017-07-25 System, method and device for testing issuing time of FIB routing table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710614378.4A CN109302345B (en) 2017-07-25 2017-07-25 System, method and device for testing issuing time of FIB routing table

Publications (2)

Publication Number Publication Date
CN109302345A CN109302345A (en) 2019-02-01
CN109302345B true CN109302345B (en) 2022-01-25

Family

ID=65167401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710614378.4A Active CN109302345B (en) 2017-07-25 2017-07-25 System, method and device for testing issuing time of FIB routing table

Country Status (1)

Country Link
CN (1) CN109302345B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112732343B (en) * 2020-12-31 2022-04-22 中国电子科技网络信息安全有限公司 Method for loading service primary and secondary board cards in stacking equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561050A (en) * 2004-02-20 2005-01-05 Method of three-layer conversion information down transmitting hardware LPM table
CN103873311A (en) * 2012-12-11 2014-06-18 中国移动通信集团公司 Method for testing router forwarding information base capacity and system thereof
US9246828B1 (en) * 2014-06-18 2016-01-26 Juniper Networks, Inc. Traffic-aware sampling rate adjustment within a network device
CN105449769A (en) * 2015-12-22 2016-03-30 惠州Tcl移动通信有限公司 Method and system for preventing intelligent terminal from being pulled out in charging process
CN105763374A (en) * 2016-03-30 2016-07-13 杭州华三通信技术有限公司 Route convergence method and device
CN106407011A (en) * 2016-09-20 2017-02-15 焦点科技股份有限公司 A routing table-based search system cluster service management method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8427970B2 (en) * 2008-11-14 2013-04-23 Laris Benkis Apparatus and method for determining a service interruption time measurement
CN102404069B (en) * 2010-09-07 2016-03-30 中兴通讯股份有限公司 The method and system of a kind of data encapsulation packet loss of link and out of order statistics
CN103874157B (en) * 2012-12-12 2017-07-07 华为技术有限公司 Routing forwarding, the method and its device of setting up routing table and acquisition content
CN103957053A (en) * 2014-05-20 2014-07-30 重庆邮电大学 Link testing device and method based on EPON
CN104868958B (en) * 2015-05-07 2017-07-28 中国人民解放军国防科学技术大学 A kind of data transmission testing method that Spatial distributions network is accessed based on time division multiple acess

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1561050A (en) * 2004-02-20 2005-01-05 Method of three-layer conversion information down transmitting hardware LPM table
CN103873311A (en) * 2012-12-11 2014-06-18 中国移动通信集团公司 Method for testing router forwarding information base capacity and system thereof
US9246828B1 (en) * 2014-06-18 2016-01-26 Juniper Networks, Inc. Traffic-aware sampling rate adjustment within a network device
CN105449769A (en) * 2015-12-22 2016-03-30 惠州Tcl移动通信有限公司 Method and system for preventing intelligent terminal from being pulled out in charging process
CN105763374A (en) * 2016-03-30 2016-07-13 杭州华三通信技术有限公司 Route convergence method and device
CN106407011A (en) * 2016-09-20 2017-02-15 焦点科技股份有限公司 A routing table-based search system cluster service management method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
可重构集群路由器并行路由分发模型;陈文龙等;《通信学报》;20120625(第06期);全文 *

Also Published As

Publication number Publication date
CN109302345A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
EP2696537B1 (en) Network system, switch, and connection terminal detection method
CN105468302B (en) A kind of method, apparatus and system of processing data
JP4190455B2 (en) Load balancing apparatus and program
CN104754025A (en) Programmable Distributed Networking
US10831630B2 (en) Fault analysis method and apparatus based on data center
CN103634225A (en) Service bandwidth expansion method in cloud computing network virtualization
CN108804260A (en) A kind of method and apparatus that SRIO systems are switched
CN109302345B (en) System, method and device for testing issuing time of FIB routing table
CN107896196B (en) Method and device for distributing messages
US11848989B2 (en) Separate routing of NVMe-over-fabric packets and non-NVMe packets
CN110830598B (en) Method and network equipment for establishing and transmitting interface address and alias in BGP (Border gateway protocol) session
CN108512698B (en) Network disaster tolerance method and device and electronic equipment
CN103997422B (en) A kind of fault handling method and device of IP interface board
US20230055239A1 (en) Communication control method and communication control apparatus
CN106559439B (en) A kind of method for processing business and equipment
CN111884954A (en) Switch link selection method, system, terminal and storage medium
US7860113B2 (en) Enforced routing in switch
CN108718285A (en) Flow control methods, device and the server of cloud computing cluster
CN116306407B (en) Verification method, device, equipment and storage medium of Network On Chip (NOC)
US9110721B2 (en) Job homing
US11722363B2 (en) Exchange management apparatus, exchange management method, and program
CN101374105A (en) Method for detecting network variation of data communication network system and router
CN109005078B (en) Routing strategy generation method and device and computer readable storage medium
CN104796276A (en) Link switching method and system
US7903669B2 (en) Enforced routing in switched network for FRU verification

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