JP2020195068A - Network system and switch device constituting the same - Google Patents

Network system and switch device constituting the same Download PDF

Info

Publication number
JP2020195068A
JP2020195068A JP2019099676A JP2019099676A JP2020195068A JP 2020195068 A JP2020195068 A JP 2020195068A JP 2019099676 A JP2019099676 A JP 2019099676A JP 2019099676 A JP2019099676 A JP 2019099676A JP 2020195068 A JP2020195068 A JP 2020195068A
Authority
JP
Japan
Prior art keywords
switch device
frame
network
network system
switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2019099676A
Other languages
Japanese (ja)
Inventor
保磨 金森
Yasuma Kanamori
保磨 金森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
RYOSEI SYSTEMS Ltd
Original Assignee
RYOSEI SYSTEMS Ltd
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 RYOSEI SYSTEMS Ltd filed Critical RYOSEI SYSTEMS Ltd
Priority to JP2019099676A priority Critical patent/JP2020195068A/en
Publication of JP2020195068A publication Critical patent/JP2020195068A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

To provide a network system with excellent maintainability and operability, and a switch device constituting the same.SOLUTION: In a network system in which a plurality of switch devices (3) are hierarchically connected, a MGR switch device (3M) constituting a root node is directed to a plurality of AGT switch devices (3A) constituting a non-root node, and periodically transmits a request frame (101p) requesting hierarchical information and status information on a network. When the AGT switch device receives the request frame, the AGT switch device acquires hierarchy information of the own device on the network on the basis of the request frame, generates a response frame (101r) including the hierarchy information and the status information of the own device, and send the response frame to the MGR switch device.SELECTED DRAWING: Figure 8

Description

本開示は、ネットワークシステムおよびそれを構成するスイッチ装置に関する。 The present disclosure relates to a network system and a switch device constituting the network system.

従来から、IP(Internet Protocol)ネットワークには、各種端末間の通信経路を構築するために、OSI(Open System Interconnection)参照モデルのレイヤ2の処理やレイヤ3の処理を行うスイッチ装置が複数設置されている。ネットワークシステムでは、それら複数のスイッチ装置の死活監視や状態監視を行うネットワーク監視プロトコルとして、RFC(Request For Comments)1157などで提唱されているSNMP(Simple Network Management Protocol)が用いられている(例えば、特許文献1参照)。 Conventionally, in an IP (Internet Protocol) network, a plurality of switch devices that perform layer 2 processing and layer 3 processing of an OSI (Open System Interconnection) reference model have been installed in order to construct a communication path between various terminals. ing. In the network system, SNMP (Simple Network Management Protocol) proposed by RFC (Request For Comments) 1157 and the like is used as a network monitoring protocol for monitoring the aliveness and status of these plurality of switch devices (for example,). See Patent Document 1).

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

しかし、SNMPによるネットワーク監視は、ネットワークシステムに接続されるPCなどの外部端末にて専用の監視ソフトウェアを用いて行われる。こうした専用の監視ソフトウェアは、外部端末のOS(Operating System)に依存する場合、サポートしていないOSでは使用できないため、交換可能な外部端末が制限されて、ネットワークシステムの保守性に劣る。 However, network monitoring by SNMP is performed by using dedicated monitoring software on an external terminal such as a PC connected to the network system. When such dedicated monitoring software depends on the OS (Operating System) of the external terminal, it cannot be used with an OS that does not support it, so that the exchangeable external terminal is limited and the maintainability of the network system is inferior.

また、SNMPによるネットワーク監視では、スイッチ装置の特定をIPアドレスによって行うため、個々のスイッチ装置に対してIPアドレスを予め静的に設定しておく必要がある。一般的なネットワークシステムにおいては、それら各スイッチ装置のIPアドレスなどの情報をアドレス管理テーブルとして外部端末で管理する。このため、スイッチ装置の追加や入れ替え、削除などの変更を行う場合には、その都度、アドレス管理テーブルの情報を手動で更新する必要があり、管理者にとって負担が大きく、ネットワークシステムの運用性に劣る。 Further, in network monitoring by SNMP, since the switch device is specified by the IP address, it is necessary to statically set the IP address for each switch device in advance. In a general network system, information such as the IP address of each switch device is managed by an external terminal as an address management table. For this reason, it is necessary to manually update the information in the address management table each time a change such as addition, replacement, or deletion of a switch device is made, which imposes a heavy burden on the administrator and improves the operability of the network system. Inferior.

本開示の技術は、斯かる点に鑑みてなされたものであり、その目的とするところは、保守性および運用性に優れたネットワークシステムおよびそれを構成するスイッチ装置を提供することにある。 The technique of the present disclosure has been made in view of these points, and an object of the present invention is to provide a network system having excellent maintainability and operability and a switch device constituting the network system.

上記の目的を達成するために、本開示の技術では、ネットワークシステムを構成する複数のスイッチ装置の協働により、少なくとも1つのスイッチ装置に他のスイッチ装置の死活監視や状態監視を行う管理機能を持たせるようにした。 In order to achieve the above object, in the technology of the present disclosure, at least one switch device is provided with a management function for alive monitoring and status monitoring of other switch devices by the cooperation of a plurality of switch devices constituting the network system. I tried to have it.

具体的には、本開示の技術に係る第1の態様は、複数のスイッチ装置が階層的に接続されたネットワークシステムを対象とする。ここで、「階層的に接続」とは、上位階層のスイッチ装置から下位階層のスイッチ装置に向かって、および下位階層のスイッチ装置から上位階層のスイッチ装置に向かってフレームを転送可能な構成であれば、どのような接続形態であってもよい。 Specifically, the first aspect according to the technique of the present disclosure is intended for a network system in which a plurality of switch devices are hierarchically connected. Here, the term "hierarchically connected" means a configuration in which frames can be transferred from a switch device in a higher layer to a switch device in a lower layer and from a switch device in a lower layer to a switch device in a higher layer. For example, any connection form may be used.

第1の態様のネットワークシステムにおいて、複数のスイッチ装置は、ルートノードを構成する第1スイッチ装置と、非ルートノードを構成する複数の第2スイッチ装置とを含む。第1スイッチ装置は、複数の第2スイッチ装置に向けて、ネットワーク上での階層情報およびステータス情報を要求する要求フレームを周期的に送信する。第2スイッチ装置は、要求フレームを受信したときに、当該要求フレームに基づいてネットワーク上での自装置の階層情報を取得し、その階層情報および自装置のステータス情報を含む応答フレームを生成して第1スイッチ装置に向けて送信する。また、第2スイッチ装置は、下位階層に他の第2スイッチ装置が接続されている場合、当該他の第2スイッチ装置に要求フレームを転送する。 In the network system of the first aspect, the plurality of switch devices include a first switch device that constitutes a root node and a plurality of second switch devices that constitute a non-root node. The first switch device periodically transmits a request frame requesting hierarchical information and status information on the network to the plurality of second switch devices. When the second switch device receives the request frame, it acquires the hierarchy information of its own device on the network based on the request frame, and generates a response frame including the hierarchy information and the status information of its own device. It transmits to the first switch device. Further, when another second switch device is connected to the lower layer, the second switch device transfers the request frame to the other second switch device.

第1の態様のネットワークシステムでは、第1スイッチ装置が複数の第2スイッチ装置に向けて要求フレームを送信し、第2スイッチ装置が要求フレームの受信に応じて自装置の階層情報およびステータス情報を含む応答フレームを第1スイッチ装置に向けて送信する。応答フレームを受信した第1スイッチ装置は、当該応答フレームを解析して、個々の第2スイッチ装置の階層情報およびステータス情報を取得することができる。そして、第1スイッチ装置は、各第2スイッチの階層情報と、その階層情報を得るための要求フレームを送信したポートまたは当該要求フレームに対する応答フレームを受信したポートがいずれのポートであるかを示すポート情報とを、ネットワークにおける第2スイッチ装置の位置情報として管理することができる。これにより、外部端末にインストールを必要とする専用の監視ソフトウェアを用いずとも、また第2スイッチ装置にIPアドレスを設定しなくても、第2スイッチ装置の位置情報とステータス情報とに基づいて死活監視や状態監視を行える。したがって、ネットワークシステムの保守性および運用性を向上させることができる。 In the network system of the first aspect, the first switch device transmits a request frame to a plurality of second switch devices, and the second switch device transmits the hierarchical information and status information of its own device in response to the reception of the request frame. The including response frame is transmitted to the first switch device. The first switch device that has received the response frame can analyze the response frame and acquire the hierarchical information and the status information of the individual second switch devices. Then, the first switch device indicates which port is the hierarchical information of each second switch, the port that transmitted the request frame for obtaining the hierarchical information, or the port that received the response frame for the request frame. The port information can be managed as the position information of the second switch device in the network. As a result, life and death is based on the position information and status information of the second switch device without using dedicated monitoring software that needs to be installed on the external terminal and without setting an IP address for the second switch device. You can monitor and monitor the status. Therefore, the maintainability and operability of the network system can be improved.

本開示の技術に係る第2の態様は、第1の態様のネットワークシステムにおいて、第1スイッチ装置が、要求フレームとして、第1スイッチ装置からの第2スイッチ装置のホップ数を示すホップ値が設定されるホップフィールドを含むフレームを送信する、ネットワークシステムである。第2スイッチ装置は、要求フレームを受信したときに、当該要求フレームのホップフィールドに設定されたホップ値を加算し、且つ、ホップフィールドの加算前または加算後のホップ値を、ネットワーク上での自装置の階層情報として取得する。 In the second aspect according to the technique of the present disclosure, in the network system of the first aspect, the first switch device sets a hop value indicating the number of hops of the second switch device from the first switch device as a request frame. A network system that sends frames containing hop fields to be made. When the second switch device receives the request frame, it adds the hop value set in the hop field of the request frame, and adds the hop value before or after the addition of the hop field to itself on the network. Acquired as device hierarchy information.

第2の態様のネットワークシステムでは、第2スイッチ装置が、要求フレームに含まれるホップフィールドの、第1スイッチ装置からの第2スイッチ装置のホップ数を示すホップ値を加算して、ネットワーク上の自装置の階層情報を取得する。これによれば、第2スイッチ装置は、ネットワーク上の自装置の階層情報を簡単な仕組みで取得することができる。また、ネットワークシステムにおいてスイッチ装置の追加や入れ替え、削除などの変更を行っても、変更後のネットワーク構成に応じた第2スイッチ装置の階層情報を動的に取得することができる。このことは、第1の態様のネットワークシステムを実現するのに好適である。 In the network system of the second aspect, the second switch device adds the hop value indicating the number of hops of the second switch device from the first switch device of the hop field included in the request frame to the self on the network. Acquire the hierarchy information of the device. According to this, the second switch device can acquire the hierarchical information of its own device on the network by a simple mechanism. Further, even if changes such as addition, replacement, and deletion of switch devices are made in the network system, the hierarchical information of the second switch device according to the changed network configuration can be dynamically acquired. This is suitable for realizing the network system of the first aspect.

本開示の技術に係る第3の態様は、第2の態様のネットワークシステムにおいて、第1スイッチ装置が、要求フレームとして、ベースIDが設定されるIDフィールドを含むフレームを送信する、ネットワークシステムである。第2スイッチ装置は、要求フレームを受信したときに、当該要求フレームのIDフィールドに設定されたベースIDを取得し、そのベースIDにホップフィールドの加算前または加算後のホップ値を反映させることにより識別IDを取得し、該識別IDを応答フレームに含んで送信する。 A third aspect according to the technique of the present disclosure is a network system in which, in the network system of the second aspect, the first switch device transmits a frame including an ID field in which a base ID is set as a request frame. .. When the second switch device receives the request frame, the second switch device acquires the base ID set in the ID field of the request frame, and reflects the hop value before or after the addition of the hop field in the base ID. The identification ID is acquired, and the identification ID is included in the response frame and transmitted.

第3の態様のネットワークシステムでは、第2スイッチ装置が、要求フレームに含まれるIDフィールドのベースIDに、ホップフィールドのホップ値を反映させて識別IDを取得し、その識別IDを応答フレームに含んで送信する。そうすることで、複数の第2スイッチ装置それぞれに固有の識別IDを簡単に設定することができる。これにより、ネットワークシステムの管理者は、複数の第2スイッチ装置に対し、識別IDを用いて、各種の設定変更やリセットなどの操作を個別に行うことが可能になる。また、ネットワークシステムにおいてスイッチ装置の追加や入れ替え、削除などの変更を行う場合、第2スイッチ装置の識別IDも、変更後のネットワーク構成に応じて動的に設定変更される。よって、管理者は、ネットワークシステムの変更を行う都度、第2スイッチ装置の識別IDを手動で更新しなくて済む。このことは、管理者の負担を軽減するのに寄与し、ネットワークシステムの運用性を向上させるのに有利である。 In the network system of the third aspect, the second switch device acquires the identification ID by reflecting the hop value of the hop field in the base ID of the ID field included in the request frame, and includes the identification ID in the response frame. Send with. By doing so, the identification ID unique to each of the plurality of second switch devices can be easily set. As a result, the administrator of the network system can individually perform various operations such as setting change and reset for the plurality of second switch devices by using the identification ID. Further, when the switch device is added, replaced, or deleted in the network system, the setting of the identification ID of the second switch device is dynamically changed according to the changed network configuration. Therefore, the administrator does not have to manually update the identification ID of the second switch device each time the network system is changed. This contributes to reducing the burden on the administrator and is advantageous for improving the operability of the network system.

本開示の技術に係る第4の態様は、複数のスイッチ装置を階層的に接続したネットワークシステムでルートノードを構成するスイッチ装置を対象とする。 A fourth aspect according to the technique of the present disclosure is intended for a switch device that constitutes a root node in a network system in which a plurality of switch devices are hierarchically connected.

第4の態様のスイッチ装置は、ネットワークシステムにおける他のスイッチ装置に接続される複数のポートと、ポートから送信するフレームの生成、およびポートで受信したフレームの解析を実行する制御部とを備える。制御部は、ポートからネットワークシステムに含まれる他のスイッチ装置に向けて、ネットワーク上での階層情報およびステータス情報を要求する要求フレームを周期的に送信する。また、制御部は、他のスイッチ装置のネットワーク上での階層情報およびステータス情報を含む応答フレームをポートで受信したときに、その応答フレームを解析して他のスイッチ装置のネットワーク上での階層情報およびステータス情報を取得する。 The switch device of the fourth aspect includes a plurality of ports connected to other switch devices in the network system, and a control unit that generates frames transmitted from the ports and analyzes frames received at the ports. The control unit periodically transmits a request frame requesting hierarchical information and status information on the network from the port to other switch devices included in the network system. Further, when the control unit receives a response frame containing the hierarchy information and the status information on the network of another switch device at the port, the control unit analyzes the response frame and the hierarchy information on the network of the other switch device. And get status information.

第4の態様のスイッチ装置では、制御部が、ネットワークシステムに含まれる他のスイッチ装置に向けて要求フレームを周期的に送信させ、且つ、受信した応答フレームを解析して当該他のスイッチ装置のネットワーク上での階層情報およびステータス情報を取得する。このスイッチ装置は、要求フレームを受信したときに自装置の階層情報およびステータス情報を含む応答フレームを送信する他のスイッチ装置と相補的に関連し、当該他のスイッチ装置を非ルートノードとしてネットワークを構築することにより、第1の態様のネットワークシステムを実現することができる。 In the switch device of the fourth aspect, the control unit periodically transmits a request frame to another switch device included in the network system, and analyzes the received response frame to analyze the received response frame of the other switch device. Get hierarchy information and status information on the network. This switch device is complementary to other switch devices that send a response frame containing the hierarchy information and status information of the own device when a request frame is received, and the other switch device is used as a non-root node in the network. By constructing it, the network system of the first aspect can be realized.

本開示の技術に係る第5の態様は、複数のスイッチ装置を階層的に接続したネットワークシステムで非ルートノードを構成するスイッチ装置を対象とする。 A fifth aspect according to the technique of the present disclosure is intended for a switch device that constitutes a non-root node in a network system in which a plurality of switch devices are hierarchically connected.

第5の態様のスイッチ装置は、ネットワークシステムにおける他のスイッチ装置に接続される複数のポートと、ポートから送信するフレームの生成、およびポートで受信したフレームの解析を実行する制御部とを備える。制御部は、複数のポートのうちいずれか1つのポートでネットワーク上での階層情報およびステータス情報を要求する要求フレームを受信したときに、当該要求フレームに基づいてネットワーク上での自装置の階層情報を取得し、自装置の階層情報およびステータス情報を含む応答フレームを生成して、その応答フレームを要求フレームが受信されたポートから送信させる。 The switch device of the fifth aspect includes a plurality of ports connected to other switch devices in the network system, and a control unit that generates frames transmitted from the ports and analyzes frames received at the ports. When the control unit receives a request frame for requesting hierarchy information and status information on the network on any one of the plurality of ports, the control unit receives the hierarchy information of its own device on the network based on the request frame. Is acquired, a response frame containing the hierarchy information and status information of the own device is generated, and the response frame is transmitted from the port where the request frame is received.

第5の態様のスイッチ装置では、制御部が、要求フレームを受信したときに、自装置の階層情報およびステータス情報を含む応答フレームを生成して、その応答フレームを要求フレームが受信されたポートから送信させる。このスイッチ装置は、要求フレームを周期的に送信する他のスイッチ装置と相補的に関連し、当該他のスイッチ装置をルートノードとしてネットワークを構築することにより、第1の態様のネットワークシステムを実現することができる。 In the switch device of the fifth aspect, when the control unit receives the request frame, the control unit generates a response frame including the hierarchical information and the status information of the own device, and sends the response frame from the port where the request frame is received. Send it. This switch device is complementary to another switch device that periodically transmits a request frame, and realizes the network system of the first aspect by constructing a network with the other switch device as a root node. be able to.

本開示の技術によれば、保守性および運用性に優れたネットワークシステムおよびそれを構成するスイッチ装置を提供することができる。 According to the technique of the present disclosure, it is possible to provide a network system having excellent maintainability and operability and a switch device constituting the network system.

図1は、実施形態に係るネットワークシステムの概略的な構成図である。FIG. 1 is a schematic configuration diagram of a network system according to an embodiment. 図2は、実施形態に係るスイッチ装置の概略構成を示すブロック図である。FIG. 2 is a block diagram showing a schematic configuration of a switch device according to an embodiment. 図3は、実施形態に係る監視用フレームのフォーマットを例示する図である。FIG. 3 is a diagram illustrating the format of the monitoring frame according to the embodiment. 図4は、実施形態に係る監視用フレームのヘッダフィールドの内容を例示する図である。FIG. 4 is a diagram illustrating the contents of the header field of the monitoring frame according to the embodiment. 図5は、実施形態に係る監視用フレームのデータフィールドの内容を例示する図である。FIG. 5 is a diagram illustrating the contents of the data field of the monitoring frame according to the embodiment. 図6は、実施形態に係るMGRスイッチ装置のネットワーク監視に関する制御の流れを示すフローチャートである。FIG. 6 is a flowchart showing a control flow regarding network monitoring of the MGR switch device according to the embodiment. 図7は、実施形態に係るAGTスイッチ装置のネットワーク監視に関する制御の流れを示すフローチャートである。FIG. 7 is a flowchart showing a control flow regarding network monitoring of the AGT switch device according to the embodiment. 図8は、実施形態に係るネットワークシステムでのネットワーク監視動作の一例を示すシーケンス図である。FIG. 8 is a sequence diagram showing an example of a network monitoring operation in the network system according to the embodiment. 図9は、実施形態に係るネットワークシステムでの要求フレームの流れを示す概念図である。FIG. 9 is a conceptual diagram showing a flow of request frames in the network system according to the embodiment. 図10は、実施形態に係るネットワークシステムでの応答フレームの流れを示す概念図である。FIG. 10 is a conceptual diagram showing the flow of response frames in the network system according to the embodiment.

以下、例示的な実施形態を図面に基づいて詳細に説明する。 Hereinafter, exemplary embodiments will be described in detail with reference to the drawings.

この実施形態では、本開示の技術に係るネットワークシステムおよびそれを構成するスイッチ装置について、ツリー型のネットワークトポロジを採用したネットワークシステムを例に挙げて説明する。 In this embodiment, the network system according to the technique of the present disclosure and the switch device constituting the same will be described by taking as an example a network system adopting a tree-type network topology.

図1は、この実施形態に係るネットワークシステム1の概略的な構成図である。 FIG. 1 is a schematic configuration diagram of a network system 1 according to this embodiment.

ネットワークシステム1は、図1に示すように、複数のスイッチ装置3を階層的に接続して構成されている。複数のスイッチ装置3は、ネットワークシステム1において、マネージャスイッチ装置(以下、「MGRスイッチ装置」と称する)3Mと、複数のエージェントスイッチ装置(以下、「AGTスイッチ装置」と称する)3Aとを含んでいる。MGRスイッチ装置3Mは、第1スイッチ装置の一例である。AGTスイッチ装置3Aは、第2スイッチ装置の一例である。 As shown in FIG. 1, the network system 1 is configured by hierarchically connecting a plurality of switch devices 3. The plurality of switch devices 3 include a manager switch device (hereinafter referred to as "MGR switch device") 3M and a plurality of agent switch devices (hereinafter referred to as "AGT switch device") 3A in the network system 1. There is. The MGR switch device 3M is an example of the first switch device. The AGT switch device 3A is an example of the second switch device.

ネットワークシステム1では、複数のAGTスイッチ装置3AがMGRスイッチ装置3Mの配下に所属する態様で接続されている。MGRスイッチ装置3Mは、ツリー構造の最上位ノードであるルートノードを構成している。AGTスイッチ装置3Aは、非ルートノードを構成している。非ルートノードは、ツリー構造の最下位ノードであるリーフノード、またはルートノードと最下位ノードとの間に位置する中間ノードである。 In the network system 1, a plurality of AGT switch devices 3A are connected in such a manner that they belong to the MGR switch device 3M. The MGR switch device 3M constitutes a root node which is the highest node of the tree structure. The AGT switch device 3A constitutes a non-root node. A non-root node is a leaf node, which is the lowest node in the tree structure, or an intermediate node located between the root node and the lowest node.

ネットワークシステム1は、これらMGRスイッチ装置3Mおよび複数のAGTスイッチ装置3Aによって構成された階層構造を有している。 The network system 1 has a hierarchical structure composed of these MGR switch devices 3M and a plurality of AGT switch devices 3A.

この実施形態に例示するネットワークシステム1の階層構造は、第1階層L1、第2階層L2および第3階層L3を含んでいる。第1階層L1には、MGRスイッチ装置3Mが所属している。第2階層L2には、MGRスイッチ装置3Mと通信ケーブル5を用いてポイントツーポイントで接続された複数のAGTスイッチ装置3Aが所属している。第3階層L3には、第2階層L2のAGTスイッチ装置3Aと通信ケーブル5を用いてポイントツーポイントで接続された複数のAGTスイッチ装置3Aが所属している。 The hierarchical structure of the network system 1 illustrated in this embodiment includes a first layer L1, a second layer L2, and a third layer L3. The MGR switch device 3M belongs to the first layer L1. A plurality of AGT switch devices 3A connected point-to-point by using the communication cable 5 and the MGR switch device 3M belong to the second layer L2. A plurality of AGT switch devices 3A connected point-to-point with the AGT switch device 3A of the second layer L2 by using the communication cable 5 belong to the third layer L3.

第1階層L1のMGRスイッチ装置3Mには、ネットワークシステム1を構成するスイッチ装置に各種の設定を行うためのパーソナルコンピュータなどの外部端末7が通信ケーブル5を介して接続されている。MGRスイッチ装置3Mには、IPアドレスが設定される。ネットワークシステム1の管理者は、外部端末7を用いてMGRスイッチ装置3Mにアクセス可能である。 An external terminal 7 such as a personal computer for making various settings to the switch device constituting the network system 1 is connected to the MGR switch device 3M of the first layer L1 via a communication cable 5. An IP address is set in the MGR switch device 3M. The administrator of the network system 1 can access the MGR switch device 3M by using the external terminal 7.

第2階層L2および第3階層L3の各AGTスイッチ装置3Aには、図示しないが通信ケーブルを介してパーソナルコンピュータやプリンタなどの種々の端末機器が接続され得る。これら各AGTスイッチ装置3Aには、IPアドレスが設定されても設定されていなくてもよい。 Although not shown, various terminal devices such as personal computers and printers can be connected to the AGT switch devices 3A of the second layer L2 and the third layer L3 via a communication cable (not shown). An IP address may or may not be set in each of these AGT switch devices 3A.

MGRスイッチ装置3MおよびAGTスイッチ装置3Aは、他のスイッチ装置3や端末機器に接続される複数のポート9を有し、互いに異なるポート9に接続された機器間の通信を中継する装置である。これらMGRスイッチ装置3MおよびAGTスイッチ装置3Aはいずれも、レイヤ2(データリンク層)の処理、またはレイヤ2の処理に加えてレイヤ3(ネットワーク層)の処理を行う装置であって、スイッチングハブやネットワークスイッチ、ブリッジと呼ばれるものであり得る。 The MGR switch device 3M and the AGT switch device 3A are devices having a plurality of ports 9 connected to other switch devices 3 and terminal devices, and relaying communication between devices connected to different ports 9. Both the MGR switch device 3M and the AGT switch device 3A are devices that perform layer 2 (data link layer) processing or layer 3 (network layer) processing in addition to layer 2 processing, and are a switching hub or a device. It can be called a network switch or bridge.

図2は、この実施形態に係るスイッチ装置3の概略構成を示すブロック図である。 FIG. 2 is a block diagram showing a schematic configuration of the switch device 3 according to this embodiment.

MGRスイッチ装置3MおよびAGTスイッチ装置3Aには、一部の機能は異なるが、基本的には同じ構成のスイッチ装置3が用いられる。 Although some functions are different, the MGR switch device 3M and the AGT switch device 3A basically use the switch device 3 having the same configuration.

スイッチ装置3は、図2に示すように、複数のポート9と、ポート9を介してネットワークに接続するためのインタフェース部11と、ポート9から受信したフレームについての中継先のポート9のスイッチング処理を行うスイッチング処理部13と、ポート9で受信したフレームを一時的に保持するバッファ15と、アドレステーブルを記憶するテーブルメモリ17と、当該スイッチ装置3の動作を総合的に制御する制御部19とを備えている。 As shown in FIG. 2, the switch device 3 switches the plurality of ports 9, the interface unit 11 for connecting to the network via the port 9, and the relay destination port 9 for the frame received from the port 9. A switching processing unit 13 that performs the above operation, a buffer 15 that temporarily holds a frame received at the port 9, a table memory 17 that stores an address table, and a control unit 19 that comprehensively controls the operation of the switch device 3. It has.

複数のポート9は、通信ケーブル5が差し込まれるコネクタからなる物理ポートである。これら複数のポート9には、個々のポート9を識別するためのポート番号がそれぞれ付与されている。 The plurality of ports 9 are physical ports composed of connectors into which the communication cable 5 is inserted. Each of the plurality of ports 9 is assigned a port number for identifying each port 9.

インタフェース部11は、複数のポート9とスイッチング処理部13および制御部19との間のフレームの転送を仲介する。インタフェース部11は、ポート9毎に設けられたトランスおよびPHY(Physical layer controller)などを有し、符号化などのレイヤ1(物理層)の処理を行う。 The interface unit 11 mediates the transfer of frames between the plurality of ports 9 and the switching processing unit 13 and the control unit 19. The interface unit 11 has a transformer and a PHY (Physical layer controller) provided for each port 9, and performs layer 1 (physical layer) processing such as coding.

スイッチング処理部13は、インタフェース部11から受信したフレームをバッファ15に保持し、バッファ15に保持したフレームについて、テーブルメモリ17に記憶されたアドレステーブルに対する学習処理と、アドレステーブルに基づく転送処理とを行う。アドレステーブルは、ネットワークシステム1を構成する機器のMACアドレスと当該機器と通信可能なポート9のポート番号との対応関係を保持する表形式のデータである。 The switching processing unit 13 holds the frame received from the interface unit 11 in the buffer 15, and for the frame held in the buffer 15, learns the address table stored in the table memory 17 and transfers the frame based on the address table. Do. The address table is tabular data that holds the correspondence between the MAC address of the device constituting the network system 1 and the port number of the port 9 that can communicate with the device.

学習処理では、複数のポート9のうちいずれかのポート9で受信したフレームを解析することにより、受信したフレームに含まれる送信元の機器のMAC(Media Access Control)アドレスを取得する。そして、当該フレームに含まれる送信元の機器のMACアドレスを、当該フレームを受信したポート9のポート番号と対応付けて、アドレステーブルに保持する。 In the learning process, the MAC (Media Access Control) address of the source device included in the received frame is acquired by analyzing the frame received on any of the plurality of ports 9. Then, the MAC address of the source device included in the frame is stored in the address table in association with the port number of the port 9 that received the frame.

転送処理では、複数のポート9のうちいずれかのポート9で受信したフレームを解析することにより、当該フレームに含まれる送信元の機器のMACアドレスと、送信先の機器のMACアドレスとを取得する。そして、フレームの中継内容、つまりユニキャスト、マルチキャストまたはフラッディングを決定し、当該フレームを中継内容に応じて該当するポート9に転送する。このとき、フレームの中継内容がユニキャストまたはマルチキャストである場合、予め学習したアドレステーブルに基づき、送信先の機器のMACアドレスに対応するポート番号のポート9にフレームを転送する。 In the transfer process, the MAC address of the source device included in the frame and the MAC address of the destination device are acquired by analyzing the frame received on any one of the plurality of ports 9. .. Then, the relay content of the frame, that is, unicast, multicast, or flooding is determined, and the frame is forwarded to the corresponding port 9 according to the relay content. At this time, if the relay content of the frame is unicast or multicast, the frame is transferred to the port 9 of the port number corresponding to the MAC address of the destination device based on the address table learned in advance.

制御部19は、周知のマイクロコンピュータをベースとするコントローラである。制御部19は、プログラムを実行するCPU(Central Processing Unit)21と、CPU21上で実行される各種のプログラムおよびデータを記憶するメモリ23とを有している。制御部19は、メモリ23に記憶されたプログラムをCPU21で実行することにより、ポート9に接続されたネットワーク機器のリンクアップ情報の取得、ポート9から送信するフレームの生成、およびポート9で受信したフレームの解析、さらにネットワーク監視に関する制御を行う。 The control unit 19 is a controller based on a well-known microcomputer. The control unit 19 has a CPU (Central Processing Unit) 21 that executes programs, and a memory 23 that stores various programs and data executed on the CPU 21. By executing the program stored in the memory 23 on the CPU 21, the control unit 19 acquires the link-up information of the network device connected to the port 9, generates a frame to be transmitted from the port 9, and receives the information on the port 9. It analyzes frames and controls network monitoring.

図3は、監視用フレーム101のフォーマットを例示する図である。図4は、監視用フレーム101のヘッダフィールド111の内容を例示する図である。図5は、監視用フレーム101のデータフィールド113の内容を例示する図である。 FIG. 3 is a diagram illustrating the format of the monitoring frame 101. FIG. 4 is a diagram illustrating the contents of the header field 111 of the monitoring frame 101. FIG. 5 is a diagram illustrating the contents of the data field 113 of the monitoring frame 101.

ネットワーク監視に関する制御では、図3に示す監視用フレーム101を用いて、ネットワーク監視テーブル51の作成や更新を行うと共に、そのネットワーク監視テーブル51に基づき、複数のAGTスイッチ装置3Aの死活監視や状態監視を行う。 In the control related to network monitoring, the monitoring frame 101 shown in FIG. 3 is used to create and update the network monitoring table 51, and based on the network monitoring table 51, alive monitoring and status monitoring of a plurality of AGT switch devices 3A are performed. I do.

ネットワーク監視テーブル51は、AGTスイッチ装置3Aの識別IDと、AGTスイッチ装置3Aと通信可能なポート9のポート番号と、AGTスイッチ装置3Aのステータス情報との対応関係を保持する表形式のデータである。このネットワーク監視テーブル51は、MGRスイッチ装置3Mのメモリ23に記憶される。ネットワークシステム1の管理者は、外部端末7を用いてMGRスイッチ装置3Mにアクセスすることにより、ネットワーク監視テーブル51をチェックすることが可能である。 The network monitoring table 51 is tabular data that holds the correspondence between the identification ID of the AGT switch device 3A, the port number of the port 9 that can communicate with the AGT switch device 3A, and the status information of the AGT switch device 3A. .. The network monitoring table 51 is stored in the memory 23 of the MGR switch device 3M. The administrator of the network system 1 can check the network monitoring table 51 by accessing the MGR switch device 3M using the external terminal 7.

監視用フレーム101の種別としては、要求フレーム101p、応答フレーム101rおよび設定フレーム101sがある。 Types of the monitoring frame 101 include a request frame 101p, a response frame 101r, and a setting frame 101s.

要求フレーム101pは、MGRスイッチ装置3MがAGTスイッチ装置3Aに対してネットワーク上での階層情報およびステータス情報を要求するフレームである。応答フレーム101rは、AGTスイッチ装置3Aが要求フレーム101pに対して自装置のネットワーク上での階層情報およびステータス情報を応答するフレームである。設定フレーム101sは、MGRスイッチ装置3MがAGTスイッチ装置3Aに対して、各種の設定変更やリセットなどの操作を行うためのフレームである。 The request frame 101p is a frame in which the MGR switch device 3M requests the AGT switch device 3A for hierarchical information and status information on the network. The response frame 101r is a frame in which the AGT switch device 3A responds to the request frame 101p with hierarchical information and status information on its own network. The setting frame 101s is a frame for the MGR switch device 3M to perform various setting changes, resets, and other operations on the AGT switch device 3A.

要求フレーム101p、応答フレーム101rおよび設定フレーム101sには、イーサネットフレームの形式に準拠した、監視用フレーム101のフォーマットが共通に用いられる。監視用フレーム101は、タグ無しフレームであって、送信先フィールド103、送信元フィールド105、フレーム長フィールド107、プロトコル識別フィールド109、ヘッダフィールド111、データフィールド113、およびこれらのフィールドの誤り検出を行うためのFCS(Frame Check Sequence、不図示)を含んでいる。 For the request frame 101p, the response frame 101r, and the setting frame 101s, the format of the monitoring frame 101 conforming to the format of the Ethernet frame is commonly used. The monitoring frame 101 is an untagged frame, and performs error detection of the destination field 103, the source field 105, the frame length field 107, the protocol identification field 109, the header field 111, the data field 113, and these fields. Includes FCS (Frame Check Sequence, not shown) for.

送信先フィールド103は、例えば6バイトのデータサイズを有するフィールドである。この送信先フィールド103には、送信先の機器のMACアドレスとして、固定のマルチキャストアドレスが設定される。 The destination field 103 is, for example, a field having a data size of 6 bytes. A fixed multicast address is set in the destination field 103 as the MAC address of the destination device.

送信元フィールド105は、例えば6バイトのデータサイズを有するフィールドである。この送信元フィールド105には、送信元のスイッチ装置3(MGRスイッチ装置3MまたはAGTスイッチ装置3A)のMACアドレスが設定される。 The source field 105 is, for example, a field having a data size of 6 bytes. The MAC address of the source switch device 3 (MGR switch device 3M or AGT switch device 3A) is set in the source field 105.

フレーム長フィールド107は、例えば2バイトのデータサイズを有するフィールドである。このフレーム長フィールド107には、監視用フレーム101のデータサイズが設定される。 The frame length field 107 is, for example, a field having a data size of 2 bytes. The data size of the monitoring frame 101 is set in the frame length field 107.

プロトコル識別フィールド109は、例えば3バイトのデータサイズを有するフィールドである。このプロトコル識別フィールド109には、監視用フレーム101であることを示す固定のデータが設定される。 The protocol identification field 109 is, for example, a field having a data size of 3 bytes. Fixed data indicating that the monitoring frame 101 is set is set in the protocol identification field 109.

ヘッダフィールド111は、例えば10バイトのデータサイズを有するフィールドである。このヘッダフィールド111には、データフィールド113のデータ内容を補足する情報のデータが設定される。ヘッダフィールド111は、図4に示すように、フレームタイプフィールド115、ホップフィールド117、IDフィールド119、およびターゲットIDフィールド121を含んでいる。 The header field 111 is, for example, a field having a data size of 10 bytes. Information data that supplements the data content of the data field 113 is set in the header field 111. The header field 111 includes a frame type field 115, a Hopfield 117, an ID field 119, and a target ID field 121, as shown in FIG.

フレームタイプフィールド115は、例えば1バイトのサイズを有するフィールドである。このフレームタイプフィールド115には、監視用フレーム101の種別を示すデータ、すなわち監視用フレーム101が要求フレーム101pであるか、応答フレーム101rであるか、または設定フレーム101sであるかを示すデータが設定される。 The frame type field 115 is, for example, a field having a size of 1 byte. Data indicating the type of the monitoring frame 101, that is, data indicating whether the monitoring frame 101 is the request frame 101p, the response frame 101r, or the setting frame 101s is set in the frame type field 115. Will be done.

ホップフィールド117は、例えば1バイトのデータサイズを有する、MGRスイッチ装置3MからのAGTスイッチ装置3Aのホップ数をカウントするためのフィールドである。監視用フレーム101が要求フレーム101pであるかまたは設定フレーム101sである場合、ホップフィールド117には、MGRスイッチ装置3MからのAGTスイッチ装置3Aのホップ数を示すホップ値が設定される。また、監視用フレーム101が応答フレーム101rである場合、ホップフィールド117には、送信元のAGTスイッチ装置3AのMGRスイッチ装置3Mからのホップ数を示すホップ値が設定される。MGRスイッチ装置3MからのAGTスイッチ装置3Aのホップ数は、当該AGTスイッチ装置3Aの階層情報に相当する。 The hop field 117 is a field for counting the number of hops of the AGT switch device 3A from the MGR switch device 3M, which has a data size of, for example, 1 byte. When the monitoring frame 101 is the request frame 101p or the setting frame 101s, a hop value indicating the number of hops of the AGT switch device 3A from the MGR switch device 3M is set in the hop field 117. When the monitoring frame 101 is the response frame 101r, a hop value indicating the number of hops from the MGR switch device 3M of the source AGT switch device 3A is set in the hop field 117. The number of hops of the AGT switch device 3A from the MGR switch device 3M corresponds to the hierarchical information of the AGT switch device 3A.

IDフィールド119は、例えば4バイトのデータサイズを有するフィールドである。監視用フレーム101が要求フレーム101pであるかまたは設定フレーム101sである場合、IDフィールド101には、AGTスイッチ装置3Aに付与する識別IDのベースとなる、MGRスイッチ装置3Mのポート9毎に固定のベースIDが設定される。監視用フレーム101が応答フレーム101rである場合、IDフィールド119には、送信元のAGTスイッチ装置3Aの識別IDが設定される。 The ID field 119 is, for example, a field having a data size of 4 bytes. When the monitoring frame 101 is the request frame 101p or the setting frame 101s, the ID field 101 is fixed to each port 9 of the MGR switch device 3M, which is the base of the identification ID given to the AGT switch device 3A. The base ID is set. When the monitoring frame 101 is the response frame 101r, the identification ID of the source AGT switch device 3A is set in the ID field 119.

ターゲットIDフィールド121は、例えば4バイトのデータサイズを有するフィールドである。監視用フレーム101が要求フレーム101pであるかまたは応答フレーム101rである場合、ターゲットIDフィールド121には、所定の固定値が設定される。監視用フレーム101が設定フレーム101sである場合、ターゲットIDフィールド121には、設定対象とするAGTスイッチ装置3Aの識別IDが設定される。 The target ID field 121 is, for example, a field having a data size of 4 bytes. When the monitoring frame 101 is the request frame 101p or the response frame 101r, a predetermined fixed value is set in the target ID field 121. When the monitoring frame 101 is the setting frame 101s, the identification ID of the AGT switch device 3A to be set is set in the target ID field 121.

データフィールド113は、任意のデータサイズを有するフィールドである。監視用フレーム101が応答フレーム101rである場合、データフィールド113には、要求フレーム101pに対して応答するように予め設定された内容のステータス情報を示すデータが設定される。この場合、データフィールド113には、図5に示すように、複数の単位フィールド123が設定される。各単位フィールド123は、データタイプフィールド125、データ長フィールド127およびコンテンツフィールド129を含んでいる。 The data field 113 is a field having an arbitrary data size. When the monitoring frame 101 is the response frame 101r, the data field 113 is set with data indicating the status information of the contents preset to respond to the request frame 101p. In this case, a plurality of unit fields 123 are set in the data field 113 as shown in FIG. Each unit field 123 includes a data type field 125, a data length field 127, and a content field 129.

データタイプフィールド125は、例えば1バイトのデータサイズを有するフィールドである。データタイプフィールド125には、コンテンツフィールド129のデータ種別を示すデータが設定される。コンテンツフィールド129のデータ種別は、例えば、機器のタイプやソフトウェアのバージョン情報、ポート9の種類および死活状態などといったステータス情報の区分である。 The data type field 125 is, for example, a field having a data size of 1 byte. In the data type field 125, data indicating the data type of the content field 129 is set. The data type of the content field 129 is, for example, a classification of status information such as a device type, software version information, a port 9 type, and an alive state.

データ長フィールド127は、例えば1バイトのデータサイズを有するフィールドである。データ長フィールド127には、コンテンツフィールド129のデータサイズが設定される。 The data length field 127 is, for example, a field having a data size of 1 byte. The data size of the content field 129 is set in the data length field 127.

コンテンツフィールド129は、データタイプフィールド125のデータ種別に応じたデータを有するフィールドである。コンテンツフィールド129には、データタイプフィールド125のデータ種別に応じた内容のステータス情報を示すデータが設定される。 The content field 129 is a field having data according to the data type of the data type field 125. In the content field 129, data indicating the status information of the content according to the data type of the data type field 125 is set.

なお、監視用フレーム101が要求フレーム101pである場合、データフィールド113には、パディングと呼ばれるダミーデータが設定される。監視用フレーム101が設定フレーム101sである場合、データフィールド113には、各種の設定変更やリセットといった設定種別とその内容を示すデータが設定される。 When the monitoring frame 101 is the request frame 101p, dummy data called padding is set in the data field 113. When the monitoring frame 101 is the setting frame 101s, the data field 113 is set with setting types such as various setting changes and resets and data indicating the contents thereof.

図6は、MGRスイッチ装置3Mのネットワーク監視に関する制御の流れを示すフローチャートである。 FIG. 6 is a flowchart showing a control flow regarding network monitoring of the MGR switch device 3M.

MGRスイッチ装置3Mは、ネットワーク監視に関する制御として、図6に示すフローチャートに従いポーリング制御を行う。このポーリング制御において、MGRスイッチ装置3Mの制御部19は、複数のAGTスイッチ装置3Aに向けて要求フレーム101pを周期的に送信させ、複数のポート9のうちいずれか1つのポート9で応答フレーム101rを受信したときに、その応答フレーム101rを解析して送信元のAGTスイッチ装置3Aのネットワーク上での階層情報およびステータス情報を取得する。 The MGR switch device 3M performs polling control according to the flowchart shown in FIG. 6 as a control related to network monitoring. In this polling control, the control unit 19 of the MGR switch device 3M periodically transmits the request frame 101p to the plurality of AGT switch devices 3A, and the response frame 101r is set to the port 9 of any one of the plurality of ports 9. Is received, the response frame 101r is analyzed to acquire hierarchical information and status information on the network of the source AGT switch device 3A.

具体的に、MGRスイッチ装置3Mのポーリング制御では、図6に示すように、まず、ステップP−ST01において、ポーリング制御の実行を開始してから要求フレームを送信したかどうかを判定する。ここで、要求フレーム101pを送信していない場合は、ステップSTP−03に進む。要求フレーム101pを送信している場合は、ステップP−ST02に進む。 Specifically, in the polling control of the MGR switch device 3M, as shown in FIG. 6, first, in step P-ST01, it is determined whether or not the request frame is transmitted after the execution of the polling control is started. Here, if the request frame 101p has not been transmitted, the process proceeds to step STP-03. If the request frame 101p is being transmitted, the process proceeds to step P-ST02.

ステップP−ST02では、前回の要求フレーム101pを送信してから所定時間が経過したかどうかを判定する。ここでの所定時間は、例えば10秒に設定される。このステップP−ST02で所定時間が経過していない場合は、所定時間が経過するまでステップST02を繰り返す。所定時間が経過している場合は、ステップP−ST03に進む。 In step P-ST02, it is determined whether or not a predetermined time has elapsed since the previous request frame 101p was transmitted. The predetermined time here is set to, for example, 10 seconds. If the predetermined time has not elapsed in this step P-ST02, step ST02 is repeated until the predetermined time elapses. If the predetermined time has elapsed, the process proceeds to step P-ST03.

ステップP−ST03では、MGRスイッチ装置3Mの各ポート9から配下にある複数のAGTスイッチ装置3Aに向けて要求フレーム101pを送信する。このとき、要求フレーム101pのホップフィールド117には、ホップ値として「0」が設定される。要求フレーム101pのIDフィールド119には、ベースIDとして、要求フレーム101pを送信するMGRスイッチ装置3Mのポート9毎に固有のベースIDが設定される。次に、ステップP−ST04に進む。 In step P-ST03, the request frame 101p is transmitted from each port 9 of the MGR switch device 3M to the plurality of AGT switch devices 3A under the control. At this time, "0" is set as the hop value in the hop field 117 of the request frame 101p. In the ID field 119 of the request frame 101p, a unique base ID is set as the base ID for each port 9 of the MGR switch device 3M that transmits the request frame 101p. Next, the process proceeds to step P-ST04.

ステップP−ST04では、複数のポート9のうちいずれかのポート9で応答フレーム101rを受信したかどうかを判定する。応答フレーム101rを受信したかどうかは、ポート9で受信したフレームを解析し、当該フレームのプロトコル識別フィールド109およびフレームタイプフィールド115に設定されたデータに基づいて判定される。ここで、応答フレーム101rを受信していない場合、ステップP−ST05に進む。応答フレーム101rを受信している場合、ステップP−ST06に進む。 In step P-ST04, it is determined whether or not the response frame 101r is received on any of the plurality of ports 9. Whether or not the response frame 101r has been received is determined by analyzing the frame received on the port 9 and based on the data set in the protocol identification field 109 and the frame type field 115 of the frame. Here, if the response frame 101r has not been received, the process proceeds to step P-ST05. If the response frame 101r has been received, the process proceeds to step P-ST06.

ステップP−ST05では、前回の要求フレーム101pを送信してから上記の所定時間が経過したかどうかを判定する。ここで、所定時間が経過している場合は、ステップP−ST03に戻り、それ以降のステップを再び行う。所定時間が経過していない場合は、ステップP−ST04に戻り、応答フレーム101rを受信するか、または所定時間が経過するまでステップP−ST04およびステップP−ST05を繰り返す。 In step P-ST05, it is determined whether or not the above-mentioned predetermined time has elapsed since the previous request frame 101p was transmitted. Here, if the predetermined time has elapsed, the process returns to step P-ST03, and the subsequent steps are performed again. If the predetermined time has not elapsed, the process returns to step P-ST04, the response frame 101r is received, or steps P-ST04 and P-ST05 are repeated until the predetermined time elapses.

ステップP−ST06では、受信した応答フレーム101rの送信元フィールド105に設定されたMACアドレスと、ホップフィールド117に設定されたホップ値とを、当該応答フレーム101rを受信したポート9のポート番号と関連付けることにより、当該応答フレーム101rを送信した送信元のAGTスイッチ装置3Aの位置情報として、データフィールド113に設定されたステータス情報と合わせてネットワーク監視テーブル51に登録する。しかる後、リターンする。 In step P-ST06, the MAC address set in the source field 105 of the received response frame 101r and the hop value set in the hop field 117 are associated with the port number of the port 9 that received the response frame 101r. As a result, the position information of the transmission source AGT switch device 3A that transmitted the response frame 101r is registered in the network monitoring table 51 together with the status information set in the data field 113. After that, it returns.

また、MGRスイッチ装置3Mは、管理者が外部端末7を用いてアクセスし、所定の設定操作を行うことにより、配下にあるAGTスイッチ装置3Aに向けて設定フレーム101sを送信するようになっている。 Further, the MGR switch device 3M is adapted to transmit the setting frame 101s to the subordinate AGT switch device 3A by the administrator accessing using the external terminal 7 and performing a predetermined setting operation. ..

図7は、AGTスイッチ装置3Aのネットワーク監視に関する制御の流れを示すフローチャートである。 FIG. 7 is a flowchart showing a control flow regarding network monitoring of the AGT switch device 3A.

AGTスイッチ装置3Aは、ネットワーク監視に関する制御として、図7に示すフローチャートに従い応答制御を行う。この応答制御において、AGTスイッチ装置3Aの制御部19は、複数のポート9のうちいずれか1つのポート9で要求フレーム101pを受信したときに、要求フレーム101pに基づいてネットワーク上での自装置の階層情報を取得し、自装置の階層情報およびステータス情報を含む応答フレーム101rを生成して、その応答フレーム101rを要求フレーム101pが受信されたポート9から送信させる。 The AGT switch device 3A performs response control according to the flowchart shown in FIG. 7 as control related to network monitoring. In this response control, when the control unit 19 of the AGT switch device 3A receives the request frame 101p on any one of the plurality of ports 9, the control unit 19 of the own device on the network based on the request frame 101p. The layer information is acquired, the response frame 101r including the layer information and the status information of the own device is generated, and the response frame 101r is transmitted from the port 9 on which the request frame 101p is received.

具体的に、AGTスイッチ装置3Aの応答制御では、図7に示すように、まず、ステップR−ST01において、複数のポート9のうちいずれかのポート9で要求フレーム101pを受信したかどうかを判定する。要求フレーム101pを受信したかどうかは、受信したフレームを解析し、当該フレームのプロトコル識別フィールド109およびフレームタイプフィールド115に設定されたデータに基づいて判定される。ここで、要求フレーム101pを受信していない場合は、ステップR−ST02に進む。要求フレーム101pを受信している場合は、ステップR−ST04に進む。 Specifically, in the response control of the AGT switch device 3A, as shown in FIG. 7, first, in step R-ST01, it is determined whether or not the request frame 101p is received at any of the plurality of ports 9. To do. Whether or not the request frame 101p is received is determined by analyzing the received frame and based on the data set in the protocol identification field 109 and the frame type field 115 of the frame. Here, if the request frame 101p has not been received, the process proceeds to step R-ST02. If the request frame 101p has been received, the process proceeds to step R-ST04.

ステップR−ST02では、複数のポート9のうちいずれかのポート9で応答フレーム101rを受信したかどうかを判定する。応答フレーム101rを受信したかどうかは、受信したフレームを解析し、当該フレームのプロトコル識別フィールド109およびフレームタイプフィールド115に設定されたデータに基づいて判定される。ここで、応答フレーム101rを受信していない場合は、ステップR−ST01に戻る。応答フレーム101rを受信している場合は、ステップR−ST03に進む。 In step R-ST02, it is determined whether or not the response frame 101r is received on any of the plurality of ports 9. Whether or not the response frame 101r has been received is determined by analyzing the received frame and based on the data set in the protocol identification field 109 and the frame type field 115 of the frame. Here, if the response frame 101r has not been received, the process returns to step R-ST01. If the response frame 101r has been received, the process proceeds to step R-ST03.

ステップR−ST03では、テーブルメモリ17に記憶されたアドレステーブルに基づいて、受信した応答フレーム101rを上位階層のスイッチ装置3(MGRスイッチ装置3MまたはAGTスイッチ装置3A)に向けて転送する。しかる後、リターンする。 In step R-ST03, the received response frame 101r is transferred to the upper layer switch device 3 (MGR switch device 3M or AGT switch device 3A) based on the address table stored in the table memory 17. After that, it returns.

ステップR−ST04では、受信した要求フレーム101pのホップフィールド117に設定されたホップ値をホップ数を1つ上げる分だけ加算し、加算したホップ値を当該AGTスイッチ装置3Aの階層情報として取得する。また、要求フレーム101pのIDフィールド119に設定されたベースIDに加算後のホップ値を反映させることにより、当該AGTスイッチ装置3Aに固有の識別IDを取得する。次に、ステップR−ST05に進む。 In step R-ST04, the hop value set in the hop field 117 of the received request frame 101p is added by the amount of increasing the number of hops, and the added hop value is acquired as the hierarchical information of the AGT switch device 3A. Further, by reflecting the added hop value in the base ID set in the ID field 119 of the request frame 101p, the identification ID unique to the AGT switch device 3A is acquired. Next, the process proceeds to step R-ST05.

ステップR−ST05では、当該AGTスイッチ装置3Aについての機器のタイプやソフトウェアのバージョン情報、ポート9の種類および死活状態などといったステータス情報を取得する。そして、加算後のホップ値をホップフィールド117に設定し、識別IDをIDフィールド119に設定し、AGTスイッチ装置3Aのステータス情報をデータフィールド113に設定した応答フレーム101rを生成する。次に、ステップR−ST06に進む。 In step R-ST05, status information such as device type, software version information, port 9 type, and alive state for the AGT switch device 3A is acquired. Then, the response frame 101r in which the added hop value is set in the hop field 117, the identification ID is set in the ID field 119, and the status information of the AGT switch device 3A is set in the data field 113 is generated. Next, the process proceeds to step R-ST06.

ステップR−ST06では、ステップR−ST05で生成した応答フレーム101rを、要求フレーム101pを受信したポート9からMGRスイッチ装置3Mに向けて送信する。次に、ステップR−ST07に進む。 In step R-ST06, the response frame 101r generated in step R-ST05 is transmitted from the port 9 that received the request frame 101p to the MGR switch device 3M. Next, the process proceeds to step R-ST07.

ステップR−ST07では、AGTスイッチ装置3Aのリンクアップ情報に基づいて、下位階層に他のAGTスイッチ装置3Aが接続されているかどうかを判定する。ここで、下位階層に他のAGTスイッチ装置3Aが接続されていない場合は、リターンする。また、下位階層に他のAGTスイッチ装置3Aが接続されている場合は、ステップR−ST08に進む。 In step R-ST07, it is determined whether or not another AGT switch device 3A is connected to the lower layer based on the link-up information of the AGT switch device 3A. Here, if another AGT switch device 3A is not connected to the lower layer, it returns. If another AGT switch device 3A is connected to the lower layer, the process proceeds to step R-ST08.

ステップR−ST08では、下位階層のAGTスイッチ装置3Aに向けて加算後のホップ値を含む要求フレーム101pを転送する。しかる後、リターンする。 In step R-ST08, the request frame 101p including the added hop value is transferred to the lower layer AGT switch device 3A. After that, it returns.

図8は、ネットワークシステム1でのネットワーク監視動作の一例を示すシーケンス図である。図9は、ネットワークシステム1での要求フレーム101pの流れを示す概念図である。図10は、ネットワークシステム1での応答フレーム101rの流れを示す概念図である。 FIG. 8 is a sequence diagram showing an example of a network monitoring operation in the network system 1. FIG. 9 is a conceptual diagram showing the flow of the request frame 101p in the network system 1. FIG. 10 is a conceptual diagram showing the flow of the response frame 101r in the network system 1.

ネットワークシステム1では、上述したMGRスイッチ装置3Mのポーリング制御と各AGTスイッチ装置3Aの応答制御とにより、ネットワーク監視が行われる。 In the network system 1, network monitoring is performed by the polling control of the MGR switch device 3M and the response control of each AGT switch device 3A described above.

ネットワークシステム1によるネットワーク監視では、まず、第1階層L1にあるMGRスイッチ装置3Mから第2階層L2にあるAGTスイッチ装置3Aに向けて要求フレーム101pが送信される(ステップP−ST01)。MGRスイッチ装置3Mから送信された要求フレーム101pは、第2階層L2にあるAGTスイッチ装置3Aで受信される。 In the network monitoring by the network system 1, first, the request frame 101p is transmitted from the MGR switch device 3M in the first layer L1 to the AGT switch device 3A in the second layer L2 (step P-ST01). The request frame 101p transmitted from the MGR switch device 3M is received by the AGT switch device 3A in the second layer L2.

第2階層L2にあるAGTスイッチ装置3Aは、受信した要求フレーム101pを解析することにより、当該フレームが要求フレーム101pであることを確認する(ステップR−ST01)。第2階層L2にあるAGTスイッチ装置3Aは、受信したフレームが要求フレーム101pであることを確認すると、その要求フレーム101pに含まれるホップ値およびベースIDに基づいて、自装置のMGRスイッチ装置3Mからのホップ数を示すホップ値および識別IDを取得し、自装置のメモリ23に記憶する(ステップR−ST04)。 The AGT switch device 3A in the second layer L2 confirms that the frame is the request frame 101p by analyzing the received request frame 101p (step R-ST01). When the AGT switch device 3A in the second layer L2 confirms that the received frame is the request frame 101p, the AGT switch device 3A of the own device from the MGR switch device 3M of its own device based on the hop value and the base ID included in the request frame 101p. The hop value and the identification ID indicating the number of hops are acquired and stored in the memory 23 of the own device (step R-ST04).

さらに、第2階層L2にあるAGTスイッチ装置3Aは、自装置についての機器のタイプやソフトウェアのバージョン情報、ポート9の種類および死活状態などといったステータス情報を取得する。そして、第2階層L2にあるAGTスイッチ装置3Aは、MGRスイッチ装置3MのMACアドレスを送信先フィールド103に設定し、自装置のホップ値をホップフィールド117に設定し、自装置の識別IDをIDフィールド119に設定し、自装置のステータス情報をデータフィールド113に設定した応答フレーム101rを生成する(ステップR−ST05)。 Further, the AGT switch device 3A in the second layer L2 acquires status information such as the device type, software version information, port 9 type, and alive state of the own device. Then, the AGT switch device 3A in the second layer L2 sets the MAC address of the MGR switch device 3M in the destination field 103, sets the hop value of its own device in the hop field 117, and sets the identification ID of its own device to ID. A response frame 101r set in the field 119 and the status information of the own device is set in the data field 113 is generated (step R-ST05).

次いで、第2階層L2にあるAGTスイッチ装置3Aは、生成した応答フレーム101rを、要求フレーム101pを受信したポート9から第1階層L1にあるMGRスイッチ装置3Mに向けて送信する(ステップR−ST06)。第2階層L2にあるAGTスイッチ装置3Aから送信された応答フレーム101rは、MGRスイッチ装置3Mで受信される。 Next, the AGT switch device 3A in the second layer L2 transmits the generated response frame 101r from the port 9 that received the request frame 101p to the MGR switch device 3M in the first layer L1 (step R-ST06). ). The response frame 101r transmitted from the AGT switch device 3A in the second layer L2 is received by the MGR switch device 3M.

MGRスイッチ装置3Mは、受信した応答フレーム101rを解析することにより、当該フレームが応答フレーム101rであることを確認する(ステップP−ST03)。MGRスイッチ装置3Mは、受信したフレームが応答フレーム101rであることを確認すると、その応答フレーム101rに含まれるホップ値およびステータス情報に基づいて、送信元である第2階層L2のAGTスイッチ装置3Aの位置情報(ホップ値およびポート番号)をステータス情報と共にネットワーク監視テーブル51に登録する(ステップP−ST05)。 The MGR switch device 3M confirms that the received response frame 101r is the response frame 101r by analyzing the received response frame 101r (step P-ST03). When the MGR switch device 3M confirms that the received frame is the response frame 101r, the MGR switch device 3M of the AGT switch device 3A of the second layer L2 which is the source is based on the hop value and the status information included in the response frame 101r. The position information (hop value and port number) is registered in the network monitoring table 51 together with the status information (step P-ST05).

また、第2階層L2にあるAGTスイッチ装置3Aは、加算後のホップ値(つまり自装置のホップ値)を含む要求フレーム101pを下位階層である第3階層L3にあるAGTスイッチ装置3Aに向けて転送する(ステップR−ST08)。第2階層L2にあるAGTスイッチ装置3Aから転送された要求フレーム101pは、第3階層L3にあるAGTスイッチ装置3Aで受信される。 Further, the AGT switch device 3A in the second layer L2 directs the request frame 101p including the added hop value (that is, the hop value of the own device) toward the AGT switch device 3A in the third layer L3 which is the lower layer. Transfer (step R-ST08). The request frame 101p transferred from the AGT switch device 3A in the second layer L2 is received by the AGT switch device 3A in the third layer L3.

第3階層L3にあるAGTスイッチ装置3Aは、受信した要求フレーム101pを解析することにより、当該フレームが要求フレーム101pであることを確認する(ステップR−ST01)。第3階層L3にあるAGTスイッチ装置3Aは、受信したフレームが要求フレーム101pであることを確認すると、その要求フレーム101pに含まれるホップ値およびベースIDに基づいて、自装置のMGRスイッチ装置3Mからのホップ数を示すホップ値および識別IDを取得し、自装置のメモリ23に記憶する(ステップR−ST04)。 The AGT switch device 3A in the third layer L3 confirms that the frame is the request frame 101p by analyzing the received request frame 101p (step R-ST01). When the AGT switch device 3A in the third layer L3 confirms that the received frame is the request frame 101p, the AGT switch device 3A of the own device from the MGR switch device 3M of its own device based on the hop value and the base ID included in the request frame 101p. The hop value and the identification ID indicating the number of hops are acquired and stored in the memory 23 of the own device (step R-ST04).

さらに、第3階層L3にあるAGTスイッチ装置3Aは、自装置についての機器のタイプやソフトウェアのバージョン情報、ポート9の種類および死活状態などといったステータス情報を取得する。そして、第3階層L3にあるAGTスイッチ装置3Aは、MGRスイッチ装置3MのMACアドレスを送信先フィールド103に設定し、自装置のホップ値をホップフィールド117に設定し、自装置の識別IDをIDフィールド119に設定し、自装置のステータス情報をデータフィールド113に設定した応答フレーム101rを生成する(ステップR−ST05)。 Further, the AGT switch device 3A in the third layer L3 acquires status information such as the device type and software version information of the own device, the type of the port 9, and the alive state. Then, the AGT switch device 3A in the third layer L3 sets the MAC address of the MGR switch device 3M in the destination field 103, sets the hop value of its own device in the hop field 117, and sets the identification ID of its own device to ID. A response frame 101r set in the field 119 and the status information of the own device is set in the data field 113 is generated (step R-ST05).

次いで、第3階層L3にあるAGTスイッチ装置3Aは、生成した応答フレーム101rを、要求フレーム101pを受信したポート9から第2階層L2にあるAGTスイッチ装置3Aに向けて送信する。第3階層L3にあるAGTスイッチ装置3Aから送信された応答フレーム101rは、第2階層L2にあるAGTスイッチ装置3Aで受信される。 Next, the AGT switch device 3A in the third layer L3 transmits the generated response frame 101r from the port 9 that received the request frame 101p to the AGT switch device 3A in the second layer L2. The response frame 101r transmitted from the AGT switch device 3A in the third layer L3 is received by the AGT switch device 3A in the second layer L2.

第2階層L2にあるAGTスイッチ装置3Aは、受信した応答フレーム101rを解析することにより、当該フレームが応答フレーム101rであることを確認する(ステップR−ST02)。第2階層にあるAGTスイッチ装置3Aは、受信したフレームが応答フレーム101rであることを確認すると、その応答フレーム101rを第1階層L1にあるMGRスイッチ装置3Mに向けて転送する(ステップR−ST03)。第2階層L2にあるAGTスイッチ装置3Aから転送された応答フレーム101rは、MGRスイッチ装置3Mで受信される。 The AGT switch device 3A in the second layer L2 confirms that the frame is the response frame 101r by analyzing the received response frame 101r (step R-ST02). When the AGT switch device 3A in the second layer confirms that the received frame is the response frame 101r, the AGT switch device 3A transfers the response frame 101r toward the MGR switch device 3M in the first layer L1 (step R-ST03). ). The response frame 101r transferred from the AGT switch device 3A on the second layer L2 is received by the MGR switch device 3M.

MGRスイッチ装置3Mは、受信した応答フレーム101rを解析することにより、当該フレームが応答フレーム101rであることを確認する(ステップR−ST03)。MGRスイッチ装置3Mは、受信したフレームが応答フレーム101rであることを確認すると、その応答フレーム101rに含まれるホップ値およびステータス情報に基づいて、送信元である第3階層L3のAGTスイッチ装置3Aの位置情報(ホップ値およびポート番号)をステータス情報と共にネットワーク監視テーブル51に登録する(ステップP−ST05)。 The MGR switch device 3M confirms that the received response frame 101r is the response frame 101r by analyzing the received response frame 101r (step R-ST03). When the MGR switch device 3M confirms that the received frame is the response frame 101r, the MGR switch device 3M of the AGT switch device 3A of the third layer L3 which is the source is based on the hop value and the status information included in the response frame 101r. The position information (hop value and port number) is registered in the network monitoring table 51 together with the status information (step P-ST05).

このようなネットワーク監視のシーケンス制御は、MGRスイッチ装置3Mが要求フレーム101pを送信することをトリガーとして、周期的に実行される。 Such network monitoring sequence control is periodically executed triggered by the MGR switch device 3M transmitting the request frame 101p.

この実施形態のネットワークシステム1では、ネットワーク監視において、MGRスイッチ装置3Mが第2階層L2のAGTスイッチ装置3Aに向けて要求フレーム101pを送信し、AGTスイッチ装置3Aが第3階層L3のAGTスイッチ装置3Aに向けて要求フレーム101pを転送する。そのことで、MGRスイッチ装置3Mから送信された要求フレーム101pは、図9に示すように、ネットワークシステム1を構成する各AGTスイッチ装置3Aに送達される。 In the network system 1 of this embodiment, in network monitoring, the MGR switch device 3M transmits a request frame 101p to the AGT switch device 3A of the second layer L2, and the AGT switch device 3A is the AGT switch device of the third layer L3. The request frame 101p is transferred toward 3A. As a result, the request frame 101p transmitted from the MGR switch device 3M is delivered to each AGT switch device 3A constituting the network system 1 as shown in FIG.

このとき、要求フレーム101pのホップフィールド117を用いてMGRスイッチ装置3Mからのホップ数がカウントされる。そして、各AGTスイッチ装置3Aにおいて、自装置のMGRスイッチ装置3Mからのホップ数を示すホップ値と、ホップ値をベースIDに反映させた識別IDとが取得される。さらに、各AGTスイッチ装置3Aは、自装置のホップ値および識別IDとステータス情報とを含む応答フレーム101rを生成して、図10に示すように、MGRスイッチ装置3Mに向けて送信する。 At this time, the number of hops from the MGR switch device 3M is counted using the hop field 117 of the request frame 101p. Then, in each AGT switch device 3A, a hop value indicating the number of hops from the MGR switch device 3M of the own device and an identification ID reflecting the hop value in the base ID are acquired. Further, each AGT switch device 3A generates a response frame 101r including the hop value of the own device, the identification ID, and the status information, and transmits the response frame 101r to the MGR switch device 3M as shown in FIG.

そして、MGRスイッチ装置3Mは、各AGTスイッチ装置3Aからの応答フレーム101rを受信して、応答フレーム101rに基づいて取得される各AGTスイッチ装置3Aの位置情報およびステータス情報をネットワーク監視テーブル51に登録して管理する。これによれば、外部端末7へのインストールを必要とする専用の監視ソフトウェアを用いずとも、またAGTスイッチ装置3AにIPアドレスを設定しなくても、AGTスイッチ装置3Aのネットワーク監視テーブル51に基づいた死活監視や状態監視を行える。したがって、ネットワークシステム1の保守性および運用性を向上させることができる。 Then, the MGR switch device 3M receives the response frame 101r from each AGT switch device 3A, and registers the position information and the status information of each AGT switch device 3A acquired based on the response frame 101r in the network monitoring table 51. And manage it. According to this, it is based on the network monitoring table 51 of the AGT switch device 3A without using the dedicated monitoring software that needs to be installed in the external terminal 7 and without setting the IP address in the AGT switch device 3A. You can monitor life and death and status. Therefore, the maintainability and operability of the network system 1 can be improved.

また、この実施形態のネットワークシステム1では、AGTスイッチ装置3Aが、要求フレーム101pのホップフィールド117に設定される、MGRスイッチ装置3MからのAGTスイッチ装置3Aのホップ数を示すホップ値を加算して、ネットワーク上の自装置の階層情報を取得する。これによれば、AGTスイッチ装置3Aは、ネットワーク上の自装置の階層情報を簡単な仕組みで取得することができる。 Further, in the network system 1 of this embodiment, the AGT switch device 3A adds a hop value indicating the number of hops of the AGT switch device 3A from the MGR switch device 3M set in the hop field 117 of the request frame 101p. , Acquire the hierarchical information of the own device on the network. According to this, the AGT switch device 3A can acquire the hierarchical information of its own device on the network by a simple mechanism.

また、この実施形態のネットワークシステム1では、AGTスイッチ装置3Aが、要求フレーム101pのIDフィールド119に設定されるベースIDに、ホップフィールド117のホップ値を反映させて識別IDを作成し、その識別IDを応答フレーム101rに含んで送信する。そうすることで、複数のAGTスイッチ装置3Aそれぞれに固有の識別IDを簡単に設定することができる。これによれば、ネットワークシステム1の管理者は、外部端末7の操作を以て、ターゲットIDフィールド121で識別IDを用いて設定対象を特定した設定フレーム101sを生成し、その設定フレーム101sをMGRスイッチ装置3Mに送信させることにより、複数のAGTスイッチ装置3Aに対し、各種の設定変更やリセットなどの操作を個別に行うことが可能になる。 Further, in the network system 1 of this embodiment, the AGT switch device 3A creates an identification ID by reflecting the hop value of the hop field 117 in the base ID set in the ID field 119 of the request frame 101p, and identifies the base ID. The ID is included in the response frame 101r and transmitted. By doing so, it is possible to easily set an identification ID unique to each of the plurality of AGT switch devices 3A. According to this, the administrator of the network system 1 generates the setting frame 101s in which the setting target is specified by using the identification ID in the target ID field 121 by operating the external terminal 7, and the setting frame 101s is used as the MGR switch device. By transmitting to 3M, it becomes possible to individually perform operations such as various setting changes and resets for the plurality of AGT switch devices 3A.

また、この実施形態のネットワークシステム1では、スイッチ装置3の追加や入れ替え、削除などの変更を行っても、変更後のネットワーク構成に応じたAGTスイッチ装置3Aの階層情報および識別IDを動的に取得することができる。よって、管理者は、ネットワークシステム1の変更を行う都度、AGTスイッチ装置3Aの識別IDを手動で更新しなくて済む。このことは、管理者の負担を軽減するのに寄与し、ネットワークシステム1の運用性を向上させるのに有利である。 Further, in the network system 1 of this embodiment, even if the switch device 3 is added, replaced, or deleted, the hierarchical information and the identification ID of the AGT switch device 3A according to the changed network configuration are dynamically changed. Can be obtained. Therefore, the administrator does not have to manually update the identification ID of the AGT switch device 3A each time the network system 1 is changed. This contributes to reducing the burden on the administrator and is advantageous for improving the operability of the network system 1.

以上のように、本開示の技術の例示として、好ましい実施形態について説明した。しかし、本開示の技術は、これに限定されず、適宜、変更、置き換え、付加、省略などを行った実施の形態にも適用可能である。また、添付図面および詳細な説明に記載された構成要素の中には、課題解決のためには必須でない構成要素も含まれ得る。そのため、それらの必須でない構成要素が添付図面や詳細な説明に記載されていることを以て、直ちにそれらの必須でない構成要素が必須であるとの認定をするべきではない。 As described above, a preferred embodiment has been described as an example of the technique of the present disclosure. However, the technique of the present disclosure is not limited to this, and can be applied to embodiments in which changes, replacements, additions, omissions, etc. are made as appropriate. In addition, the components described in the attached drawings and the detailed description may include components that are not essential for solving the problem. Therefore, it should not be immediately determined that those non-essential components are essential by the fact that those non-essential components are described in the accompanying drawings and detailed description.

例えば、上記実施形態では、AGTスイッチ装置3Aが、要求フレーム101pに含まれるホップ値を加算して、その加算後のホップ値をネットワーク上での自装置の階層情報として取得し、IDフィールドのベースIDに加算後のホップ値を反映させることにより識別IDを取得するとしたが、これに限らない。AGTスイッチ装置3Aは、要求フレーム101pに含まれるホップ値(加算前のホップ値)を自装置の階層情報として取得し、IDフィールド119のベースIDに加算前のホップ値を反映させることにより識別IDを取得し、要求フレーム101pを転送するときにそのホップフィールド117のホップ値を加算するようになっていてもよい。 For example, in the above embodiment, the AGT switch device 3A adds the hop value included in the request frame 101p, acquires the hop value after the addition as the hierarchical information of the own device on the network, and bases the ID field. The identification ID is acquired by reflecting the hop value after addition in the ID, but the present invention is not limited to this. The AGT switch device 3A acquires the hop value (hop value before addition) included in the request frame 101p as the hierarchical information of its own device, and reflects the hop value before addition in the base ID of the ID field 119 to identify the identification ID. Is acquired, and the hop value of the hop field 117 may be added when the request frame 101p is transferred.

また、上記実施形態では、本開示の技術に係るネットワークシステムについて、第1〜第3階層L1,L2,L3の階層構造を有するネットワークシステム1を例に挙げて説明したが、これに限らない。ネットワークシステム1は、第1階層L1および第2階層L2のみからなる階層構造を有していてもよいし、4層以上の階層構造を有するネットワークシステムであっても構わない。 Further, in the above embodiment, the network system according to the technique of the present disclosure has been described by exemplifying the network system 1 having a hierarchical structure of the first to third layers L1, L2, L3, but the present invention is not limited to this. The network system 1 may have a hierarchical structure including only the first layer L1 and the second layer L2, or may be a network system having a hierarchical structure of four or more layers.

以上説明したように、本開示の技術は、ネットワークシステムおよびそれを構成するスイッチ装置について有用である。 As described above, the technique of the present disclosure is useful for a network system and a switch device constituting the network system.

L1 第1階層
L2 第2階層
L3 第3階層
1 ネットワークシステム
3 スイッチ装置
3A AGTスイッチ装置(第2スイッチ装置)
3M MGRスイッチ装置(第1スイッチ装置)
5 通信ケーブル
7 外部端末
9 ポート
11 インタフェース部
13 スイッチング処理部
15 バッファ
17 テーブルメモリ
19 制御部
21 CPU
23 メモリ
51 ネットワーク監視テーブル
101 監視用フレーム
101p 要求フレーム
101r 応答フレーム
101s 設定フレーム
103 送信先フィールド
105 送信元フィールド
107 フレーム長フィールド
109 プロトコル識別フィールド
111 ヘッダフィールド
113 データフィールド
115 フレームタイプフィールド
117 ホップフィールド
119 IDフィールド
121 ターゲットIDフィールド
123 単位フィールド
125 データタイプフィールド
127 データ長フィールド
129 コンテンツフィールド
L1 1st layer L2 2nd layer L3 3rd layer 1 Network system 3 Switch device 3A AGT switch device (2nd switch device)
3M MGR switch device (first switch device)
5 Communication cable 7 External terminal 9 Port 11 Interface unit 13 Switching processing unit 15 Buffer 17 Table memory 19 Control unit 21 CPU
23 Memory 51 Network monitoring table 101 Monitoring frame 101p Request frame 101r Response frame 101s Setting frame 103 Destination field 105 Source field 107 Frame length field 109 Protocol identification field 111 Header field 113 Data field 115 Frame type field 117 Hopfield 119 ID Field 121 Target ID field 123 Unit field 125 Data type field 127 Data length field 129 Content field

Claims (5)

複数のスイッチ装置を階層的に接続したネットワークシステムであって、
前記複数のスイッチ装置は、ルートノードを構成する第1スイッチ装置と、非ルートノードを構成する複数の第2スイッチ装置と、を含み、
前記第1スイッチ装置は、前記複数の第2スイッチ装置に向けて、ネットワーク上での階層情報およびステータス情報を要求する要求フレームを周期的に送信し、
前記第2スイッチ装置は、前記要求フレームを受信したときに、該要求フレームに基づいてネットワーク上での自装置の階層情報を取得し、該階層情報および自装置のステータス情報を含む応答フレームを生成して前記第1スイッチ装置に向けて送信し、下位階層に他の前記第2スイッチ装置が接続されている場合、当該他の第2スイッチ装置に前記要求フレームを転送する
ことを特徴とするネットワークシステム。
A network system in which multiple switch devices are connected hierarchically.
The plurality of switch devices include a first switch device constituting a root node and a plurality of second switch devices constituting a non-root node.
The first switch device periodically transmits a request frame requesting hierarchical information and status information on the network to the plurality of second switch devices.
When the second switch device receives the request frame, the second switch device acquires the hierarchy information of its own device on the network based on the request frame, and generates a response frame including the hierarchy information and the status information of the own device. Then, the information is transmitted to the first switch device, and when another second switch device is connected to the lower layer, the request frame is transferred to the other second switch device. system.
請求項1に記載されたネットワークシステムにおいて、
前記第1スイッチ装置は、前記要求フレームとして、前記第1スイッチ装置からの前記第2スイッチ装置のホップ数を示すホップ値が設定されるホップフィールドを含むフレームを送信し、
前記第2スイッチ装置は、前記要求フレームを受信したときに、該要求フレームの前記ホップフィールドに設定されたホップ値を加算し、且つ、該ホップフィールドの加算前または加算後のホップ値を、前記ネットワーク上での自装置の階層情報として取得する
ことを特徴とするネットワークシステム。
In the network system according to claim 1,
The first switch device transmits, as the request frame, a frame including a hop field in which a hop value indicating the number of hops of the second switch device from the first switch device is set.
When the second switch device receives the request frame, the hop value set in the hop field of the request frame is added, and the hop value before or after the addition of the hop field is added. A network system characterized in that it is acquired as hierarchical information of its own device on the network.
請求項2に記載されたネットワークシステムにおいて、
前記第1スイッチ装置は、前記要求フレームとして、ベースIDが設定されるIDフィールドを含むフレームを送信し、
前記第2スイッチ装置は、前記要求フレームを受信したときに、該要求フレームの前記IDフィールドに設定されたベースIDを取得し、該ベースIDに前記ホップフィールドの加算前または加算後のホップ値を反映させることにより識別IDを取得し、該識別IDを前記応答フレームに含んで送信する
ことを特徴とするネットワークシステム。
In the network system according to claim 2,
The first switch device transmits a frame including an ID field in which a base ID is set as the request frame.
When the second switch device receives the request frame, the second switch device acquires the base ID set in the ID field of the request frame, and sets the hop value before or after the addition of the hop field to the base ID. A network system characterized in that an identification ID is acquired by reflecting the identification ID, and the identification ID is included in the response frame and transmitted.
複数のスイッチ装置を階層的に接続したネットワークシステムでルートノードを構成するスイッチ装置であって、
前記ネットワークシステムにおける他の前記スイッチ装置に接続される複数のポートと、
前記ポートから送信するフレームの生成、および前記ポートで受信したフレームの解析を実行する制御部と、を備え、
前記制御部は、
前記ポートから前記ネットワークシステムに含まれる他のスイッチ装置に向けて、ネットワーク上での階層情報およびステータス情報を要求する要求フレームを周期的に送信させ、
前記他のスイッチ装置のネットワーク上での階層情報およびステータス情報を含む応答フレームを前記ポートで受信したときに、該応答フレームを解析して前記他のスイッチ装置のネットワーク上での階層情報およびステータス情報を取得する
ことを特徴とするスイッチ装置。
A switch device that constitutes a root node in a network system in which multiple switch devices are connected hierarchically.
A plurality of ports connected to the other switch device in the network system, and
It includes a control unit that generates a frame transmitted from the port and analyzes a frame received at the port.
The control unit
Request frames requesting hierarchical information and status information on the network are periodically transmitted from the port to other switch devices included in the network system.
When a response frame containing hierarchical information and status information on the network of the other switch device is received by the port, the response frame is analyzed and the hierarchical information and status information on the network of the other switch device are analyzed. A switch device characterized by acquiring.
複数のスイッチ装置を階層的に接続したネットワークシステムで非ルートノードを構成するスイッチ装置であって、
前記ネットワークシステムにおける他の前記スイッチ装置に接続される複数のポートと、
前記ポートから送信するフレームの生成、および前記ポートで受信したフレームの解析を実行する制御部と、を備え、
前記制御部は、前記複数のポートのうちいずれか1つのポートでネットワーク上での階層情報およびステータス情報を要求する要求フレームを受信したときに、該要求フレームに基づいてネットワーク上での自装置の階層情報を取得し、自装置の階層情報およびステータス情報を含む応答フレームを生成して、該応答フレームを前記要求フレームが受信された前記ポートから送信させる
ことを特徴とするスイッチ装置。
A switch device that constitutes a non-root node in a network system in which multiple switch devices are hierarchically connected.
A plurality of ports connected to the other switch device in the network system, and
It includes a control unit that generates a frame transmitted from the port and analyzes a frame received at the port.
When the control unit receives a request frame for requesting hierarchical information and status information on the network at any one of the plurality of ports, the control unit of its own device on the network based on the request frame. A switch device characterized in that it acquires hierarchical information, generates a response frame including the hierarchical information and status information of its own device, and transmits the response frame from the port in which the request frame is received.
JP2019099676A 2019-05-28 2019-05-28 Network system and switch device constituting the same Pending JP2020195068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019099676A JP2020195068A (en) 2019-05-28 2019-05-28 Network system and switch device constituting the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019099676A JP2020195068A (en) 2019-05-28 2019-05-28 Network system and switch device constituting the same

Publications (1)

Publication Number Publication Date
JP2020195068A true JP2020195068A (en) 2020-12-03

Family

ID=73546545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019099676A Pending JP2020195068A (en) 2019-05-28 2019-05-28 Network system and switch device constituting the same

Country Status (1)

Country Link
JP (1) JP2020195068A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005328318A (en) * 2004-05-14 2005-11-24 Fujitsu Ltd Method and program for grasping network constitution of virtual lan in node network
JP2012015997A (en) * 2010-06-01 2012-01-19 Yamaha Corp Topology detection system and relay device
JP2014150386A (en) * 2013-01-31 2014-08-21 Fujitsu General Ltd Air conditioner system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005328318A (en) * 2004-05-14 2005-11-24 Fujitsu Ltd Method and program for grasping network constitution of virtual lan in node network
US20050265356A1 (en) * 2004-05-14 2005-12-01 Fujitsu Limited Method and apparatus for keeping track of virtual LAN topology in network of nodes
JP2012015997A (en) * 2010-06-01 2012-01-19 Yamaha Corp Topology detection system and relay device
CN102934398A (en) * 2010-06-01 2013-02-13 雅马哈株式会社 Topology detection system and relay device
JP2014150386A (en) * 2013-01-31 2014-08-21 Fujitsu General Ltd Air conditioner system

Similar Documents

Publication Publication Date Title
CN104468181B (en) The detection and processing of virtual network device failure
JP5837989B2 (en) System and method for managing network hardware address requests at a controller
JP5864758B2 (en) System and method for controlling network traffic via a virtual switch
US9544182B2 (en) Monitoring gateway systems and methods for openflow type networks
EP2587725B1 (en) Network management interface for heterogeneous data networks and system using the same
JP4231773B2 (en) VRRP technology that maintains the confidentiality of VR
US20070041328A1 (en) Devices and methods of using link status to determine node availability
JP4585944B2 (en) Packet communication device
US20170054680A1 (en) Control method, information processing apparatus, and storage medium
JP3996922B2 (en) Centralized management system and method for network connection means in a network where different communication protocols coexist
Uddin et al. SDN-based service automation for IoT
JP5018969B2 (en) COMMUNICATION CONTROL PROGRAM, COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL SYSTEM, AND COMMUNICATION CONTROL METHOD
US6738829B1 (en) System and method for implementing a generic enhanced network driver
JP2020195068A (en) Network system and switch device constituting the same
JPWO2014126094A1 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, CONTROL DEVICE, CONTROL DEVICE CONTROL METHOD, AND PROGRAM
CN115883509A (en) Edge device using source identifier for source identification
WO2021224931A1 (en) System and a method to efficiently exchange echo and stats messages between sdn controller and the open vswitches
JP5700295B2 (en) Network system
JP6096700B2 (en) API providing system
WO2015052854A1 (en) Traffic management system and traffic management method
TWI669981B (en) The process system and the method of the remote device objectification and control mechanism base on the ethernet
JP2018061219A (en) Communication system, communication control device, and communication control program
US11258653B1 (en) Monitoring gateway systems and methods for openflow type networks
JP2018073084A (en) Monitoring device, communication failure automatic recovery system, method, and program
JP6838444B2 (en) Information processing device, information processing device control method and information processing device control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220315

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230110

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230627