[go: up one dir, main page]

WO2008083579A1 - Procédé, support d'enregistrement et système permettant de tester les performances du protocole de message d'acheminement pour un dispositif de réseau - Google Patents

Procédé, support d'enregistrement et système permettant de tester les performances du protocole de message d'acheminement pour un dispositif de réseau Download PDF

Info

Publication number
WO2008083579A1
WO2008083579A1 PCT/CN2007/071310 CN2007071310W WO2008083579A1 WO 2008083579 A1 WO2008083579 A1 WO 2008083579A1 CN 2007071310 W CN2007071310 W CN 2007071310W WO 2008083579 A1 WO2008083579 A1 WO 2008083579A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
routing
under test
device under
response
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.)
Ceased
Application number
PCT/CN2007/071310
Other languages
English (en)
Chinese (zh)
Inventor
Chunbo Wang
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2008083579A1 publication Critical patent/WO2008083579A1/fr
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • 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/0852Delays
    • H04L43/0864Round trip delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Definitions

  • the present invention relates to the field of communication testing, and in particular, to a method, a storage medium, and a system for testing the performance of a routing information protocol of a network device.
  • Internet Internet
  • communication equipment manufacturers have launched their own network devices such as routers and Ethernet switches.
  • a network device runs on the Internet, it often fails because of the number of routes that need to be processed. Therefore, it is necessary to test the faulty network device.
  • testing a failed router it is often necessary to reproduce the embarrassing environment as much as possible. The most important point is to add a real route to the router that has problems.
  • IPV6 Routing Information Protocol
  • IPV6-based next-generation routing information protocol IPV6-based next-generation routing information protocol
  • test instrument After testing the routing information protocol performance of network devices, it is often necessary to use a special test instrument to add a large number of real routes to the network device.
  • the existing test instruments are generally composed of a dedicated hardware system, and a dedicated embedded operating system is internally operated.
  • the test instrument is operated by control software running on a common platform such as a PC or a workstation, so that the test instrument can simulate RIP/RIPNG with a large amount of RTE (Route Entry) information.
  • test instruments Because the price of test instruments is extremely expensive, the average small and medium network equipment manufacturers are afraid to pay attention. Even the rules The large-scale and strong network equipment R&D units, enterprises and well-known evaluation organizations are also constrained by price factors, resulting in the number of test instruments not fully meeting the needs of development or testing.
  • the embodiment of the present invention is used to solve the problem that the performance of the routing information protocol of the network device is tested in the prior art, which relies on a special test instrument and is expensive.
  • An embodiment of the present invention provides a method for testing performance of a routing information protocol of a network device, where the method includes the following steps:
  • An embodiment of the present invention provides a storage medium, where the storage medium stores an application program for testing a routing information protocol performance of a network device, where the application program includes the following steps:
  • the embodiment of the invention provides a system for testing the performance of a routing information protocol of a network device, where the system includes:
  • an initialization module configured to establish a routing information protocol session with the network device under test, set routing item information, and encapsulate the routing item information into a response message;
  • a message sending module configured to multicast the response message generated by the initialization module to the network device under test
  • the processing module is configured to determine, according to the processing result of the received response message by the network device under test, the routing information protocol performance of the network device under test.
  • the embodiment of the present invention establishes a routing information protocol session with the network device under test by using a software program, and sends a Response message to the network device under test.
  • This not only reduces the development and testing costs of network devices, but also eliminates the reliance on expensive, dedicated, hardware-based test instruments, and can also implement routing tables for the network devices under test by simply changing the configured RTE information. RIP/RIPNG performance testing such as depth and route convergence capabilities, and greatly improved efficiency.
  • FIG. 1 is a schematic diagram of a system for implementing testing by a computer according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method for testing the performance of a routing information protocol of a network device according to an embodiment of the present invention
  • FIG. 3 is a system structural diagram of testing the performance of a routing information protocol of a network device according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for testing the performance of a routing information protocol of a network device, which is implemented on a general-purpose computer (such as a PC), and specifically includes the following steps:
  • Step 101 Connect the computer to the network device under test, and use the software program on the computer to establish a RIP Session between the computer and the network device under test.
  • the peers established by the Session generate related parameters: such as mask information, the IP address of the network device under test, the timer, and so on;
  • Step 102 Configure multiple pieces of RTE information by using a software program.
  • one piece of RTE information mainly includes the following contents: destination IP address, mask, next hop, route identifier, address family identifier (Address Family Identifier), METRIC value, etc. Wait;
  • Step 103 The software program is used to encapsulate the configured RTE information into multiple Response messages.
  • a Response packet can encapsulate up to 25 RTE information.
  • the number of RTE information that can be encapsulated in a Response packet needs to be based on MTU (Maximum).
  • Step 104 Hej uses the software program to send the generated Response message to the multicast network device.
  • the multicast period is controlled by a preset timer.
  • the period can be defined as 10s, 20s or 30s.
  • Step 105 After the network device under test receives the Response packet sent by the computer, the response packet is received from the Response packet.
  • the RTE information is extracted, and the routing table of the network device under test is updated according to the RTE information, for example, adding a routing entry, deleting a routing entry, or changing the content of the routing entry (METRIC or next hop, etc.) Wait) .
  • the destination IP address is 10.1.1.2
  • the METRIC value is 5.
  • the IP address of an entry is also 10.1. The route of .1.2, but the METRIC value is 2, then the network device under test changes the routing table and changes the METRIC value in the original routing entry to 3 (add 1 to the received METRIC value).
  • the network device under test may first determine whether the Response message is correct. If it is correct, extract the RTE information from the message, and update according to the extracted RTE information. Routing table; otherwise discard the message.
  • a reachable route that is, the METRIC value between 1 and 15
  • a software program on the computer After testing the route convergence capability of the network device under test, first configure a reachable route (that is, the METRIC value between 1 and 15) using a software program on the computer, and package it into a Response message to determine the multicast.
  • the above process is repeated, that is, the above-mentioned routes are alternately changed to reachable and unreachable, and the corresponding Response message is alternately sent to the network device under test, thereby simulating the route flapping in the real network; the network device under test receives After the response packet, the RTE information is extracted.
  • the network device to be tested adds a routing entry to the routing table.
  • the network device under test identifies the original reachable routing entry as Unreachable, that is, change the METRIC value of the original reachable routing entry to 16.
  • the computer can interact with the user by providing a visual interface mode, and the user only needs to click the mouse to select or confirm, or input simple parameters to set, and easily establish the RIP session and RTE information.
  • Configuration, response packet transmission, etc. can also provide non-visual command mode, the user types the command on the computer, thus establishing a session, configuring RTE information And sending messages and other operations; either way, the operation is simple, convenient, fast, and easy to implement. For example, you can easily generate 10,000 RTE information by simply setting a few parameters in your computer.
  • an embodiment of the present invention further provides a system for testing the performance of a routing information protocol of a network device, which specifically includes:
  • an initialization module configured to establish a routing information protocol session with the network device under test by using a program, set routing item information, and encapsulate the routing item information into a response message;
  • a message sending module configured to multicast the response message generated by the initialization module to the network device under test by using a program definition
  • a processing module configured to determine, according to the processing result of the received response message by the network device under test, the routing information protocol performance of the tested network device.
  • the above processing module specifically includes:
  • the routing update unit is configured to: after receiving the response packet sent by the packet sending module, the network device to be tested extracts the routing item information in the response packet, and updates the measured network according to the extracted routing item information. Routing table of the device;
  • a result processing unit configured to update a routing table of the network device under test according to the foregoing routing update unit
  • the above system for testing the routing information protocol performance of a network device further includes:
  • the judging module is configured to determine, after the network device under test receives the response packet, whether the response packet is correct. If the packet is correct, the processing module performs the steps of extracting the routing item information and updating the routing table; otherwise, discarding the response Message.
  • the initialization module is further configured to set different reachable route item information and encapsulate the packet into different response messages; the message sending module is further used to test The network device sends different response packets generated by the initialization module.
  • the processing module determines the depth of the routing table according to the number of entries in the routing table, that is, the routing table. The number of entries in the table is the depth of the routing table.
  • the initialization module is further configured to configure a reachable route (that is, a METRIC value between 1 and 15) and encapsulate the packet into a Response packet.
  • the sending module sends the network device to be tested; and then initializes the module and then modifies the reachable route to be unreachable.
  • the route that is, the METRIC value is changed to 16, the other information is unchanged
  • the reachable and unreachable packets are encapsulated into corresponding Response packets, and the packet sending module is configured to alternately send corresponding Response packets to the network device under test.
  • the network device to be tested extracts the RTE information.
  • the network device under test adds a routing entry to the routing table.
  • the network device under test will be able to The metric value of the routing entry is unreachable. Change the METRIC value of the original reachable routing entry to 16.
  • the processing module determines the route convergence capability of the tested network device according to the capability of the network device under test to update the routing table.

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

Dans le domaine des tests de communication, procédé, support d'enregistrement et système permettant de contrôler les performances d'un protocole de message d'acheminement pour un appareil de réseau. Le procédé consiste à établir une session RIP avec l'appareil de réseau testé, à recueillir des informations sur les entrées d'acheminement, à les englober dans un message de réponse et à multidiffuser périodiquement ce message vers l'appareil de réseau testé. Ledit appareil traite le message de réponse et détermine les performances du protocole de message d'acheminement en fonction du résultat du traitement. Le système comprend un module d'initialisation, un module d'envoi de messages et un module de traitement.
PCT/CN2007/071310 2007-01-09 2007-12-21 Procédé, support d'enregistrement et système permettant de tester les performances du protocole de message d'acheminement pour un dispositif de réseau Ceased WO2008083579A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710000172.9 2007-01-09
CNA2007100001729A CN1996907A (zh) 2007-01-09 2007-01-09 测试网络设备的路由信息协议性能的方法和装置

Publications (1)

Publication Number Publication Date
WO2008083579A1 true WO2008083579A1 (fr) 2008-07-17

Family

ID=38251855

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/071310 Ceased WO2008083579A1 (fr) 2007-01-09 2007-12-21 Procédé, support d'enregistrement et système permettant de tester les performances du protocole de message d'acheminement pour un dispositif de réseau

Country Status (2)

Country Link
CN (1) CN1996907A (fr)
WO (1) WO2008083579A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026257A (zh) * 2009-09-18 2011-04-20 鼎桥通信技术有限公司 一种通信协议的自动化测试分析方法
CN112367216A (zh) * 2020-10-19 2021-02-12 许继集团有限公司 适用于安全稳定控制系统的通讯调试方法、调试仪及系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996907A (zh) * 2007-01-09 2007-07-11 华为技术有限公司 测试网络设备的路由信息协议性能的方法和装置
CN104468281A (zh) * 2014-12-24 2015-03-25 上海斐讯数据通信技术有限公司 路由信息协议模拟器及其路由信息协议通信测试方法
CN106559329B (zh) * 2015-09-25 2019-12-10 中国电信股份有限公司 一种设备分段路由重路由能力检测方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204619A1 (en) * 2002-04-26 2003-10-30 Bays Robert James Methods, apparatuses and systems facilitating determination of network path metrics
WO2006008494A2 (fr) * 2004-07-20 2006-01-26 British Telecommunications Public Limited Company Procede de fonctionnement d'un reseau
CN1889579A (zh) * 2006-08-03 2007-01-03 杭州华为三康技术有限公司 提高路由信息协议路由收敛速度的方法及装置
CN1996907A (zh) * 2007-01-09 2007-07-11 华为技术有限公司 测试网络设备的路由信息协议性能的方法和装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204619A1 (en) * 2002-04-26 2003-10-30 Bays Robert James Methods, apparatuses and systems facilitating determination of network path metrics
WO2006008494A2 (fr) * 2004-07-20 2006-01-26 British Telecommunications Public Limited Company Procede de fonctionnement d'un reseau
CN1889579A (zh) * 2006-08-03 2007-01-03 杭州华为三康技术有限公司 提高路由信息协议路由收敛速度的方法及装置
CN1996907A (zh) * 2007-01-09 2007-07-11 华为技术有限公司 测试网络设备的路由信息协议性能的方法和装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102026257A (zh) * 2009-09-18 2011-04-20 鼎桥通信技术有限公司 一种通信协议的自动化测试分析方法
CN112367216A (zh) * 2020-10-19 2021-02-12 许继集团有限公司 适用于安全稳定控制系统的通讯调试方法、调试仪及系统
CN112367216B (zh) * 2020-10-19 2022-01-11 许继集团有限公司 适用于安全稳定控制系统的通讯调试方法、测试仪及系统

Also Published As

Publication number Publication date
CN1996907A (zh) 2007-07-11

Similar Documents

Publication Publication Date Title
CA2666425C (fr) Decouverte de mtu de chemin dans un systeme reseau
US9654303B2 (en) Method and apparatus for emulating network devices
CN102077194B (zh) 本地主机和管理控制器之间基于网络控制器的传输通信机制
CN105337857B (zh) 一种基于软件定义网络的多路径传输方法
CN103685009B (zh) 数据包的处理方法、控制器及系统
CN106612224B (zh) 应用于vxlan的报文转发方法和装置
CN103166866B (zh) 生成表项的方法、接收报文的方法及相应装置和系统
CN1514586B (zh) 模拟多用户、多连接的数据通讯设备测试方法
CN104468351B (zh) 基于sdn辅助ccn路由的管理方法、ccn转发装置及网络控制器
CN104518973B (zh) 一种基于sdn环境的数据的可靠组播传输方法
CN108111509B (zh) 数据传输方法
CN102340451B (zh) 一种跟踪路由测试方法、系统、装置及设备
CN101573913A (zh) 用于多播路由选择的方法和设备
JP2004328752A (ja) Oam機能を可能にするアドレスの挿入
CN105009529B (zh) 一种处理报文的方法和转发器
CN101771571B (zh) 一种可重构柔性网络下基于邻接关系感知的拓扑发现方法
CN102891803B (zh) 拥塞处理方法及网络设备
WO2008083579A1 (fr) Procédé, support d'enregistrement et système permettant de tester les performances du protocole de message d'acheminement pour un dispositif de réseau
CN102377654B (zh) 路由器及在IPv4路由器上实现IPv6报文穿越的方法
CN101252524A (zh) 一种报文传输的方法、系统和装置
CN101309169A (zh) 一种网络管理方法及网络管理系统、网络设备
WO2022132208A1 (fr) Mesurage de performance dans un réseau de routage de segment
CN102088417B (zh) 实现ip报文环回的方法及设备
CN118041859B (zh) 一种vxlan转发表自学习方法
CN115412512B (zh) 一种基于IPv6的多云跨网互通方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07846136

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07846136

Country of ref document: EP

Kind code of ref document: A1