CN1996907A - Method and device for testing the performance of the route information protocol of the network devices - Google Patents
Method and device for testing the performance of the route information protocol of the network devices Download PDFInfo
- Publication number
- CN1996907A CN1996907A CNA2007100001729A CN200710000172A CN1996907A CN 1996907 A CN1996907 A CN 1996907A CN A2007100001729 A CNA2007100001729 A CN A2007100001729A CN 200710000172 A CN200710000172 A CN 200710000172A CN 1996907 A CN1996907 A CN 1996907A
- Authority
- CN
- China
- Prior art keywords
- network equipment
- response message
- tested network
- routing
- route
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- 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/0852—Delays
- H04L43/0864—Round trip delays
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
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
This invention provides one test network device router information agreement property method and device in communication test field, which comprises the following steps: establishing RIP Session to network device to be tested and setting router item information and sealing responding message and sending the timer set broadcast to network device to be tested; according to the process results judging device router information agreement property. This invention also provides one above device composed of initial module, message send module ad process module.
Description
Technical field
The present invention relates to the communication test field, particularly a kind of method and apparatus of routing information protocol performance of network apparatus test.
Background technology
Along with the development of Internet (the Internet) technology, the network equipments such as the router of the numerous and confused release of communications equipment vendor oneself, Ethernet switch.When the network equipment moves on the net, usually because the route bar number of need handling is a lot of etc. former thereby break down, therefore need be to the fault network testing equipment.When failed router is tested, need to reappear as far as possible environment at that time usually, wherein the most important is exactly a true route online when the router interpolation goes wrong.
RIP (Routing Information Protocol, routing information protocol) be that Internet goes up a kind of Interior Gateway Protocol the earliest, it is not only realized simply, configuration easily, and safeguard also simple, experiencing from version RIPvl to version RIPv2, and to latest edition RIPNG (Routing Information Protocol Next Generation for IPV6 based on IPV6, routing information protocol of future generation based on IPV6) after the development, its function is also constantly strengthened along with the growth of Internet and is enlarged, so the performance of RIP agreement is one of important indicator of checking the network equipments such as router.
When the routing information protocol performance of the network equipment is tested, often need to use special tester to add a large amount of true routes to the network equipment.Existing tester generally is made of special hardware system, internal operation be special-purpose embedded OS.Come the operational testing instrument by the Control Software of on general-purpose platforms such as PC, work station, moving, tester can be simulated have a large amount of RTE (Route Entry, route entry) RIP/RIPNG Response (response) message of information, and the Response message sent to the tested network equipment.Observe the processing of the network equipment, thereby can judge the disposal ability of the network equipment for the route that receives for these a large amount of RTE.
Because the tester price is very expensive, general medium and small network equipment vendor is not all dared to inquire.Even the network equipment larger, that strength is stronger research and development unit, enterprise and well-known evaluation and test mechanism are also because the restriction of price factor causes the quantity of tester can not satisfy the demand of developing or testing fully.
Summary of the invention
In order to solve in the prior art routing information protocol performance of the network equipment is tested the special tester of dependence, and problem such as cost an arm and a leg, the embodiment of the invention provides a kind of method of routing information protocol performance of network apparatus test, specifically may further comprise the steps:
Set up the routing information protocol session with the tested network equipment, route entry information is set, described route entry information is packaged into response message, regularly multicast sends described response message to the described tested network equipment;
According to the result of the described tested network equipment, judge the routing information protocol performance of the described tested network equipment to the response message received.
The embodiment of the invention also provides a kind of device of routing information protocol performance of network apparatus test, and described device comprises:
Initialization module is used for setting up the routing information protocol session with the tested network equipment, and route entry information is set, and described route entry information is packaged into response message;
The message sending module, the response message multicast that is used for regularly described initialization module being generated sends to the described tested network equipment;
Processing module is used for judging the routing information protocol performance of the described tested network equipment according to the result of the described tested network equipment to the response message received.
The embodiment of the invention is utilized the routing information protocol session between the software program foundation and the tested network equipment, and to tested network equipment transmission Response message, not only can reduce the exploitation and the testing cost of the network equipment, break away to expensive, special-purpose, based on the dependence of the tester of hardware system, but also can be by changing the RTE information of configuration simply, realization is to the test of RIP/RIPNG performances such as the routing table degree of depth of the tested network equipment and routing convergence ability, and greatly improved efficient.
Description of drawings
Fig. 1 is the system schematic of the embodiment of the invention with the computer realization test;
Fig. 2 is the method flow diagram of the routing information protocol performance of embodiment of the invention network apparatus test;
Fig. 3 is the structure drawing of device of the routing information protocol performance of embodiment of the invention network apparatus test.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments, but the present invention is not limited to the following examples.
Referring to Fig. 1 and Fig. 2, the embodiment of the invention provides a kind of method of routing information protocol performance of network apparatus test, goes up at all-purpose computer (as PC) and realizes, specifically may further comprise the steps:
Step 101: computer is linked to each other with the tested network equipment, utilize software program to set up RIP Session (session) between the computer and the tested network equipment on computers, RIP Session has promptly produced relevant parameter when setting up: as the IP address of mask information, the tested network equipment, timer or the like;
Step 102: utilize many RTE information of software program configuration, a common RTE information spinner will comprise following content: purpose IP address, mask, next jumping, Route Distinguisher, Address-Family Identifier (Address Family Identifier), METRIC (cost) value or the like;
Step 103: utilize software program that the RTE information that configures is packaged into a plurality of Response messages;
For the RIP agreement, a Response message can encapsulate 25 RTE information at most, for the RIPNG agreement, the number that Response message can encapsulate RTE information need calculate according to the MTU (Maximum Transport Unit, maximum transmission unit) and the big or small equivalence in IP packet header;
Step 104: utilize software program that the Response message timing multicast that generates is sent to the tested network equipment; The cycle of multicast is controlled with default timer, and for example, the cycle can be defined as 10s, 20s or 30s or the like;
Step 105: after the tested network equipment receives the Response message that computer sends, from the Response message, extract RTE information, and upgrade the routing table of the tested network equipment according to these RTE information, for example, in routing table, add the content (METRIC or next are jumped or the like) of route table items, deletion route table items or change route table items.
For example, existing route table items in the routing table, purpose IP address is the route of 10.1.1.2, and the METRIC value is 5, if the tested network equipment is received a Response message, the IP address that has wherein comprised clauses and subclauses also is the route of 10.1.1.2, but the METRIC value is 2, then this moment, the tested network equipment can be changed routing table, and the METRIC value in the former route table items was changed to for 3 (adding 1 on the METRIC value basis of receiving).
Further, the tested network equipment can judge earlier whether this Response message is correct after receiving the Response message, if correct, then extracts RTE information from this message, and according to the RTE information updating routing table that extracts; Otherwise abandon this message.
When the routing table degree of depth of the tested network equipment of test, utilize different reached at the RTE information of software program configuration at first on computers, be packaged into corresponding Response message then, and regularly multicast sends these Response messages to the tested network equipment, routing table up to the tested network equipment can not be added list item again, promptly reach the heap(ed) capacity of routing table, the number of the maximum route table items that can hold in the routing table this moment is the degree of depth of routing table.
When the routing convergence ability of the tested network equipment of test, utilize one of software program configuration can reach route (being that the METRIC value is between 1 to 15) at first on computers, and be packaged into the Response message, regularly multicast sends to the tested network equipment; Then the above-mentioned route that reaches is modified as unreachable route (be about to the METRIC value and change 16 into, other information are constant), and is packaged into the Response message, regularly multicast sends to the tested network equipment; Repeat said process then, promptly alternately above-mentioned route is revised as and reaches, and alternately send corresponding Response message, thereby simulate the route oscillation in the live network to the tested network equipment with unreachable; After the tested network equipment is received the Response message, extract RTE information, for the route that can reach, the tested network equipment can increase route table items in routing table, for inaccessible route, the tested network equipment can be designated the former route table items that reaches unreachable, promptly the former METRIC value that reaches route table items is changed to 16.
Computer can carry out alternately with the user by visual interface mode is provided in the present embodiment, the user only need click the mouse and select or confirm, perhaps import simple parameters setting, easily realize the foundation of RIP Session, the configuration of RTE information, the operations such as transmission of Response message; Non-visual command mode can also be provided, and the user knocks in order on computers, thereby realizes setting up operations such as session, configuration RTE information and transmission message; No matter which kind of mode is all simple, convenient, quick, realizes easily.For example, only need Several Parameters is set in computer simply, just can generate 10,000 RTE information easily.
Referring to Fig. 3, the embodiment of the invention also provides a kind of device of routing information protocol performance of network apparatus test, specifically comprises:
(1) initialization module is used for setting up the routing information protocol session by the program and the tested network equipment, and route entry information is set, and route entry information is packaged into response message;
(2) message sending module is used for by program timing the response message multicast that initialization module generates being sent to the tested network equipment;
(3) processing module is used for judging the routing information protocol performance of the tested network equipment according to the result of the tested network equipment to the response message received.
Above-mentioned processing module specifically comprises:
The routing update unit is used for extracting the route entry information in the response message after the tested network equipment is received the response message that the message sending module sends, and according to the routing table of the tested network equipment of route entry information updating that extracts;
The result treatment unit is used for upgrading according to above-mentioned routing update unit the result of the routing table of the tested network equipment, judges the routing information protocol performance of the tested network equipment.
The device of the routing information protocol performance of above-mentioned network apparatus test also comprises:
Judge module is used for after the tested network equipment is received response message, judges whether response message is correct earlier, if correct, then above-mentioned processing module is extracted route entry information and upgraded the step of routing table; Otherwise abandon response message.
When the routing table degree of depth of the tested network equipment of test, above-mentioned initialization module also is used to different reached at route entry information is set, and is packaged into different response messages; Above-mentioned message sending module also is used for sending the different response message that initialization module generates to the tested network equipment, when the routing table of the tested network equipment can not be added list item again, above-mentioned processing module is according to the number of list item in the routing table, judge the degree of depth of routing table, promptly the list item number in the routing table is the degree of depth of routing table.
When the routing convergence ability of the tested network equipment of test, above-mentioned initialization module also is used for disposing one earlier can reach route (being that the METRIC value is between 1 to 15), and is packaged into the Response message, sends to the tested network equipment by above-mentioned message sending module; Initialization module is modified as unreachable route (be about to the METRIC value and change 16 into, other information are constant) with the above-mentioned route that reaches again then, and is packaged into the Response message, sends to the tested network equipment by the message sending module; This process can repeat, be that the initialization module user alternately is revised as above-mentioned route and can be reached with unreachable, and be packaged into corresponding Response message, and the message sending module is used for alternately sending corresponding Response message to the tested network equipment.After the tested network equipment is received response message, extract RTE information, for the route that can reach, the tested network equipment can increase route table items in routing table, for inaccessible route, the tested network equipment can be designated the former route table items that reaches unreachable, is about to the former METRIC value that reaches route table items and changes to 16.Above-mentioned processing module is judged the routing convergence ability of the tested network equipment according to the ability of tested network equipment renewal routing table.
Above-described embodiment is a more preferably embodiment of the present invention, and common variation that those skilled in the art carries out in the technical solution of the present invention scope and replacement all should be included in protection scope of the present invention.
Claims (10)
1. the method for the routing information protocol performance of a network apparatus test is characterized in that, said method comprising the steps of;
Set up the routing information protocol session with the tested network equipment, route entry information is set, described route entry information is packaged into response message, regularly multicast sends described response message to the described tested network equipment;
According to the result of the described tested network equipment, judge the routing information protocol performance of the described tested network equipment to the response message received.
2. the method for the routing information protocol performance of network apparatus test according to claim 1 is characterized in that, the step of the response message that described tested network device processing is received is specially:
After the described tested network equipment is received described response message, extract the route entry information in the described response message, and according to the route entry information updating routing table that extracts.
3. the method for the routing information protocol performance of network apparatus test according to claim 2 is characterized in that, described method also comprises:
After the described tested network equipment is received described response message, judge whether described response message is correct earlier,, then extract route entry information and the step of upgrading routing table if correct; Otherwise abandon described response message.
4. the method for the routing information protocol performance of network apparatus test according to claim 1 is characterized in that, described timing multicast sends described response message and is specially to the step of the described tested network equipment:
Regularly comprise the response message that difference can reach route entry information to described tested network equipment multicast transmission, when the routing table of the described tested network equipment can not be added list item again, the number of list item was the degree of depth of described routing table in the described routing table.
5. the method for the routing information protocol performance of network apparatus test according to claim 1 is characterized in that, described timing multicast sends described response message and is specially to the step of the described tested network equipment:
Alternately regularly multicast sends and comprises the response message that can reach route and the response message that comprises unreachable route to the described tested network equipment, and the described route that reaches has identical purpose IP address with unreachable route; According to the ability of described tested network equipment renewal routing table, judge the routing convergence ability of the described tested network equipment.
6. the device of the routing information protocol performance of a network apparatus test is characterized in that, described device comprises:
Initialization module is used for setting up the routing information protocol session with the tested network equipment, and route entry information is set, and described route entry information is packaged into response message;
The message sending module, the response message multicast that is used for regularly described initialization module being generated sends to the described tested network equipment;
Processing module is used for judging the routing information protocol performance of the described tested network equipment according to the result of the described tested network equipment to the response message received.
7. the device of the routing information protocol performance of network apparatus test according to claim 6 is characterized in that, described processing module specifically comprises:
The routing update unit is used for extracting the route entry information in the described response message after the described tested network equipment is received the response message that described message sending module sends, and according to the routing table of the described tested network equipment of route entry information updating that extracts;
The result treatment unit is used for upgrading according to described routing update unit the result of the routing table of the described tested network equipment, judges the routing information protocol performance of the described tested network equipment.
8. the device of the routing information protocol performance of network apparatus test according to claim 7 is characterized in that, described device also comprises:
Judge module is used for after the described tested network equipment is received described response message, judges whether described response message is correct earlier, if correct, then described processing module is extracted route entry information and upgraded the step of routing table; Otherwise abandon described response message.
9. the device of the routing information protocol performance of network apparatus test according to claim 6 is characterized in that, described initialization module also is used to different reached at route entry information is set, and is packaged into different response messages; Described message sending module also is used for regularly sending the different response message that described initialization module generates to described tested network equipment multicast, can not add list item again up to the routing table of the described tested network equipment; Described processing module is judged the degree of depth of described routing table according to the number of list item in the described routing table.
10. the device of the routing information protocol performance of network apparatus test according to claim 6 is characterized in that, described initialization module also is used to be provided with reached at route and the unreachable route with identical purpose IP address, and is packaged into different response messages; Described message sending module also is used for alternately regularly multicast and sends the different response message of described initialization module generation to the described tested network equipment; Described processing module is judged the routing convergence ability of the described tested network equipment according to the ability of described tested network equipment renewal routing table.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100001729A CN1996907A (en) | 2007-01-09 | 2007-01-09 | Method and device for testing the performance of the route information protocol of the network devices |
PCT/CN2007/071310 WO2008083579A1 (en) | 2007-01-09 | 2007-12-21 | Method, recording media and system for testing routing message protocol performance of network apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2007100001729A CN1996907A (en) | 2007-01-09 | 2007-01-09 | Method and device for testing the performance of the route information protocol of the network devices |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1996907A true CN1996907A (en) | 2007-07-11 |
Family
ID=38251855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2007100001729A Pending CN1996907A (en) | 2007-01-09 | 2007-01-09 | Method and device for testing the performance of the route information protocol of the network devices |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN1996907A (en) |
WO (1) | WO2008083579A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008083579A1 (en) * | 2007-01-09 | 2008-07-17 | Huawei Technologies Co., Ltd. | Method, recording media and system for testing routing message protocol performance of network apparatus |
CN104468281A (en) * | 2014-12-24 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Routing information protocol simulator and routing information protocol communication test method thereof |
CN106559329A (en) * | 2015-09-25 | 2017-04-05 | 中国电信股份有限公司 | A kind of equipment Segment routing heavy-route ability detection method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102026257B (en) * | 2009-09-18 | 2013-08-14 | 鼎桥通信技术有限公司 | Automatic test and analysis method for communication protocols |
CN112367216B (en) * | 2020-10-19 | 2022-01-11 | 许继集团有限公司 | Communication debugging method, tester and system suitable for safety and stability control system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7260645B2 (en) * | 2002-04-26 | 2007-08-21 | Proficient Networks, Inc. | Methods, apparatuses and systems facilitating determination of network path metrics |
GB0416272D0 (en) * | 2004-07-20 | 2004-08-25 | British Telecomm | Method of operating a network |
CN1889579B (en) * | 2006-08-03 | 2011-11-16 | 杭州华三通信技术有限公司 | Method and apparatus for raising route information protocol route convergence rate |
CN1996907A (en) * | 2007-01-09 | 2007-07-11 | 华为技术有限公司 | Method and device for testing the performance of the route information protocol of the network devices |
-
2007
- 2007-01-09 CN CNA2007100001729A patent/CN1996907A/en active Pending
- 2007-12-21 WO PCT/CN2007/071310 patent/WO2008083579A1/en active Application Filing
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008083579A1 (en) * | 2007-01-09 | 2008-07-17 | Huawei Technologies Co., Ltd. | Method, recording media and system for testing routing message protocol performance of network apparatus |
CN104468281A (en) * | 2014-12-24 | 2015-03-25 | 上海斐讯数据通信技术有限公司 | Routing information protocol simulator and routing information protocol communication test method thereof |
CN106559329A (en) * | 2015-09-25 | 2017-04-05 | 中国电信股份有限公司 | A kind of equipment Segment routing heavy-route ability detection method and device |
CN106559329B (en) * | 2015-09-25 | 2019-12-10 | 中国电信股份有限公司 | Equipment segment routing rerouting capability detection method and device |
Also Published As
Publication number | Publication date |
---|---|
WO2008083579A1 (en) | 2008-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113064780B (en) | Automatic test system and method based on router product | |
CN109218139B (en) | Gateway test system | |
CN108259215B (en) | Equipment management method and device | |
CN103051496B (en) | The monitoring method of a kind of monitoring point server and device | |
KR20070018043A (en) | Method of supplying content to a device | |
CN104580480A (en) | Remote automatic deployment system and method for client end | |
CN103974380A (en) | Terminal access position keep-alive method and device | |
CN1996907A (en) | Method and device for testing the performance of the route information protocol of the network devices | |
CN102098702B (en) | Performance testing system, method and equipment | |
CN109240796A (en) | Virtual machine information acquisition methods and device | |
CN104601658A (en) | Data download method, device and system | |
CN101094112A (en) | Method, device and system for testing performance of route protocol of network device | |
CN104333486B (en) | A kind of network element device test system and method | |
CN104468281A (en) | Routing information protocol simulator and routing information protocol communication test method thereof | |
CN1937461B (en) | Terminal test device based on terminal management business | |
JP2009260754A (en) | Communication test device, network with communication test function, communication test method and communication test program | |
CN103138961B (en) | server control method, controlled server and central control server | |
EP2630750B1 (en) | Quality of service monitoring device and method of monitoring quality of service | |
CN109617779A (en) | Routing table maintenance method and device based on VTEP | |
CN101931564B (en) | Method and system for testing protocol anomaly, test device and control device | |
CN103619032A (en) | Wireless routing equipment optimizing method and device | |
CN101262482A (en) | A DHCPv6 testing method for TTCN language | |
CN104683208A (en) | Stack establishing method and communication equipment | |
CN103618641A (en) | Data packet detecting and monitoring system based on multiple-core network processor and capable of being deployed fast | |
CN105337816B (en) | The method and apparatus that data consistency guarantees between local area network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination |