KR20210119313A - Network device and method for determining network configuration - Google Patents

Network device and method for determining network configuration Download PDF

Info

Publication number
KR20210119313A
KR20210119313A KR1020210035199A KR20210035199A KR20210119313A KR 20210119313 A KR20210119313 A KR 20210119313A KR 1020210035199 A KR1020210035199 A KR 1020210035199A KR 20210035199 A KR20210035199 A KR 20210035199A KR 20210119313 A KR20210119313 A KR 20210119313A
Authority
KR
South Korea
Prior art keywords
switch
mac address
switches
instruction
network
Prior art date
Application number
KR1020210035199A
Other languages
Korean (ko)
Other versions
KR102544882B1 (en
Inventor
다카히코 오오타
기코 오카야마
Original Assignee
아즈빌주식회사
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 아즈빌주식회사 filed Critical 아즈빌주식회사
Publication of KR20210119313A publication Critical patent/KR20210119313A/en
Application granted granted Critical
Publication of KR102544882B1 publication Critical patent/KR102544882B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/065Generation of reports related to network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • H04L49/3009Header conversion, routing tables or routing tags
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • H04L61/1552
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4552Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
    • H04L61/6022
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An object of the present invention is to grasp connection configuration of a plurality of switches in a network. A first instruction unit (101) sends a first instruction for acquiring a MAC address to each of a plurality of switches connected to a network (120) by a broadcast message or a multicast message, a second instruction unit (102) causes a request message (for example, ping) to be returned, which sets a dummy address which does not exist on the network (120) as a transmission source, to each of the plurality of switches, after that, an acquiring unit (103) acquires the MAC address table from each of the plurality of switches via the network (120).

Description

네트워크 장치 및 네트워크 구성 판별 방법{NETWORK DEVICE AND METHOD FOR DETERMINING NETWORK CONFIGURATION}How to determine network devices and network configuration

본 발명은, 네트워크에 접속되어 있는 스위치 구성을 판별하는 네트워크 장치 및 네트워크 구성 판별 방법에 관한 것이다.The present invention relates to a network device for determining a switch configuration connected to a network and a method for determining a network configuration.

최근, IoT(Internet of Thing)의 보급에 따라, 다양한 기기가 네트워크에 접속되도록 되어 있다(특허문헌 1, 2 참조). 이와 같이 네트워크 내부가 복수의 기기에 의해 구성되어 있을 때에, 이들의 경로 정보, 네트워크 구성을 파악하는 것은 중요하다.In recent years, with the spread of IoT (Internet of Thing), various devices are connected to a network (refer to Patent Documents 1 and 2). In this way, when the inside of the network is constituted by a plurality of devices, it is important to grasp the route information and network configuration of these devices.

[특허문헌 1] 일본 특허 공표 제2019-524013호 공보[Patent Document 1] Japanese Patent Publication No. 2019-524013 [특허문헌 2] 일본 특허 제6446891호 공보[Patent Document 2] Japanese Patent No. 6446891

전술한 바와 같이, 네트워크 내에 접속되는 기기가 증가했기 때문에, 이들 기기가 어떤 스위치(스위칭 허브)에 접속되어 있는 것인지를 파악하는 것이 중요해진다. 또한, 기기의 접속 상태를 파악하기 위해서는 스위치의 구성을 파악하는 것이 중요해진다. 예컨대, 통신장애 등이 발생한 경우에, 복수의 스위치의 접속 구성이 파악되어 있지 않으면, 원인 특정에 많은 시간을 필요로 하는 등의 문제가 있다.As described above, since the number of devices connected in the network has increased, it becomes important to know which switch (switching hub) these devices are connected to. In addition, in order to understand the connection state of the device, it becomes important to understand the configuration of the switch. For example, when a communication failure or the like occurs, if the connection configuration of a plurality of switches is not grasped, there is a problem in that it takes a lot of time to identify the cause.

본 발명은, 이상과 같은 문제점을 해소하기 위해 이루어진 것으로, 네트워크에 있어서의 복수의 스위치의 접속 구성을 파악할 수 있도록 하는 것을 목적으로 한다.The present invention has been made in order to solve the above problems, and an object of the present invention is to make it possible to grasp the connection configuration of a plurality of switches in a network.

본 발명에 따른 네트워크 장치는, 브로드캐스트 메시지에 의해, 네트워크에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출하도록 구성된 제1 지시부와, 제1 지시부가, 제1 지시를 송출한 후, 네트워크 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 복수의 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신하도록 구성된 제2 지시부와, 제2 지시부가, 제2 지시를 송신한 후, 복수의 스위치 각각으로부터, 네트워크를 통해 MAC 어드레스 테이블을 취득하도록 구성된 취득부와, 취득부가 취득한 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하도록 구성된 제1 처리부와, 제1 처리가 행해진 후, 취득부가 취득한 MAC 어드레스 테이블 중에서, 하나의 포트에 자(自) 스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하도록 구성된 제2 처리부와, 제2 처리가 행해진 후, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를, 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하도록 구성된 제3 처리부와, 취득부가 취득한 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하도록 구성된 제4 처리부와, 취득부가 취득한 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 제1 스위치가 하나 검색될 때마다, 검색된 제1 스위치가 상위 스위치에 해당하지 않는 경우는, 제1 스위치의 MAC 어드레스 정보를, 취득부가 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하도록 구성된 제5 처리부와, 제5 처리부에 의해 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하도록 구성된 판별부와, 판별부가 판별한 복수의 스위치끼리의 접속 상태를, 표시부에 표시하도록 구성된 표시 제어부를 구비한다.A network device according to the present invention includes a first instruction unit configured to transmit a first instruction for acquiring a MAC address to each of a plurality of switches connected to a network by a broadcast message; After sending the instruction, a second instruction for sending, to each of the plurality of switches, a request message returned by setting an IP address that does not exist on the network as a source of transmission is transmitted to each of the plurality of switches. The second instruction unit and the second instruction unit transmit the second instruction, and then, from each of the plurality of switches, an obtaining unit configured to obtain a MAC address table via the network, and from the MAC address table of each of the plurality of switches obtained by the obtaining unit. , a first processing unit configured to perform a first processing of removing MAC addresses other than MAC addresses of the plurality of switches; a second processing unit configured to perform a second process of setting a switch in the MAC address table in which all MAC addresses of the MAC addresses are registered as an end switch; A third processing unit configured to perform a third process of setting a switch in the address table to an upper level switch connected to one higher level of the terminal switch, and a MAC address of the terminal switch from the MAC address table of other switches other than the terminal switch acquired by the acquiring unit a fourth processing unit configured to perform a fourth process of deleting a fifth processing unit configured to perform a fifth processing of deleting MAC address information of the first switch from the MAC address table acquired by the acquisition unit whenever the searched first switch does not correspond to a higher-order switch; 5 based on the connection relationship between the first switch searched by the processing unit and the second switch having a MAC address in which only one port is set in one port in the MAC address table of the first switch, to determine the connection status of the plurality of switches A display control unit is provided so as to display on the display unit the connected state of the plurality of switches determined by the discriminating unit and the discriminating unit.

상기 네트워크 장치의 일 구성예에 있어서, 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation이다.In one configuration example of the network device, the first indication is an ARP request or Neighbor Solicitation of IPv6.

상기 네트워크 장치의 일 구성예에 있어서, 복수의 스위치는, SNMP 프로토콜로 접속되어 있다.In one configuration example of the network device, a plurality of switches are connected by SNMP protocol.

또한, 본 발명에 따른 네트워크 구성 판별 방법은, 브로드캐스트 메시지에 의해, 네트워크에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출하는 제1 공정과, 제1 공정에서, 제1 지시를 송출한 후, 네트워크 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신하는 제2 공정과, 제2 공정에서, 제2 지시를 송신한 후, 복수의 스위치 각각으로부터, 네트워크를 통해 MAC 어드레스 테이블을 취득하는 제3 공정과, 제3 공정에서 취득된 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하는 제4 공정과, 제1 처리가 행해진 후, 제3 공정에서 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하는 제5 공정과, 제2 처리가 행해진 후, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하는 제6 공정과, 제3 공정에서 취득된 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하는 제7 공정과, 제3 공정에서 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 제1 스위치가 하나 검색될 때마다, 검색된 제1 스위치가 상위 스위치에 해당하지 않는 경우는, 제1 스위치의 MAC 어드레스 정보를, 제3 공정이 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하는 제8 공정과, 제8 공정에서 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하는 제9 공정과, 제9 공정에서 판별된 복수의 스위치끼리의 접속 상태를, 표시부에 표시하는 제10 공정을 구비한다.In addition, the method for determining the network configuration according to the present invention comprises a first step of sending a first instruction for acquiring a MAC address to each of a plurality of switches connected to the network by a broadcast message; , after sending the first instruction, transmit to each of the plurality of switches a second instruction for sending, to each of the plurality of switches, a request message returned by setting an IP address that does not exist on the network as the source of transmission a second step of, in the second step, a third step of acquiring a MAC address table from each of the plurality of switches via the network after transmitting the second instruction; A fourth process of removing MAC addresses other than the MAC addresses of a plurality of switches from the MAC address table is performed, and after the first process is performed, one port is A fifth step of setting the switches in the MAC address table in which all MAC addresses other than the own switch are registered as terminal switches, and after the second processing is performed, only the MAC address of the terminal switch is assigned to one port a sixth step of performing a third process of setting a switch in the set MAC address table to an upper switch connected to one higher level of the terminal switch; In the seventh process of performing a fourth process of deleting the MAC address of Each time one switch is searched for, if the searched first switch does not correspond to the higher-order switch, a fifth process of deleting the MAC address information of the first switch from the MAC address table acquired in the third step is performed 8 process, the first switch found in the eighth process, and the MA of the first switch A ninth step of determining a connection state between a plurality of switches based on a connection relationship with a second switch of a MAC address in which only one port is set for one port in the C address table; A tenth step of displaying the connection state between the switches is provided on the display unit.

상기 네트워크 구성 판별 방법의 일 구성예에 있어서, 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation이다.In one configuration example of the method for determining the network configuration, the first indication is an ARP request or Neighbor Solicitation of IPv6.

상기 네트워크 구성 판별 방법의 일 구성예에 있어서, 복수의 스위치는, SNMP 프로토콜로 접속되어 있다.In one configuration example of the method for determining the network configuration, a plurality of switches are connected by an SNMP protocol.

이상 설명한 바와 같이, 본 발명에 따르면, MAC 어드레스의 취득을 위한 제1 지시를 브로드캐스트 메시지에 의해 네트워크에 송출한 후, 네트워크에 접속되어 있는 복수의 스위치 각각으로부터 MAC 어드레스 테이블을 취득하고, 취득한 복수의 MAC 어드레스 테이블을 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하기 때문에, 네트워크에 있어서의 복수의 스위치의 접속 구성을 파악할 수 있다.As described above, according to the present invention, after the first instruction for acquiring the MAC address is transmitted to the network by a broadcast message, the MAC address table is acquired from each of a plurality of switches connected to the network, and the acquired plurality of Since the connection state of a plurality of switches is determined based on the MAC address table of , the connection configuration of a plurality of switches in the network can be grasped.

도 1은 본 발명의 실시형태에 따른 네트워크 장치(100)의 구성을 나타낸 구성도이다.
도 2는 본 발명의 실시형태에 따른 네트워크 구성 판별 방법을 설명한 흐름도이다.
도 3은 본 발명의 실시형태에 따른 네트워크 장치(100)에 있어서의 표시부(111)의 표시예를 나타낸 구성도이다.
도 4는 실시형태에 따른 네트워크 장치(100)의 하드웨어 구성을 나타낸 구성도이다.
1 is a block diagram showing the configuration of a network device 100 according to an embodiment of the present invention.
2 is a flowchart illustrating a method for determining a network configuration according to an embodiment of the present invention.
3 is a configuration diagram showing a display example of the display unit 111 in the network device 100 according to the embodiment of the present invention.
4 is a configuration diagram showing a hardware configuration of the network device 100 according to the embodiment.

이하, 본 발명의 실시형태에 따른 네트워크 장치(100)에 대해서 도 1을 참조하여 설명한다. 네트워크 장치(100)는, 제1 지시부(101), 제2 지시부(102), 취득부(103), 제1 처리부(104), 제2 처리부(105), 제3 처리부(106), 제4 처리부(107), 제5 처리부(108), 판별부(109), 표시 제어부(110), 표시부(111), 접속부(112), 및 입력부(113)를 구비한다.Hereinafter, a network device 100 according to an embodiment of the present invention will be described with reference to FIG. 1 . The network device 100 includes a first instruction unit 101 , a second instruction unit 102 , an acquisition unit 103 , a first processing unit 104 , a second processing unit 105 , a third processing unit 106 , and a fourth A processing unit 107 , a fifth processing unit 108 , a determining unit 109 , a display control unit 110 , a display unit 111 , a connection unit 112 , and an input unit 113 are provided.

제1 지시부(101)는, 브로드캐스트 메시지에 의해, 네트워크(120)에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출한다. 제1 지시부(101)는, 예컨대, 제1 지시로서, ARP(Address Resolution Proto col) 리퀘스트를 송출한다. 또한, 제1 지시는, IPv6의 Neighbor Solicitation(NS)으로 할 수도 있다. 네트워크 장치(100)는, 네트워크 접속 기능을 갖는 접속부(112)에 의해, 네트워크(120)에 접속되어 있다. 네트워크(120)에는, 예컨대, 빌딩 관리 시스템을 구성하는 관리 서버, 감시 서버, 단말 기기 등이 접속되어 있다.The first instruction unit 101 transmits a first instruction for acquiring the MAC address to each of the plurality of switches connected to the network 120 through a broadcast message. The first instruction unit 101 transmits, for example, an Address Resolution Protocol (ARP) request as a first instruction. Also, the first instruction may be IPv6 Neighbor Solicitation (NS). The network device 100 is connected to the network 120 by a connection unit 112 having a network connection function. The network 120 is connected to, for example, a management server, a monitoring server, a terminal device, etc. constituting the building management system.

또한, 도 1에 도시된 예에서는, 네트워크(120)에, 스위치 A(131), 스위치 B(132), 스위치 C(133), 스위치 D(134)가 접속(수용)되어 있다. 이 예에서는, 스위치 A(131)가 구비하는 복수의 포트 중 어느 하나에, 스위치 B(132), 스위치 C(133)가 접속되어 있다. 또한, 스위치 B(132)가 구비하는 복수의 포트 중 어느 하나에, 스위치 D(134)가 접속되어 있다. 이 예에 있어서, 스위치 C(133), 스위치 D(134)가 말단 스위치가 된다.In addition, in the example shown in FIG. 1, switch A 131, switch B 132, switch C 133, and switch D 134 are connected (accommodated) to the network 120. As shown in FIG. In this example, the switch B 132 and the switch C 133 are connected to any one of a plurality of ports included in the switch A 131 . Further, the switch D (134) is connected to any one of a plurality of ports included in the switch B (132). In this example, switch C (133) and switch D (134) are terminal switches.

제2 지시부(102)는, 제1 지시부(101)가, 제1 지시를 송출한 후, 네트워크(120) 상에 존재하지 않는 IP 어드레스(더미 어드레스)를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지(예컨대 Ping)를, 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신(송출)한다. 이 Ping을 수신한 각 스위치는, 더미 어드레스의 ARP 리퀘스트를 브로드캐스트 송신하기 때문에, 모든 스위치의 MAC 어드레스 테이블에, 자신(자스위치) 이외의 스위치의 MAC 어드레스가 등록되게 된다.The second instruction unit 102 sets an IP address (dummy address) that does not exist on the network 120 as a transmission source after the first instruction unit 101 sends the first instruction, and the request is returned. A second instruction for sending a message (eg, ping) to each of the plurality of switches is transmitted (transmitted) to each of the plurality of switches. Each switch receiving this ping broadcast transmits an ARP request of a dummy address, so that the MAC addresses of switches other than itself (own switch) are registered in the MAC address tables of all switches.

취득부(103)는, 제2 지시부(102)가, 제2 지시를 송신한 후, 복수의 스위치 각각으로부터, 네트워크(120)를 통해 MAC 어드레스 테이블을 취득한다. 이 취득은, 스위치의 MAC 어드레스 테이블이 리프레시되기 전에 실시한다. 취득부(103)는, MAC 어드레스 테이블을, 대응하는 스위치의 식별 정보와 함께 취득한다. 예컨대, 복수의 스위치는, SNMP(Simple Network Management Protocol) 프로토콜로 접속되어 있으면, 취득부(103)는, SNMP 프로토콜에 의해, 복수의 스위치 각각으로부터 MAC 어드레스 테이블을 취득할 수 있다. 또한, 대상이 되는 스위치에 설정되어 있는 IP 어드레스는, 사전에 파악되고 있다.The acquisition unit 103 acquires the MAC address table from each of the plurality of switches via the network 120 after the second instruction unit 102 transmits the second instruction. This acquisition is performed before the MAC address table of the switch is refreshed. The acquisition unit 103 acquires the MAC address table together with identification information of the corresponding switch. For example, if the plurality of switches are connected by the SNMP (Simple Network Management Protocol) protocol, the acquisition unit 103 can acquire the MAC address table from each of the plurality of switches by the SNMP protocol. In addition, the IP address set in the target switch is grasped|ascertained in advance.

제1 처리부(104)는, 취득부(103)가 취득한 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 한다.The first processing unit 104 performs a first process of removing MAC addresses other than the MAC addresses of the plurality of switches from the MAC address tables of each of the plurality of switches acquired by the acquisition unit 103 .

제2 처리부(105)는, 제1 처리가 행해진 후, 취득부(103)가 취득한 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 한다.After the first processing is performed, the second processing unit 105 switches a switch in the MAC address table in which all MAC addresses other than the own switch are registered in one port from among the MAC address tables acquired by the acquisition unit 103 to the terminal switch. A second process is performed to set .

제3 처리부(106)는, 제2 처리가 행해진 후, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를, 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 한다.The third processing unit 106 sets, after the second processing, a switch in the MAC address table in which only the MAC address of the terminal switch is set in one port, as a high-order switch connected to one higher level of the terminal switch. do

제4 처리부(107)는, 취득부(103)가 취득한 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 한다.The fourth processing unit 107 performs a fourth process of deleting the MAC address of the terminal switch from the MAC address table of other switches other than the terminal switch acquired by the acquiring unit 103 .

제5 처리부(108)는, 이하에 나타내는 제5 처리를 한다. 제5 처리부(108)는, 우선, 취득부(103)가 취득한 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색한다. 또한, 제5 처리부(108)는, 제1 스위치가 하나 검색될 때마다, 검색된 제1 스위치가 상위 스위치에 해당하지 않는 경우는, 제1 스위치의 MAC 어드레스 정보를, 취득부(103)가 취득한 MAC 어드레스 테이블 중으로부터 삭제한다.The fifth processing unit 108 performs the fifth processing shown below. First, the fifth processing unit 108 searches for the first switch in the MAC address table in which only one MAC address is set for one port from the MAC address table acquired by the acquisition unit 103 . In addition, whenever a first switch is searched for, the fifth processing unit 108 obtains the MAC address information of the first switch when the retrieved first switch does not correspond to a higher-order switch. It is deleted from the MAC address table.

판별부(109)는, 제5 처리부(108)에 의해 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별한다. 표시 제어부(110)는, 판별부(109)가 판별한 복수의 스위치끼리의 접속 상태를, 표시부(111)에 표시한다.The determination unit 109 based on the connection relationship between the first switch searched by the fifth processing unit 108 and the second switch having a MAC address in which only one port is set in one port from among the MAC address tables of the first switch. In this way, the connection state of a plurality of switches is determined. The display control unit 110 displays, on the display unit 111 , the connection state of the plurality of switches determined by the determination unit 109 .

네트워크 장치(100)는, 예컨대, 입력부(113)로부터 입력된 지시에 의해, 제1 지시부(101), 제2 지시부(102), 취득부(103), 제1 처리부(104), 제2 처리부(105),제3 처리부(106), 제4 처리부(107), 제5 처리부(108), 판별부(109), 표시 제어부(110)의 동작을 시작한다.The network device 100, for example, according to the instruction input from the input unit 113, the first instruction unit 101, the second instruction unit 102, the acquisition unit 103, the first processing unit 104, the second processing unit (105), the operation of the third processing unit 106, the fourth processing unit 107, the fifth processing unit 108, the determining unit 109, and the display control unit 110 is started.

다음에, 실시형태에 따른 네트워크 장치의 동작(네트워크 구성 판별 방법)에 대해서, 도 2의 흐름도를 참조하여 설명한다.Next, the operation (network configuration determination method) of the network device according to the embodiment will be described with reference to the flowchart in FIG. 2 .

우선, 단계 S101에서, 제1 지시부(101)가, 브로드캐스트 메시지에 의해, 네트워크(120)에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시(ARP 리퀘스트)를 송출한다(제1 공정).First, in step S101, the first instruction unit 101 sends a first instruction (ARP request) for obtaining a MAC address to each of the plurality of switches connected to the network 120 by a broadcast message. (first step).

제1 지시부(101)가 제1 지시를 송출한 후, 단계 S102에서, 제2 지시부(102)가, 네트워크(120) 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지(예컨대 Ping)를, 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 복수의 스위치 각각에 대하여 송신한다(제2 공정).After the first instruction unit 101 sends out the first instruction, in step S102, the second instruction unit 102 sets an IP address that does not exist on the network 120 as the source of the sender, and the request is returned. A second instruction for sending (eg, ping) to each of the plurality of switches is transmitted to each of the plurality of switches (second step).

다음에, 제2 지시부(102)가 제2 지시를 송신한 후, 단계 S103에서, 취득부(103)가, 복수의 스위치 각각으로부터, 네트워크(120)를 통해 MAC 어드레스 테이블을 취득한다(제3 공정). 취득부(103)가 MAC 어드레스 테이블을 취득하면, 단계 S104에서, 제1 처리부(104)가, 제3 공정에서 취득된 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리(MAC 어드레스 테이블 정리)를 한다(제4 공정).Next, after the second instruction unit 102 transmits the second instruction, in step S103, the acquisition unit 103 acquires the MAC address table from each of the plurality of switches via the network 120 (third process). When the acquisition unit 103 acquires the MAC address table, in step S104, the first processing unit 104 selects MAC addresses other than the MAC addresses of the plurality of switches from the MAC address tables of each of the plurality of switches acquired in the third step. The first process for address removal (MAC address table arrangement) is performed (fourth process).

다음에, 제1 처리부(104)에 의해 제1 처리가 행해진 후, 단계 S105에서, 제2 처리부(105)가, 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를, 말단 스위치로 설정하는 제2 처리를 한다(제5 공정).Next, after the first processing is performed by the first processing unit 104, in step S105, the second processing unit 105 registers all MAC addresses other than the own switch in one port from the acquired MAC address table. A second process of setting the switches in the MAC address table as an end switch is performed (fifth step).

다음에, 제2 처리부(105)에 의해 제2 처리가 행해진 후, 단계 S106에서, 제3 처리부(106)가, 하나의 포트에 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 한다(제6 공정).Next, after the second processing is performed by the second processing unit 105, in step S106, the third processing unit 106 sets a switch in the MAC address table in which only the MAC address of the terminal switch is set in one port to the terminal switch. A third process is performed for setting with a higher-order switch connected to one higher level of the (6th step).

다음에, 단계 S107에서, 제4 처리부(107)가, 취득부(103)에 의해 취득된 MAC 어드레스 테이블 중의, 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 한다(제7 공정).Next, in step S107, the fourth processing unit 107 deletes the MAC address of the terminal switch from the MAC address tables of switches other than the terminal switch in the MAC address table acquired by the acquisition unit 103. 4 process (7th process).

다음에, 단계 S108에서, 제5 처리부(108)가, 제3 공정에서 취득된 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색한다(제8 공정).Next, in step S108, the fifth processing unit 108 searches for the first switch in the MAC address table in which only one MAC address is set in one port from the MAC address table obtained in the third step (the first switch). 8 process).

계속해서, 단계 S109에서, 제5 처리부(108)는, 검색된 제1 스위치가, 상위 스위치에 해당하는지 여부, 바꿔 말하면, 검색된 제1 스위치에, 말단 스위치가 연결되어 있는지 여부를 판정한다(제8 공정).Subsequently, in step S109, the fifth processing unit 108 determines whether or not the searched first switch corresponds to a higher-order switch, in other words, whether an end switch is connected to the searched first switch (eighth). process).

제5 처리부(108)는, 검색된 제1 스위치가, 상위 스위치에 해당하지 않는 경우(단계 S109의 yes), 단계 S110에서, 이때 검색된 제1 스위치의 MAC 어드레스 정보를, 취득되어 있는 MAC 어드레스 테이블 중으로부터 삭제한다(제8 공정).If the searched first switch does not correspond to the upper switch (yes in step S109), the fifth processing unit 108 converts the MAC address information of the searched first switch into the acquired MAC address table in step S110. from (Step 8).

검색된 제1 스위치가, 상위 스위치에 해당하는 경우(단계 S109의 no), 및 단계 S110 다음에, 단계 S111에서, 제5 처리부(108)는, 검색된 제1 스위치와, 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 특정한다(제8 공정).When the searched first switch corresponds to a higher-order switch (no in step S109), and after step S110, in step S111, the fifth processing unit 108 performs the searched first switch and the MAC address table of the first switch. Among them, the connection relationship with the second switch of the MAC address in which only one is set in one port is specified (eighth step).

제5 처리부(108)가, 모든 스위치에 대해서 전술한 제5 처리(제8 공정)를 실시한 후(단계 S112의 yes), 단계 S113에서, 판별부(109)가, 제1 스위치와 제2 스위치와의 접속 관계를 바탕으로, 복수의 스위치끼리의 접속 상태를 판별한다(제9 공정).After the fifth processing unit 108 performs the above-described fifth processing (eighth process) for all the switches (yes in step S112), in step S113, the determining unit 109 performs the first switch and the second switch Based on the connection relationship with , the connection state of the plurality of switches is determined (the ninth step).

전술한 처리에 의해, 도 1에 도시된 예에서는, 우선, 스위치 C(133), 스위치 D(134)는 말단 스위치라고 판별하고, 스위치 B는, 스위치 D(134)의 상위 스위치라고 판별하며, 스위치 A(131)는, 스위치 B(132) 및 스위치 C(133)의 상위 스위치라고 판별할 수 있다. 이 후, 단계 S114에서, 표시 제어부(110)가, 판별된 복수의 스위치끼리의 접속 상태를, 표시부(111)에 표시한다(제10 공정).By the above-described processing, in the example shown in Fig. 1, first, it is determined that the switch C 133 and the switch D 134 are terminal switches, and the switch B is determined as the upper switch of the switch D 134, It can be determined that the switch A 131 is an upper switch of the switch B 132 and the switch C 133 . Thereafter, in step S114 , the display control unit 110 displays the determined connection states of the plurality of switches on the display unit 111 (10th step).

판별된 접속 관계는, 예컨대, 도 3에 도시된 바와 같이, 표시부(111)에 표시된다. 표시부(111)의 표시 영역(111a)에는, 스위치 A(131), 스위치 B(132), 스위치 C(133), 스위치 D(134)의 다단의 계층 구조가, 트리 형식으로 도시된다.The determined connection relationship is displayed, for example, on the display unit 111 as shown in FIG. 3 . In the display area 111a of the display unit 111 , a multi-level hierarchical structure of the switch A 131 , the switch B 132 , the switch C 133 , and the switch D 134 is shown in a tree format.

또한, 마우스 등의 입력 기기를 이용하여, 입력부(113)로부터의 입력 지시 등에 의해, 표시부(111) 위에 있어서 포인터(141)를 조작하여, 표시부(111)에 표시되는 스위치 A(131)의 아이콘을 선택함으로써, 표시 영역(111b)에, 스위치 A(131)의 각 포트에 접속되어 있는 기기의 정보를 표시시킬 수도 있다. 예컨대, 표시 제어부(110)가, 포인터(141)가 스위치 A(131)의 아이콘에 겹치는 상태를 검출하면, 취득되어 있는 스위치 A(131)의 MAC 어드레스 테이블의 정보를 바탕으로, 스위치 A(131)의 각 포트에 접속되어 있는 기기의 정보(IP 어드레스 등)가, 기기를 나타내는 아이콘과 함께 표시된다.In addition, the icon of the switch A 131 displayed on the display unit 111 by operating the pointer 141 on the display unit 111 in response to an input instruction from the input unit 113 or the like using an input device such as a mouse. By selecting , information on the device connected to each port of the switch A 131 can be displayed in the display area 111b. For example, when the display control unit 110 detects a state in which the pointer 141 overlaps the icon of the switch A 131 , the switch A 131 is based on the acquired information in the MAC address table of the switch A 131 . ) of the device connected to each port (IP address, etc.) is displayed together with an icon indicating the device.

또한, 전술한 실시형태에 따른 네트워크 장치(100)는, 도 4에 도시된 바와 같이, CPU(Central Processing Unit; 중앙 연산 처리 장치)(301)와 주기억 장치(302)와 외부 기억 장치(303)와 네트워크 접속 장치(304) 등을 구비한 컴퓨터 기기로 하고, 주기억 장치(302)에 전개된 프로그램에 의해 CPU(301)가 동작함(프로그램을 실행함)으로써, 전술한 각 기능(네트워크 구성 판별 방법)이 실현되도록 할 수도 있다. 상기 프로그램은, 전술한 실시형태에서 나타낸 네트워크 구성 판별 방법을 컴퓨터가 실행하기 위한 프로그램이다. 네트워크 접속 장치(304)는, 네트워크(305)에 접속한다. 또한, 각 기능은, 복수의 컴퓨터 기기에 분산시킬 수도 있다.In addition, as shown in FIG. 4 , the network device 100 according to the above-described embodiment includes a CPU (Central Processing Unit) 301 , a main memory device 302 , and an external storage device 303 . and a network connection device 304 or the like, and the CPU 301 operates (executes a program) by a program developed in the main memory device 302, whereby each of the above-described functions (network configuration determination) is performed. method) can be implemented. The program is a program for the computer to execute the network configuration determination method shown in the above-described embodiment. The network connection device 304 connects to the network 305 . In addition, each function can also be distributed among a plurality of computer devices.

이상으로 설명한 바와 같이, 본 발명에 따르면, MAC 어드레스의 취득을 위한 제1 지시를 브로드캐스트 메시지에 의해 네트워크에 송출한 후, 네트워크에 접속되어 있는 복수의 스위치 각각으로부터 MAC 어드레스 테이블을 취득하고, 취득한 복수의 MAC 어드레스 테이블을 바탕으로, 복수의 스위치끼리의 접속 상태를 판별하기 때문에, 네트워크에 있어서의 복수 스위치의 접속 구성을 파악할 수 있게 된다.As described above, according to the present invention, a MAC address table is obtained from each of a plurality of switches connected to the network, after the first instruction for obtaining the MAC address is transmitted to the network by a broadcast message, Since the connection state of the plurality of switches is determined based on the plurality of MAC address tables, the connection configuration of the plurality of switches in the network can be grasped.

또한, 본 발명은 이상으로 설명한 실시형태에 한정되는 것은 아니며, 본 발명의 기술적 사상 내에서, 당분야에 있어서 통상의 지식을 갖는 자에 의해, 많은 변형 및 조합을 실시할 수 있는 것은 명백하다.In addition, this invention is not limited to embodiment demonstrated above, It is clear that many deformation|transformation and combination can be implemented by those skilled in the art within the technical spirit of this invention.

100 : 네트워크 장치 101 : 제1 지시부
102 : 제2 지시부 103 : 취득부
104 : 제1 처리부 105 : 제2 처리부
106 : 제3 처리부 107 : 제4 처리부
108 : 제5 처리부 109 : 판별부
110 : 표시 제어부 111 : 표시부
112 : 접속부 113 : 입력부
120 : 네트워크 131 : 스위치 A
132 : 스위치 B 133 : 스위치 C
134 : 스위치 D
100: network device 101: first indication unit
102: second instruction unit 103: acquisition unit
104: first processing unit 105: second processing unit
106: third processing unit 107: fourth processing unit
108: fifth processing unit 109: determining unit
110: display control unit 111: display unit
112: connection unit 113: input unit
120: network 131: switch A
132: switch B 133: switch C
134: switch D

Claims (6)

브로드캐스트 메시지 또는 멀티캐스트 메시지에 의해, 네트워크에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출하도록 구성된 제1 지시부와,
상기 제1 지시부가, 상기 제1 지시를 송출한 후, 상기 네트워크 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 상기 복수의 스위치 각각에 대하여 송출시키는 제2 지시를, 상기 복수의 스위치 각각에 대하여 송신하도록 구성된 제2 지시부와,
상기 제2 지시부가, 상기 제2 지시를 송신한 후, 상기 복수의 스위치 각각으로부터, 상기 네트워크를 통해 MAC 어드레스 테이블을 취득하도록 구성된 취득부와,
상기 취득부가 취득한 상기 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 상기 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하도록 구성된 제1 처리부와,
상기 제1 처리가 행해진 후, 상기 취득부가 취득한 MAC 어드레스 테이블 중에서, 하나의 포트에 자(自)스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하도록 구성된 제2 처리부와,
상기 제2 처리가 행해진 후, 하나의 포트에 상기 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를, 상기 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하도록 구성된 제3 처리부와,
상기 취득부가 취득한 상기 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 상기 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하도록 구성된 제4 처리부와,
상기 취득부가 취득한 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 상기 제1 스위치가 하나 검색될 때마다, 검색된 상기 제1 스위치가 상기 상위 스위치에 해당하지 않는 경우는, 상기 제1 스위치의 MAC 어드레스 정보를, 상기 취득부가 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하도록 구성된 제5 처리부와,
상기 제5 처리부에 의해 검색된 상기 제1 스위치와, 상기 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 상기 복수의 스위치끼리의 접속 상태를 판별하도록 구성된 판별부와,
상기 판별부가 판별한 상기 복수의 스위치끼리의 접속 상태를, 표시부에 표시하도록 구성된 표시 제어부
를 구비하는 네트워크 장치.
a first instruction unit configured to transmit a first instruction for obtaining a MAC address to each of the plurality of switches connected to the network by a broadcast message or a multicast message;
A second instruction for sending, to each of the plurality of switches, a request message returned by the first instruction unit after sending the first instruction, setting an IP address that does not exist on the network as a transmission source a second instruction unit configured to transmit to each of the plurality of switches;
an acquisition unit configured to acquire, from each of the plurality of switches, a MAC address table via the network, after the second instruction unit transmits the second instruction;
a first processing unit configured to perform a first process of removing MAC addresses other than the MAC addresses of the plurality of switches from the MAC address tables of each of the plurality of switches acquired by the acquisition unit;
After the first process is performed, a second process of setting, as an end switch, a switch in the MAC address table in which all MAC addresses other than the own switch are registered in one port from the MAC address table acquired by the acquiring unit a second processing unit configured to
a third process configured to perform a third process of setting, after the second process is performed, a switch in the MAC address table in which only the MAC address of the terminal switch is set in one port, as an upper switch connected to one upper level of the terminal switch processing unit,
a fourth processing unit configured to perform a fourth process of deleting the MAC address of the terminal switch from the MAC address table of a switch other than the terminal switch acquired by the acquisition unit;
From the MAC address table acquired by the acquisition unit, a first switch in a MAC address table in which only one MAC address is set for one port is searched for, and each time the first switch is searched for, the searched first switch is set to the a fifth processing unit configured to perform a fifth processing of deleting the MAC address information of the first switch from the MAC address table acquired by the acquisition unit when it does not correspond to the upper switch;
Based on the connection relationship between the first switch searched by the fifth processing unit and the second switch having a MAC address in which only one port is set in one port in the MAC address table of the first switch, the plurality of switches are connected to each other. a determining unit configured to determine the connection state of
A display control unit configured to display the connection state between the plurality of switches determined by the discrimination unit on the display unit
A network device comprising a.
제1항에 있어서,
상기 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation인 것을 특징으로 하는 네트워크 장치.
According to claim 1,
The first indication, ARP request or IPv6 Neighbor Solicitation Network device, characterized in that.
제1항 또는 제2항에 있어서,
상기 복수의 스위치는, SNMP 프로토콜로 접속되어 있는 것을 특징으로 하는 네트워크 장치.
3. The method of claim 1 or 2,
The plurality of switches are connected by SNMP protocol.
브로드캐스트 메시지 또는 멀티캐스트 메시지에 의해, 네트워크에 접속되어 있는 복수의 스위치 각각에, MAC 어드레스의 취득을 위한 제1 지시를 송출하는 제1 공정과,
상기 제1 공정에서, 상기 제1 지시를 송출한 후, 상기 네트워크 상에 존재하지 않는 IP 어드레스를 송신원으로서 설정한, 리퀘스트가 되돌아오는 디멘드 메시지를, 상기 복수 스위치 각각에 대하여 송출시키는 제2 지시를, 상기 복수의 스위치 각각에 대하여 송신하는 제2 공정과,
상기 제2 공정에서, 상기 제2 지시를 송신한 후, 상기 복수의 스위치 각각으로부터, 상기 네트워크를 통해 MAC 어드레스 테이블을 취득하는 제3 공정과,
상기 제3 공정에서 취득된 상기 복수의 스위치 각각의 MAC 어드레스 테이블로부터, 상기 복수의 스위치의 MAC 어드레스 이외의 MAC 어드레스를 제거하는 제1 처리를 하는 제4 공정과,
상기 제1 처리가 행해진 후, 상기 제3 공정에서 취득된 MAC 어드레스 테이블 중에서, 하나의 포트에 자스위치 이외의 모든 MAC 어드레스가 등록되어 있는 MAC 어드레스 테이블의 스위치를 말단 스위치로 설정하는 제2 처리를 하는 제5 공정과,
상기 제2 처리가 행해진 후, 하나의 포트에 상기 말단 스위치의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 스위치를 상기 말단 스위치의 하나 상위에 접속하는 상위 스위치로 설정하는 제3 처리를 하는 제6 공정과,
상기 제3 공정에서 취득된 상기 말단 스위치 이외의 다른 스위치의 MAC 어드레스 테이블로부터, 상기 말단 스위치의 MAC 어드레스를 삭제하는 제4 처리를 하는 제7 공정과,
상기 제3 공정에서 취득된 MAC 어드레스 테이블 중으로부터, 하나의 포트에 하나의 MAC 어드레스만이 설정된 MAC 어드레스 테이블의 제1 스위치를 검색하고, 상기 제1 스위치가 하나 검색될 때마다, 검색된 상기 제1 스위치가 상기 상위 스위치에 해당하지 않는 경우는, 상기 제1 스위치의 MAC 어드레스 정보를, 상기 제3 공정이 취득한 MAC 어드레스 테이블 중으로부터 삭제하는 제5 처리를 하는 제8 공정과,
상기 제8 공정에서 검색된 상기 제1 스위치와, 상기 제1 스위치의 MAC 어드레스 테이블 중에서 하나의 포트에 하나만이 설정되어 있는 MAC 어드레스의 제2 스위치와의 접속 관계를 바탕으로, 상기 복수의 스위치끼리의 접속 상태를 판별하는 제9 공정과,
상기 제9 공정에서 판별된 상기 복수의 스위치끼리의 접속 상태를, 표시부에 표시하는 제10 공정
을 포함하는 네트워크 구성 판별 방법.
a first step of sending a first instruction for acquiring a MAC address to each of a plurality of switches connected to the network by a broadcast message or a multicast message;
In the first step, after sending the first instruction, a second instruction for sending, to each of the plurality of switches, a request message returned by setting an IP address that does not exist on the network as a transmission source , a second step of transmitting to each of the plurality of switches;
a third step of acquiring a MAC address table from each of the plurality of switches via the network after transmitting the second instruction in the second step;
a fourth step of performing a first process of removing MAC addresses other than the MAC addresses of the plurality of switches from the MAC address tables of each of the plurality of switches obtained in the third step;
After the first process is performed, a second process of setting, as an end switch, a switch in the MAC address table in which all MAC addresses other than the own switch are registered in one port from the MAC address table obtained in the third process a fifth process to
a sixth step of performing a third process of setting, after the second process, a switch in the MAC address table in which only the MAC address of the terminal switch is set in one port, as an upper switch connecting one upper switch of the terminal switch; ,
a seventh step of performing a fourth process of deleting the MAC address of the terminal switch from the MAC address table of switches other than the terminal switch obtained in the third step;
From among the MAC address tables obtained in the third step, a first switch in a MAC address table in which only one MAC address is set for one port is searched for, and each time the first switch is searched for, the searched first switch an eighth step of performing a fifth process of deleting the MAC address information of the first switch from the MAC address table acquired in the third step when the switch does not correspond to the upper level switch;
Based on the connection relationship between the first switch found in the eighth step and the second switch having a MAC address in which only one port is set in one port in the MAC address table of the first switch, a ninth step of determining a connection state;
A tenth step of displaying the connection states of the plurality of switches determined in the ninth step on a display unit
A method for determining network configuration, including
제4항에 있어서,
상기 제1 지시는, ARP 리퀘스트 또는 IPv6의 Neighbor Solicitation인 것을 특징으로 하는 네트워크 구성 판별 방법.
5. The method of claim 4,
The first indication is a network configuration determination method, characterized in that the ARP request or IPv6 Neighbor Solicitation.
제4항 또는 제5항에 있어서,
상기 복수의 스위치는, SNMP 프로토콜로 접속되어 있는 것을 특징으로 하는 네트워크 구성 판별 방법.
6. The method according to claim 4 or 5,
The network configuration determination method, characterized in that the plurality of switches are connected by SNMP protocol.
KR1020210035199A 2020-03-24 2021-03-18 Network device and method for determining network configuration KR102544882B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2020052645A JP7393264B2 (en) 2020-03-24 2020-03-24 Network devices and network configuration determination method
JPJP-P-2020-052645 2020-03-24

Publications (2)

Publication Number Publication Date
KR20210119313A true KR20210119313A (en) 2021-10-05
KR102544882B1 KR102544882B1 (en) 2023-06-16

Family

ID=77809016

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210035199A KR102544882B1 (en) 2020-03-24 2021-03-18 Network device and method for determining network configuration

Country Status (3)

Country Link
JP (1) JP7393264B2 (en)
KR (1) KR102544882B1 (en)
CN (1) CN113452545B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100006679A (en) * 2008-07-10 2010-01-21 청강문화산업대학 산학협력단 Location search method of host using ethernet network apparatus connection structure
JP2010097273A (en) * 2008-10-14 2010-04-30 Institute Of Physical & Chemical Research Network configuration information acquisition method and device
JP6446891B2 (en) 2014-07-29 2019-01-09 富士通株式会社 COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2019524013A (en) 2016-05-27 2019-08-29 アフェロ インコーポレイテッドAfero, Inc. System and method for establishing a secure communication channel with an Internet of Things (IOT) device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056465A (en) * 2002-07-19 2004-02-19 Victor Co Of Japan Ltd Network management device and computer program
JP5935859B2 (en) * 2010-06-01 2016-06-15 ヤマハ株式会社 Topology detection system, relay device, and program
US8914503B2 (en) 2011-11-15 2014-12-16 Riverbed Technology, Inc. Detected IP link and connectivity inference
CN103036725B (en) * 2012-12-17 2015-08-19 华为技术有限公司 A kind of method of discovering network topology and network management device
JP6771855B2 (en) 2014-06-02 2020-10-21 ヤマハ株式会社 Relay device and program
CN104184624A (en) * 2014-09-19 2014-12-03 上海斐讯数据通信技术有限公司 Network topology searching system and method
CN104579979A (en) * 2015-01-21 2015-04-29 武汉微创光电股份有限公司 Network topology discovery method based on MAC information
CN108206792B (en) * 2016-12-16 2020-10-23 北京神州泰岳软件股份有限公司 Topological structure discovery method and device of switch
CN110679115A (en) 2017-06-05 2020-01-10 雅马哈株式会社 Communication control device, communication control method, and program for executing communication control method
CN108282362B (en) * 2017-12-29 2021-05-14 武汉璞华大数据技术有限公司 Network topology generation method, device and equipment
CN113572645B (en) * 2018-10-12 2024-04-05 北京信研汇智信息技术有限公司 Method, device, storage medium and processor for generating network topology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100006679A (en) * 2008-07-10 2010-01-21 청강문화산업대학 산학협력단 Location search method of host using ethernet network apparatus connection structure
JP2010097273A (en) * 2008-10-14 2010-04-30 Institute Of Physical & Chemical Research Network configuration information acquisition method and device
JP6446891B2 (en) 2014-07-29 2019-01-09 富士通株式会社 COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP2019524013A (en) 2016-05-27 2019-08-29 アフェロ インコーポレイテッドAfero, Inc. System and method for establishing a secure communication channel with an Internet of Things (IOT) device

Also Published As

Publication number Publication date
JP2021153247A (en) 2021-09-30
CN113452545B (en) 2023-11-14
JP7393264B2 (en) 2023-12-06
CN113452545A (en) 2021-09-28
KR102544882B1 (en) 2023-06-16

Similar Documents

Publication Publication Date Title
CN110661669B (en) Network topology automatic discovery method of network equipment based on ICMP, TCP and UDP protocols
JP4983104B2 (en) Network system and server
CN110401568B (en) Network topology discovery method and equipment
US20190222656A1 (en) Communication Method and Apparatus
CN108737275B (en) Plug-and-play satellite-borne network management method based on SpaceFibre
US20020124079A1 (en) System for inference of presence of network infrastructure devices
CN111711659A (en) Method and device for remotely managing terminal, equipment and storage medium thereof
US20190245785A1 (en) Output device discovery using network switches
US7730173B2 (en) Detecting nearby devices in a network environment
KR20080005622A (en) Control point at upnp network and registration method of preference device
US20010007567A1 (en) Address management apparatus and address management method
KR20210119313A (en) Network device and method for determining network configuration
US20180123924A1 (en) Cluster server monitoring system and method
CN111010425A (en) Server connection method, load balancing equipment and electronic equipment
CN111064729A (en) Message processing method and device, storage medium and electronic device
CN115941541A (en) Method, device, network equipment and readable storage medium for detecting network connection
KR102549279B1 (en) Network device and network configuration determining method
CN108769293B (en) IP address resolution method and related device
CN110022219B (en) Network cluster detection method and system, electronic device and storage medium
US20070226618A1 (en) Information Processing Device, Device Display Processing Method, And Storage Meidum
JP3570300B2 (en) Fault management method and method
JP2015186164A (en) monitoring server, network monitoring system, network monitoring method and network monitoring program
CN113037704B (en) Detection device and detection method
JP2021078016A (en) Network device and network configuration determination method
JP7444249B2 (en) Table entry count measuring device, method, and program

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant