JP2022087693A - Network configuration identification device and method - Google Patents

Network configuration identification device and method Download PDF

Info

Publication number
JP2022087693A
JP2022087693A JP2020199764A JP2020199764A JP2022087693A JP 2022087693 A JP2022087693 A JP 2022087693A JP 2020199764 A JP2020199764 A JP 2020199764A JP 2020199764 A JP2020199764 A JP 2020199764A JP 2022087693 A JP2022087693 A JP 2022087693A
Authority
JP
Japan
Prior art keywords
trunk line
port
terminal
network
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020199764A
Other languages
Japanese (ja)
Inventor
貴彦 太田
Takahiko Ota
武志 神宮
Takeshi Jingu
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP2020199764A priority Critical patent/JP2022087693A/en
Publication of JP2022087693A publication Critical patent/JP2022087693A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

To identify a network configuration even in a case where a network apparatus which is unadaptable to acquisition of MAC address table information.SOLUTION: On the basis of port-address correspondence information included in MAC address table information 14B and MAC address information 14A, a trunk configuration identification unit 15C identifies a trunk configuration indicating a connection form relating to a trunk apparatus which could acquire the MAC address table information 14B, among network apparatuses. On the basis of the port-address correspondence information included in the MAC address table information 14B, the MAC address information 14A and the trunk configuration, a terminal apparatus identification unit 15D identifies a terminal apparatus which is directly connected to the trunk apparatus, and a terminal apparatus which is indirectly connected to the trunk apparatus via a non-trunk apparatus other than the trunk apparatus, among the network apparatuses.SELECTED DRAWING: Figure 1

Description

本発明は、IPネットワークに接続されている通信制御機器や端末機器などの各種接続機器に関する接続形態を、ネットワーク構成として特定するためのネットワーク構成特定技術に関する。 The present invention relates to a network configuration specifying technique for specifying a connection form of various connected devices such as communication control devices and terminal devices connected to an IP network as a network configuration.

近年IoT(Internet of Things)の普及により、従来のL2(レイヤ2)スイッチ(スイッチングハブ)、ハブ、ルータ、ゲートウェイなど、パケットの転送制御を行うネットワーク機器(通信制御機器)と、PCなどの情報処理端末のほか、IoTで用いられるセンサ、フィールド機器、コントローラなどの様々な端末機器とが、LANなどのIPネットワークに接続されるようになった。このような接続機器の増加により、IPネットワークのネットワーク構成が複雑化すると、ネットワーク構成全体を容易に把握できないため、トラブル発生時に原因箇所をすばやく特定することが難しくなる。 With the spread of IoT (Internet of Things) in recent years, conventional L2 (layer 2) switches (switching hubs), hubs, routers, gateways, and other network devices (communication control devices) that control packet transfer, and information such as PCs. In addition to processing terminals, various terminal devices such as sensors, field devices, and controllers used in IoT are now connected to IP networks such as LANs. If the network configuration of the IP network becomes complicated due to the increase in the number of connected devices, the entire network configuration cannot be easily grasped, and it becomes difficult to quickly identify the cause when a trouble occurs.

具体的には、作業者がネットワーク構成全体を把握できていない場合、トラブル発生状況の確認や保守の対象となる端末機器が、どのネットワーク機器さらにはどのポートに接続されているかを、特定することが難しい。したがって、このような場合には、作業者が現場に出向いて各接続機器の接続形態(接続状況)を目視で確認し、対象となる接続機器が、どのネットワーク機器さらにはどのポートに接続されているかを、特定する必要がある。このため、トラブル対応や保守に要する作業負担が大きくなるという問題点がある。 Specifically, if the worker does not understand the entire network configuration, identify which network device and which port the terminal device to be checked for trouble occurrence status and maintenance is connected to. Is difficult. Therefore, in such a case, the worker goes to the site to visually check the connection form (connection status) of each connected device, and the target connected device is connected to which network device and which port. It is necessary to specify whether or not. Therefore, there is a problem that the work load required for troubleshooting and maintenance becomes large.

従来、このようなネットワーク構成を可視化する技術として、特許文献1には、ネットワーク機器のうち、例えばARP(Address Resolution Protocol)を用いて、L2スイッチなどMACアドレステーブルを有するネットワーク機器から、MACアドレステーブル情報を取得し、得られたMACアドレステーブル情報から、各接続端末に関する物理的な接続形態、すなわちネットワーク構成を特定する技術が提案されている。これにより、IPネットワークに接続された任意の情報処理端末から、リモートでネットワーク構成を特定することができ、トラブル発生時に原因箇所をすばやく特定することができる。 Conventionally, as a technique for visualizing such a network configuration, Patent Document 1 describes a MAC address table from a network device having a MAC address table such as an L2 switch by using, for example, ARP (Address Resolution Protocol) among network devices. A technique has been proposed in which information is acquired and the physical connection form, that is, the network configuration, for each connected terminal is specified from the obtained MAC address table information. As a result, the network configuration can be remotely specified from any information processing terminal connected to the IP network, and the cause can be quickly identified when a trouble occurs.

特開2016-032226号公報Japanese Unexamined Patent Publication No. 2016-032226

前述した特許文献1の従来技術では、MACアドレステーブルを取得できることが前提となる。しかし、IPネットワークに接続されるネットワーク機器には、MACアドレステーブル情報を有するL2スイッチやL3(レイヤ3)スイッチだけでなく、元々MACアドレスを解釈しない、すなわちMACアドレステーブル情報を持たないハブもある。また、MACアドレステーブル情報を有していても、MACアドレステーブル情報の取得に対応していないネットワーク機器もある。したがって、MACアドレステーブル情報の取得に非対応のネットワーク機器が含まれる場合、ネットワーク構成を特定できないという問題点があった。 In the prior art of Patent Document 1 described above, it is a prerequisite that a MAC address table can be obtained. However, network devices connected to IP networks include not only L2 switches and L3 (layer 3) switches that have MAC address table information, but also hubs that do not originally interpret MAC addresses, that is, do not have MAC address table information. .. In addition, some network devices have MAC address table information but do not support acquisition of MAC address table information. Therefore, there is a problem that the network configuration cannot be specified when a network device that does not support the acquisition of MAC address table information is included.

本発明はこのような課題を解決するためのものであり、MACアドレステーブル情報の取得に非対応のネットワーク機器が含まれる場合でも、ネットワーク構成を特定することができるネットワーク構成特定技術を提供することを目的としている。 The present invention is for solving such a problem, and provides a network configuration specifying technique capable of specifying a network configuration even when a network device that does not support acquisition of MAC address table information is included. It is an object.

このような目的を達成するために、本発明にかかるネットワーク構成特定装置は、IPネットワークに接続されているネットワーク機器および端末機器からなる接続機器のすべてのMACアドレスを示すMACアドレス情報と、ネットワーク機器から取得したMACアドレステーブル情報とを記憶するように構成された記憶回路と、ネットワーク機器のMACアドレステーブル情報に含まれる、当該ネットワーク機器のポートと当該ポートに接続されている接続機器のMACアドレスとの対応関係を示すポート-アドレス対応情報と、MACアドレス情報とに基づいて、接続機器に関する接続形態を示すネットワーク構成を特定するように構成された制御回路とを備え、制御回路は、ポート-アドレス対応情報およびMACアドレス情報に基づいて、ネットワーク機器のうち、MACアドレステーブル情報を取得できた幹線機器に関する接続形態を示す幹線構成を特定するように構成された幹線構成特定部と、ポート-アドレス対応情報、MACアドレス情報、および幹線構成に基づいて、幹線機器に直接的に接続されている端末機器と、ネットワーク機器のうち幹線機器以外の非幹線機器を介して幹線機器に間接的に接続されている端末機器とを特定するように構成された端末機器特定部とを備えている。 In order to achieve such an object, the network configuration specifying device according to the present invention includes MAC address information indicating all MAC addresses of connected devices consisting of network devices and terminal devices connected to an IP network, and network devices. The storage circuit configured to store the MAC address table information acquired from, and the MAC address of the port of the network device and the connected device connected to the port included in the MAC address table information of the network device. The control circuit includes a port-address correspondence information indicating the correspondence relationship of the above and a control circuit configured to specify a network configuration indicating a connection form related to the connected device based on the MAC address information, and the control circuit is a port-address. Port-address correspondence with the trunk line configuration specifying unit configured to specify the trunk line configuration indicating the connection mode of the trunk line device for which the MAC address table information could be acquired among the network devices based on the correspondence information and the MAC address information. Based on the information, MAC address information, and trunk line configuration, the terminal device directly connected to the trunk line device and the network device are indirectly connected to the trunk line device via the non-trunk line device other than the trunk line device. It is equipped with a terminal device identification unit configured to identify the terminal device.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、前記幹線構成特定部が、前記幹線機器ごとに、当該幹線機器以外の幹線機器のMACアドレスが全て対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が末端幹線機器であると特定し、前記末端幹線機器以外の幹線機器ごとに、前記末端幹線機器が1つだけ対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が、前記末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定し、これら特定結果に基づいて前記幹線構成を特定するように構成したものである。 Further, in one configuration example of the network configuration specifying device according to the present invention, the presence or absence of a port in which the trunk line configuration specifying unit is associated with all the MAC addresses of trunk line devices other than the trunk line device for each trunk line device. If there is a port, identify that the trunk line device is a terminal trunk line device, and for each trunk line device other than the terminal trunk line device, there is a port to which only one terminal trunk line device is associated. If there is a port, identify the trunk line device as an intermediate trunk line device connected to the terminal trunk line device via a trunk line route, and specify the trunk line configuration based on these identification results. It is configured in.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、前記幹線構成特定部が、前記末端幹線機器以外の幹線機器ごとに、前記末端幹線機器が複数対応付けられているポートの有無を確認し、当該ポートがある場合、前記末端幹線機器以外の幹線機器のうち、前記末端幹線機器が対応付けられているポートを選択し、選択したポートのうち、当該ポートに対応付けられている幹線機器の数が最も少ないポートを有する幹線機器が、前記末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定するように構成したものである。 Further, in one configuration example of the network configuration specifying device according to the present invention, the trunk line configuration specifying unit has a port to which a plurality of terminal trunk line devices are associated with each trunk line device other than the terminal trunk line device. Check and if there is the port, select the port to which the terminal trunk line device is associated among the trunk line devices other than the terminal trunk line device, and among the selected ports, the trunk line associated with the port. The trunk line device having the port with the smallest number of devices is configured to identify the intermediate trunk line device connected to the terminal trunk line device via the trunk line path.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、端末機器特定部が、幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに1つの端末機器が接続されている場合、当該端末機器が当該幹線機器に直接的に接続されていると特定するように構成したものである。 Further, in one configuration example of the network configuration specifying device according to the present invention, the terminal device specifying unit has one terminal device in the port provided in the trunk line device to which no other trunk line device is connected. When it is connected, it is configured to specify that the terminal device is directly connected to the trunk line device.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、端末機器特定部が、幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに複数の端末機器が接続されている場合、これらの端末機器が当該幹線機器に非幹線機器を介して間接的に接続されていると特定するように構成したものである。 Further, in one configuration example of the network configuration specifying device according to the present invention, the terminal device specifying unit has a plurality of terminal devices in the ports provided in the trunk line device to which other trunk line devices are not connected. When connected, these terminal devices are configured to identify that they are indirectly connected to the trunk line device via a non-trunk line device.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、端末機器特定部が、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートに同一の端末機器が共通して接続されている場合、当該端末機器が非幹線機器を介して当該幹線機器間に間接的に接続されていると特定するように構成したものである。 Further, in one configuration example of the network configuration specifying device according to the present invention, the terminal device specifying unit has two trunk line devices connected to each port facing each other in the trunk line configuration, and is the same as these ports. When the terminal devices of the above are commonly connected, it is configured to specify that the terminal devices are indirectly connected between the trunk line devices via the non-trunk line devices.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、端末機器特定部が、前記幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が1つ接続されている場合、前記一方のポートを持つ幹線機器に、当該端末機器が非幹線機器を介して間接的に接続されていると特定するように構成したものである。 Further, in one configuration example of the network configuration specifying device according to the present invention, the terminal device specifying unit is connected to two trunk line devices facing each port in the trunk line configuration, and these ports are connected. When one terminal device is connected to only one of the ports, it is configured to specify that the terminal device is indirectly connected to the trunk line device having the one port via the non-main line device. It was done.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、端末機器特定部が、前記幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が複数接続されている場合、当該端末機器が対応付けられているポートのうち、当該ポートに対応付けられている幹線機器数が最も少ないポートを持つ幹線機器に、当該端末機器が非幹線機器を介して間接的に接続されていると特定するように構成したものである。 Further, in one configuration example of the network configuration specifying device according to the present invention, the terminal device specifying unit is connected to two trunk line devices facing each port in the trunk line configuration, and these ports are connected. When a plurality of terminal devices are connected to only one of the ports, the trunk line device having the port with the smallest number of trunk line devices associated with the port among the ports associated with the terminal device is selected. It is configured to identify that the terminal device is indirectly connected via a non-main line device.

また、本発明にかかる上記ネットワーク構成特定装置の一構成例は、前記端末機器特定部で生成された前記ネットワーク構成情報に基づいて、前記ネットワーク構成を可視化した可視化データを生成する可視化処理部をさらに備え、前記可視化データは、前記接続機器ごとに生成した、当該接続機器を示すアイコン、当該接続機器のアドレス情報、および当該接続機器が接続されているネットワーク機器のポート番号を含む表記と、これら表記を前記接続機器の接続形態に沿って階層的にツリー形式で接続する接続線とから構成されている。 Further, one configuration example of the network configuration specifying device according to the present invention further includes a visualization processing unit that generates visualization data that visualizes the network configuration based on the network configuration information generated by the terminal device specifying unit. The visualization data includes a notation including an icon indicating the connected device, an address information of the connected device, and a port number of the network device to which the connected device is connected, which are generated for each connected device, and these notations. Is composed of a connection line that connects in a tree format hierarchically according to the connection form of the connection device.

また、本発明にかかるネットワーク構成特定方法は、IPネットワークに接続されているネットワーク機器および端末機器からなる接続機器のすべてのMACアドレスを示すMACアドレス情報と、ネットワーク機器から取得したMACアドレステーブル情報とを記憶するように構成された記憶回路と、ネットワーク機器のMACアドレステーブル情報に含まれる、当該ネットワーク機器のポートと当該ポートに接続されている接続機器のMACアドレスとの対応関係を示すポート-アドレス対応情報と、MACアドレス情報とに基づいて、接続機器に関する接続形態を示すネットワーク構成を特定するように構成された制御回路とを備えるネットワーク構成特定装置、で用いられるネットワーク構成特定方法であって、制御回路が、ポート-アドレス対応情報およびMACアドレス情報に基づいて、ネットワーク機器のうち、MACアドレステーブル情報を取得できた幹線機器に関する接続形態を示す幹線構成を特定するように構成された幹線構成特定ステップと、制御回路が、ポート-アドレス対応情報、MACアドレス情報、および幹線構成に基づいて、幹線機器に直接的に接続されている端末機器と、ネットワーク機器のうち幹線機器以外の非幹線機器を介して幹線機器に間接的に接続されている端末機器とを特定するように構成された端末機器特定ステップとを備えている。 Further, the network configuration specifying method according to the present invention includes MAC address information indicating all MAC addresses of connected devices consisting of network devices and terminal devices connected to the IP network, and MAC address table information acquired from the network devices. Port-address indicating the correspondence between the port of the network device and the MAC address of the connected device connected to the port, which is included in the MAC address table information of the network device and the storage circuit configured to store A network configuration specifying method used in a network configuration specifying device including a control circuit configured to specify a network configuration indicating a connection form related to a connected device based on correspondence information and MAC address information. The control circuit is configured to specify the trunk line configuration indicating the connection form of the trunk line device for which the MAC address table information can be acquired among the network devices based on the port-address correspondence information and the MAC address information. Based on the step and control circuit of port-address correspondence information, MAC address information, and trunk line configuration, terminal devices that are directly connected to trunk line devices and non-trunk line devices other than trunk line devices among network devices are selected. It includes a terminal device identification step configured to identify a terminal device indirectly connected to the trunk line device via the network.

本発明によれば、MACアドレステーブル情報の取得に非対応のネットワーク機器が含まれる場合でも、ネットワーク構成を特定することが可能となる。 According to the present invention, it is possible to specify the network configuration even when a network device that does not support the acquisition of MAC address table information is included.

図1は、ネットワーク構成特定装置の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a network configuration specifying device. 図2は、IPネットワークの構成例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of an IP network configuration. 図3は、図2の各接続機器に付与されているアドレスを示す説明図である。FIG. 3 is an explanatory diagram showing an address assigned to each connected device of FIG. 2. 図4は、ネットワーク構成特定処理を示すフローチャートである。FIG. 4 is a flowchart showing a network configuration specifying process. 図5は、アドレス探索動作を示す説明図である。FIG. 5 is an explanatory diagram showing an address search operation. 図6は、MACアドレステーブル更新動作を示す説明図である。FIG. 6 is an explanatory diagram showing a MAC address table update operation. 図7は、MACアドレステーブル取得動作を示す説明図である。FIG. 7 is an explanatory diagram showing a MAC address table acquisition operation. 図8は、MACアドレステーブル情報(SW#A)の構成例を示す説明図である。FIG. 8 is an explanatory diagram showing a configuration example of MAC address table information (SW # A). 図9は、MACアドレステーブル情報(SW#B)の構成例を示す説明図である。FIG. 9 is an explanatory diagram showing a configuration example of MAC address table information (SW # B). 図10は、MACアドレステーブル情報(SW#C)の構成例を示す説明図である。FIG. 10 is an explanatory diagram showing a configuration example of MAC address table information (SW # C). 図11は、幹線構成特定処理を示すフローチャートである。FIG. 11 is a flowchart showing a trunk line configuration specifying process. 図12は、幹線構成特定処理例を示す説明図である。FIG. 12 is an explanatory diagram showing an example of trunk line configuration specifying processing. 図13は、幹線構成特定処理例(末端幹線機器が複数の場合)を示す説明図である。FIG. 13 is an explanatory diagram showing an example of trunk line configuration specifying processing (when there are a plurality of terminal trunk line devices). 図14は、端末機器特定処理を示すフローチャートである。FIG. 14 is a flowchart showing a terminal device identification process. 図15は、端末機器特定処理を示すフローチャート(続き)である。FIG. 15 is a flowchart (continued) showing a terminal device identification process. 図16は、端末機器(直接接続)の特定例を示す説明図である。FIG. 16 is an explanatory diagram showing a specific example of a terminal device (direct connection). 図17は、端末機器(間接接続)の特定例を示す説明図である。FIG. 17 is an explanatory diagram showing a specific example of a terminal device (indirect connection). 図18は、端末機器(幹線機器間接続)の特定例を示す説明図である。FIG. 18 is an explanatory diagram showing a specific example of a terminal device (connection between trunk line devices). 図19は、ネットワーク構成情報の可視化例を示す説明図である。FIG. 19 is an explanatory diagram showing an example of visualization of network configuration information.

次に、本発明の一実施の形態について図面を参照して説明する。
[ネットワーク構成特定装置]
まず、図1を参照して、本発明の第1の実施の形態にかかるネットワーク構成特定装置10について説明する。図1は、ネットワーク構成特定装置の構成を示すブロック図である。
このネットワーク構成特定装置10は、全体としてPCやサーバ装置などの情報処理装置からなり、特定対象となるLANなどのIPネットワークNWに接続されて、IPネットワークNWに接続されているネットワーク機器や端末機器などの接続機器とデータ通信を行うことにより、これら接続機器に関する接続形態を示すネットワーク構成を特定して、可視化する装置である。
Next, an embodiment of the present invention will be described with reference to the drawings.
[Network configuration identification device]
First, with reference to FIG. 1, the network configuration specifying device 10 according to the first embodiment of the present invention will be described. FIG. 1 is a block diagram showing a configuration of a network configuration specifying device.
The network configuration specifying device 10 is composed of an information processing device such as a PC or a server device as a whole, and is connected to an IP network NW such as a LAN to be specified, and is a network device or a terminal device connected to the IP network NW. It is a device that identifies and visualizes the network configuration showing the connection form related to these connected devices by performing data communication with the connected devices such as.

以下では、L2(レイヤ2)スイッチ、L3(レイヤ3)スイッチ、ハブ、ルータ、ゲートウェイなど、パケットの転送制御を行う機器をネットワーク機器(通信制御機器)という。また、PCなどの情報処理端末のほか、IoT(Internet of Things)で用いられるセンサ、フィールド機器、コントローラなどの様々な機器を端末機器という。
また、ネットワーク機器のうち、パケットの転送制御に用いるMACアドレステーブル情報を取得できた機器を幹線機器といい、取得できなかった機器を非幹線機器という。
Hereinafter, devices that control packet transfer, such as L2 (layer 2) switches, L3 (layer 3) switches, hubs, routers, and gateways, are referred to as network devices (communication control devices). In addition to information processing terminals such as PCs, various devices such as sensors, field devices, and controllers used in IoT (Internet of Things) are called terminal devices.
Among network devices, devices that can acquire MAC address table information used for packet transfer control are called trunk devices, and devices that cannot acquire them are called non-trunk devices.

また、以下では、IPネットワークNWが図2に示すネットワーク構成を有しており、各接続機器に対して図3に示すようなアドレスが付与されているものとする。図2に示すように、IPネットワークNWは、5つのネットワーク機器と5つの端末機器とから構成されている。図2は、IPネットワークの構成例を示す説明図である。図3は、図2の各接続機器に付与されているアドレスを示す説明図である。 Further, in the following, it is assumed that the IP network NW has the network configuration shown in FIG. 2 and the address as shown in FIG. 3 is assigned to each connected device. As shown in FIG. 2, the IP network NW is composed of five network devices and five terminal devices. FIG. 2 is an explanatory diagram showing an example of an IP network configuration. FIG. 3 is an explanatory diagram showing an address assigned to each connected device of FIG. 2.

図2に示すように、ネットワーク機器は、3つのL2スイッチSW#A,#B,#Cと2つのハブHUB#X,#Yから構成されている。このうち、SW#A,#B,#Cは、MACアドレステーブル情報を取得可能な幹線機器であり、HUB#X,#Yは、MACアドレステーブル情報を取得不可能な非幹線機器である。また、端末機器は、5つのパーソナルコンピュータPC#0,#1,#2,#3,#4から構成されている。このうち、PC#0がネットワーク構成特定装置10に相当する。 As shown in FIG. 2, the network device is composed of three L2 switches SW # A, # B, # C and two hubs HUB # X, # Y. Of these, SW # A, # B, and #C are trunk line devices that can acquire MAC address table information, and HUB # X and # Y are non-trunk line devices that cannot acquire MAC address table information. Further, the terminal device is composed of five personal computers PCs # 0, # 1, # 2, # 3, # 4. Of these, PC # 0 corresponds to the network configuration specifying device 10.

図2に示すように、SW#A,#B,#Cは、それぞれ5つのポート(接続ポート)P1,P2,P3,P4,P5を備えている。SW#AのP5はHUB#Xと接続されており、SW#AのP1はSW#CのP4と接続されており、SW#AのP4はPC0と接続されている。HUB#X,#Yは、それぞれ5つのポート(接続ポート)を備えているものとする。HUB#XはPC#2,SW#BのP1と接続されている。SW#BのP2はPC#1と接続されている。SW#CのP2はHUB#Yと接続されている。HUB#YはPC#3,#4と接続されている。 As shown in FIG. 2, SW # A, # B, and #C each include five ports (connection ports) P1, P2, P3, P4, and P5. P5 of SW # A is connected to HUB # X, P1 of SW # A is connected to P4 of SW # C, and P4 of SW # A is connected to PC0. It is assumed that HUB # X and #Y each have five ports (connection ports). HUB # X is connected to P1 of PC # 2 and SW # B. P2 of SW # B is connected to PC # 1. P2 of SW # C is connected to HUB # Y. HUB # Y is connected to PCs # 3 and # 4.

図3に示すように、これら接続機器には、IPアドレスとMACアドレスが付与されている。SW#A,#B,#Cには、IPアドレス「192.168.1.10」,「192.168.1.11」,「192.168.1.12」と、MACアドレス「XX:XX:XX:XX:XX:10」,「XX:XX:XX:XX:XX:11」,「XX:XX:XX:XX:XX:12」とが付与されている。なお、一般的なHUBの多くは、IPアドレスやMACアドレスを持たない。このため、以下の説明では、HUB#X,#Yは、IPアドレスおよびMACアドレスを持たないものとする。また、図2では、HUB#X,#Yにポート番号が記載されているが、HUB#X,#YはMACアドレステーブル情報を持たないため、接続機器が接続されているポートを特定することはできない。このため、HUB#X,#Yの具体的なポート番号は省略して説明する。 As shown in FIG. 3, IP addresses and MAC addresses are assigned to these connected devices. For SW # A, # B, and #C, the IP addresses "192.168.1.10", "192.168.1.11", "192.168.1.12" and the MAC addresses "XX: XX: XX: XX: XX: 10", " "XX: XX: XX: XX: XX: 11" and "XX: XX: XX: XX: XX: 12" are assigned. Most general HUBs do not have an IP address or MAC address. Therefore, in the following description, it is assumed that HUB # X and #Y do not have an IP address and a MAC address. Further, in FIG. 2, the port numbers are described in HUB # X and # Y, but since HUB # X and # Y do not have MAC address table information, the port to which the connected device is connected should be specified. Can't. Therefore, the specific port numbers of HUB # X and #Y will be omitted.

PC#0,#1,#2,#3,#4には、IPアドレス「192.168.1.100」,「192.168.1.101」,「192.168.1.102」,「192.168.1.103」,「192.168.1.104」と、MACアドレス「ZZ:ZZ:ZZ:ZZ:ZZ:100」,「ZZ:ZZ:ZZ:ZZ:ZZ:101」,「ZZ:ZZ:ZZ:ZZ:ZZ:102」,「ZZ:ZZ:ZZ:ZZ:ZZ:103」,「ZZ:ZZ:ZZ:ZZ:ZZ:104」とが付与されている。
なお、これらネットワーク構成は、説明を容易とするための例であり、これに限定されるものではない。他のネットワーク構成であっても、本発明を同様に適用でき、同様の効果を奏することができる。
For PC # 0, # 1, # 2, # 3, # 4, the IP addresses "192.168.1.100", "192.168.1.101", "192.168.1.102", "192.168.1.103", "192.168.1.104" , MAC address "ZZ: ZZ: ZZ: ZZ: ZZ: 100", "ZZ: ZZ: ZZ: ZZ: ZZ: 101", "ZZ: ZZ: ZZ: ZZ: ZZ: 102", "ZZ: ZZ: "ZZ: ZZ: ZZ: 103" and "ZZ: ZZ: ZZ: ZZ: ZZ: 104" are given.
It should be noted that these network configurations are examples for facilitating explanation, and are not limited thereto. The present invention can be similarly applied to other network configurations, and the same effects can be obtained.

[ネットワーク構成特定装置の構成]
次に、図1を参照して、本実施の形態にかかるネットワーク構成特定装置10の構成について詳細に説明する。
図1に示すように、ネットワーク構成特定装置10は、主な回路部として、通信I/F11、操作入力回路12、表示回路13、記憶回路14、および制御回路15を備えている。
[Configuration of network configuration specific device]
Next, with reference to FIG. 1, the configuration of the network configuration specifying device 10 according to the present embodiment will be described in detail.
As shown in FIG. 1, the network configuration specifying device 10 includes a communication I / F 11, an operation input circuit 12, a display circuit 13, a storage circuit 14, and a control circuit 15 as main circuit units.

[通信I/F]
通信I/F11は、通信回線Lを介してIPネットワークNWと接続されて、各接続機器との間でデータ通信を行うことにより、各接続機器のアドレス情報や幹線機器のMACアドレステーブル情報を取得するように構成されている。
[操作入力回路]
操作入力回路12は、キーボード、マウス、タッチパネルなどの操作入力装置からなり、オペレータの操作を検出して制御回路15へ出力するように構成されている。
[表示回路]
表示回路13は、LCDなどの画面表示装置からなり、制御回路15から出力された、メニュー画面、設定画面、ネットワーク構成特定結果画面などの各種画面情報を画面表示するように構成されている。
[Communication I / F]
The communication I / F 11 is connected to the IP network NW via the communication line L, and obtains the address information of each connected device and the MAC address table information of the trunk line device by performing data communication with each connected device. It is configured to do.
[Operation input circuit]
The operation input circuit 12 includes an operation input device such as a keyboard, a mouse, and a touch panel, and is configured to detect an operator's operation and output it to the control circuit 15.
[Display circuit]
The display circuit 13 is composed of a screen display device such as an LCD, and is configured to display various screen information such as a menu screen, a setting screen, and a network configuration specific result screen output from the control circuit 15.

[記憶回路]
記憶回路14は、ハードディスクや半導体メモリなどの記憶装置からなり、制御回路15でのネットワーク構成特定処理に用いる各種の処理データやプログラム14Pを記憶するように構成されている。
[プログラム]
プログラム14Pは、制御回路15のCPUと協働することにより、制御回路15でのネットワーク構成特定処理に用いる各種の処理部を実現するためのプログラムである。このプログラム14Pは、ネットワーク構成特定装置10に通信回線を介して接続された外部装置や記録媒体(ともに図示せず)から、予め記憶回路14へ格納される。
[Memory circuit]
The storage circuit 14 is composed of a storage device such as a hard disk or a semiconductor memory, and is configured to store various processing data and a program 14P used for network configuration specifying processing in the control circuit 15.
[program]
The program 14P is a program for realizing various processing units used for network configuration specifying processing in the control circuit 15 by cooperating with the CPU of the control circuit 15. This program 14P is stored in advance in the storage circuit 14 from an external device or a recording medium (both not shown) connected to the network configuration specifying device 10 via a communication line.

記憶回路14で記憶する主な処理データとして、MACアドレス情報14A、MACアドレステーブル情報14B、幹線構成情報14C、およびネットワーク構成情報14Dがある。
[MACアドレス情報]
MACアドレス情報14Aは、各接続機器のMACアドレスを示す情報であり、一般的には、図3に示すように、IPアドレスとの組として記憶されている。なお、HUB#X,#Yは、IPアドレスやMACアドレスを持たないため、「-」表記となっている。
[MACアドレステーブル情報]
MACアドレステーブル情報14Bは、一般的なL2スイッチが有するMACアドレステーブル情報であり、後述する図8~図10に示すように、ネットワーク機器のポートと当該ポートに接続されている接続機器のMACアドレスとの対応関係を示すポート-アドレス対応情報が含まれている。なお、HUB#X,#Yは、MACアドレスを持たないため、HUB#X,#Yは、MACアドレステーブル情報14Bに含まれていない。
The main processing data stored in the storage circuit 14 includes MAC address information 14A, MAC address table information 14B, trunk line configuration information 14C, and network configuration information 14D.
[MAC address information]
The MAC address information 14A is information indicating the MAC address of each connected device, and is generally stored as a set with an IP address as shown in FIG. Since HUB # X and #Y do not have an IP address or a MAC address, they are indicated by "-".
[MAC address table information]
The MAC address table information 14B is the MAC address table information possessed by a general L2 switch, and as shown in FIGS. 8 to 10 described later, the MAC address of the port of the network device and the connected device connected to the port. Contains port-address correspondence information indicating the correspondence with. Since HUB # X and #Y do not have a MAC address, HUB # X and #Y are not included in the MAC address table information 14B.

[幹線構成情報]
幹線構成情報14Cは、ネットワーク機器のうちMACアドレステーブルを取得可能な幹線機器に関する接続形態を示す情報である。幹線構成情報14Cは、後述する図12に示すように、幹線機器間を接続する幹線経路ごとに、当該幹線経路の両端に接続された幹線機器を示すID(例えばMACアドレス)と、その接続ポートすなわち幹線ポートとの組から構成されている。
[Main line configuration information]
The trunk line configuration information 14C is information indicating a connection form of the trunk line device that can acquire the MAC address table among the network devices. As shown in FIG. 12, which will be described later, the trunk line configuration information 14C includes an ID (for example, a MAC address) indicating the trunk line devices connected to both ends of the trunk line route and a connection port thereof for each trunk line route connecting the trunk line devices. That is, it is composed of a pair with a trunk line port.

[ネットワーク構成情報]
ネットワーク構成情報14Dは、各接続機器の接続形態を示す情報であり、どのネットワーク機器、さらにはどのポートに、どのネットワーク機器やどの端末機器が接続されているかを示している。ネットワーク構成情報14Dは、後述する図19に示すように、ツリー形式で、可視表示することができる。
[Network configuration information]
The network configuration information 14D is information indicating a connection form of each connected device, and indicates which network device and which terminal device is connected to which network device and further to which port. The network configuration information 14D can be visually displayed in a tree format as shown in FIG. 19 described later.

[制御回路]
制御回路15は、CPUとその周辺回路を有し、記憶回路14からプログラム14Pを読み出してCPUと協働させることにより、制御回路15でのネットワーク構成特定処理に用いる各種の処理部を実現するように構成されている。
制御回路15は、主な処理部として、アドレス探索部15A、テーブル取得部15B、幹線構成特定部15C、端末機器特定部15D、および可視化処理部15Eを備えている。
[Control circuit]
The control circuit 15 has a CPU and its peripheral circuits, and by reading the program 14P from the storage circuit 14 and cooperating with the CPU, various processing units used for the network configuration specifying process in the control circuit 15 are realized. It is configured in.
The control circuit 15 includes an address search unit 15A, a table acquisition unit 15B, a trunk line configuration specifying unit 15C, a terminal device specifying unit 15D, and a visualization processing unit 15E as main processing units.

[アドレス探索部]
アドレス探索部15Aは、通信I/F11を介してIPネットワークNWに接続されている各接続機器のアドレスを探索して、各接続機器からMACアドレスを取得し、記憶回路14のMACアドレス情報14Aに保存するように構成されている。MACアドレスの取得方法としては、ARP(Address Resolution Protocol)、NS(Neighbor Solicitation/IPv6)、MLD(Multicast Listener Discovery/IPv6)などの一般的な既知のアドレス解決技術を用いて、指定したIPアドレスの機器からMACアドレスを取得する方法がある。なお、各接続機器のIPアドレスについては、予め設定しておいたものを用いてもよく、指定された範囲でIPアドレスを順に生成して探索してもよい。
[Address Search Unit]
The address search unit 15A searches for the address of each connected device connected to the IP network NW via the communication I / F11, acquires the MAC address from each connected device, and converts it into the MAC address information 14A of the storage circuit 14. It is configured to save. As a MAC address acquisition method, a specified IP address is obtained using a general known address resolution technology such as ARP (Address Resolution Protocol), NS (Neighbor Solicitation / IPv6), and MLD (Multicast Listener Discovery / IPv6). There is a way to get the MAC address from the device. As the IP address of each connected device, a preset IP address may be used, or IP addresses may be sequentially generated and searched within a specified range.

[テーブル取得部]
テーブル取得部15Bは、通信I/F11を介してIPネットワークNWに接続されているネットワーク機器のうち、MACアドレステーブル情報を取得可能な幹線機器から、MACアドレステーブル情報14Bを取得して、記憶回路14に保存するように構成されている。MACアドレステーブル情報14Bの取得方法としては、一般的なSNMP(Simple Network Management Protocol)などの一般的な既知のネットワーク管理プロトコルを用いて、指定した幹線機器からMACアドレステーブル情報14Bを取得する方法がある。
[Table acquisition section]
The table acquisition unit 15B acquires the MAC address table information 14B from the trunk line device capable of acquiring the MAC address table information among the network devices connected to the IP network NW via the communication I / F11, and stores the storage circuit. It is configured to be stored in 14. As a method of acquiring MAC address table information 14B, a method of acquiring MAC address table information 14B from a specified trunk line device using a general known network management protocol such as general SNMP (Simple Network Management Protocol) is used. be.

[幹線構成特定部]
幹線構成特定部15Cは、記憶回路14のMACアドレス情報14Aと、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報とに基づいて、幹線機器に関する接続形態を示す幹線構成を特定し、特定結果を記憶回路14の幹線構成情報14Cに保存するように構成されている。
[Main line configuration specific part]
The trunk line configuration specifying unit 15C has a trunk line configuration showing a connection mode related to the trunk line device based on the MAC address information 14A of the storage circuit 14 and the port-address correspondence information included in the MAC address table information 14B of the storage circuit 14. Is specified, and the specific result is stored in the trunk line configuration information 14C of the storage circuit 14.

具体的には、幹線構成特定部15Cは、幹線機器ごとに、当該幹線機器以外の幹線機器のMACアドレスが全て対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が末端幹線機器であると特定し、末端幹線機器以外の幹線機器ごとに、末端幹線機器が1つだけ対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定し、これら特定結果に基づいて幹線構成を特定する。 Specifically, the trunk line configuration specifying unit 15C confirms whether or not there is a port associated with all the MAC addresses of the trunk line devices other than the trunk line device for each trunk line device, and if there is the port, the trunk line device. Is identified as a terminal trunk line device, and for each trunk line device other than the terminal trunk line device, check whether there is a port associated with only one terminal trunk line device, and if there is a port, the trunk line device is It is identified as an intermediate trunk line device connected to the terminal trunk line device via the trunk line route, and the trunk line configuration is specified based on these identification results.

また、幹線構成特定部15Cは、末端幹線機器以外の幹線機器ごとに、末端幹線機器が複数対応付けられているポートの有無を確認し、当該ポートがある場合、末端幹線機器以外の幹線機器のうち、末端幹線機器が対応付けられているポートを選択し、選択したポートのうち、当該ポートに対応付けられている幹線機器の数が最も少ないポートを有する幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定する。 Further, the trunk line configuration specifying unit 15C confirms whether or not there is a port to which a plurality of terminal trunk line devices are associated with each trunk line device other than the terminal trunk line device, and if there is such a port, the trunk line device other than the terminal trunk line device. Among them, the port to which the terminal trunk line device is associated is selected, and among the selected ports, the trunk line device having the port with the smallest number of trunk line devices associated with the port is the terminal trunk line device and the trunk line route. It is identified as an intermediate trunk line device connected via.

[端末機器特定部]
端末機器特定部15Dは、記憶回路14のMACアドレス情報14Aと、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報と、記憶回路14の幹線構成情報14Cとに基づいて、幹線機器に直接的に接続されている端末機器と、ネットワーク機器のうち幹線機器以外の非幹線機器を介して幹線機器に間接的に接続されている端末機器とを特定し、得られた特定結果と幹線構成情報14Cとに基づいて、各接続機器の接続形態を示すネットワーク構成情報14Dを生成し、記憶回路14に保存するように構成されている。
[Terminal device identification part]
The terminal device identification unit 15D is based on the MAC address information 14A of the storage circuit 14, the port-address correspondence information included in the MAC address table information 14B of the storage circuit 14, and the trunk line configuration information 14C of the storage circuit 14. , The identification obtained by identifying the terminal device directly connected to the trunk line device and the terminal device indirectly connected to the trunk line device via the non-trunk line device other than the trunk line device among the network devices. Based on the result and the trunk line configuration information 14C, the network configuration information 14D indicating the connection mode of each connected device is generated and stored in the storage circuit 14.

具体的には、端末機器特定部15Dは、幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに1つの端末機器が接続されている場合、当該端末機器が当該幹線機器に直接的に接続されていると特定する。また、端末機器特定部15Dは、幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに複数の端末機器が接続されている場合、これらの端末機器が当該幹線機器に非幹線機器を介して間接的に接続されていると特定する、また、端末機器特定部15Dは、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートに同一の端末機器が共通して接続されている場合、当該端末機器が非幹線機器を介して当該幹線機器間に間接的に接続されていると特定し、ネットワーク構成に当該非幹線機器を補完する。 Specifically, when one terminal device is connected to a port to which another trunk line device is not connected among the ports provided in the trunk line device, the terminal device specifying unit 15D corresponds to the terminal device. Identify that it is directly connected to the trunk line equipment. Further, in the terminal device identification unit 15D, when a plurality of terminal devices are connected to a port to which other trunk line devices are not connected among the ports provided in the trunk line device, these terminal devices are the trunk line devices. In the terminal device identification unit 15D, two trunk line devices are connected to each port facing each other in the trunk line configuration, and these are specified to be indirectly connected to each other via a non-trunk line device. When the same terminal device is commonly connected to the port of, it is specified that the terminal device is indirectly connected between the trunk line devices via the non-main line device, and the non-main line device is connected to the network configuration. To complement.

また、端末機器特定部15Dは、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が1つだけ接続されている場合、非幹線機器を介して当該一方のポートを持つ幹線機器に間接的に、当該端末機器が接続されていると特定し、ネットワーク構成に当該非幹線機器を補完する。また、端末機器特定部15Dは、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が複数接続されている場合、当該端末機器が対応付けられているポートのうち、当該ポートに対応付けられている幹線機器数が最も少ないポートを持つ幹線機器に、当該端末機器が間接的に接続されていると特定し、ネットワーク構成に当該非幹線機器を補完する。 Further, in the terminal device identification unit 15D, two trunk line devices are connected to each port in the trunk line configuration, and only one terminal device is connected to only one of these ports. If so, it is specified that the terminal device is indirectly connected to the trunk line device having one of the ports via the non-main line device, and the non-main line device is complemented in the network configuration. Further, in the terminal device identification unit 15D, when two trunk line devices are connected to each port in the trunk line configuration and a plurality of terminal devices are connected to only one of these ports. , Identify that the terminal device is indirectly connected to the trunk line device that has the port with the smallest number of trunk line devices associated with the port among the ports associated with the terminal device. Complement the non-main line equipment to the network configuration.

[可視化処理部]
可視化処理部15Eは、端末機器特定部15Dにより得られた記憶回路14のネットワーク構成情報14Dに基づいて、IPネットワークNWのネットワーク構成を可視化した可視化データを生成するように構成されている。この際、可視化データは、接続機器ごとに生成した、当該接続機器を示すアイコン、当該接続機器のアドレス情報、および、当該接続機器が接続されているネットワーク機器のポート番号を含む表記と、これら表記を接続機器の接続形態に沿って階層的にツリー形式で接続する接続線とから構成されている。
これにより、得られた可視化データを表示回路13で画面表示することにより、後述する図19に示すようなネットワーク構成表示画面が、可視表示される。なお、表示回路13ではなく他のPCで画面表示などに用いる場合、可視化処理部15Eにより、通信I/F11からIPネットワークNWを介して他のPCに転送出力してもよい。
[Visualization processing unit]
The visualization processing unit 15E is configured to generate visualization data that visualizes the network configuration of the IP network NW based on the network configuration information 14D of the storage circuit 14 obtained by the terminal device identification unit 15D. At this time, the visualization data includes a notation including an icon indicating the connected device, address information of the connected device, and a port number of the network device to which the connected device is connected, and these notations generated for each connected device. It is composed of connection lines that connect in a tree format hierarchically according to the connection form of the connected device.
As a result, by displaying the obtained visualization data on the screen on the display circuit 13, the network configuration display screen as shown in FIG. 19 to be described later is visually displayed. When the visualization processing unit 15E is used for screen display or the like on another PC instead of the display circuit 13, the communication I / F 11 may be transferred and output to the other PC via the IP network NW.

[本実施の形態の動作]
次に、図4を参照して、本実施の形態にかかるネットワーク構成特定装置10のネットワーク構成特定方法の動作について説明する。図4は、ネットワーク構成特定処理を示すフローチャートである。
ネットワーク構成特定装置10の制御回路15は、操作入力回路12からのオペレータ指示に応じて、図4のネットワーク構成特定処理を実行する。以下では、前述した図2のネットワーク構成で各接続機器が接続されているものとする。
[Operation of this embodiment]
Next, with reference to FIG. 4, the operation of the network configuration specifying method of the network configuration specifying device 10 according to the present embodiment will be described. FIG. 4 is a flowchart showing a network configuration specifying process.
The control circuit 15 of the network configuration specifying device 10 executes the network configuration specifying process of FIG. 4 in response to an operator instruction from the operation input circuit 12. In the following, it is assumed that each connected device is connected by the network configuration of FIG. 2 described above.

まず、制御回路15は、アドレス探索部15Aにより、通信I/F11を介してIPネットワークNWに接続されている各接続機器のアドレス範囲を総当たりで探索して、すべての接続機器からMACアドレスを取得し、記憶回路14のMACアドレス情報14Aに保存する(ステップS100)。
図5は、アドレス探索動作を示す説明図である。SW#Bのアドレスを探索する場合、図5に示すように、まず、ネットワーク構成特定装置10(PC#0)から、SW#BのIPアドレスを指定したARP要求を送信すると(ステップS200)、SW#BからMACアドレスを含むAPR応答が返送される(ステップS201)。このARP応答からMACアドレスが抽出されて、SW#BのMACアドレスとして、MACアドレス情報14Aに保存される。
First, the control circuit 15 uses the address search unit 15A to search the address range of each connected device connected to the IP network NW via the communication I / F11 in a round-robin manner, and obtains MAC addresses from all the connected devices. Acquired and stored in the MAC address information 14A of the storage circuit 14 (step S100).
FIG. 5 is an explanatory diagram showing an address search operation. When searching for the address of SW # B, as shown in FIG. 5, first, when the network configuration specifying device 10 (PC # 0) sends an ARP request specifying the IP address of SW # B (step S200), An APR response including the MAC address is returned from SW # B (step S201). The MAC address is extracted from this ARP response and stored in the MAC address information 14A as the MAC address of SW # B.

次に、制御回路15は、テーブル取得部15Bにより、通信I/F11を介してIPネットワークNWに対して、接続機器として存在しない架空のIPアドレスを送信元に指定した、通信経路の疎通確認要求を行うことにより、各幹線機器のMACアドレステーブルを更新する(ステップS101)。
図6は、MACアドレステーブル更新動作を示す説明図である。図6に示すように、まず、ネットワーク構成特定装置10(PC#0)から、架空のIPアドレスを送信元に指定したpingコマンドを送信する(ステップS210)。pingコマンドを受信した幹線機器、例えばSW#Bは、各接続機器に対してARP要求をブロードキャストで送信する(ステップS211)。これにより、ARP要求がネットワーク機器SW#A,SW#Cに届くため、幹線機器SW#A,#B,#CのMACアドレステーブルが更新される。
Next, the control circuit 15 requests the IP network NW via the communication I / F11 by the table acquisition unit 15B to specify a fictitious IP address that does not exist as a connection device as a transmission source for communication confirmation of the communication path. Is performed to update the MAC address table of each trunk line device (step S101).
FIG. 6 is an explanatory diagram showing a MAC address table update operation. As shown in FIG. 6, first, the network configuration specifying device 10 (PC # 0) transmits a ping command in which a fictitious IP address is specified as a source (step S210). The trunk line device that has received the ping command, for example, SW # B, broadcasts an ARP request to each connected device (step S211). As a result, the ARP request reaches the network devices SW # A and SW # C, so that the MAC address tables of the trunk line devices SW # A, # B and # C are updated.

一般に、MACアドレスを解釈するL2スイッチなどのネットワーク機器では、ある端末機器から他の端末機器に対するMACフレームを受信した場合、そのMACフレームに含まれる送信元のMACアドレスと、そのMACフレームの受信ポートとの組を学習して、自己のMACアドレステーブル(FDB:Forwarding Data Base)に登録しておくことにより、MACフレームの送信先ポートを効率よく決定している。登録された内容は、エージングタイムだけ経過した後に自動削除される。エージングタイムは可変設定できるが、一般的には300秒程度である。このため、MACアドレステーブル情報14Bの取得に先立って、通信経路の疎通確認を行うことにより、各幹線機器のMACアドレステーブルを更新すれば、最新のMACアドレステーブル情報14Bを取得できる。 Generally, in a network device such as an L2 switch that interprets a MAC address, when a MAC frame for another terminal device is received from one terminal device, the source MAC address included in the MAC frame and the receiving port of the MAC frame are received. By learning the pair with and registering it in its own MAC address table (FDB: Forwarding Data Base), the destination port of the MAC frame is efficiently determined. The registered contents are automatically deleted after the aging time has elapsed. The aging time can be set variably, but is generally about 300 seconds. Therefore, by updating the MAC address table of each trunk line device by confirming the communication of the communication path prior to the acquisition of the MAC address table information 14B, the latest MAC address table information 14B can be acquired.

続いて、制御回路15は、テーブル取得部15Bにより、通信I/F11を介して各幹線機器からMACアドレステーブル情報14Bを取得し、記憶回路14に保存する(ステップS102)。
図7は、MACアドレステーブル取得動作を示す説明図である。図7に示すように、まず、ネットワーク構成特定装置10(PC#0)から、例えばSNMPを用いてSW#BにMACアドレステーブルの参照要求を送信すると(ステップS220)、SW#BからMACアドレステーブル情報14Bが返送される(ステップS221)。これにより、返送されたMACアドレステーブル情報14Bが記憶回路14に保存される。
Subsequently, the control circuit 15 acquires the MAC address table information 14B from each trunk line device via the communication I / F 11 by the table acquisition unit 15B, and stores the MAC address table information 14B in the storage circuit 14 (step S102).
FIG. 7 is an explanatory diagram showing a MAC address table acquisition operation. As shown in FIG. 7, first, when a network configuration specifying device 10 (PC # 0) transmits a MAC address table reference request to SW # B using, for example, SNMP (step S220), the MAC address is sent from SW # B. The table information 14B is returned (step S221). As a result, the returned MAC address table information 14B is stored in the storage circuit 14.

図8は、MACアドレステーブル情報(SW#A)の構成例を示す説明図である。図9は、MACアドレステーブル情報(SW#B)の構成例を示す説明図である。図10は、MACアドレステーブル情報(SW#C)の構成例を示す説明図である。図8~図10に示すように、MACアドレステーブル情報14Bには、ネットワーク機器のポートと当該ポートに接続されている接続機器のMACアドレスとの対応関係を示すポート-アドレス対応情報が含まれている。例えば、図8に示すように、SW#AのMACアドレステーブル情報14Bには、SW#C,PC#3,PC#4がP1に対応付けられており、PC#0がP4に対応付けられており、SW#B,PC#1,PC#2がP5に対応付けられている。 FIG. 8 is an explanatory diagram showing a configuration example of MAC address table information (SW # A). FIG. 9 is an explanatory diagram showing a configuration example of MAC address table information (SW # B). FIG. 10 is an explanatory diagram showing a configuration example of MAC address table information (SW # C). As shown in FIGS. 8 to 10, the MAC address table information 14B includes port-address correspondence information indicating the correspondence between the port of the network device and the MAC address of the connected device connected to the port. There is. For example, as shown in FIG. 8, SW # C, PC # 3, and PC # 4 are associated with P1 and PC # 0 is associated with P4 in the MAC address table information 14B of SW # A. SW # B, PC # 1 and PC # 2 are associated with P5.

次に、制御回路15は、幹線構成特定部15Cにより、後述の図11に示す幹線構成特定処理を実行することにより、記憶回路14のMACアドレス情報14Aと、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報とに基づいて、幹線機器に関する接続形態を示す幹線構成を特定し、特定結果を記憶回路14の幹線構成情報14Cに保存する(ステップS103:幹線構成特定ステップ)。 Next, the control circuit 15 executes the trunk line configuration specifying process shown in FIG. 11 to be described later by the trunk line configuration specifying unit 15C, whereby the MAC address information 14A of the storage circuit 14 and the MAC address table information 14B of the storage circuit 14 are executed. Based on the port-address correspondence information included in, the trunk line configuration indicating the connection form related to the trunk line device is specified, and the specific result is saved in the trunk line configuration information 14C of the storage circuit 14 (step S103: trunk line configuration specifying step). ).

続いて、制御回路15は、端末機器特定部15Dにより、後述の図14に示す端末機器特定処理を実行することにより、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報と、記憶回路14の幹線構成情報14Cとに基づいて、幹線機器に直接的に接続されている端末機器と、ネットワーク機器のうち幹線機器以外の非幹線機器を介して幹線機器に間接的に接続されている端末機器とを特定し、得られた特定結果と幹線構成情報14Cとに基づいてネットワーク構成情報14Dを生成し、記憶回路14に保存する(ステップS104:端末機器特定ステップ)。 Subsequently, the control circuit 15 executes the terminal device identification process shown in FIG. 14, which will be described later, by the terminal device identification unit 15D, so that the port-address correspondence information included in the MAC address table information 14B of the storage circuit 14 And, based on the trunk line configuration information 14C of the storage circuit 14, the terminal device directly connected to the trunk line device and the network device are indirectly connected to the trunk line device via the non-trunk line device other than the trunk line device. The network configuration information 14D is generated based on the obtained specific result and the trunk line configuration information 14C, and stored in the storage circuit 14 (step S104: terminal device identification step).

この後、制御回路15は、可視化処理部15Eにより、端末機器特定部15Dで生成された記憶回路14のネットワーク構成情報14Dから可視化データを生成して、表示回路13で画面表示し(ステップS105)、一連のネットワーク構成特定処理を終了する。
これにより、後述する図19に示すようなネットワーク構成表示画面が、表示回路13で可視表示される。
After that, the control circuit 15 generates visualization data from the network configuration information 14D of the storage circuit 14 generated by the terminal device identification unit 15D by the visualization processing unit 15E, and displays the visualization data on the screen on the display circuit 13 (step S105). , Ends a series of network configuration identification processes.
As a result, the network configuration display screen as shown in FIG. 19, which will be described later, is visually displayed on the display circuit 13.

[幹線構成特定処理]
次に、図11を参照して、図4のステップS103における幹線構成特定処理について詳細に説明する。図11は、幹線構成特定処理を示すフローチャートである。
まず、幹線構成特定部15Cは、図11のステップS120~ステップS124により、幹線経路の末端に位置する末端幹線機器を特定する。
すなわち、幹線構成特定部15Cは、すべての幹線機器SW#A,SW#B,SW#Cから未選択の幹線機器を1つ選択する(ステップS120)。
続いて、幹線構成特定部15Cは、選択した当該幹線機器のMACアドレステーブル情報14Bを参照し(ステップS121)、当該幹線機器に設けられているポートのうち、他のすべての幹線機器が対応付けられているポートの有無を確認する(ステップS122)。
[Main line configuration identification process]
Next, with reference to FIG. 11, the trunk line configuration specifying process in step S103 of FIG. 4 will be described in detail. FIG. 11 is a flowchart showing a trunk line configuration specifying process.
First, the trunk line configuration specifying unit 15C identifies the terminal trunk line device located at the end of the trunk line route by steps S120 to S124 of FIG.
That is, the trunk line configuration specifying unit 15C selects one unselected trunk line device from all the trunk line devices SW # A, SW # B, and SW # C (step S120).
Subsequently, the trunk line configuration specifying unit 15C refers to the MAC address table information 14B of the selected trunk line device (step S121), and all the other trunk line devices among the ports provided in the trunk line device are associated with each other. It is confirmed whether or not there is a port (step S122).

ここで、他のすべての幹線機器が対応付けられているポートがある場合(ステップS122:YES)、幹線構成特定部15Cは、当該幹線機器を末端幹線機器として特定し(ステップS123)、後述のステップS124へ移行する。一方、他のすべての幹線機器が対応付けられているポートがない場合(ステップS122:NO)、後述のステップS124へ移行する。
この後、ステップS124において、幹線構成特定部15Cは、未選択の幹線機器の有無を確認し(ステップS124)、未選択の幹線機器がある場合(ステップS124:YES)、ステップS120に戻る。一方、未選択の幹線機器がない場合(ステップS124:NO)、後述するステップS125へ移行する。
Here, when there is a port to which all other trunk line devices are associated (step S122: YES), the trunk line configuration specifying unit 15C identifies the trunk line device as a terminal trunk line device (step S123), which will be described later. The process proceeds to step S124. On the other hand, when there is no port to which all the other trunk line devices are associated (step S122: NO), the process proceeds to step S124 described later.
After that, in step S124, the trunk line configuration specifying unit 15C confirms the presence or absence of the unselected trunk line device (step S124), and if there is an unselected trunk line device (step S124: YES), returns to step S120. On the other hand, when there is no unselected trunk line device (step S124: NO), the process proceeds to step S125 described later.

次に、幹線構成特定部15Cは、図11のステップS125~ステップS130により、末端幹線機器と接続されている中間幹線機器を特定する。
まず、幹線構成特定部15Cは、ステップS125において、末端幹線機器以外の未特定の幹線機器のうちから、未選択の幹線機器を1つ選択する(ステップS125)。
続いて、幹線構成特定部15Cは、選択した当該幹線機器のMACアドレステーブル情報14Bを参照し(ステップS126)、当該幹線機器に設けられているポートのうち、対応付けられている末端幹線機器が1つだけであるポートの有無を確認する(ステップS127)。この際、当該ポートに、末端幹線機器以外の接続機器が対応付けられていてもよい。
Next, the trunk line configuration specifying unit 15C identifies an intermediate trunk line device connected to the terminal trunk line device by steps S125 to S130 of FIG.
First, in step S125, the trunk line configuration specifying unit 15C selects one unselected trunk line device from the unspecified trunk line devices other than the terminal trunk line device (step S125).
Subsequently, the trunk line configuration specifying unit 15C refers to the MAC address table information 14B of the selected trunk line device (step S126), and among the ports provided in the trunk line device, the associated terminal trunk line device is used. Check for the presence or absence of only one port (step S127). At this time, a connected device other than the terminal trunk line device may be associated with the port.

ここで、対応付けられている末端幹線機器が1つだけであるポートがある場合(ステップS127:YES)、幹線構成特定部15Cは、当該幹線機器を中間幹線機器として特定し(ステップS128)、後述するステップS129へ移行する。一方、対応付けられている末端幹線機器が1つだけであるポートがない場合(ステップS127:NO)、後述するステップS129へ移行する。
この後、ステップS129において、幹線構成特定部15Cは、未特定の幹線機器のうち、未選択の幹線機器の有無を確認し(ステップS129)、未選択の幹線機器がある場合(ステップS129:YES)、ステップS125に戻る。一方、未選択の幹線機器がない場合(ステップS129:NO)、後述するステップS130へ移行する。
Here, when there is a port to which only one terminal trunk line device is associated (step S127: YES), the trunk line configuration specifying unit 15C identifies the trunk line device as an intermediate trunk line device (step S128). The process proceeds to step S129, which will be described later. On the other hand, when there is no port to which only one terminal trunk line device is associated (step S127: NO), the process proceeds to step S129 described later.
After that, in step S129, the trunk line configuration specifying unit 15C confirms the presence or absence of an unselected trunk line device among the unspecified trunk line devices (step S129), and if there is an unselected trunk line device (step S129: YES). ), Return to step S125. On the other hand, when there is no unselected trunk line device (step S129: NO), the process proceeds to step S130 described later.

次に、幹線構成特定部15Cは、このようにして特定した、末端幹線機器と中間幹線機器との特定結果に基づいて、幹線機器の接続形態を示す幹線構成を特定し、末端幹線機器と中間幹線機器とを結ぶ幹線経路ごとに、当該幹線経路の両端に接続された幹線機器を示すID(例えばMACアドレス)と、その接続ポートすなわち幹線ポートとの組から構成された幹線構成情報14Cを生成し、記憶回路14に保存する(ステップS130)。 Next, the trunk line configuration specifying unit 15C identifies the trunk line configuration indicating the connection form of the trunk line device based on the specific result of the terminal trunk line device and the intermediate trunk line device identified in this way, and identifies the trunk line configuration indicating the connection form of the trunk line device, and is intermediate between the terminal trunk line device and the intermediate trunk line device. For each trunk line route connecting to the trunk line equipment, an ID (for example, MAC address) indicating the trunk line equipment connected to both ends of the trunk line device and a trunk line configuration information 14C composed of a set of the connection port, that is, the trunk line port are generated. And store it in the storage circuit 14 (step S130).

図12は、幹線構成特定処理例を示す説明図である。まず、SW#BのMACアドレステーブル情報14Bを参照すると、SW#A,#CのすべてがP1に対応付けられており、SW#Bには、他のすべての幹線機器が対応付けられているポートP1が存在している。これにより、SW#Bより先には、幹線機器が接続されておらず、SW#Bは、末端幹線機器であると特定される(ステップS230)。 FIG. 12 is an explanatory diagram showing an example of trunk line configuration specifying processing. First, referring to the MAC address table information 14B of SW # B, all of SW # A and #C are associated with P1, and SW # B is associated with all other trunk line devices. Port P1 is present. As a result, the trunk line device is not connected before SW # B, and SW # B is identified as the terminal trunk line device (step S230).

同様に、SW#CのMACアドレステーブル情報14Bを参照すると、SW#A,#BのすべてがP4に対応付けられており、SW#Cには、他のすべての幹線機器が対応付けられているポートP4が存在している。これにより、SW#Cより先には、幹線機器が接続されておらず、SW#Cは、末端幹線機器であると特定される(ステップS231)。 Similarly, referring to the MAC address table information 14B of SW # C, all of SW # A and #B are associated with P4, and SW # C is associated with all other trunk line devices. The existing port P4 exists. As a result, the trunk line device is not connected before SW # C, and SW # C is identified as the terminal trunk line device (step S231).

次に、末端幹線機器として特定されたSW#B,#C以外のSW#AのMACアドレステーブル情報14Bを参照すると、SW#Aには、対応付けられている末端幹線機器SW#Bが1つだけであるP5と、対応付けられている末端幹線機器SW#Cが1つだけであるP1とが存在している。これにより、SW#Aは、末端幹線機器SW#B,#Cに接続された中間幹線機器であると特定される(ステップS232)。 Next, referring to the MAC address table information 14B of SW # A other than SW # B and #C specified as the terminal trunk line device, SW # A has 1 associated terminal trunk line device SW # B. There is only one P5 and P1 having only one associated terminal trunk line device SW # C. Thereby, SW # A is identified as an intermediate trunk line device connected to the terminal trunk line devices SW # B and #C (step S232).

これら特定結果から、末端幹線機器SW#B,#Cがそれぞれ中間幹線機器SW#Aに接続された幹線構成が特定される。これにより、SW#AとSW#Bを結ぶ幹線経路L1の両端に、SW#AのP5とSW#BのP1とが接続されており、SW#AとSW#Cを結ぶ幹線経路L2の両端に、SW#AのP1とSW#CのP4とが接続されていることを示す幹線構成情報14Cが生成される。
以上の処理により、図12に示すように、SW#AにSW#B,#Cが幹線経路L1,L2を介して接続されたネットワーク構成が特定済みとなる。
From these identification results, the trunk line configuration in which the terminal trunk line devices SW # B and #C are connected to the intermediate trunk line devices SW # A, respectively, is specified. As a result, P5 of SW # A and P1 of SW # B are connected to both ends of the trunk path L1 connecting SW # A and SW # B, and the trunk path L2 connecting SW # A and SW # C is connected. Trunk line configuration information 14C indicating that P1 of SW # A and P4 of SW # C are connected is generated at both ends.
By the above processing, as shown in FIG. 12, the network configuration in which SW # B and #C are connected to SW # A via the trunk routes L1 and L2 has been specified.

なお、図11および図12では、中間幹線機器がSW#Aだけである場合を例として説明したが、中間幹線機器が階層的に接続されている幹線構成も考えられる。この場合には、図11のステップS125~ステップS129に示した中間幹線機器特定処理を繰り返し実行すればよい。この際、ステップS127において、末端幹線機器に代えて、対応付けられている特定済みの中間幹線機器が1つだけであるポートの有無を確認すればよい。これにより、中間幹線機器間の幹線経路を特定することができる。 Although the case where the intermediate trunk line device is only SW # A has been described as an example in FIGS. 11 and 12, a trunk line configuration in which the intermediate trunk line devices are hierarchically connected is also conceivable. In this case, the intermediate trunk line device identification process shown in steps S125 to S129 of FIG. 11 may be repeatedly executed. At this time, in step S127, it may be confirmed whether or not there is a port having only one identified intermediate trunk line device associated with the terminal trunk line device instead of the terminal trunk line device. This makes it possible to specify the trunk line route between the intermediate trunk line devices.

また、中間幹線機器において、1つのポートに末端幹線機器が複数接続されている場合、図11のステップS120~ステップS124に示した末端幹線機器特定処理で、接続形態を特定できない。例えば、図13の幹線構成例では、SW#AのP5に対して、HUB#Xを介して2つの末端幹線機器SW#B,SW#Dが対応付けられている。図13は、幹線構成特定処理例(末端幹線機器が複数の場合)を示す説明図である。 Further, in the intermediate trunk line device, when a plurality of terminal trunk line devices are connected to one port, the connection form cannot be specified by the terminal trunk line device identification processes shown in steps S120 to S124 of FIG. For example, in the trunk line configuration example of FIG. 13, two terminal trunk line devices SW # B and SW # D are associated with P5 of SW # A via HUB # X. FIG. 13 is an explanatory diagram showing an example of trunk line configuration specifying processing (when there are a plurality of terminal trunk line devices).

このような場合には、これら末端幹線機器が対応付けられている他のMACアドレステーブル情報14Bのポートを確認する。例えば、図13の場合、SW#AのP5とSW#CのP4が対象となる。次に、これらポートのうち、対応付けられている幹線機器が最も少ないポートを持つ幹線機器を接続先の中間幹線機器として選択すればよい。図13の場合、SW#AのP5にはSW#B,#Dの2つの幹線機器が対応付けられており、SW#CのP4にはSW#A,#B,#Dの3つの幹線機器が対応付けられている。このため、SW#B,#Dは、任意のHUBを介して中間幹線機器SW#Aに接続されていると特定できる。この際、図13の例では任意のHUBはHUB#Xに相当するが、IPアドレスおよびMACアドレスを持たないため、任意のHUBがHUB#Xであると特定することはできない。 In such a case, check the port of the other MAC address table information 14B to which these terminal trunk line devices are associated. For example, in the case of FIG. 13, P5 of SW # A and P4 of SW # C are targeted. Next, among these ports, the trunk line device having the port with the least number of associated trunk line devices may be selected as the intermediate trunk line device to be connected. In the case of FIG. 13, two trunk lines of SW # B and #D are associated with P5 of SW # A, and three trunk lines of SW # A, # B and #D are associated with P4 of SW # C. Devices are associated. Therefore, SW # B and #D can be identified as being connected to the intermediate trunk line device SW # A via an arbitrary HUB. At this time, in the example of FIG. 13, any HUB corresponds to HUB # X, but since it does not have an IP address and a MAC address, it cannot be specified that any HUB is HUB # X.

[端末機器特定処理]
次に、図14および図15を参照して、図4のステップS104における端末機器特定処理について詳細に説明する。図14は、端末機器特定処理を示すフローチャートである。図15は、端末機器特定処理(続き)を示すフローチャートである。
まず、図14に示すように、端末機器特定部15Dは、すべての端末機器PC#0,#1,#2,#3,#4のうちから、未選択の端末機器を1つ選択する(ステップS140)。
続いて、端末機器特定部15Dは、各MACアドレステーブル情報14Bのうちから、選択した当該端末機器が接続されている幹線機器のポートを確認し(ステップS141)、当該端末機器が幹線ポート以外のポートに対応付けられているか確認する(ステップS142)。幹線ポートとは、幹線機器に設けられているポートのうち、幹線経路が接続されているポートである。
[Terminal device identification processing]
Next, with reference to FIGS. 14 and 15, the terminal device identification process in step S104 of FIG. 4 will be described in detail. FIG. 14 is a flowchart showing a terminal device identification process. FIG. 15 is a flowchart showing a terminal device identification process (continued).
First, as shown in FIG. 14, the terminal device identification unit 15D selects one unselected terminal device from all the terminal device PCs # 0, # 1, # 2, # 3, # 4 ( Step S140).
Subsequently, the terminal device specifying unit 15D confirms the port of the trunk line device to which the selected terminal device is connected from each MAC address table information 14B (step S141), and the terminal device is other than the trunk line port. Check if it is associated with the port (step S142). The trunk line port is a port to which the trunk line route is connected among the ports provided in the trunk line equipment.

当該端末機器が幹線ポート以外のポートに対応付けられている場合(ステップS142:YES)、端末機器特定部15Dは、当該ポートに対応付けられている端末機器が1つだけであるか確認する(ステップS143)。この際、当該ポートに、端末機器以外の接続機器が対応付けられていてもよい。
当該ポートに対応付けられている端末機器が1つだけである場合(ステップS143:YES)、端末機器特定部15Dは、当該ポートを当該端末機器の接続先として特定し、すなわち当該端末機器が当該幹線機器の当該ポートに直接的に接続されていると特定し(ステップS144)、後述するステップS160へ移行する。
When the terminal device is associated with a port other than the trunk line port (step S142: YES), the terminal device identification unit 15D confirms whether only one terminal device is associated with the port (step S142: YES). Step S143). At this time, a connected device other than the terminal device may be associated with the port.
When there is only one terminal device associated with the port (step S143: YES), the terminal device identification unit 15D specifies the port as the connection destination of the terminal device, that is, the terminal device is the terminal device. It is specified that the port is directly connected to the port of the trunk line device (step S144), and the process proceeds to step S160 described later.

図16は、端末機器(直接接続)の特定例を示す説明図である。図16のネットワーク構成例では、幹線構成情報14Cに基づいて、幹線機器SW#Bのうち、幹線経路L1が接続されているP1が幹線ポートであることがわかる。SW#Bにおいて、P1以外のP2,P3,P4,P5のうち、P2に対応付けられている端末機器は、PC#1の1つだけである。このため、PC#1は、SW#BのP2に直接的に接続されていると特定される。
以上の処理により、図16に示すように、図12に加えてSW#BにPC#1が接続されたネットワーク構成が特定済みとなる。
FIG. 16 is an explanatory diagram showing a specific example of a terminal device (direct connection). In the network configuration example of FIG. 16, it can be seen that among the trunk line devices SW # B, P1 to which the trunk line path L1 is connected is the trunk line port based on the trunk line configuration information 14C. In SW # B, among P2, P3, P4, and P5 other than P1, the terminal device associated with P2 is only one of PC # 1. Therefore, PC # 1 is specified to be directly connected to P2 of SW # B.
By the above processing, as shown in FIG. 16, in addition to FIG. 12, the network configuration in which the PC # 1 is connected to the SW # B has been specified.

一方、ステップS143において、当該ポートに対応付けられている端末機器が1つだけではない場合、すなわち複数の端末機器が当該ポートに対応付けられている場合(ステップS143:NO)、端末機器特定部15Dは、当該ポートに非幹線機器を補完接続し(ステップS145)、当該非幹線機器をこれら端末機器の接続先として特定し、すなわちこれら端末機器が当該非幹線機器を介して当該幹線機器の当該ポートに間接的に接続されていると特定し(ステップS146)、後述するステップS160へ移行する。 On the other hand, in step S143, when there is not only one terminal device associated with the port, that is, when a plurality of terminal devices are associated with the port (step S143: NO), the terminal device identification unit. 15D complementarily connects the non-trunk device to the port (step S145), identifies the non-trunk device as the connection destination of these terminal devices, that is, the terminal device is the trunk line device via the non-trunk device. It is specified that it is indirectly connected to the port (step S146), and the process proceeds to step S160 described later.

図17は、端末機器(間接接続)の特定例を示す説明図である。図17のネットワーク構成例では、幹線構成情報14Cに基づいて、幹線機器SW#Cのうち、幹線経路L2が接続されているP4が幹線ポートであることがわかる。SW#Cにおいて、P4以外のP1,P2,P3,P5のうち、P2に対応付けられている端末機器は、PC#3,#4の2つである。これにより、PC#3,#4は、SW#CのP2に任意のHUBを介して間接的に接続されていると特定される。この際、図17の例では任意のHUBはHUB#Yに相当するが、IPアドレスおよびMACアドレスを持たないため、任意のHUBがHUB#Yであると特定することはできない。
以上の処理により、図17に示すように、図16に加えてSW#Cに任意のHUBを介してPC#3,#4が接続されたネットワーク構成が特定済みとなる。
FIG. 17 is an explanatory diagram showing a specific example of a terminal device (indirect connection). In the network configuration example of FIG. 17, it can be seen that among the trunk line devices SW # C, P4 to which the trunk line path L2 is connected is the trunk line port based on the trunk line configuration information 14C. In SW # C, among P1, P2, P3, and P5 other than P4, the terminal devices associated with P2 are PC # 3 and # 4. Thereby, PCs # 3 and # 4 are identified to be indirectly connected to P2 of SW # C via an arbitrary HUB. At this time, in the example of FIG. 17, any HUB corresponds to HUB # Y, but since it does not have an IP address and a MAC address, it cannot be specified that any HUB is HUB # Y.
By the above processing, as shown in FIG. 17, in addition to FIG. 16, the network configuration in which PCs # 3 and # 4 are connected to SW # C via an arbitrary HUB has been specified.

また、ステップS142において、当該端末機器が幹線ポート以外のポートに対応付けられていない場合、すなわち当該端末機器が幹線ポートに対応付けられている場合(ステップS142:NO)、図15に示すように、端末機器特定部15Dは、当該幹線ポートに幹線経路を介して対向接続されている対向幹線機器側の対向幹線ポートにも同一の当該端末機器が対応付けられているか、すなわち対向幹線機器の両方に当該端末機器が対応付けられているか確認する(ステップS150)。 Further, in step S142, when the terminal device is not associated with a port other than the trunk line port, that is, when the terminal device is associated with the trunk line port (step S142: NO), as shown in FIG. In the terminal device identification unit 15D, the same terminal device is associated with the opposite trunk line port on the opposite trunk line device side which is connected to the trunk line port via the trunk line path, that is, both of the opposite trunk line devices. It is confirmed whether the terminal device is associated with (step S150).

ここで、対向幹線機器の両方に端末機器が対応付けられている場合(ステップS150:YES)、端末機器特定部15Dは、当該幹線ポートに非幹線機器を補完接続し(ステップS151)、当該非幹線機器を端末機器と対向幹線機器の接続先として特定し、すなわち端末機器と対向幹線機器とが当該非幹線機器を介して当該幹線機器の当該幹線ポートに間接的に接続されていると特定し(ステップS152)、後述するステップS160へ移行する。なお、当該非幹線機器がすでに補完されている場合、さらなる補完はしない。 Here, when the terminal device is associated with both of the opposite trunk line devices (step S150: YES), the terminal device specifying unit 15D complementarily connects the non-trunk line device to the trunk line port (step S151), and the non-trunk line device is connected. The trunk line device is specified as the connection destination between the terminal device and the opposite trunk line device, that is, the terminal device and the opposite trunk line device are indirectly connected to the trunk line port of the trunk line device via the non-trunk line device. (Step S152), the process proceeds to step S160 described later. If the non-main line equipment has already been supplemented, no further supplementation will be made.

一方、対向幹線ポートに同一の当該端末機器が対応付けられておらず、すなわち対応幹線機器の一方にのみ当該端末機器が対応付けられている場合(ステップS150:NO)、端末機器特定部15Dは、当該端末機器が当該幹線ポートに1つだけ対応付けられているか確認する(ステップS153)。
ここで、当該端末機器が幹線ポートに1つだけ対応付けられている場合(ステップS153:YES)、端末機器特定部15Dは、当該幹線ポートに非幹線機器を補完接続し(ステップS154)、当該非幹線機器を当該端末機器と対向幹線機器の接続先として特定し、すなわち端末機器と対向幹線機器とが当該非幹線機器を介して当該幹線機器の当該幹線ポートに間接的に接続されていると特定し(ステップS155)、後述するステップS160へ移行する。なお、当該非幹線機器がすでに補完されている場合、さらなる補完はしない。
On the other hand, when the same terminal device is not associated with the opposite trunk line port, that is, the terminal device is associated with only one of the corresponding trunk line devices (step S150: NO), the terminal device identification unit 15D , Check if only one terminal device is associated with the trunk port (step S153).
Here, when only one terminal device is associated with the trunk line port (step S153: YES), the terminal device identification unit 15D complementarily connects the non-trunk line device to the trunk line port (step S154), and the terminal device identification unit 15D is connected to the trunk line port. When the non-trunk device is specified as the connection destination between the terminal device and the opposite trunk line device, that is, the terminal device and the opposite trunk line device are indirectly connected to the trunk line port of the trunk line device via the non-trunk line device. It is specified (step S155), and the process proceeds to step S160 described later. If the non-main line equipment has already been supplemented, no further supplementation will be made.

一方、当該端末機器が幹線ポートに複数対応付けられている場合(ステップS153:NO)、端末機器特定部15Dは、これら端末機器が対応付けられているポートごとに、当該ポートに対応付けられている幹線機器数を確認し(ステップS156)、幹線機器数が最も少ないポートに非幹線機器を補完接続し(ステップS157)、当該非幹線機器を当該端末機器と対向幹線機器の接続先として特定し、すなわち端末機器と対向幹線機器とが当該非幹線機器を介して当該幹線機器の当該幹線ポートに間接的に接続されていると特定し(ステップS158)、後述するステップS160へ移行する。なお、当該非幹線機器がすでに補完されている場合、さらなる補完はしない。 On the other hand, when a plurality of the terminal devices are associated with the trunk line port (step S153: NO), the terminal device identification unit 15D is associated with the port for each port to which these terminal devices are associated. The number of trunk line devices is confirmed (step S156), the non-trunk line device is complementarily connected to the port with the smallest number of trunk line devices (step S157), and the non-trunk line device is specified as the connection destination between the terminal device and the opposite trunk line device. That is, it is specified that the terminal device and the opposite trunk line device are indirectly connected to the trunk line port of the trunk line device via the non-trunk line device (step S158), and the process proceeds to step S160 described later. If the non-main line equipment has already been supplemented, no further supplementation will be made.

ステップS160において、端末機器特定部15Dは、未選択の端末機器の有無を確認し(ステップS160)、未選択の端末機器がある場合(ステップS160:YES)、ステップS140へ戻る。
一方、未選択の端末機器がない場合(ステップS160:NO)、端末機器特定部15Dは、記憶回路14の幹線構成情報14Cと各端末機器の特定結果とに基づいて、IPネットワークNW全体のネットワーク構成を示すネットワーク構成情報14Dを生成して記憶回路14に保存し(ステップS161)、一連の端末機器特定処理を終了する。
In step S160, the terminal device specifying unit 15D confirms the presence / absence of an unselected terminal device (step S160), and if there is an unselected terminal device (step S160: YES), returns to step S140.
On the other hand, when there is no unselected terminal device (step S160: NO), the terminal device specifying unit 15D is a network of the entire IP network NW based on the trunk line configuration information 14C of the storage circuit 14 and the specific result of each terminal device. The network configuration information 14D indicating the configuration is generated and stored in the storage circuit 14 (step S161), and a series of terminal device identification processes are completed.

図18は、端末機器(幹線機器間接続)の特定例を示す説明図である。図18のネットワーク構成例では、幹線構成情報14Cに基づいて、幹線機器SW#Aと幹線機器SW#Bとが、幹線経路L1を介してSW#AのP5とSW#BのP1とに対向して接続されており、これらが幹線ポートであることがわかる。また、SW#AのP5とSW#BのP1との両方に、同一の端末機器PC#2が対応付けられている。これにより、PC#2は、SW#CのP2に任意のHUBを介して間接的に接続されていると特定される。図18の例では任意のHUBはHUB#Xに相当するが、IPアドレスおよびMACアドレスを持たないため、任意のHUBがHUB#Xであると特定することはできない。なお、非幹線機器がすでに補完されている場合、さらなる補完はしない。 FIG. 18 is an explanatory diagram showing a specific example of a terminal device (connection between trunk line devices). In the network configuration example of FIG. 18, the trunk line device SW # A and the trunk line device SW # B face each other to P5 of SW # A and P1 of SW # B via the trunk line path L1 based on the trunk line configuration information 14C. It can be seen that these are trunk ports. Further, the same terminal device PC # 2 is associated with both P5 of SW # A and P1 of SW # B. Thereby, the PC # 2 is specified to be indirectly connected to the P2 of the SW # C via an arbitrary HUB. In the example of FIG. 18, any HUB corresponds to HUB # X, but since it does not have an IP address and a MAC address, it cannot be specified that any HUB is HUB # X. If non-main line equipment has already been supplemented, no further supplementation will be made.

なお、図18では、SW#AのP5とSW#BのP1との両方に、同一の端末機器PC#2が対応付けられている場合を例として説明したが、場合によっては、一方のSW#AのP5だけにPC#2が対応付けられており、他方のSW#BのP1にPC#2が対応付けられていない場合がある。このような場合、対応付けられている端末機器がPC#2の1つだけである場合には、PC#2が対応付けられているSW#Aの直下に任意の非幹線機器(具体的にはMACアドレステーブル情報を取得できないスイッチ)を補完接続し、この任意の非幹線機器を介してPC#2が間接的に接続されていると特定すればよい。この際、非幹線機器は、IPアドレスおよびMACアドレスを持たないため、任意の非幹線機器を特定することはできない。なお、非幹線機器がすでに補完されている場合、さらなる補完はしない。 In FIG. 18, the case where the same terminal device PC # 2 is associated with both P5 of SW # A and P1 of SW # B has been described as an example, but in some cases, one of the SWs is used. PC # 2 may be associated only with P5 of # A, and PC # 2 may not be associated with P1 of the other SW # B. In such a case, if there is only one associated terminal device, PC # 2, any non-trunk device (specifically, directly under SW # A to which PC # 2 is associated). Is a switch that cannot acquire MAC address table information), and it may be specified that PC # 2 is indirectly connected via this arbitrary non-trunk device. At this time, since the non-main line device does not have an IP address and a MAC address, it is not possible to specify any non-main line device. If non-main line equipment has already been supplemented, no further supplementation will be made.

また、SW#AのP5だけに複数の端末機器が対応付けられている場合もある。このような場合には、全てのMACアドレステーブル情報14Bのうち、これら複数の端末機器が対応付けられているポートごとに、当該ポートに対応付けられている幹線機器数を確認し、幹線機器数が最も少ないポートを持つ幹線機器の直下に任意のHUBを補完接続し、この任意のHUBを介して複数の端末機器が間接的に接続されていると特定すればよい。例えば、図18において、PC#2を含めて複数の端末機器がHUB#Xに接続されていた場合、これら端末機器が対応付けられているSW#AのP5とSW#CのP4との幹線機器数が確認される。この場合、SW#AのP5の幹線機器数が1で、SW#CのP4幹線機器数が2であることから、幹線機器数が最も少ないSW#AのP5に、これら端末機器が任意のHUBを介して間接的に接続されていると特定すればよい。この際、HUBは、IPアドレスおよびMACアドレスを持たないため、任意のHUBを特定することはできない。なお、非幹線機器がすでに補完されている場合、さらなる補完はしない。 Further, a plurality of terminal devices may be associated only with P5 of SW # A. In such a case, among all the MAC address table information 14B, for each port to which these plurality of terminal devices are associated, the number of trunk line devices associated with the port is confirmed, and the number of trunk line devices is checked. Any HUB may be complementarily connected directly under the trunk line device having the fewest ports, and it may be specified that a plurality of terminal devices are indirectly connected via this arbitrary HUB. For example, in FIG. 18, when a plurality of terminal devices including PC # 2 are connected to HUB # X, the trunk line between P5 of SW # A and P4 of SW # C to which these terminal devices are associated. The number of devices is confirmed. In this case, since the number of trunk line devices of P5 of SW # A is 1 and the number of P4 trunk line devices of SW # C is 2, these terminal devices are arbitrary for P5 of SW # A, which has the smallest number of trunk line devices. It may be specified that the connection is indirectly made via the HUB. At this time, since the HUB does not have an IP address and a MAC address, any HUB cannot be specified. If non-main line equipment has already been supplemented, no further supplementation will be made.

以上の処理により、すべての接続機器が特定されたことになり、図18に示すように、図17に加えてSW#Aに任意のHUBを介してPC#2とSW#Bとが間接的に接続されたネットワーク構成、すなわちIPネットワークNW全体のネットワーク構成が特定済みとなる。 By the above processing, all the connected devices have been identified, and as shown in FIG. 18, in addition to FIG. 17, PC # 2 and SW # B indirectly connect to SW # A via an arbitrary HUB. The network configuration connected to, that is, the network configuration of the entire IP network NW has been specified.

図19は、ネットワーク構成情報の画面表示例を示す説明図である。図19には、前述した図5のネットワーク構成に含まれる各接続機器が、1行ごとに階層的にツリー形式で可視表示されている。各行には、当該接続機器を示すアイコン(シンボル)31,32,33、当該接続機器が接続されているネットワーク機器のポート番号34、IPアドレスやMACアドレスなどの当該接続機器のアドレス情報35が表記されている。 FIG. 19 is an explanatory diagram showing an example of screen display of network configuration information. In FIG. 19, each connected device included in the network configuration of FIG. 5 described above is visually displayed in a tree format hierarchically line by line. Each line contains icons (symbols) 31, 32, 33 indicating the connected device, port number 34 of the network device to which the connected device is connected, and address information 35 of the connected device such as an IP address or MAC address. Has been done.

このうち、アイコン31,32,33は、接続機器の種別に応じた図柄や色が用いられており、例えばアイコン31はL2スイッチやL3スイッチなどの幹線機器を示し、アイコン32はハブなどの非幹線スイッチを示し、アイコン33はPCなどの端末機器を示している。これにより、アイコンを見ただけで接続機器の種別を容易に識別でき、例えばトラブル発生状況の確認や保守の対象となる接続機器をすぐに特定することができる。 Of these, icons 31, 32, and 33 use symbols and colors according to the type of connected device. For example, icon 31 indicates a trunk line device such as an L2 switch or L3 switch, and icon 32 indicates a non-hub or the like. The trunk line switch is shown, and the icon 33 indicates a terminal device such as a PC. As a result, the type of connected device can be easily identified just by looking at the icon, and for example, it is possible to check the trouble occurrence status and immediately identify the connected device to be maintained.

また、アイコン31,32,33は、接続線36により階層的に接続されており、各接続機器の接続形態を容易に把握できる。また、接続線36のうちネットワーク機器が接続されている接続点には、折り畳みシンボル37が配置されている。この折り畳みシンボル37を操作することにより、当該ネットワーク機器の配下に接続されている機器の表示/非表示を切り替えることができる。これにより、余分な接続機器を非表示とすることができ、ネットワーク構成が複雑であっても、対象となる接続機器を見やすく表示することができる。 Further, the icons 31, 32, and 33 are hierarchically connected by the connection line 36, so that the connection form of each connected device can be easily grasped. Further, a folding symbol 37 is arranged at a connection point of the connection line 36 to which a network device is connected. By operating the folding symbol 37, it is possible to switch the display / non-display of the device connected under the network device. As a result, extra connected devices can be hidden, and even if the network configuration is complicated, the target connected devices can be displayed in an easy-to-see manner.

また、各行のポート番号34により、当該接続機器が接続先のネットワーク機器のどのポートに接続されているかを容易かつ具体的に把握できる。これにより、ポート番号34さらにはアドレス情報35に基づいて、当該接続機器に対するトラブル発生状況の確認や保守などの作業や準備を、容易に開始することができる。
なお、図19では、各接続機器に関する、アイコン31,32,33、ポート番号34、およびアドレス情報35を含む表記を、行に沿って表示した場合を例として説明したが、これに限定されるものではない。例えば、各接続機器に関する表記を、行に依存した位置ではなく、フリーな位置に接続機器ごとに表示し、これらをそれぞれの接続機器の接続形態に沿って階層的にツリー形式で接続線36により接続するように表示してもよい。
Further, the port number 34 of each line makes it possible to easily and concretely grasp which port of the network device to which the connected device is connected. As a result, based on the port number 34 and the address information 35, it is possible to easily start work and preparation such as confirmation and maintenance of the trouble occurrence status for the connected device.
In FIG. 19, the notation including the icons 31, 32, 33, the port number 34, and the address information 35 for each connected device has been described as an example of the case where the notation including the address information 35 is displayed along the line, but the present invention is limited to this. It's not a thing. For example, the notation for each connected device is displayed for each connected device in a free position instead of a line-dependent position, and these are displayed hierarchically in a tree format according to the connection form of each connected device by the connection line 36. It may be displayed to connect.

[本実施の形態の効果]
このように、本実施の形態は、制御回路15において、幹線構成特定部15Cが、MACアドレステーブル情報14Bに含まれるポート-アドレス対応情報とMACアドレス情報14Aとに基づいて、ネットワーク機器のうち、MACアドレステーブル情報14Bを取得できた幹線機器に関する接続形態を示す幹線構成を特定し、端末機器特定部15Dが、MACアドレステーブル情報14Bに含まれるポート-アドレス対応情報、MACアドレス情報14A、および幹線構成に基づいて、幹線機器に直接的に接続されている端末機器と、ネットワーク機器のうち幹線機器以外の非幹線機器を介して幹線機器に間接的に接続されている端末機器とを特定する、ように構成したものである。
[Effect of this embodiment]
As described above, in the present embodiment, in the control circuit 15, the trunk line configuration specifying unit 15C is among the network devices based on the port-address correspondence information and the MAC address information 14A included in the MAC address table information 14B. The trunk line configuration indicating the connection form of the trunk line device for which the MAC address table information 14B can be acquired is specified, and the terminal device identification unit 15D performs the port-address correspondence information, the MAC address information 14A, and the trunk line included in the MAC address table information 14B. Based on the configuration, identify the terminal device that is directly connected to the trunk line device and the terminal device that is indirectly connected to the trunk line device via the non-trunk line device other than the trunk line device among the network devices. It is configured as follows.

これにより、MACアドレステーブル情報14Bを取得できた幹線機器に関する接続形態、すなわち幹線構成が特定された後、これら幹線機器に対して直接的あるいは間接的に接続されている接続機器が特定される。したがって、MACアドレステーブル情報14Bの取得に非対応のネットワーク機器、すなわち非幹線機器が含まれる場合でも、ネットワーク構成を特定することが可能となる。 As a result, after the connection form related to the trunk line device for which the MAC address table information 14B can be acquired, that is, the trunk line configuration is specified, the connected device directly or indirectly connected to these trunk line devices is specified. Therefore, even when a network device that does not support the acquisition of the MAC address table information 14B, that is, a non-main line device is included, it is possible to specify the network configuration.

また、本実施の形態において、幹線構成特定部15Cが、幹線機器ごとに、当該幹線機器以外の幹線機器のMACアドレスが全て対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が末端幹線機器であると特定し、末端幹線機器以外の幹線機器ごとに、末端幹線機器が1つだけ対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定し、これら特定結果に基づいて幹線構成を特定するようにしてもよい。これにより、幹線構成を正確に特定することが可能となる。 Further, in the present embodiment, the trunk line configuration specifying unit 15C confirms whether or not there is a port to which all the MAC addresses of the trunk line devices other than the trunk line device are associated with each trunk line device, and if there is the port, the port is present. Identify the trunk line device as the terminal trunk line device, check whether there is a port associated with only one terminal trunk line device for each trunk line device other than the terminal trunk line device, and if there is the port, the trunk line. The device may be identified as an intermediate trunk line device connected to the terminal trunk line device via a trunk line route, and the trunk line configuration may be specified based on these identification results. This makes it possible to accurately identify the trunk line configuration.

また、本実施の形態において、幹線構成特定部15Cが、末端幹線機器以外の幹線機器ごとに、末端幹線機器が複数対応付けられているポートの有無を確認し、当該ポートがある場合、末端幹線機器以外の幹線機器のうち、末端幹線機器が対応付けられているポートを選択し、選択したポートのうち、当該ポートに対応付けられている幹線機器の数が最も少ないポートを有する幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定するようにしてもよい。これにより、幹線構成をさらに正確に特定することが可能となる。 Further, in the present embodiment, the trunk line configuration specifying unit 15C confirms whether or not there is a port to which a plurality of terminal trunk line devices are associated with each trunk line device other than the terminal trunk line device, and if there is such a port, the terminal trunk line. Among the trunk line devices other than the device, the port to which the terminal trunk line device is associated is selected, and among the selected ports, the trunk line device having the port with the smallest number of trunk line devices associated with the port is It may be specified as an intermediate trunk line device connected to the terminal trunk line device via the trunk line route. This makes it possible to more accurately identify the trunk line configuration.

また、本実施の形態において、端末機器特定部15Dが、幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに1つの端末機器が接続されている場合、当該端末機器が当該幹線機器に直接的に接続されていると特定するように構成してもよい。これにより、幹線機器に対して直接的に接続されている端末機器を正確に特定することが可能となる。 Further, in the present embodiment, when one terminal device is connected to the port to which the other trunk line device is not connected among the ports provided in the trunk line device, the terminal device specifying unit 15D is the terminal. The device may be configured to identify that it is directly connected to the trunk line device. This makes it possible to accurately identify the terminal device that is directly connected to the trunk line device.

また、本実施の形態において、端末機器特定部15Dが、幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに複数の端末機器が接続されている場合、これらの端末機器が当該幹線機器に非幹線機器を介して間接的に接続されていると特定するように構成してもよい。これにより、幹線機器に対して間接的に接続されている端末機器を正確に特定することが可能となる。 Further, in the present embodiment, when a plurality of terminal devices are connected to the port to which the other trunk line device is not connected among the ports provided in the trunk line device, the terminal device specifying unit 15D is used. The terminal device may be configured to identify that it is indirectly connected to the trunk line device via the non-trunk line device. This makes it possible to accurately identify the terminal device indirectly connected to the trunk line device.

また、本実施の形態において、端末機器特定部15Dが、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートに同一の端末機器が共通して接続されている場合、当該端末機器が非幹線機器を介して当該幹線機器間に間接的に接続されていると特定するように構成してもよい。これにより、非幹線機器を介して幹線機器間に間接的に接続されている端末機器を正確に特定することが可能となる。 Further, in the present embodiment, the terminal device specifying unit 15D has two trunk line devices connected to each port facing each other in the trunk line configuration, and the same terminal device is commonly connected to these ports. If so, it may be configured to specify that the terminal device is indirectly connected between the trunk line devices via the non-main line device. This makes it possible to accurately identify terminal devices indirectly connected between trunk line devices via non-main line devices.

[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[Extension of embodiment]
Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above embodiments. Various changes that can be understood by those skilled in the art can be made to the structure and details of the present invention within the scope of the present invention. In addition, each embodiment can be implemented in any combination within a consistent range.

10…ネットワーク構成特定装置、11…通信I/F、12…操作入力回路、13…表示回路、14…記憶回路、14A…MACアドレス情報、14B…MACアドレステーブル情報、14C…幹線構成情報、14D…ネットワーク構成情報、14P…プログラム、15…制御回路、15A…アドレス探索部、15B…テーブル取得部、15C…幹線構成特定部、15D…端末機器特定部、15E…可視化処理部、NW…IPネットワーク、L1,L2…幹線経路、31,32,33…アイコン、34…ポート番号、35…アドレス情報、36…接続線、37…折り畳みシンボル。 10 ... Network configuration specifying device, 11 ... Communication I / F, 12 ... Operation input circuit, 13 ... Display circuit, 14 ... Storage circuit, 14A ... MAC address information, 14B ... MAC address table information, 14C ... Trunk line configuration information, 14D ... network configuration information, 14P ... program, 15 ... control circuit, 15A ... address search unit, 15B ... table acquisition unit, 15C ... trunk line configuration specification unit, 15D ... terminal device identification unit, 15E ... visualization processing unit, NW ... IP network , L1, L2 ... Trunk route, 31, 32, 33 ... Icon, 34 ... Port number, 35 ... Address information, 36 ... Connection line, 37 ... Folding symbol.

Claims (10)

IPネットワークに接続されているネットワーク機器および端末機器からなる接続機器のすべてのMACアドレスを示すMACアドレス情報と、前記ネットワーク機器から取得したMACアドレステーブル情報とを記憶するように構成された記憶回路と、
前記ネットワーク機器のMACアドレステーブル情報に含まれる、当該ネットワーク機器のポートと当該ポートに接続されている接続機器のMACアドレスとの対応関係を示すポート-アドレス対応情報と、前記MACアドレス情報とに基づいて、前記接続機器に関する接続形態を示すネットワーク構成を特定するように構成された制御回路とを備え、
前記制御回路は、前記ポート-アドレス対応情報および前記MACアドレス情報に基づいて、前記ネットワーク機器のうち、前記MACアドレステーブル情報を取得できた幹線機器に関する接続形態を示す幹線構成を特定するように構成された幹線構成特定部と、
前記ポート-アドレス対応情報、前記MACアドレス情報、および前記幹線構成に基づいて、前記幹線機器に直接的に接続されている端末機器と、前記ネットワーク機器のうち前記幹線機器以外の非幹線機器を介して前記幹線機器に間接的に接続されている端末機器とを特定し、得られた特定結果と前記幹線構成とに基づいて、前記ネットワーク構成を示すネットワーク構成情報を生成するように構成された端末機器特定部と、を備える
ことを特徴とするネットワーク構成特定装置。
A storage circuit configured to store MAC address information indicating all MAC addresses of connected devices consisting of network devices and terminal devices connected to an IP network, and MAC address table information acquired from the network devices. ,
Based on the port-address correspondence information including the MAC address table information of the network device, which indicates the correspondence relationship between the port of the network device and the MAC address of the connected device connected to the port, and the MAC address information. A control circuit configured to specify a network configuration indicating a connection form related to the connected device is provided.
The control circuit is configured to specify a trunk line configuration indicating a connection mode of the trunk line device for which the MAC address table information can be acquired among the network devices based on the port-address correspondence information and the MAC address information. With the trunk line configuration specific part
Based on the port-address correspondence information, the MAC address information, and the trunk line configuration, a terminal device directly connected to the trunk line device and a non-trunk line device other than the trunk line device among the network devices are used. A terminal configured to identify a terminal device indirectly connected to the trunk line device and generate network configuration information indicating the network configuration based on the obtained specific result and the trunk line configuration. A network configuration identification device characterized by having a device identification unit.
請求項1に記載のネットワーク構成特定装置において、
前記幹線構成特定部は、前記幹線機器ごとに、当該幹線機器以外の幹線機器のMACアドレスが全て対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が末端幹線機器であると特定し、前記末端幹線機器以外の幹線機器ごとに、前記末端幹線機器が1つだけ対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が、前記末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定し、これら特定結果に基づいて前記幹線構成を特定することを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to claim 1,
The trunk line configuration specifying unit confirms whether or not there is a port associated with all the MAC addresses of trunk line devices other than the trunk line device for each trunk line device, and if there is a port, the trunk line device is the terminal trunk line device. For each trunk line device other than the terminal trunk line device, it is confirmed whether or not there is a port associated with only one terminal trunk line device, and if there is a port, the trunk line device is the terminal. A network configuration specifying device characterized in that it is identified as an intermediate trunk line device connected to a trunk line device via a trunk line route, and the trunk line configuration is specified based on these identification results.
請求項2に記載のネットワーク構成特定装置において、
前記幹線構成特定部は、前記末端幹線機器以外の幹線機器ごとに、前記末端幹線機器が複数対応付けられているポートの有無を確認し、当該ポートがある場合、前記末端幹線機器以外の幹線機器のうち、前記末端幹線機器が対応付けられているポートを選択し、選択したポートのうち、当該ポートに対応付けられている幹線機器の数が最も少ないポートを有する幹線機器が、前記末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定することを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to claim 2,
The trunk line configuration specifying unit confirms whether or not there is a port to which a plurality of the terminal trunk line devices are associated with each trunk line device other than the terminal trunk line device, and if there is a port, the trunk line device other than the terminal trunk line device. Among the ports, the port to which the terminal trunk line device is associated is selected, and among the selected ports, the trunk line device having the port with the smallest number of trunk line devices associated with the port is the terminal trunk line device. A network configuration specifying device characterized in that it is identified as an intermediate trunk line device connected via a trunk line route.
請求項1~請求項3のいずれかに記載のネットワーク構成特定装置において、
前記端末機器特定部は、前記幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに1つの端末機器が接続されている場合、当該端末機器が当該幹線機器に直接的に接続されていると特定することを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to any one of claims 1 to 3.
When one terminal device is connected to a port to which another trunk line device is not connected among the ports provided in the trunk line device, the terminal device specifying unit directly connects the terminal device to the trunk line device. A network configuration specifying device characterized in that it is identified as being connected.
請求項1~請求項4のいずれかに記載のネットワーク構成特定装置において、
前記端末機器特定部は、前記幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに複数の端末機器が接続されている場合、これらの端末機器が当該幹線機器に非幹線機器を介して間接的に接続されていると特定することを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to any one of claims 1 to 4.
When a plurality of terminal devices are connected to a port to which other trunk line devices are not connected among the ports provided in the trunk line device, the terminal device specifying unit attaches these terminal devices to the trunk line device. A network configuration specifying device characterized in that it is identified as being indirectly connected via a non-main line device.
請求項1~請求項5のいずれかに記載のネットワーク構成特定装置において、
前記端末機器特定部は、前記幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートに同一の端末機器が共通して接続されている場合、当該端末機器が非幹線機器を介して当該幹線機器間に間接的に接続されていると特定することを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to any one of claims 1 to 5.
In the terminal device identification unit, when two trunk line devices are connected to each port facing each other in the trunk line configuration and the same terminal device is commonly connected to these ports, the terminal is said to be the terminal. A network configuration specifying device characterized in that a device is specified to be indirectly connected between the trunk line devices via a non-main line device.
請求項1~請求項6のいずれかに記載のネットワーク構成特定装置において、
前記端末機器特定部は、前記幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が1つ接続されている場合、前記一方のポートを持つ幹線機器に、当該端末機器が非幹線機器を介して間接的に接続されていると特定することを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to any one of claims 1 to 6.
In the terminal device identification unit, when two trunk line devices are connected to each port in the trunk line configuration and one terminal device is connected to only one of these ports. , A network configuration specifying device, characterized in that the terminal device is indirectly connected to a trunk line device having one of the ports via a non-main line device.
請求項1~請求項7のいずれかに記載のネットワーク構成特定装置において、
前記端末機器特定部は、前記幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が複数接続されている場合、当該端末機器が対応付けられているポートのうち、当該ポートに対応付けられている幹線機器数が最も少ないポートを持つ幹線機器に、当該端末機器が非幹線機器を介して間接的に接続されていると特定することを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to any one of claims 1 to 7.
In the terminal device identification unit, when two trunk line devices are connected to each port in the trunk line configuration and a plurality of terminal devices are connected to only one of these ports. Among the ports associated with the terminal device, the terminal device is indirectly connected to the trunk line device having the port with the smallest number of trunk line devices associated with the port via the non-trunk line device. A network configuration specifying device characterized by being identified as being present.
請求項1~請求項8のいずれかに記載のネットワーク構成特定装置において、
前記端末機器特定部で生成された前記ネットワーク構成情報に基づいて、前記ネットワーク構成を可視化した可視化データを生成する可視化処理部をさらに備え、
前記可視化データは、前記接続機器ごとに生成した、当該接続機器を示すアイコン、当該接続機器のアドレス情報、および当該接続機器が接続されているネットワーク機器のポート番号を含む表記と、これら表記を前記接続機器の接続形態に沿って階層的にツリー形式で接続する接続線とから構成されている
ことを特徴とするネットワーク構成特定装置。
In the network configuration specifying device according to any one of claims 1 to 8.
Further provided with a visualization processing unit that generates visualization data that visualizes the network configuration based on the network configuration information generated by the terminal device identification unit.
The visualization data includes a notation including an icon indicating the connected device, address information of the connected device, and a port number of the network device to which the connected device is connected, which is generated for each connected device, and these notations are described above. A network configuration specifying device characterized by being composed of connection lines that are hierarchically connected in a tree format according to the connection form of the connected device.
IPネットワークに接続されているネットワーク機器および端末機器からなる接続機器のすべてのMACアドレスを示すMACアドレス情報と、前記ネットワーク機器から取得したMACアドレステーブル情報とを記憶するように構成された記憶回路と、前記ネットワーク機器のMACアドレステーブル情報に含まれる、当該ネットワーク機器のポートと当該ポートに接続されている接続機器のMACアドレスとの対応関係を示すポート-アドレス対応情報と、前記MACアドレス情報とに基づいて、前記接続機器に関する接続形態を示すネットワーク構成を特定するように構成された制御回路とを備えるネットワーク構成特定装置、で用いられるネットワーク構成特定方法であって、
前記制御回路が、前記ポート-アドレス対応情報および前記MACアドレス情報に基づいて、前記ネットワーク機器のうち、前記MACアドレステーブル情報を取得できた幹線機器に関する接続形態を示す幹線構成を特定するように構成された幹線構成特定ステップと、
前記制御回路が、前記ポート-アドレス対応情報、前記MACアドレス情報、および前記幹線構成に基づいて、前記幹線機器に直接的に接続されている端末機器と、前記ネットワーク機器のうち前記幹線機器以外の非幹線機器を介して前記幹線機器に間接的に接続されている端末機器とを特定し、得られた特定結果と前記幹線構成とに基づいて、前記ネットワーク構成を示すネットワーク構成情報を生成するように構成された端末機器特定ステップと
を備えることを特徴とするネットワーク構成特定方法。
A storage circuit configured to store MAC address information indicating all MAC addresses of connected devices consisting of network devices and terminal devices connected to the IP network, and MAC address table information acquired from the network devices. , The port-address correspondence information including the MAC address table information of the network device, which indicates the correspondence relationship between the port of the network device and the MAC address of the connected device connected to the port, and the MAC address information. Based on this, it is a network configuration specifying method used in a network configuration specifying device including a control circuit configured to specify a network configuration indicating a connection form relating to the connected device.
The control circuit is configured to specify a trunk line configuration indicating a connection mode of the trunk line device for which the MAC address table information can be acquired among the network devices based on the port-address correspondence information and the MAC address information. The main line configuration identification step and
A terminal device in which the control circuit is directly connected to the trunk line device based on the port-address correspondence information, the MAC address information, and the trunk line configuration, and the network device other than the trunk line device. To identify a terminal device indirectly connected to the trunk line device via a non-trunk line device, and to generate network configuration information indicating the network configuration based on the obtained specific result and the trunk line configuration. A network configuration identification method characterized by comprising a terminal device identification step configured in.
JP2020199764A 2020-12-01 2020-12-01 Network configuration identification device and method Pending JP2022087693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020199764A JP2022087693A (en) 2020-12-01 2020-12-01 Network configuration identification device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020199764A JP2022087693A (en) 2020-12-01 2020-12-01 Network configuration identification device and method

Publications (1)

Publication Number Publication Date
JP2022087693A true JP2022087693A (en) 2022-06-13

Family

ID=81975703

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020199764A Pending JP2022087693A (en) 2020-12-01 2020-12-01 Network configuration identification device and method

Country Status (1)

Country Link
JP (1) JP2022087693A (en)

Similar Documents

Publication Publication Date Title
CN109644141B (en) Method and system for visualizing a network
US10831470B2 (en) Simulating a topology of network elements
EP3675419A1 (en) Method and apparatus for detecting network fault
JP5498102B2 (en) Network system, network relay device, and control method thereof
JP4931888B2 (en) Transfer device, transfer method, and computer program
JP4523444B2 (en) Fault management apparatus and method for identifying cause of fault in communication network
JP4834493B2 (en) Network relay device and method for controlling network relay device
JP4988674B2 (en) Network monitoring device, network monitoring method, and network monitoring program
JP4682056B2 (en) Device management apparatus, device management system, device management method, device search program, and recording medium
JP2001320393A (en) Line concentration apparatus and network managing device using this
US20210099343A1 (en) Multi-cluster management plane for network devices
JP2013062775A (en) Network management system and device
WO2014041813A1 (en) Information processing apparatus, configuration method, communication system, and program
WO2015006970A1 (en) Switching device, controller, and method and system for switching device configuration and packet processing
US8811158B1 (en) Fast reroute for common network routes
WO2014041814A1 (en) Control apparatus, control method, communication system, and program
JPWO2010046977A1 (en) COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL SYSTEM, AND COMMUNICATION CONTROL METHOD
JP2022087693A (en) Network configuration identification device and method
JP3609948B2 (en) Multiprotocol network management method, multiprotocol network management proxy server system, multiprotocol address management server system, and multiprotocol network management system
CN112333295A (en) Multipath connection method and device, electronic equipment and storage medium
JP2008072519A (en) Apparatus and method for searching device, and program
JP2007272340A (en) Network device management method and device
US11362864B2 (en) Communication control system, communication control device and communication control method
JP5580766B2 (en) Server apparatus, packet transmission system, packet transmission method and program
JP2008172291A (en) Path search apparatus, path search program, path search method and path search system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240319

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240516

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20240618