JP6867037B2 - Communication confirmation test device, communication confirmation test method, and program - Google Patents
Communication confirmation test device, communication confirmation test method, and program Download PDFInfo
- Publication number
- JP6867037B2 JP6867037B2 JP2018106630A JP2018106630A JP6867037B2 JP 6867037 B2 JP6867037 B2 JP 6867037B2 JP 2018106630 A JP2018106630 A JP 2018106630A JP 2018106630 A JP2018106630 A JP 2018106630A JP 6867037 B2 JP6867037 B2 JP 6867037B2
- Authority
- JP
- Japan
- Prior art keywords
- switch
- communication confirmation
- confirmation test
- test
- cable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、疎通確認試験装置、疎通確認試験システム、疎通確認試験方法、及び、プログラムに関する。 The present invention relates to a communication confirmation test device, a communication confirmation test system, a communication confirmation test method, and a program.
一般企業のオフィスビル内で使用するネットワークにおいては、フロアスイッチやエッジスイッチとして、L2(Layer 2)スイッチが大量に導入されている。L2スイッチを設定した後においては、疎通確認試験を行う。疎通確認試験は、通常、2台の端末を対向させて、自身の端末から相手方の端末に対してICMP(Internet Control Message Protocol)のechoコマンドを送信して正しく届いて返答が行われるかを確認するための「ping(Packet InterNet Groper)コマンド」を実行したり、自身の端末から相手方の端末に対してICMPのechoコマンドを送信してどのような経路を通ってたどり着くかを確認するための「tracerouteコマンド」を実行して行う(例えば、特許文献1、2参照)。
In networks used in office buildings of general companies, a large number of L2 (Layer 2) switches are introduced as floor switches and edge switches. After setting the L2 switch, a communication confirmation test is performed. In the communication confirmation test, two terminals are usually opposed to each other, and an ICMP (Internet Control Message Protocol) echo command is sent from one's own terminal to the other's terminal to confirm that the response is correctly received. "Ping (Packet InterNet Groper) command" to execute, or send an ICMP echo command from your own terminal to the other terminal to check what route you will take to reach it. Execute the "traceroute command" (see, for example,
以下の分析は、本願発明者により与えられる。 The following analysis is provided by the inventor of the present application.
特許文献1、2に記載されているような疎通確認試験では、試験対象となるL2スイッチの設定情報の内容から各LAN(Local Area Network)ポートのVLAN(Virtual Local Area Network)設定やタグVLAN設定を確認し、当該L2スイッチのLANポートの設計に合わせて試験端末のIP(Internet Protocol)アドレスやタグVLANの設定を行う必要があるため、専門知識が必要であった。
In the communication confirmation test as described in
また、特許文献1、2に記載されているような疎通確認試験では、複数の物理リンクを束ねて1つの論理リンクとして扱うLAG(Link AGgregation)設定がある場合には、LAGに対応したLANポートを複数実装している必要があるが、試験装置として使用するノート型パーソナルコンピュータでは、LAGに対応したLANポートを有していないことが多いため、疎通確認試験ができないことがあった。
Further, in the communication confirmation test as described in
さらに、特許文献1、2に記載されているような疎通確認試験では、同一の端末間でL2スイッチにおけるLANポートの疎通確認を行う場合、LANポートに接続された機器のMAC(Media Access Control)アドレスを自動学習する際、L2スイッチのFDB(Forwarding DataBase)のエージングタイム(MACアドレスの保持時間;Cisco社製のスイッチの場合は標準値が5分間)を待つ必要があり、全ポートを確認する場合、長時間(Cisco社製24ポート型スイッチの場合120分)を要するという問題があった。
Further, in the communication confirmation test as described in
本発明の主な課題は、専門知識を持たない人でも試験対象となるスイッチの各ポートの疎通確認試験を簡単に早く実施することに貢献することができる疎通確認試験装置、疎通確認試験システム、疎通確認試験方法、及び、プログラムを提供することである。 A main subject of the present invention is a communication confirmation test device, a communication confirmation test system, which can contribute to easily and quickly performing a communication confirmation test for each port of a switch to be tested even by a person who does not have specialized knowledge. To provide a communication confirmation test method and a program.
第1の視点に係る疎通確認試験装置は、接続用スイッチを用いて試験対象スイッチの疎通確認試験を行う疎通確認試験装置であって、前記接続用スイッチの複数のポートと前記試験対象スイッチの複数のポートとがそれぞれ第1ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記接続用スイッチとが第2ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記試験対象スイッチとが第3ケーブルを介して通信可能に接続された状態で、前記試験対象スイッチから、前記試験対象スイッチの前記複数のポートに係る設定情報及びポートステータス情報を、前記第3ケーブルを介して取得する処理と、取得した前記設定情報及び前記ポートステータス情報に基づいて、前記試験対象スイッチの前記複数のポートの疎通確認試験を行うために用いられる前記接続用スイッチの前記複数のポートに係る試験用設定情報を作成する処理と、作成された前記試験用設定情報を、前記第2ケーブルを介して前記接続用スイッチに記憶させる処理と、前記疎通確認試験装置から前記第2ケーブルを介して前記接続用スイッチを制御し、前記接続用スイッチから前記第1ケーブルを介して前記試験対象スイッチの前記複数のポートの全てについて疎通確認試験を行う処理と、を行う。 The communication confirmation test device according to the first viewpoint is a communication confirmation test device that performs a communication confirmation test of a switch to be tested by using a connection switch, and has a plurality of ports of the connection switch and a plurality of switches to be tested. Ports are communicably connected via the first cable, and the communication confirmation test device and the connection switch are communicably connected via the second cable, and the communication confirmation test device is connected. And the test target switch are communicably connected via a third cable, and the test target switch provides setting information and port status information related to the plurality of ports of the test target switch to the third. The plurality of of the connection switches used for performing the communication confirmation test of the plurality of ports of the test target switch based on the process acquired via the cable and the acquired setting information and port status information. A process of creating test setting information related to a port, a process of storing the created test setting information in the connection switch via the second cable, and a process of storing the created test setting information in the connection switch, and the second cable from the communication confirmation test device. The connection switch is controlled via the above-mentioned connection switch, and a communication confirmation test is performed on all of the plurality of ports of the test target switch from the connection switch via the first cable.
第2の視点に係る疎通確認試験システムは、前記第1の視点に係る疎通確認試験装置と、前記接続用スイッチと、前記第1乃至第3ケーブルと、を備える。 The communication confirmation test system according to the second viewpoint includes the communication confirmation test device according to the first viewpoint, the connection switch, and the first to third cables.
第3の視点に係る疎通確認試験方法は、疎通確認試験装置及び接続用スイッチを用いて試験対象スイッチの疎通確認試験を行う疎通確認試験方法であって、前記接続用スイッチの複数のポートと前記試験対象スイッチの複数のポートとがそれぞれ第1ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記接続用スイッチとが第2ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記試験対象スイッチとが第3ケーブルを介して通信可能に接続された状態で、前記疎通確認試験装置において、前記試験対象スイッチから、前記試験対象スイッチの前記複数のポートに係る設定情報及びポートステータス情報を、前記第3ケーブルを介して取得するステップと、前記疎通確認試験装置において、取得した前記設定情報及び前記ポートステータス情報に基づいて、前記試験対象スイッチの前記複数のポートの疎通確認試験を行うために用いられる前記接続用スイッチの前記複数のポートに係る試験用設定情報を作成するステップと、前記疎通確認試験装置において、作成された前記試験用設定情報を、前記第2ケーブルを介して前記接続用スイッチに記憶させるステップと、前記疎通確認試験装置から前記第2ケーブルを介して前記接続用スイッチを制御し、前記接続用スイッチから前記第1ケーブルを介して前記試験対象スイッチの前記複数のポートの全てについて疎通確認試験を行うステップと、を含む。 The communication confirmation test method according to the third viewpoint is a communication confirmation test method in which the communication confirmation test of the switch to be tested is performed using the communication confirmation test device and the connection switch, and the plurality of ports of the connection switch and the connection switch are described. The plurality of ports of the switch to be tested are each communicably connected via the first cable, and the communication confirmation test device and the connection switch are communicably connected via the second cable. In the state where the communication confirmation test device and the test target switch are communicably connected via a third cable, in the communication confirmation test device, from the test target switch to the plurality of ports of the test target switch. Based on the step of acquiring the setting information and the port status information via the third cable and the setting information and the port status information acquired by the communication confirmation test apparatus, the plurality of the test target switches. The step of creating the test setting information related to the plurality of ports of the connection switch used for performing the communication confirmation test of the port, and the test setting information created in the communication confirmation test apparatus are described. The step of storing in the connection switch via the second cable, the communication confirmation test device controls the connection switch via the second cable, and the connection switch controls the connection switch via the first cable. It includes a step of performing a communication confirmation test on all of the plurality of ports of the switch to be tested.
第4の視点に係るプログラムは、接続用スイッチを用いて試験対象スイッチの疎通確認試験を行う疎通確認試験装置で実行される疎通確認試験であって、前記接続用スイッチの複数のポートと前記試験対象スイッチの複数のポートとがそれぞれ第1ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記接続用スイッチとが第2ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記試験対象スイッチとが第3ケーブルを介して通信可能に接続された状態で、前記試験対象スイッチから、前記試験対象スイッチの前記複数のポートに係る設定情報及びポートステータス情報を、前記第3ケーブルを介して取得する処理と、取得した前記設定情報及び前記ポートステータス情報に基づいて、前記試験対象スイッチの前記複数のポートの疎通確認試験を行うために用いられる前記接続用スイッチの前記複数のポートに係る試験用設定情報を作成する処理と、作成された前記試験用設定情報を、前記第2ケーブルを介して前記接続用スイッチに記憶させる処理と、前記疎通確認試験装置から前記第2ケーブルを介して前記接続用スイッチを制御し、前記接続用スイッチから前記第1ケーブルを介して前記試験対象スイッチの前記複数のポートの全てについて疎通確認試験を行う処理と、を実行させる。 The program according to the fourth viewpoint is a communication confirmation test executed by a communication confirmation test device that performs a communication confirmation test of the switch to be tested by using the connection switch, and is a communication confirmation test performed by a plurality of ports of the connection switch and the test. A plurality of ports of the target switch are communicably connected via the first cable, and the communication confirmation test device and the connection switch are communicably connected via the second cable. In a state where the communication confirmation test device and the test target switch are communicably connected via the third cable, the test target switch provides setting information and port status information related to the plurality of ports of the test target switch. , The connection switch used to perform the communication confirmation test of the plurality of ports of the test target switch based on the process acquired via the third cable and the acquired setting information and port status information. The process of creating test setting information related to the plurality of ports, the process of storing the created test setting information in the connection switch via the second cable, and the communication confirmation test apparatus. The connection switch is controlled via the second cable, and a process of performing a communication confirmation test from the connection switch to all of the plurality of ports of the test target switch via the first cable is executed. ..
前記第1〜第4の視点によれば、専門知識を持たない人でも試験対象となるスイッチの各ポートの疎通確認試験を簡単に早く実施することに貢献することができる。 According to the first to fourth viewpoints, even a person who does not have specialized knowledge can contribute to easily and quickly carrying out a communication confirmation test for each port of the switch to be tested.
以下、実施形態について図面を参照しつつ説明する。なお、本出願において図面参照符号を付している場合は、それらは、専ら理解を助けるためのものであり、図示の態様に限定することを意図するものではない。また、下記の実施形態は、あくまで例示であり、本発明を限定するものではない。さらに、以降の説明で参照する図面等のブロック間の接続線は、双方向及び単方向の双方を含む。一方向矢印については、主たる信号(データ)の流れを模式的に示すものであり、双方向性を排除するものではない。 Hereinafter, embodiments will be described with reference to the drawings. In addition, when the drawing reference reference numerals are attached in this application, they are solely for the purpose of assisting understanding, and are not intended to be limited to the illustrated aspects. Further, the following embodiments are merely examples, and do not limit the present invention. Further, the connecting lines between blocks such as drawings referred to in the following description include both bidirectional and unidirectional. The one-way arrow schematically shows the flow of the main signal (data), and does not exclude interactivity.
[実施形態1]
実施形態1に係る疎通確認試験システムについて図面を用いて説明する。図1は、実施形態1に係る疎通確認試験システムの構成を模式的に示したブロック図である。図2は、実施形態1に係る疎通確認試験システムにおける接続用L3スイッチの試験用設定情報の論理構成の一例を模式的に示した図である。
[Embodiment 1]
The communication confirmation test system according to the first embodiment will be described with reference to the drawings. FIG. 1 is a block diagram schematically showing the configuration of the communication confirmation test system according to the first embodiment. FIG. 2 is a diagram schematically showing an example of the logical configuration of the test setting information of the connection L3 switch in the communication confirmation test system according to the first embodiment.
疎通確認試験システム1は、疎通確認試験装置100及び接続用L3スイッチ300を用いて、試験対象L2スイッチ200の疎通確認試験を行うためのシステムである(図1、図2参照)。疎通確認試験システム1は、疎通確認試験装置100と、接続用L3スイッチ300と、LANケーブル400と、LANケーブル401と、シリアルケーブル402と、を有する。
The communication
疎通確認試験装置100は、接続用L3スイッチ300を用いて、試験対象L2スイッチ200の疎通確認試験を行うための装置である。疎通確認試験装置100には、シリアル接続部104及びLAN接続部105を有するコンピュータを用いることができ、例えば、ノート型パーソナルコンピュータを用いることができる。疎通確認試験装置100は、制御部101と、入力部102と、出力部103と、シリアル接続部104と、LAN接続部105と、記憶部106と、を有する。
The communication
制御部101は、入力部102、出力部103、シリアル接続部104、LAN接続部105、及び、記憶部106を制御する機能部である(図1参照)。制御部101は、入力部102を制御して、入力部102から入力された情報を取り込む。制御部101は、出力部103を制御して、出力部103に情報を出力させる。制御部101は、シリアル接続部104を制御して、試験対象L2スイッチ200に対する情報の送受信を行う。制御部101は、LAN接続部105を制御して、接続用L3スイッチ300に対する情報の送受信を行う。制御部101は、記憶部106へのデータの入出力、記憶部106へのデータの書き込みや読み出しを行う。制御部101は、ソフトウェア(スイッチ制御試験ツール109、試験用設定情報作成ツール110を含む)を実行することにより所定の情報処理を行う。
The
制御部101は、試験用設定情報作成ツール110を実行することにより、以下のような情報処理を行う。制御部101は、取得した設定情報205に基づいて、試験対象L2スイッチ200に接続する接続用L3スイッチ300の試験用設定情報306を自動作成する。試験用設定情報の作成の詳細については、後述する。
The
制御部101は、スイッチ制御試験ツール109を実行することにより、以下のような情報処理を行う。制御部101は、試験対象L2スイッチ200と通信可能な状態になると、試験対象L2スイッチ200から、試験対象L2スイッチ200の設定情報205及びポートステータス情報206を自動で取得する。制御部101は、自動作成された試験用設定情報306を接続用L3スイッチ300に記憶させる。制御部101は、接続用L3スイッチ300の全てのポートを活性化した状態で、取得した試験対象L2スイッチ200の設定情報205及びポートステータス情報206を用いて、試験対象L2スイッチ200の第1ポートから順番にping試験を行うことで、疎通確認試験(LAG機能試験を含む)を実施する。疎通確認試験の詳細については、後述する。
The
入力部102は、情報を入力するための機能部である(図1参照)。入力部102には、例えば、キーボード、マウス、タッチパネル、マイク、ボタン、その他の入力手段を用いることができ、図示しない通信部を介して通信可能に接続された入力部を有する情報端末等を用いてもよい。
The
出力部103は、情報を出力(表示、音声出力、印刷等)するための機能部である(図1参照)。出力部103として、例えば、表示を行うディスプレイ、印刷を行うプリンタ、その他の出力手段を用いることができ、図示しない通信部を介して通信可能に接続された出力部を有する情報端末等を用いてもよい。また、出力部103を使用する代わりに、通信部及びネットワークを通じて接続された別の情報端末等(図示せず;例えば、ユーザが使用する端末)を使用して情報を出力するようにしてもよい。
The
シリアル接続部104は、シリアルポートのインタフェース規格(例えば、RS−232)を用いて、情報を1度に1ビットずつ送受信するインタフェースである(図1参照)。シリアル接続部104は、シリアルケーブル402と着脱可能に接続する。シリアル接続部104は、シリアルケーブル402を経由して、試験対象L2スイッチ200のコンソールポート203と通信可能に接続する。
The
LAN接続部105は、イーサネット(Ethernet)(登録商標)規格を用いて、情報を送受信するインタフェースである(図1参照)。LAN接続部105は、LANケーブル401と着脱可能に接続する。LAN接続部105は、LANケーブル401を経由して、接続用L3スイッチ300のLANポート303と通信可能に接続する。
The
記憶部106は、各種データ、プログラム(ツールソフトウェアを含む)、ファイル等の情報を記憶する機能部である(図1参照)。記憶部106として、例えば、RAM(Random Access Memory)、フラッシュメモリ(不揮発性メモリ)、HDD(Hard Disk Drive)、SSD(Solid State Drive)などの記憶装置を用いることができる。記憶部106は、装置情報107、スイッチ制御試験ツール109、試験用設定情報作成ツール110を記憶している。
The storage unit 106 is a functional unit that stores information such as various data, programs (including tool software), and files (see FIG. 1). As the storage unit 106, for example, a storage device such as a RAM (Random Access Memory), a flash memory (nonvolatile memory), an HDD (Hard Disk Drive), or an SSD (Solid State Drive) can be used. The storage unit 106 stores the
装置情報107は、試験対象L2スイッチ200及び接続用L3スイッチ300に関する情報である。装置情報107は、スイッチ設定情報108を有する。
The
スイッチ設定情報108は、試験対象L2スイッチ200及び接続用L3スイッチ300に係る設定情報(running-config、interfaces status)、試験用設定情報(試験用設定情報306に対応)、リンク試験結果、疎通確認試験結果を含む情報である。
The
スイッチ制御試験ツール109は、試験対象L2スイッチ200及び接続用L3スイッチ300へのリモート接続、試験対象L2スイッチ200及び接続用L3スイッチ300からの設定情報(running-config、及び、interfaces status)の取得、接続用L3スイッチ300への試験用設定情報の設定(登録)、及び、疎通確認試験(pingコマンド実行)を実行するプログラムである。
The switch
試験用設定情報作成ツール110は、試験対象L2スイッチ200の設定情報に基づいて、接続用L3スイッチ300の試験用設定情報を作成するプログラムである。
The test setting
試験対象L2スイッチ200は、試験対象となるL2スイッチである(図1、図2参照)。試験対象L2スイッチ200は、ネットワークを中継する機器であり、パケットに含まれるMACアドレスに基づいて中継先を判断し、中継動作を行う。試験対象L2スイッチ200は、制御部201と、LANポート202と、コンソールポート203と、記憶部204と、を有する。
The test
制御部201は、各LANポート202、コンソールポート203、及び、記憶部204を制御する機能部である(図1参照)。制御部201は、各LANポート202を制御して、対応する接続用L3スイッチ300のLANポート302に対する情報の送受信を行う。制御部201は、コンソールポート203を制御して、疎通確認試験装置100に対する情報の送受信を行う。制御部201は、記憶部204へのデータの入出力、記憶部204へのデータの書き込みや読み出しを行う。制御部201は、記憶部204に記憶された情報に基づいて、中継動作を行う。制御部201は、疎通確認試験装置100の制御部101のリモート接続により制御される。
The
LANポート202は、イーサネット規格を用いて、情報の送受信を行うインタフェースである(図1参照)。LANポート202は、LANケーブル400と着脱可能に接続する。各LANポート202は、対応するLANケーブル400を経由して、対応する接続用L3スイッチ300のLANポート302と通信可能に接続される。図1のLANポート202は、設定情報205に基づいて仮想化したときに、例えば、図2のように、タグVLAN設定されていないアクセスポートとなるLANポート202aと、タグVLAN設定かつLAG設定されたLANポート202bと、に分けることができる。
The
コンソールポート203は、シリアルポートのインタフェース規格(例えば、RS−232)を用いて、情報を1度に1ビットずつ送受信するインタフェースである(図1、図2参照)。コンソールポート203は、シリアルケーブル402と着脱可能に接続する。コンソールポート203は、シリアルケーブル402を経由して、疎通確認試験装置100のシリアル接続部104と通信可能に接続する。
The
記憶部204は、各種データ、プログラム、ファイル等の情報を記憶する機能部である(図1参照)。記憶部204は、設定情報205及びポートステータス情報206を記憶する。
The
設定情報205は、各LANポート202の仮想化ネットワークを構築するためのVLAN設定、タグVLAN設定、LAG設定、VIPアドレス設定を含む情報である。
The setting
ポートステータス情報206は、試験対象L2スイッチ200のインタフェースとなる各LANポート202のステータスに関する情報(例えば、connected、notconnect等)である。
The
接続用L3スイッチ300は、試験対象L2スイッチ200と接続するためのL3スイッチである(図1、図2参照)。接続用L3スイッチ300は、試験対象L2スイッチ200のFDBのエージングタイムに影響を受けないようにするためのものである。接続用L3スイッチ300は、OSI(Open System Interconnection)参照モデルにおけるネットワーク層(L3)での情報の転送処理を行う。接続用L3スイッチ300は、制御部301と、LANポート302と、LANポート303と、記憶部304と、を有する。
The
制御部301は、LANポート302、LANポート303、及び、記憶部304を制御する機能部である(図1参照)。制御部301は、各LANポート302を制御して、対応する試験対象L2スイッチ200のLANポート202に対する情報の送受信を行う。制御部301は、LANポート303を制御して、疎通確認試験装置100に対する情報の送受信を行う。制御部301は、記憶部304へのデータの入出力、記憶部304へのデータの書き込みや読み出しを行う。制御部301は、記憶部304に記憶された情報に基づいて、中継動作を行う。制御部301は、疎通確認試験装置100の制御部101のリモート接続により制御される。
The
LANポート302は、イーサネット規格を用いて、情報の送受信を行うインタフェースである(図1参照)。LANポート302は、LANケーブル400と着脱可能に接続する。各LANポート302は、対応するLANケーブル400を経由して、対応する試験対象L2スイッチ200のLANポート202と通信可能に接続する。図1のLANポート302は、試験用設定情報306に基づいて仮想化したときに、例えば、図2のように、タグVLAN設定されていないアクセスポートとなるLANポート302aと、タグVLAN設定かつLAG設定されたLANポート302bと、に分けることができる。
The
LANポート303は、イーサネット規格を用いて、情報の送受信を行うインタフェースである(図1、図2参照)。LANポート303は、LANケーブル401と着脱可能に接続する。LANポート303は、対応するLANケーブル401を経由して、疎通確認試験装置100のLAN接続部105と通信可能に接続する。
The
記憶部304は、各種データ、プログラム、ファイル等の情報を記憶する機能部である(図1参照)。記憶部304は、設定情報305、試験用設定情報306、及び、ポートステータス情報307を記憶する。
The
設定情報305は、仮想化ネットワークを構築するためのVRF(Virtual Routing Forwarding)設定、各LANポート302のVLAN設定、タグVLAN設定、LAG設定、MACアドレス設定を含む情報である。
The setting
試験用設定情報306は、試験用設定情報作成ツール110によって作成された疎通確認試験時に使用する設定情報である。試験用設定情報306は、試験対象L2スイッチ200の各LANポート202の疎通確認試験を行うために用いられる。
The
ポートステータス情報307は、各LANポート302のステータス(例えば、connected、notconnect等)に係る情報である。
The
LANケーブル400は、イーサネット規格を用いて、対応するLANポート202、302間を通信可能に接続する配線用のケーブルである(図1参照)。図1のLANケーブル400は、仮想化したときに、例えば、図2のように、タグVLAN設定されていないアクセスポートとなるLANポート202a、302a間を接続するLANケーブル400aと、タグVLAN設定かつLAG設定されたLANポート202b、302b間を接続するLANケーブル400bと、に分けることができる。
The
LANケーブル401は、イーサネット規格を用いて、LAN接続部105とLANポート303との間を通信可能に接続する配線用のケーブルである(図1、図2参照)。
The
シリアルケーブル402は、シリアルポートのインタフェース規格を用いて、シリアル接続部104とコンソールポート203との間をシリアル転送通信可能に接続するケーブルである。
The
次に、実施形態1に係る疎通確認試験システムについて図面を用いて説明する。図3は、実施形態1に係る疎通確認試験システムの動作を模式的に示したフローチャート図である。図4は、実施形態1に係る疎通確認試験システムの試験用設定情報作成時の動作を模式的に示したフローチャート図である。なお、疎通確認試験システムの構成については、図1を参照されたい。 Next, the communication confirmation test system according to the first embodiment will be described with reference to the drawings. FIG. 3 is a flowchart illustrating the operation of the communication confirmation test system according to the first embodiment. FIG. 4 is a flowchart illustrating the operation of the communication confirmation test system according to the first embodiment at the time of creating test setting information. Please refer to FIG. 1 for the configuration of the communication confirmation test system.
前提条件として、接続用L3スイッチ300の試験用設定情報306は、予め初期試験用設定情報に設定されているものとする。ここで、初期試験用設定情報は、管理用IPアドレス設定、各LANポート302のshutdown設定を含む設定情報であり、疎通確認試験装置100のLAN接続部105に接続されるLANポート303の設定情報を含む。
As a precondition, it is assumed that the
また、前提条件として、試験対象L2スイッチ200の設定情報205は、予め本番環境設定情報に設定されているものとする。ここで、本番環境設定情報は、各LANポート202の使用状態を含む設定情報である。
Further, as a precondition, it is assumed that the setting
また、前提条件として、試験対象L2スイッチ200の各LANポート202と、対応する接続用L3スイッチ300のLANポート302との間をLANケーブル400で接続する。また、疎通確認試験装置100のシリアル接続部104と試験対象L2スイッチ200のコンソールポート203との間をシリアルケーブル402で接続する。さらに、疎通確認試験装置100のLAN接続部105と接続用L3スイッチ300のLANポート303との間をLANケーブル401で接続する。
Further, as a precondition, a
さらに、前提条件として、疎通確認試験装置100に、試験対象L2スイッチ200のログインIDとパスワードを、予め手動で入力(登録)する。
Further, as a prerequisite, the login ID and password of the
以上のような前提条件のもとで、疎通確認試験システム1は、以下のように動作する。
Under the above preconditions, the communication
まず、疎通確認試験システム1において、疎通確認試験装置100は、制御部101でスイッチ制御試験ツール109を実行し、シリアル接続部104からシリアルケーブル402を経由して、試験対象L2スイッチ200のコンソールポート203に接続し、疎通確認試験装置100に記憶されたログインID及びパスワードを使用して試験対象L2スイッチ200にログインし、試験対象L2スイッチ200に対して、設定情報205及びポートステータス情報206を要求する(ステップA1)。
First, in the communication
ここで、設定情報205の要求は、Cisco社製L2スイッチの場合、show running-configコマンドを実行することにより行うことができる。また、ポートステータス情報206の要求は、Cisco社製L2スイッチの場合、show interfaces statusコマンドを実行することにより行うことができる。
Here, the request for the setting
次に、試験対象L2スイッチ200は、疎通確認試験装置100からの設定情報205及びポートステータス情報206の要求を受けて、記憶部204に記憶された設定情報205及びポートステータス情報206を、疎通確認試験装置100に送信する(ステップA2)。
Next, the test
次に、疎通確認試験装置100は、試験対象L2スイッチ200からの設定情報205及びポートステータス情報206を受信し、受信した設定情報205及びポートステータス情報206を、記憶部106の装置情報107におけるスイッチ設定情報108内に、試験対象L2スイッチ200に係る設定情報として記憶する(ステップA3)。
Next, the communication
次に、疎通確認試験装置100は、制御部101で試験用設定情報作成ツール110を実行し、記憶部106の装置情報107におけるスイッチ設定情報108内の試験対象L2スイッチ200に係る設定情報に基づいて、接続用L3スイッチ300の試験用設定情報を作成し、作成された試験用設定情報を、記憶部106の装置情報107におけるスイッチ設定情報108内に記憶する(ステップA4)。
Next, the communication
ここで、試験用設定情報の作成は、例えば、以下のようにして行うことができる。 Here, the test setting information can be created, for example, as follows.
まず、疎通確認試験装置100は、記憶部106の装置情報107におけるスイッチ設定情報108内の試験対象L2スイッチ200に係る設定情報(図1の205に相当)に基づいて、設定されている各VLAN(図2のVLAN1〜3)に所属しているLANポート数の最大数(図2では4つ;次段落参照)を計算し、計算された最大数と同数(図2では4つ)のVRF(図2のVRF−1〜4に相当)を設定する(ステップB1)。
First, the communication
ここで、ステップB1において、LANポート数は、試験対象L2スイッチ200に対して、show running-configコマンドを実行した時の各interfaceに設定されているVLANの番号をVLAN単位で数え、LAG設定されている場合は、LAGグループで1ポートと数える。また、VRF名は、VRF−1から昇順に付与する。
Here, in step B1, the number of LAN ports is set to LAG by counting the VLAN numbers set in each interface when the show running-config command is executed for the test
次に、疎通確認試験装置100は、設定した各VRF(図2のVRF−1〜4に相当)に、記憶された試験対象L2スイッチ200に係る設定情報(図1の205に相当)に設定されているVLANインタフェース数と同数(図2では3つ)のVLAN(図2ではVLAN1〜3、VLAN1a〜3a、VLAN1b〜3b、VLAN1c〜3cに相当)を設定し、かつ、各VRF単位に、試験対象L2スイッチ200に係る設定情報(図1の205に相当)に設定されている各VLANと通信可能なLANポートに接続するように設定する(ステップB2)。
Next, the communication
次に、疎通確認試験装置100は、試験対象L2スイッチ200でタグVLANを使用しているLANポート(図2の202b)と接続する接続用L3スイッチ300のLANポート(図2の302b)については、試験対象L2スイッチ200と同じVLAN−ID(Virtual Local Area Network - IDentification、VLAN識別情報)を設定し、その他のLANポートについては、各VLANインタフェース単位に、試験対象L2スイッチ200で使用していないVLAN−IDを自動設定する(ステップB3)。例えば、試験対象L2スイッチ200に登録されているVLAN−IDが100、200の場合、110、120、210、220を付与する。
Next, the communication
次に、疎通確認試験装置100は、記憶された試験対象L2スイッチ200に係る設定情報(図1の205に相当)において、各VLANに対応するVIPアドレスがあるか否かを判断する(ステップB4)。
Next, the communication
VIPアドレスがある場合(ステップB4のYES)、疎通確認試験装置100は、VIPアドレスに係るサブネットマスク設定に基づいて、未使用アドレスの中より、任意のアドレスを、ステップB2で設定した各VLANに設定し(ステップB5)、その後、ステップB7に進む。例えば、VIPアドレスが192.168.1.1/24に設定されている場合、1から254の範囲内より4オクテット目を、110、111とする(Cisco社製スイッチで192.168.1.0/24を設定する場合、ip address 192.168.1.0 255.255.255.0とする)。
When there is a VIP address (YES in step B4), the communication
VIPアドレスがない場合(ステップB4のNO)、疎通確認試験装置100は、ステップB2で設定した各VLANに、試験対象L2スイッチ200に係る設定情報(図1の205に相当)の各VLANに所属するポートに対して、VLANごとに未使用の1つのネットワークアドレス帯より、任意のVIPアドレスを設定し(ステップB6)、その後、ステップB7に進む。例えば、192.168.1.0/24が使用されている場合、プライベートアドレス帯(Internet Engineering Task ForceのRequest for Comments 1918にて規定)より、192.168.2.0/24の未使用アドレス帯を使用し、192.168.2.110/24、とする。
When there is no VIP address (NO in step B4), the communication
ステップB5又はステップB6の後、疎通確認試験装置100は、接続用L3スイッチ300の各LANポート302に、VLAN−ID以外について、試験対象L2スイッチ200に係る設定情報に設定されている各LANポート202の設定情報と同じ設定情報を設定する(ステップB7)。
After step B5 or step B6, the communication
次に、疎通確認試験装置100は、接続用L3スイッチ300の各LANポート302に対して閉塞設定(Cisco社製スイッチの場合は、shutdownコマンドを登録)する(ステップB8)。
Next, the communication
最後に、疎通確認試験装置100は、ステップB1、B2、B3、B5又はB6、B7、B8による各設定を含む試験用設定情報を作成し、作成された試験用設定情報(図1の306に相当)を記憶部106の装置情報107におけるスイッチ設定情報108内に記憶する(ステップB9)。ステップB9によりステップA4の試験用設定情報の作成、記憶が完了する。
Finally, the communication
ステップA4の後、疎通確認試験装置100は、スイッチ制御試験ツール109を実行して、LAN接続部105からLANケーブル401を経由して接続用L3スイッチ300にリモート接続し、装置情報107におけるスイッチ設定情報108内の試験用設定情報(図1の306に相当)を接続用L3スイッチ300に送信をする(ステップA5)。
After step A4, the communication
次に、接続用L3スイッチ300は、疎通確認試験装置100からの試験用設定情報を受信し、受信した試験用設定情報306を記憶する(ステップA6)。これにより、接続用L3スイッチ300は、試験用設定情報306に基づいて動作可能となる。
Next, the
次に、疎通確認試験装置100は、制御部101でスイッチ制御試験ツール109を実行して、記憶されている試験対象L2スイッチ200に係る設定情報に基づいて、試験対象L2スイッチ200の使用可能LANポート(ここではshutdown設定されていないLANポート202)と接続されている接続用L3スイッチ300のLANポート302の全てに対して、活性化(Cisco社製スイッチの場合は、no shutdownコマンドを実行)を要求する(ステップA7)。
Next, the communication
次に、接続用L3スイッチ300は、活性化の要求を受けて、該当するLANポート302の全てに対して活性化を行う(ステップA8)。
Next, the
次に、疎通確認試験装置100は、試験対象L2スイッチ200に対して、ポートステータス情報206を要求する(ステップA9)。
Next, the communication
次に、試験対象L2スイッチ200は、疎通確認試験装置100からのポートステータス情報206の要求を受けて、記憶部204に記憶されたポートステータス情報206を、疎通確認試験装置100に送信する(ステップA10)。
Next, the test
次に、疎通確認試験装置100は、試験対象L2スイッチ200からのポートステータス情報206を受信し、受信したポートステータス情報206を、記憶部106の装置情報107におけるスイッチ設定情報108内に、試験対象L2スイッチ200に係るリンク試験情報として記憶する(ステップA11)。
Next, the communication
次に、疎通確認試験装置100は、記憶されたポートステータス情報におけるリンクアップ数と、試験対象L2スイッチ200に係る設定情報の使用可能LANポート数とを比較し、差異がないことを確認する(ステップA12)。なお、差異がある場合、疎通確認試験装置100は、出力部103から「LANケーブル接続不良」のメッセージを出力する。
Next, the communication
次に、疎通確認試験装置100は、制御部101でスイッチ制御試験ツール109を実行して、LAN接続部105、LANケーブル401、LANポート303を介して接続用L3スイッチ300にリモート接続し、試験対象L2スイッチ200の第1のLANポート(図2の202a)のping試験を実行するため、接続用L3スイッチ300に対してping実行制御を行う(ステップA13)。また、試験対象L2スイッチ200の第2以降のLANポート(図2の202a)についても、同様な方法でping実行制御を行う。
Next, the communication
ここで、ping実行制御では、試験対象L2スイッチ200の第1のLANポート(図2の202a)に接続されている接続用L3スイッチ300の第1のLANポート(図2の302a)が接続されたバーチャルインタフェース(図2のVRF−1のVLAN1aのVIP:192.168.1.111)に対して、試験対象L2スイッチ200の第1のLANポート(図2の202a)が接続されているバーチャルインタフェース(図2のVLAN1のVIP:192.168.1.1)に接続されている試験対象L2スイッチの第1のLANポート(図2の202a)以外の任意のLANポート(ここでは、図2の第2のポート202a)と接続されている接続用L3スイッチ300の第2のLANポート(図2の第2のポート302a)が接続されたバーチャルインタフェース(例えば、図2のVRF−2のVLAN1bのVIP:192.168.1.112)よりping試験を実行する。なお、接続用L3スイッチ300がCisco社製L3スイッチの場合、ping実行制御では、「ping vrf vrf2 192.168.1.111」を実行する。
Here, in the ping execution control, the first LAN port (302a in FIG. 2) of the
次に、接続用L3スイッチ300は、第2のLANポート(図2の302a)のバーチャルインタフェース(図2のVRF−2のVLAN1bの192.168.1.112)より、第2のLANポート(図2の302a)、LANケーブル(図2の400a)を経由して、試験対象L2スイッチ200の第2のLANポート(図2の202a)に、pingパケットを送信する(ステップA14)。
Next, the
次に、試験対象L2スイッチ200は、第2のLANポート(図2の202a)で受信したpingパケットを、試験対象L2スイッチ200の第1のLANポート(図2の202a)に転送し、当該第1のLANポート(図2の202a)に転送されたpingパケットを、LANケーブル(図2の400a)を経由して、接続用L3スイッチ300の第1のLANポート(図2の302a)に転送する(ステップA15)。
Next, the test
次に、接続用L3スイッチ300は、第1のLANポート(図2の302a)のバーチャルインタフェース(図2のVRF−1のVLAN1aの192.168.1.111)にpingパケットを転送し、当該バーチャルインタフェースで受信したpingパケットに対してping応答パケットを生成し、生成されたping応答パケットを、第1のLANポート(図2の302a)に転送し、LANケーブル(図2の400a)を経由して、試験対象L2スイッチ200の第1のLANポート(図2の202a)に送信する(ステップA16)。
Next, the
次に、試験対象L2スイッチ200は、第1のLANポート(図2の202a)で受信したping応答パケットを、試験対象L2スイッチ200の第2のLANポート(図2の202a)に転送し、LANケーブル(図2の400a)を経由して接続用L3スイッチ300の第2のLANポート(図2の302a)に転送する(ステップA17)。
Next, the test
次に、接続用L3スイッチ300は、第2のLANポート(図2の302a)で受信したping応答パケットを、第2のLANポート(図2の302a)のバーチャルインタフェース(図2のVRF−2のVLAN1bの192.168.1.112)にping応答パケットを転送し、当該バーチャルインタフェースでping応答パケットを受信することにより、ping試験の成功を認識し、その旨をping試験結果として、LANポート303からLANケーブル401を経由して疎通確認試験装置100に送信する(ステップA18)。
Next, the
ここで、LAGポートの疎通確認試験方法について以下に記す。 Here, the communication confirmation test method of the LAG port will be described below.
疎通確認試験装置100は、取得済みの試験対象L2スイッチ200の設定情報(図1の205)より試験対象L2スイッチ200のLAG設定されているLANポート(図2の202b(第9のLANポート、第10のLANポート))を確認し、そのLANポート(図2の202b)に接続されているバーチャルインタフェース(図2のVLAN1)を確認し、そのバーチャルインタフェース(図2のVLAN1)に接続されている他のLANポート(図2の202a(例えば、第1のLANポート))を確認する。
The communication
次に、疎通確認試験装置100は、試験対象L2スイッチ200のLAG設定されているLANポート(図2の202b(第9のLANポート、第10のLANポート))とLANケーブル(図2の400b)で接続されている接続用L3スイッチ300のLANポート(図2の302b(第9のLANポート、第10のLANポート))を確認し、試験対象L2スイッチ200のバーチャルインタフェース(図2のVLAN1)と同じバーチャルインタフェースのVIP(192.168.1.110)を確認する。また、同様に試験対象L2スイッチ200のVLAN1に接続されているLANポート(図2の202a(第1のLANポート))とLANケーブル(図2の400a)で接続されている接続用L3スイッチ300のLANポート(図2の302a(第1のLANポート))のバーチャルインタフェースのVIP(192.168.1.111)を確認する。
Next, the communication
次に、疎通確認試験装置100は、接続用L3スイッチ300のLANポート(図2の302a(第1のLANポート))のバーチャルインタフェースのVIP(192.168.1.111)から接続用L3スイッチ300のLANポート(図2の302b(第9のLANポート、第10のLANポート))のバーチャルインタフェースのVIP(192.168.1.110)に対してping試験を実行し、疎通できることを確認する。
Next, the communication
次に、疎通確認試験装置100は、接続用L3スイッチ300の第9のLANポートを閉塞(Cisco社製スイッチの場合「shutdown」コマンドを実行する)した後に、接続用L3スイッチ300のLANポート(図2の302a(第1のLANポート))のバーチャルインタフェースのVIP(192.168.1.111)から接続用L3スイッチ300のLANポート(図2の302b(第9のLANポート、第10のLANポート))のバーチャルインタフェースのVIP(192.168.1.110)に対してping試験を実行し、疎通できることを確認する。
Next, the communication
次に、疎通確認試験装置100は、接続用L3スイッチ300の第9のLANポートを活性化(Cisco社製スイッチの場合「no shutdown」コマンドを実行する)した後に、接続用L3スイッチ300の第10のLANポートを閉塞(Cisco社製スイッチの場合「shutdown」コマンドを実行する)した後に、接続用L3スイッチ300のLANポート(図2の302a(第1のLANポート))のバーチャルインタフェースのVIP(192.168.1.111)から接続用L3スイッチ300のLANポート(図2の302b(第9のLANポート、第10のLANポート))のバーチャルインタフェースのVIP(192.168.1.110)に対してping試験を実行し、疎通できることを確認する。LAGポートに接続されている他のバーチャルインタフェースについても同様の方法で試験を実施する。また、他のLAGポートについても同様の方法で試験を実施する。ping試験の成功確認方法は、アクセスポートのping確認と同じ方法で行う。
Next, the communication
最後に、疎通確認試験装置100は、接続用L3スイッチ300からのping試験結果をLAN接続部105で受信し、すべてのLANポートについてping試験を終了したときに、すべてのLANポートに係るping試験結果を集計した疎通確認試験結果を作成し、作成された疎通確認試験結果を、装置情報107におけるスイッチ設定情報108に記憶する(ステップA19)。その後、疎通確認試験装置100は、出力部103から「試験完了」のメッセージを出力するようにしてもよい。
Finally, the communication
なお、以上においては、疎通確認試験装置100のpingパケットの送信から受信まで正常に行われたものであるが、受信まで正常に行うことができなかった場合は、前提条件をチェックして、再度、ステップA1〜A19(ステップB1〜B9を含む)を行うことになる。また、疎通確認試験は、pingコマンドの代わりに、tracerouteコマンドを実行してもよい。
In the above, the ping packet of the communication
実施形態1によれば、試験対象L2スイッチ200の設定情報205に基づいて接続用L3スイッチ300の試験用設定情報を設定して疎通確認試験を行うことにより、専門知識を持たない人でも簡単に早く試験対象L2スイッチ200の各LANポート202の疎通確認試験を実施することができる。
According to the first embodiment, by setting the test setting information of the
また、実施形態1によれば、試験対象L2スイッチ200のFDBのエージングタイムに影響を受けないように、接続用L3スイッチ300を使用し、かつ、接続する全てのLANポート302(LAGに係るLANポート302bについてはLAGグループ単位)に対してVIPアドレスを付与することで、疎通確認試験を簡素化し、自動で短時間に疎通確認試験(LAG機能試験を含む)を行うことができる。
Further, according to the first embodiment, all the LAN ports 302 (LAN related to LAG) to be connected by using the
[実施形態2]
実施形態2に係る疎通確認試験システムについて図面を用いて説明する。図5は、実施形態2に係る疎通確認試験システムの構成を模式的に示したブロック図である。
[Embodiment 2]
The communication confirmation test system according to the second embodiment will be described with reference to the drawings. FIG. 5 is a block diagram schematically showing the configuration of the communication confirmation test system according to the second embodiment.
疎通確認試験システム1は、疎通確認試験装置100及び接続用スイッチ300を用いて試験対象スイッチ200の疎通確認試験を行うシステムである。疎通確認試験システム1では、接続用スイッチ300の複数のポート302と試験対象スイッチ200の複数のポート202とがそれぞれ第1ケーブル400を介して通信可能に接続され、かつ、疎通確認試験装置100と接続用スイッチ300とが第2ケーブル401を介して通信可能に接続され、かつ、疎通確認試験装置100と試験対象スイッチ200とが第3ケーブル402を介して通信可能に接続された状態である。
The communication
疎通確認試験装置100は、試験対象スイッチ200から、試験対象スイッチ200の複数のポート202に係る設定情報205及びポートステータス情報206を、第3ケーブル402を介して取得する。
The communication
疎通確認試験装置100は、取得した設定情報205及びポートステータス情報206に基づいて、試験対象スイッチ200の複数のポート202の疎通確認試験を行うために用いられる接続用スイッチ300の複数のポート302に係る試験用設定情報306を作成する。
Based on the acquired setting
疎通確認試験装置100は、作成された試験用設定情報306を、第2ケーブル401を介して接続用スイッチ300に記憶させる。
The communication
疎通確認試験装置100は、疎通確認試験装置100から第2ケーブル401を介して接続用スイッチ300を制御し、接続用スイッチ300から第1ケーブル400を介して試験対象スイッチ200の複数のポート202の全てについて疎通確認試験を行う。
The communication
実施形態2によれば、試験対象スイッチ200の設定情報205に基づいて接続用スイッチ300の試験用設定情報306を設定して疎通確認試験を行うことにより、専門知識を持たない人でも簡単に早く試験対象スイッチ200の複数のポート202の疎通確認試験を実施することができる。
According to the second embodiment, by setting the
上記実施形態の一部または全部は以下の付記のようにも記載され得るが、以下には限られない。 Some or all of the above embodiments may also be described, but not limited to:
(付記)
本発明では、前記第1の視点に係る疎通確認試験装置の形態が可能である。
(Additional note)
In the present invention, the form of the communication confirmation test apparatus according to the first viewpoint is possible.
前記第1の視点に係る疎通確認試験装置において、前記試験用設定情報を前記接続用スイッチに記憶させる処理の後に、前記第2ケーブルを通じて、取得した前記設定情報に基づいて、前記試験対象スイッチの前記複数のポートのうち使用可能なポートと接続された前記接続用スイッチの前記ポートの全てを活性化する処理を行い、前記疎通確認試験を行う処理は、前記接続用スイッチの前記ポートの全てを活性化した状態で行う。 In the communication confirmation test apparatus according to the first viewpoint, after the process of storing the test setting information in the connection switch, the test target switch of the test target switch is based on the setting information acquired through the second cable. The process of activating all of the ports of the connection switch connected to the available ports among the plurality of ports and performing the communication confirmation test is performed on all of the ports of the connection switch. Perform in the activated state.
前記第1の視点に係る疎通確認試験装置において、前記疎通確認試験装置は、前記活性化する処理の後に、取得した前記ポートステータス情報におけるリンクアップ数と、前記設定情報の使用可能ポート数とを比較し、差異があるか否かを確認する処理を行い、前記疎通確認試験を行う処理は、前記差異があるか否かを確認する処理で差異がないときに行う。 In the communication confirmation test device according to the first viewpoint, the communication confirmation test device determines the number of link-ups in the port status information acquired after the activation process and the number of available ports in the setting information. The process of comparing and confirming whether or not there is a difference is performed, and the process of performing the communication confirmation test is performed when there is no difference in the process of confirming whether or not there is a difference.
前記第1の視点に係る疎通確認試験装置において、前記接続用スイッチは、L3スイッチであり、前記試験対象スイッチは、L2スイッチである。 In the communication confirmation test apparatus according to the first viewpoint, the connection switch is an L3 switch, and the test target switch is an L2 switch.
前記第1の視点に係る疎通確認試験装置において、前記第1ケーブル及び前記第2ケーブルは、それぞれLANケーブルであり、前記第3ケーブルは、シリアルケーブルである。 In the communication confirmation test apparatus according to the first viewpoint, the first cable and the second cable are LAN cables, respectively, and the third cable is a serial cable.
前記第1の視点に係る疎通確認試験装置において、前記試験用設定情報を作成する処理では、取得した前記設定情報に基づいて、設定されている各VLANに所属しているLANポート数の最大数を計算し、計算された前記最大数と同数のVRFを設定する処理と、設定した各前記VRFに、取得した前記設定情報に設定されているVLANと同数のVLANを設定する処理と、取得した前記設定情報において、各前記VLANに対応するVIPアドレスがあるか否かを判断する処理と、前記VIPアドレスがある場合、前記VIPアドレスに係るサブネットマスク設定に基づいて、未使用アドレスの中より、任意のアドレスを、各前記VLANに設定する処理と、前記VIPアドレスがない場合、未使用アドレス帯より、任意のアドレスを、各前記VLANに設定する処理と、前記接続用スイッチの前記複数のポートに、VLAN−ID以外について、取得した前記設定情報に設定されている前記試験対象スイッチの前記複数のポートの設定情報と同じ設定情報を設定する処理と、前記接続用スイッチの前記複数のポートに、VLAN−IDを異なるようにして、取得した前記設定情報に設定されている前記試験対象スイッチの前記複数のポートのVLANと同じネットワークを各VRFに1つずつ設定する処理と、前記処理による各設定を含む試験用設定情報を作成する処理と、を行う。 In the process of creating the test setting information in the communication confirmation test apparatus according to the first viewpoint, the maximum number of LAN ports belonging to each VLAN set based on the acquired setting information. And the process of setting the same number of VRFs as the calculated maximum number, and the process of setting the same number of VLANs as the acquired VLANs in each of the set VRFs. In the setting information, a process of determining whether or not there is a VIP address corresponding to each of the VLANs, and if there is a VIP address, from among the unused addresses based on the subnet mask setting related to the VIP address. A process of setting an arbitrary address in each of the VLANs, a process of setting an arbitrary address in each of the VLANs from an unused address band when the VIP address does not exist, and the plurality of ports of the connection switch. In addition to the VLAN-ID, the process of setting the same setting information as the setting information of the plurality of ports of the test target switch set in the acquired setting information and the plurality of ports of the connection switch are set. , The process of setting the same network as the VLAN of the plurality of ports of the test target switch set in the acquired setting information by making the VLAN-ID different, one for each VRF, and each of the processes. Performs a process of creating test setting information including settings.
前記第1の視点に係る疎通確認試験装置において、前記疎通確認試験は、pingコマンド又はtracerouteコマンドを実行して行う。 In the communication confirmation test apparatus according to the first viewpoint, the communication confirmation test is performed by executing a ping command or a traceroute command.
本発明では、前記第2の視点に係る疎通確認試験システムの形態が可能である。 In the present invention, the form of the communication confirmation test system according to the second viewpoint is possible.
本発明では、前記第3の視点に係る疎通確認試験方法の形態が可能である。 In the present invention, the form of the communication confirmation test method according to the third viewpoint is possible.
本発明では、前記第4の視点に係るプログラムの形態が可能である。 In the present invention, the form of the program according to the fourth viewpoint is possible.
なお、上記の特許文献の各開示を、本書に引用をもって繰り込むものとする。本発明の全開示(特許請求の範囲及び図面を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の全開示の枠内において種々の開示要素(各請求項の各要素、各実施形態ないし実施例の各要素、各図面の各要素等を含む)の多様な組み合わせ乃至選択(必要により不選択)が可能である。すなわち、本発明は、請求の範囲及び図面を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。また、本願に記載の数値及び数値範囲については、明記がなくともその任意の中間値、下位数値、及び、小範囲が記載されているものとみなされる。 Each disclosure of the above patent documents shall be incorporated into this document by citation. Within the framework of the entire disclosure of the present invention (including the scope of claims and drawings), the embodiments or examples can be changed or adjusted based on the basic technical idea thereof. Further, various combinations or selections (necessary) of various disclosure elements (including each element of each claim, each element of each embodiment or embodiment, each element of each drawing, etc.) within the framework of all disclosure of the present invention. (Not selected) is possible. That is, it goes without saying that the present invention includes all disclosures including claims and drawings, and various modifications and modifications that can be made by those skilled in the art in accordance with technical ideas. In addition, regarding the numerical values and numerical ranges described in the present application, it is considered that arbitrary intermediate values, lower numerical values, and small ranges are described even if they are not specified.
1 疎通確認試験システム
100 疎通確認試験装置
101 制御部
102 入力部
103 出力部
104 シリアル接続部
105 LAN接続部
106 記憶部
107 装置情報
108 スイッチ設定情報
109 スイッチ制御試験ツール
110 試験用設定情報作成ツール
200 試験対象L2スイッチ(試験対象スイッチ)
201 制御部
202、202a、202b LANポート(ポート)
203 コンソールポート
204 記憶部
205 設定情報
206 ポートステータス情報
300 接続用L3スイッチ(接続用スイッチ)
301 制御部
302、302a、302b LANポート(ポート)
303 LANポート
304 記憶部
305 設定情報
306 試験用設定情報
307 ポートステータス情報
400、400a、400b LANケーブル(第1ケーブル)
401 LANケーブル(第2ケーブル)
402 シリアルケーブル(第3ケーブル)
1 Communication
203
303
401 LAN cable (second cable)
402 Serial cable (3rd cable)
Claims (10)
前記接続用スイッチの複数のポートと前記試験対象スイッチの複数のポートとがそれぞれ第1ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記接続用スイッチとが第2ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記試験対象スイッチとが第3ケーブルを介して通信可能に接続された状態で、
前記試験対象スイッチから、前記試験対象スイッチの前記複数のポートに係る設定情報及びポートステータス情報を、前記第3ケーブルを介して取得する処理と、
取得した前記設定情報及び前記ポートステータス情報に基づいて、前記試験対象スイッチの前記複数のポートの疎通確認試験を行うために用いられる前記接続用スイッチの前記複数のポートに係る試験用設定情報を作成する処理と、
作成された前記試験用設定情報を、前記第2ケーブルを介して前記接続用スイッチに記憶させる処理と、
前記疎通確認試験装置から前記第2ケーブルを介して前記接続用スイッチを制御し、前記接続用スイッチから前記第1ケーブルを介して前記試験対象スイッチの前記複数のポートの全てについて疎通確認試験を行う処理と、
を行う疎通確認試験装置。 It is a communication confirmation test device that performs a communication confirmation test of the switch to be tested using a connection switch.
The plurality of ports of the connection switch and the plurality of ports of the test target switch are connected to each other so as to be communicable via the first cable, and the communication confirmation test device and the connection switch connect the second cable. In a state where the communication confirmation test device and the test target switch are communicably connected via a third cable and are communicably connected via the third cable.
A process of acquiring setting information and port status information related to the plurality of ports of the test target switch from the test target switch via the third cable.
Based on the acquired setting information and the port status information, test setting information relating to the plurality of ports of the connection switch used for performing the communication confirmation test of the plurality of ports of the test target switch is created. Processing to do and
A process of storing the created test setting information in the connection switch via the second cable, and
The communication confirmation test device controls the connection switch via the second cable, and the communication confirmation test is performed on all of the plurality of ports of the switch to be tested from the connection switch via the first cable. Processing and
Communication confirmation test equipment to perform.
前記疎通確認試験を行う処理は、前記接続用スイッチの前記ポートの全てを活性化した状態で行う、
請求項1記載の疎通確認試験装置。 The communication confirmation test apparatus has the plurality of ports of the test target switch based on the setting information acquired through the second cable after the process of storing the test setting information in the connection switch. A process of activating all of the ports of the connection switch connected to the available ports is performed.
The process of performing the communication confirmation test is performed in a state where all the ports of the connection switch are activated.
The communication confirmation test apparatus according to claim 1.
前記疎通確認試験を行う処理は、前記差異があるか否かを確認する処理で差異がないときに行う、
請求項2記載の疎通確認試験装置。 After the activation process, the communication confirmation test device compares the number of link-ups in the acquired port status information with the number of available ports in the setting information, and confirms whether or not there is a difference. And
The process of performing the communication confirmation test is performed when there is no difference in the process of confirming whether or not there is a difference.
The communication confirmation test apparatus according to claim 2.
前記試験対象スイッチは、L2スイッチである、
請求項1乃至3のいずれか一に記載の疎通確認試験装置。 The connection switch is an L3 switch.
The test target switch is an L2 switch.
The communication confirmation test apparatus according to any one of claims 1 to 3.
前記第3ケーブルは、シリアルケーブルである、
請求項1乃至4のいずれか一に記載の疎通確認試験装置。 The first cable and the second cable are LAN cables, respectively.
The third cable is a serial cable.
The communication confirmation test apparatus according to any one of claims 1 to 4.
取得した前記設定情報に基づいて、設定されている各VLANに所属しているLANポート数の最大数を計算し、計算された前記最大数と同数のVRFを設定する処理と、
設定した各前記VRFに、取得した前記設定情報に設定されているVLANと同数のVLANを設定する処理と、
取得した前記設定情報において、各前記VLANに対応するVIPアドレスがあるか否かを判断する処理と、
前記VIPアドレスがある場合、前記VIPアドレスに係るサブネットマスク設定に基づいて、未使用アドレスの中より、任意のアドレスを、各前記VLANに設定する処理と、
前記VIPアドレスがない場合、未使用アドレス帯より、任意のアドレスを、各前記VLANに設定する処理と、
前記接続用スイッチの前記複数のポートに、VLAN−ID以外について、取得した前記設定情報に設定されている前記試験対象スイッチの前記複数のポートの設定情報と同じ設定情報を設定する処理と、
前記接続用スイッチの前記複数のポートに、VLAN−IDを異なるようにして、取得した前記設定情報に設定されている前記試験対象スイッチの前記複数のポートのVLANと同じネットワークを各VRFに1つずつ設定する処理と、
前記処理による各設定を含む試験用設定情報を作成する処理と、
を行う請求項5記載の疎通確認試験装置。 In the process of creating the test setting information,
Based on the acquired setting information, the maximum number of LAN ports belonging to each set VLAN is calculated, and the same number of VRFs as the calculated maximum number is set.
A process of setting the same number of VLANs as the VLANs set in the acquired setting information in each of the set VRFs,
In the acquired setting information, a process of determining whether or not there is a VIP address corresponding to each of the VLANs, and
If there is a VIP address, a process of setting an arbitrary address from unused addresses in each VLAN based on the subnet mask setting related to the VIP address, and
If there is no VIP address, a process to set an arbitrary address in each VLAN from the unused address band, and
A process of setting the same setting information as the setting information of the plurality of ports of the test target switch set in the acquired setting information other than the VLAN-ID to the plurality of ports of the connection switch.
Each VRF has the same network as the VLANs of the plurality of ports of the test target switch set in the acquired setting information so that the VLAN-IDs are different for the plurality of ports of the connection switch. The process of setting each and
The process of creating test setting information including each setting by the above process, and
The communication confirmation test apparatus according to claim 5.
請求項1乃至6のいずれか一に記載の疎通確認試験装置。 The communication confirmation test is performed by executing the ping command or the traceroute command.
The communication confirmation test apparatus according to any one of claims 1 to 6.
前記接続用スイッチと、
前記第1乃至第3ケーブルと、
を備える疎通確認試験システム。 The communication confirmation test apparatus according to any one of claims 1 to 7.
With the connection switch
With the first to third cables
Communication confirmation test system equipped with.
前記接続用スイッチの複数のポートと前記試験対象スイッチの複数のポートとがそれぞれ第1ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記接続用スイッチとが第2ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記試験対象スイッチとが第3ケーブルを介して通信可能に接続された状態で、
前記疎通確認試験装置において、前記試験対象スイッチから、前記試験対象スイッチの前記複数のポートに係る設定情報及びポートステータス情報を、前記第3ケーブルを介して取得するステップと、
前記疎通確認試験装置において、取得した前記設定情報及び前記ポートステータス情報に基づいて、前記試験対象スイッチの前記複数のポートの疎通確認試験を行うために用いられる前記接続用スイッチの前記複数のポートに係る試験用設定情報を作成するステップと、
前記疎通確認試験装置において、作成された前記試験用設定情報を、前記第2ケーブルを介して前記接続用スイッチに記憶させるステップと、
前記疎通確認試験装置から前記第2ケーブルを介して前記接続用スイッチを制御し、前記接続用スイッチから前記第1ケーブルを介して前記試験対象スイッチの前記複数のポートの全てについて疎通確認試験を行うステップと、
を含む疎通確認試験方法。 This is a communication confirmation test method that performs a communication confirmation test of the switch to be tested using a communication confirmation test device and a connection switch.
The plurality of ports of the connection switch and the plurality of ports of the test target switch are connected to each other so as to be communicable via the first cable, and the communication confirmation test device and the connection switch connect the second cable. In a state where the communication confirmation test device and the test target switch are communicably connected via a third cable and are communicably connected via the third cable.
In the communication confirmation test apparatus, a step of acquiring setting information and port status information related to the plurality of ports of the test target switch from the test target switch via the third cable.
Based on the acquired setting information and the port status information in the communication confirmation test device, the plurality of ports of the connection switch used for performing the communication confirmation test of the plurality of ports of the test target switch are used. Steps to create the test setting information and
A step of storing the test setting information created in the communication confirmation test device in the connection switch via the second cable, and
The communication confirmation test device controls the connection switch via the second cable, and the communication confirmation test is performed on all of the plurality of ports of the switch to be tested from the connection switch via the first cable. Steps and
Communication confirmation test method including.
前記接続用スイッチの複数のポートと前記試験対象スイッチの複数のポートとがそれぞれ第1ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記接続用スイッチとが第2ケーブルを介して通信可能に接続され、かつ、前記疎通確認試験装置と前記試験対象スイッチとが第3ケーブルを介して通信可能に接続された状態で、
前記試験対象スイッチから、前記試験対象スイッチの前記複数のポートに係る設定情報及びポートステータス情報を、前記第3ケーブルを介して取得する処理と、
取得した前記設定情報及び前記ポートステータス情報に基づいて、前記試験対象スイッチの前記複数のポートの疎通確認試験を行うために用いられる前記接続用スイッチの前記複数のポートに係る試験用設定情報を作成する処理と、
作成された前記試験用設定情報を、前記第2ケーブルを介して前記接続用スイッチに記憶させる処理と、
前記疎通確認試験装置から前記第2ケーブルを介して前記接続用スイッチを制御し、前記接続用スイッチから前記第1ケーブルを介して前記試験対象スイッチの前記複数のポートの全てについて疎通確認試験を行う処理と、
を実行させるプログラム。 This is a communication confirmation test performed by a communication confirmation test device that performs a communication confirmation test of the switch to be tested using a connection switch.
The plurality of ports of the connection switch and the plurality of ports of the test target switch are connected to each other so as to be communicable via the first cable, and the communication confirmation test device and the connection switch connect the second cable. In a state where the communication confirmation test device and the test target switch are communicably connected via a third cable and are communicably connected via the third cable.
A process of acquiring setting information and port status information related to the plurality of ports of the test target switch from the test target switch via the third cable.
Based on the acquired setting information and the port status information, test setting information relating to the plurality of ports of the connection switch used for performing the communication confirmation test of the plurality of ports of the test target switch is created. Processing to do and
A process of storing the created test setting information in the connection switch via the second cable, and
The communication confirmation test device controls the connection switch via the second cable, and the communication confirmation test is performed on all of the plurality of ports of the switch to be tested from the connection switch via the first cable. Processing and
A program that executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018106630A JP6867037B2 (en) | 2018-06-04 | 2018-06-04 | Communication confirmation test device, communication confirmation test method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2018106630A JP6867037B2 (en) | 2018-06-04 | 2018-06-04 | Communication confirmation test device, communication confirmation test method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2019213019A JP2019213019A (en) | 2019-12-12 |
JP6867037B2 true JP6867037B2 (en) | 2021-04-28 |
Family
ID=68847102
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018106630A Active JP6867037B2 (en) | 2018-06-04 | 2018-06-04 | Communication confirmation test device, communication confirmation test method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6867037B2 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7185045B2 (en) * | 2002-07-15 | 2007-02-27 | Sixnet, Llc | Ethernet interface device for reporting status via common industrial protocols |
AU2002354123A1 (en) * | 2002-11-28 | 2004-06-18 | Allied Telesis K.K. | Communication port control device and method thereof |
JP4255074B2 (en) * | 2004-03-26 | 2009-04-15 | 富士通株式会社 | Measuring instrument sharing control method and measuring instrument sharing system |
CN104320313A (en) * | 2014-11-28 | 2015-01-28 | 上海斐讯数据通信技术有限公司 | System and method for testing ports of interchanger |
JP2018006792A (en) * | 2016-06-27 | 2018-01-11 | 富士通株式会社 | Control device, test method, test program and communication system |
-
2018
- 2018-06-04 JP JP2018106630A patent/JP6867037B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2019213019A (en) | 2019-12-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2180638B1 (en) | System for configuring remote network devices to simulate a test network, method for designing a network, and corresponding computer program | |
US7440415B2 (en) | Virtual network addresses | |
TW548919B (en) | Methods for isolating a network fault | |
CN104780070B (en) | Network system and network management | |
CN104579727B (en) | A kind of method and apparatus for the network connection for managing network node | |
CN104685500A (en) | Providing services to virtual overlay network traffic | |
CN111800399B (en) | Information transmission method, device, equipment and storage medium | |
CN102508796B (en) | Serial port redirection method and system | |
CN108390937B (en) | Remote monitoring method, device and storage medium | |
CN102457421B (en) | Process for establishing a VPN connection between two networks | |
CN106790759A (en) | IPv4/IPv6 converting systems and method based on SDN | |
US20140169373A1 (en) | Relay server and relay communication system | |
US20110153841A1 (en) | Operation setting method of relay apparatus, relay apparatus, and storage medium stored with program | |
Mueller | Upgrading and repairing networks | |
TWI479843B (en) | Detection device for interface route and method thereof | |
JP6867037B2 (en) | Communication confirmation test device, communication confirmation test method, and program | |
JP2010263261A (en) | Network configuration device, information communication network, and automatic network construction method used for same | |
US9380130B2 (en) | Relay communication system and relay servers | |
JP2005258632A (en) | Conduction confirmation method of network storage device, and host computer | |
CN108768737A (en) | A kind of data switching method and apparatus | |
Hashimi et al. | Performance Evaluation of a Network Using Simulation Tools or Packet Tracer | |
CN112769852B (en) | Remote industrial laboratory access system | |
CN110753109B (en) | Gateway interconnection method, gateway device, storage medium and apparatus | |
CN112068500A (en) | Control system | |
JP4440752B2 (en) | Packet response device, monitoring device, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191002 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200826 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200901 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201015 |
|
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: 20210309 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210401 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6867037 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |