JP4040562B2 - Network equipment test equipment - Google Patents

Network equipment test equipment Download PDF

Info

Publication number
JP4040562B2
JP4040562B2 JP2003339975A JP2003339975A JP4040562B2 JP 4040562 B2 JP4040562 B2 JP 4040562B2 JP 2003339975 A JP2003339975 A JP 2003339975A JP 2003339975 A JP2003339975 A JP 2003339975A JP 4040562 B2 JP4040562 B2 JP 4040562B2
Authority
JP
Japan
Prior art keywords
test
network device
communication port
port
switch
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.)
Expired - Fee Related
Application number
JP2003339975A
Other languages
Japanese (ja)
Other versions
JP2005109827A (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.)
KDDI Corp
Original Assignee
KDDI Corp
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 KDDI Corp filed Critical KDDI Corp
Priority to JP2003339975A priority Critical patent/JP4040562B2/en
Publication of JP2005109827A publication Critical patent/JP2005109827A/en
Application granted granted Critical
Publication of JP4040562B2 publication Critical patent/JP4040562B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

この発明は、イーサネット(登録商標)に対応したL2スイッチやL3スイッチ等のネットワーク装置の性能・機能評価試験を行うネットワーク装置用試験装置に関する。   The present invention relates to a network device test apparatus that performs a performance / function evaluation test of a network device such as an L2 switch or an L3 switch compatible with Ethernet (registered trademark).

OSI参照モデルの各層間のデータ転送処理(スイッチング・ルーティング・ブリッジング)をサポートするネットワーク装置として、L2スイッチやL3スイッチを含むLANスイッチ等がある。例えば、L2スイッチはデータリンク層(第2層)のプロトコルに基づいてパケットの行き先を判断して転送を行うもので、スイッチングハブなどが含まれる。L3スイッチはネットワーク層(第3層)のプロトコルに基づいてパケットの行き先を判断して転送を行うもので、ルータなどが含まれる。これらのネットワーク装置は、イーサネット(登録商標)に対応したパケット処理機能を有する通信装置であり、通常、複数の通信ポートを備えている。   Network devices that support data transfer processing (switching, routing, bridging) between layers of the OSI reference model include LAN switches including L2 switches and L3 switches. For example, the L2 switch determines the destination of a packet based on a data link layer (second layer) protocol and transfers the packet, and includes a switching hub. The L3 switch determines the destination of a packet based on a network layer (third layer) protocol and transfers the packet, and includes a router. These network devices are communication devices having a packet processing function compatible with Ethernet (registered trademark), and usually include a plurality of communication ports.

図12は上述したネットワーク装置の総合的な(複数のポートにまたがる、あるいは複数のポートを用いた)性能・機能評価試験を行う場合の接続関係を示す図である。図において、1はネットワーク装置(SUT:System Under Test)であり、通信ポート11〜16を有している。通信ポート11〜16にはそれぞれ#1〜#6のポート番号が割り当てられている。   FIG. 12 is a diagram showing a connection relationship when performing a comprehensive performance / function evaluation test (across a plurality of ports or using a plurality of ports) of the network device described above. In the figure, reference numeral 1 denotes a network device (SUT: System Under Test), which has communication ports 11 to 16. Port numbers # 1 to # 6 are assigned to the communication ports 11 to 16, respectively.

2はネットワーク装置1の試験を行う試験装置であり、試験通信ポート21〜26を有している。試験通信ポート21〜26にはそれぞれ#1〜#6のポート番号が割り当てられている。通常、試験装置2の試験通信ポートの数はネットワーク装置1の通信ポート数と同数あるいはできるだけ近い数だけ用意する。図12においては、通信ポート11〜16に対して同数の試験通信ポート21〜26が設けられ、各ポートは同図のように接続されている。   2 is a test apparatus for testing the network apparatus 1 and has test communication ports 21 to 26. The test communication ports 21 to 26 are assigned port numbers # 1 to # 6, respectively. Usually, the number of test communication ports of the test apparatus 2 is prepared as many as the number of communication ports of the network apparatus 1 or as close as possible. In FIG. 12, the same number of test communication ports 21 to 26 are provided for the communication ports 11 to 16, and each port is connected as shown in FIG.

なお、非特許文献1には、ネットワーク装置の様々な試験方法が記載されている。
「THE JOURNAL OF INTERNET TEST METHODOLOGIES」,Canada,Agilent Technologies,March 18,2002
Non-Patent Document 1 describes various test methods for network devices.
“THE JOURNAL OF INTERNET TEST METHODOLOGIES”, Canada, Agilent Technologies, March 18, 2002

従来のネットワーク装置用の試験装置を用いてネットワーク装置の複数の通信ポートを対象とした性能・機能評価試験を行う場合に、試験装置が相当数の試験通信ポートを装備する必要がある。しかし、この試験通信ポートは非常に高価である。例えば、100Mbpsのファストイーサネット(登録商標)に対応したネットワーク装置の通信ポートの価格は1ポート当たり数百円〜数千円であるのに対して、試験装置がネットワーク装置の試験専用のものである場合、その試験通信ポートの価格は1ポート当たり数十万円〜数百万円である。   When performing a performance / function evaluation test for a plurality of communication ports of a network device using a conventional test device for a network device, the test device needs to be equipped with a considerable number of test communication ports. However, this test communication port is very expensive. For example, the price of a communication port of a network device compatible with 100 Mbps Fast Ethernet (registered trademark) is several hundred yen to several thousand yen per port, whereas the test device is dedicated to the network device test. In this case, the price of the test communication port is several hundred thousand yen to several million yen per port.

また、試験装置として汎用のパーソナルコンピュータ(以下PCと略す)に通信ボードを設けたものを用いることもできるが、この場合はNIC(Network Interface Card)の搭載数に限りがあるため、試験装置に多数のポートを設けることができないという問題があった。   In addition, a general-purpose personal computer (hereinafter abbreviated as a PC) provided with a communication board can be used as a test apparatus. In this case, however, the number of NICs (Network Interface Cards) is limited, so that There was a problem that a large number of ports could not be provided.

本発明は、上述した問題点に鑑みてなされたものであって、少数の試験通信ポートを用いて多数の通信ポートを有するネットワーク装置の性能・機能評価試験を行うことができるネットワーク装置用試験装置を提供することを目的とする。   The present invention has been made in view of the above-described problems, and can perform a performance / function evaluation test of a network device having a large number of communication ports using a small number of test communication ports. The purpose is to provide.

本発明は上記の課題を解決するためになされたもので、請求項1に記載の発明は、ネットワーク装置と試験用情報の送受信を行い、該試験用情報に基づいて前記ネットワーク装置の動作を検証する試験ユニットと、該試験ユニットおよび前記ネットワーク装置間に接続され、前記試験用情報の転送処理を行うスイッチとを具備するネットワーク装置用試験装置であって、前記試験ユニットは、試験用情報の送受信を行う試験通信ポートと、タグ付きのVLANに対応する仮想インタフェースを前記試験通信ポートに設定し、該仮想インタフェース毎に独立のMACアドレスを設定する第1の設定手段と、前記試験通信ポートによって受信された試験用情報に基づいて前記ネットワーク装置の動作を検証する検証手段と、を具備し、前記スイッチは、前記ネットワーク装置に設けられた通信ポートと前記試験用情報の送受信を行う第1の通信ポートと、前記試験通信ポートと前記試験用情報の送受信を行う第2の通信ポートと、前記第1および第2の通信ポート間の前記試験情報の転送処理を行う転送手段と、STP(Spanning Tree Protocol)に基づいた動作の設定を無効にし、前記第1の通信ポートにタグなしのVLAN(Virtual LAN)を設定し、前記第2の通信ポートにタグ付きのVLANを設定する第2の設定手段とを具備することを特徴とするネットワーク装置用試験装置である。   The present invention has been made to solve the above problems, and the invention according to claim 1 transmits and receives test information to and from a network device, and verifies the operation of the network device based on the test information. A test unit for network device, and a switch connected between the test unit and the network device for performing a transfer process of the test information, wherein the test unit transmits and receives test information. A test communication port for performing the communication, a virtual interface corresponding to the tagged VLAN is set in the test communication port, and a first setting unit for setting an independent MAC address for each virtual interface is received by the test communication port. Verifying means for verifying the operation of the network device based on the test information thus obtained, and Includes a first communication port that transmits / receives the test information to / from a communication port provided in the network device, a second communication port that transmits / receives the test information to / from the test communication port, and the first communication port. And a transfer means for transferring the test information between the second communication port and an operation setting based on STP (Spanning Tree Protocol), and an untagged VLAN (Virtual LAN) is connected to the first communication port. ) And a second setting unit for setting a tagged VLAN in the second communication port.

請求項2に記載の発明は、請求項1に記載のネットワーク装置用試験装置において、前記スイッチは、データリンク層のプロトコルに基づいて前記試験用情報を転送するL2スイッチであることを特徴とする。   According to a second aspect of the present invention, in the network device test apparatus according to the first aspect, the switch is an L2 switch that transfers the test information based on a data link layer protocol. .

この発明によれば、ネットワーク装置の各通信ポートに対応する複数のVLANを試験通信ポートに設定して性能・機能評価試験を行うようにしたので、少数の試験通信ポートを用いて多数の通信ポートを有するネットワーク装置の性能・機能評価試験を行うことができるという効果が得られる。したがって、ネットワーク試験用試験装置に設けられる高価な試験通信ポートの総数を削減することができ、コストダウンを図ることができるという効果が得られる。   According to the present invention, the performance / function evaluation test is performed by setting a plurality of VLANs corresponding to each communication port of the network device as the test communication port, so that a large number of communication ports are used by using a small number of test communication ports. It is possible to obtain an effect that a performance / function evaluation test of a network apparatus having Therefore, it is possible to reduce the total number of expensive test communication ports provided in the network test test apparatus, and it is possible to reduce the cost.

以下、図面を参照し、この発明を実施するための最良の形態について説明する。図1は、この発明の一実施形態による試験装置を用いたネットワーク装置の性能・機能評価試験時の接続関係を示す図である。図において、ネットワーク装置1は通信ポート11〜16を有しており、それぞれの通信ポートには#1〜#6のポート番号が割り当てられている。なお、本実施形態におけるネットワーク装置1の通信ポートの数は6個であるが、これに限定する必要はなく、もっと多数の通信ポートが設けてあってもよい。試験装置2はポート番号#0が割り当てられた試験通信ポート27と、ポート番号#0’が割り当てられた試験通信ポート28とを有している。   The best mode for carrying out the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a connection relationship during a performance / function evaluation test of a network device using a test device according to an embodiment of the present invention. In the figure, the network device 1 has communication ports 11 to 16, and port numbers # 1 to # 6 are assigned to the respective communication ports. Although the number of communication ports of the network device 1 in the present embodiment is six, it is not necessary to limit to this, and a larger number of communication ports may be provided. The test apparatus 2 has a test communication port 27 to which port number # 0 is assigned and a test communication port 28 to which port number # 0 'is assigned.

3aおよび3bはL2スイッチである。試験通信ポート27はL2スイッチ3aの任意のポート(Tポートと定義する)に接続されている。ここでは説明を簡単にするため、Tポートが1つの場合を示す。L2スイッチ3aの他の通信ポート(Sポートと定義する)はネットワーク装置1の通信ポート11〜13にそれぞれ接続されている。同様に、L2スイッチ3bにおいても、Tポートt#0は試験装置2の試験通信ポート28に接続され、Sポートs#1〜s#3はネットワーク装置1の通信ポート14〜16にそれぞれ接続されている。ここで、L2スイッチ3aおよび3bのそれぞれのSポート数をNsとする。   3a and 3b are L2 switches. The test communication port 27 is connected to an arbitrary port (defined as a T port) of the L2 switch 3a. Here, for simplicity of explanation, a case where there is one T port is shown. Other communication ports (defined as S ports) of the L2 switch 3a are connected to the communication ports 11 to 13 of the network device 1, respectively. Similarly, in the L2 switch 3b, the T port t # 0 is connected to the test communication port 28 of the test apparatus 2, and the S ports s # 1 to s # 3 are connected to the communication ports 14 to 16 of the network apparatus 1, respectively. ing. Here, the number of S ports of each of the L2 switches 3a and 3b is Ns.

次に、試験時の動作を説明する。まず、試験装置2およびL2スイッチ3aで試験時に必要となる設定等について説明する。IEEE802.1DでSTP(Spanning Tree Protocol)が標準化されている。STPはループ(円環)状に形成されたネットワーク内で、データが永遠に循環するのを防止するためのプロトコルである。図2は端末装置4aおよび4b間をL2スイッチ3aおよび3bによって接続した例であり、L2スイッチ3aおよび3b間は複数の物理リンクによって接続されている。   Next, the operation during the test will be described. First, settings and the like necessary for testing using the test apparatus 2 and the L2 switch 3a will be described. STP (Spanning Tree Protocol) is standardized by IEEE 802.1D. STP is a protocol for preventing data from circulating forever in a network formed in a loop shape. FIG. 2 shows an example in which the terminal devices 4a and 4b are connected by L2 switches 3a and 3b, and the L2 switches 3a and 3b are connected by a plurality of physical links.

ここで、L2スイッチ3aおよび3bとネットワーク装置1とで共にSTPを動作させたまま複数のリンク接続(接続数Ns)を行った場合、図2に示されるように、STPによって有効な接続数が1に限定され、他のリンク接続が無効(切断状態)となってしまう。そこで、L2スイッチ3aおよび3bのSTPが無効となるよう設定することにより、ネットワーク装置1でSTPを設定するかどうかに依存せず、複数リンク接続を保持できるようにする。   Here, when a plurality of link connections (number of connections Ns) are performed with both the L2 switches 3a and 3b and the network apparatus 1 operating the STP, as shown in FIG. It is limited to 1, and other link connection becomes invalid (disconnected state). Therefore, by setting the STPs of the L2 switches 3a and 3b to be invalid, it is possible to maintain a multi-link connection regardless of whether or not the network device 1 sets the STP.

また、図3に示すように、TポートとSポートとの組ごとにNs個のVLAN(Virtual LAN)を設定する。VLANは、物理的な構成に依存せずに、自由に構築される仮想的なネットワークである。VLANにはいくつかの形態があるが、本実施形態においてはIEEE802.1Qで標準化されているtagged−VLAN技術を使用する。   Also, as shown in FIG. 3, Ns VLANs (Virtual LANs) are set for each set of T port and S port. The VLAN is a virtual network that is freely constructed without depending on a physical configuration. There are several types of VLANs. In this embodiment, a tagged-VLAN technology standardized by IEEE 802.1Q is used.

tagged−VLANはイーサネット(登録商標)フレーム中にtagと呼ばれる識別子を挿入することによって、複数のLANスイッチを挟んで離れた場所に存在するVLANを同一のグループのVLANに設定することを可能とする技術である。L2スイッチ3はtagged−VLANに対応したものを使用し、Tポート側がtagged−VLAN、Sポート側がuntagged−VLANとなるように設定を行う。以下、設定したVLANをvlan1〜vlanNs(図3においてはvlan1〜vlan3)と呼ぶことにする。   The tagged-VLAN allows setting VLANs existing at a distance across a plurality of LAN switches as VLANs of the same group by inserting an identifier called tag in an Ethernet (registered trademark) frame. Technology. The L2 switch 3 uses a tag that supports tagged-VLAN, and performs settings so that the T port side is tagged-VLAN and the S port side is untagged-VLAN. Hereinafter, the set VLANs are referred to as vlan1 to vlanNs (vlan1 to vlan3 in FIG. 3).

図4に示すように、試験装置2の試験通信ポート27からVLAN tagを有する試験用のtagged−VLANフレームが出力されると、そのフレームはL2スイッチ3のTポートt#0に入力される。L2スイッチ3はフレームのtagを削除し、tagが示すVLANが設定されているSポートs#1へフレームを出力する。Sポートs#1から出力されるフレームはuntagged−VLANフレームであり、ネットワーク装置1はそのフレームを通常の(VLANを使用していない)イーサネット(登録商標)フレームだと認識する。   As shown in FIG. 4, when a test tagged-VLAN frame having a VLAN tag is output from the test communication port 27 of the test apparatus 2, the frame is input to the T port t # 0 of the L2 switch 3. The L2 switch 3 deletes the tag of the frame and outputs the frame to the S port s # 1 in which the VLAN indicated by the tag is set. The frame output from the S port s # 1 is an untagged VLAN frame, and the network device 1 recognizes the frame as an ordinary Ethernet (registered trademark) frame (not using a VLAN).

このように、ネットワーク装置1側でVLANが認識されないような設定とすることにより、より多くの試験項目に対応した試験を行うことができる。なお、特定の試験に限定するのであれば、ネットワーク装置1側でVLANが認識されるような設定を行うこともできる。   In this way, by setting so that the VLAN is not recognized on the network device 1 side, it is possible to perform tests corresponding to more test items. Note that if the test is limited to a specific test, the network device 1 can be configured to recognize the VLAN.

ネットワーク装置1がL2スイッチである場合、ネットワーク装置1はMACアドレス学習機能を有する。この機能により、ネットワーク装置1は、フレームに付加されるMACアドレスとそのMACアドレスが付加されたフレームに対応する通信ポートとの対応関係を記憶する。図5に示されるように、試験装置2の試験通信ポート27に一つのMACアドレス(MAC0とする)を割り当て、vlan1のtagと共にMAC0の発MACアドレスを有するイーサネット(登録商標)フレームが試験通信ポート27から出力された場合、L2スイッチ3はフレームからtagを削除し、vlan1に対応したSポートs#1へフレームを出力する。   When the network device 1 is an L2 switch, the network device 1 has a MAC address learning function. With this function, the network device 1 stores the correspondence between the MAC address added to the frame and the communication port corresponding to the frame to which the MAC address is added. As shown in FIG. 5, one MAC address (referred to as MAC0) is allocated to the test communication port 27 of the test apparatus 2, and an Ethernet (registered trademark) frame having the MAC0 source MAC address together with the tag of vlan1 is the test communication port. When output from 27, the L2 switch 3 deletes the tag from the frame and outputs the frame to the S port s # 1 corresponding to vlan1.

ネットワーク装置1は通信ポート11を介してフレームを受信し、MAC0のMACアドレスを有するフレームが通信ポート11に対応することを記憶する。同様に、ネットワーク装置1はvlan2およびvlan3のフレームを通信ポート12および13をそれぞれ介して受信し、MACアドレスと通信ポートとの対応関係を記憶する。仮に、ネットワーク装置1の後段のネットワーク装置等(図示せず)から着MACアドレスがMAC0のイーサネット(登録商標)フレームが入力された場合、MAC0のアドレスに対して通信ポート11〜13の複数の通信ポートが対応しているため、同一のMACアドレス(MAC0)を有するフレームの出力通信ポートが次々と変化してしまい、正常な試験を行うことができない。   The network device 1 receives the frame via the communication port 11 and stores that the frame having the MAC address of MAC 0 corresponds to the communication port 11. Similarly, the network device 1 receives the frames of vlan2 and vlan3 via the communication ports 12 and 13, respectively, and stores the correspondence between the MAC address and the communication port. If an Ethernet (registered trademark) frame whose destination MAC address is MAC0 is input from a network device or the like (not shown) subsequent to the network device 1, a plurality of communication ports 11 to 13 communicate with the MAC0 address. Since the ports correspond to each other, the output communication ports of frames having the same MAC address (MAC0) change one after another, and a normal test cannot be performed.

そこで、図6に示されるように、VLANごとに異なる発MACアドレスを有するイーサネット(登録商標)フレームが試験装置2の通信ポート27から出力されるように設定する。この設定はイーサネット(登録商標)の制御ソフトウェア(デバイスドライバ)レベルでサポートされている。これにより、ネットワーク装置1の通信ポートごとに異なるMACアドレスが学習されるようになる。   Therefore, as shown in FIG. 6, an Ethernet (registered trademark) frame having a different source MAC address for each VLAN is set to be output from the communication port 27 of the test apparatus 2. This setting is supported at the control software (device driver) level of Ethernet (registered trademark). Thereby, a different MAC address is learned for each communication port of the network device 1.

以上のような設定を行った場合、ネットワーク装置1から試験装置2へ向けて出力される返信フレームは図7に示されるように、着MACアドレスに対応した通信ポートに出力される。L2スイッチ3のSポート#1〜#3のいずれかから入力された返信フレームに対して、L2スイッチ3は適切なVLAN tagを付加し、Tポートt#0から試験装置2へ向けて返信フレームを転送する。試験通信ポート27を介して返信フレームを受信した試験装置2は、返信フレーム中のVLAN tagを検査し、tagによって識別されるVLANに対応するSポートを識別することができ、フレームが正しく返信されたかどうかを検査することができる。   When the above setting is performed, a reply frame output from the network apparatus 1 to the test apparatus 2 is output to a communication port corresponding to the destination MAC address as shown in FIG. The L2 switch 3 adds an appropriate VLAN tag to the reply frame input from any of the S ports # 1 to # 3 of the L2 switch 3, and sends the reply frame from the T port t # 0 to the test apparatus 2. Forward. The test apparatus 2 that has received the return frame via the test communication port 27 can inspect the VLAN tag in the return frame, identify the S port corresponding to the VLAN identified by the tag, and the frame is correctly returned. Can be inspected.

次に、図8〜図11を用いて、実際の試験時の動作を説明する。図8はネットワーク装置1、試験装置2、L2スイッチ3、および試験用の端末装置4の接続関係を示している。試験装置2および端末装置4は汎用のPCを用いている。この試験においては、試験装置2からpingコマンドを入力し、ネットワーク装置1の動作を確認する。pingを用いると、ICMP(Internet Control Message Protocol)に基づいて、接続相手から返信があるかどうか、返信があった場合は返信にどのくらいの時間を要したかなどのデータによりネットワークを診断することができる。   Next, the actual test operation will be described with reference to FIGS. FIG. 8 shows a connection relationship among the network device 1, the test device 2, the L2 switch 3, and the test terminal device 4. The test apparatus 2 and the terminal apparatus 4 use general-purpose PCs. In this test, a ping command is input from the test apparatus 2 and the operation of the network apparatus 1 is confirmed. If ping is used, the network can be diagnosed based on data such as whether or not there is a reply from the connection partner based on ICMP (Internet Control Message Protocol), and how long it takes to reply if there is a reply. it can.

試験手順は以下のとおりである。まず、L2スイッチのポート番号#0のTポートt#0と試験装置2の試験通信ポート27とを接続する。また、ネットワーク装置1のポート番号#0の通信ポート17と端末装置4のイーサネット(登録商標)インタフェースとを接続する。そして、L2スイッチ3のSポートs#1〜s#3とそれらに対応する通信ポート11〜13とを接続する。L2スイッチ3においてはSポートs#1〜s#3に異なるVLAN(vlan1〜vlan3)を設定する。   The test procedure is as follows. First, the T port t # 0 of the port number # 0 of the L2 switch and the test communication port 27 of the test apparatus 2 are connected. Further, the communication port 17 of port number # 0 of the network device 1 and the Ethernet (registered trademark) interface of the terminal device 4 are connected. Then, the S ports s # 1 to s # 3 of the L2 switch 3 and the corresponding communication ports 11 to 13 are connected. In the L2 switch 3, different VLANs (vlan1 to vlan3) are set to the S ports s # 1 to s # 3.

試験装置2においては、Sポートs#1〜s#3に対応するVLAN(vlan1〜vlan3)用の仮想インタフェースを同一のイーサネット(登録商標)インタフェース上に設定する。また、各仮想インタフェースに異なるMACアドレス(MAC1〜MAC3)を割り当てる。試験装置2のvlan1仮想インタフェースと端末装置4のイーサネット(登録商標)インタフェースとに同一サブネット内のIPアドレスを割り当て、有効化(up)する。また、試験装置2のvlan2およびvlan3仮想インタフェースにはIPアドレスを割り当てずに有効化する。   In the test apparatus 2, virtual interfaces for VLANs (vlan1 to vlan3) corresponding to S ports s # 1 to s # 3 are set on the same Ethernet (registered trademark) interface. Also, different MAC addresses (MAC1 to MAC3) are assigned to each virtual interface. An IP address in the same subnet is assigned to the vlan1 virtual interface of the test apparatus 2 and the Ethernet (registered trademark) interface of the terminal apparatus 4 and activated (up). In addition, the vlan2 and vlan3 virtual interfaces of the test apparatus 2 are validated without assigning IP addresses.

試験装置2から端末装置4に対してpingを行うと、試験装置2から端末装置4を探索するためのARP(Address Resolution Protocol) requestを含むブロードキャストフレームが送信される。以下の動作はARPに従って行われる。このブロードキャストフレームは試験装置2のvlan1仮想インタフェースからtagged−VLANフレームとして出力され、Tポートt#0からL2スイッチ3に入力される。L2スイッチ3はブロードキャストフレームからVLAN tagを削除し、vlan1に対応するSポートs#1からネットワーク装置1へブロードキャストフレームを出力する。   When the test apparatus 2 pings the terminal apparatus 4, a broadcast frame including an ARP (Address Resolution Protocol) request for searching the terminal apparatus 4 from the test apparatus 2 is transmitted. The following operations are performed according to ARP. This broadcast frame is output as a tagged-VLAN frame from the vlan1 virtual interface of the test apparatus 2 and input to the L2 switch 3 from the T port t # 0. The L2 switch 3 deletes the VLAN tag from the broadcast frame, and outputs the broadcast frame from the S port s # 1 corresponding to vlan1 to the network device 1.

通信ポート11を介してブロードキャストフレームを受信したネットワーク装置1は、このブロードキャストフレームを他の通信ポート12、13、および17へ転送する。通信ポート12および13から出力されたブロードキャストフレームはそれぞれSポートs#2およびs#3を介してL2スイッチ3に入力され、L2スイッチ3によってVLAN tagが付加されて試験装置2へ転送される。試験装置2は試験通信ポート27上のvlan2仮想インタフェースおよびvlan3仮想インタフェースから入力されるブロードキャストフレームを検出することにより、ブロードキャストフレームに対するネットワーク装置1の動作を検証することができる。また、通信ポート17から出力されたブロードキャストフレームは端末装置4のイーサネット(登録商標)インタフェースに入力される。   The network device 1 that has received the broadcast frame via the communication port 11 transfers this broadcast frame to the other communication ports 12, 13, and 17. Broadcast frames output from the communication ports 12 and 13 are input to the L2 switch 3 via the S ports s # 2 and s # 3, respectively, and a VLAN tag is added by the L2 switch 3 and transferred to the test apparatus 2. The test apparatus 2 can verify the operation of the network apparatus 1 with respect to the broadcast frame by detecting the broadcast frame input from the vlan2 virtual interface and the vlan3 virtual interface on the test communication port 27. The broadcast frame output from the communication port 17 is input to the Ethernet (registered trademark) interface of the terminal device 4.

ARP requestを含むブロードキャストフレームを受信した端末装置4は、図9のようにARP replyを含むユニキャストフレームを試験装置2へ向けて出力する。ここで、ユニキャストフレームの発MACアドレスは端末装置4のMACアドレス(MAC0)であり、着MACアドレスは試験装置2のvlan1仮想インタフェースのMACアドレス(MAC1)である。   The terminal device 4 that has received the broadcast frame including the ARP request outputs a unicast frame including the ARP reply toward the test device 2 as illustrated in FIG. Here, the source MAC address of the unicast frame is the MAC address (MAC0) of the terminal device 4, and the destination MAC address is the MAC address (MAC1) of the vlan1 virtual interface of the test device 2.

ユニキャストフレームは通信ポート17からネットワーク装置1に入力され、通信ポート11へ転送され、通信ポート11から出力される。このユニキャストフレームはSポートs#1からL2スイッチ3に入力され、vlan1のVLAN tagが付加されてTポートt#0から出力される。そしてユニキャストフレームは試験装置1の試験通信ポート27に入力される。   The unicast frame is input from the communication port 17 to the network device 1, transferred to the communication port 11, and output from the communication port 11. The unicast frame is input from the S port s # 1 to the L2 switch 3, and the VLAN tag of vlan1 is added and output from the T port t # 0. The unicast frame is input to the test communication port 27 of the test apparatus 1.

試験装置2は以上のARP request/replyの交換によって端末装置4のMACアドレスを知った後、図9と同様にして、ARP手順により端末装置4との間でSポートs#1を経由して、ユニキャストフレームであるICMP echo request/replyを交換する(図10)。ICMP echo requestには発MACアドレスがMAC1、着MACアドレスがMAC0として指定される。ICMP echo requestを受信した端末装置4は発MACアドレスがMAC0、着MACアドレスがMAC1であるICMP echo replyを試験装置2へ送信する。試験装置1はこのユニキャストフレームを検出することにより、ユニキャストフレームに対するネットワーク装置1の通信ポート11の動作を検証することができる。   After the test device 2 knows the MAC address of the terminal device 4 by exchanging the ARP request / reply as described above, the test device 2 communicates with the terminal device 4 via the S port s # 1 by the ARP procedure in the same manner as in FIG. Then, ICMP echo request / reply which is a unicast frame is exchanged (FIG. 10). In the ICMP echo request, the source MAC address is designated as MAC1, and the destination MAC address is designated as MAC0. Upon receiving the ICMP echo request, the terminal device 4 transmits an ICMP echo reply having the originating MAC address MAC0 and the terminating MAC address MAC1 to the test apparatus 2. The test apparatus 1 can verify the operation of the communication port 11 of the network apparatus 1 for the unicast frame by detecting the unicast frame.

vlan1仮想インタフェースに割り当てたIPアドレスをvlan2仮想インタフェースに割り当て、vlan1およびvlan3仮想インタフェースにはIPアドレスを割り当てずに上記と同様のping試験を行うことにより、ネットワーク装置1の通信ポート12の動作を検証することができる(図11参照)。このとき、ICMP echo request/replyはSポートs#2を経由して試験装置1および端末装置4間で交換される。vlan3についても同様の手順を繰り返すことにより、ネットワーク装置1の通信ポート13の動作を検証することができる。   The IP address assigned to the vlan1 virtual interface is assigned to the vlan2 virtual interface, and the operation of the communication port 12 of the network device 1 is verified by performing a ping test similar to the above without assigning IP addresses to the vlan1 and vlan3 virtual interfaces. (See FIG. 11). At this time, ICMP echo request / reply is exchanged between the test apparatus 1 and the terminal apparatus 4 via the S port s # 2. By repeating the same procedure for vlan3, the operation of the communication port 13 of the network device 1 can be verified.

上記の手順およびL2スイッチ3・ネットワーク装置1間の送受信フレームのモニタリングにより、VLAN tagとL2スイッチを用いた複数試験ポートのエミュレーションを行うことができる。なお、本実施形態においてはping試験を例として説明したが、マルチキャストの試験など他の試験に適用することもできる。   By the above procedure and monitoring of transmission / reception frames between the L2 switch 3 and the network device 1, it is possible to emulate a plurality of test ports using the VLAN tag and the L2 switch. In the present embodiment, the ping test is described as an example, but the present invention can also be applied to other tests such as a multicast test.

また、ネットワーク装置1が複数のファストイーサネット(登録商標)ポートを有する場合、試験装置2に1つのギガビットイーサネット(登録商標)ポートを設けると、ネットワーク装置1と同数のファストイーサネット(登録商標)ポートを設けるよりも安価となる場合がある。この場合、ネットワーク装置1のファストイーサネット(登録商標)ポートのフルレートの通信試験を行うことができる。フルレートの通信試験が必ずしも必要でない場合は、試験装置2に1つのファストイーサネット(登録商標)ポートを設けることにより、ネットワーク装置1のファストイーサネット(登録商標)ポートの通信試験を行うことができる。   Further, when the network device 1 has a plurality of Fast Ethernet (registered trademark) ports, if the test device 2 is provided with one Gigabit Ethernet (registered trademark) port, the same number of Fast Ethernet (registered trademark) ports as the network device 1 are provided. It may be cheaper than providing. In this case, a full-rate communication test of the Fast Ethernet (registered trademark) port of the network device 1 can be performed. When a full-rate communication test is not always necessary, a communication test of the Fast Ethernet (registered trademark) port of the network device 1 can be performed by providing the test apparatus 2 with one Fast Ethernet (registered trademark) port.

試験装置2が汎用のPCによるものである場合、複数の試験通信ポートを使用して複数の通信ポートの試験を行うと、試験装置2は複数の試験通信ポートの全てが受信する受信フレームを監視する受信処理オーバヘッドが必要となる。試験装置2に設ける試験通信ポートの数を少数(または一つ)とすることにより、受信処理オーバヘッドを削減することができる。   When the test apparatus 2 is a general-purpose PC, when a plurality of communication ports are tested using a plurality of test communication ports, the test apparatus 2 monitors received frames received by all of the plurality of test communication ports. Receiving processing overhead is required. By reducing the number of test communication ports provided in the test apparatus 2 to a small number (or one), the reception processing overhead can be reduced.

この発明の一実施形態による試験装置を用いてネットワーク装置の性能・機能評価試験を行う時の接続関係を示す図である。It is a figure which shows the connection relation at the time of performing the performance and function evaluation test of a network apparatus using the test apparatus by one Embodiment of this invention. STPによる複数リンク接続の無効化を説明するための図である。It is a figure for demonstrating invalidation of the multiple link connection by STP. VLANの設定を説明するための図である。It is a figure for demonstrating the setting of VLAN. 試験装置から出力されるフレームとその転送経路を示す図である。It is a figure which shows the flame | frame output from a test device, and its transfer path | route. ネットワーク装置のMACアドレス学習機能による返信フレームの転送経路の変化を説明するための図である。It is a figure for demonstrating the change of the transfer path | route of the reply frame by the MAC address learning function of a network device. VLANごとに異なるMACアドレスを設けた場合の動作を示す図である。It is a figure which shows the operation | movement at the time of providing a different MAC address for every VLAN. ネットワーク装置からの返信フレームの転送動作を示す図である。It is a figure which shows the transfer operation | movement of the reply frame from a network device. ping試験における接続関係と共にARP requestの転送動作を示す図である。It is a figure which shows the transfer operation | movement of ARP request with the connection relation in a ping test. ping試験におけるARP replyの転送動作を示す図である。It is a figure which shows the transfer operation | movement of ARP reply in a ping test. ping試験におけるICMP echo request/replyの転送動作を示す図である。It is a figure which shows the transfer operation | movement of ICMP echo request / reply in a ping test. vlan2を使用したping試験におけるICMP echo request/replyの転送動作を示す図である。It is a figure which shows the transfer operation | movement of ICMP echo request / reply in the ping test using vlan2. 従来のネットワーク装置の性能・機能評価試験における接続関係を示す図である。It is a figure which shows the connection relation in the performance and function evaluation test of the conventional network device.

符号の説明Explanation of symbols

1・・・ネットワーク装置、2・・・試験装置、3・・・L2スイッチ、4・・・端末装置、11,12,13,14,15,16,17・・・通信ポート、21,22,23,24,25,26,27,28・・・試験通信ポート。

DESCRIPTION OF SYMBOLS 1 ... Network device, 2 ... Test device, 3 ... L2 switch, 4 ... Terminal device, 11, 12, 13, 14, 15, 16, 17 ... Communication port, 21, 22 , 23, 24, 25, 26, 27, 28... Test communication port.

Claims (2)

ネットワーク装置と試験用情報の送受信を行い、該試験用情報に基づいて前記ネットワーク装置の動作を検証する試験ユニットと、該試験ユニットおよび前記ネットワーク装置間に接続され、前記試験用情報の転送処理を行うスイッチとを具備するネットワーク装置用試験装置であって、
前記試験ユニットは、
試験用情報の送受信を行う試験通信ポートと、
タグ付きのVLANに対応する仮想インタフェースを前記試験通信ポートに設定し、該仮想インタフェース毎に独立のMACアドレスを設定する第1の設定手段と、
前記試験通信ポートによって受信された試験用情報に基づいて前記ネットワーク装置の動作を検証する検証手段と、
を具備し、
前記スイッチは、
前記ネットワーク装置に設けられた通信ポートと前記試験用情報の送受信を行う第1の通信ポートと、
前記試験通信ポートと前記試験用情報の送受信を行う第2の通信ポートと、
前記第1および第2の通信ポート間の前記試験情報の転送処理を行う転送手段と、
STP(Spanning Tree Protocol)に基づいた動作の設定を無効にし、前記第1の通信ポートにタグなしのVLAN(Virtual LAN)を設定し、前記第2の通信ポートにタグ付きのVLANを設定する第2の設定手段と、
を具備することを特徴とするネットワーク装置用試験装置。
A test unit that transmits / receives test information to / from the network device and verifies the operation of the network device based on the test information, and is connected between the test unit and the network device, and performs a transfer process of the test information. A test apparatus for a network device comprising a switch to perform,
The test unit is
A test communication port for sending and receiving test information;
First setting means for setting a virtual interface corresponding to a tagged VLAN in the test communication port and setting an independent MAC address for each virtual interface;
Verification means for verifying the operation of the network device based on the test information received by the test communication port;
Comprising
The switch
A communication port provided in the network device and a first communication port for transmitting and receiving the test information;
A second communication port for transmitting and receiving the test information to and from the test communication port;
Transfer means for transferring the test information between the first and second communication ports;
An operation setting based on STP (Spanning Tree Protocol) is invalidated, an untagged VLAN (Virtual LAN) is set in the first communication port, and a tagged VLAN is set in the second communication port. Two setting means;
A test apparatus for a network device, comprising:
前記スイッチは、データリンク層のプロトコルに基づいて前記試験用情報を転送するL2スイッチであることを特徴とする請求項1に記載のネットワーク装置用試験装置。

The network device test apparatus according to claim 1, wherein the switch is an L2 switch that transfers the test information based on a data link layer protocol.

JP2003339975A 2003-09-30 2003-09-30 Network equipment test equipment Expired - Fee Related JP4040562B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003339975A JP4040562B2 (en) 2003-09-30 2003-09-30 Network equipment test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003339975A JP4040562B2 (en) 2003-09-30 2003-09-30 Network equipment test equipment

Publications (2)

Publication Number Publication Date
JP2005109827A JP2005109827A (en) 2005-04-21
JP4040562B2 true JP4040562B2 (en) 2008-01-30

Family

ID=34535019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003339975A Expired - Fee Related JP4040562B2 (en) 2003-09-30 2003-09-30 Network equipment test equipment

Country Status (1)

Country Link
JP (1) JP4040562B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4769609B2 (en) 2006-03-23 2011-09-07 富士通株式会社 Switch device
WO2009066385A1 (en) * 2007-11-21 2009-05-28 Fujitsu Limited Method and system for testing network
JP5034119B2 (en) * 2008-11-12 2012-09-26 Necアクセステクニカ株式会社 Ethernet port inspection system, Ethernet port inspection method, and communication device inspection program
JP5267065B2 (en) * 2008-11-19 2013-08-21 富士通株式会社 Communication apparatus and network test method
CN105577474B (en) * 2015-12-23 2018-10-30 迈普通信技术股份有限公司 A kind of method and system of network equipment high-speed port performance test

Also Published As

Publication number Publication date
JP2005109827A (en) 2005-04-21

Similar Documents

Publication Publication Date Title
US9137101B2 (en) Multi-layer network diagnostic tracing
EP2412129B1 (en) Redundant host connection in a routed network
US8565230B2 (en) Shared virtual tunnels supporting Mac learning in communication networks
CN107547402B (en) Forwarding table generation method and device
US7672227B2 (en) Loop prevention system and method in a stackable ethernet switch system
US8446914B2 (en) Method and system for link aggregation across multiple switches
EP2600573B1 (en) Method for transmitting addresses correspondence relationship in second-layer protocol using link status routing
US7693045B2 (en) Verifying network connectivity
CN104660469B (en) A kind of method for detecting connectivity and relevant device of double layer network
US7447222B2 (en) Automated path tracing through switching mesh
US20070081535A1 (en) Method and system for implementing virtual router redundacy protocol on a resilient packet ring
US20060209852A1 (en) Automated host discovery and path tracing by network management server
CN103354509B (en) The acquisition methods of a kind of link connection information and equipment
US20090225660A1 (en) Communication device and operation management method
KR20110094128A (en) Neighbour discovery protocol mediation
US20110110372A1 (en) Systems and methods to perform hybrid switching and routing functions
US20080298258A1 (en) Information transfer capability discovery apparatus and techniques
JP2019117972A (en) Network management device, network system, method, and program
US7881207B2 (en) Method and system for loop-back and continue in packet-based network
CN110380966B (en) Method for discovering forwarding path and related equipment thereof
JP4040562B2 (en) Network equipment test equipment
CN112929284A (en) ND message identification method and system under IPv6VXLAN scene
JP5333793B2 (en) Topology specifying method and topology specifying device
JP5190717B2 (en) Topology specifying method and topology specifying device
US7969994B2 (en) Method and apparatus for multiple connections to group of switches

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050909

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20050912

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071010

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071010

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071022

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071030

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071107

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees