JP5254196B2 - Loop detection system and loop detection method - Google Patents

Loop detection system and loop detection method Download PDF

Info

Publication number
JP5254196B2
JP5254196B2 JP2009296221A JP2009296221A JP5254196B2 JP 5254196 B2 JP5254196 B2 JP 5254196B2 JP 2009296221 A JP2009296221 A JP 2009296221A JP 2009296221 A JP2009296221 A JP 2009296221A JP 5254196 B2 JP5254196 B2 JP 5254196B2
Authority
JP
Japan
Prior art keywords
transmission
loop
port
loop detection
reception
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009296221A
Other languages
Japanese (ja)
Other versions
JP2011139139A (en
Inventor
聖 成川
一浩 大倉
健太郎 西居
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2009296221A priority Critical patent/JP5254196B2/en
Publication of JP2011139139A publication Critical patent/JP2011139139A/en
Application granted granted Critical
Publication of JP5254196B2 publication Critical patent/JP5254196B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ループ検出システム及びループ検出方法に関し、特にループを構成する装置を特定するためのループ検出システム及びループ検出方法に関する。   The present invention relates to a loop detection system and a loop detection method, and more particularly, to a loop detection system and a loop detection method for specifying devices constituting a loop.

L2ネットワークにおいては、各装置を結ぶ物理結線をループ状に行った場合や、装置に対する論理パスの誤設定、STP(Spanining Tree Protocol)などのリングプロトコルの動作異常などにより、フレームがループ状に周回する場合がある。フレームがループ状に周回すると、ネットワークの帯域を圧迫するため、正常な通信を阻害する障害が発生する。そこで、フレームがループ状に周回したか否かを判定するためのループ検出方法が提案されている(例えば、特許文献1参照。)。   In an L2 network, frames circulate in a loop due to physical connections that connect each device in a loop, incorrect setting of a logical path for the device, ring protocol operation abnormality such as STP (Spanning Tree Protocol), etc. There is a case. When the frame circulates in a loop shape, the network bandwidth is compressed, and a failure that hinders normal communication occurs. Therefore, a loop detection method for determining whether or not the frame has circulated in a loop shape has been proposed (for example, see Patent Document 1).

特許文献1のループ検出方法は、L2ネットワークの接続点にあるブリッジ装置からループ検知用のフレームを送信し、そのフレームを送信したブリッジ装置のいずれかのポートで受信した場合、ループが発生していると判断する。   In the loop detection method of Patent Document 1, when a loop detection frame is transmitted from a bridge device at the connection point of the L2 network and received at any port of the bridge device that transmitted the frame, a loop occurs. Judge that

特許第4341918号公報Japanese Patent No. 4341918

特許文献1のループ検出方法は、自己の送信したフレームを受信したことをもってループが発生していると判定するため、L2ネットワーク上でのループを構成するノードを把握することができなかった。このため、フレームがループ状に周回する根本的な原因を追及することができない問題があった。   Since the loop detection method disclosed in Patent Document 1 determines that a loop has occurred when a frame transmitted by itself is received, it has not been possible to grasp the nodes constituting the loop on the L2 network. For this reason, there has been a problem that the root cause of the frame wrapping around cannot be pursued.

フレームがループ状に周回することを防ぐために、通信ネットワーク上のブロードキャストの帯域をあらかじめ制限することで、ループが発生した場合においてもその影響を軽減する事が考えられる。しかし、ループが発生してないネットワーク上においてもブロードキャストフレームが制限されるため、ネットワークの帯域を最大限に利用することができないと言う課題がある。   In order to prevent the frame from going around in a loop, it is conceivable to limit the broadcast band on the communication network in advance so as to reduce the influence even when a loop occurs. However, since broadcast frames are restricted even on a network where no loop occurs, there is a problem that the bandwidth of the network cannot be used to the maximum.

フレームがループ状に周回することを防ぐために、送信元アドレスを受信装置側で監視し、自装置のアドレスを送信元アドレスに持つフレームを受信した際にループ発生と判断する方法が考えられる。しかし、ループの発生そのものは検知することができるが、通信ネットワーク全体の装置のうち実際にループが発生している箇所を特定することはできないと言う問題がある。   In order to prevent the frame from going around in a loop, it is conceivable to monitor the transmission source address on the receiving device side and determine that a loop has occurred when a frame having the address of its own device as the transmission source address is received. However, although the occurrence of the loop itself can be detected, there is a problem that it is not possible to specify the location where the loop actually occurs among the devices of the entire communication network.

本発明は、これらの問題点に鑑みてなされたものであり、本発明の目的は、ループを構成する装置の特定が可能なループ検出システム、ループ検出方法、中継装置及び中継方法を提供することにある。   The present invention has been made in view of these problems, and an object of the present invention is to provide a loop detection system, a loop detection method, a relay device, and a relay method capable of specifying a device constituting a loop. It is in.

本願発明のループ検出システムは、複数の送受信ポートを有する装置を接続して構成された通信ネットワークの端に接続され、ループ検知に用いる特定のビット列を含んだループ検知用フレームを互いに送信する複数のエッジ装置と、前記通信ネットワークのうちの前記エッジ装置の間に接続され、前記ループ検知用フレームを受信し、前記ループ検知用フレームを受信した送受信ポートのポートID(identification)及び前記ループ検知用フレームを送信したエッジ装置の送信エッジ装置IDを識別して互いに関連付けて記録し、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから前記ループ検知用フレームを送信し、記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であるか否かを判定する中継装置と、を備えるループ検出システム。 The loop detection system of the present invention is connected to an end of a communication network configured by connecting devices having a plurality of transmission / reception ports, and transmits a plurality of loop detection frames each including a specific bit string used for loop detection. Connected between an edge device and the edge device of the communication network, receives the loop detection frame, receives a port ID (identification) of the transmission / reception port that has received the loop detection frame, and the loop detection frame The transmission edge device ID of the edge device that transmitted the ID is identified and recorded in association with each other, the loop detection frame is transmitted from a transmission / reception port different from the transmission / reception port that received the loop detection frame, and the recorded port ID And a plurality of the transmission edge device IDs Loop detection system comprising the transmitting edge device ID recorded in association with the over preparative ID and a determining relay device whether a plurality, a.

1つの送信エッジ装置IDに対して複数のポートIDが記録されている中継装置を抽出することで、ループを構成している中継装置の候補を列挙することができる。さらに抽出した中継装置のうち、複数のポートIDが記録されている送信エッジ装置IDが複数である中継装置を抽出することで、ループが発生している中継装置を特定することができる。したがって、本願発明のループ検出システムは、ループを構成する装置を特定することができる。   By extracting relay devices in which a plurality of port IDs are recorded for one transmission edge device ID, it is possible to enumerate relay device candidates constituting a loop. Further, by extracting relay devices having a plurality of transmission edge device IDs in which a plurality of port IDs are recorded from among the extracted relay devices, it is possible to identify a relay device in which a loop has occurred. Therefore, the loop detection system of the present invention can specify the devices constituting the loop.

発明により、中継装置は、ループを構成する中継装置の1つか否かを判定することができる。ループを構成している中継装置の接続関係を得ることで、ループの形状を特定することができる。 According to the present invention, the relay device can determine whether one of the relay devices constituting the loop is used. By obtaining the connection relationship of the relay devices constituting the loop, the shape of the loop can be specified.

本願発明のループ検出システムでは、前記複数であると判定した前記中継装置のうちの1つの前記中継装置が有する送受信ポートでありかつ同一の送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限してもよい。
本発明により、ループを解消することができる。
In the loop detection system of the present invention, the port ID that is a transmission / reception port of one of the relay devices determined to be plural and that is recorded in association with the same transmission edge device ID. Transmission / reception may be restricted for any of the transmission / reception ports.
According to the present invention, the loop can be eliminated.

本願発明のループ検出方法は、複数の送受信ポートを有する装置を接続して構成された通信ネットワークの端に接続された複数のエッジ装置から、ループ検知に用いる特定のビット列を含んだループ検知用フレームを前記通信ネットワークの複数のエッジ装置に向けて送信する送信手順と、前記通信ネットワークのうちの前記エッジ装置の間に接続された中継装置で前記ループ検知用フレームを受信し、前記ループ検知用フレームを受信した送受信ポートのポートID及び前記ループ検知用フレームを送信した前記エッジ装置の送信エッジ装置IDを識別して互いに関連付けて前記中継装置ごとに記録し、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから前記ループ検知用フレームを送信する中継手順と、前記中継手順で記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であった前記中継装置を特定する特定手順と、を順に有する。 The loop detection method of the present invention is a loop detection frame including a specific bit string used for loop detection from a plurality of edge devices connected to an end of a communication network configured by connecting devices having a plurality of transmission / reception ports. Transmitting to a plurality of edge devices of the communication network, and receiving the loop detection frame by a relay device connected between the edge devices of the communication network, and the loop detection frame The port ID of the transmission / reception port that received the loop detection frame and the transmission edge device ID of the edge device that transmitted the loop detection frame are associated with each other and recorded for each relay device, and the transmission / reception port that received the loop detection frame a relay step of transmitting the loop detection frame from a different transceiver port and the A specific procedure for the transmission edge device ID recorded in association with a plurality of said port ID for identifying the relay apparatus comprising: a plurality of said port ID and the transmission edge device ID recorded in the fitting order, the Have in order.

1つの送信エッジ装置IDに対して複数のポートIDが記録されている中継装置を抽出することで、ループを構成している中継装置の候補を列挙することができる。さらに抽出した中継装置のうち、複数のポートIDが記録されている送信エッジ装置IDが複数である中継装置を抽出することで、ループが発生している中継装置を特定することができる。したがって、本願発明のループ検出方法は、ループを構成する装置を特定することができる。   By extracting relay devices in which a plurality of port IDs are recorded for one transmission edge device ID, it is possible to enumerate relay device candidates constituting a loop. Further, by extracting relay devices having a plurality of transmission edge device IDs in which a plurality of port IDs are recorded from among the extracted relay devices, it is possible to identify a relay device in which a loop has occurred. Therefore, the loop detection method of the present invention can identify the devices that constitute the loop.

発明により、ループを構成する中継装置を特定することができる。ループを構成している中継装置の接続関係を得ることで、ループの形状を特定することができる。 According to the present invention, it is possible to specify a relay device that constitutes a loop. By obtaining the connection relationship of the relay devices constituting the loop, the shape of the loop can be specified.

本願発明のループ検出方法では、前記特定手順において特定した前記中継装置のうちの1つの前記中継装置が有する送受信ポートでありかつ同一の送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限するループ解消手順を、前記特定手順の後にさらに有してもよい。
本発明により、ループを解消することができる。
In the loop detection method of the present invention, the port ID is a transmission / reception port of one of the relay devices specified in the specifying procedure and has the port ID recorded in association with the same transmission edge device ID For any of the transmission / reception ports, a loop elimination procedure for restricting transmission / reception may be further provided after the specific procedure.
According to the present invention, the loop can be eliminated.

本願発明の中継装置は、ループ検知に用いる特定のビット列を含んだループ検知用フレームを受信する中継装置受信部と、前記ループ検知用フレームを受信した送受信ポートのポートID及び前記ループ検知用フレームを送信したエッジ装置の送信エッジ装置IDを識別して互いに関連付けて記録する記録部と、前記中継装置受信部の受信する前記ループ検知用フレームを、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから送信する中継装置送信部と、前記記録部に記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であるか否かを判定するループ構成装置判断部と、前記ループ構成装置判断部が前記複数であると判定した場合、ループを構成している旨を出力するループ構成情報出力部と、を備える。 The relay device of the present invention includes a relay device receiving unit that receives a loop detection frame including a specific bit string used for loop detection, a port ID of a transmission / reception port that has received the loop detection frame, and the loop detection frame. The recording unit that identifies and records the transmission edge device ID of the transmitted edge device and records the loop detection frame received by the relay device reception unit is different from the transmission / reception port that received the loop detection frame There are a plurality of transmission edge device IDs recorded in association with a plurality of port IDs among the port ID and the transmission edge device ID recorded in the recording unit , the relay device transmission unit transmitting from the transmission / reception port. It is determined that there are a plurality of loop configuration device determination units and a plurality of loop configuration device determination units. If you comprises a loop configuration information output unit that outputs the effect that constitutes a loop, a.

中継装置が中継装置受信部、記録部及び中継装置送信部を備えることで、通信ネットワークの各中継装置は、ループを構成する中継装置の1つか否かを判定することができる。本発明に係る中継装置を用いて通信ネットワークを構成することで、ループを構成する装置を特定することができる。したがって、本願発明の中継装置は、ループを構成する装置を特定することができる。   Since the relay device includes the relay device reception unit, the recording unit, and the relay device transmission unit, each relay device of the communication network can determine whether or not one of the relay devices is included in the loop. By configuring a communication network using the relay device according to the present invention, it is possible to identify devices that constitute a loop. Therefore, the relay device according to the present invention can identify the devices constituting the loop.

発明により、中継装置は、ループを構成する中継装置の1つか否かを判定することができる。ループを構成している旨を出力した中継装置の接続関係を得ることで、ループの形状を特定することができる。 According to the present invention, the relay device can determine whether one of the relay devices constituting the loop is used. The shape of the loop can be specified by obtaining the connection relationship of the relay devices that output that the loop is configured.

本願発明の中継装置では、前記記録部に記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限するポート制御部をさらに備えてもよい。
本発明により、ループを解消することができる。
In the relay device of the present invention, the port ID and the transmission edge device ID recorded in the recording unit are recorded in association with the transmission edge device ID recorded in association with the plurality of port IDs. You may further provide the port control part which restricts transmission / reception about either of the transmission / reception ports which have port ID.
According to the present invention, the loop can be eliminated.

本願発明の中継方法は、複数の送受信ポートを有する装置を接続して構成された通信ネットワークの端に接続された複数のエッジ装置から、ループ検知に用いる特定のビット列を含んだループ検知用フレームを受信するループ検知用フレーム受信手順と、前記ループ検知用フレームを受信した送受信ポートのポートID及び前記ループ検知用フレームを送信したエッジ装置の送信エッジ装置IDを識別して互いに関連付けて記録するとともに、受信した前記ループ検知用フレームを、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから送信するループ検知用フレーム転送手順と、前記ループ検知用フレーム転送手順で記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であるか否かを判定し、前記送信エッジ装置IDが複数であると判定した場合、ループを構成している旨を出力するループ構成情報出力手順と、を順に有する。 The relay method of the present invention provides a loop detection frame including a specific bit string used for loop detection from a plurality of edge devices connected to an end of a communication network configured by connecting devices having a plurality of transmission / reception ports. The loop detection frame reception procedure to be received, the port ID of the transmission / reception port that has received the loop detection frame, and the transmission edge device ID of the edge device that has transmitted the loop detection frame are identified and associated with each other and recorded. The loop detection frame transfer procedure for transmitting the received loop detection frame from a transmission / reception port different from the transmission / reception port that received the loop detection frame; the port ID recorded in the loop detection frame transfer procedure; and Associating with a plurality of the port IDs in the transmission edge device ID A loop configuration information output procedure for determining whether or not there are a plurality of recorded transmission edge device IDs and outputting a message indicating that a loop is configured when it is determined that there are a plurality of transmission edge device IDs; , In order.

ループ検知用フレーム受信手順及びループ検知用フレーム転送手順を有することで、中継装置は、ループを構成する中継装置の1つか否かを判定することができる。通信ネットワークの中継装置が本発明に係る中継方法を実行することで、ループを構成する装置を特定することができる。したがって、本願発明の中継方法は、ループを構成する装置を特定することができる。   By having the loop detection frame receiving procedure and the loop detection frame transfer procedure, the relay device can determine whether or not one of the relay devices is included in the loop. When the relay device of the communication network executes the relay method according to the present invention, it is possible to identify the devices constituting the loop. Therefore, the relay method of the present invention can specify the devices that constitute the loop.

発明により、中継装置は、ループを構成する中継装置の1つか否かを判定することができる。ループを構成している旨を出力した中継装置の接続関係を得ることで、ループの形状を特定することができる。 According to the present invention, the relay device can determine whether one of the relay devices constituting the loop is used. The shape of the loop can be specified by obtaining the connection relationship of the relay devices that output that the loop is configured.

本願発明の中継方法では、前記ループ検知用フレーム転送手順において記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限するループ解消手順を、前記ループ構成情報出力手順の後にさらに有してもよい。
本発明により、ループを解消することができる。
In the relay method of the present invention, recording is performed in association with the transmission edge device ID recorded in association with the plurality of port IDs among the port ID and the transmission edge device ID recorded in the loop detection frame transfer procedure. For any one of the transmission / reception ports having the port ID, a loop elimination procedure for restricting transmission / reception may be further provided after the loop configuration information output procedure.
According to the present invention, the loop can be eliminated.

なお、上記各発明は、可能な限り組み合わせることができる。   The above inventions can be combined as much as possible.

本発明によれば、ループを構成する装置の特定が可能なループ検出システム、ループ検出方法、中継装置及び中継方法を提供することができる。   According to the present invention, it is possible to provide a loop detection system, a loop detection method, a relay device, and a relay method capable of specifying a device constituting a loop.

実施形態1に係るループ検出システムの一例を示す。An example of the loop detection system which concerns on Embodiment 1 is shown. 実施形態1に係るループ検出方法の一例を示すフローチャートである。3 is a flowchart illustrating an example of a loop detection method according to the first embodiment. ループ検出原理の説明図であり、(a)はエッジ装置1021からループ検知用フレームを送信した場合のループ検知用フレームの経路を示し、(b)はエッジ装置1021からループ検知用フレームを送信した場合にループ検知用フレームを受信する送受信ポートを示し、(c)はエッジ装置1022からループ検知用フレームを送信した場合のループ検知用フレームの経路及びループ検知用フレームを受信する送受信ポートを示し、(d)はループを形成している中継装置を示す。It is explanatory drawing of a loop detection principle, (a) shows the path | route of the loop detection frame at the time of transmitting the loop detection frame from the edge apparatus 1021, (b) transmitted the loop detection frame from the edge apparatus 1021. Shows a transmission / reception port for receiving a loop detection frame, and (c) shows a loop detection frame path and a transmission / reception port for receiving the loop detection frame when a loop detection frame is transmitted from the edge device 1022. (D) shows a relay device forming a loop. エッジ装置の具体例を示す。A specific example of the edge device will be shown. 中継装置の具体例を示す。A specific example of the relay device is shown. 実施形態1に係る中継方法の一例を示すフローチャートである。3 is a flowchart illustrating an example of a relay method according to the first embodiment. 中継装置のより具体的な構成を示す。A more specific configuration of the relay device is shown. 実施形態2に係る中継方法の一例を示すフローチャートである。10 is a flowchart illustrating an example of a relay method according to the second embodiment. ループが生じていない場合のループ情報記録テーブルの一例を示す。An example of a loop information recording table when no loop has occurred is shown. ループが生じている場合のループ情報記録テーブルの一例を示す。An example of a loop information recording table when a loop has occurred is shown. 実施形態3に係るループ検出システムの一例を示す構成図である。It is a block diagram which shows an example of the loop detection system which concerns on Embodiment 3. 実施形態4に係るループ検出システムの一例を示す構成図である。It is a block diagram which shows an example of the loop detection system which concerns on Embodiment 4. 実施形態5に係るL2ネットワークの構成を示す図である。It is a figure which shows the structure of the L2 network which concerns on Embodiment 5. FIG. 実施形態6に係るL2ネットワークの構成を示す図である。It is a figure which shows the structure of the L2 network which concerns on Embodiment 6. FIG. 実施形態6においてループが生じている場合のループ情報記録テーブルの一例を示す。An example of a loop information recording table when a loop has occurred in the sixth embodiment is shown. 実施形態7に係るループ検出方法の一例を示すフローチャートである。18 is a flowchart illustrating an example of a loop detection method according to the seventh embodiment. 実施形態7に係るループ情報記録テーブルの一例である。18 is an example of a loop information recording table according to the seventh embodiment.

添付の図面を参照して本発明の実施形態を説明する。以下に説明する実施形態は本発明の実施例であり、本発明は、以下の実施形態に制限されるものではない。なお、本明細書及び図面において符号が同じ構成要素は、相互に同一のものを示すものとする。   Embodiments of the present invention will be described with reference to the accompanying drawings. The embodiments described below are examples of the present invention, and the present invention is not limited to the following embodiments. In the present specification and drawings, the same reference numerals denote the same components.

(実施形態1)
図1に、実施形態1に係るループ検出システムの一例を示す。実施形態1に係るループ検出システムは、複数のエッジ装置1021,1022と、複数の中継装置1031,1032,1033,1034,1035,1036と、を備える。複数のエッジ装置1021,1022及び複数の中継装置1031,1032,1033,1034,1035,1036は、複数の送受信ポートを有し、L2ネットワーク101を構成する。中継装置1032〜1035がループ状に接続されている。
(Embodiment 1)
FIG. 1 shows an example of a loop detection system according to the first embodiment. The loop detection system according to the first embodiment includes a plurality of edge devices 1021, 1022 and a plurality of relay devices 1031, 1032, 1033, 1034, 1035, 1036. The plurality of edge devices 1021 and 1022 and the plurality of relay devices 1031, 1032, 1033, 1034, 1035, and 1036 have a plurality of transmission / reception ports and constitute the L2 network 101. Relay devices 1032 to 1035 are connected in a loop.

実施形態1に係るループ検出システムは、実施形態1に係るループ検出方法を実行する。図2は、実施形態1に係るループ検出方法の一例を示すフローチャートである。実施形態1に係るループ検出方法は、送信手順S101と、中継手順S102と、特定手順S103と、ループ解消手順S104と、を順に有する。   The loop detection system according to the first embodiment executes the loop detection method according to the first embodiment. FIG. 2 is a flowchart illustrating an example of the loop detection method according to the first embodiment. The loop detection method according to the first embodiment includes a transmission procedure S101, a relay procedure S102, a specific procedure S103, and a loop elimination procedure S104 in order.

送信手順S101では、複数のエッジ装置1021,1022が、ループ検知用フレームを複数のエッジ装置1021,1022に向けて送信する。ここで、ループ検知用フレームは、ループ検知に用いる特定のビット列を含んだフレームである。特定のビット列は、例えば、フレームのデータ領域に含まれる。また、ループ検知用フレームには、フレームを送信するエッジ装置1021,1022のIDが含まれる。   In the transmission procedure S101, the plurality of edge devices 1021 and 1022 transmit the loop detection frame toward the plurality of edge devices 1021 and 1022. Here, the loop detection frame is a frame including a specific bit string used for loop detection. The specific bit string is included in the data area of the frame, for example. The loop detection frame includes IDs of the edge devices 1021 and 1022 that transmit the frame.

中継手順S102では、中継装置1031,1032,1033,1034,1035,1036が、ループ検知用フレームを受信する。このとき、ループ検知用フレームを受信した送受信ポートのポートIDを取得する。そして、中継装置1031,1032,1033,1034,1035,1036が、取得したポートID及び送信エッジ装置IDを識別して互いに関連付けて記録する。ここで、送信エッジ装置IDは、ループ検知用フレームを送信したエッジ装置1021,1022の識別情報であり、ループ検知用フレームから取得することができる。   In the relay procedure S102, the relay devices 1031, 1032, 1033, 1034, 1035, and 1036 receive the loop detection frame. At this time, the port ID of the transmission / reception port that has received the loop detection frame is acquired. Then, the relay devices 1031, 1032, 1033, 1034, 1035, and 1036 identify the acquired port ID and transmission edge device ID and record them in association with each other. Here, the transmission edge device ID is identification information of the edge devices 1021 and 1022 that transmitted the loop detection frame, and can be obtained from the loop detection frame.

また、中継手順S102では、中継装置1031,1032,1033,1034,1035,1036が、ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートからループ検知用フレームを送信する。   In the relay procedure S102, the relay apparatuses 1031, 1032, 1033, 1034, 1035, and 1036 transmit the loop detection frame from a transmission / reception port different from the transmission / reception port that received the loop detection frame.

ここで、中継装置1031,1032,1033,1034,1035,1036は、ループ検知用フレームに含まれている特定のビット列を検出して識別する。これにより、中継装置1031,1032,1033,1034,1035,1036は、種々のフレームのなかからループ検知用フレームを選択的に受信することができる。送信エッジ装置IDは、例えばループ検知用フレームのヘッダの送信元アドレスである。このとき、中継装置1031,1032,1033,1034,1035,1036は、ポートID及び送信エッジ装置IDを互いに関連付けて記録する。   Here, the relay apparatuses 1031, 1032, 1033, 1034, 1035, and 1036 detect and identify a specific bit string included in the loop detection frame. Thereby, the relay apparatuses 1031, 1032, 1033, 1034, 1035, and 1036 can selectively receive the loop detection frame from various frames. The transmission edge device ID is, for example, a transmission source address of a header of a loop detection frame. At this time, the relay apparatuses 1031, 1032, 1033, 1034, 1035, and 1036 record the port ID and the transmission edge apparatus ID in association with each other.

特定手順S103では、中継装置1031,1032,1033,1034,1035,1036が、中継手順S102で記録したポートID及び送信エッジ装置IDのうちの複数のポートIDと関連付けて記録されている送信エッジ装置IDが複数であった中継装置1032,1033,1034,1035を特定する。これにより、抽出したループ検知用フレームの送信エッジ装置IDが複数であった中継装置1032,1033,1034,1035を特定することができる。   In the specific procedure S103, the relay devices 1031, 1032, 1033, 1034, 1035, and 1036 are recorded in association with a plurality of port IDs among the port ID and the transmission edge device ID recorded in the relay procedure S102. The relay apparatuses 1032, 1033, 1034, and 1035 having a plurality of IDs are identified. Thereby, it is possible to identify the relay apparatuses 1032, 1033, 1034, and 1035 in which the extracted transmission edge apparatus IDs of the loop detection frame are plural.

ループ解消手順S104では、特定手順S103において特定した中継装置1032,1033,1034,1035のうちの1つの中継装置が有する送受信ポートでありかつ同一の送信エッジ装置IDと関連付けて記録されているポートIDを有する送受信ポートのいずれかについて、送受信を制限する。これにより、ループを解消することができる。   In the loop elimination procedure S104, a port ID that is a transmission / reception port of one relay device among the relay devices 1032, 1033, 1034, and 1035 specified in the specification procedure S103 and is recorded in association with the same transmission edge device ID. Transmission / reception is restricted for any of the transmission / reception ports having Thereby, a loop can be eliminated.

例えば、ループ解消手順S104では、ポート閉塞手順、送受信停止手順又は受信流量制限手順を実行する。ポート閉塞手順を実行する場合、ポートを閉塞することで送受信を制限する。   For example, in the loop elimination procedure S104, a port blocking procedure, a transmission / reception stop procedure, or a reception flow rate restriction procedure is executed. When executing the port blocking procedure, sending and receiving is restricted by blocking the port.

送受信停止手順を実行する場合、フレームの送受信を論理的に停止することで送受信を制限する。これにより、ループを解消することができる。ここで、フレームの送受信を論理的に停止するため、ループの発生していない論理ネットワークのフレームの送受信を継続することができる。このため、通信ネットワークの帯域を有効利用することができる。   When the transmission / reception stop procedure is executed, transmission / reception is limited by logically stopping transmission / reception of frames. Thereby, a loop can be eliminated. Here, since the transmission / reception of the frame is logically stopped, the transmission / reception of the frame of the logical network in which no loop is generated can be continued. For this reason, it is possible to effectively use the bandwidth of the communication network.

送受信流量制限手順を実行する場合、フレームの送受信流量を制限することで送受信を制限する。これにより、ループの影響を軽減することができる。ここで、フレームの送受信流量を制限するため、通信を完全に遮断することがない。このため、通信を継続しつつ、ループの影響を軽減することができる。   When the transmission / reception flow rate restriction procedure is executed, transmission / reception is restricted by restricting the frame transmission / reception flow rate. Thereby, the influence of a loop can be reduced. Here, since the transmission / reception flow rate of the frame is limited, communication is not completely blocked. For this reason, it is possible to reduce the influence of the loop while continuing the communication.

ループ検出原理について図3を用いて説明する。図3は、ループ検出原理の説明図であり、(a)はエッジ装置1021からループ検知用フレームを送信した場合のループ検知用フレームの経路を示し、(b)はエッジ装置1021からループ検知用フレームを送信した場合にループ検知用フレームを受信する送受信ポートを示し、(c)はエッジ装置1022からループ検知用フレームを送信した場合のループ検知用フレームの経路及びループ検知用フレームを受信する送受信ポートを示し、(d)はループを形成している中継装置を示す。   The principle of loop detection will be described with reference to FIG. 3A and 3B are explanatory diagrams of the principle of loop detection. FIG. 3A shows the path of the loop detection frame when a loop detection frame is transmitted from the edge device 1021, and FIG. 3B shows the loop detection frame from the edge device 1021. A transmission / reception port for receiving a loop detection frame when a frame is transmitted is shown. (C) is a transmission / reception for receiving a loop detection frame path and a loop detection frame when a loop detection frame is transmitted from the edge device 1022. Ports are shown, and (d) shows relay devices forming a loop.

図3(a)の実線矢印に示すように、エッジ装置1021からループ検知用フレームをマルチキャストもしくはブロードキャストにて送信すると、同図の点線矢印のように、中継装置1031、1032、1033、1035、1036又は1031、1032、1034、1035、1036と経由して対向のエッジ装置1022に到達するフレームと、中継装置1031、1032、1033、1035、1034、1032、1031又は1031、1032、1034、1035、1033、1032、1031と経由してループ検知用フレームの送信を行ったエッジ装置1021に到達するフレームが存在する。   When a loop detection frame is transmitted from the edge device 1021 by multicast or broadcast as indicated by a solid arrow in FIG. 3A, the relay devices 1031, 1032, 1033, 1035, 1036 are transmitted as indicated by the dotted arrow in FIG. Or a frame that reaches the opposite edge device 1022 via 1031, 1032, 1034, 1035, 1036, and a relay device 1031, 1032, 1033, 1035, 1034, 1032, 1031, or 1031, 1032, 1034, 1035, 1033 1032 and 1031, there is a frame that reaches the edge device 1021 that has transmitted the loop detection frame.

それぞれの場合において、ループを構成する中継装置1031〜1034を複数回経由するフレームも存在する。このとき、中継装置において、ループ検知用フレームを受信した送受信ポートを記録すると、図3(b)のように網掛けした中継装置1031、1032、1033、1034、1035が複数の送受信ポートからループ検知用フレームを受信しており、これらの中継装置がループを形成する装置の候補となる。   In each case, there is also a frame that passes through the relay devices 1031 to 1034 constituting the loop a plurality of times. At this time, when the transmission / reception port that has received the loop detection frame is recorded in the relay device, the relay devices 1031, 1032, 1033, 1034, and 1035 shaded as shown in FIG. These relay devices are candidates for devices that form a loop.

さらに、対向のエッジ装置1022からも同様にループ検知用フレームを送信すると、複数ポートでループ検知用フレームを受信した装置が図3(c)に示すように、中継装置1032、1033、1034、1035、1036となる。図3(b)で網がけした中継装置と図3(c)で網がけした中継装置を記録上で比較することで、図3(d)のように、両方の場合に複数のポートからループ検知用フレームを受信した装置がループを形成する装置と言うことが判明する。   Further, when a loop detection frame is transmitted from the opposite edge device 1022 in the same manner, the device that has received the loop detection frame at a plurality of ports, as shown in FIG. 3C, relay devices 1032, 1033, 1034, 1035. 1036. By comparing the relay device networked in FIG. 3 (b) and the relay device networked in FIG. 3 (c) on a record, loops from a plurality of ports in both cases as shown in FIG. 3 (d). It turns out that the device that received the detection frame is the device that forms the loop.

エッジ装置1021,1022がループを構成する装置の一部であった場合は、エッジ装置1021,1022が中継装置1031,1032,1033,1034,1035,1036の機能を兼ねることにより、ループの形状を判別することが可能である。   If the edge devices 1021 and 1022 are a part of the devices constituting the loop, the edge devices 1021 and 1022 function as the relay devices 1031, 1032, 1033, 1034, 1035, and 1036, so that the shape of the loop is changed. It is possible to determine.

以上、実施形態1に係るループ検出システムを用い、実施形態1に係るループ検出方法を実行することで、ループを検知する機能を持たないエッジ装置や中継装置と、ハードウェア上の構成を変更することなく、経済的にループを形成する装置がいずれの装置であるか判明させることができる。したがって、ループが発生していないL2ネットワークではネットワークの帯域を最大限に利用し、ループが発生した場合にはループを構成する装置を厳密に特定することができる。   As described above, by using the loop detection system according to the first embodiment and executing the loop detection method according to the first embodiment, the configuration of the hardware and the edge device or relay device that does not have a loop detection function are changed. Without any problem, it is possible to determine which device is economical to form a loop. Therefore, in the L2 network in which no loop has occurred, the bandwidth of the network can be utilized to the maximum, and when a loop has occurred, the devices constituting the loop can be strictly specified.

図4に、エッジ装置の具体例を示す。エッジ装置301は、送受信ポート302と、ループ検知用フレーム生成部303と、ループ検知用フレーム送信部304と、フレーム送受信部305を備える。送受信ポート302は、中継装置の送受信ポートに接続されている。ループ検知用フレーム生成部303は、ループ検知用フレームを生成する。ループ検知用フレーム送信部304は、ループ検知用フレーム生成部303の生成するループ検知用フレームを送信する。フレーム送受信部305は、ループ検知用フレーム以外のフレームを送受信する。   FIG. 4 shows a specific example of the edge device. The edge device 301 includes a transmission / reception port 302, a loop detection frame generation unit 303, a loop detection frame transmission unit 304, and a frame transmission / reception unit 305. The transmission / reception port 302 is connected to the transmission / reception port of the relay apparatus. The loop detection frame generation unit 303 generates a loop detection frame. The loop detection frame transmission unit 304 transmits the loop detection frame generated by the loop detection frame generation unit 303. The frame transmission / reception unit 305 transmits / receives frames other than the loop detection frame.

エッジ装置301は、ループ検知用ではない一般のフレーム送受信はフレーム送受信部305を経由して送受信ポート302より送受信されるが、ループ検知用フレームはループ検知用フレーム送信部304により送信される構成である。このとき、ループ検知用フレームは、当該エッジ装置301から送信されたものであることを示す情報をループ検知用フレーム内部に記載する機能を持つものである。   The edge device 301 is configured to transmit and receive general frames that are not for loop detection from the transmission / reception port 302 via the frame transmission / reception unit 305, but the loop detection frame is transmitted by the loop detection frame transmission unit 304. is there. At this time, the loop detection frame has a function of describing information indicating that it is transmitted from the edge device 301 in the loop detection frame.

上記に記載のエッジ装置301は、単数の送受信ポートを持つ例を示しているが、複数の送受信ポート302を持つ構成でもかまわない。また、複数の送受信ポート302のうち、ループ検知用フレーム生成部303、ループ検知用フレーム送信部304が機能的に備わっていないポートが存在してもかまわない。   The edge device 301 described above shows an example having a single transmission / reception port, but a configuration having a plurality of transmission / reception ports 302 may also be used. Further, among the plurality of transmission / reception ports 302, there may be a port in which the loop detection frame generation unit 303 and the loop detection frame transmission unit 304 are not functionally provided.

図5に、中継装置の具体例を示す。中継装置30は、中継装置受信部31と、中継装置送信部32と、記録部33と、ループ構成装置判断部34と、ループ構成情報出力部35と、送受信ポート36と、送受信ポート37と、を備える。   FIG. 5 shows a specific example of the relay device. The relay device 30 includes a relay device reception unit 31, a relay device transmission unit 32, a recording unit 33, a loop configuration device determination unit 34, a loop configuration information output unit 35, a transmission / reception port 36, a transmission / reception port 37, Is provided.

中継装置30は、実施形態1に係る中継方法を実行する。図6は、実施形態1に係る中継方法の一例を示すフローチャートである。実施形態1に係る中継方法は、ループ検知用フレーム受信手順S131と、ループ検知用フレーム転送手順S132と、ループ構成情報出力手順S133と、ループ解消手順S134と、を順に有する。   The relay device 30 executes the relay method according to the first embodiment. FIG. 6 is a flowchart illustrating an example of the relay method according to the first embodiment. The relay method according to the first embodiment includes a loop detection frame reception procedure S131, a loop detection frame transfer procedure S132, a loop configuration information output procedure S133, and a loop cancellation procedure S134 in this order.

ループ検知用フレーム受信手順S131では、中継装置受信部31が、ループ検知用フレームを受信する。   In the loop detection frame reception procedure S131, the relay device reception unit 31 receives a loop detection frame.

ループ検知用フレーム転送手順S132では、記録部33が、ループ検知用フレームを受信した送受信ポート36のポートID及びループ検知用フレームを送信したエッジ装置1021,1022の送信エッジ装置IDを識別して互いに関連付けて記録する。そして、中継装置送信部32が、中継装置受信部31の受信するループ検知用フレームを、送受信ポート36とは異なる送受信ポート37から送信する。   In the loop detection frame transfer procedure S132, the recording unit 33 identifies the port ID of the transmission / reception port 36 that has received the loop detection frame and the transmission edge device IDs of the edge devices 1021 and 1022 that have transmitted the loop detection frame. Record in association. Then, the relay device transmission unit 32 transmits the loop detection frame received by the relay device reception unit 31 from the transmission / reception port 37 different from the transmission / reception port 36.

ループ構成情報出力手順S133では、ループ構成装置判断部34が、記録部33に記録したポートID及び送信エッジ装置IDのうちの複数のポートIDと関連付けて記録されている送信エッジ装置IDが複数であるか否かを判定する。そして、ループ構成情報出力部35が、ループ構成装置判断部34において抽出した送信エッジ装置IDが複数であると判定した場合、ループを構成している旨を示すループ構成情報を出力する。   In the loop configuration information output procedure S133, the loop configuration device determination unit 34 includes a plurality of transmission edge device IDs recorded in association with a plurality of port IDs of the port ID and transmission edge device ID recorded in the recording unit 33. It is determined whether or not there is. When the loop configuration information output unit 35 determines that there are a plurality of transmission edge device IDs extracted by the loop configuration device determination unit 34, the loop configuration information output unit 35 outputs loop configuration information indicating that a loop is configured.

ループ解消手順S134では、記録部33に記録したポートID及び送信エッジ装置IDのうちの複数のポートIDと関連付けて記録されている送信エッジ装置IDと関連付けて記録されているポートIDを有する送受信ポート36のいずれかについて、送受信を制限する。これにより、ループを解消することができる。   In the loop elimination procedure S134, a transmission / reception port having a port ID recorded in association with a transmission edge device ID recorded in association with a plurality of port IDs among the port ID and transmission edge device ID recorded in the recording unit 33. For any of 36, transmission / reception is restricted. Thereby, a loop can be eliminated.

例えば、ループ解消手順S134では、ポート閉塞手順、送受信停止手順又は送受信流量制限手順を実行する。ポート制御部38が、ポートを制御する旨のポート制御情報を取得する。取得先は、他の中継装置であってもよいし、L2ネットワーク101を管理する制御装置であってもよい。ポート制御部38は、ポート閉塞部、送受信停止部又は送受信量制限部として機能する。ポート制御部38がポート閉塞部として機能する場合、ポート制御部38が、ポート閉塞手順を実行する。この場合、ポート制御部38は、ポートを閉塞することで送受信を制限する。   For example, in the loop elimination procedure S134, a port blocking procedure, a transmission / reception stop procedure, or a transmission / reception flow rate restriction procedure is executed. The port control unit 38 acquires port control information indicating that the port is controlled. The acquisition destination may be another relay device or a control device that manages the L2 network 101. The port control unit 38 functions as a port blocking unit, a transmission / reception stop unit, or a transmission / reception amount limiting unit. When the port control unit 38 functions as a port blocking unit, the port control unit 38 executes a port blocking procedure. In this case, the port control unit 38 restricts transmission / reception by closing the port.

なお、ポート制御部38が送受信停止部として機能する場合、ポート制御部38は送受信停止手順を実行する。この場合、ポート制御部38はフレームの送受信を論理的に停止することで送受信を制限する。これにより、ループを解消することができる。   When the port control unit 38 functions as a transmission / reception stop unit, the port control unit 38 executes a transmission / reception stop procedure. In this case, the port control unit 38 limits transmission / reception by logically stopping transmission / reception of frames. Thereby, a loop can be eliminated.

ポート制御部38が送受信量制限部として機能する場合、ポート制御部38は送受信流量制限手順を実行する。この場合、ポート制御部38はフレームの送受信流量を制限することで送受信を制限する。これにより、ループの影響を軽減することができる。   When the port control unit 38 functions as a transmission / reception amount limiting unit, the port control unit 38 executes a transmission / reception flow rate limiting procedure. In this case, the port control unit 38 limits transmission / reception by limiting the frame transmission / reception flow rate. Thereby, the influence of a loop can be reduced.

本発明は、L2ネットワーク101において、2つ以上のエッジ装置1021,1022からループ検知用フレームを送信し、中継装置1031,1032,1033,1034,1035,1036においてループ検知フレームを受信したポートを記録した後、L2ネットワーク101内において複数のエッジ装置1021,1022からのループ検知用フレームを複数のポートで受信した中継装置1032,1033,1034,1035を検出する。これにより、ループ障害の発生している中継装置1032,1033,1034,1035及びそのループの形状を正確に抽出することが可能となる。この機能は、ハードウェア上で特殊な実装を行う必要がないため、経済的なループ検知が可能なL2ネットワークを実現することができる。   In the present invention, in the L2 network 101, loop detection frames are transmitted from two or more edge devices 1021 and 1022, and the ports where the loop detection frames are received are recorded in the relay devices 1031, 1032, 1033, 1034, 1035 and 1036. After that, the relay devices 1032, 1033, 1034, and 1035 that have received the loop detection frames from the plurality of edge devices 1021 and 1022 at the plurality of ports in the L2 network 101 are detected. As a result, it is possible to accurately extract the relay devices 1032, 1033, 1034, and 1035 in which a loop failure has occurred and the shape of the loop. Since this function does not need to be specially implemented on hardware, an L2 network capable of economical loop detection can be realized.

(実施形態2)
図7に、中継装置のより具体的な構成を示す。中継装置401は、複数の送受信ポート4021〜4024と、それぞれの送受信ポートに接続されるフレーム送受信部403と、ループ検知用フレーム受信部404と、記録テーブル書き込み部405と、ループ情報記録テーブル406と、ループ構成装置判断部407と、ループ構成情報出力部408を備える。
(Embodiment 2)
FIG. 7 shows a more specific configuration of the relay device. The relay apparatus 401 includes a plurality of transmission / reception ports 4021 to 4024, a frame transmission / reception unit 403 connected to each transmission / reception port, a loop detection frame reception unit 404, a recording table writing unit 405, and a loop information recording table 406. A loop configuration device determination unit 407 and a loop configuration information output unit 408.

複数の送受信ポート4021〜4024は、送受信ポート36又は送受信ポート37として機能する。ループ検知用フレーム受信部404は、中継装置受信部31として機能する。記録テーブル書き込み部405及びループ情報記録テーブル406は、記録部33として機能する。ループ構成装置判断部407は、ループ構成装置判断部34として機能する。ループ構成情報出力部408は、ループ構成情報出力部35として機能する。   The plurality of transmission / reception ports 4021 to 4024 function as the transmission / reception port 36 or the transmission / reception port 37. The loop detection frame receiving unit 404 functions as the relay device receiving unit 31. The recording table writing unit 405 and the loop information recording table 406 function as the recording unit 33. The loop constituent device determination unit 407 functions as the loop constituent device determination unit 34. The loop configuration information output unit 408 functions as the loop configuration information output unit 35.

中継装置401の動作について説明する。あるエッジ装置から送信されたループ検知用フレームを各送受信ポート4021〜4024で受信する。フレーム送受信部403にて宛先の送受信ポート向けにフレームを転送もしくは複製する。この際に、ループ検知用フレーム受信部404へ同時に転送し、ループ検知用フレームの送信エッジ装置ID、受信した送受信ポートのポートID及び受信時刻を抽出する。ここで、送信エッジ装置IDは例えば送信エッジ装置IDであり、ポートIDは例えばポートIDである。その後、記録テーブル書き込み部405へ当該情報を伝達し、ループ情報記録テーブル406に書き込みを行う。   The operation of the relay device 401 will be described. A loop detection frame transmitted from a certain edge device is received by each transmission / reception port 4021-4024. The frame transmission / reception unit 403 transfers or copies the frame to the destination transmission / reception port. At this time, the data is simultaneously transferred to the loop detection frame receiving unit 404, and the transmission edge device ID of the loop detection frame, the port ID of the received transmission / reception port, and the reception time are extracted. Here, the transmission edge device ID is, for example, a transmission edge device ID, and the port ID is, for example, a port ID. Thereafter, the information is transmitted to the recording table writing unit 405, and writing is performed in the loop information recording table 406.

ループ構成装置判断部407は、ループ情報記録テーブル406の情報を基に、あるエッジ装置から送信されたループ検知用フレームを複数の送受信ポートにて受信している状態が、複数のエッジ装置からのループ検知用フレームで発生している場合、本中継装置がループを構成していると判断する。この場合、ループ構成情報出力部408より当該中継装置がループを構成しているというループ構成情報を出力する。   Based on the information in the loop information recording table 406, the loop constituent device determination unit 407 indicates that a state in which a loop detection frame transmitted from a certain edge device is received at a plurality of transmission / reception ports from a plurality of edge devices. When the error occurs in the loop detection frame, it is determined that the relay apparatus forms a loop. In this case, the loop configuration information output unit 408 outputs loop configuration information indicating that the relay apparatus forms a loop.

上記に記載の中継装置401は、4つの送受信ポート4021、4022、4023、4024と、フレーム送受信部403と、を備える例を示しているが、この数については特に限定されるものでは無い。   Although the relay apparatus 401 described above includes four transmission / reception ports 4021, 4022, 4023, and 4024 and a frame transmission / reception unit 403, the number is not particularly limited.

さらに、実施形態1に係るエッジ装置の機能と中継装置の機能が単一の装置内に存在することもかまわない。図8は、実施形態2に係る中継方法の一例を示すフローチャートである。実施形態2に係る中継方法の一例では、中継装置401におけるループを構成する装置であるか否かを判断することを特徴とする。   Furthermore, the function of the edge device and the function of the relay device according to the first embodiment may exist in a single device. FIG. 8 is a flowchart illustrating an example of the relay method according to the second embodiment. An example of the relay method according to the second embodiment is characterized in that it is determined whether or not the relay device 401 is a device constituting a loop.

手順S111は、実施形態1で説明したループ検知用フレーム受信手順S131において実行する。手順S112、手順S113、手順S114、手順S115及び手順S116は、実施形態1で説明したループ検知用フレーム転送手順S132において実行する。手順S117、手順S118及び手順S119は、実施形態1で説明したループ構成情報出力手順S133において実行する。   The procedure S111 is executed in the loop detection frame receiving procedure S131 described in the first embodiment. Step S112, step S113, step S114, step S115, and step S116 are executed in the loop detection frame transfer step S132 described in the first embodiment. Step S117, step S118, and step S119 are executed in the loop configuration information output step S133 described in the first embodiment.

手順S111では、ループ検知用フレーム受信部404が、ループ検知用フレームを受信する。手順S112では、ループ検知用フレーム受信部404が、ループ検知用フレームを受信した際に、ループ検知用フレームから、そのフレームを送信した送信エッジ装置ID、受信したポートID、受信時刻を抽出する。手順S113では、記録テーブル書き込み部405が、送信エッジ装置ID、ポートID及び受信時刻を、ループ情報記録テーブル406に記録する。このとき、手順S114を実行する。   In step S111, the loop detection frame receiving unit 404 receives a loop detection frame. In step S112, when the loop detection frame receiving unit 404 receives the loop detection frame, the loop detection frame extraction unit extracts the transmission edge device ID that transmitted the frame, the received port ID, and the reception time from the loop detection frame. In step S113, the recording table writing unit 405 records the transmission edge device ID, the port ID, and the reception time in the loop information recording table 406. At this time, step S114 is executed.

手順S114では、2つ以上の送受信ポートにてループ検知用フレームを受信したか否かを判定する。受信した場合は手順S115に移行し、受信しなかった場合は手順116に移行する。手順S115では、記録テーブル書き込み部405が、ループ情報記録テーブルの複数ポート受信フラグに「1」を書き込み、手順S117に移行する。手順S116では、記録テーブル書き込み部405が、ループ情報記録テーブルの複数ポート受信フラグに「0」を書き込み、手順S111に移行する。   In step S114, it is determined whether or not a loop detection frame is received by two or more transmission / reception ports. If received, the process proceeds to step S115. If not received, the process proceeds to step 116. In step S115, the recording table writing unit 405 writes “1” in the multi-port reception flag of the loop information recording table, and proceeds to step S117. In step S116, the recording table writing unit 405 writes “0” in the multi-port reception flag of the loop information recording table, and proceeds to step S111.

図9に、ループが生じていない場合のループ情報記録テーブルの一例を示す。図10に、ループが生じている場合のループ情報記録テーブルの一例を示す。例えば、ループが発生していない場合には、図9に示すように、全ての送信エッジ装置IDにて複数ポート受信フラグは「0」が記録されている。しかしながら、ループが発生している場合には、図10に示すように、いずれかの送信エッジ装置IDで、複数ポート受信フラグが「1」になる個所があらわれる。   FIG. 9 shows an example of a loop information recording table when no loop has occurred. FIG. 10 shows an example of a loop information recording table when a loop has occurred. For example, when no loop has occurred, as shown in FIG. 9, “0” is recorded in the multi-port reception flag in all the transmission edge device IDs. However, when a loop has occurred, as shown in FIG. 10, there is a portion where the multi-port reception flag is “1” in any transmission edge device ID.

手順S117では、ループ構成装置判断部407が、他のエッジ装置IDで複数ポート受信フラグが「1」になっているものがあるか否かを判定する。ある場合は手順S118に移行し、ない場合は手順S111に移行する。手順S118では、ループ構成装置判断部407が、ループを構成する装置であると判断する。手順S119では、ループ構成情報出力部408が、ループ構成情報を出力する。   In step S117, the loop constituent device determination unit 407 determines whether there is another edge device ID for which the multiple port reception flag is “1”. If there is, the process proceeds to step S118, and if not, the process proceeds to step S111. In step S118, the loop constituent device determination unit 407 determines that the device constitutes a loop. In step S119, the loop configuration information output unit 408 outputs loop configuration information.

例えば、図10に示すように、複数ポート受信フラグが「1」となっている個所が複数存在する場合には、ループを構成する装置であると判断し、ループ構成情報を出力する。上記の例のようにして、ループを構成している装置であるか否かを判断することが出来る。   For example, as shown in FIG. 10, when there are a plurality of locations where the multi-port reception flag is “1”, it is determined that the device constitutes a loop, and loop configuration information is output. As in the above example, it is possible to determine whether or not the device constitutes a loop.

(実施形態3)
図11は、実施形態3に係るループ検出システムの一例を示す構成図である。本実施形態に係るL2ネットワーク801は、ループ検知用フレームを送信する手段を持つエッジ装置8021および8022と、ループ検知用フレームを受信した際に受信したポートを識別し装置内にて送受信ポートを記録する機能を持つ中継装置8031〜8036を備える。
(Embodiment 3)
FIG. 11 is a configuration diagram illustrating an example of a loop detection system according to the third embodiment. The L2 network 801 according to the present embodiment identifies edge devices 8021 and 8022 having means for transmitting a loop detection frame, and a port received when the loop detection frame is received, and records transmission / reception ports in the device. Relay devices 8031 to 8036 having the function of

実施形態1の方法を用いてループの形状を正確に抽出した後、ループの影響を排除するため、ループを構成する中継装置8032〜8035のうち、任意の一つのポート804を閉塞することで、ループ状態を解消する。任意の一つのポートは、ループを構成する中継装置において、実施形態2において記録した送受信ポートのうち、複数のエッジ装置からのループ検知用フレームを受信したポートから選択する。選択方法は乱数を用いる、L2ネットワーク801の管理者が選択する、あらかじめ優先的に閉塞するポートを設定しておく等の方法が考えられる。   After accurately extracting the shape of the loop using the method of the first embodiment, in order to eliminate the influence of the loop, by blocking any one port 804 among the relay devices 8032 to 8035 constituting the loop, Cancel the loop condition. One arbitrary port is selected from the ports that have received the loop detection frames from the plurality of edge devices among the transmission / reception ports recorded in the second embodiment in the relay device constituting the loop. As the selection method, a random number, a method selected by an administrator of the L2 network 801, a port that is preferentially blocked, or the like is conceivable.

(実施形態4)
図12は、実施形態4に係るループ検出システムの一例を示す構成図である。本実施形態に係るL2ネットワーク901は、ループ検知用フレームを送信する手段を持つエッジ装置9021および9022と、ループ検知用フレームを受信した際に受信したポートを識別し装置内にて送受信ポートを記録する機能を持つ中継装置9031〜9036を備える。
(Embodiment 4)
FIG. 12 is a configuration diagram illustrating an example of a loop detection system according to the fourth embodiment. The L2 network 901 according to the present embodiment identifies edge devices 9021 and 9022 having means for transmitting a loop detection frame, and a port received when the loop detection frame is received, and records transmission / reception ports in the device. Relay devices 9031 to 9036 having the function of

実施形態1の方法を用いてループの形状を正確に抽出した後、ループの影響を排除するため、ループを構成する中継装置9032〜9035のうち、任意の一つのポート904のフレームの送受信を停止することで、ループ状態を解消する。任意の一つのポートは、ループを構成する中継装置において、実施形態2において記録した送受信ポートのうち、複数のエッジ装置からのループ検知用フレームを受信したポートから選択する。選択方法は乱数を用いる、L2ネットワーク901の管理者が選択する、あらかじめ優先的に閉塞するポートを設定しておく等の方法が考えられる。   After accurately extracting the loop shape using the method of the first embodiment, in order to eliminate the influence of the loop, frame transmission / reception of any one port 904 among the relay devices 9032 to 9035 constituting the loop is stopped. By doing so, the loop state is canceled. One arbitrary port is selected from the ports that have received the loop detection frames from the plurality of edge devices among the transmission / reception ports recorded in the second embodiment in the relay device constituting the loop. As a selection method, a random number, a method selected by an administrator of the L2 network 901, a port that is preferentially blocked, or the like is conceivable.

本方法における実施形態3との大きな違いとして、L2ネットワーク901を構築する際に用いられることがあるVLAN(Virtual Local Area Network)の設定がある場合、VLANの設定の仕方により、あるVLANはループが発生しているがあるVLANはループが発生していないというケースが存在する。そのときにループが発生しているVLANのフレームの送受信のみを論理的に停止することで、ポートを閉塞する場合と異なり、ループのないVLANのフレームの送受信は継続しつつ、ループの影響を排除することができるようになる。   A major difference between this method and the third embodiment is that when there is a VLAN (Virtual Local Area Network) setting that may be used when constructing the L2 network 901, a certain VLAN has a loop depending on how the VLAN is set. There is a case where a VLAN that has occurred does not have a loop. Unlike the case where the port is blocked by logically stopping only the transmission / reception of the VLAN frame in which a loop has occurred at that time, the influence of the loop is eliminated while the transmission / reception of the VLAN frame without the loop continues. Will be able to.

(実施形態5)
図13は、実施形態5に係るL2ネットワークの構成を示す図である。本実施形態に係るL2ネットワーク1001は、ループ検知用フレームを送信する手段を持つエッジ装置10021および10022と、ループ検知用フレームを受信した際に受信したポートを識別し装置内にて送受信ポートを記録する機能を持つ中継装置10031〜10036を備える。
(Embodiment 5)
FIG. 13 is a diagram illustrating a configuration of an L2 network according to the fifth embodiment. The L2 network 1001 according to the present embodiment identifies edge devices 10021 and 10022 having means for transmitting a loop detection frame, and a port received when the loop detection frame is received, and records transmission / reception ports in the device. Relay devices 10031 to 10036 having the function of

実施形態1の方法を用いてループの形状を正確に抽出した後、ループの影響を軽減するため、ループを構成する中継装置10032〜10035のうち、任意の一つのポート1004のフレームの送受信を行う帯域を制限することで実現する。任意の一つのポートは、ループを構成する中継装置において、実施形態1において作成した送受信ポート記録のうち、複数のエッジ装置からのループ検知用フレームを受信したポートから選択する。選択方法は乱数を用いる、L2ネットワーク1001の管理者が選択する、あらかじめ優先的に閉塞するポートを設定しておく等の方法が考えられる。   After accurately extracting the shape of the loop using the method of the first embodiment, in order to reduce the influence of the loop, the frame of any one port 1004 among the relay devices 10032 to 10033 constituting the loop is transmitted / received. This is achieved by limiting the bandwidth. One arbitrary port is selected from the ports that have received the loop detection frames from the plurality of edge devices in the transmission / reception port records created in the first embodiment in the relay device constituting the loop. As the selection method, a random number, a method selected by the administrator of the L2 network 1001, a port preferentially blocked, etc. are conceivable.

本実施形態では、通信を完全に遮断することがない。このため、誤検出や誤設定によるループの誤検知が発生した場合であっても、通信を完全に遮断することなく、通信を継続することが可能である。   In the present embodiment, communication is not completely blocked. For this reason, even when a false detection of a loop due to an erroneous detection or an erroneous setting occurs, the communication can be continued without completely interrupting the communication.

(実施形態6)
図14は、実施形態6に係るL2ネットワークの構成を示す図である。本実施形態に係るL2ネットワーク1101は、ループ検知用フレームを送信する手段を持つエッジ装置11021〜11023と、ループ検知用フレームを受信した際に受信したポートを識別し装置内にて送受信ポートを記録する機能を持つ中継装置11031〜11036を備える。
(Embodiment 6)
FIG. 14 is a diagram illustrating a configuration of an L2 network according to the sixth embodiment. The L2 network 1101 according to the present embodiment identifies edge devices 11021 to 11023 having means for transmitting a loop detection frame, and a port received when the loop detection frame is received, and records transmission / reception ports in the device. Relay devices 11031 to 11036 having the function of

図15は、実施形態6に係るループ情報記録テーブルの一例である。実施形態1の方法を用いて、エッジ装置11021および11023からループ検知用フレームを送信し、複数の送受信ポートで受信した中継装置をループを構成する中継装置であると判断した場合、中継装置11031は、ループを構成していないにもかかわらずループを構成している装置であると判断されてしまう。そのため、マルチポイントにエッジ装置の存在する1101のようなL2ネットワークについては、L2ネットワークに存在する全てのエッジ装置からループ検知用フレームを送信し、全てのループ検知用フレームを複数の送受信ポートで受信した中継装置をループを構成する中継装置であると判断することで、ループ形状を正確に検出することができる。この方法により、ループ形状の検出の精度をより高めることが可能である。   FIG. 15 is an example of a loop information recording table according to the sixth embodiment. When the method of the first embodiment is used to transmit a loop detection frame from the edge devices 11021 and 11023 and it is determined that the relay device received at a plurality of transmission / reception ports is a relay device constituting the loop, the relay device 11031 Therefore, it is determined that the device is configured as a loop even though the loop is not configured. Therefore, for an L2 network such as 1101 in which edge devices exist at multiple points, loop detection frames are transmitted from all edge devices existing in the L2 network, and all loop detection frames are received by a plurality of transmission / reception ports. It is possible to accurately detect the loop shape by determining that the relay device is a relay device constituting a loop. By this method, it is possible to further improve the accuracy of detecting the loop shape.

ループ情報記録テーブルでは、図15に示すように、全ての送信エッジ装置IDにて複数ポート受信フラグが1となっている場合について、ループを構成していると判断することとなり、図10に示すように、複数ポート受信フラグが1となっていない送信エッジ装置IDがある場合には、ループを構成しているとは判断しないこととなる。   In the loop information recording table, as shown in FIG. 15, it is determined that a loop is formed when the multiple port reception flag is 1 in all transmission edge device IDs. Thus, when there is a transmission edge device ID whose multi-port reception flag is not 1, it is not determined that a loop is configured.

(実施形態7)
実施形態7に係るループ検出システムは、同一送信エッジ装置IDかつ同一ポートIDの情報について、過去に受信した情報と、新しく受信した情報の間に、同一送信エッジ装置IDかつ異なるポートIDの情報が記録されている場合には、複数ポート受信フラグに対して1を書き込むことを特徴とする。図16に、実施形態7に係るループ検出方法の一例を示すフローチャートを示す。
(Embodiment 7)
In the loop detection system according to the seventh embodiment, for the information of the same transmission edge device ID and the same port ID, the information of the same transmission edge device ID and different port IDs is present between the previously received information and the newly received information. If it is recorded, 1 is written to the multi-port reception flag. FIG. 16 is a flowchart illustrating an example of a loop detection method according to the seventh embodiment.

手順S1111は、実施形態1で説明したループ検知用フレーム受信手順S131において実行する。手順S1112、手順S1113、手順S1114、手順S1115、手順S1116及び手順S1117は、実施形態1で説明したループ検知用フレーム転送手順S132において実行する。手順S1118、手順S1119及び手順S1120は、実施形態1で説明したループ構成情報出力手順S133において実行する。   The procedure S1111 is executed in the loop detection frame receiving procedure S131 described in the first embodiment. Step S1112, step S1113, step S1114, step S1115, step S1116, and step S1117 are executed in the loop detection frame transfer step S132 described in the first embodiment. Step S1118, step S1119, and step S1120 are executed in the loop configuration information output step S133 described in the first embodiment.

手順S1111では、ループ検知用フレームを受信する。手順S1112では、送信エッジ装置ID、ポートID及び受信時刻を抽出する。手順S1113では、ループ情報記録テーブルに送信エッジ装置ID、ポートID及び受信時刻を書き込む。図17に、実施形態7に係るループ情報記録テーブルの一例を示す。   In step S1111, a loop detection frame is received. In step S1112, the transmission edge device ID, the port ID, and the reception time are extracted. In step S1113, the transmission edge device ID, the port ID, and the reception time are written in the loop information recording table. FIG. 17 shows an example of a loop information recording table according to the seventh embodiment.

手順S1114では、ループ情報記録テーブルを参照し、2つ以上の送受信ポートにてループ検知用フレームを受信したか否かを判定する。2つ以上の送受信ポートにてループ検知用フレームを受信した場合は手順S1115へ移行し、2つ以上の送受信ポートにてループ検知用フレームを受信しなかった場合は手順S1116へ移行する。   In step S1114, the loop information recording table is referred to and it is determined whether or not a loop detection frame is received by two or more transmission / reception ports. If a loop detection frame is received at two or more transmission / reception ports, the process proceeds to step S1115. If a loop detection frame is not received at two or more transmission / reception ports, the process proceeds to step S1116.

手順S1115では、ループ情報記録テーブルを参照し、同一送信エッジ装置IDかつ同一ポートIDの受信時刻から今回の受信時刻の間に、同一送信エッジ装置IDかつ異ポートIDの受信記録があるか否かを判定する。受信記録がある場合は手順S1117へ移行し、受信記録がない場合は手順S1116へ移行する。例えば、図17に示すループ情報記録テーブルでは、送信エッジ装置ID1かつポートID4021の受信時刻1:00から受信時刻7:00の間に、送信エッジ装置ID1かつポートID4023の受信記録がある。この場合、手順S1117へ移行する。   In step S1115, with reference to the loop information recording table, whether there is a reception record of the same transmission edge device ID and different port ID between the reception time of the same transmission edge device ID and the same port ID and the current reception time. Determine. If there is a reception record, the process proceeds to step S1117. If there is no reception record, the process proceeds to step S1116. For example, in the loop information recording table shown in FIG. 17, there is a reception record of the transmission edge device ID1 and the port ID 4023 between the reception time 1:00 of the transmission edge device ID1 and the port ID 4021 and the reception time 7:00. In this case, the process proceeds to step S1117.

手順S1116では、ループ情報記録テーブルの複数ポート受信フラグに「0」を書き込み、手順S1111に移行する。手順S1117では、ループ情報記録テーブルの複数ポート受信フラグに「1」を書き込み、手順S1118に移行する。   In step S1116, “0” is written in the multi-port reception flag of the loop information recording table, and the process proceeds to step S1111. In step S1117, “1” is written in the multi-port reception flag of the loop information recording table, and the process proceeds to step S1118.

手順S1118では、他の送信エッジ装置IDで複数ポート受信フラグが「1」になっているものがあるか否かを判定する。あれば手順S1119に移行し、なければ手順S1111に移行する。手順S1119では、ループを構成する装置であると判断する。手順S1120では、ループ構成情報を出力する。   In step S <b> 1118, it is determined whether there is another transmission edge device ID in which the multi-port reception flag is “1”. If there is, the process proceeds to step S1119, and if not, the process proceeds to step S1111. In step S1119, it is determined that the device constitutes a loop. In step S1120, loop configuration information is output.

上記の動作とすることにより、複数の送受信ポートにて同一のエッジ装置からのループ検知用フレームを交互に受信している状態に限り複数ポート受信フラグを1とするため、例えばL2ネットワーク1101上で経路切替が発生した際に、ループであると判断することが無くなる。このため、経路冗長をとっているようなケースにおいては、ループではない経路切替のケースで実施形態1から実施形態5のケースはループと判断してしまう可能性があるのに対して、そのような場合を排除することが可能となる。   By performing the above operation, the multiple port reception flag is set to 1 only when the loop detection frames from the same edge device are alternately received by a plurality of transmission / reception ports. For example, on the L2 network 1101 When path switching occurs, it is no longer determined that the loop has occurred. For this reason, in the case where route redundancy is taken, the cases of the first to fifth embodiments may be judged as a loop in the case of route switching that is not a loop, whereas It is possible to eliminate such cases.

このとき、実施形態6において説明したように、全ての送信エッジ装置IDにて複数ポート受信フラグが1となっている場合にループを構成していると判断することで、ループ形状をより正確に検出する方法を合わせて使うことも可能である。   At this time, as described in the sixth embodiment, the loop shape is more accurately determined by determining that the loop is configured when the multiple port reception flag is 1 in all the transmission edge device IDs. It is also possible to use a combination of detection methods.

本発明のループ検出システムはL2ネットワークに適用できるため、情報通信産業に利用することができる。   Since the loop detection system of the present invention can be applied to the L2 network, it can be used in the information communication industry.

101:L2ネットワーク
1021、1022、1023:エッジ装置
1031、1032、1033、1034、1035、1036:中継装置
301:エッジ装置
302:送受信ポート
303:ループ検知用フレーム生成部
304:ループ検知用フレーム送信部
305:フレーム送受信部
30:中継装置
31:中継装置受信部
32:中継装置送信部
33:記録部
34:ループ構成情報判断部
35:ループ構成情報出力部
36:送受信ポート
37:送受信ポート
38:ポート制御部
401:中継装置
4021、4022、4023、4024:送受信ポート
403:フレーム送受信部
404:ループ検知用フレーム受信部
405:記録テーブル書き込み部
406:ループ情報記録テーブル
407:ループ構成装置判断部
408:ループ構成情報出力部
801:L2ネットワーク
804:送受信ポート
8021、8022:エッジ装置
8031、8032、8033、8034、8035、8036:中継装置
901:L2ネットワーク
904:送受信ポート
9021、9022:エッジ装置
9031、9032、9033、9034、9035、9036:中継装置
1001:L2ネットワーク
1004:送受信ポート
10021、10022:エッジ装置
10031、10032、10033、10034、10035、10036:中継装置
1101:L2ネットワーク
11021、11022、11023:エッジ装置
11031、11032、11033、11034、11035、11036:中継装置
101: L2 networks 1021, 1022, 1023: edge devices 1031, 1032, 1033, 1034, 1035, 1036: relay device 301: edge device 302: transmission / reception port 303: loop detection frame generation unit 304: loop detection frame transmission unit 305: Frame transmission / reception unit 30: Relay device 31: Relay device reception unit 32: Relay device transmission unit 33: Recording unit 34: Loop configuration information determination unit 35: Loop configuration information output unit 36: Transmission / reception port 37: Transmission / reception port 38: Port Control unit 401: Relay device 4021, 4022, 4023, 4024: Transmission / reception port 403: Frame transmission / reception unit 404: Loop detection frame reception unit 405: Recording table writing unit 406: Loop information recording table 407: Loop constituent device determination unit 408: Loop configuration Report output unit 801: L2 network 804: transmission / reception ports 8021, 8022: edge devices 8031, 8032, 8033, 8034, 8035, 8036: relay device 901: L2 network 904: transmission / reception ports 9021, 9022: edge devices 9031, 9032, 9033 , 9034, 9035, 9036: Relay device 1001: L2 network 1004: Transmission / reception port 10021, 10022: Edge device 10031, 1003, 10033, 10034, 10035, 10036: Relay device 1101: L2 network 11021, 11022, 11023: Edge device 11031 , 11032, 11033, 11034, 11035, 11036: Relay device

Claims (8)

複数の送受信ポートを有する装置を接続して構成された通信ネットワークの端に接続され、ループ検知に用いる特定のビット列を含んだループ検知用フレームを互いに送信する複数のエッジ装置と、
前記通信ネットワークのうちの前記エッジ装置の間に接続され、前記ループ検知用フレームを受信し、前記ループ検知用フレームを受信した送受信ポートのポートID(identification)及び前記ループ検知用フレームを送信した前記エッジ装置の送信エッジ装置IDを識別して互いに関連付けて記録し、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから前記ループ検知用フレームを送信し、記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であるか否かを判定する中継装置と、
を備えるループ検出システム。
A plurality of edge devices that are connected to an end of a communication network configured by connecting devices having a plurality of transmission / reception ports, and that mutually transmit a loop detection frame including a specific bit string used for loop detection;
Connected between the edge devices of the communication network, receiving the loop detection frame, transmitting a port ID (identification) of a transmission / reception port that has received the loop detection frame and the loop detection frame The transmission edge device ID of the edge device is identified and recorded in association with each other, the loop detection frame is transmitted from a transmission / reception port different from the transmission / reception port that received the loop detection frame, and the recorded port ID and transmission A relay device that determines whether or not there are a plurality of transmission edge device IDs recorded in association with a plurality of the port IDs of an edge device ID ;
A loop detection system comprising:
前記複数であると判定した前記中継装置のうちの1つの前記中継装置が有する送受信ポートでありかつ同一の送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限することを特徴とする請求項に記載のループ検出システム。 For any of the transmission / reception ports having the port ID recorded in association with the same transmission edge device ID that is a transmission / reception port of one of the relay devices determined to be the plurality of relay devices, The loop detection system according to claim 1 , wherein transmission / reception is restricted. 複数の送受信ポートを有する装置を接続して構成された通信ネットワークの端に接続された複数のエッジ装置から、ループ検知に用いる特定のビット列を含んだループ検知用フレームを前記通信ネットワークの複数のエッジ装置に向けて送信する送信手順と、
前記通信ネットワークのうちの前記エッジ装置の間に接続された中継装置で前記ループ検知用フレームを受信し、前記ループ検知用フレームを受信した送受信ポートのポートID及び前記ループ検知用フレームを送信した前記エッジ装置の送信エッジ装置IDを識別して互いに関連付けて前記中継装置ごとに記録し、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから前記ループ検知用フレームを送信する中継手順と、
前記中継手順で記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であった前記中継装置を特定する特定手順と、
を順に有するループ検出方法。
A plurality of edge devices connected to an end of a communication network configured by connecting devices having a plurality of transmission / reception ports, a plurality of edges of the communication network including a loop detection frame including a specific bit string used for loop detection. A transmission procedure to send to the device;
The relay device connected between the edge devices of the communication network receives the loop detection frame, and transmits the port ID of the transmission / reception port that has received the loop detection frame and the loop detection frame. A relay procedure for identifying the transmission edge device ID of the edge device, associating it with each other, recording it for each relay device, and transmitting the loop detection frame from a transmission / reception port different from the transmission / reception port that received the loop detection frame;
A specifying procedure for specifying the relay device in which there are a plurality of the transmission edge device IDs recorded in association with a plurality of the port IDs of the port ID and the transmission edge device ID recorded in the relay procedure;
A loop detection method comprising:
前記特定手順において特定した前記中継装置のうちの1つの前記中継装置が有する送受信ポートでありかつ同一の送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限するループ解消手順を、前記特定手順の後にさらに有する
ことを特徴とする請求項に記載のループ検出方法。
Transmission / reception is performed for any of the transmission / reception ports which are the transmission / reception ports of one of the relay apparatuses identified in the identification procedure and have the port ID recorded in association with the same transmission edge apparatus ID. The loop detection method according to claim 3 , further comprising a loop elimination procedure for restricting the frequency after the specific procedure.
ループ検知に用いる特定のビット列を含んだループ検知用フレームを受信する中継装置受信部と、
前記ループ検知用フレームを受信した送受信ポートのポートID及び前記ループ検知用フレームを送信したエッジ装置の送信エッジ装置IDを識別して互いに関連付けて記録する記録部と、
前記中継装置受信部の受信する前記ループ検知用フレームを、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから送信する中継装置送信部と、
前記記録部に記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であるか否かを判定するループ構成装置判断部と、
前記ループ構成装置判断部が前記複数であると判定した場合、ループを構成している旨を出力するループ構成情報出力部と、
を備える中継装置。
A relay device receiving unit that receives a loop detection frame including a specific bit string used for loop detection;
A recording unit that identifies and records a port ID of a transmission / reception port that has received the loop detection frame and a transmission edge device ID of an edge device that has transmitted the loop detection frame in association with each other;
A relay device transmission unit that transmits the loop detection frame received by the relay device reception unit from a transmission / reception port different from the transmission / reception port that received the loop detection frame;
A loop configuration device determination unit that determines whether there are a plurality of transmission edge device IDs recorded in association with a plurality of the port IDs among the port ID and the transmission edge device ID recorded in the recording unit. When,
A loop configuration information output unit that outputs that a loop is configured when the loop configuration device determination unit determines that there are a plurality of the loop configuration device determination unit;
A relay device comprising:
前記記録部に記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限するポート制御部をさらに備える
ことを特徴とする請求項に記載の中継装置。
A transmission / reception port having the port ID recorded in association with the transmission edge device ID recorded in association with a plurality of the port IDs of the port ID and the transmission edge device ID recorded in the recording unit. The relay apparatus according to claim 5 , further comprising a port control unit that restricts transmission / reception for any of the above.
複数の送受信ポートを有する装置を接続して構成された通信ネットワークの端に接続された複数のエッジ装置から、ループ検知に用いる特定のビット列を含んだループ検知用フレームを受信するループ検知用フレーム受信手順と、
前記ループ検知用フレームを受信した送受信ポートのポートID及び前記ループ検知用フレームを送信した前記エッジ装置の送信エッジ装置IDを識別して互いに関連付けて記録するとともに、受信した前記ループ検知用フレームを、前記ループ検知用フレームを受信した送受信ポートとは異なる送受信ポートから送信するループ検知用フレーム転送手順と、
前記ループ検知用フレーム転送手順で記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDが複数であるか否かを判定し、前記送信エッジ装置IDが複数であると判定した場合、ループを構成している旨を出力するループ構成情報出力手順と、
を順に有する中継方法。
Loop detection frame reception for receiving a loop detection frame including a specific bit string used for loop detection from a plurality of edge devices connected to the end of a communication network configured by connecting devices having a plurality of transmission / reception ports Procedure and
A port ID of a transmission / reception port that has received the loop detection frame and a transmission edge device ID of the edge device that has transmitted the loop detection frame are identified and recorded in association with each other, and the received loop detection frame is A loop detection frame transfer procedure for transmitting from a transmission / reception port different from the transmission / reception port that received the loop detection frame;
Determining whether there are a plurality of transmission edge device IDs recorded in association with a plurality of the port IDs of the port ID and the transmission edge device ID recorded in the loop detection frame transfer procedure; When it is determined that there are a plurality of transmission edge device IDs, a loop configuration information output procedure for outputting that a loop is configured;
The relay method which has in order.
前記ループ検知用フレーム転送手順において記録した前記ポートID及び前記送信エッジ装置IDのうちの複数の前記ポートIDと関連付けて記録されている前記送信エッジ装置IDと関連付けて記録されている前記ポートIDを有する送受信ポートのいずれかについて、送受信を制限するループ解消手順を、前記ループ構成情報出力手順の後にさらに有する
ことを特徴とする請求項に記載の中継方法。
The port ID recorded in association with the transmission edge device ID recorded in association with a plurality of the port IDs of the port ID and the transmission edge device ID recorded in the loop detection frame transfer procedure. The relay method according to claim 7 , further comprising a loop elimination procedure for restricting transmission / reception for any one of the transmission / reception ports having the loop configuration information output procedure.
JP2009296221A 2009-12-25 2009-12-25 Loop detection system and loop detection method Active JP5254196B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009296221A JP5254196B2 (en) 2009-12-25 2009-12-25 Loop detection system and loop detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009296221A JP5254196B2 (en) 2009-12-25 2009-12-25 Loop detection system and loop detection method

Publications (2)

Publication Number Publication Date
JP2011139139A JP2011139139A (en) 2011-07-14
JP5254196B2 true JP5254196B2 (en) 2013-08-07

Family

ID=44350164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009296221A Active JP5254196B2 (en) 2009-12-25 2009-12-25 Loop detection system and loop detection method

Country Status (1)

Country Link
JP (1) JP5254196B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11632266B2 (en) 2018-10-16 2023-04-18 Nippon Telegraph And Telephone Corporation Device setting control device, network system, device setting method, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5260598B2 (en) * 2010-05-31 2013-08-14 日本電信電話株式会社 Loop detection system, network management device, relay device, edge device, and communication network management method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004320248A (en) * 2003-04-14 2004-11-11 Fujitsu Ltd Communication equipment, congestion avoidance method, and transmission system
JP4619940B2 (en) * 2005-12-21 2011-01-26 富士通株式会社 Network fault location detection apparatus and network fault location detection method
JP5065941B2 (en) * 2008-02-29 2012-11-07 アラクサラネットワークス株式会社 Switch device and network system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11632266B2 (en) 2018-10-16 2023-04-18 Nippon Telegraph And Telephone Corporation Device setting control device, network system, device setting method, and program

Also Published As

Publication number Publication date
JP2011139139A (en) 2011-07-14

Similar Documents

Publication Publication Date Title
US9356830B2 (en) Communication device for a redundantly operable industrial communication network and method for operating the communication device
US8274911B2 (en) Network monitoring system and path extracting method
CN106576082B (en) Method, apparatus and system for redundant Ethernet networks
JP4684350B2 (en) Relay device, continuity confirmation method thereof, and continuity confirmation circuit
US10924378B2 (en) System and method for loopback and network loop detection and analysis
US8792350B2 (en) Network relay system, network relay device, and congested state notifying method
US8441942B1 (en) Method and apparatus for link level loop detection
US20140301185A1 (en) Handling a fault in an ethernet ring network
JP5254196B2 (en) Loop detection system and loop detection method
JP2009117920A (en) Communication apparatus and method and communication program
US20150098317A1 (en) Linear protection switching method and apparatus for protecting network segmented into multi-domain
US20140156867A1 (en) Offload processing interface
US20170155522A1 (en) Communication apparatus and communication system
EP2697940A1 (en) Handling a fault in an ethernet ring network
JP2008244870A (en) Communication system, relay device used for the system, and measuring method of frame loss
CN108616426A (en) A kind of loop network and business datum retransmission method
US8948033B2 (en) Communication system, communication apparatus, and ring network monitoring method
CN103220201A (en) Method and device of detection and protection of ring network faults
US9575866B1 (en) Diagnostic module for monitoring electronic data transmission
JP2011223172A (en) Ring-type network system, communication apparatus and failure detection method
CN106027353B (en) Information processing unit and network system
WO2016061943A1 (en) Method and apparatus for implementing spanning tree protocol protection switching, and computer storage medium
US20130242722A1 (en) Information transmission device, information transmission system and information transmission method
JP6602282B2 (en) Loop failure detection method, network device, and loop failure detection program
JP6247239B2 (en) Network verification system, network verification method, flow inspection apparatus, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120309

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130325

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130416

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130417

R150 Certificate of patent or registration of utility model

Ref document number: 5254196

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160426

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350