JP2018117195A - Communication device and communication method - Google Patents

Communication device and communication method Download PDF

Info

Publication number
JP2018117195A
JP2018117195A JP2017005459A JP2017005459A JP2018117195A JP 2018117195 A JP2018117195 A JP 2018117195A JP 2017005459 A JP2017005459 A JP 2017005459A JP 2017005459 A JP2017005459 A JP 2017005459A JP 2018117195 A JP2018117195 A JP 2018117195A
Authority
JP
Japan
Prior art keywords
port
frame
mep
unit
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017005459A
Other languages
Japanese (ja)
Inventor
晃広 麻
Akihiro Asa
晃広 麻
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 Ltd
Original Assignee
Fujitsu 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 Ltd filed Critical Fujitsu Ltd
Priority to JP2017005459A priority Critical patent/JP2018117195A/en
Publication of JP2018117195A publication Critical patent/JP2018117195A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication device and a communication method, capable of easily releasing a loop state of a frame.SOLUTION: A communication device includes: a first port for transmitting a supervisory frame addressed to other device; a second port set to a blocking port; a detection unit detecting that the supervisory frame transmitted from the first port is received through the second port; and a control unit stopping the operation of the second port when the detection unit detects the reception of the supervisory frame.SELECTED DRAWING: Figure 14

Description

本件は、通信装置及び通信方法に関する。   The present case relates to a communication device and a communication method.

広域イーサネット(登録商標、以下同様)の通信サービスでは、例えば、複数のノードがリング状に接続されたリングネットワーク(例えば特許文献1及び2参照)が用いられる。各ノードには、例えばレイヤ2スイッチなどの通信装置が設けられており、各ノード間でイーサネットフレームが転送される。   In a wide area Ethernet (registered trademark, hereinafter the same) communication service, for example, a ring network in which a plurality of nodes are connected in a ring shape (see, for example, Patent Documents 1 and 2) is used. Each node is provided with a communication device such as a layer 2 switch, and an Ethernet frame is transferred between the nodes.

リングネットワークでは、例えばITU−T勧告G.8032の規定されたERP(Ethernet Ring Protection)に従い自動プロテクション切り替え(APS: Automatic Protection Switching)が実行される。この場合、ユーザの通信経路の端点に該当する各ノードには、イーサネットOAM(Operations, Administrations and Maintenance)に規定されるMEP(Maintenance Entity Group End Point)が設定される。各MEP間ではCCM(Continuity Check Message)フレームが送受信されることにより通信経路の正常性が確認される(例えば特許文献3参照)。   In the ring network, for example, ITU-T Recommendation G. Automatic protection switching (APS) is executed in accordance with 8032 specified ERP (Ethernet Ring Protection). In this case, a MEP (Maintenance Entity Group End Point) defined in Ethernet OAM (Operations, Administrations and Maintenance) is set in each node corresponding to the end point of the user communication path. The normality of the communication path is confirmed by transmitting and receiving a CCM (Continuity Check Message) frame between each MEP (see, for example, Patent Document 3).

特開2012−10020号公報JP 2012-10020 A 特開2013−157682号公報JP 2013-157682 A 特開2016−40885号公報JP, 2006-40885, A

例えば、複数のリングネットワークが接続されたシステムが用いられる場合、クライアントネットワークに接続された各リングネットワークにMEPがそれぞれ設定されるため、CCMフレームは複数のリングネットワークを経由して送受信される。各リングネットワークの所定のノードでは、イーサネットフレームがリングネットワーク内をループしないように、特定のポートがブロックポートに設定されている。   For example, when a system in which a plurality of ring networks are connected is used, MEPs are set in each ring network connected to the client network, so that the CCM frame is transmitted / received via the plurality of ring networks. In a predetermined node of each ring network, a specific port is set as a block port so that the Ethernet frame does not loop in the ring network.

しかし、ブロッキングポートのブロッキング機能が何らかの原因で故障した場合、そのノードのMEPから送信されたCCMフレームは、廃棄されずにリングネットワーク内をループして送信元のMEPで受信されることにより警報が出力される。また、他のリングネットワークのMEPから送信されたCCMも、上記のリングネットワーク内をループするため、送信元のMEPで受信されることにより警報が出力される。   However, if the blocking function of the blocking port fails for some reason, the CCM frame transmitted from the MEP of that node is not discarded but looped in the ring network and received by the source MEP. Is output. In addition, since CCMs transmitted from MEPs of other ring networks also loop in the ring network, an alarm is output when received by the source MEP.

このようなループが生ずると、ネットワーク全体でイーサネットフレームの輻輳が発生して、通信サービスの品質が低下するおそれがある。上記の警報からは、ループの発生は検出できても、ループの原因となるノード、つまりブロッキングポートのブロッキング機能が故障したノードを特定することは不可能であるため、ループ状態を解除することが困難である。なお、この問題は、イーサネットフレームのネットワークに限定されず、IP(Internet Protocol)パケットなどの他のフレームのネットワークについても同様に存在する。   When such a loop occurs, there is a possibility that Ethernet frame congestion occurs in the entire network and the quality of the communication service is deteriorated. From the above alarm, it is impossible to identify the node that causes the loop, that is, the node that failed the blocking function of the blocking port. Have difficulty. This problem is not limited to the Ethernet frame network, but also exists in other frame networks such as IP (Internet Protocol) packets.

そこで本件は、フレームのループ状態を容易に解除することができる通信装置及び通信方法を提供することを目的とする。   Therefore, an object of the present invention is to provide a communication device and a communication method that can easily cancel a frame loop state.

1つの態様では、通信装置は、他装置宛ての監視フレームを送信するための第1ポートと、ブロッキングポートに設定された第2ポートと、前記第1ポートから送信された前記監視フレームが、前記第2ポートから受信されたことを検出する検出部と、前記検出部が前記監視フレームの受信を検出した場合、前記第2ポートの動作を停止させる制御部とを有する。   In one aspect, the communication apparatus includes a first port for transmitting a monitoring frame addressed to another apparatus, a second port set as a blocking port, and the monitoring frame transmitted from the first port. A detection unit configured to detect reception from the second port; and a control unit configured to stop the operation of the second port when the detection unit detects reception of the monitoring frame.

1つの態様では、通信方法は、第1ポートから他装置宛ての監視フレームを送信し、前記第1ポートから送信された前記監視フレームが、ブロッキングポートに設定された第2ポートから受信されたことを検出した場合、前記第2ポートの動作を停止させる。   In one aspect, the communication method transmits a monitoring frame addressed to another device from a first port, and the monitoring frame transmitted from the first port is received from a second port set as a blocking port. Is detected, the operation of the second port is stopped.

1つの側面として、フレームのループ状態を容易に解除することができる。   As one aspect, the loop state of the frame can be easily released.

ネットワークシステムの一例を示す構成図である。It is a block diagram which shows an example of a network system. MEP設定情報の例を示す図である。It is a figure which shows the example of MEP setting information. CCMフレームのフォーマットの一例及びパラメータの例を示す図である。It is a figure which shows an example of a format of a CCM frame, and an example of a parameter. ループ発生時のネットワークシステムの一例を示す構成図である。It is a block diagram which shows an example of the network system at the time of loop generation. レイヤ2スイッチの一例を示す構成図である。It is a block diagram which shows an example of a layer 2 switch. 正常時のブロッキング動作の一例を示す図である。It is a figure which shows an example of the blocking operation at the time of normal. 異常時のブロッキング動作の例を示す図である。It is a figure which shows the example of the blocking operation | movement at the time of abnormality. 回線ユニットの一例を示す構成図である。It is a block diagram which shows an example of a line unit. イングレス方向のフレームの転送処理の一例を示すフローチャートである。It is a flowchart which shows an example of the transfer process of the frame of an ingress direction. イーグレス方向のフレームの転送処理の一例を示すフローチャートである。It is a flowchart which shows an example of the transfer process of the flame | frame of an egress direction. 通常時のアドレス学習テーブルの例を示す図である。It is a figure which shows the example of the address learning table at the normal time. ループ発生時のアドレス学習テーブルの例を示す図である。It is a figure which shows the example of the address learning table at the time of loop generation. リング制御テーブルの例を示す図である。It is a figure which shows the example of a ring control table. CCMフレームの受信処理の一例を示すフローチャートである。It is a flowchart which shows an example of the reception process of a CCM frame. ループ警報の検出処理の一例を示すフローチャートである。It is a flowchart which shows an example of the detection process of a loop alarm.

図1は、ネットワークシステムの一例を示す構成図である。ネットワークシステムには、リングネットワークNW#1〜NW#3が含まれる。リングネットワーク#1にはノードNa〜Ncが含まれ、リングネットワーク#2にはノードNb,Nd,Nfが含まれ、リングネットワーク#3にはノードNd,Neが含まれている。   FIG. 1 is a configuration diagram illustrating an example of a network system. The network system includes ring networks NW # 1 to NW # 3. The ring network # 1 includes nodes Na to Nc, the ring network # 2 includes nodes Nb, Nd, and Nf, and the ring network # 3 includes nodes Nd and Ne.

リングネットワークNW#2は、ノードNbにおいてリングネットワークNW#1と接続され、ノードNdにおいてリングネットワークNW#3と接続されている。なお、リングネットワークNW#1は第1リングネットワークの一例であり、リングネットワークNW#2は第2リングネットワークの一例であり、NW#3は第3リングネットワークの一例である。   The ring network NW # 2 is connected to the ring network NW # 1 at the node Nb, and is connected to the ring network NW # 3 at the node Nd. The ring network NW # 1 is an example of the first ring network, the ring network NW # 2 is an example of the second ring network, and the NW # 3 is an example of the third ring network.

各ノードNa〜Nfには、通信装置の一例であるレイヤ2スイッチ1が設けられている。レイヤ2スイッチ1は、他装置から受信したイーサネットフレームをその宛先に応じた方路(伝送路)に転送する。なお、本例ではフレームの一例として、イーサネットフレームを挙げるが、これに限定されず、IPパケットが用いられてもよい。以下の説明では、各種のイーサネットフレームを「フレーム」と表記する。   Each node Na to Nf is provided with a layer 2 switch 1 which is an example of a communication device. The layer 2 switch 1 transfers the Ethernet frame received from the other device to a route (transmission route) corresponding to the destination. In this example, an Ethernet frame is given as an example of a frame, but the present invention is not limited to this, and an IP packet may be used. In the following description, various Ethernet frames are referred to as “frames”.

各レイヤ2スイッチ1には、他装置とフレームを送受信するための複数のポートA1〜A3,C1〜C3,E1〜E3が設けられている。各レイヤ2スイッチ1は、複数のポートA1〜A3,C1〜C3,E1〜E3を介して他装置との間でフレームを送受信する。なお、ノードNa,Nc,Ne以外の各レイヤ2スイッチ1のポートの図示は省略されている。   Each layer 2 switch 1 is provided with a plurality of ports A1 to A3, C1 to C3, and E1 to E3 for transmitting and receiving frames with other devices. Each layer 2 switch 1 transmits and receives frames to and from other devices via a plurality of ports A1 to A3, C1 to C3, and E1 to E3. In addition, illustration of the port of each layer 2 switch 1 other than node Na, Nc, Ne is abbreviate | omitted.

ノードNaのレイヤ2スイッチ1はポートA1〜A3を有する。ポートA1及びポートA2は、同一のリングネットワークNW#1内のノードNb,Ncにそれぞれ接続されたリングポートであり、ポートA3は、クライアントネットワークNWaと接続されたアクセスポートである。   The layer 2 switch 1 of the node Na has ports A1 to A3. The port A1 and the port A2 are ring ports connected to the nodes Nb and Nc in the same ring network NW # 1, respectively, and the port A3 is an access port connected to the client network NWa.

ポートA3のインターフェースには、MACアドレスがβに設定されたMEPが設定されている。MEPは、OAM機能の監視点であり、ネットワークシステム内のユーザの通信経路の端点に位置する。   The MEP with the MAC address set to β is set for the interface of the port A3. The MEP is a monitoring point of the OAM function, and is located at the end point of the user communication path in the network system.

ノードNcのレイヤ2スイッチ1はポートC1〜C3を有する。ポートC1及びポートC2は、同一のリングネットワークNW#1内のノードNa,Nbにそれぞれ接続されたリングポートであり、ポートC3は、クライアントネットワークNWcと接続されたアクセスポートである。ポートC3のインターフェースには、MACアドレスがγに設定されたMEPが設定されている。   The layer 2 switch 1 of the node Nc has ports C1 to C3. The port C1 and the port C2 are ring ports connected to the nodes Na and Nb in the same ring network NW # 1, respectively, and the port C3 is an access port connected to the client network NWc. The MEP with the MAC address set to γ is set for the interface of the port C3.

ノードNeのレイヤ2スイッチ1はポートE1〜E3を有する。ポートE1及びポートE2は、同一のリングネットワークNW#2内のノードNdに接続されたリングポートであり、ポートE3は、クライアントネットワークNWeと接続されたアクセスポートである。ポートE3のインターフェースには、MACアドレスがαに設定されたMEPが設定されている。   The layer 2 switch 1 of the node Ne has ports E1 to E3. The port E1 and the port E2 are ring ports connected to the node Nd in the same ring network NW # 2, and the port E3 is an access port connected to the client network NWe. The MEP with the MAC address set to α is set for the interface of the port E3.

ノードNa,Nc,Neの各MEPは、互いの接続の正常性を確認するために所定の周期でCCMフレームを送受信する。各MEPは、所定の周期内に正常なCCMフレームを他のMEPから受信することによりそのMEPとの接続が正常であることを確認する。MEPは、MEP設定情報により各種のパラメータが設定される。なお、CCMフレームは、MEP間の通信経路を監視するための監視フレームの一例である。   Each MEP of the nodes Na, Nc, and Ne transmits and receives a CCM frame at a predetermined period in order to confirm the normality of the connection. Each MEP confirms that the connection with the MEP is normal by receiving a normal CCM frame from another MEP within a predetermined period. In MEP, various parameters are set by MEP setting information. The CCM frame is an example of a monitoring frame for monitoring a communication path between MEPs.

図2は、MEP設定情報の例を示す図である。MEP設定情報には、「MEG(Maintenance Entity Group) ID」、「VLAN(Virtual Local Area Network) ID」、「MEG Level」、「MEP ID」、及び「MAC(Media Access Control)アドレス」が含まれる。   FIG. 2 is a diagram illustrating an example of MEP setting information. The MEP setting information includes “MEG (Maintenance Entity Group) ID”, “VLAN (Virtual Local Area Network) ID”, “MEG Level”, “MEP ID”, and “MAC (Media Access Control) address”. .

「MEG ID」は、MEPが属するMEGの識別子である。MEGは、同一の管理環境下にあるNE(Network Element)のMEPが属するグループである。「VLAN ID」は、MEPがCCMフレームの送受信に使用するVLAN(論理チャネル)のVIDである。「MEG Level」は、MEPが動作するOAMフローのレベルである。「MEP ID」は、MEPの識別子である。「MACアドレス」は、MEPのMACアドレスである。   “MEG ID” is an identifier of the MEG to which the MEP belongs. The MEG is a group to which NE (Network Element) MEPs under the same management environment belong. “VLAN ID” is a VID of a VLAN (logical channel) used by the MEP for transmission / reception of the CCM frame. “MEG Level” is the level of the OAM flow in which the MEP operates. “MEP ID” is an identifier of the MEP. “MAC address” is the MAC address of the MEP.

ノードNa,Nc,Neの各MEPには、「MEG ID」=AAA、「VLAN ID」=100、及び「MEG Level」=4が設定されている。また、ノードNaのMEPには、「MEP ID」=20及び「MACアドレス」=βが設定され、ノードNcのMEPには、「MEP ID」=30及び「MACアドレス」=γが設定されている。ノードNeのMEPには、「MEP ID」=10及び「MACアドレス」=αが設定されている。   In each MEP of the nodes Na, Nc, and Ne, “MEG ID” = AAA, “VLAN ID” = 100, and “MEG Level” = 4 are set. In addition, “MEP ID” = 20 and “MAC address” = β are set in the MEP of the node Na, and “MEP ID” = 30 and “MAC address” = γ are set in the MEP of the node Nc. Yes. In the MEP of the node Ne, “MEP ID” = 10 and “MAC address” = α are set.

MEP設定情報は、レイヤ2スイッチ1のメモリに格納されており、レイヤ2スイッチ1は、MEP設定情報に従いMEPを設定する。   The MEP setting information is stored in the memory of the layer 2 switch 1, and the layer 2 switch 1 sets the MEP according to the MEP setting information.

図3は、CCMフレームのフォーマットの一例及びパラメータの例を示す図である。符号Gaは、CCMフレームのフォーマットの一例を示し、符号Gbは、CCMフレームのパラメータの例を示す。   FIG. 3 is a diagram illustrating an example of a format of a CCM frame and an example of parameters. Symbol Ga indicates an example of a format of a CCM frame, and symbol Gb indicates an example of a parameter of the CCM frame.

符号Gaで示されるように、CCMフレームには、L2ヘッダ、OAMヘッダ、CCデータ、FCS(Frame Check Sequence)が含まれている。FCSは、L2ヘッダ、OAMヘッダ、及びCCデータの付符号誤り検出に用いられる。   As indicated by symbol Ga, the CCM frame includes an L2 header, an OAM header, CC data, and an FCS (Frame Check Sequence). The FCS is used for detecting a code error of the L2 header, the OAM header, and the CC data.

L2ヘッダには、宛先MACアドレスであるDA(Destination Address)、送信元MACアドレスであるSA(Source Address)、及びVLANタグが含まれる。DAには、OAM用のマルチキャストアドレスである「01:80:c2:**:**:**」(**は任意の数)が設定される。SAには、送信元のMEPのMACアドレス(α、β、γ)が設定される。VLANタグには、MEPの「VLAN ID」(VID)が含まれている。   The L2 header includes a destination MAC address DA (Destination Address), a source MAC address SA (Source Address), and a VLAN tag. In DA, “01: 80: c2: **: **: **” (** is an arbitrary number) that is a multicast address for OAM is set. In the SA, the MAC address (α, β, γ) of the source MEP is set. The VLAN tag includes a MEP “VLAN ID” (VID).

OAMヘッダには、「Ether Type」、「MEG Level」、及び「Version」が含まれる。「Ether Type」は、OAMフレームを示す固定値「0x8902」(0xは16進数表記を示す)が設定され、「MEG Level」には、送信元のMEPの「MEG Level」が設定される。「Version」には、OAMプロトコルのバージョンが設定される。   The OAM header includes “Ether Type”, “MEG Level”, and “Version”. “Ether Type” is set to a fixed value “0x8902” (0x represents hexadecimal notation) indicating an OAM frame, and “MEG Level” is set to “MEG Level” of the source MEP. In “Version”, the version of the OAM protocol is set.

CCデータには、「OpeCode」、「Period」、「MEP ID」、「MEG ID」、及び「Data」が含まれる。「OpeCode」には、CCMを示す固定値「0x01」が設定され、「Period」には、CCMフレームの送受信の周期が設定される。「MEP ID」及び「MEG ID」には、送信元のMEPの「MEP ID」及び「MEG ID」がそれぞれ設定される。「MEP ID」は、CCMフレームの送信元の識別子の一例である。また、「Data」には、任意のパタンのデータが設定される。   The CC data includes “OpeCode”, “Period”, “MEP ID”, “MEG ID”, and “Data”. In “OpeCode”, a fixed value “0x01” indicating CCM is set, and in “Period”, a CCM frame transmission / reception cycle is set. In “MEP ID” and “MEG ID”, “MEP ID” and “MEG ID” of the source MEP are set, respectively. “MEP ID” is an example of an identifier of a transmission source of a CCM frame. In addition, data of an arbitrary pattern is set in “Data”.

符号Gbを参照すると、ノードNa〜Neの各MEPが送信するCCMフレームにおいて、一例として、DAは「01:80:c2:**:**:**」に設定され、「VLAN ID」は100に設定されている。また、一例として、「MEG Level」は4に設定され、「MEG ID」はAAAに設定されている。   Referring to the symbol Gb, in the CCM frame transmitted by each MEP of the nodes Na to Ne, as an example, DA is set to “01: 80: c2: **: **: **”, and “VLAN ID” is 100 is set. As an example, “MEG Level” is set to 4, and “MEG ID” is set to AAA.

また、ノードNaのMEPが送信するCCMフレームにおいて、SAには、そのMEPのMACアドレスであるβが設定され、「MEP ID」には、そのMEPの「MEP ID」である20が設定されている。ノードNcのMEPが送信するCCMフレームにおいて、SAには、そのMEPのMACアドレスであるγが設定され、「MEP ID」には、そのMEPの「MEP ID」である30が設定されている。ノードNeのMEPが送信するCCMフレームにおいて、SAには、そのMEPのMACアドレスであるαが設定され、「MEP ID」には、そのMEPの「MEP ID」である10が設定されている。   Further, in the CCM frame transmitted by the MEP of the node Na, β that is the MAC address of the MEP is set in the SA, and 20 that is the “MEP ID” of the MEP is set in the “MEP ID”. Yes. In the CCM frame transmitted by the MEP of the node Nc, γ that is the MAC address of the MEP is set in the SA, and 30 that is the “MEP ID” of the MEP is set in the “MEP ID”. In the CCM frame transmitted by the MEP of the node Ne, α that is the MAC address of the MEP is set in the SA, and 10 that is the “MEP ID” of the MEP is set in the “MEP ID”.

再び図1を参照すると、ノードNa,Nc,Neの各MEPは、CCMフレームの送受信によりアクセスポートA3,C3,E3の間の通信経路Ra,Rb,Rcの正常性を確認する。ノードNa,Ncの各MEPは、ノードNbを経由する通信経路Raを介しCCMフレームを送受信する。ノードNa,Neの各MEPは、ノードNb,Ndを経由する通信経路Rbを介しCCMフレームを送受信する。ノードNc,Neの各MEPは、ノードNb,Ndを経由する通信経路Rcを介しCCMフレームを送受信する。   Referring to FIG. 1 again, each MEP of the nodes Na, Nc, and Ne confirms the normality of the communication paths Ra, Rb, and Rc between the access ports A3, C3, and E3 by transmitting and receiving CCM frames. Each MEP of the nodes Na and Nc transmits and receives a CCM frame via a communication path Ra passing through the node Nb. Each MEP of the nodes Na and Ne transmits and receives a CCM frame via a communication path Rb passing through the nodes Nb and Nd. Each MEP of the nodes Nc and Ne transmits and receives a CCM frame via a communication path Rc passing through the nodes Nb and Nd.

リングネットワークNW#1〜NW#3のノードNa,Ne,Nfには、フレームがリングネットワークNW#1〜NW#3内をループしないようにブロッキングポートが設定されている。リングネットワークNW#1では、ノードNaのレイヤ2スイッチ1のポートA2がブロッキングポートに設定されている。このため、ポートA2と隣接ノードNcを結ぶ区間Rxではフレームの送受信が不可能である。なお、ポートA2は第2ポートの一例である。   Blocking ports are set in the nodes Na, Ne, and Nf of the ring networks NW # 1 to NW # 3 so that the frame does not loop in the ring networks NW # 1 to NW # 3. In the ring network NW # 1, the port A2 of the layer 2 switch 1 of the node Na is set as a blocking port. For this reason, frame transmission / reception is impossible in the section Rx connecting the port A2 and the adjacent node Nc. Port A2 is an example of the second port.

また、ノードNaのレイヤ2スイッチ1のポートA1は、ノードNc,Ne宛てのCCMフレームを送信するための送信ポートと、送信元がノードNc,NeであるCCMフレームを受信するための受信ポートとして機能する。なお、送信ポートは第1ポートの一例であり、受信ポートは第3ポートの一例である。   The port A1 of the layer 2 switch 1 of the node Na is a transmission port for transmitting a CCM frame addressed to the nodes Nc and Ne, and a reception port for receiving a CCM frame whose transmission source is the nodes Nc and Ne. Function. The transmission port is an example of a first port, and the reception port is an example of a third port.

リングネットワークNW#2では、ノードNfのレイヤ2スイッチ1のポートのうち、隣接ノードNdと接続されたポートがブロッキングポートに設定されている。このため、そのポートと隣接ノードNdを結ぶ区間ではフレームの送受信が不可能である。   In the ring network NW # 2, among the ports of the layer 2 switch 1 of the node Nf, the port connected to the adjacent node Nd is set as a blocking port. For this reason, frame transmission / reception is impossible in the section connecting the port and the adjacent node Nd.

リングネットワークNW#3では、ノードNeのレイヤ2スイッチ1のポートE1がブロッキングポートに設定されている。このため、ポートE1と隣接ノードNdを結ぶ区間ではフレームの送受信が不可能である。   In the ring network NW # 3, the port E1 of the layer 2 switch 1 of the node Ne is set as a blocking port. For this reason, frame transmission / reception is impossible in the section connecting the port E1 and the adjacent node Nd.

しかし、例えば、ブロッキングポートに設定されたポートA2のブロッキング機能が何らかの原因で故障した場合、ノードNaのMEPから送信されたCCMフレームは、廃棄されずにリングネットワークNW#1内をループして送信元のMEPで受信されることにより警報が出力される。また、他のリングネットワークNW#3のMEPから送信されたCCMも、リングネットワークNW#1内をループするため、送信元のMEPで受信されることにより警報が出力される。以下に例を挙げて説明する。   However, for example, when the blocking function of the port A2 set as a blocking port fails for some reason, the CCM frame transmitted from the MEP of the node Na is not discarded but transmitted in a loop in the ring network NW # 1. An alarm is output when received in the original MEP. Further, since the CCM transmitted from the MEP of the other ring network NW # 3 also loops in the ring network NW # 1, an alarm is output when it is received by the source MEP. An example will be described below.

図4は、ループ発生時のネットワークシステムの一例を示す構成図である。ポートA2のブロッキング機能が故障(「故障」参照)すると、ポートA2と隣接ノードNcを結ぶ区間Rxでフレームの送受信が可能となる。このため、リングネットワークNW#1において、ノードNa,Nc,Nbの順にフレームが伝送される方向(紙面右回り方向)のループLaと、ノードNa,Nb,Ncの順にフレームが伝送される方向(紙面左回り方向)のループLbとが発生する。   FIG. 4 is a configuration diagram illustrating an example of a network system when a loop occurs. When the blocking function of the port A2 fails (see “failure”), frames can be transmitted and received in the section Rx connecting the port A2 and the adjacent node Nc. Therefore, in ring network NW # 1, loop La in the direction in which frames are transmitted in the order of nodes Na, Nc, and Nb (clockwise direction in the drawing) and the direction in which frames are transmitted in the order of nodes Na, Nb, and Nc ( A loop Lb in the counterclockwise direction).

CCMフレームは、マルチキャストされるため、ループLa,Lbにより送信元のMEPで受信される。ノードNaのMEPから送信されたCCMフレームは、ループLbに従い、ノードNb,Ncを経由してノードNaのMEPで受信される。ノードNcのMEPから送信されたCCMフレームは、ループLaに従い、ノードNb,Naを経由してノードNcのMEPで受信される。ノードNeのMEPから送信されたCCMフレームは、ノードNdを経由してリングネットワークNW#1に入った後、ループLaに従い、ノードNb,Na,Ncを経由してノードNdからリングネットワークNW#3に戻り、ノードNeのMEPで受信される。   Since the CCM frame is multicast, it is received by the source MEP through the loops La and Lb. The CCM frame transmitted from the MEP of the node Na is received by the MEP of the node Na via the nodes Nb and Nc according to the loop Lb. The CCM frame transmitted from the MEP of the node Nc is received by the MEP of the node Nc via the nodes Nb and Na according to the loop La. The CCM frame transmitted from the MEP of the node Ne enters the ring network NW # 1 via the node Nd, and then from the node Nd to the ring network NW # 3 via the nodes Nb, Na, and Nc according to the loop La. Returning to FIG. 4, the node Ne receives the MEP.

ノードNa,Nc,Neの各MEPは、自ら送信したMEPを受信した場合、警報として「UnexpectedMEP」を出力する。ループLa,Lbが生ずると、ネットワークシステム全体でフレームの輻輳が発生して、通信サービスの品質が低下するおそれがある。「UnexpectedMEP」の警報からは、ループの発生は検出できても、ループLa,Lbの発生及びその原因となるノードNa、つまりブロッキングポートA2のブロッキング機能が故障したノードNaを特定することは不可能であるため、ループ状態を解除することが困難である。   Each MEP of the nodes Na, Nc, and Ne outputs “UnexpectedMEP” as an alarm when receiving the MEP transmitted by itself. When the loops La and Lb occur, frame congestion occurs in the entire network system, and there is a possibility that the quality of the communication service is deteriorated. Although the occurrence of a loop can be detected from the “Unexpected MEP” alarm, it is impossible to identify the occurrence of the loops La and Lb and the node Na that causes them, that is, the node Na in which the blocking function of the blocking port A2 has failed. Therefore, it is difficult to cancel the loop state.

図5は、レイヤ2スイッチ1の一例を示す構成図である。レイヤ2スイッチ1は、管理ユニット90、複数の回線ユニット(#1〜#N)(N:正の整数)91、及びバックボード92を有する。なお、本例では、ノードNaのレイヤ2スイッチ1を挙げるが、他のノードNc〜Nfのレイヤ2スイッチ1も同様の構成を有する。   FIG. 5 is a configuration diagram illustrating an example of the layer 2 switch 1. The layer 2 switch 1 includes a management unit 90, a plurality of line units (# 1 to #N) (N: a positive integer) 91, and a backboard 92. In this example, the layer 2 switch 1 of the node Na is given, but the layer 2 switches 1 of the other nodes Nc to Nf have the same configuration.

管理ユニット90及び複数の回線ユニット91は、例えば、複数の電気部品が実装された回路基板により構成され、レイヤ2スイッチ1の筐体に設けられたスロットに実装される。管理ユニット90及び複数の回線ユニット91は、例えばスロットの背面側に設けられたバックボード92の電気配線と電気コネクタなどを介して接続され、バックボード92を介して互いにフレームFRM及び制御データCTLを入出力する。なお、レイヤ2スイッチ1は、上記の形態に限定されず、管理ユニット90と複数の回線ユニット91が1つの回路基板として構成されたものであってもよい。   The management unit 90 and the plurality of line units 91 are configured by, for example, a circuit board on which a plurality of electrical components are mounted, and are mounted in slots provided in the casing of the layer 2 switch 1. The management unit 90 and the plurality of line units 91 are connected to, for example, an electrical wiring of a backboard 92 provided on the back side of the slot via an electrical connector, etc. Input and output. The layer 2 switch 1 is not limited to the above-described form, and the management unit 90 and the plurality of line units 91 may be configured as one circuit board.

管理ユニット90は、例えばCPU(Central Processing Unit)回路などから構成され、ポートPcを介してネットワーク管理装置と通信する。管理ユニット90は、ネットワーク管理装置の指示に従い各回線ユニット91に各種の設定及び制御を行う。   The management unit 90 includes, for example, a CPU (Central Processing Unit) circuit and the like, and communicates with the network management device via the port Pc. The management unit 90 performs various settings and controls for each line unit 91 in accordance with instructions from the network management apparatus.

回線ユニット91は、複数のポートを介して他装置とフレームを送受信する。一例として、ポートA1は回線ユニット(#1)91に設けられ、ポートA2は回線ユニット(#2)91に設けられ、ポートA3は回線ユニット(#N)91に設けられている。なお、各回線ユニット91の他のポートの図示は省略する。   The line unit 91 transmits and receives frames to and from other devices via a plurality of ports. As an example, the port A1 is provided in the line unit (# 1) 91, the port A2 is provided in the line unit (# 2) 91, and the port A3 is provided in the line unit (#N) 91. Illustration of other ports of each line unit 91 is omitted.

ポートA1はノードNbに接続され、ポートA2はノードNcに接続され、ポートA3はクライアントネットワークNWaに接続されている。また、ポートA2は管理ユニット90によりブロッキングポートに設定されている。   The port A1 is connected to the node Nb, the port A2 is connected to the node Nc, and the port A3 is connected to the client network NWa. Port A2 is set as a blocking port by the management unit 90.

各回線ユニット91は、バックボード92を介してフレームを入出力する。回線ユニット(#N)91には、管理ユニット90によりMEPが設定されており、MEPはCCMフレームの送受信を行う。符号Rcは、CCMフレームの送受信の経路を示す。ポートA1から入力されたCCMフレームは、バックボード92を経由して回線ユニット(#N)91に入力されてMEPで受信される。   Each line unit 91 inputs and outputs a frame via the backboard 92. A MEP is set in the line unit (#N) 91 by the management unit 90, and the MEP transmits and receives a CCM frame. A symbol Rc indicates a transmission / reception path of the CCM frame. The CCM frame input from the port A1 is input to the line unit (#N) 91 via the backboard 92 and received by the MEP.

また、MEPから送信されたCCMフレームは、バックボード92を経由して回線ユニット(#1)91に入力されてポートA1から送信される。ブロッキングポートであるポートA2のブロッキング機能が正常である場合、ポートA2から入力されたCCMフレームは、符号Rdで示されるように、バックボード92に入力されずに回線ユニット(#2)91内で廃棄される(「廃棄」参照)。このため、MEPは、自ら送信したCCMフレームを受信することがない。なお、他の回線ユニット(#1,#N)から回線ユニット(#2)1に入力されたCCMフレームも、ポートA2宛ての場合、廃棄される。   The CCM frame transmitted from the MEP is input to the line unit (# 1) 91 via the back board 92 and transmitted from the port A1. When the blocking function of the port A2, which is a blocking port, is normal, the CCM frame input from the port A2 is not input to the backboard 92, as indicated by the symbol Rd, in the line unit (# 2) 91. Discarded (see “Discarding”). For this reason, the MEP does not receive the CCM frame transmitted by itself. Note that the CCM frame input from the other line units (# 1, #N) to the line unit (# 2) 1 is also discarded when it is addressed to the port A2.

しかし、ブロッキングポートであるポートA2のブロッキング機能が異常である場合、MEPがポートA1から送信したCCMフレームは、符号Rfで示されるように、回線ユニット(#2)91内で廃棄されずにバックボード92に入力される。このため、MEPは、自ら送信したCCMフレームを受信する。   However, when the blocking function of the port A2, which is a blocking port, is abnormal, the CCM frame transmitted from the port A1 by the MEP is not discarded in the line unit (# 2) 91, as indicated by the symbol Rf. Input to the board 92. For this reason, the MEP receives the CCM frame transmitted by itself.

図6は、正常時のブロッキング動作の一例を示す図である。図6には、回線ユニット(#2)91の構成の一部が示されている。   FIG. 6 is a diagram illustrating an example of a normal blocking operation. FIG. 6 shows a part of the configuration of the line unit (# 2) 91.

回線ユニット91において、フレームはFPGA(Field Programmable Gate Array)910により処理されてバックボード92に出力される。FPGA910の回路は、コンフィグレーションメモリ911に記憶された回路データに基づき形成され、これにより各種のフレーム処理機能が構成される。なお、フレーム処理機能は、FPGAに限らず、ASIC(Application Specific Integrated Circuit)、あるいはCPUなどのプロセッサを駆動するソフトウェアにより構成されてもよい。   In the line unit 91, the frame is processed by an FPGA (Field Programmable Gate Array) 910 and output to the backboard 92. The circuit of the FPGA 910 is formed based on circuit data stored in the configuration memory 911, and thereby various frame processing functions are configured. Note that the frame processing function is not limited to the FPGA, and may be configured by an application specific integrated circuit (ASIC) or software that drives a processor such as a CPU.

ポートA2から入力されたCCMフレームは、その入力ポート(A2)に基づく転送/ブロック管理テーブル(TBL)112の参照結果により転送または廃棄の何れの処理が行われるかが決定される。転送/ブロック管理テーブル112には、ブロッキングポートであるポートA2についてはブロック情報(BLK情報)が登録されている。このため、CCMフレームの内部ヘッダには、ブロック情報が付与される。なお、内部ヘッダは、レイヤ2スイッチ1内でフレームに付与されるフレーム処理に関する情報領域である。   Whether the CCM frame input from the port A2 is transferred or discarded is determined based on the reference result of the transfer / block management table (TBL) 112 based on the input port (A2). In the transfer / block management table 112, block information (BLK information) is registered for the port A2, which is a blocking port. For this reason, block information is added to the internal header of the CCM frame. The internal header is an information area related to frame processing given to a frame in the layer 2 switch 1.

フレーム廃棄部151は、内部ヘッダに付与された情報に従いフレームを処理する。CCMフレームの内部ヘッダにはブロック情報が付与されているため、フレーム廃棄部151は、CCMフレームを廃棄する(「廃棄」参照)。   The frame discard unit 151 processes the frame according to the information given to the internal header. Since block information is attached to the internal header of the CCM frame, the frame discard unit 151 discards the CCM frame (see “Discard”).

図7は、異常時のブロッキング動作の例を示す図である。図7には、コンフィグレーションメモリ911のエラー(「エラー」参照)により起こる異常例1と異常例2が示されている。なお、図7において、図6と共通する構成には同一の符号を付し、その説明を省略する。コンフィグレーションメモリ911のエラーとしては、宇宙線による記憶データの破壊などが挙げられるが、これに限定されない。   FIG. 7 is a diagram illustrating an example of a blocking operation at the time of abnormality. FIG. 7 shows an abnormality example 1 and an abnormality example 2 caused by an error in the configuration memory 911 (see “error”). In FIG. 7, the same components as those in FIG. 6 are denoted by the same reference numerals, and the description thereof is omitted. Examples of errors in the configuration memory 911 include, but are not limited to, destruction of stored data due to cosmic rays.

異常例1では、コンフィグレーションメモリ911のエラーによりフレーム廃棄部151が故障(「故障」参照)した場合を挙げる。この場合、CCMフレームの内部ヘッダにはブロック情報が付与されているにもかかわらず、フレーム廃棄部151は、CCMフレームを廃棄せず、バックボード92に転送する(「転送」参照)。このため、CCMフレームは、バックボード92から回線ユニット(#N)91に入力されてMEPで受信される。   In the first abnormality example, a case where the frame discard unit 151 has failed due to an error in the configuration memory 911 (see “failure”) will be given. In this case, although the block information is added to the internal header of the CCM frame, the frame discard unit 151 transfers the CCM frame to the backboard 92 without discarding it (see “Transfer”). Therefore, the CCM frame is input from the backboard 92 to the line unit (#N) 91 and received by the MEP.

また、異常例2では、コンフィグレーションメモリ911のエラーにより転送/ブロック管理テーブル112が故障(「故障」参照)した場合を挙げる。この場合、CCMフレームは、ブロッキングポートに設定されたポートA2から入力されたにもかかわらず、転送/ブロック管理テーブル112の参照の結果、ブロック情報ではなく、転送情報(FWD情報)が内部ヘッダに付与される。このため、フレーム廃棄部151は、転送情報に従いCCMフレームをバックボード92に転送する。これにより、CCMフレームは、バックボード92から回線ユニット(#N)91に入力されてMEPで受信される。   In the case of abnormality 2, the case where the transfer / block management table 112 fails due to an error in the configuration memory 911 (see “failure”) will be given. In this case, although the CCM frame is input from the port A2 set as the blocking port, as a result of referring to the transfer / block management table 112, the transfer information (FWD information) is not the block information but the internal header. Is granted. For this reason, the frame discard unit 151 transfers the CCM frame to the backboard 92 according to the transfer information. As a result, the CCM frame is input from the backboard 92 to the line unit (#N) 91 and received by the MEP.

そこで、レイヤ2スイッチ1は、ポートA1から送信されたCCMフレームが、ブロッキングポートに設定されたポートA2から受信されたことを検出し、CCMフレームの受信を検出した場合、ポートA2の動作を停止させる。このため、ポートA2は、FPGA910のフレーム処理機能が故障しても、フレームを入力することも出力することもできなくなるため、リングネットワークNW#1内のフレームのループLa,Lbを停止することができる。   Therefore, the layer 2 switch 1 detects that the CCM frame transmitted from the port A1 is received from the port A2 set as the blocking port, and stops the operation of the port A2 when the reception of the CCM frame is detected. Let For this reason, even if the frame processing function of the FPGA 910 fails, the port A2 cannot input or output a frame, so that the loops La and Lb of the frame in the ring network NW # 1 may be stopped. it can.

図8は、回線ユニット91の一例を示す構成図である。回線ユニット91は、監視制御部10と、メモリ11と、ポート部12と、PHY(PHYsical layer)機能部13と、MAC機能部14と、フレーム処理部15と、インターフェース部16とを有する。監視制御部10、フレーム処理部15、及びインターフェース部16は、例えばFPGAにより構成され、PHY機能部13及びMAC機能部14は、例えばASICにより構成される。   FIG. 8 is a configuration diagram illustrating an example of the line unit 91. The line unit 91 includes a monitoring control unit 10, a memory 11, a port unit 12, a PHY (PHYsical layer) function unit 13, a MAC function unit 14, a frame processing unit 15, and an interface unit 16. The monitoring control unit 10, the frame processing unit 15, and the interface unit 16 are configured by, for example, an FPGA, and the PHY function unit 13 and the MAC function unit 14 are configured by, for example, an ASIC.

ポート部12には、複数のポート(#1〜#n)(n:正の整数)120が含まれる。ポート120は、ポートA1〜A3,C1〜C2,E1〜E3に該当し、例えば、フレームの光信号を送受信する光モジュール(例えばレーザダイオード及びフォトディテクタなどが含まれる)であってもよいし、電気的なフレーム信号を送受信するための通信コネクタ(例えばRJ(Registered Jack)−45)であってもよい。   The port unit 12 includes a plurality of ports (# 1 to #n) (n: a positive integer) 120. The port 120 corresponds to the ports A1 to A3, C1 to C2, and E1 to E3. For example, the port 120 may be an optical module (for example, including a laser diode and a photodetector) that transmits and receives an optical signal of a frame. It may be a communication connector (for example, RJ (Registered Jack) -45) for transmitting and receiving a typical frame signal.

PHY機能部13は、ポート120及びMAC機能部14の一方から入力されたフレームをPHYレイヤ機能に基づいて処理し他方に出力する。MAC機能部14は、PHY機能部13及びフレーム処理部15の一方から入力されたフレームをMACレイヤ機能に基づいて処理し他方に出力する。   The PHY function unit 13 processes a frame input from one of the port 120 and the MAC function unit 14 based on the PHY layer function and outputs the processed frame to the other. The MAC function unit 14 processes a frame input from one of the PHY function unit 13 and the frame processing unit 15 based on the MAC layer function and outputs the processed frame to the other.

フレーム処理部15は、フレーム解析部150a,150b、フレーム廃棄部151a,151b、転送処理部152a,152b、及び帯域制御部153a,153bを含む。フレーム解析部150a、フレーム廃棄部151a、転送処理部152a、及び帯域制御部153aは、ポート120からフレーム処理部15を経由してバックボード92に向かうイングレス方向におけるフレームの処理を行う。一方、フレーム解析部150b、フレーム廃棄部151b、転送処理部152b、及び帯域制御部153bは、バックボード92からフレーム処理部15を経由してポート120に向かうイーグレス方向におけるフレームの処理を行う。なお、イングレス方向のフレーム廃棄部151aは、上記のフレーム廃棄部151に該当する。   The frame processing unit 15 includes frame analysis units 150a and 150b, frame discarding units 151a and 151b, transfer processing units 152a and 152b, and bandwidth control units 153a and 153b. The frame analysis unit 150a, the frame discard unit 151a, the transfer processing unit 152a, and the bandwidth control unit 153a process a frame in the ingress direction from the port 120 to the backboard 92 via the frame processing unit 15. On the other hand, the frame analysis unit 150b, the frame discard unit 151b, the transfer processing unit 152b, and the bandwidth control unit 153b perform frame processing in the egress direction from the backboard 92 to the port 120 via the frame processing unit 15. The frame discard unit 151a in the ingress direction corresponds to the frame discard unit 151 described above.

例えば、ポート(#1)120からフレーム処理部15に入力されたフレームのうち、転送対象のフレームは、符号Piで示されるように、フレーム解析部150a、フレーム廃棄部151a、転送処理部152a、及び帯域制御部153aをこの順で経由してバックボード92に入力される。また、バックボード92からフレーム処理部15に入力されたフレームのうち、転送対象のフレームは、符号Peで示されるように、フレーム解析部150b、フレーム廃棄部151b、転送処理部152b、及び帯域制御部153bをこの順で経由してポート(#1)120に入力される。   For example, among the frames input from the port (# 1) 120 to the frame processing unit 15, the frame to be transferred includes a frame analysis unit 150a, a frame discarding unit 151a, a transfer processing unit 152a, Then, the signals are input to the backboard 92 via the bandwidth control unit 153a in this order. Of the frames input from the backboard 92 to the frame processing unit 15, the frame to be transferred includes a frame analysis unit 150 b, a frame discard unit 151 b, a transfer processing unit 152 b, and bandwidth control, as indicated by the symbol Pe. The data is input to the port (# 1) 120 via the unit 153b in this order.

また、例えば、ポート(#1)120からフレーム処理部15に入力されたCCMフレームは、符号Pciで示されるように、フレーム解析部150aからOAM処理部103に出力される。バックボード92からフレーム処理部15に入力されたCCMフレームは、符号Pcrで示されるように、フレーム解析部150bからOAM処理部103に出力される。   Also, for example, the CCM frame input from the port (# 1) 120 to the frame processing unit 15 is output from the frame analysis unit 150a to the OAM processing unit 103, as indicated by reference numeral Pci. The CCM frame input from the backboard 92 to the frame processing unit 15 is output from the frame analysis unit 150b to the OAM processing unit 103, as indicated by reference numeral Pcr.

また、OAM処理部103で生成されたCCMフレームは、出力先がOAM処理部103と同じ回線ユニット91内のポート(#1)120である場合、符号Pceで示されるように、転送処理部152bに入力され、転送処理部152bから帯域制御部153bを経由してポート(#1)120に出力される。OAM処理部103で生成されたCCMフレームは、出力先がOAM処理部103と異なる回線ユニット91内のポート120である場合、符号Pcsで示されるように、転送処理部152aに入力され、転送処理部152aから帯域制御部153aを経由してバックボード92に出力される。   In addition, when the output destination is the port (# 1) 120 in the same line unit 91 as that of the OAM processing unit 103, the CCM frame generated by the OAM processing unit 103 is transferred by the transfer processing unit 152b as indicated by the symbol Pce. Is output from the transfer processing unit 152b to the port (# 1) 120 via the bandwidth control unit 153b. When the output destination is the port 120 in the line unit 91 different from that of the OAM processing unit 103, the CCM frame generated by the OAM processing unit 103 is input to the transfer processing unit 152a as indicated by the symbol Pcs, and the transfer processing is performed. The data is output from the unit 152a to the backboard 92 via the bandwidth control unit 153a.

フレーム解析部150a,150bは、フレームの種類を解析し、その解析結果に応じて監視制御部10のOAM処理部103にCCMフレームを出力する。OAM処理部103はMEPに該当する。   The frame analysis units 150a and 150b analyze the frame type and output a CCM frame to the OAM processing unit 103 of the monitoring control unit 10 according to the analysis result. The OAM processing unit 103 corresponds to MEP.

フレーム廃棄部151a,151bは、上述したように、フレームの内部ヘッダにブロッキング情報が付与されている場合、フレームを廃棄する。また、フレーム廃棄部151a,151bは、フレームの内部ヘッダに転送情報が付与されている場合、フレームを転送処理部152a,152bに出力する。   As described above, the frame discarding units 151a and 151b discard the frame when blocking information is attached to the inner header of the frame. The frame discarding units 151a and 151b output the frame to the transfer processing units 152a and 152b when transfer information is added to the internal header of the frame.

転送処理部152a,152bは、FPGA910の内部メモリ154に記憶されたアドレス学習テーブル(TBL)17に基づきフレームの転送処理を行う。アドレス学習テーブル17は、アドレステーブルの一例であり、フレームのアドレス及び「VLAN ID」と出力先ポートが対応付けられて登録されている。なお、内部メモリ154は記憶部の一例であるが、アドレス学習テーブル17は、これに限定されず、FPGA910の外部メモリに記憶されてもよい。   The transfer processing units 152 a and 152 b perform frame transfer processing based on the address learning table (TBL) 17 stored in the internal memory 154 of the FPGA 910. The address learning table 17 is an example of an address table, in which an address of a frame, “VLAN ID”, and an output destination port are associated and registered. The internal memory 154 is an example of a storage unit, but the address learning table 17 is not limited to this, and may be stored in the external memory of the FPGA 910.

図9Aは、イングレス方向のフレームの転送処理の一例を示すフローチャートである。転送処理部152aは、ポート120からのフレームの入力の有無を判定する(ステップSt41)。転送処理部152aは、フレームの入力がない場合(ステップSt41のNo)、処理を終了する。   FIG. 9A is a flowchart illustrating an example of a frame transfer process in the ingress direction. The transfer processing unit 152a determines whether or not a frame is input from the port 120 (step St41). If there is no frame input (No in step St41), the transfer processing unit 152a ends the process.

また、転送処理部152aは、フレームの入力があった場合(ステップSt41のYes)、アドレス学習テーブル17を参照する(ステップSt42)。次に、転送処理部152aは、フレームのDAがアドレス学習テーブル17に登録済みであるか否かを判定する(ステップSt43)。   In addition, when a frame is input (Yes in Step St41), the transfer processing unit 152a refers to the address learning table 17 (Step St42). Next, the transfer processing unit 152a determines whether or not the DA of the frame has been registered in the address learning table 17 (Step St43).

転送処理部152aは、DAがアドレス学習テーブル17に登録済みである場合(ステップSt43のYes)、アドレス学習テーブル17から検索したポート120を出力先ポートとしてフレームの内部ヘッダに設定する(ステップSt44)。次に、転送処理部152aは、フレームを転送する(ステップSt45)。   If the DA has already been registered in the address learning table 17 (Yes in step St43), the transfer processing unit 152a sets the port 120 searched from the address learning table 17 as an output destination port in the internal header of the frame (step St44). . Next, the transfer processing unit 152a transfers the frame (step St45).

また、転送処理部152aは、DAがアドレス学習テーブル17に未登録である場合(ステップSt43のNo)、フレームが各ポート120にフラッディングされるように出力先ポートをフレームの内部ヘッダに設定する(ステップSt46)。次に、転送処理部152aは、フレームを転送する(ステップSt45)。このようにして、フレームの転送処理は実行される。   If the DA is not registered in the address learning table 17 (No in step St43), the transfer processing unit 152a sets the output destination port in the internal header of the frame so that the frame is flooded to each port 120 ( Step St46). Next, the transfer processing unit 152a transfers the frame (step St45). In this way, the frame transfer process is executed.

図9Bは、イーグレス方向のフレームの転送処理の一例を示すフローチャートである。転送処理部152bは、バックボード92からのフレームの入力の有無を判定する(ステップSt1)。転送処理部152bは、フレームの入力がない場合(ステップSt1のNo)、処理を終了する。   FIG. 9B is a flowchart illustrating an example of a frame transfer process in the egress direction. The transfer processing unit 152b determines whether or not a frame is input from the backboard 92 (step St1). If there is no frame input (No in step St1), the transfer processing unit 152b ends the process.

また、転送処理部152bは、フレームの入力があった場合(ステップSt1のYes)、アドレス学習テーブル17を参照する(ステップSt2)。次に、転送処理部152bは、フレームのSAがアドレス学習テーブル17に登録済みであるか否かを判定する(ステップSt3)。   In addition, when a frame is input (Yes in step St1), the transfer processing unit 152b refers to the address learning table 17 (step St2). Next, the transfer processing unit 152b determines whether the SA of the frame has been registered in the address learning table 17 (step St3).

転送処理部152bは、SAがアドレス学習テーブル17に登録済みである場合(ステップSt3のYes)、フレームの内部ヘッダに設定された出力先ポート120にフレームを転送する(ステップSt5)。   When the SA has already been registered in the address learning table 17 (Yes in step St3), the transfer processing unit 152b transfers the frame to the output destination port 120 set in the internal header of the frame (step St5).

また、転送処理部152bは、SAがアドレス学習テーブル17に未登録である場合(ステップSt3のNo)、フレームのSAを、フレームの入力元のポート120及び「VLAN ID」(VID)に対応付けてアドレス学習テーブル17に登録する(ステップSt4)。その後、ステップSt5の処理が実行される。このようにして、フレームの転送処理は実行される。   When the SA is not registered in the address learning table 17 (No in Step St3), the transfer processing unit 152b associates the SA of the frame with the port 120 that is the input source of the frame and the “VLAN ID” (VID). Is registered in the address learning table 17 (step St4). Thereafter, the process of step St5 is executed. In this way, the frame transfer process is executed.

図10は、通常時のアドレス学習テーブル17の例を示す図である。図10には、図1の状態におけるノードNa,Nc,Neの各レイヤ2スイッチ1のアドレス学習テーブル17が示されている。   FIG. 10 is a diagram illustrating an example of the address learning table 17 in a normal state. FIG. 10 shows the address learning table 17 of each layer 2 switch 1 of the nodes Na, Nc, and Ne in the state of FIG.

ノードNaのレイヤ2スイッチ1は、ノードNc,NeのMEPからポートA1を介してCCMフレームを受信する。このため、ノードNaのアドレス学習テーブル17には、ポートA1に対応して、ノードNc,NeのMEPのMACアドレスであるγ,αが登録されている。また、ノードNaのアドレス学習テーブル17の「VLAN ID」には、CCMフレームの「VLAN ID」である100が登録されている。   The layer 2 switch 1 of the node Na receives the CCM frame from the MEPs of the nodes Nc and Ne via the port A1. Therefore, in the address learning table 17 of the node Na, γ and α that are MAC addresses of the MEPs of the nodes Nc and Ne are registered corresponding to the port A1. In addition, 100, which is the “VLAN ID” of the CCM frame, is registered in “VLAN ID” of the address learning table 17 of the node Na.

ノードNcのレイヤ2スイッチ1は、ノードNa,NeのMEPからポートC2を介してCCMフレームを受信する。このため、ノードNcのアドレス学習テーブル17には、ポートC2に対応して、ノードNa,NeのMEPのMACアドレスであるα,βが登録されている。また、ノードNcのアドレス学習テーブル17の「VLAN ID」には、CCMフレームの「VLAN ID」である100が登録されている。   The layer 2 switch 1 of the node Nc receives the CCM frame via the port C2 from the MEPs of the nodes Na and Ne. Therefore, in the address learning table 17 of the node Nc, α and β that are MAC addresses of the MEPs of the nodes Na and Ne are registered corresponding to the port C2. In addition, 100, which is the “VLAN ID” of the CCM frame, is registered in “VLAN ID” of the address learning table 17 of the node Nc.

ノードNeのレイヤ2スイッチ1は、ノードNa,NcのMEPからポートE2を介してCCMフレームを受信する。このため、ノードNeのアドレス学習テーブル17には、ポートE2に対応して、ノードNa,NcのMEPのMACアドレスであるβ,γが登録されている。また、ノードNeのアドレス学習テーブル17の「VLAN ID」には、CCMフレームの「VLAN ID」である100が登録されている。   The layer 2 switch 1 of the node Ne receives the CCM frame from the MEPs of the nodes Na and Nc via the port E2. Therefore, in the address learning table 17 of the node Ne, β and γ, which are MAC addresses of the MEPs of the nodes Na and Nc, are registered corresponding to the port E2. In addition, 100, which is the “VLAN ID” of the CCM frame, is registered in “VLAN ID” of the address learning table 17 of the node Ne.

しかし、図4に示されるように、リングネットワークNW#1にループLa,Lbが発生すると、各ノードNa,Nc,Neのレイヤ2スイッチ1は、自装置内のMEPから送信されたCCMフレームをそのMEPにて受信するため、アドレス学習テーブル17には自装置内のMEPのMACアドレスが登録される。   However, as shown in FIG. 4, when the loops La and Lb occur in the ring network NW # 1, the layer 2 switch 1 of each node Na, Nc, and Ne receives the CCM frame transmitted from the MEP in its own device. In order to receive in the MEP, the MAC address of the MEP in the own apparatus is registered in the address learning table 17.

図11は、ループLa,Lb発生時のアドレス学習テーブル17の例を示す図である。図11には、図4の状態におけるノードNa,Nc,Neの各レイヤ2スイッチ1のアドレス学習テーブル17が示されている。なお、図11において、図10と共通する内容の説明は省略する。   FIG. 11 is a diagram illustrating an example of the address learning table 17 when the loops La and Lb are generated. FIG. 11 shows the address learning table 17 of each layer 2 switch 1 of the nodes Na, Nc, and Ne in the state of FIG. In FIG. 11, the description of the contents common to FIG. 10 is omitted.

ノードNaのレイヤ2スイッチ1は、自装置内のMEPから送信されたCCMフレームをポートA2から受信する。このため、ノードNaのアドレス学習テーブル17には、符号P1で示されるように、そのMEPのMACアドレスであるβがポートA2に対応付けられて登録されている。   The layer 2 switch 1 of the node Na receives the CCM frame transmitted from the MEP in the own device from the port A2. For this reason, in the address learning table 17 of the node Na, β, which is the MAC address of the MEP, is registered in association with the port A2, as indicated by reference numeral P1.

ノードNcのレイヤ2スイッチ1は、自装置内のMEPから送信されたCCMフレームをポートC1から受信する。このため、ノードNcのアドレス学習テーブル17には、符号P2で示されるように、そのMEPのMACアドレスであるγがポートC1に対応付けられて登録されている。   The layer 2 switch 1 of the node Nc receives the CCM frame transmitted from the MEP in the own device from the port C1. For this reason, in the address learning table 17 of the node Nc, as indicated by reference numeral P2, γ, which is the MAC address of the MEP, is registered in association with the port C1.

ノードNeのレイヤ2スイッチ1は、自装置内のMEPから送信されたCCMフレームをポートE2から受信する。このため、ノードNeのアドレス学習テーブル17には、符号P3で示されるように、そのMEPのMACアドレスであるαがポートE2に対応付けられて登録されている。   The layer 2 switch 1 of the node Ne receives the CCM frame transmitted from the MEP in the own device from the port E2. For this reason, in the address learning table 17 of the node Ne, α, which is the MAC address of the MEP, is registered in association with the port E2, as indicated by reference numeral P3.

このように、転送処理部152bは、各ポート120から受信されたCCMフレームの送信元アドレスであるSAをポート120ごとにアドレス学習テーブル17に登録する。したがって、レイヤ2スイッチ1は、後述するように、アドレス学習テーブル17に、自装置内のMEPのMACアドレスがブロッキングポートに対応して登録されているから、自装置のノードNaがループLa,Lbの原因であることを検出することができる。なお、転送処理部152bは登録処理部の一例である。   As described above, the transfer processing unit 152 b registers the SA that is the transmission source address of the CCM frame received from each port 120 in the address learning table 17 for each port 120. Therefore, as will be described later, since the MAC address of the MEP in the own device is registered in the address learning table 17 corresponding to the blocking port, the layer 2 switch 1 has the node Na of the own device in the loops La and Lb. Can be detected. The transfer processing unit 152b is an example of a registration processing unit.

再び図8を参照すると、帯域制御部153a,153bは、例えばポリサやシェーパによりフレームの帯域を制御する。シェーパの場合、帯域制御部153aは、転送処理部152aから入力されたフレームをいったんバッファに格納して、インターフェース部16に出力する。また、帯域制御部153bは、インターフェース部16から入力されたフレームをいったんバッファに格納してMAC機能部14に出力する。   Referring to FIG. 8 again, the bandwidth control units 153a and 153b control the frame bandwidth using, for example, a policer or a shaper. In the case of the shaper, the bandwidth control unit 153a temporarily stores the frame input from the transfer processing unit 152a in a buffer and outputs the frame to the interface unit 16. Further, the bandwidth control unit 153 b temporarily stores the frame input from the interface unit 16 in a buffer and outputs the frame to the MAC function unit 14.

インターフェース部16は、帯域制御部153aから入力されたフレームをその内部ヘッダの設定情報に基づいて、宛先に応じた回線ユニット91に転送する。より具体的には、インターフェース部16は、アドレス学習テーブル17から得られた宛先のポート120が属する回線ユニット91にフレームを転送する。また、インターフェース部16は、他の各回線ユニット91からバックボード92を介して入力されたフレームを多重化してフレーム解析部150bに出力する。   The interface unit 16 transfers the frame input from the bandwidth control unit 153a to the line unit 91 corresponding to the destination based on the setting information of the internal header. More specifically, the interface unit 16 transfers the frame to the line unit 91 to which the destination port 120 obtained from the address learning table 17 belongs. The interface unit 16 multiplexes frames input from the other line units 91 via the backboard 92 and outputs the multiplexed frames to the frame analysis unit 150b.

監視制御部10は、バックボード92を介して管理ユニット90と制御データCTLを送受信し、管理ユニット90の指示に従って、ポート部12と、PHY機能部13と、MAC機能部14と、フレーム処理部15と、インターフェース部16を制御する。監視制御部10は、動作制御部100、ポート制御部101、リング制御部102、OAM処理部103、及びループ検出部104と有する。また、メモリ11には、リング制御テーブル(TBL)110、MEP設定テーブル(TBL)111、及び転送/ブロック管理テーブル112が保持されている。   The monitoring control unit 10 transmits / receives control data CTL to / from the management unit 90 via the backboard 92, and in accordance with instructions from the management unit 90, the port unit 12, the PHY function unit 13, the MAC function unit 14, and the frame processing unit 15 and the interface unit 16 are controlled. The monitoring control unit 10 includes an operation control unit 100, a port control unit 101, a ring control unit 102, an OAM processing unit 103, and a loop detection unit 104. The memory 11 also holds a ring control table (TBL) 110, a MEP setting table (TBL) 111, and a transfer / block management table 112.

動作制御部100は、回線ユニット91の動作を制御する。動作制御部100は、ポート制御部101、リング制御部102、OAM処理部103、及びループ検出部104に各種の処理を指示する。   The operation control unit 100 controls the operation of the line unit 91. The operation control unit 100 instructs the port control unit 101, the ring control unit 102, the OAM processing unit 103, and the loop detection unit 104 to perform various processes.

ポート制御部101は、制御部の一例であり、動作制御部100の指示に応じてポート120の動作を停止する。ポート制御部101は、例えば、信号制御によりポート120の光モジュールの光送受信動作を停止させる。光送受信動作の停止手段としては、例えばレーザ光出力の停止やポート120の電源オフなどが挙げられる。   The port control unit 101 is an example of a control unit, and stops the operation of the port 120 in response to an instruction from the operation control unit 100. The port control unit 101 stops the optical transmission / reception operation of the optical module of the port 120 by signal control, for example. Examples of the means for stopping the optical transmission / reception operation include stopping the laser light output and powering off the port 120.

リング制御部102は、リング制御テーブル(TBL)110に基づき、フレーム処理部15に対し、各ポート120についてフレームの転送設定を行う。   Based on the ring control table (TBL) 110, the ring control unit 102 performs frame transfer settings for each port 120 with respect to the frame processing unit 15.

図12は、リング制御テーブル110の例を示す図である。リング制御テーブル110には、「リングID」、「VLANグループ」、「VLAN ID」、「リングポート」、及び「ポート状態」が登録されている。   FIG. 12 is a diagram illustrating an example of the ring control table 110. In the ring control table 110, “ring ID”, “VLAN group”, “VLAN ID”, “ring port”, and “port state” are registered.

「リングID」はリングネットワークNW#1〜NW#3の識別子である。「VLANグループ」は、VLANのグループの識別子である。「VLAN ID」は、VLANのグループに属するVIDである。「リングポート」は、ポートA1〜A3,C1〜C3,E1〜E3のうち、リングポートに設定されたポートA1,A2、C1,C2,E1,E2の識別子である。「ポート状態」は、リングポートに設定されたポートA1,A2、C1,C2,E1,E2の設定状態が、フレーム転送の可能な「フォワーディング」状態とフレーム転送の不可能な「ブロッキング」状態の何れであるかを示す。   “Ring ID” is an identifier of the ring networks NW # 1 to NW # 3. “VLAN group” is an identifier of a VLAN group. “VLAN ID” is a VID belonging to a VLAN group. “Ring port” is an identifier of the ports A1, A2, C1, C2, E1, and E2 set as ring ports among the ports A1 to A3, C1 to C3, and E1 to E3. “Port state” indicates that the setting states of the ports A1, A2, C1, C2, E1, and E2 set as ring ports are “forwarding” state in which frame transfer is possible and “blocking” state in which frame transfer is impossible. Indicates which is.

本例において、ノードNa,Nc,Neの各リング制御テーブル110には、「リングID」に01が設定され、「VLANグループ」に1と2が設定されている。また、「VLAN ID」には、「VLANグループ」の1に対応して1〜500が設定され、「VLANグループ」の2に対応して501〜1000が設定されている。   In this example, in the ring control tables 110 of the nodes Na, Nc, and Ne, “Ring ID” is set to 01, and “VLAN Group” is set to 1 and 2. In the “VLAN ID”, 1 to 500 is set corresponding to 1 of “VLAN group”, and 501 to 1000 is set corresponding to 2 of “VLAN group”.

ノードNaのリング制御テーブル110には、「VLANグループ」の1と2に対応するリングポートとしてポートA1,A2がそれぞれ設定されている。ポートA1のポート状態は「フォワーディング」に設定され、ポートA2のポート状態は「ブロッキング」に設定されている。このため、ノードNaのレイヤ2スイッチ1において、ポートA1を介したフレームの送受信は可能であるが、ポートA2を介したフレームの送受信は不可能となる。つまり、ポートA2は、ブロッキングポートに設定されている。   In the ring control table 110 of the node Na, ports A1 and A2 are set as ring ports corresponding to “VLAN group” 1 and 2, respectively. The port state of port A1 is set to “forwarding”, and the port state of port A2 is set to “blocking”. For this reason, in the layer 2 switch 1 of the node Na, frames can be transmitted / received via the port A1, but frames cannot be transmitted / received via the port A2. That is, port A2 is set as a blocking port.

ノードNcのリング制御テーブル110には、「VLANグループ」の1と2に対応するリングポートとしてポートC1,C2がそれぞれ設定されている。ポートC1,C2のポート状態は「フォワーディング」に設定されている。このため、ノードNcのレイヤ2スイッチ1において、ポートC1,C2を介したフレームの送受信は可能である。   In the ring control table 110 of the node Nc, ports C1 and C2 are set as ring ports corresponding to “VLAN group” 1 and 2, respectively. The port states of the ports C1 and C2 are set to “forwarding”. Therefore, the layer 2 switch 1 of the node Nc can transmit and receive frames via the ports C1 and C2.

ノードNeのリング制御テーブル110には、「VLANグループ」の1と2に対応するリングポートとしてポートE1,E2がそれぞれ設定されている。ポートE1のポート状態は「フォワーディング」に設定され、ポートE2のポート状態は「ブロッキング」に設定されている。このため、ノードNeのレイヤ2スイッチ1において、ポートE1を介したフレームの送受信は可能であるが、ポートE2を介したフレームの送受信は不可能となる。つまり、ポートE2は、ブロッキングポートに設定されている。   In the ring control table 110 of the node Ne, ports E1 and E2 are set as ring ports corresponding to “VLAN group” 1 and 2, respectively. The port state of the port E1 is set to “forwarding”, and the port state of the port E2 is set to “blocking”. For this reason, the layer Ne switch 2 of the node Ne can transmit and receive frames via the port E1, but cannot transmit and receive frames via the port E2. That is, the port E2 is set as a blocking port.

したがって、監視制御部10は、リング制御テーブル110を参照することにより、ポート120(A1,A2、C1,C2,E1,E2)がブロッキングポートであるか否かを判別することができる。   Therefore, the monitoring control unit 10 can determine whether the port 120 (A1, A2, C1, C2, E1, E2) is a blocking port by referring to the ring control table 110.

再び図8を参照すると、OAM処理部103は、動作制御部100によりMEP設定テーブル111に基づいて生成される。MEP設定テーブル111には、MEP設定情報(図2参照)が登録されている。OAM処理部103は、フレーム解析部150a,150bから入力されたCCMフレームを処理する。OAM処理部103は、CCMフレームのパラメータに基づいて各種の警報を検出する。   Referring to FIG. 8 again, the OAM processing unit 103 is generated based on the MEP setting table 111 by the operation control unit 100. In the MEP setting table 111, MEP setting information (see FIG. 2) is registered. The OAM processing unit 103 processes the CCM frame input from the frame analysis units 150a and 150b. The OAM processing unit 103 detects various alarms based on the CCM frame parameters.

例えば、OAM処理部103は、比較部の一例であり、ポート120から受信されたCCMフレームの「MEP ID」を所定の「Peer MEP IP」(所定の識別子)と比較する。OAM処理部103は、比較の結果、「MEP ID」を所定の「Peer MEP IP」に一致しない場合、「UnexpectedMEP」警報を動作制御部100に出力する。   For example, the OAM processing unit 103 is an example of a comparison unit, and compares the “MEP ID” of the CCM frame received from the port 120 with a predetermined “Peer MEP IP” (predetermined identifier). As a result of the comparison, when the “MEP ID” does not match the predetermined “Peer MEP IP”, the OAM processing unit 103 outputs an “UnexpectedMEP” alarm to the operation control unit 100.

動作制御部100は、「UnexpectedMEP」警報が入力されると、ループ検出部104を起動する。ループ検出部104は、アドレス学習テーブル17及びリング制御テーブル110に基づき自装置のブロッキングポートのブロッキング機能が異常であるか否かを判断する。   The operation control unit 100 activates the loop detection unit 104 when an “Unexpected MEP” alarm is input. The loop detection unit 104 determines whether or not the blocking function of the blocking port of the own device is abnormal based on the address learning table 17 and the ring control table 110.

ノードNaにおいて、ループ検出部104は、検出部の一例であり、ポートA1から送信されたCCMフレームが、ブロッキングポートに設定されたポートA2から受信されたことを検出する。つまり、ループ検出部104は、ブロッキングポートからのCCMフレームの受信を検出してループ警報として動作制御部100に出力する。   In the node Na, the loop detection unit 104 is an example of a detection unit, and detects that the CCM frame transmitted from the port A1 is received from the port A2 set as the blocking port. That is, the loop detection unit 104 detects reception of the CCM frame from the blocking port and outputs it to the operation control unit 100 as a loop alarm.

動作制御部100は、CCMフレームがポートA2から受信された旨の通知を受けると、ポート制御部101にポートA2の動作の停止を指示する。ポート制御部101は、指示に従いポートA2の動作を停止させる。これにより、ポートA2自体にフレームを入出力することが不可能となるため、リングネットワークNW#1内のループLa,Lbが停止する。   When receiving the notification that the CCM frame has been received from the port A2, the operation control unit 100 instructs the port control unit 101 to stop the operation of the port A2. The port control unit 101 stops the operation of the port A2 according to the instruction. This makes it impossible to input / output a frame to / from the port A2 itself, and the loops La and Lb in the ring network NW # 1 are stopped.

また、ノードNcのOAM処理部103は「UnexpectedMEP」警報を出力するが、ノードNcにはブロッキングポートが設定されていないため、ポートC1〜C3の動作は停止されない。また、ノードNeのOAM処理部103も「UnexpectedMEP」警報を出力するが、CCMフレームは、ブロッキングポートではないポートE2から送信されて同じポートE2から受信されるため、ポートE1〜E3の動作は停止されない。したがって、ループLa,Lbの原因となるノードNaのブロッキングポートの動作だけを停止することができる。   Further, although the OAM processing unit 103 of the node Nc outputs an “Unexpected MEP” alarm, since the blocking port is not set for the node Nc, the operations of the ports C1 to C3 are not stopped. Further, the OAM processing unit 103 of the node Ne also outputs an “Unexpected MEP” alarm, but the operation of the ports E1 to E3 is stopped because the CCM frame is transmitted from the port E2 that is not a blocking port and is received from the same port E2. Not. Therefore, only the operation of the blocking port of the node Na that causes the loops La and Lb can be stopped.

図13は、CCMフレームの受信処理の一例を示すフローチャートである。OAM処理部103は、フレーム解析部150a,150bからのCCMフレームの受信の有無を判定する(ステップSt11)。CCMフレームの受信がない場合(ステップSt11のNo)、処理は終了する。   FIG. 13 is a flowchart illustrating an example of CCM frame reception processing. The OAM processing unit 103 determines whether or not a CCM frame has been received from the frame analysis units 150a and 150b (step St11). If no CCM frame has been received (No in step St11), the process ends.

また、OAM処理部103は、CCMフレームの受信があった場合(ステップSt11のYes)、CCMフレームの「MEG Level」を所定の期待値Kaと比較する(ステップSt12)。OAM処理部103は、比較の結果、「MEG Level」が期待値Kaに一致しない場合(ステップSt12のNo)、動作制御部100に「UnexpectedMEGLevel」警報を出力し(ステップSt18)、処理を終了する。   Further, when the CAM frame is received (Yes in Step St11), the OAM processing unit 103 compares “MEG Level” of the CCM frame with a predetermined expected value Ka (Step St12). If the result of the comparison shows that “MEG Level” does not match the expected value Ka (No in step St12), the OAM processing unit 103 outputs an “UnexpectedMEGLevel” warning to the operation control unit 100 (step St18), and ends the process. .

OAM処理部103は、比較の結果、「MEG Level」が期待値Kaに一致した場合(ステップSt12のYes)、CCMフレームの「MEG ID」を所定の期待値Kbと比較する(ステップSt13)。OAM処理部103は、比較の結果、「MEG ID」が期待値Kbに一致しない場合(ステップSt13のNo)、動作制御部100に「Mismerge」警報を出力し(ステップSt19)、処理を終了する。   As a result of the comparison, when “MEG Level” matches the expected value Ka (Yes in step St12), the OAM processing unit 103 compares the “MEG ID” of the CCM frame with the predetermined expected value Kb (step St13). As a result of the comparison, if “MEG ID” does not match the expected value Kb (No in Step St13), the OAM processing unit 103 outputs a “Mismerge” alarm to the operation control unit 100 (Step St19), and ends the process. .

OAM処理部103は、比較の結果、「MEG ID」が期待値Kbに一致した場合(ステップSt13のYes)、CCMフレームの「MEP ID」を所定の「Peer MEP ID」と比較する(ステップSt14)。OAM処理部103は、比較の結果、「MEP ID」が「Peer MEP ID」に一致しない場合(ステップSt14のNo)、動作制御部100に「UnexpectedMEP」警報を出力する(ステップSt20)。次に、ループ検出部104は、動作制御部100の指示に従いループ警報の検出処理を実行して(ステップSt21)、処理を終了する。なお、ループ警報の検出処理については後述する。   As a result of the comparison, when the “MEG ID” matches the expected value Kb (Yes in Step St13), the OAM processing unit 103 compares the “MEP ID” of the CCM frame with a predetermined “Peer MEP ID” (Step St14). ). When the “MEP ID” does not match “Peer MEP ID” as a result of the comparison (No in Step St14), the OAM processing unit 103 outputs an “UnexpectedMEP” alarm to the operation control unit 100 (Step St20). Next, the loop detection unit 104 executes a loop alarm detection process in accordance with an instruction from the operation control unit 100 (step St21), and ends the process. The loop alarm detection process will be described later.

OAM処理部103は、比較の結果、「MEP ID」が「Peer MEP ID」に一致した場合(ステップSt14のYes)、CCMフレームの「Period」を所定の期待値Kcと比較する(ステップSt15)。OAM処理部103は、比較の結果、「Period」が期待値Kcに一致しない場合(ステップSt15のNo)、動作制御部100に「UnexpectedPeriod」警報を出力し(ステップSt17)、処理を終了する。   As a result of the comparison, when the “MEP ID” matches “Peer MEP ID” (Yes in Step St14), the OAM processing unit 103 compares “Period” of the CCM frame with a predetermined expected value Kc (Step St15). . As a result of the comparison, if “Period” does not match the expected value Kc (No in Step St15), the OAM processing unit 103 outputs an “UnexpectedPeriod” alarm to the operation control unit 100 (Step St17), and ends the process.

OAM処理部103は、比較の結果、「Period」が期待値Kcに一致した場合(ステップSt15のYes)、CCMフレームを終端処理して(ステップSt16)、処理を終了する。このようにして、CCMフレームの受信処理は実行される。   If “Period” matches the expected value Kc as a result of the comparison (Yes in step St15), the OAM processing unit 103 terminates the CCM frame (step St16) and ends the process. In this way, the CCM frame reception process is executed.

上述したように、OAM処理部103は、ポート120(A1,A2)から受信したCCMフレームの「MEP ID」を「Peer MEP ID」と比較する。ループ検出部104は、比較の結果、「MEP ID」が「Peer MEP ID」に一致しない場合、ブロッキングポートからのCCMフレームの受信の検出処理、つまりループ警報の検出処理を行う。このため、レイヤ2スイッチ1は、「MEP ID」が「Peer MEP ID」に一致しない場合だけ、ループ警報の検出処理を実行すればよいため、処理の負荷が低減される。   As described above, the OAM processing unit 103 compares the “MEP ID” of the CCM frame received from the port 120 (A1, A2) with the “Peer MEP ID”. When the “MEP ID” does not match “Peer MEP ID” as a result of the comparison, the loop detection unit 104 performs a detection process for receiving a CCM frame from the blocking port, that is, a loop alarm detection process. For this reason, the layer 2 switch 1 only needs to execute the loop alarm detection process when the “MEP ID” does not match the “Peer MEP ID”, so the processing load is reduced.

図14は、ループ警報の検出処理の一例を示すフローチャートである。本処理は、図13のステップSt21において実行される。   FIG. 14 is a flowchart illustrating an example of a loop alarm detection process. This process is executed in step St21 of FIG.

ループ検出部104は、「UnexpectedMEP」警報の要因であるCCMフレームをOAM処理部103から取得する(ステップSt31)。次に、ループ検出部104は、CCMフレームのSAを自装置内のMEPのMACアドレスと比較する(ステップSt32)。ループ検出部104は、CCMフレームのSAと自装置内のMEPのMACアドレスが相違する場合(ステップSt32のNo)、処理を終了する。なお、ループ検出部104は、MEP設定テーブル111から自装置内のMEPのMACアドレスを取得する。   The loop detection unit 104 acquires the CCM frame that is the cause of the “Unexpected MEP” alarm from the OAM processing unit 103 (step St31). Next, the loop detection unit 104 compares the SA of the CCM frame with the MAC address of the MEP in the own device (step St32). When the SA of the CCM frame is different from the MAC address of the MEP in the own device (No in step St32), the loop detection unit 104 ends the process. Note that the loop detection unit 104 acquires the MAC address of the MEP in the own device from the MEP setting table 111.

ループ検出部104は、CCMフレームのSAと自装置内のMEPのMACアドレスが一致する場合(ステップSt32のYes)、アドレス学習テーブル17を参照する(ステップSt33)。次に、ループ検出部104は、アドレス学習テーブル17において、リングポート(A1,A2,C1,C2,E1,E2)に対応して該当MACアドレスが登録されているか否かを判定する(ステップSt34)。例えば、ノードNaにおいて、ループ検出部104は、ポートA1,A2に対応して、MEPのMACアドレスであるβが登録されているか否かを判定する。   When the SA of the CCM frame matches the MAC address of the MEP in the own device (Yes in step St32), the loop detection unit 104 refers to the address learning table 17 (step St33). Next, the loop detection unit 104 determines whether or not the corresponding MAC address is registered corresponding to the ring port (A1, A2, C1, C2, E1, E2) in the address learning table 17 (step St34). ). For example, in the node Na, the loop detection unit 104 determines whether or not β, which is the MAC address of the MEP, is registered corresponding to the ports A1 and A2.

ループ検出部104は、リングポートに対応して該当MACアドレスが登録されていない場合(ステップSt34のNo)、処理を終了する。また、ループ検出部104は、リングポートに対応して該当MACアドレスが登録されている場合(ステップSt34のYes)、リング制御テーブル110を参照する(ステップSt35)。   When the corresponding MAC address is not registered corresponding to the ring port (No in step St34), the loop detection unit 104 ends the process. When the corresponding MAC address is registered corresponding to the ring port (Yes in step St34), the loop detection unit 104 refers to the ring control table 110 (step St35).

ループ検出部104は、そのリングポートの「ポート状態」が「ブロッキング」であるか否かを判定する(ステップSt36)。つまり、ループ検出部104は、ブロッキングポートについて自装置内のMEPのMACアドレス(レイヤ2スイッチ1のMACアドレス)が登録されているか否かを判定する。   The loop detection unit 104 determines whether or not the “port state” of the ring port is “blocking” (step St36). That is, the loop detection unit 104 determines whether or not the MAC address of the MEP in the own device (the MAC address of the layer 2 switch 1) is registered for the blocking port.

ループ検出部104は、リングポートの「ポート状態」が「フォワーディング」である場合(ステップSt36のNo)、処理を終了する。また、ループ検出部104は、リングポートの「ポート状態」が「ブロッキング」である場合(ステップSt36のYes)、ループ警報を動作制御部100に出力する(ステップSt37)。   When the “port state” of the ring port is “forwarding” (No in step St36), the loop detection unit 104 ends the process. If the “port state” of the ring port is “blocking” (Yes in step St36), the loop detection unit 104 outputs a loop alarm to the operation control unit 100 (step St37).

このように、ループ検出部104は、アドレス学習テーブル17に、ブロッキングポートについて自装置内のMEPのMACアドレスが登録されていることから、ブロッキングポートからのCCMフレームの受信を検出する。例えば、ノードNaのループ検出部104は、図11の符号P1で示されるように、アドレス学習テーブル17に、リングポートであるポートA2について自装置内のMEPのMACアドレスのβが登録されているため、リング制御テーブル110を参照する。   Thus, since the MAC address of the MEP in the own device is registered for the blocking port in the address learning table 17, the loop detection unit 104 detects reception of the CCM frame from the blocking port. For example, the loop detection unit 104 of the node Na registers the MAC address β of the MEP in its own device for the port A2 that is the ring port in the address learning table 17, as indicated by the symbol P1 in FIG. Therefore, the ring control table 110 is referred to.

次に、ループ検出部104は、図12に示されるように、リング制御テーブル110にはポートA2がブロッキングポートに設定されているため、ブロッキングポートのポートA2からのCCMフレームの受信を検出して、ループ警報を出力する。したがって、ループ検出部104は、自装置内のアドレス学習テーブル17に基づき容易にループ警報を検出することができる。   Next, as shown in FIG. 12, since the port A2 is set as the blocking port in the ring control table 110, the loop detection unit 104 detects the reception of the CCM frame from the port A2 of the blocking port. , Output a loop alarm. Therefore, the loop detection unit 104 can easily detect a loop alarm based on the address learning table 17 in the own device.

次に、ポート制御部101は、該当するポート120の動作を停止する(ステップSt38)。ノードNaのポート制御部101は、ポートA2の動作を停止する。このため、ブロッキングポートを介したフレームの送受信自体が停止されるので、リングネットワークNW#1内のループLa,Lbが停止する。このようにして、ループ警報の検出処理は実行される。   Next, the port control unit 101 stops the operation of the corresponding port 120 (step St38). The port control unit 101 of the node Na stops the operation of the port A2. For this reason, since frame transmission / reception itself via the blocking port is stopped, the loops La and Lb in the ring network NW # 1 are stopped. In this way, the loop alarm detection process is executed.

上述したように、ノードNaにおいて、ループ検出部104は、ポートA1から送信されたCCMフレームが、ブロッキングポートに設定されたポートA2から受信されたことを検出する。ポート制御部101は、ループ検出部104がブロッキングポートからのCCMフレームの受信を検出した場合、ポートA2の動作を停止する。   As described above, in the node Na, the loop detection unit 104 detects that the CCM frame transmitted from the port A1 is received from the port A2 set as the blocking port. When the loop detection unit 104 detects reception of a CCM frame from the blocking port, the port control unit 101 stops the operation of the port A2.

したがって、リングネットワークNW#1内にループLa,Lbが発生しても、手作業でループLa,Lbの原因となるノードNaを特定する必要がなく、迅速にループLa,Lbを停止することが可能となる。これにより、リングネットワークNW#1のループ状態が容易に解除される。   Therefore, even if the loops La and Lb occur in the ring network NW # 1, it is not necessary to manually identify the node Na that causes the loops La and Lb, and the loops La and Lb can be quickly stopped. It becomes possible. Thereby, the loop state of the ring network NW # 1 is easily released.

また、図1に示されるように、ノードNaのレイヤ2スイッチ1のポートA1,A2は、リングネットワークNW#1に接続されており、ノードNeのレイヤ2スイッチ1は、リングネットワークNW#2を介してリングネットワークNW#1に接続されたリングネットワークNW#3に接続されている。このため、上記の構成によりリングネットワークNW#1内のループLa,Lbを停止することにより、他のリングネットワークNW#3に接続されたノードNeのレイヤ2スイッチ1に対するループLa,Lbの影響を取り除くことができる。   Further, as shown in FIG. 1, the ports A1 and A2 of the layer 2 switch 1 of the node Na are connected to the ring network NW # 1, and the layer 2 switch 1 of the node Ne is connected to the ring network NW # 2. Via the ring network NW # 3 connected to the ring network NW # 1. Therefore, by stopping the loops La and Lb in the ring network NW # 1 with the above configuration, the influence of the loops La and Lb on the layer 2 switch 1 of the node Ne connected to the other ring network NW # 3 is reduced. Can be removed.

上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。   The above-described embodiment is an example of a preferred embodiment of the present invention. However, the present invention is not limited to this, and various modifications can be made without departing from the scope of the present invention.

なお、以上の説明に関して更に以下の付記を開示する。
(付記1) 他装置宛ての監視フレームを送信するための第1ポートと、
ブロッキングポートに設定された第2ポートと、
前記第1ポートから送信された前記監視フレームが、前記第2ポートから受信されたことを検出する検出部と、
前記検出部が前記監視フレームの受信を検出した場合、前記第2ポートの動作を停止させる制御部とを有することを特徴とする通信装置。
(付記2) 送信元が前記他装置である監視フレームを受信するための第3ポートと、
前記第2ポートまたは前記第3ポートから受信された前記監視フレームの送信元の識別子を所定の識別子と比較する比較部とを有し、
前記検出部は、前記比較部による比較の結果、前記送信元の識別子と前記所定の識別子が一致しない場合、前記監視フレームの受信の検出処理を行うことを特徴とする付記1に記載の通信装置。
(付記3) アドレスが登録されるアドレステーブルを記憶する記憶部と、
前記第2ポートまたは前記第3ポートから受信された前記監視フレームの送信元アドレスを該ポートごとに前記アドレステーブルに登録する登録処理部を有し、
前記検出部は、前記第2ポートについて前記アドレステーブルに前記通信装置のアドレスが登録されていることから、前記第2ポートからの前記監視フレームの受信を検出することを特徴とする付記2に記載の通信装置。
(付記4) 前記第1ポート及び前記第2ポートは、第1リングネットワークに接続され、
前記他装置は、第2リングネットワークを介して前記第1リングネットワークと接続された第3リングネットワークに接続されていることを特徴とする付記1乃至3の何れかに記載の通信装置。
(付記5) 第1ポートから他装置宛ての監視フレームを送信し、
前記第1ポートから送信された前記監視フレームが、ブロッキングポートに設定された第2ポートから受信されたことを検出した場合、前記第2ポートの動作を停止させることを特徴とする通信方法。
(付記6) 送信元が前記他装置である監視フレームを受信するための第3ポート、または前記第2ポートから受信された前記監視フレームの送信元の識別子を所定の識別子と比較し、
該比較の結果、前記送信元の識別子と前記所定の識別子が一致しない場合、前記第2ポートからの前記監視フレームの受信の検出処理を行うことを特徴とする付記5に記載の通信方法。
(付記7) 前記第2ポートまたは前記第3ポートから受信された前記監視フレームの送信元アドレスを該ポートごとにアドレステーブルに登録し、
前記第2ポートについて前記アドレステーブルに自装置のアドレスが登録されていることから、前記第2ポートからの前記監視フレームの受信を検出することを特徴とする付記6に記載の通信方法。
(付記8) 前記第1ポート及び前記第2ポートは、第1リングネットワークに接続され、
前記他装置は、第2リングネットワークを介して前記第1リングネットワークと接続された第3リングネットワークに接続されていることを特徴とする付記5乃至7の何れかに記載の通信方法。
In addition, the following additional notes are disclosed regarding the above description.
(Supplementary note 1) a first port for transmitting a monitoring frame addressed to another device;
A second port set as a blocking port;
A detection unit for detecting that the monitoring frame transmitted from the first port is received from the second port;
And a control unit that stops the operation of the second port when the detection unit detects reception of the monitoring frame.
(Supplementary Note 2) A third port for receiving a monitoring frame whose transmission source is the other device;
A comparison unit that compares an identifier of a transmission source of the monitoring frame received from the second port or the third port with a predetermined identifier;
The communication apparatus according to claim 1, wherein the detection unit performs a detection process of reception of the monitoring frame when the identifier of the transmission source does not match the predetermined identifier as a result of the comparison by the comparison unit. .
(Supplementary Note 3) A storage unit that stores an address table in which addresses are registered;
A registration processing unit that registers a source address of the monitoring frame received from the second port or the third port in the address table for each port;
The detection unit detects reception of the monitoring frame from the second port because the address of the communication device is registered in the address table for the second port. Communication equipment.
(Supplementary Note 4) The first port and the second port are connected to a first ring network,
The communication apparatus according to any one of appendices 1 to 3, wherein the other apparatus is connected to a third ring network connected to the first ring network via a second ring network.
(Appendix 5) Send a monitoring frame addressed to another device from the first port,
A communication method characterized by stopping the operation of the second port when it is detected that the monitoring frame transmitted from the first port is received from a second port set as a blocking port.
(Supplementary Note 6) The third port for receiving a monitoring frame whose transmission source is the other device, or the identifier of the transmission source of the monitoring frame received from the second port is compared with a predetermined identifier,
6. The communication method according to appendix 5, wherein, as a result of the comparison, if the identifier of the transmission source does not match the predetermined identifier, detection processing for reception of the monitoring frame from the second port is performed.
(Appendix 7) Registering the source address of the monitoring frame received from the second port or the third port in the address table for each port,
The communication method according to appendix 6, wherein reception of the monitoring frame from the second port is detected because an address of the own device is registered in the address table for the second port.
(Appendix 8) The first port and the second port are connected to a first ring network,
The communication method according to any one of appendices 5 to 7, wherein the other device is connected to a third ring network connected to the first ring network via a second ring network.

1 レイヤ2スイッチ
17 アドレス学習テーブル
101 ポート制御部
103 OAM処理部
104 ループ検出部
120 ポート
152a,152b 転送処理部
154 内部メモリ
NW リングネットワーク
A1〜A3,C1〜C3,E1〜E3 ポート
1 Layer 2 switch 17 Address learning table 101 Port control unit 103 OAM processing unit 104 Loop detection unit 120 Port 152a, 152b Transfer processing unit 154 Internal memory NW Ring network A1-A3, C1-C3, E1-E3 port

Claims (5)

他装置宛ての監視フレームを送信するための第1ポートと、
ブロッキングポートに設定された第2ポートと、
前記第1ポートから送信された前記監視フレームが、前記第2ポートから受信されたことを検出する検出部と、
前記検出部が前記監視フレームの受信を検出した場合、前記第2ポートの動作を停止させる制御部とを有することを特徴とする通信装置。
A first port for transmitting a monitoring frame addressed to another device;
A second port set as a blocking port;
A detection unit for detecting that the monitoring frame transmitted from the first port is received from the second port;
And a control unit that stops the operation of the second port when the detection unit detects reception of the monitoring frame.
送信元が前記他装置である監視フレームを受信するための第3ポートと、
前記第2ポートまたは前記第3ポートから受信された前記監視フレームの送信元の識別子を所定の識別子と比較する比較部とを有し、
前記検出部は、前記比較部による比較の結果、前記送信元の識別子と前記所定の識別子が一致しない場合、前記監視フレームの受信の検出処理を行うことを特徴とする請求項1に記載の通信装置。
A third port for receiving a monitoring frame whose source is the other device;
A comparison unit that compares an identifier of a transmission source of the monitoring frame received from the second port or the third port with a predetermined identifier;
2. The communication according to claim 1, wherein, as a result of comparison by the comparison unit, the detection unit performs reception processing of the monitoring frame when the identifier of the transmission source does not match the predetermined identifier. apparatus.
アドレスが登録されるアドレステーブルを記憶する記憶部と、
前記第2ポートまたは前記第3ポートから受信された前記監視フレームの送信元アドレスを該ポートごとに前記アドレステーブルに登録する登録処理部を有し、
前記検出部は、前記第2ポートについて前記アドレステーブルに前記通信装置のアドレスが登録されていることから、前記第2ポートからの前記監視フレームの受信を検出することを特徴とする請求項2に記載の通信装置。
A storage unit for storing an address table in which addresses are registered;
A registration processing unit that registers a source address of the monitoring frame received from the second port or the third port in the address table for each port;
The detection unit detects reception of the monitoring frame from the second port since the address of the communication device is registered in the address table for the second port. The communication device described.
前記第1ポート及び前記第2ポートは、第1リングネットワークに接続され、
前記他装置は、第2リングネットワークを介して前記第1リングネットワークと接続された第3リングネットワークに接続されていることを特徴とする請求項1乃至3の何れかに記載の通信装置。
The first port and the second port are connected to a first ring network;
The communication apparatus according to claim 1, wherein the other apparatus is connected to a third ring network connected to the first ring network via a second ring network.
第1ポートから他装置宛ての監視フレームを送信し、
前記第1ポートから送信された前記監視フレームが、ブロッキングポートに設定された第2ポートから受信されたことを検出した場合、前記第2ポートの動作を停止させることを特徴とする通信方法。
Send a monitoring frame addressed to the other device from the first port,
A communication method characterized by stopping the operation of the second port when it is detected that the monitoring frame transmitted from the first port is received from a second port set as a blocking port.
JP2017005459A 2017-01-16 2017-01-16 Communication device and communication method Pending JP2018117195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017005459A JP2018117195A (en) 2017-01-16 2017-01-16 Communication device and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017005459A JP2018117195A (en) 2017-01-16 2017-01-16 Communication device and communication method

Publications (1)

Publication Number Publication Date
JP2018117195A true JP2018117195A (en) 2018-07-26

Family

ID=62985471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017005459A Pending JP2018117195A (en) 2017-01-16 2017-01-16 Communication device and communication method

Country Status (1)

Country Link
JP (1) JP2018117195A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020052687A1 (en) * 2018-09-14 2020-03-19 中兴通讯股份有限公司 Network element anti-looping method and apparatus, device, and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020052687A1 (en) * 2018-09-14 2020-03-19 中兴通讯股份有限公司 Network element anti-looping method and apparatus, device, and readable storage medium

Similar Documents

Publication Publication Date Title
US10142203B2 (en) Ethernet fault management systems and methods
US8259590B2 (en) Systems and methods for scalable and rapid Ethernet fault detection
US11095546B2 (en) Network device service quality detection method and apparatus
US8406143B2 (en) Method and system for transmitting connectivity fault management messages in ethernet, and a node device
JP4454516B2 (en) Fault detection device
US9264328B2 (en) Systems and methods for dynamic operations, administration, and management
US8774010B2 (en) System and method for providing proactive fault monitoring in a network environment
US10015066B2 (en) Propagation of frame loss information by receiver to sender in an ethernet network
JP6275323B2 (en) Relay device and communication system
US20070147231A1 (en) Path protection method and layer-2 switch
JP4861293B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP5678678B2 (en) Provider network and provider edge device
JP2009010668A (en) Communication apparatus, communicating method, communication interface, and program
US20170155522A1 (en) Communication apparatus and communication system
JP5938995B2 (en) Communication device
CN110380966B (en) Method for discovering forwarding path and related equipment thereof
US20120033671A1 (en) Communication device, communication method, and recording medium for recording communication program
US8537691B2 (en) Path-continuity check method and transmission device
JP5520741B2 (en) Communication device
JP2018117195A (en) Communication device and communication method
CN113273145A (en) Monitoring device, network system, topology management method, and monitoring program
JP2019134216A (en) Communication device and communication system
US10644989B2 (en) Method for running a computer network
JP2015164293A (en) Network connection device and network connection method
US20240146574A1 (en) Identifying source of layer-2 loop in ring network