JP4866823B2 - Layer 2 switch device and layer 2 link state information transfer method - Google Patents

Layer 2 switch device and layer 2 link state information transfer method Download PDF

Info

Publication number
JP4866823B2
JP4866823B2 JP2007273336A JP2007273336A JP4866823B2 JP 4866823 B2 JP4866823 B2 JP 4866823B2 JP 2007273336 A JP2007273336 A JP 2007273336A JP 2007273336 A JP2007273336 A JP 2007273336A JP 4866823 B2 JP4866823 B2 JP 4866823B2
Authority
JP
Japan
Prior art keywords
link
layer
port
state information
address
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.)
Expired - Fee Related
Application number
JP2007273336A
Other languages
Japanese (ja)
Other versions
JP2009105519A (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.)
Fujitsu Telecom Networks Ltd
Original Assignee
Fujitsu Telecom Networks 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 Fujitsu Telecom Networks Ltd filed Critical Fujitsu Telecom Networks Ltd
Priority to JP2007273336A priority Critical patent/JP4866823B2/en
Publication of JP2009105519A publication Critical patent/JP2009105519A/en
Application granted granted Critical
Publication of JP4866823B2 publication Critical patent/JP4866823B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、レイヤ2スイッチ装置及びリンク状態情報転送方法に関し、特に、レイヤ2ネットワークにおけるリンク断の発生又はリンク断復旧に関するリンク状態情報を、対向するレイヤ2スイッチ装置に通知することを可能にしたレイヤ2スイッチ装置及びレイヤ2リンク状態情報転送方法に関する。   The present invention relates to a layer 2 switch device and a link state information transfer method, and in particular, it is possible to notify a facing layer 2 switch device of link state information related to occurrence of link failure or recovery from link failure in a layer 2 network. The present invention relates to a layer 2 switch device and a layer 2 link state information transfer method.

ネットワークの信頼性向上のため、ループネットワークやメッシュネットワーク等のように、通信装置間を複数の中継経路で接続可能なネットワーク構造が採用されるケースが増えている。このようなネットワークの経路切替えは、レイヤ3スイッチによる経路選択プロトコルでの一つであるOSPF(Open Shortest Path First)やベンダ独自の機能によって行われ、また、レイヤ2ネットワークにおける経路切替えは、ループネットワークの経路を決定するスパニングツリープロトコル(STP)又は複数の回線を仮想的に一つの回線と見なすリンクアグリゲーション(LAG)の技術を利用して行われている。特に安価なレイヤ2スイッチ装置を用いて構成されることが多いレイヤ2ネットワークでは、できるだけ簡易でかつ経路切替え動作の速い冗長経路構成とするために、リンクアグリゲーション(LAG)が用いられることが多い。   In order to improve the reliability of the network, a network structure that can connect communication devices through a plurality of relay paths, such as a loop network and a mesh network, is increasingly used. Such network path switching is performed by OSPF (Open Shortest Path First), which is one of the path selection protocols by the layer 3 switch, or a vendor-specific function, and path switching in the layer 2 network is performed by a loop network. Spanning Tree Protocol (STP) that determines the path of the network or link aggregation (LAG) technology that virtually considers a plurality of lines as one line. In particular, in a layer 2 network that is often configured using an inexpensive layer 2 switch device, link aggregation (LAG) is often used in order to provide a redundant path configuration that is as simple as possible and has a fast path switching operation.

一対一にケーブル接続されているレイヤ2スイッチ装置同士では、一方のレイヤ2スイッチ装置のポートに接続されているケーブルを抜いて取り外すと、他方のレイヤ2スイッチ装置は、該ケーブルで接続されていたポートのリンク断を自動的に検出し、該ポートをソフトウェア上でリンク断状態に設定する。しかし、複数台のレイヤ2スイッチ装置が中継装置として絡んでいるレイヤ2ネットワークでは、レイヤ2スイッチ装置を跨いで対向する通信装置にレイヤ2のリンク断の情報を転送することができない。   When the cable connected to the port of one layer 2 switch device is pulled out and removed between the layer 2 switch devices connected one by one, the other layer 2 switch device is connected by the cable. A link break of a port is automatically detected, and the port is set to a link break state on software. However, in a layer 2 network in which a plurality of layer 2 switch devices are entangled as relay devices, it is impossible to transfer layer 2 link disconnection information to opposing communication devices across the layer 2 switch devices.

通常のイーサネット(登録商標)におけるレイヤ2スイッチ装置は、一人又は少数の管理者の遠隔管理により監視制御されるが、大量のレイヤ2スイッチ装置がネットワークに導入されると、その管理は煩雑となるため、通常はSNMP(Simple Network Management Protocol)マネージャのようなネットワーク管理ソフトウェアにより一括管理するのが一般的になっている。   The layer 2 switch device in the normal Ethernet (registered trademark) is monitored and controlled by remote management of one or a few administrators, but when a large number of layer 2 switch devices are introduced into the network, the management becomes complicated. For this reason, it is common to perform batch management by network management software such as SNMP (Simple Network Management Protocol) manager.

このようなイーサネット(登録商標)において、リンク断が発生した際には、SNMPのTrapメッセージを用いたSNMPマネージャによるアラーム通知や、コマンドラインインタフェースによる状態読出しなどにより、管理者がリンク断の発生を検出することとなる。   In such an Ethernet (registered trademark), when a link breakage occurs, the administrator can report the occurrence of the link breakage by an alarm notification by an SNMP manager using an SNMP Trap message or a status read by a command line interface. Will be detected.

一般的にリンク断の発生は、発生したポートとは関連の無い他のポートには影響が波及しないため、リンク断の発生したポートと異なるポートを介して接続されている他のレイヤ2スイッチ装置にとっては、他のレイヤ2スイッチ装置でリンク断が発生していることを検知する手段が無いため、対向側レイヤ2スイッチ装置の異常は検出されず、単に、対向側装置からデータが受信されないという状態となる。   In general, the occurrence of a link disconnection does not affect other ports that are not related to the generated port. Therefore, another layer 2 switch device connected via a port different from the port where the link disconnection occurred. For this reason, since there is no means for detecting that a link failure has occurred in another layer 2 switch device, an abnormality in the opposite side layer 2 switch device is not detected, and data is simply not received from the opposite side device. It becomes a state.

本発明に関連する先行技術文献として、下記の特許文献1には、冗長性を確保することができるマルチキャスト通信とVRRP(Virtual Router Redundancy Protocol)とを用いたネットワーク間接続方法、及びインターネットグループ管理プロトコル(IGMP:Internet Group Management Protocol)等の技術について開示されている。
特開2003−143193号公報
As a prior art document related to the present invention, the following Patent Document 1 describes an inter-network connection method using multicast communication capable of ensuring redundancy and VRRP (Virtual Router Redundancy Protocol), and an Internet group management protocol. A technology such as (IGMP: Internet Group Management Protocol) is disclosed.
JP 2003-143193 A

前述したように、複数台のレイヤ2スイッチ装置が中継装置として絡むレイヤ2ネットワークでは、レイヤ2スイッチ装置を跨いで対向する装置にレイヤ2のリンク断の情報を転送することができない。そのため、中継区間の経路の一部にリンク断が発生しても、末端の通信装置や他のレイヤ2スイッチ装置には、レイヤ2のリンク断情報が到来しない。   As described above, in a layer 2 network in which a plurality of layer 2 switch devices are entangled as relay devices, it is impossible to transfer layer 2 link disconnection information to devices facing each other across the layer 2 switch devices. Therefore, even if a link break occurs in a part of the route of the relay section, layer 2 link break information does not arrive at the terminal communication device or other layer 2 switch devices.

従って、レイヤ2のリンク断発生をトリガとする経路の切り替えを行うことができず、中継経路の一部がリンク断状態となっている通信装置間では、データが対向側通信装置に達することなく破棄され、それによって上位レイヤによって通信異常を検知し、経路切替え等が行われることとなる。   Therefore, the path switching triggered by the occurrence of the layer 2 link disconnection cannot be performed, and the data does not reach the opposite communication device between the communication devices in which a part of the relay route is in the link disconnected state. Discarded by this, communication abnormality is detected by the upper layer, and path switching or the like is performed.

しかし、リンクパススルー機能を有するメディアコンバータを使うネットワーク等において、スパニングツリープロトコルやリンクアグリゲーション等の技術を用いた冗長経路を有するネットワーク構成の場合は、レイヤ2のリンク断をトリガとして経路変更動作を開始する機能があるため、レイヤ2のリンク断発生を対向側通信装置に通知することが望ましい場合がある。   However, in a network that uses a media converter that has a link pass-through function, in the case of a network configuration that has redundant paths using technologies such as the spanning tree protocol and link aggregation, the path change operation is triggered by layer 2 link disconnection as a trigger. Therefore, it may be desirable to notify the opposite communication apparatus of the occurrence of layer 2 link breakage.

本発明は、簡易にかつ既設の中継装置の機能変更を伴うことなく、レイヤ2のリンク断発生及びリンク断復旧に関するレイヤ2リンク状態情報を、対向する通信装置に転送することができるレイヤ2スイッチ装置及びレイヤ2リンク状態情報転送方法を提供する。   The present invention is a layer 2 switch that can easily transfer layer 2 link state information related to occurrence of link failure and recovery of link failure to a facing communication device without changing the function of an existing relay device. An apparatus and a layer 2 link state information transfer method are provided.

本発明のレイヤ2スイッチ装置は、リンク状態通知対象のポートの番号とマルチキャストIPアドレスとを関連付けたリンク状態情報転送登録テーブルと、前記ポートのリンク断の発生又はリンク断復旧を検出したとき、該ポートに関連付けられたマルチキャストIPアドレスを、前記リンク状態情報転送登録テーブルを参照して抽出し、該マルチキャストIPアドレスを含み、リンク断の発生又はリンク断復旧によって異なる設定値をタイプフィールドに設定したインターネットグループ管理プロトコル(IGMP)パケットを、対向側通信装置へ送信する第1の手段と、インターネットグループ管理プロトコル(IGMP)パケットを受信したとき、該パケットに含まれるマルチキャストIPアドレスに関連付けられたポートの番号を、前記リンク状態情報転送登録テーブルを参照して抽出し、該番号のポートを、該インターネットグループ管理プロトコル(IGMP)パケットのタイプフィールドの設定値に従って、リンク断状態又はリンク断復旧状態に設定する第2の手段と、を備えたものである。   When the layer 2 switching device of the present invention detects the link state information transfer registration table in which the number of the link state notification target port and the multicast IP address are associated, and the occurrence of link breakage or link breakage recovery of the port, An Internet in which a multicast IP address associated with a port is extracted by referring to the link state information transfer registration table, and includes a setting value that is set in the type field depending on occurrence of link disconnection or recovery from link disconnection. A first means for transmitting a group management protocol (IGMP) packet to the opposite communication device, and a port number associated with a multicast IP address included in the packet when the Internet group management protocol (IGMP) packet is received The The link state information transfer registration table is extracted, and the port with the number is set to the link broken state or the link broken recovery state according to the setting value of the type field of the Internet group management protocol (IGMP) packet. Means.

また、本発明のレイヤ2リンク状態情報転送方法は、リンク状態通知対象のポートの番号とマルチキャストIPアドレスとを関連付けたリンク状態情報転送登録テーブルを各レイヤ2スイッチ装置に備えておき、前記レイヤ2スイッチ装置でポートのリンク断の発生又はリンク断復旧を検出したとき、該ポートに関連付けられたマルチキャストIPアドレスを、前記リンク状態情報転送登録テーブルを参照して抽出し、該マルチキャストIPアドレスを含み、リンク断の発生又はリンク断復旧によって異なる設定値をタイプフィールドに設定したインターネットグループ管理プロトコル(IGMP)パケットを、対向側レイヤ2スイッチ装置へ送信する第1のステップと、前記対向側レイヤ2スイッチ装置においてインターネットグループ管理プロトコル(IGMP)パケットを受信したとき、該パケットに含まれるマルチキャストIPアドレスに関連付けられたポートの番号を、自装置のリンク状態情報転送登録テーブルを参照して抽出し、該番号のポートを、該インターネットグループ管理プロトコル(IGMP)パケットのタイプフィールドの設定値に従って、リンク断状態又はリンク断復旧状態に設定する第2のステップと、を含むものである。   In addition, the layer 2 link state information transfer method of the present invention includes a link state information transfer registration table in which each layer 2 switch device includes a link state information transfer registration table in which a link state notification target port number is associated with a multicast IP address. When the occurrence of link breakage or recovery from link breakage is detected in the switch device, the multicast IP address associated with the port is extracted with reference to the link state information transfer registration table, and includes the multicast IP address, A first step of transmitting an Internet Group Management Protocol (IGMP) packet in which a different set value is set in a type field depending on occurrence of link disconnection or link disconnection to the opposite layer 2 switch device; and the opposite layer 2 switch device Internet group management When a protocol (IGMP) packet is received, the port number associated with the multicast IP address included in the packet is extracted with reference to the link state information transfer registration table of the own device, and the port with the number is extracted. And a second step of setting the link broken state or the link broken recovery state according to the setting value of the type field of the Internet group management protocol (IGMP) packet.

本発明によれば、従来、同一メーカーのレイヤ2スイッチ装置同士でないと実現が困難であった複数のレイヤ2スイッチ装置経由のリンク断等のリンク状態情報の転送を、既に標準化されているインターネットグループ管理プロトコル(IGMP)を利用して転送することにより、簡易にかつ既設の中継装置の機能変更を伴うことなく、レイヤ2リンク状態情報を対向する通信装置に転送することができる。   According to the present invention, transfer of link state information such as link disconnection via a plurality of layer 2 switch devices, which has been difficult to implement unless the layer 2 switch devices are of the same manufacturer, is already standardized. By transferring using the management protocol (IGMP), it is possible to easily transfer the layer 2 link state information to the opposing communication device without changing the function of the existing relay device.

また、前記インターネットグループ管理プロトコル(IGMP)のパケットを受信し、リンク断のポートを通知された対向側レイヤ2スイッチ装置では、該リンク断のポートと関連付けられた自装置のポートをリンク断の状態に設定することにより、更に後続のレイヤ2スイッチ装置にリンク断を通知することができる。   Further, in the opposite-side layer 2 switch device that has received the Internet Group Management Protocol (IGMP) packet and has been notified of the link-disconnected port, the port of the own device associated with the link-disconnected port is in a link-disconnected state. By setting to, it is possible to notify the subsequent layer 2 switch device of the link disconnection.

レイヤ2スイッチ装置により中継を行うネットワークでは、中継経路の各レイヤ2スイッチ装置にリンク断情報を通知することができれば、速やかな経路切替えを行うことができ、対向側通信装置のポートのリンク断の発生をトリガとする警報の発生や接続経路の切替えなど、効率的な監視保守・運用が可能となる。   In a network that relays using a layer 2 switch device, if the link disconnection information can be notified to each layer 2 switch device on the relay route, the route can be switched quickly, and the link of the port of the opposite communication device can be disconnected. Efficient monitoring maintenance and operation such as generation of alarm triggered by occurrence and switching of connection path are possible.

図1は本発明によるリンク断情報の通知の動作説明図である。同図の(a)は、リンク断情報を転送するレイヤ2ネットワークの基本接続構成を示す。同図の(b)はリンク断発生時のリンク断情報送出の様態を示し、同図の(c)はリンク断情報受信時の動作の様態を示している。   FIG. 1 is a diagram for explaining the operation of notifying link disconnection information according to the present invention. FIG. 2A shows a basic connection configuration of a layer 2 network that transfers link disconnection information. (B) of the figure shows a state of sending link break information when a link break occurs, and (c) of the figure shows an operation state when receiving link break information.

2拠点の通信装置間を接続する経路が複数存在するレイヤ2ネットワークにおいて、該経路の中継区間のレイヤ2スイッチ装置110とレイヤ2スイッチ装置120との間でリンク状態情報の転送を行う場合、予めレイヤ2スイッチ装置110及びレイヤ2スイッチ装置120に対してインターネットグループ管理プロトコル(IGMP:Internet Group Management Protocol)によるリンク状態情報転送の機能を有効にする設定をしておく。   When transferring link state information between the layer 2 switch device 110 and the layer 2 switch device 120 in the relay section of the route in a layer 2 network in which a plurality of routes connecting the two communication devices exist, The layer 2 switch device 110 and the layer 2 switch device 120 are set to enable the link state information transfer function by the Internet Group Management Protocol (IGMP).

インターネットグループ管理プロトコル(IGMP)によるリンク状態情報転送機能の設定は、図4に示すように、リンク断発生及びリンク断復旧に関するリンク状態情報転送機能を有効に設定し(ステップ4−1)、かつ、リンク状態情報の通知対象のポート番号とマルチキャストIPアドレスとを関連付けて登録する(ステップ4−2)。   As shown in FIG. 4, the setting of the link state information transfer function by the Internet Group Management Protocol (IGMP) is set to enable the link state information transfer function regarding the occurrence of link disconnection and recovery from link disconnection (step 4-1), and Then, the port number to be notified of the link state information is registered in association with the multicast IP address (step 4-2).

図1に戻って説明すると、リンク状態情報転送機能を有効に設定したレイヤ2スイッチ装置110には、予めリンク状態情報通知用のマルチキャストIPアドレスとそれに対応するリンク状態通知対象のポート111の番号とが関連付けられ、レイヤ2スイッチ装置110内RAMのリンク状態情報転送登録テーブルに格納しておく。レイヤ2スイッチ装置120も同様に、マルチキャストIPアドレスとリンク断通知対象のポート121の番号とを関連付けて、レイヤ2スイッチ装置120内RAMのリンク状態情報転送登録テーブルに格納しておく。   Returning to FIG. 1, the layer 2 switch device 110 in which the link state information transfer function is set to be effective includes a multicast IP address for notifying the link state information and the number of the link state notification target port 111 corresponding thereto in advance. Are stored in the link state information transfer registration table in the RAM in the layer 2 switch device 110. Similarly, the layer 2 switch device 120 associates the multicast IP address with the number of the port 121 to be notified of link disconnection, and stores it in the link state information transfer registration table in the RAM in the layer 2 switch device 120.

図5にリンク状態情報の通知対象のポート番号とマルチキャストIPアドレスとを関連付けたリンク状態情報転送登録テーブルの格納例を示す。同図の(a)は図1のレイヤ2スイッチ装置110におけるリンク状態情報転送登録テーブルの格納例を示し、同図の(b)は図1のレイヤ2スイッチ装置120におけるリンク状態情報転送登録テーブルの格納例を示している。   FIG. 5 shows a storage example of a link state information transfer registration table in which a port number to be notified of link state information is associated with a multicast IP address. (A) of the figure shows a storage example of the link state information transfer registration table in the layer 2 switch apparatus 110 of FIG. 1, and (b) of FIG. 1 shows the link state information transfer registration table in the layer 2 switch apparatus 120 of FIG. An example of storage is shown.

図5の(a)の例では、ポート番号Port1のポート111(図1参照)に対しては、マルチキャストIPアドレス“224.10.10.1”を関連付け、ポート番号Port2のポートに対しては、マルチキャストIPアドレス“224.10.10.2”を関連付け、ポート番号Port3及びPort4のポートに対しては、リンク状態通知対象としないので何も登録せず、ポート番号Port5のポートに対しては、マルチキャストIPアドレス“248.248.10.5”を関連付けた例を示している。   In the example of FIG. 5A, the multicast IP address “224.10.10.1” is associated with the port 111 (see FIG. 1) with the port number Port1, and the port with the port number Port2 The multicast IP address “224.10.10.2” is associated, and the port numbers Port3 and Port4 are not subject to link status notification, so nothing is registered, and the port number Port5 port is not registered. , An example in which the multicast IP address “248.248.10.5” is associated is shown.

また、図5の(b)の例では、ポート番号Port1のポート121(図1参照)に対しては、マルチキャストIPアドレス“224.10.10.1”を関連付け、ポート番号Port2のポートに対しては、マルチキャストIPアドレス“224.10.10.2”を関連付け、ポート番号Port3,Port4及びPort5のポートに対しては、リンク状態通知対象としないので何も登録していない例を示している。   In the example of FIG. 5B, the multicast IP address “224.10.10.1” is associated with the port 121 (see FIG. 1) with the port number Port1, and the port with the port number Port2 In this example, the multicast IP address “224.10.10.2” is associated, and the port numbers Port3, Port4, and Port5 are not subject to link status notification, and therefore nothing is registered. .

なお、各レイヤ2スイッチ装置において、同一の中継経路に係るリンクのポートには、それぞれ同一のマルチキャストIPアドレスを関連付けておくものとする。例えば、図1のレイヤ2スイッチ装置110のポート111と、レイヤ2スイッチ装置120のポート121とで同一の中継経路を形成している場合、レイヤ2スイッチ装置110のポート111(ポート番号Port1)とレイヤ2スイッチ装置120のポート121(ポート番号Port1)とに同一のマルチキャストIPアドレス“224.10.10.1”を関連付けておく。   In each layer 2 switch device, the same multicast IP address is associated with the port of the link related to the same relay route. For example, when the same relay path is formed by the port 111 of the layer 2 switch device 110 and the port 121 of the layer 2 switch device 120 in FIG. 1, the port 111 (port number Port1) of the layer 2 switch device 110 and The same multicast IP address “224.10.10.1” is associated with the port 121 (port number Port1) of the layer 2 switch device 120.

レイヤ2スイッチ装置110は、自身の物理ポートにおけるリンク断を検出した場合、図6の(a)の処理フローに示すように、まず、リンク状態情報の転送機能が設定されたポートであるかどうかを判断し(ステップ6−1)、リンク状態情報の転送機能が有効に設定されたポートである場合は、レイヤ2スイッチ装置110内の制御部により、リンク状態情報転送用のIGMPパケットを生成するが、リンク状態の状況に応じてIGMPパケットのタイプを選択し、前述のポート対応に登録したマルチキャストIPアドレスを宛先IPアドレスとするリンク断通知用のIGMPパケットを、上りリンク(Uplink)ポート112から送信する(ステップ6−2)。   When the layer 2 switch device 110 detects a link break in its own physical port, as shown in the processing flow of FIG. 6A, first, whether or not the port is a port for which the link state information transfer function is set. (Step 6-1), if the link state information transfer function is enabled, the control unit in the layer 2 switch device 110 generates an IGMP packet for link state information transfer. Selects an IGMP packet type according to the state of the link state, and sends an IGMP packet for link disconnection notification with the multicast IP address registered for the above-mentioned port correspondence as the destination IP address from the uplink port 112. Transmit (step 6-2).

リンク断発生の通知には、IGMPパケットのタイプとして、例えばグループ配信の停止を要求する“Leave Group”メッセージを送信し、リンク断復旧の通知には、IGMPパケットのタイプとして、例えばグループ配信の加入を要求する“Membership Report”メッセージを送信することとする。   For the notification of the occurrence of link disconnection, for example, a “Leave Group” message requesting the stop of group distribution is transmitted as the type of IGMP packet. For the notification of link disconnection, for example, the subscription for group distribution is transmitted as the type of IGMP packet. It is assumed that a “Membership Report” message requesting is sent.

この処理フローにより、図1の(b)に示すように、レイヤ2スイッチ装置110からリンク断通知用のIGMPパケット130が送信される。なお、“Membership Report”メッセージ及び“Leave Group”メッセージは、IGMPにおいて標準化された既定のメッセージである。   With this processing flow, as shown in FIG. 1B, an IGMP packet 130 for notifying link disconnection is transmitted from the layer 2 switch device 110. Note that the “Membership Report” message and the “Leave Group” message are default messages standardized in IGMP.

なお、リンク状態情報の転送機能が無効に設定されているポートで、リンク状態の変化が有った場合は何もせず、そのポートでリンク断が発生しても、IGMPパケット130は送信しない。なお、1つのレイヤ2スイッチ装置において、リンク状態情報の転送機能を有効に設定可能なポート数の上限は無い。また、レイヤ2スイッチ装置内でリンク状態情報の通知パケット送出用の上りリンクのポート112を個別に設定する構成とすることもできる。   Note that if the link state information transfer function is set to be invalid and the link state has changed, nothing is done, and the IGMP packet 130 is not transmitted even if the link is broken at the port. Note that there is no upper limit on the number of ports that can effectively set the link state information transfer function in one layer 2 switch device. In addition, an uplink port 112 for sending a link state information notification packet may be individually set in the layer 2 switch device.

マルチキャストIPアドレスを含むIGMPパケット130を受信したレイヤ2スイッチ装置120では、受信したIGMPパケットの宛先IPアドレスがリンク状態情報転送登録テーブルに登録されているマルチキャストIPアドレスか否かを調べ、受信したIGMPパケットの宛先IPアドレスが、リンク状態情報転送登録テーブルに登録されているマルチキャストIPアドレスにヒットした場合は、該マルチキャストIPアドレスに関連付けて登録されている自装置の物理ポート121の状態を変更する。   Upon receiving the IGMP packet 130 including the multicast IP address, the layer 2 switch device 120 checks whether or not the destination IP address of the received IGMP packet is a multicast IP address registered in the link state information transfer registration table. When the destination IP address of the packet hits the multicast IP address registered in the link state information transfer registration table, the state of the physical port 121 of the own apparatus registered in association with the multicast IP address is changed.

レイヤ2スイッチ装置120では、受信したマルチキャストIPアドレスに関連付けられている自装置のポート121のリンク状態をソフトウェア上でリンク断状態に設定し、ソフトウェアの制御によって該ポート121を物理的にリンク断が発生した状態にする。こうすることにより、図1の(c)に示すように、レイヤ2スイッチ装置120から、図示省略の後続の通信装置にリンク断の発生が転送される。   In the layer 2 switching device 120, the link state of the port 121 of the own device associated with the received multicast IP address is set to a link-disconnected state on software, and the port 121 is physically disconnected by software control. Make it happen. By doing so, as shown in FIG. 1C, the occurrence of the link disconnection is transferred from the layer 2 switch device 120 to the subsequent communication device (not shown).

IGMPの“Leave Group”メッセージを受信した対向側通信装置では、該メッセージを送出したレイヤ2通信装置に対して、IGMPの“Group Specific Query(HMQ−SQ)”を返答する。なお、該“Group Specific Query(HMQ−SQ)”は中継区間で破棄される可能性があるため、RFC2236ではその再送手順も定義している。これにより、IGMPの“Leave Group”メッセージの送出時、つまりリンク断情報の転送時に、対向側通信装置に対する送達確認が可能となる。   The opposite communication device that has received the IGMP “Leave Group” message returns an IGMP “Group Specific Query (HMQ-SQ)” to the layer 2 communication device that has transmitted the message. Since “Group Specific Query (HMQ-SQ)” may be discarded in the relay section, RFC 2236 also defines the retransmission procedure. As a result, when the IGMP “Leave Group” message is transmitted, that is, when the link disconnection information is transferred, delivery confirmation to the opposite communication device can be performed.

なお、リンク断情報の転送用に用いるIGMPパケットは、通常のマルチキャストデータ配信用に使用するIGMPパケットと同様にRFC2236に従って生成するが、リンク状態の通知に使用するマルチキャストIPアドレスを予めリンク状態情報転送登録テーブルに登録しておくことで、通常のマルチキャスト送信用のIGMPパケットとの識別が可能となる。   The IGMP packet used for transferring link disconnection information is generated according to RFC 2236 in the same manner as the IGMP packet used for normal multicast data distribution, but the multicast IP address used for link status notification is transferred in advance to the link status information. By registering in the registration table, it is possible to distinguish it from a normal multicast transmission IGMP packet.

図2は、複数台のレイヤ2スイッチ装置が介在する場合のリンク断情報の転送の態様を示している。ここで、第1のレイヤ2スイッチ装置201及び第3のレイヤ2スイッチ装置203が、リンク状態情報転送機能が有効に設定され、その間に、リンク状態情報転送機能が有効に設定されない汎用の第2のレイヤ2スイッチ装置202が介在しているものとする。   FIG. 2 shows a mode of transfer of link disconnection information when a plurality of layer 2 switch devices are interposed. Here, the first layer 2 switch device 201 and the third layer 2 switch device 203 are set to the general-purpose second in which the link state information transfer function is set to be valid while the link state information transfer function is not set to be valid. It is assumed that the layer 2 switching device 202 is interposed.

第1のレイヤ2スイッチ装置201でリンク断が発生すると、第1のレイヤ2スイッチ装置201は、該リンク断が発生したポートに関連付けられたマルチキャストIPアドレスを含むIGMPの“Leave Group”メッセージを、中継経路の汎用の第2のレイヤ2スイッチ装置202に送信する。   When a link break occurs in the first layer 2 switch device 201, the first layer 2 switch device 201 sends an IGMP “Leave Group” message including a multicast IP address associated with the port where the link break occurs. It transmits to the general purpose 2nd layer 2 switch apparatus 202 of a relay route.

リンク断情報の通知に使用するIGMPの“Leave Group”メッセージは、一般的なIGMPパケットのフォーマットと同様のフォーマットであるので、汎用の第2のレイヤ2スイッチ装置202は、該IGMPの“Leave Group”メッセージを、そのまま通常のIGMPパケットとして第3のレイヤ2スイッチ装置203に転送する。   The IGMP “Leave Group” message used for notification of link disconnection information has the same format as that of a general IGMP packet. Therefore, the general-purpose second layer 2 switching device 202 uses the IGMP “Leave Group” message. The message is transferred to the third layer 2 switch device 203 as a normal IGMP packet as it is.

第3のレイヤ2スイッチ装置203は、該IGMPの“Leave Group”メッセージを受信し、該メッセージに含まれるマルチキャストIPアドレスに関連付けられたポートをリンク断の状態に設定する。このように、中継経路の途中に、本発明が適用されない汎用のレイヤ2スイッチ装置が介在しても、リンク断情報を対向する通信装置に転送することが可能である。   The third layer 2 switch device 203 receives the IGMP “Leave Group” message, and sets the port associated with the multicast IP address included in the message to a link-disconnected state. As described above, even when a general-purpose layer 2 switch device to which the present invention is not applied is interposed in the middle of the relay route, link disconnection information can be transferred to a facing communication device.

図3は、IGMPパケットのフォーマットを示している。同図に示すように、IPヘッダの後続部分にIGMPの情報が格納される。IGMPの情報フィールドとしては、メッセージの種別を示すタイプフィールド、最大応答時間フィールド、チェックサムフィールド、及びマルチキャストIPアドレスであるグループアドレスが格納されるフィールドが有る。   FIG. 3 shows the format of the IGMP packet. As shown in the figure, IGMP information is stored in the subsequent part of the IP header. The IGMP information field includes a type field indicating a message type, a maximum response time field, a checksum field, and a field for storing a group address which is a multicast IP address.

IGMPパケットのタイプの設定値としては、グループ配信加入の問い合わせを意味する“Membership Query”と、グループ配信加入を意味する“Membership Report”と、グループ配信の停止を意味する“Leave Group”とが有る。   The set value of the IGMP packet type includes “Membership Query” meaning an inquiry for group delivery subscription, “Membership Report” meaning a group delivery subscription, and “Leave Group” meaning a stop of group delivery. .

図6は、リンク状態を通知するIGMPパケット送出の処理フローを示し、同図の(a)はリンク断発生時の処理フローを、同図の(b)はリンク断復旧時の処理フローを示している。(a)のリンク断発生時の処理は前述したとおりである。リンク断復旧時は同図の(b)に示すように、該ポートがリンク状態情報転送機能が有効に設定されたポートかどうかを判定し(ステップ6−3)、有効に設定されたポートである場合、リンク状態情報転送登録テーブルに格納されたマルチキャストIPアドレスを含むIGMPの“Menbership Report(HMR)”メッセージを、グループ配信の上りリンク(Uplink)ポートから送出する。なお、あて先のIPアドレスは、該マルチキャストIPアドレスである。   FIG. 6 shows a processing flow of sending out an IGMP packet for notifying the link state. FIG. 6A shows a processing flow when a link breakage occurs, and FIG. 6B shows a processing flow when link breakage is recovered. ing. The processing at the time of occurrence of link disconnection in (a) is as described above. At the time of link disconnection recovery, as shown in FIG. 5B, it is determined whether the port is a port for which the link state information transfer function is enabled (step 6-3). If there is, an IGMP “Membership Report (HMR)” message including the multicast IP address stored in the link state information transfer registration table is transmitted from the uplink port of group distribution. The destination IP address is the multicast IP address.

図7及び図8は、リンク状態情報の受信時の処理フローを示す。IGMPパケットをレイヤ2スイッチ装置が受信すると(ステップ7−1)、自装置内のリンク状態情報転送登録テーブルのエントリを参照し(ステップ7−2)、受信したIGMPパケットに含まれているマルチキャストIPアドレスに該当するものが存在するか判定し(ステップ7−3)、存在する場合、受信したIGMPパケットが“Leave Group”メッセージであるか判定し(ステップ7−4)、“Leave Group”メッセージである場合、リンク状態情報転送登録テーブルに登録されたマルチキャストIPアドレスに関連付けられたポートをリンク断の状態に設定する。なお、既に該当ポートがケーブル未接続等により、リンク断の状態となっている場合でも、“Leave Group”メッセージ受信により、当該ポートをソフトウェア上閉塞する設定を行う(ステップ7−5)。   7 and 8 show a processing flow when link state information is received. When the layer 2 switching device receives the IGMP packet (step 7-1), the multicast IP included in the received IGMP packet is referred to by referring to the link state information transfer registration table entry in the own device (step 7-2). It is determined whether there is an address corresponding to the address (step 7-3). If it exists, it is determined whether the received IGMP packet is a “Leave Group” message (step 7-4), and the “Leave Group” message is used. If there is, the port associated with the multicast IP address registered in the link state information transfer registration table is set to a link-disconnected state. Even when the port is already disconnected due to a cable not connected or the like, a setting is made to block the port by software by receiving a “Leave Group” message (step 7-5).

また、受信したIGMPパケットが“Menbership Report(HMR)”メッセージであるか判定し(ステップ7−6)、“Menbership Report(HMR)”メッセージである場合、リンク状態情報転送登録テーブルに登録されたマルチキャストIPアドレスに関連付けられたポートをリンク断復旧の状態に設定する。なお、既に該当ポートがケーブル未接続等により、“Menbership Report”メッセージ受信により、当該ポートをソフトウェア上閉塞解除する設定を行う(ステップ7−7)。   In addition, it is determined whether the received IGMP packet is a “Membership Report (HMR)” message (step 7-6). If the received IGMP packet is a “Membership Report (HMR)” message, the multicast registered in the link state information transfer registration table is determined. The port associated with the IP address is set to a state of link disconnection recovery. It should be noted that when the corresponding port is not connected to the cable or the like and the “Membership Report” message is received, the port is set to be released from the software block (step 7-7).

また、受信したIGMPパケットが“Menbership Query(HNQ)”メッセージであるか判定し(ステップ7−8)、“Menbership Query(HNQ)”メッセージである場合、図8の処理フローに示すように、リンク状態情報転送登録テーブルに登録されたマルチキャストIPアドレスに該当するポートの状態を参照し(ステップ8−1)、該ポートの状態がリンク断復旧(リンクアップ)状態であるか否かを判定し(ステップ8−2)、リンク断復旧状態でない場合、あて先IPアドレスを“Menbership Query(HMQ)”メッセージと同一のIPアドレスとし、送信元IPアドレスを自装置のIPアドレスとし、タイプを“Leave Group”としたIGMPパケットを上りリンクポートから送信する(ステップ8−3)。   Also, it is determined whether the received IGMP packet is a “Membership Query (HNQ)” message (step 7-8). If the received IGMP packet is a “Membership Query (HNQ)” message, as shown in the processing flow of FIG. The state of the port corresponding to the multicast IP address registered in the state information transfer registration table is referred to (step 8-1), and it is determined whether or not the state of the port is a link broken recovery (link up) state ( Step 8-2) If the link is not restored, the destination IP address is the same IP address as the “Membership Query (HMQ)” message, the source IP address is the IP address of the local device, and the type is “Leave Group”. The IGMP packet It is transmitted from the port (step 8-3).

また、リンク断復旧(リンクアップ)状態である場合、あて先IPアドレスを“Menbership Query(HMQ)”メッセージと同一のIPアドレスとし、送信元IPアドレスを自装置のIPアドレスとし、タイプを“Menbership Report(HMR)”としたIGMPパケットを上りリンクポートから送信する(ステップ8−4)。   If the link is restored (link up), the destination IP address is the same IP address as the “Membership Query (HMQ)” message, the source IP address is the IP address of the local device, and the type is “Menship Report”. The (HMR) "IGMP packet is transmitted from the uplink port (step 8-4).

図9の(a)及び(b)にリンク断発生時の動作シーケンス及びリンク断復旧時の動作シーケンスをそれぞれ示す。リンク断発生は同図(a)に示すように、第1のレイヤ2スイッチ装置110のリンク状態監視対象ポートでリンク断が発生すると、第1のレイヤ2スイッチ装置110は、該ポートに関連付けられたマルチキャストIPアドレスを含むIGMPの“Leave Group”メッセージを、第2のレイヤ2スイッチ装置120に送信する。   FIGS. 9A and 9B show an operation sequence when a link break occurs and an operation sequence when a link break is restored, respectively. As shown in FIG. 5A, when a link break occurs at the link state monitoring target port of the first layer 2 switch device 110, the first layer 2 switch device 110 is associated with the port. The IGMP “Leave Group” message including the multicast IP address is transmitted to the second layer 2 switch device 120.

第2のレイヤ2スイッチ装置120は、IGMPの“Leave Group”メッセージを受信し、該メッセージに含まれているマルチキャストIPアドレスに関連付けられているポートを、リンク状態情報転送登録テーブルを参照して探索し、該ポートを物理的にリンク断状態にし、第1のレイヤ2スイッチ装置110に対してIGMPの“Group Specific Query(HMQ−SQ)”を返答する。   The second layer 2 switching device 120 receives the IGMP “Leave Group” message and searches the port associated with the multicast IP address included in the message with reference to the link state information transfer registration table. Then, the port is physically brought into a link disconnection state, and an IGMP “Group Specific Query (HMQ-SQ)” is returned to the first layer 2 switching device 110.

また、リンク断復旧時は同図(b)に示すように、第1のレイヤ2スイッチ装置110のリンク状態監視対象ポートでリンク断が復旧すると、第1のレイヤ2スイッチ装置110は、該ポートに関連付けられたマルチキャストIPアドレスを含むIGMPの“Membership Report(HMR)”メッセージを、第2のレイヤ2スイッチ装置120に送信する。   Also, at the time of link disconnection recovery, as shown in FIG. 5B, when link disconnection is recovered at the link state monitoring target port of the first layer 2 switch device 110, the first layer 2 switch device 110 An IGMP “Membership Report (HMR)” message including the multicast IP address associated with is sent to the second layer 2 switch device 120.

第2のレイヤ2スイッチ装置120は、IGMPの“Membership Report(HMR)”メッセージを受信し、該メッセージに含まれているマルチキャストIPアドレスに関連付けられているポートを、リンク状態情報転送登録テーブルを参照して探索し、該ポートを物理的にリンク断復旧(リンクアップ)状態にし、第1のレイヤ2スイッチ装置110に対してIGMPの“Host Membership Query(HMQ)”を返答する。   The second layer 2 switching device 120 receives the IGMP “Membership Report (HMR)” message, and refers to the link state information transfer registration table for the port associated with the multicast IP address included in the message. Then, the port is physically restored to a broken link recovery (link up) state, and an IGMP “Host Membership Query (HMQ)” is returned to the first layer 2 switch device 110.

予め登録したマルチキャストIPアドレスを送信先IPアドレスとするIGMP Host Membership Query(HMQ)パケットにより、自装置と対向装置のリンク状態を一致させる。RFC2236の規定では、Host Membership Query(HMQ)は、定期的(デフォルト125秒毎)にレイヤ2スイッチ装置から送信される。従って、万が一、自装置と対向装置との間でリンク情報通知パケットが破棄されてリンク状態が不一致となった場合でも、Host Membership Query(HMQ)の送信によって自動的に更正することが可能となる。   The link state between the own device and the opposite device is matched by an IGMP Host Membership Query (HMQ) packet having a multicast IP address registered in advance as a destination IP address. According to the specification of RFC2236, the Host Membership Query (HMQ) is transmitted from the layer 2 switching device periodically (default 125 seconds). Therefore, even if the link information notification packet is discarded between the own device and the opposite device and the link state becomes inconsistent, it can be automatically corrected by transmission of the Host Membership Query (HMQ). .

図10にリンクアグリゲーションの構成例を示す。経路冗長化したレイヤ2ネットワークにおいては、リンクアグリゲーションやスパニングツリープロトコルといった方式が主に用いられるが、本発明を適用することにより、冗長経路が複数のレイヤ2スイッチ装置を経由して形成される場合であっても、対向装置にリンク断情報の通知が可能なため、確実に経路切替えが可能となる。   FIG. 10 shows a configuration example of link aggregation. In a layer 2 network with route redundancy, methods such as link aggregation and spanning tree protocol are mainly used. However, by applying the present invention, a redundant route is formed via a plurality of layer 2 switch devices. Even so, since the link disconnection information can be notified to the opposite apparatus, the path can be switched reliably.

例えば、図10の(a)に示すように、レイヤ2スイッチ装置のリンクアグリゲーション構成により冗長経路を形成している場合、第1のレイヤ2スイッチ装置1001と第2のレイヤ2スイッチ装置1002との間にリンク断(D1)が発生すると、第2のレイヤ2スイッチ装置1002がリンク断(D1)の発生を検出し、該リンク断(D1)を通知するGMPパケットをマルチキャスト送信により転送するため、第3レイヤ2スイッチ装置1003は、第4のレイヤ2スイッチ装置1004とを接続している当該中継経路のポートに対してリンク断(D2)の状態にさせ、第1のレイヤ2スイッチ装置1001と第4のレイヤ2スイッチ装置1004との間の中継経路を切替える処理を開始させる。   For example, as shown in FIG. 10A, when a redundant path is formed by the link aggregation configuration of the layer 2 switch device, the first layer 2 switch device 1001 and the second layer 2 switch device 1002 When a link disconnection (D1) occurs in the meantime, the second layer 2 switching device 1002 detects the occurrence of the link disconnection (D1), and forwards the GMP packet notifying the link disconnection (D1) by multicast transmission. The third layer 2 switch device 1003 causes the port of the relay path connecting the fourth layer 2 switch device 1004 to be in a broken link (D2) state, and the first layer 2 switch device 1001 The process of switching the relay path with the fourth layer 2 switch device 1004 is started.

また、図10の(b)に示す例は、メディアコンバータ(MC)を組み合わせた構成例であるが、第1のレイヤ2スイッチ装置1010と第2のレイヤ2スイッチ装置1015の間に、メディアコンバータ(MC)1011,1012を介する第1のルート(R1)と、メディアコンバータ(MC)1013,1012を介する第2のルート(R2)の冗長経路が存在し、運用状態では第2のルート(R2)で接続されているものとする。   In addition, the example shown in FIG. 10B is a configuration example in which a media converter (MC) is combined, but a media converter is provided between the first layer 2 switch device 1010 and the second layer 2 switch device 1015. There is a redundant route of the first route (R1) via the (MC) 1011 and 1012 and the second route (R2) via the media converter (MC) 1013 and 1012, and the second route (R2) in the operational state. ).

ここで、第1のレイヤ2スイッチ装置1010とメディアコンバータ(MC)1013との間でリンク断(D3)が発生しても、該リンク断(D3)を第2のレイヤ2スイッチ装置1015で検出することができず、第2のレイヤ2スイッチ装置1015から見ると第2のルート(R2)は正常であると認識されてしまう。   Here, even if a link break (D3) occurs between the first layer 2 switch device 1010 and the media converter (MC) 1013, the link break (D3) is detected by the second layer 2 switch device 1015. The second route (R2) is recognized as normal when viewed from the second layer 2 switch apparatus 1015.

しかし、本発明を適用することにより、第1のレイヤ2スイッチ装置1010からリンク断情報を、メディアコンバータ1011,1012を通して第2のレイヤ2スイッチ装置1015に転送することで、第2のレイヤ2スイッチ装置1015は経路(ルート)R2の切断状態を認識し、メディアコンバータ1014と第2のレイヤ2スイッチ装置1015との間をリンク断(D4)とし、経路(ルート)R1に切替える処理を開始することが可能となる。   However, by applying the present invention, link disconnection information is transferred from the first layer 2 switch device 1010 to the second layer 2 switch device 1015 through the media converters 1011 and 1012, so that the second layer 2 switch The device 1015 recognizes the disconnection state of the route (route) R2, starts a process of switching to the route (route) R1 by setting the link disconnection (D4) between the media converter 1014 and the second layer 2 switch device 1015. Is possible.

以上、まとめると本発明は、レイヤ2ネットワークにおける2拠点間通信において、物理ポートのリンク断等のリンク状態情報を、IGMPパケットを使用して対向側装置へ通知し、対向側装置の物理ポートのリンク状態を変化させる構成を備えたものである。   In summary, according to the present invention, in communication between two sites in a layer 2 network, link state information such as a link failure of a physical port is notified to the opposite side device using an IGMP packet, and the physical port of the opposite side device is notified. A configuration for changing the link state is provided.

なお、リンク断発生時にリンク断転送用のIGMPパケットを送出するかしないかを判断する構成とすることができる。また、リンク断復旧時にリンク断転送用のIGMPパケットを送出するかしないかを判断する構成とすることができる。また、リンク状態情報転送機能を使用する場合に、予めリンク状態情報の転送を行うポートを事前に登録する構成とすることができる。   In addition, it can be set as the structure which judges whether the IGMP packet for link disconnection transfer is transmitted when a link disconnection generate | occur | produces. Moreover, it can be set as the structure which judges whether the IGMP packet for link disconnection transfer is transmitted at the time of link recovery. Further, when the link state information transfer function is used, it is possible to previously register a port for transferring link state information in advance.

また、自装置の物理ポートと対向装置の物理ポートのリンク状態を関連付けるために、IGMPのマルチキャストIPアドレスを使用する。リンク状態情報転送機能を使用する場合に、リンク断発生又はリンク復旧の通知を、IGMPパケットのタイプフィールドの設定値により使い分け、受信したIGMPパケットのタイプフィールドの値により処理を使い分ける。   Also, an IGMP multicast IP address is used to correlate the link state between the physical port of the own device and the physical port of the opposite device. When the link state information transfer function is used, the notification of link disconnection or link recovery is properly used depending on the setting value of the type field of the IGMP packet, and the processing is properly used depending on the value of the type field of the received IGMP packet.

また、通常のIGMPパケットとリンク状態情報転送用IGMPパケットとを、異なるマルチキャストIPアドレスを用いることにより識別することができる。また、リンク状態情報転送機能を有効に設定し、IGMPの問い合わせ用のパケットの送信により、対向物理ポートのリンク情報を更新する構成とすることができる。   Further, the normal IGMP packet and the link state information transfer IGMP packet can be identified by using different multicast IP addresses. In addition, the link state information transfer function can be set to be effective, and the link information of the opposite physical port can be updated by transmitting an IGMP inquiry packet.

本発明によるリンク断情報の通知の動作説明図である。It is operation | movement explanatory drawing of the notification of link disconnection information by this invention. 複数台のレイヤ2スイッチ装置が介在する場合のリンク断情報の転送の態様を示す図である。It is a figure which shows the aspect of the transfer of link disconnection information in case a several unit | set of layer 2 switch apparatus intervenes. IGMPパケットのフォーマットを示す図である。It is a figure which shows the format of an IGMP packet. IGMPによるリンク状態情報転送機能の設定のフローを示す図である。It is a figure which shows the flow of the setting of the link state information transfer function by IGMP. リンク状態情報転送登録テーブルの格納例を示す図である。It is a figure which shows the example of storage of a link state information transfer registration table. リンク状態情報を通知するIGMPパケット送信側の処理フローを示す図である。It is a figure which shows the processing flow by the side of the IGMP packet transmission side which notifies link state information. リンク状態情報を通知するIGMPパケット受信側の処理フローを示す図である。It is a figure which shows the processing flow by the side of the IGMP packet receiver which notifies link state information. リンク状態情報を通知するIGMPパケット受信側の処理フローを示す図である。It is a figure which shows the processing flow by the side of the IGMP packet receiver which notifies link state information. リンク断発生時の動作シーケンス及びリンク断復旧時の動作シーケンスを示す図である。It is a figure which shows the operation | movement sequence at the time of link disconnection generation, and the operation | movement sequence at the time of link disconnection recovery. リンクアグリゲーションの構成例を示す図である。It is a figure which shows the structural example of a link aggregation.

符号の説明Explanation of symbols

110,120 レイヤ2スイッチ装置
111,112,121 ポート
130 IGMPパケット
110, 120 Layer 2 switch device 111, 112, 121 Port 130 IGMP packet

Claims (2)

リンク状態通知対象のポートの番号とマルチキャストIPアドレスとを関連付けたリンク状態情報転送登録テーブルと、
前記ポートのリンク断の発生又はリンク断復旧を検出したとき、該ポートに関連付けられたマルチキャストIPアドレスを、前記リンク状態情報転送登録テーブルを参照して抽出し、該マルチキャストIPアドレスを含み、リンク断の発生又はリンク断復旧によって異なる設定値をタイプフィールドに設定したインターネットグループ管理プロトコル(IGMP)パケットを、対向側通信装置へ送信する第1の手段と、
インターネットグループ管理プロトコル(IGMP)パケットを受信したとき、該パケットに含まれるマルチキャストIPアドレスに関連付けられたポートの番号を、前記リンク状態情報転送登録テーブルを参照して抽出し、該番号のポートを、該インターネットグループ管理プロトコル(IGMP)パケットのタイプフィールドの設定値に従って、リンク断状態又はリンク断復旧状態に設定する第2の手段と、
を備えたレイヤ2スイッチ装置。
A link state information transfer registration table in which a link state notification target port number and a multicast IP address are associated with each other;
When the occurrence of link breakage or recovery from link breakage of the port is detected, a multicast IP address associated with the port is extracted by referring to the link state information transfer registration table, and includes the multicast IP address. A first means for transmitting an Internet Group Management Protocol (IGMP) packet in which a setting value that is different in a type field depending on occurrence of the occurrence of link failure or link disconnection to the opposite communication device;
When an Internet Group Management Protocol (IGMP) packet is received, the port number associated with the multicast IP address included in the packet is extracted with reference to the link state information transfer registration table, and the port with the number is extracted. A second means for setting the link broken state or the link broken recovery state according to the setting value of the type field of the Internet Group Management Protocol (IGMP) packet;
Layer 2 switch device comprising:
リンク状態通知対象のポートの番号とマルチキャストIPアドレスとを関連付けたリンク状態情報転送登録テーブルを各レイヤ2スイッチ装置に備えておき、
前記レイヤ2スイッチ装置でポートのリンク断の発生又はリンク断復旧を検出したとき、該ポートに関連付けられたマルチキャストIPアドレスを、前記リンク状態情報転送登録テーブルを参照して抽出し、該マルチキャストIPアドレスを含み、リンク断の発生又はリンク断復旧によって異なる設定値をタイプフィールドに設定したインターネットグループ管理プロトコル(IGMP)パケットを、対向側レイヤ2スイッチ装置へ送信する第1のステップと、
前記対向側レイヤ2スイッチ装置においてインターネットグループ管理プロトコル(IGMP)パケットを受信したとき、該パケットに含まれるマルチキャストIPアドレスに関連付けられたポートの番号を、自装置のリンク状態情報転送登録テーブルを参照して抽出し、該番号のポートを、該インターネットグループ管理プロトコル(IGMP)パケットのタイプフィールドの設定値に従って、リンク断状態又はリンク断復旧状態に設定する第2のステップと、
を含むレイヤ2リンク状態情報転送方法。
Each layer 2 switch device has a link state information transfer registration table in which a link state notification target port number and a multicast IP address are associated with each other.
When the occurrence of link breakage or recovery from link breakage is detected in the layer 2 switch device, a multicast IP address associated with the port is extracted with reference to the link state information transfer registration table, and the multicast IP address A first step of transmitting an Internet Group Management Protocol (IGMP) packet in which a setting value is set in a type field according to occurrence of link breakage or link breakage recovery to the opposite layer 2 switch device,
When the opposite side layer 2 switch device receives an Internet Group Management Protocol (IGMP) packet, refer to its own link state information transfer registration table for the port number associated with the multicast IP address included in the packet. A second step of setting the port of the number to a link broken state or a link broken recovery state according to a setting value of a type field of the Internet Group Management Protocol (IGMP) packet;
Layer 2 link state information transfer method including:
JP2007273336A 2007-10-22 2007-10-22 Layer 2 switch device and layer 2 link state information transfer method Expired - Fee Related JP4866823B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007273336A JP4866823B2 (en) 2007-10-22 2007-10-22 Layer 2 switch device and layer 2 link state information transfer method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007273336A JP4866823B2 (en) 2007-10-22 2007-10-22 Layer 2 switch device and layer 2 link state information transfer method

Publications (2)

Publication Number Publication Date
JP2009105519A JP2009105519A (en) 2009-05-14
JP4866823B2 true JP4866823B2 (en) 2012-02-01

Family

ID=40706823

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007273336A Expired - Fee Related JP4866823B2 (en) 2007-10-22 2007-10-22 Layer 2 switch device and layer 2 link state information transfer method

Country Status (1)

Country Link
JP (1) JP4866823B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014171086A (en) * 2013-03-04 2014-09-18 Nec Corp Communication device in network and network configuration changing method
CN107465610A (en) * 2017-09-04 2017-12-12 长沙曙通信息科技有限公司 A kind of exchange network link safeguards implementation method automatically

Also Published As

Publication number Publication date
JP2009105519A (en) 2009-05-14

Similar Documents

Publication Publication Date Title
JP4881564B2 (en) Data transfer device, multicast system, and program
EP2523403B1 (en) Network system and network redundancy method
US7633883B2 (en) System and method for controlling network traffic
CN102904818B (en) A kind of ARP information entry updating method and device
JP4449903B2 (en) Router device and network connection method
JP4542045B2 (en) Data communication apparatus and method
WO2007140683A1 (en) Service protecting method, system and device based on connectionless
WO2011157151A2 (en) Method, device and system for realizing disaster-tolerant backup
JP5764820B2 (en) Transmission system and transmission system control method
JP2007525895A (en) Recovery mechanism for network topology
JP4544415B2 (en) Relay network system, node device, and failure notification method
TWI587661B (en) Method for virtual local area network fail-over management, system therefor and apparatus therewith
JP4866823B2 (en) Layer 2 switch device and layer 2 link state information transfer method
JP2007228293A (en) Node device and communication system
EP2394390B1 (en) Method for using a computer network
JP5518771B2 (en) Redundant network system, termination device and relay point adjacent device
WO2014079193A1 (en) Layer-2 ring network proxy method and equipment
JP4839334B2 (en) Redundant protocol coexistence system and transfer device
JP5954793B2 (en) COMMUNICATION CONNECTION DEVICE, COMMUNICATION CONTROL DEVICE, ITS PROGRAM, AND COMMUNICATION CONTROL METHOD
WO2016095750A1 (en) Communication method and device in virtual switching cluster
JP2013046164A (en) Network system and network failure avoiding method
JP2009027286A (en) Network, network device and transmission path redundancy formation method used for them
JP4992962B2 (en) Data transfer device, multicast system, and program
JP2005354424A (en) Vpls apparatus, managing apparatus, and vpls system
JP2005332085A (en) Communication route control program and device for computer network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090910

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20110915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111024

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: 20111108

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111114

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

Free format text: PAYMENT UNTIL: 20141118

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees