JP2022087693A - Network configuration identification device and method - Google Patents
Network configuration identification device and method Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 43
- 238000012545 processing Methods 0.000 claims description 25
- 238000012800 visualization Methods 0.000 claims description 18
- 238000010586 diagram Methods 0.000 description 30
- 238000004891 communication Methods 0.000 description 21
- 230000009469 supplementation Effects 0.000 description 6
- 230000010365 information processing Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 230000000295 complement effect Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
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,
前述した特許文献1の従来技術では、MACアドレステーブルを取得できることが前提となる。しかし、IPネットワークに接続されるネットワーク機器には、MACアドレステーブル情報を有するL2スイッチやL3(レイヤ3)スイッチだけでなく、元々MACアドレスを解釈しない、すなわちMACアドレステーブル情報を持たないハブもある。また、MACアドレステーブル情報を有していても、MACアドレステーブル情報の取得に対応していないネットワーク機器もある。したがって、MACアドレステーブル情報の取得に非対応のネットワーク機器が含まれる場合、ネットワーク構成を特定できないという問題点があった。
In the prior art of
本発明はこのような課題を解決するためのものであり、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を参照して、本発明の第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
The network
以下では、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
図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
図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
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
As shown in FIG. 1, the network
[通信I/F]
通信I/F11は、通信回線Lを介してIPネットワークNWと接続されて、各接続機器との間でデータ通信を行うことにより、各接続機器のアドレス情報や幹線機器のMACアドレステーブル情報を取得するように構成されている。
[操作入力回路]
操作入力回路12は、キーボード、マウス、タッチパネルなどの操作入力装置からなり、オペレータの操作を検出して制御回路15へ出力するように構成されている。
[表示回路]
表示回路13は、LCDなどの画面表示装置からなり、制御回路15から出力された、メニュー画面、設定画面、ネットワーク構成特定結果画面などの各種画面情報を画面表示するように構成されている。
[Communication I / F]
The communication I /
[Operation input circuit]
The
[Display circuit]
The
[記憶回路]
記憶回路14は、ハードディスクや半導体メモリなどの記憶装置からなり、制御回路15でのネットワーク構成特定処理に用いる各種の処理データやプログラム14Pを記憶するように構成されている。
[プログラム]
プログラム14Pは、制御回路15のCPUと協働することにより、制御回路15でのネットワーク構成特定処理に用いる各種の処理部を実現するためのプログラムである。このプログラム14Pは、ネットワーク構成特定装置10に通信回線を介して接続された外部装置や記録媒体(ともに図示せず)から、予め記憶回路14へ格納される。
[Memory circuit]
The
[program]
The
記憶回路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
[MAC address information]
The
[MAC address table information]
The MAC
[幹線構成情報]
幹線構成情報14Cは、ネットワーク機器のうちMACアドレステーブルを取得可能な幹線機器に関する接続形態を示す情報である。幹線構成情報14Cは、後述する図12に示すように、幹線機器間を接続する幹線経路ごとに、当該幹線経路の両端に接続された幹線機器を示すID(例えばMACアドレス)と、その接続ポートすなわち幹線ポートとの組から構成されている。
[Main line configuration information]
The trunk
[ネットワーク構成情報]
ネットワーク構成情報14Dは、各接続機器の接続形態を示す情報であり、どのネットワーク機器、さらにはどのポートに、どのネットワーク機器やどの端末機器が接続されているかを示している。ネットワーク構成情報14Dは、後述する図19に示すように、ツリー形式で、可視表示することができる。
[Network configuration information]
The
[制御回路]
制御回路15は、CPUとその周辺回路を有し、記憶回路14からプログラム14Pを読み出してCPUと協働させることにより、制御回路15でのネットワーク構成特定処理に用いる各種の処理部を実現するように構成されている。
制御回路15は、主な処理部として、アドレス探索部15A、テーブル取得部15B、幹線構成特定部15C、端末機器特定部15D、および可視化処理部15Eを備えている。
[Control circuit]
The
The
[アドレス探索部]
アドレス探索部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
[テーブル取得部]
テーブル取得部15Bは、通信I/F11を介してIPネットワークNWに接続されているネットワーク機器のうち、MACアドレステーブル情報を取得可能な幹線機器から、MACアドレステーブル情報14Bを取得して、記憶回路14に保存するように構成されている。MACアドレステーブル情報14Bの取得方法としては、一般的なSNMP(Simple Network Management Protocol)などの一般的な既知のネットワーク管理プロトコルを用いて、指定した幹線機器からMACアドレステーブル情報14Bを取得する方法がある。
[Table acquisition section]
The
[幹線構成特定部]
幹線構成特定部15Cは、記憶回路14のMACアドレス情報14Aと、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報とに基づいて、幹線機器に関する接続形態を示す幹線構成を特定し、特定結果を記憶回路14の幹線構成情報14Cに保存するように構成されている。
[Main line configuration specific part]
The trunk line
具体的には、幹線構成特定部15Cは、幹線機器ごとに、当該幹線機器以外の幹線機器のMACアドレスが全て対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が末端幹線機器であると特定し、末端幹線機器以外の幹線機器ごとに、末端幹線機器が1つだけ対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定し、これら特定結果に基づいて幹線構成を特定する。
Specifically, the trunk line
また、幹線構成特定部15Cは、末端幹線機器以外の幹線機器ごとに、末端幹線機器が複数対応付けられているポートの有無を確認し、当該ポートがある場合、末端幹線機器以外の幹線機器のうち、末端幹線機器が対応付けられているポートを選択し、選択したポートのうち、当該ポートに対応付けられている幹線機器の数が最も少ないポートを有する幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定する。
Further, the trunk line
[端末機器特定部]
端末機器特定部15Dは、記憶回路14のMACアドレス情報14Aと、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報と、記憶回路14の幹線構成情報14Cとに基づいて、幹線機器に直接的に接続されている端末機器と、ネットワーク機器のうち幹線機器以外の非幹線機器を介して幹線機器に間接的に接続されている端末機器とを特定し、得られた特定結果と幹線構成情報14Cとに基づいて、各接続機器の接続形態を示すネットワーク構成情報14Dを生成し、記憶回路14に保存するように構成されている。
[Terminal device identification part]
The terminal
具体的には、端末機器特定部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
また、端末機器特定部15Dは、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が1つだけ接続されている場合、非幹線機器を介して当該一方のポートを持つ幹線機器に間接的に、当該端末機器が接続されていると特定し、ネットワーク構成に当該非幹線機器を補完する。また、端末機器特定部15Dは、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートのうち一方のポートにのみ端末機器が複数接続されている場合、当該端末機器が対応付けられているポートのうち、当該ポートに対応付けられている幹線機器数が最も少ないポートを持つ幹線機器に、当該端末機器が間接的に接続されていると特定し、ネットワーク構成に当該非幹線機器を補完する。
Further, in the terminal
[可視化処理部]
可視化処理部15Eは、端末機器特定部15Dにより得られた記憶回路14のネットワーク構成情報14Dに基づいて、IPネットワークNWのネットワーク構成を可視化した可視化データを生成するように構成されている。この際、可視化データは、接続機器ごとに生成した、当該接続機器を示すアイコン、当該接続機器のアドレス情報、および、当該接続機器が接続されているネットワーク機器のポート番号を含む表記と、これら表記を接続機器の接続形態に沿って階層的にツリー形式で接続する接続線とから構成されている。
これにより、得られた可視化データを表示回路13で画面表示することにより、後述する図19に示すようなネットワーク構成表示画面が、可視表示される。なお、表示回路13ではなく他のPCで画面表示などに用いる場合、可視化処理部15Eにより、通信I/F11からIPネットワークNWを介して他のPCに転送出力してもよい。
[Visualization processing unit]
The
As a result, by displaying the obtained visualization data on the screen on the
[本実施の形態の動作]
次に、図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
The
まず、制御回路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
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
次に、制御回路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
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
続いて、制御回路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
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
図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
次に、制御回路15は、幹線構成特定部15Cにより、後述の図11に示す幹線構成特定処理を実行することにより、記憶回路14のMACアドレス情報14Aと、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報とに基づいて、幹線機器に関する接続形態を示す幹線構成を特定し、特定結果を記憶回路14の幹線構成情報14Cに保存する(ステップS103:幹線構成特定ステップ)。
Next, the
続いて、制御回路15は、端末機器特定部15Dにより、後述の図14に示す端末機器特定処理を実行することにより、記憶回路14のMACアドレステーブル情報14Bに含まれているポート-アドレス対応情報と、記憶回路14の幹線構成情報14Cとに基づいて、幹線機器に直接的に接続されている端末機器と、ネットワーク機器のうち幹線機器以外の非幹線機器を介して幹線機器に間接的に接続されている端末機器とを特定し、得られた特定結果と幹線構成情報14Cとに基づいてネットワーク構成情報14Dを生成し、記憶回路14に保存する(ステップS104:端末機器特定ステップ)。
Subsequently, the
この後、制御回路15は、可視化処理部15Eにより、端末機器特定部15Dで生成された記憶回路14のネットワーク構成情報14Dから可視化データを生成して、表示回路13で画面表示し(ステップS105)、一連のネットワーク構成特定処理を終了する。
これにより、後述する図19に示すようなネットワーク構成表示画面が、表示回路13で可視表示される。
After that, the
As a result, the network configuration display screen as shown in FIG. 19, which will be described later, is visually displayed on the
[幹線構成特定処理]
次に、図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
That is, the trunk line
Subsequently, the trunk line
ここで、他のすべての幹線機器が対応付けられているポートがある場合(ステップ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
After that, in step S124, the trunk line
次に、幹線構成特定部15Cは、図11のステップS125~ステップS130により、末端幹線機器と接続されている中間幹線機器を特定する。
まず、幹線構成特定部15Cは、ステップS125において、末端幹線機器以外の未特定の幹線機器のうちから、未選択の幹線機器を1つ選択する(ステップS125)。
続いて、幹線構成特定部15Cは、選択した当該幹線機器のMACアドレステーブル情報14Bを参照し(ステップS126)、当該幹線機器に設けられているポートのうち、対応付けられている末端幹線機器が1つだけであるポートの有無を確認する(ステップS127)。この際、当該ポートに、末端幹線機器以外の接続機器が対応付けられていてもよい。
Next, the trunk line
First, in step S125, the trunk line
Subsequently, the trunk line
ここで、対応付けられている末端幹線機器が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
After that, in step S129, the trunk line
次に、幹線構成特定部15Cは、このようにして特定した、末端幹線機器と中間幹線機器との特定結果に基づいて、幹線機器の接続形態を示す幹線構成を特定し、末端幹線機器と中間幹線機器とを結ぶ幹線経路ごとに、当該幹線経路の両端に接続された幹線機器を示すID(例えばMACアドレス)と、その接続ポートすなわち幹線ポートとの組から構成された幹線構成情報14Cを生成し、記憶回路14に保存する(ステップS130)。
Next, the trunk line
図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
同様に、SW#CのMACアドレステーブル情報14Bを参照すると、SW#A,#BのすべてがP4に対応付けられており、SW#Cには、他のすべての幹線機器が対応付けられているポートP4が存在している。これにより、SW#Cより先には、幹線機器が接続されておらず、SW#Cは、末端幹線機器であると特定される(ステップS231)。
Similarly, referring to the MAC
次に、末端幹線機器として特定された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
これら特定結果から、末端幹線機器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
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
[端末機器特定処理]
次に、図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
Subsequently, the terminal
当該端末機器が幹線ポート以外のポートに対応付けられている場合(ステップ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
When there is only one terminal device associated with the port (step S143: YES), the terminal
図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
By the above processing, as shown in FIG. 16, in addition to FIG. 12, the network configuration in which the
一方、ステップ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
By the above processing, as shown in FIG. 17, in addition to FIG. 16, the network configuration in which
また、ステップ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
ここで、対向幹線機器の両方に端末機器が対応付けられている場合(ステップ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
一方、対向幹線ポートに同一の当該端末機器が対応付けられておらず、すなわち対応幹線機器の一方にのみ当該端末機器が対応付けられている場合(ステップ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
Here, when only one terminal device is associated with the trunk line port (step S153: YES), the terminal
一方、当該端末機器が幹線ポートに複数対応付けられている場合(ステップ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
ステップS160において、端末機器特定部15Dは、未選択の端末機器の有無を確認し(ステップS160)、未選択の端末機器がある場合(ステップS160:YES)、ステップS140へ戻る。
一方、未選択の端末機器がない場合(ステップS160:NO)、端末機器特定部15Dは、記憶回路14の幹線構成情報14Cと各端末機器の特定結果とに基づいて、IPネットワークNW全体のネットワーク構成を示すネットワーク構成情報14Dを生成して記憶回路14に保存し(ステップS161)、一連の端末機器特定処理を終了する。
In step S160, the terminal
On the other hand, when there is no unselected terminal device (step S160: NO), the terminal
図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
なお、図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
また、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
以上の処理により、すべての接続機器が特定されたことになり、図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,
図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,
このうち、アイコン31,32,33は、接続機器の種別に応じた図柄や色が用いられており、例えばアイコン31はL2スイッチやL3スイッチなどの幹線機器を示し、アイコン32はハブなどの非幹線スイッチを示し、アイコン33はPCなどの端末機器を示している。これにより、アイコンを見ただけで接続機器の種別を容易に識別でき、例えばトラブル発生状況の確認や保守の対象となる接続機器をすぐに特定することができる。
Of these,
また、アイコン31,32,33は、接続線36により階層的に接続されており、各接続機器の接続形態を容易に把握できる。また、接続線36のうちネットワーク機器が接続されている接続点には、折り畳みシンボル37が配置されている。この折り畳みシンボル37を操作することにより、当該ネットワーク機器の配下に接続されている機器の表示/非表示を切り替えることができる。これにより、余分な接続機器を非表示とすることができ、ネットワーク構成が複雑であっても、対象となる接続機器を見やすく表示することができる。
Further, the
また、各行のポート番号34により、当該接続機器が接続先のネットワーク機器のどのポートに接続されているかを容易かつ具体的に把握できる。これにより、ポート番号34さらにはアドレス情報35に基づいて、当該接続機器に対するトラブル発生状況の確認や保守などの作業や準備を、容易に開始することができる。
なお、図19では、各接続機器に関する、アイコン31,32,33、ポート番号34、およびアドレス情報35を含む表記を、行に沿って表示した場合を例として説明したが、これに限定されるものではない。例えば、各接続機器に関する表記を、行に依存した位置ではなく、フリーな位置に接続機器ごとに表示し、これらをそれぞれの接続機器の接続形態に沿って階層的にツリー形式で接続線36により接続するように表示してもよい。
Further, the
In FIG. 19, the notation including the
[本実施の形態の効果]
このように、本実施の形態は、制御回路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
これにより、MACアドレステーブル情報14Bを取得できた幹線機器に関する接続形態、すなわち幹線構成が特定された後、これら幹線機器に対して直接的あるいは間接的に接続されている接続機器が特定される。したがって、MACアドレステーブル情報14Bの取得に非対応のネットワーク機器、すなわち非幹線機器が含まれる場合でも、ネットワーク構成を特定することが可能となる。
As a result, after the connection form related to the trunk line device for which the MAC
また、本実施の形態において、幹線構成特定部15Cが、幹線機器ごとに、当該幹線機器以外の幹線機器のMACアドレスが全て対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が末端幹線機器であると特定し、末端幹線機器以外の幹線機器ごとに、末端幹線機器が1つだけ対応付けられているポートの有無を確認し、当該ポートがある場合、当該幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定し、これら特定結果に基づいて幹線構成を特定するようにしてもよい。これにより、幹線構成を正確に特定することが可能となる。
Further, in the present embodiment, the trunk line
また、本実施の形態において、幹線構成特定部15Cが、末端幹線機器以外の幹線機器ごとに、末端幹線機器が複数対応付けられているポートの有無を確認し、当該ポートがある場合、末端幹線機器以外の幹線機器のうち、末端幹線機器が対応付けられているポートを選択し、選択したポートのうち、当該ポートに対応付けられている幹線機器の数が最も少ないポートを有する幹線機器が、末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定するようにしてもよい。これにより、幹線構成をさらに正確に特定することが可能となる。
Further, in the present embodiment, the trunk line
また、本実施の形態において、端末機器特定部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
また、本実施の形態において、端末機器特定部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
また、本実施の形態において、端末機器特定部15Dが、幹線構成において2つの幹線機器がそれぞれのポートに対向して接続されており、かつ、これらのポートに同一の端末機器が共通して接続されている場合、当該端末機器が非幹線機器を介して当該幹線機器間に間接的に接続されていると特定するように構成してもよい。これにより、非幹線機器を介して幹線機器間に間接的に接続されている端末機器を正確に特定することが可能となる。
Further, in the present embodiment, the terminal
[実施の形態の拡張]
以上、実施形態を参照して本発明を説明したが、本発明は上記実施形態に限定されるものではない。本発明の構成や詳細には、本発明のスコープ内で当業者が理解しうる様々な変更をすることができる。また、各実施形態については、矛盾しない範囲で任意に組み合わせて実施することができる。
[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)
前記ネットワーク機器の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.
前記幹線構成特定部は、前記幹線機器ごとに、当該幹線機器以外の幹線機器の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.
前記幹線構成特定部は、前記末端幹線機器以外の幹線機器ごとに、前記末端幹線機器が複数対応付けられているポートの有無を確認し、当該ポートがある場合、前記末端幹線機器以外の幹線機器のうち、前記末端幹線機器が対応付けられているポートを選択し、選択したポートのうち、当該ポートに対応付けられている幹線機器の数が最も少ないポートを有する幹線機器が、前記末端幹線機器と幹線経路を介して接続された中間幹線機器であると特定することを特徴とするネットワーク構成特定装置。 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つの端末機器が接続されている場合、当該端末機器が当該幹線機器に直接的に接続されていると特定することを特徴とするネットワーク構成特定装置。 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.
前記端末機器特定部は、前記幹線機器に設けられているポートのうち、他の幹線機器が接続されていないポートに複数の端末機器が接続されている場合、これらの端末機器が当該幹線機器に非幹線機器を介して間接的に接続されていると特定することを特徴とするネットワーク構成特定装置。 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.
前記端末機器特定部は、前記幹線構成において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.
前記端末機器特定部は、前記幹線構成において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.
前記端末機器特定部は、前記幹線構成において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.
前記端末機器特定部で生成された前記ネットワーク構成情報に基づいて、前記ネットワーク構成を可視化した可視化データを生成する可視化処理部をさらに備え、
前記可視化データは、前記接続機器ごとに生成した、当該接続機器を示すアイコン、当該接続機器のアドレス情報、および当該接続機器が接続されているネットワーク機器のポート番号を含む表記と、これら表記を前記接続機器の接続形態に沿って階層的にツリー形式で接続する接続線とから構成されている
ことを特徴とするネットワーク構成特定装置。 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.
前記制御回路が、前記ポート-アドレス対応情報および前記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.
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) |
-
2020
- 2020-12-01 JP JP2020199764A patent/JP2022087693A/en active Pending
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 |