JP2018117195A - Communication device and communication method - Google Patents
Communication device and communication method Download PDFInfo
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
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,
リングネットワークでは、例えば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).
例えば、複数のリングネットワークが接続されたシステムが用いられる場合、クライアントネットワークに接続された各リングネットワークに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.
図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
リングネットワークNW#2は、ノードNbにおいてリングネットワークNW#1と接続され、ノードNdにおいてリングネットワークNW#3と接続されている。なお、リングネットワークNW#1は第1リングネットワークの一例であり、リングネットワークNW#2は第2リングネットワークの一例であり、NW#3は第3リングネットワークの一例である。
The ring
各ノードNa〜Nfには、通信装置の一例であるレイヤ2スイッチ1が設けられている。レイヤ2スイッチ1は、他装置から受信したイーサネットフレームをその宛先に応じた方路(伝送路)に転送する。なお、本例ではフレームの一例として、イーサネットフレームを挙げるが、これに限定されず、IPパケットが用いられてもよい。以下の説明では、各種のイーサネットフレームを「フレーム」と表記する。
Each node Na to Nf is provided with a
各レイヤ2スイッチ1には、他装置とフレームを送受信するための複数のポートA1〜A3,C1〜C3,E1〜E3が設けられている。各レイヤ2スイッチ1は、複数のポートA1〜A3,C1〜C3,E1〜E3を介して他装置との間でフレームを送受信する。なお、ノードNa,Nc,Ne以外の各レイヤ2スイッチ1のポートの図示は省略されている。
Each
ノードNaのレイヤ2スイッチ1はポートA1〜A3を有する。ポートA1及びポートA2は、同一のリングネットワークNW#1内のノードNb,Ncにそれぞれ接続されたリングポートであり、ポートA3は、クライアントネットワークNWaと接続されたアクセスポートである。
The
ポート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
ノードNeのレイヤ2スイッチ1はポートE1〜E3を有する。ポートE1及びポートE2は、同一のリングネットワークNW#2内のノードNdに接続されたリングポートであり、ポートE3は、クライアントネットワークNWeと接続されたアクセスポートである。ポートE3のインターフェースには、MACアドレスがαに設定されたMEPが設定されている。
The
ノード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
図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
また、ノードNaのレイヤ2スイッチ1のポートA1は、ノードNc,Ne宛てのCCMフレームを送信するための送信ポートと、送信元がノードNc,NeであるCCMフレームを受信するための受信ポートとして機能する。なお、送信ポートは第1ポートの一例であり、受信ポートは第3ポートの一例である。
The port A1 of the
リングネットワークNW#2では、ノードNfのレイヤ2スイッチ1のポートのうち、隣接ノードNdと接続されたポートがブロッキングポートに設定されている。このため、そのポートと隣接ノードNdを結ぶ区間ではフレームの送受信が不可能である。
In the ring
リングネットワークNW#3では、ノードNeのレイヤ2スイッチ1のポートE1がブロッキングポートに設定されている。このため、ポートE1と隣接ノードNdを結ぶ区間ではフレームの送受信が不可能である。
In the ring
しかし、例えば、ブロッキングポートに設定されたポート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
図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
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
ノード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
管理ユニット90及び複数の回線ユニット91は、例えば、複数の電気部品が実装された回路基板により構成され、レイヤ2スイッチ1の筐体に設けられたスロットに実装される。管理ユニット90及び複数の回線ユニット91は、例えばスロットの背面側に設けられたバックボード92の電気配線と電気コネクタなどを介して接続され、バックボード92を介して互いにフレームFRM及び制御データCTLを入出力する。なお、レイヤ2スイッチ1は、上記の形態に限定されず、管理ユニット90と複数の回線ユニット91が1つの回路基板として構成されたものであってもよい。
The
管理ユニット90は、例えばCPU(Central Processing Unit)回路などから構成され、ポートPcを介してネットワーク管理装置と通信する。管理ユニット90は、ネットワーク管理装置の指示に従い各回線ユニット91に各種の設定及び制御を行う。
The
回線ユニット91は、複数のポートを介して他装置とフレームを送受信する。一例として、ポートA1は回線ユニット(#1)91に設けられ、ポートA2は回線ユニット(#2)91に設けられ、ポートA3は回線ユニット(#N)91に設けられている。なお、各回線ユニット91の他のポートの図示は省略する。
The
ポート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
各回線ユニット91は、バックボード92を介してフレームを入出力する。回線ユニット(#N)91には、管理ユニット90によりMEPが設定されており、MEPはCCMフレームの送受信を行う。符号Rcは、CCMフレームの送受信の経路を示す。ポートA1から入力されたCCMフレームは、バックボード92を経由して回線ユニット(#N)91に入力されてMEPで受信される。
Each
また、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
しかし、ブロッキングポートであるポート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
図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
ポート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
フレーム廃棄部151は、内部ヘッダに付与された情報に従いフレームを処理する。CCMフレームの内部ヘッダにはブロック情報が付与されているため、フレーム廃棄部151は、CCMフレームを廃棄する(「廃棄」参照)。
The frame 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
異常例1では、コンフィグレーションメモリ911のエラーによりフレーム廃棄部151が故障(「故障」参照)した場合を挙げる。この場合、CCMフレームの内部ヘッダにはブロック情報が付与されているにもかかわらず、フレーム廃棄部151は、CCMフレームを廃棄せず、バックボード92に転送する(「転送」参照)。このため、CCMフレームは、バックボード92から回線ユニット(#N)91に入力されてMEPで受信される。
In the first abnormality example, a case where the frame discard
また、異常例2では、コンフィグレーションメモリ911のエラーにより転送/ブロック管理テーブル112が故障(「故障」参照)した場合を挙げる。この場合、CCMフレームは、ブロッキングポートに設定されたポートA2から入力されたにもかかわらず、転送/ブロック管理テーブル112の参照の結果、ブロック情報ではなく、転送情報(FWD情報)が内部ヘッダに付与される。このため、フレーム廃棄部151は、転送情報に従いCCMフレームをバックボード92に転送する。これにより、CCMフレームは、バックボード92から回線ユニット(#N)91に入力されてMEPで受信される。
In the case of
そこで、レイヤ2スイッチ1は、ポートA1から送信されたCCMフレームが、ブロッキングポートに設定されたポートA2から受信されたことを検出し、CCMフレームの受信を検出した場合、ポートA2の動作を停止させる。このため、ポートA2は、FPGA910のフレーム処理機能が故障しても、フレームを入力することも出力することもできなくなるため、リングネットワークNW#1内のフレームのループLa,Lbを停止することができる。
Therefore, the
図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
ポート部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
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
フレーム処理部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
例えば、ポート(#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
また、例えば、ポート(#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
また、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
フレーム解析部150a,150bは、フレームの種類を解析し、その解析結果に応じて監視制御部10のOAM処理部103にCCMフレームを出力する。OAM処理部103はMEPに該当する。
The
フレーム廃棄部151a,151bは、上述したように、フレームの内部ヘッダにブロッキング情報が付与されている場合、フレームを廃棄する。また、フレーム廃棄部151a,151bは、フレームの内部ヘッダに転送情報が付与されている場合、フレームを転送処理部152a,152bに出力する。
As described above, the
転送処理部152a,152bは、FPGA910の内部メモリ154に記憶されたアドレス学習テーブル(TBL)17に基づきフレームの転送処理を行う。アドレス学習テーブル17は、アドレステーブルの一例であり、フレームのアドレス及び「VLAN ID」と出力先ポートが対応付けられて登録されている。なお、内部メモリ154は記憶部の一例であるが、アドレス学習テーブル17は、これに限定されず、FPGA910の外部メモリに記憶されてもよい。
The
図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
また、転送処理部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
また、転送処理部152bは、フレームの入力があった場合(ステップSt1のYes)、アドレス学習テーブル17を参照する(ステップSt2)。次に、転送処理部152bは、フレームのSAがアドレス学習テーブル17に登録済みであるか否かを判定する(ステップSt3)。
In addition, when a frame is input (Yes in step St1), the
転送処理部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
また、転送処理部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
図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
ノードNaのレイヤ2スイッチ1は、ノードNc,NeのMEPからポートA1を介してCCMフレームを受信する。このため、ノードNaのアドレス学習テーブル17には、ポートA1に対応して、ノードNc,NeのMEPのMACアドレスであるγ,αが登録されている。また、ノードNaのアドレス学習テーブル17の「VLAN ID」には、CCMフレームの「VLAN ID」である100が登録されている。
The
ノードNcのレイヤ2スイッチ1は、ノードNa,NeのMEPからポートC2を介してCCMフレームを受信する。このため、ノードNcのアドレス学習テーブル17には、ポートC2に対応して、ノードNa,NeのMEPのMACアドレスであるα,βが登録されている。また、ノードNcのアドレス学習テーブル17の「VLAN ID」には、CCMフレームの「VLAN ID」である100が登録されている。
The
ノードNeのレイヤ2スイッチ1は、ノードNa,NcのMEPからポートE2を介してCCMフレームを受信する。このため、ノードNeのアドレス学習テーブル17には、ポートE2に対応して、ノードNa,NcのMEPのMACアドレスであるβ,γが登録されている。また、ノードNeのアドレス学習テーブル17の「VLAN ID」には、CCMフレームの「VLAN ID」である100が登録されている。
The
しかし、図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
図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
ノードNaのレイヤ2スイッチ1は、自装置内のMEPから送信されたCCMフレームをポートA2から受信する。このため、ノードNaのアドレス学習テーブル17には、符号P1で示されるように、そのMEPのMACアドレスであるβがポートA2に対応付けられて登録されている。
The
ノードNcのレイヤ2スイッチ1は、自装置内のMEPから送信されたCCMフレームをポートC1から受信する。このため、ノードNcのアドレス学習テーブル17には、符号P2で示されるように、そのMEPのMACアドレスであるγがポートC1に対応付けられて登録されている。
The
ノードNeのレイヤ2スイッチ1は、自装置内のMEPから送信されたCCMフレームをポートE2から受信する。このため、ノードNeのアドレス学習テーブル17には、符号P3で示されるように、そのMEPのMACアドレスであるαがポートE2に対応付けられて登録されている。
The
このように、転送処理部152bは、各ポート120から受信されたCCMフレームの送信元アドレスであるSAをポート120ごとにアドレス学習テーブル17に登録する。したがって、レイヤ2スイッチ1は、後述するように、アドレス学習テーブル17に、自装置内のMEPのMACアドレスがブロッキングポートに対応して登録されているから、自装置のノードNaがループLa,Lbの原因であることを検出することができる。なお、転送処理部152bは登録処理部の一例である。
As described above, the
再び図8を参照すると、帯域制御部153a,153bは、例えばポリサやシェーパによりフレームの帯域を制御する。シェーパの場合、帯域制御部153aは、転送処理部152aから入力されたフレームをいったんバッファに格納して、インターフェース部16に出力する。また、帯域制御部153bは、インターフェース部16から入力されたフレームをいったんバッファに格納してMAC機能部14に出力する。
Referring to FIG. 8 again, the
インターフェース部16は、帯域制御部153aから入力されたフレームをその内部ヘッダの設定情報に基づいて、宛先に応じた回線ユニット91に転送する。より具体的には、インターフェース部16は、アドレス学習テーブル17から得られた宛先のポート120が属する回線ユニット91にフレームを転送する。また、インターフェース部16は、他の各回線ユニット91からバックボード92を介して入力されたフレームを多重化してフレーム解析部150bに出力する。
The
監視制御部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
動作制御部100は、回線ユニット91の動作を制御する。動作制御部100は、ポート制御部101、リング制御部102、OAM処理部103、及びループ検出部104に各種の処理を指示する。
The
ポート制御部101は、制御部の一例であり、動作制御部100の指示に応じてポート120の動作を停止する。ポート制御部101は、例えば、信号制御によりポート120の光モジュールの光送受信動作を停止させる。光送受信動作の停止手段としては、例えばレーザ光出力の停止やポート120の電源オフなどが挙げられる。
The
リング制御部102は、リング制御テーブル(TBL)110に基づき、フレーム処理部15に対し、各ポート120についてフレームの転送設定を行う。
Based on the ring control table (TBL) 110, the
図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
本例において、ノード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
ノード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
ノード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
したがって、監視制御部10は、リング制御テーブル110を参照することにより、ポート120(A1,A2、C1,C2,E1,E2)がブロッキングポートであるか否かを判別することができる。
Therefore, the
再び図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処理部103は、比較部の一例であり、ポート120から受信されたCCMフレームの「MEP ID」を所定の「Peer MEP IP」(所定の識別子)と比較する。OAM処理部103は、比較の結果、「MEP ID」を所定の「Peer MEP IP」に一致しない場合、「UnexpectedMEP」警報を動作制御部100に出力する。
For example, the
動作制御部100は、「UnexpectedMEP」警報が入力されると、ループ検出部104を起動する。ループ検出部104は、アドレス学習テーブル17及びリング制御テーブル110に基づき自装置のブロッキングポートのブロッキング機能が異常であるか否かを判断する。
The
ノードNaにおいて、ループ検出部104は、検出部の一例であり、ポートA1から送信されたCCMフレームが、ブロッキングポートに設定されたポートA2から受信されたことを検出する。つまり、ループ検出部104は、ブロッキングポートからのCCMフレームの受信を検出してループ警報として動作制御部100に出力する。
In the node Na, the
動作制御部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
また、ノードNcのOAM処理部103は「UnexpectedMEP」警報を出力するが、ノードNcにはブロッキングポートが設定されていないため、ポートC1〜C3の動作は停止されない。また、ノードNeのOAM処理部103も「UnexpectedMEP」警報を出力するが、CCMフレームは、ブロッキングポートではないポートE2から送信されて同じポートE2から受信されるため、ポートE1〜E3の動作は停止されない。したがって、ループLa,Lbの原因となるノードNaのブロッキングポートの動作だけを停止することができる。
Further, although the
図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処理部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処理部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処理部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処理部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処理部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処理部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
図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
ループ検出部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
ループ検出部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
ループ検出部104は、そのリングポートの「ポート状態」が「ブロッキング」であるか否かを判定する(ステップSt36)。つまり、ループ検出部104は、ブロッキングポートについて自装置内のMEPのMACアドレス(レイヤ2スイッチ1のMACアドレス)が登録されているか否かを判定する。
The
ループ検出部104は、リングポートの「ポート状態」が「フォワーディング」である場合(ステップSt36のNo)、処理を終了する。また、ループ検出部104は、リングポートの「ポート状態」が「ブロッキング」である場合(ステップSt36のYes)、ループ警報を動作制御部100に出力する(ステップSt37)。
When the “port state” of the ring port is “forwarding” (No in step St36), the
このように、ループ検出部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
次に、ループ検出部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
次に、ポート制御部101は、該当するポート120の動作を停止する(ステップSt38)。ノードNaのポート制御部101は、ポートA2の動作を停止する。このため、ブロッキングポートを介したフレームの送受信自体が停止されるので、リングネットワークNW#1内のループLa,Lbが停止する。このようにして、ループ警報の検出処理は実行される。
Next, the
上述したように、ノードNaにおいて、ループ検出部104は、ポートA1から送信されたCCMフレームが、ブロッキングポートに設定されたポートA2から受信されたことを検出する。ポート制御部101は、ループ検出部104がブロッキングポートからのCCMフレームの受信を検出した場合、ポートA2の動作を停止する。
As described above, in the node Na, the
したがって、リングネットワークNW#1内にループLa,Lbが発生しても、手作業でループLa,Lbの原因となるノードNaを特定する必要がなく、迅速にループLa,Lbを停止することが可能となる。これにより、リングネットワークNW#1のループ状態が容易に解除される。
Therefore, even if the loops La and Lb occur in the ring
また、図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
上述した実施形態は本発明の好適な実施の例である。但し、これに限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変形実施可能である。 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
(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
(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
Claims (5)
ブロッキングポートに設定された第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.
前記第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.
前記他装置は、第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ポートから送信された前記監視フレームが、ブロッキングポートに設定された第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.
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)
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 |
-
2017
- 2017-01-16 JP JP2017005459A patent/JP2018117195A/en active Pending
Cited By (1)
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 |