JP6026847B2 - Communication device, ring network system, and control method - Google Patents
Communication device, ring network system, and control method Download PDFInfo
- Publication number
- JP6026847B2 JP6026847B2 JP2012233660A JP2012233660A JP6026847B2 JP 6026847 B2 JP6026847 B2 JP 6026847B2 JP 2012233660 A JP2012233660 A JP 2012233660A JP 2012233660 A JP2012233660 A JP 2012233660A JP 6026847 B2 JP6026847 B2 JP 6026847B2
- Authority
- JP
- Japan
- Prior art keywords
- port
- failure
- control frame
- communication
- communication device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
本発明は、通信装置、リング型ネットワークシステム、および制御方法に関する。 The present invention relates to a communication device, a ring network system, and a control method.
中継網ネットワークにおいて、リング構成を施すことで通信経路の冗長化を図ることが可能である。ところが、一般的に、リング内の通信経路で障害が発生すると、フレームがループして帯域が圧迫されてしまう。このようなループを防ぎながら、フレーム転送経路の高速な切り替えを行うには、ERP(Ethernet(登録商標) Ring Protection Switching)が有効である。 In a relay network, a communication path can be made redundant by providing a ring configuration. However, in general, when a failure occurs in a communication path in a ring, a frame is looped and a band is compressed. ERP (Ethernet (registered trademark) Ring Protection Switching) is effective for switching the frame transfer path at high speed while preventing such a loop.
ERPは、リング型のイーサネット(登録商標)に特化したレイヤー2のループ防止・冗長化を可能とし、リング型ネットワークにおいて、通信経路の冗長性を持たせることでネットワークの高信頼化を実現するための機能である。しかし、リングを構成する各ノード間(通信経路)には1ポートしかないので、複数の通信経路で障害が発生した場合には、ネットワークが分断されて、ネットワークにおける通信が不可能となる。 ERP enables layer 2 loop prevention and redundancy specialized for ring type Ethernet (registered trademark), and realizes high network reliability by providing redundancy of communication paths in ring type network It is a function for. However, since there is only one port between nodes constituting the ring (communication route), if a failure occurs in a plurality of communication routes, the network is divided and communication in the network becomes impossible.
すなわち、ERPを用いたリング型ネットワークにおいて、通信経路の障害が発生した場合、障害箇所に対するノードのポートをブロックし、通信経路の切り替えを行う。しかし、複数の通信経路で障害(多重障害)が発生した場合、それぞれの障害に対するポートがブロックされるので、ネットワークが分断されて、通信断が発生する。 That is, in a ring network using ERP, when a communication path failure occurs, the node port for the failure point is blocked and the communication path is switched. However, when a failure (multiple failure) occurs in a plurality of communication paths, the ports for each failure are blocked, so the network is divided and a communication interruption occurs.
そこで、通信断の発生を回避するために、ERPを用いたリング型ネットワークにおいて、各ノード間に複数の物理的ポートを設ける。そして、それらを1つの論理的なチャネルとして扱うことでポートの冗長化を実現するLAG(Link Aggregation)機能によってリングポートの冗長化を行なう。なお、そのネットワークの通信帯域は、LAG機能によるリングポートの冗長化が行われていないものと同等であるようにする。このネットワークにおいて、通信経路の障害が発生した場合、LAGポートを縮退させることによって、多重障害であっても、通信断の発生を回避することができる。しかし、この場合、通信帯域が確保されなくなってしまう。 Therefore, in order to avoid the occurrence of communication interruption, a plurality of physical ports are provided between nodes in a ring network using ERP. Then, the ring ports are made redundant by a LAG (Link Aggregation) function that realizes port redundancy by treating them as one logical channel. Note that the communication bandwidth of the network is equivalent to that in which the ring port is not made redundant by the LAG function. In this network, when a communication path failure occurs, by degenerating the LAG port, the occurrence of communication disconnection can be avoided even in the case of multiple failures. However, in this case, the communication band cannot be secured.
そこで、通信帯域を確保させるために、障害がLAGポートを構成する複数のリングポートのどれか1つで発生した場合でも、当該LAGポートを縮退させず、当該LAGポートを構成する全リングポートをブロックし、通信経路の切り替えを行う。このネットワークにおいて、通信経路の障害が発生した場合、障害箇所に対するノードのリングポートを含むLAGポートの全リングポートをブロックし、通信経路の切り替えを行い、通信帯域も確保される。しかし、さらに、複数の通信経路で障害(多重障害)が発生した場合、それぞれの障害に対するリングポートのLAGポートの全リングポートがブロックされるので、ネットワークが分断されて、通信断が発生してしまう。 Therefore, in order to secure a communication band, even when a failure occurs in any one of a plurality of ring ports constituting the LAG port, all the ring ports constituting the LAG port are not degenerated. Block and switch communication paths. In this network, when a communication path failure occurs, all the ring ports of the LAG port including the ring port of the node for the failed part are blocked, the communication path is switched, and the communication band is also secured. However, if a failure (multiple failure) occurs in multiple communication paths, all ring ports of the LAG port of the ring port for each failure are blocked, so the network is divided and communication disconnection occurs. End up.
なお、リング型ネットワークにおける障害時の通信断に関して、特許文献1に、閉塞ポートが誤って設定された(閉塞ポートの誤設定の)場合の誤設定の検出と誤設定によるポート閉塞からの復旧方法について述べられている。この文献では、多重障害時の動作について開示されていない。仮に、この方法を多重障害が発生した場面に適用してみると、マスターノードにおいて、複数の閉塞ポートの存在を検出することは可能であるが、閉塞ポートが誤設定によるものではなく障害によるものなので、ポート閉塞からの復旧は行われない。また、リング型ネットワークにおける多重障害について、特許文献2では、多重障害の発生および多重障害から少なくともひとつの復旧を検出することが可能であるものの、多重障害時の通信経路の確保については開示されていない。 Regarding communication disconnection at the time of a failure in a ring network, Patent Document 1 discloses a method of detecting misconfiguration when a blocked port is incorrectly set (incorrect setting of a blocked port) and recovering from port blocking due to incorrect setting. Is mentioned. This document does not disclose the operation at the time of multiple failures. If this method is applied to a scene where multiple failures occur, the master node can detect the presence of multiple blocked ports, but the blocked ports are not due to misconfiguration but due to failures. Therefore, recovery from port blockage is not performed. Further, regarding multi-failure in a ring network, Patent Document 2 discloses the occurrence of multi-failure and at least one recovery from the multi-failure, but does not disclose how to secure a communication path at the time of multi-failure. Absent.
上述のように、LAG機能によりポート冗長化されたリング型ネットワークにおいて、通信経路の障害発生時、LAGポートをブロックし、通信経路の切り替えを行う場合、多重障害が発生すると、ネットワークが分断されて、通信断が発生するという課題がある。 As described above, in a ring network with port redundancy using the LAG function, when a communication path failure occurs, when the LAG port is blocked and the communication path is switched, the network is divided when a multiple failure occurs. There is a problem that communication interruption occurs.
本発明の目的は、上記の課題を解決したノード装置、リング型ネットワークシステム、および制御方法を提供することである。 An object of the present invention is to provide a node device, a ring network system, and a control method that have solved the above problems.
本発明のERP機能を備える通信装置は、フレームおよび制御フレームを送受信する複数の第1のポートから構成される第1のLAGポートと、フレームおよび制御フレームを送受信する複数の第2のポートから構成される第2のLAGポートと、前記複数の第1のポートのいずれかで障害が検出された場合、自装置が構成するリング上で他に障害が発生していない場合には、前記複数の第1のポートのすべてをブロックし、障害の発生していないその他のLAGポートから制御フレームを送信し、また、自装置が構成するリング上の当該障害ポートを含むLAGポート以外で他に障害が発生している場合には、当該障害ポートを含むLAGポートを縮退する制御手段とを備えることを特徴とする。 A communication apparatus having an ERP function according to the present invention includes a first LAG port including a plurality of first ports that transmit and receive a frame and a control frame, and a plurality of second ports that transmit and receive a frame and a control frame. When a failure is detected at any one of the second LAG port and the plurality of first ports, if there is no other failure on the ring configured by the own device, Block all of the first ports, transmit control frames from other LAG ports that have not failed, and there are other failures other than the LAG port including the failed port on the ring configured by the local device. And a control means for degenerating the LAG port including the failed port.
本発明のERP機能を備える通信装置の制御方法は、フレームおよび制御フレームを送受信する複数の第1のポートから構成される第1のLAGポートと、フレームおよび制御フレームを送受信する複数の第2のポートから構成される第2のLAGポートとを有するERP機能を備える通信装置において、前記複数の第1のポートのいずれかで障害が検出された場合、自装置が構成するリング上で他に障害が発生していない場合には、前記複数の第1のポートのすべてをブロックし、障害の発生していないその他のLAGポートから制御フレームを送信し、また、自装置が構成するリング上の当該障害ポートを含むLAGポート以外で他に障害が発生している場合には、当該障害ポートを含むLAGポートを縮退する制御工程を備えることを特徴とする。 A method for controlling a communication apparatus having an ERP function according to the present invention includes a first LAG port composed of a plurality of first ports that transmit and receive a frame and a control frame, and a plurality of second LAG ports that transmit and receive a frame and a control frame. In a communication apparatus having an ERP function having a second LAG port composed of ports, if a failure is detected in any of the plurality of first ports, another failure occurs on the ring formed by the own apparatus. Is not generated, all of the plurality of first ports are blocked, a control frame is transmitted from another LAG port in which no failure has occurred, and A control step of degenerating the LAG port including the faulty port when a fault has occurred other than the LAG port including the faulty port. And butterflies.
本発明によれば、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、多重障害発生時、ネットワークが分断せず、通信断の発生を回避することが可能となる。 According to the present invention, in a ring network using ERP in which ring ports are made redundant by the LAG function, when a multiple failure occurs, the network is not divided and the occurrence of communication interruption can be avoided. .
初めに、ITU−T G.8032(International Telecommunication Union Telecommunication Standardization Sector)で規定されているERPの動きについて説明する。ERPでは、複数の通信装置から構成される1つのイーサネットリングにおいて、その中の1台の通信装置に、ネットワークループを防止するため、ブロックポートが設定される。また、障害発生時の動作として、ある通信経路において障害が発生した場合、別の経路への経路切り替えが行われる。障害を検出した通信装置は、障害箇所のポートをブロック設定し、ブロック設定の解除を要求する制御フレームを他の装置へ送信する。この制御フレームを受信した他装置は、自身にブロック設定されたポート(ブロックポート)がある場合、ブロック設定を解除することで、イーサネットリング上のブロックポート箇所が変更され、通信経路の切り替えが行われる。 First, ITU-TG ERP movement defined in 8032 (International Telecommunication Union Telecommunication Standardization Sector) will be described. In ERP, in one Ethernet ring composed of a plurality of communication devices, a block port is set in one communication device in order to prevent a network loop. Further, as an operation when a failure occurs, when a failure occurs in a certain communication route, the route is switched to another route. The communication device that has detected the failure sets the port of the failure location as a block, and transmits a control frame requesting release of the block setting to another device. When another device that has received this control frame has a port (block port) that is set to block, the block port location on the Ethernet ring is changed and the communication path is switched by releasing the block setting. Is called.
次に、IEEE 802.3ad(The Institute of Electrical and Electronics Engineers, Inc)で規定されているLAG機能によって冗長化されたリングポートのブロック設定について説明する。本発明の実施の形態では、リングポートがLAG機能によって冗長化されている。そして、複数のリングポートから成るLAGポートにおいて、少なくとも1つのリングポートで障害が発生した場合、当該LAGポートをブロック(LAGポートに含まれる全てのリングポートをブロック)設定し、通信経路の切り替えを行う。この切り替えは、障害発生時でも、LAG機能により拡張された通信帯域を確保するためのものである。 Next, the block setting of the ring port made redundant by the LAG function defined by IEEE 802.3ad (The Institute of Electrical and Electronics Engineers, Inc) will be described. In the embodiment of the present invention, the ring port is made redundant by the LAG function. When a failure occurs in at least one ring port among the LAG ports composed of a plurality of ring ports, the LAG port is set as a block (all ring ports included in the LAG port are set), and the communication path is switched. Do. This switching is for securing a communication band expanded by the LAG function even when a failure occurs.
以下に、本発明の第1の実施の形態について、図面を参照して詳細に説明する。 Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.
本実施の形態は、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、通信経路の障害発生時、LAGポートの全リングポートをブロックし、通信経路の切り替えを行う場合を前提とする。その前提で、多重障害発生時には、その新たな障害に対するリングポートを有するLAGポートにおいて、その他のリングポートを使用する(縮退させる)ものである。 In this embodiment, in a ring network using ERP in which a ring port is made redundant by the LAG function, when a communication path failure occurs, all ring ports of the LAG port are blocked and the communication path is switched. Assumes the case. Based on that premise, when a multiple failure occurs, other ring ports are used (degenerate) in the LAG port having the ring port for the new failure.
まず、本発明の第1の実施の形態の構成について、図1を参照して説明する。図1はリングポートがLAG機能により冗長化された通信装置で構成されるイーサネットリングを示す。図1において、通信端末300、通信端末301は、通信装置A 100、通信装置B 101、通信装置C 102、通信装置D 103、通信装置E 104、通信装置F 105で構成されるイーサネットリングを介して、通信経路310で通信を行っている。なお、通信装置A 100は、ポートE1、ポートE2、ポートW1、ポートW2、制御処理部Pを有する。ここで、ポートE1とポートE2はLAGポートEを構成し、ポートW1とポートW2はLAGポートWを構成している。また、制御処理部Pは通信装置における制御処理を行う。通信装置B 101、通信装置C 102、通信装置D 103、通信装置E 104、通信装置F 105も、同様にポートおよびLAGポート、制御処理部を有している。このことは、図2〜7、図9、図14でも同様である。また、通信装置B 101のLAGポートE1にブロックポート200が設定されている。
First, the configuration of the first embodiment of the present invention will be described with reference to FIG. FIG. 1 shows an Ethernet ring composed of communication devices whose ring ports are made redundant by the LAG function. In FIG. 1, a
次に、本発明の第1の実施の形態の動作について説明する。 Next, the operation of the first exemplary embodiment of the present invention will be described.
図2、図3、図4は、図1で示したイーサネットリング上において多重障害が発生した時の動作を示し、また、図5、図6、図7は、多重障害が復旧した時の動作を示す。さらに、詳細な動作として、図8は多重障害発生までの処理のシーケンスを示し、また、図10は多重障害復旧時の処理のシーケンスを示す。最後に、通信装置での処理について、図11、図12、図13を参照して説明する。なお、通信装置における制御処理は制御処理部にて行われている。 2, 3, and 4 show the operation when a multiple failure occurs on the Ethernet ring shown in FIG. 1, and FIGS. 5, 6, and 7 show the operation when the multiple failure is restored. Indicates. Further, as a detailed operation, FIG. 8 shows a processing sequence up to the occurrence of multiple failures, and FIG. 10 shows a processing sequence when multiple failures are recovered. Finally, processing in the communication apparatus will be described with reference to FIGS. 11, 12, and 13. FIG. Note that control processing in the communication device is performed by a control processing unit.
まず、図2では、通信装置E 104と通信装置F 105が接続されている回線ポート400において障害が発生した時の動作を示す。なお、回線ポートとはリングポートと同義である。通信装置E 104では、ブロックポート201を設定し、制御フレーム500をイーサネットリング上に送信する。同様に、通信装置F 105では、ブロックポート202を設定し、制御フレーム501をイーサネットリング上に送信する。通信装置A 100、通信装置B 101、通信装置C 102、通信装置D 103は、制御フレーム500、制御フレーム501を受信し、当該障害を認識する。通信装置E 104と通信装置F 105は、回線ポート400と回線ポート401で接続されており、回線ポート400と回線ポート401は、LAG機能により冗長化され、LAGポートを構成している。図2では、回線ポート400においてのみ障害が発生している。複数の回線ポートから成るLAGポートにおいて、少なくとも1つの回線ポートで障害が発生した場合、当該回線ポートを含むLAGポートをブロック(LAGポートに含まれる、全ての回線ポートをブロックポートとして)設定する。ここでは、回線ポート400と回線ポート401がブロック設定される。また、同イーサネットリング上にある通信装置B 101において、同装置に設定されているブロックポート200が制御フレームの受信により解除される。結果として、通信端末300と通信端末301との間の通信経路は、通信経路311へ切り替わる。
First, FIG. 2 shows an operation when a failure occurs in the
図3では、通信装置F 105において、通信装置E 104から制御フレーム500を受信したときの自装置IDと制御フレームの送信元装置IDの比較処理を示す。以降、ERP機能における装置IDの大小関係は、通信装置A>B>C>D>E>Fと設定されているものとして説明を進める。装置IDの大小関係は通信装置E 104>通信装置F 105であり、通信装置F 105では、送信元装置ID>自装置IDとなるため、障害発生に伴い設定されていたブロックポート202を解除し、送信していた制御フレーム501を停止する。これは、ブロックポートを通信装置E 104か通信装置F 105のどちらか一方に設定するための処理である。
FIG. 3 shows a comparison process between the own apparatus ID and the transmission source apparatus ID of the control frame when the
図4では、通信装置C 102と通信装置D 103が接続されている回線ポート403において障害が発生した時の動作を示す。障害発生時の動作の前提にしたがえば、図2での回線ポート400と回線ポート401のように、回線ポート402と回線ポート403はブロックポートとなるべきところである。しかし、同一イーサネットリング上の他のノード間の回線ポート400において、既に障害が発生している状態のため、本実施の形態では、回線ポート402と回線ポート403に対してブロックポートの設定を行わない。結果として、通信装置C 102と通信装置D 103との間の通信は、障害が発生していない回線ポート402を使用することで可能となり、多重障害状態でも、回線ポート402を通る通信経路320を使用することで、通信端末300と通信端末301の通信が可能となる。
FIG. 4 shows an operation when a failure occurs in the
図5では、通信装置E 104と通信装置F 105が接続されている回線ポート400における障害が復旧した時の動作を示す。障害の復旧を検出した通信装置E 104において、障害発生時に送信していた制御フレーム500を停止し、制御フレーム502を送信することで、他装置に対して障害の復旧を通知する。
FIG. 5 shows an operation when a failure in the
図6では、回線ポート400での障害復旧に伴い、障害が発生している通信装置C 102と通信装置D 103において、それぞれ、ブロックポート203、ブロックポート204を設定する。結果として、通信端末300と通信端末301との間の通信経路は、通信経路321へ切り替わる。また、通信装置C 102と通信装置D 103では、それぞれ、制御フレーム503、制御フレーム504を送信することで、他装置に対して障害の存在を通知する。
In FIG. 6, the
最後に、図7では、通信装置D 103において、通信装置C 102から制御フレーム503を受信し、自装置IDと制御フレームの送信元装置IDの比較処理を行う。装置IDの大小関係は、通信装置C 102>通信装置D 103であり、通信装置D 103では、送信先装置ID>自装置IDとなるため、障害発生に伴い設定されていたブロックポート204を解除し、送信していた制御フレーム504を停止する。
Finally, in FIG. 7, the
次に、本発明の第1の実施の形態の詳細な動作について、図8、図10を参照して説明する。 Next, detailed operation of the first exemplary embodiment of the present invention will be described with reference to FIGS.
図8では、通信装置B 101、通信装置C 102、通信装置D 103、通信装置E 104、通信装置F 105における、多重障害発生までの処理をシーケンス図で示す。
FIG. 8 is a sequence diagram showing processing up to the occurrence of multiple failures in the
通信装置F 105において、回線ポート400で障害検出する(障害検出S601)と、ブロックポート202を設定する(ブロックポート設定S603)。同様に、通信装置E 104でも、回線ポート400で障害検出する(障害検出S602)ため、ブロックポート201を設定する(ブロックポート設定S604)。通信装置F 105では、ブロックポート202の設定を終えると、障害を通知するため制御フレーム501を他の通信装置に送信する(制御フレーム送信S605)。
In the
通信装置B 101において、制御フレーム501を受信すると、当該障害を認識し、自装置にて、ブロックポート200を持ち、且つ、障害が発生していないため、ブロックポート200を解除する(ブロックポート解除S606)。そして、制御フレーム501は通信装置B 101を通過する。
When the
通信装置A 100、通信装置C 102、通信装置D 103においても、制御フレーム501を受信すると、当該障害を認識する。
The
通信装置E 104において、制御フレーム501を受信すると、自装置IDと制御フレームの送信元の通信装置F 105の装置IDの比較処理を行う(装置ID比較S607)。装置IDの大小関係は、通信装置E 104>通信装置F 105であり、通信装置E 104では、送信元装置ID<自装置IDとなるため、特に処理を行わない。
When the
通信装置E 104では、通信装置F 105と同様に、ブロックポート201の設定(ブロックポート設定S604)を終えると、障害を通知するため制御フレーム500を他の通信装置に送信する(制御フレーム送信S608)。
As with the
通信装置B 101において、制御フレーム500を受信すると、先に、制御フレーム501を受信し、ブロックポート200の解除を行っているため、特に処理を行わず、制御フレーム500は通信装置B 101を通過する。
When
通信装置F 105において、制御フレーム500を受信すると、自装置IDと制御フレームの送信元の通信装置F 104の装置IDの比較処理を行う(装置ID比較S609)。装置IDの大小関係は、通信装置E 104>通信装置F 105であり、通信装置E 105では、送信元装置ID>自装置IDとなる。このため、制御フレーム501の送信を停止し(制御フレーム送信停止S610)、ブロックポート202を解除する(ブロックポート解除S611)。この結果、イーサネットリング上には、ブロックポート201のみが設定された状態となる。
When the
最後に、通信装置C 102において、回線ポート403の障害を検出し(障害検出S612)、通信装置D 103においても、回線ポート403の障害を検出している(障害検出S613)。自装置における障害発生時には、通常、通信経路の切り替え処理として、ブロックポートの設定と制御フレームの送信を行う。しかし、ここでブロックポートの設定を行うと、既に、回線ポート400で発生している障害により、通信装置E 104にブロックポート201が設定されている(ブロックポート設定S604)ため、通信経路の分断が発生する。この通信経路の分断を回避する手段として、通信装置C 102と通信装置D 103における回線ポート403の障害発生に対して、通信経路の切り替え処理を行わない(縮退させる)。
Finally, the
なお、本実施の形態の動作ではないが、補足として、通信装置C 102と通信装置D 103において、回線ポート403の障害発生時に通信経路の切り替え処理を行った場合の動作を図9に示す。回線ポート403の障害発生時に、通信装置C 102では、ブロックポート203を設定し、通信装置D 103では、ブロックポート204を設定している。このため、通信端末300と通信端末301との間の通信は、通信経路331と通信経路333においては、ブロックポート201でブロックされる。また、通信経路330においては、ブロックポート203で、通信経路332においては、ブロックポート204でブロックされる。このため、通信端末300と通信端末301の通信において、通信断が発生する。
Although not the operation of the present embodiment, FIG. 9 shows the operation when the communication path switching process is performed in the
次に、図10を参照して、多重障害状態からの復旧時の処理について説明する。図10では、通信装置C 102、通信装置D 103、通信装置E 104、通信装置F 105における、多重障害復旧時の処理をシーケンス図で示す。
Next, processing at the time of recovery from a multiple failure state will be described with reference to FIG. FIG. 10 is a sequence diagram showing processing at the time of multiple failure recovery in the
通信装置F 105では、回線ポート400での障害復旧を検出する(障害復旧検出S621)。
The
一方、通信装置E 104では、回線ポート400での障害復旧を検出する(障害復旧検出S622)と、制御フレーム502を送信し(制御フレーム送信S623)、他の通信装置に対して、自装置で発生していた障害の復旧を通知する。
On the other hand, when the
通信装置D 103では、通信装置E 104から送信された制御フレーム502を受信し、通信装置E 104で発生していた障害の復旧を認識し、自装置において障害ポートの有無を確認する。通信装置D 103では、回線ポート403において障害が発生しているため、障害から復旧した通信装置E 104に代わって、ブロックポート204を設定する(ブロックポート設定S624)。そして、制御フレーム504を送信し(制御フレーム送信S626)、他の通信装置に対して、自装置にブロックポートを設定したことを通知する。制御フレーム502は通信装置B 103を通過する。
The
通信装置C 102では、制御フレーム502を受信すると、通信装置D 103と同様に、障害から復旧した通信装置E 104に代わって、ブロックポート203を設定する(ブロックポート設定S625)。
Upon receiving the
通信装置E 104では、通信装置D 103から送信された制御フレーム504を受信する。自装置において、ブロックポート200が有り、且つ、障害が発生していないため、制御フレーム502の送信を停止し(制御フレーム送信停止S627)、ブロックポート201を解除する(ブロックポート解除S628)。制御フレーム504は通信装置E 104を通過する。
The
通信装置C 102では、制御フレーム504を受信すると、自装置IDと制御フレームの送信元の通信装置F 103の装置IDの比較処理を行う(装置ID比較S629)。装置IDの大小関係は、通信装置C 102>通信装置D 103であり、通信装置C 102では、送信元装置ID<自装置IDとなるため、特に処理は行わない。
Upon receiving the
通信装置C 102では、ブロックポート203の設定(ブロックポート設定S625)を終えると、制御フレーム503を送信し(制御フレーム送信S630)、他の通信装置に対して、自装置にブロックポートを設定したことを通知する。
When the
最後に、通信装置D 103では、制御フレーム503を受信すると、自装置IDと制御フレームの送信元の通信装置F 102の装置IDの比較処理を行う(装置ID比較S631)。装置IDの大小関係は、通信装置C 102>通信装置D 103であり、通信装置D 103では、送信元装置ID>自装置IDとなる。このため、制御フレーム504の送信を停止し(制御フレーム送信停止S632)、ブロックポート204を解除する(ブロックポート解除S633)。この結果、イーサネットリング上には、ブロックポート203のみが設定された状態となる。
Finally, when the
次に、本発明の第1の実施の形態における通信装置での処理について、図11、図12、図13を参照して説明する。 Next, processing in the communication apparatus according to the first embodiment of the present invention will be described with reference to FIG. 11, FIG. 12, and FIG.
図11では、障害発生時の処理をフローチャートで示す。 FIG. 11 is a flowchart showing processing when a failure occurs.
通信装置は、障害を検出する(障害検出S701)と、リング上で他に障害が発生していないか判定する(障害判定S702)。通信装置は、障害が発生している場合は、終了し、障害が発生していない場合は、当該障害ポートを含むLAGポートの全ポートをブロックする(全ポートブロックS703)。通信装置は、次に、制御フレームを送信する(制御フレーム送信S704)。 When the communication device detects a failure (failure detection S701), it determines whether another failure has occurred on the ring (failure determination S702). If a failure has occurred, the communication apparatus ends. If no failure has occurred, the communication device blocks all the LAG ports including the failed port (all port block S703). Next, the communication apparatus transmits a control frame (control frame transmission S704).
図12では、障害発生を通知する制御フレームの受信時の処理をフローチャートで示す。 FIG. 12 is a flowchart showing processing at the time of receiving a control frame notifying that a failure has occurred.
通信装置は、他装置から制御フレームを受信する(制御フレーム受信S711)と、自装置にブロックポートが存在しているか判定する(ブロックポート判定S712)。通信装置は、ブロックポートが存在していない場合は、終了し、ブロックポートが存在している場合は、自装置で障害が発生しているか判定する(障害判定S713)。通信装置は、障害が発生している場合は、送信元装置ID>自装置IDか判定する(ID判定S714)。通信装置は、否の場合は、終了し、是の場合、および前記障害が発生していない場合は、ブロックポートを解除する(ブロックポート解除S715)。通信装置は、次に、制御フレームの送信を停止する(制御フレーム送信停止S716)。 When the communication device receives a control frame from another device (control frame reception S711), the communication device determines whether a block port exists in the own device (block port determination S712). If the block port does not exist, the communication apparatus ends. If the block port exists, the communication apparatus determines whether a failure has occurred in the own apparatus (failure determination S713). If a failure has occurred, the communication device determines whether the transmission source device ID> the own device ID (ID determination S714). If the answer is NO, the communication device is terminated, and if YES, and if the failure has not occurred, the communication device releases the block port (block port release S715). Next, the communication apparatus stops transmission of the control frame (control frame transmission stop S716).
図13では、障害復旧を通知する制御フレームの受信時の処理をフローチャートで示す。 FIG. 13 is a flowchart showing processing at the time of receiving a control frame notifying failure recovery.
通信装置は、他装置から制御フレームを受信する(制御フレーム受信S721)と、自装置に障害が存在しているか判定する(障害判定S722)。通信装置は、障害が存在していない場合は、終了し、障害が存在している場合は、当該障害ポートをブロックする(障害ポートブロックS723)。通信装置は、次に、制御フレームを送信する(制御フレーム送信S724)。 When the communication device receives a control frame from another device (control frame reception S721), the communication device determines whether a failure exists in the own device (failure determination S722). If there is no failure, the communication device ends, and if there is a failure, the communication device blocks the failure port (failure port block S723). Next, the communication apparatus transmits a control frame (control frame transmission S724).
以上のように、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、通信経路の障害発生時、LAGポートの全リングポートをブロックし、通信経路の切り替えを行う。そして、多重障害発生時には、その新たな障害に対するリングポートを有するLAGポートにおいて、その他のリングポートを使用する(縮退させる)。これにより、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、多重障害発生時、ネットワークが分断せず、通信断の発生を回避することが可能となる。 As described above, in a ring network using ERP in which ring ports are made redundant by the LAG function, when a communication path failure occurs, all ring ports of the LAG port are blocked and the communication paths are switched. When a multiple failure occurs, other ring ports are used (degenerate) in the LAG port having the ring port for the new failure. As a result, in a ring network using ERP in which ring ports have been made redundant by the LAG function, when a multiple failure occurs, the network is not divided and the occurrence of communication interruption can be avoided.
本発明の第2の実施の形態について、図面を参照して詳細に説明する。 A second embodiment of the present invention will be described in detail with reference to the drawings.
本実施の形態は、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、通信経路の障害発生時、LAGポートの全リングポートをブロックし、通信経路の切り替えを行うことは前提としない。すなわち、通信経路の障害発生時、通信経路の切り替え(LAGポートのブロック設定)を行わず、LAGポートを構成する複数のリングポートの内、1つでも正常なリングポートがある場合、それらを使用(縮退)する。 In this embodiment, in a ring network using ERP in which a ring port is made redundant by the LAG function, when a communication path failure occurs, all ring ports of the LAG port are blocked and the communication path is switched. I don't assume that. That is, when a communication path failure occurs, switching of the communication path (LAG port block setting) is not performed, and if there is at least one normal ring port among a plurality of ring ports constituting the LAG port, these are used. (Degenerate).
本発明の第2の実施の形態の基本的な構成は、本発明の第1の実施の形態のものと同じである。 The basic configuration of the second embodiment of the present invention is the same as that of the first embodiment of the present invention.
本発明の第2の実施の形態の動作について、図14を参照して説明する。 The operation of the second embodiment of the present invention will be described with reference to FIG.
本発明の第1の実施の形態では、図2に示されている通り、回線ポート400で障害が発生した場合、ブロックポート201とブロックポート202を設定し、通信経路の切り替え処理を行う。本実施の形態では、図14に示す通り、回線ポート401が正常なため、通信経路の切り替えを行わず、回線ポート401を使用する。さらに、多重障害として、回線ポート403で障害が発生した場合、回線ポート402が正常なため、通信経路の切り替えを行わず、回線ポート402を使用する。結果として、図14に示す通り、回線ポート400と回線ポート403での障害による多重障害時でも、回線ポート401を使用する通信経路340により、通信端末300と通信端末301の通信が可能となる。
In the first embodiment of the present invention, as shown in FIG. 2, when a failure occurs in the
なお、LAG機能によるリングポートの冗長化により通信帯域の拡張が行われている場合、図14においては、LAGポートが2つの回線ポートから構成されているため、障害発生時、通信帯域が正常時の半分となり、拡張された通信帯域は確保できなくなる。 When the communication band is expanded by the redundancy of the ring port by the LAG function, in FIG. 14, since the LAG port is composed of two line ports, when the failure occurs, the communication band is normal. Thus, the extended communication bandwidth cannot be secured.
以上のように、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、通信経路の障害発生時にも、多重障害発生時にも、その新たな障害に対するリングポートを有するLAGポートにおいて、その他のリングポートを使用する(縮退させる)。これにより、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、多重障害発生時、ネットワークが分断せず、通信断の発生を回避することが可能となる。 As described above, in a ring network using ERP in which a ring port is made redundant by the LAG function, a LAG having a ring port for the new failure when a communication path failure occurs or when a multiple failure occurs. Use other ring ports in the port (degenerate). As a result, in a ring network using ERP in which ring ports have been made redundant by the LAG function, when a multiple failure occurs, the network is not divided and the occurrence of communication interruption can be avoided.
本発明の第3の実施の形態について、図面を参照して詳細に説明する。 A third embodiment of the present invention will be described in detail with reference to the drawings.
図15は第3の実施の形態における通信装置の構成を示す。 FIG. 15 shows a configuration of a communication apparatus according to the third embodiment.
本実施の形態における通信装置800は、ERP機能を備え、ポート811、ポート812、ポート813、ポート821、ポート822、ポート823、LAGポート810、LAGポート820、処理部830、制御部840で構成されている。
各ポートは、フレームおよび制御フレームを送受信する。ポート811〜813はLAGポート810を構成し、ポート821〜823はLAGポート820を構成している。処理部830は、ポートとのフレームおよび制御フレームの処理、ならびに制御部との障害情報および制御情報の処理を行う。制御部840は、処理部830を経由して、各ポートから、障害情報、制御フレームの情報を受信し、また、ポートのブロック制御、制御フレームの送信制御を行う。
Each port transmits and receives a frame and a control frame. The
ここでは、ポート811で障害を検出しているとする。制御部840は、それまで受信した制御フレームの情報の履歴にもとづいて、自装置が構成するリング上で他に障害が発生していないかを判断する。そして、発生していない場合に、障害ポート811を含むLAGポート810の全ポート、ポート811、ポート812、ポート813をブロックし、ブロックされていないLAGポート820から制御フレームを送信する。
Here, it is assumed that a failure is detected at the
ここで、例えばポート821で他装置からの制御フレームを受信するとする。すると、自装置のポート(ポート811)での障害発生に起因するブロックポート(LAGポート810)が存在しているので、あらかじめ所持している装置IDの優先度を示す表にもとづいて、制御フレームの送信元装置IDが自装置IDより優先度が高いかを判断する。そして、高い場合に、ブロックポート(LAGポート810)を解除し、LAGポート820からの制御フレームの送信を停止する。
Here, for example, it is assumed that a control frame is received from another device at the
また、当初のブロックポート(LAG810)が自装置のポート(ポート811)での障害発生に起因しないブロックポート(すなわち、ノード装置800がOwnerノード)であるとする。この場合、例えばポート821で他装置からの制御フレームを受信すると、ブロックポート(LAGポート810)を解除し、LAGポート820からの制御フレームの送信を停止する。
Further, it is assumed that the initial block port (LAG 810) is a block port (that is, the
以上のような通信装置で構成された、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、通信経路の障害発生時、LAGポートの全リングポートをブロックし、通信経路の切り替えを行う。そして、多重障害発生時には、その新たな障害に対するリングポートを有するLAGポートにおいて、その他のリングポートを使用する(縮退させる)。これにより、LAG機能によりリングポートの冗長化が行われたERPを用いたリング型ネットワークにおいて、多重障害発生時、ネットワークが分断せず、通信断の発生を回避することが可能となる。 In a ring network using the ERP configured with the above-described communication device and having a ring port made redundant by the LAG function, when a communication path failure occurs, all the ring ports of the LAG port are blocked and communication is performed. Switch the route. When a multiple failure occurs, other ring ports are used (degenerate) in the LAG port having the ring port for the new failure. As a result, in a ring network using ERP in which ring ports have been made redundant by the LAG function, when a multiple failure occurs, the network is not divided and the occurrence of communication interruption can be avoided.
本発明は、通信装置、リング型ネットワークシステム、および制御方法に利用可能である。 The present invention can be used for a communication device, a ring network system, and a control method.
100 通信装置A
101 通信装置B
102 通信装置C
103 通信装置D
104 通信装置E
105 通信装置F
E1、E2、W1、W2 ポート
E、W LAGポート
P 制御処理部
200、201、202、203、204 ブロックポート
300、301 通信端末
310、311、320、321、330、331、332、333、340 通信経路
400、401、402、403 回線ポート
500、501、502、503、504 制御フレーム
S601、S602 障害検出
S603、S604 ブロックポート設定
S605 制御フレーム送信
S606 ブロックポート解除
S607 装置ID比較
S608 制御フレーム送信
S609 装置ID比較
S610 制御フレーム送信停止
S611 ブロックポート解除
S612、S613 障害検出
S621、S622 障害復旧検出
S623 制御フレーム送信
S624、S625 ブロックポート設定
S626 制御フレーム送信
S627 制御フレーム送信停止
S628 ブロックポート解除
S629 装置ID比較
S630 制御フレーム送信
S631 装置ID比較
S632 制御フレーム送信停止
S633 ブロックポート解除
S701 障害検出
S702 障害判定
S703 全ポートブロック
S704 制御フレーム送信
S711 制御フレーム受信
S712 ブロックポート判定
S713 障害判定
S714 ID判定
S715 ブロックポート解除
S716 制御フレーム送信停止
S721 制御フレーム受信
S722 障害判定
S723 障害ポートブロック
S724 制御フレーム送信
800 通信装置
810、820 LAGポート
811、812、813、821、822、823 ポート
830 処理部
840 制御部
100 Communication device A
101 Communication device B
102 Communication device C
103 Communication device D
104 Communication device E
105 Communication device F
E1, E2, W1, W2 port E, W LAG port P
Claims (2)
フレームおよび制御フレームを送受信する複数の第2のポートから構成される第2のLAGポートと、
前記複数の第1のポートのいずれかで障害が検出された場合、自装置が構成するリング上で他に障害が発生していない場合には、前記複数の第1のポートのすべてをブロックし、障害の発生していないその他のLAGポートから制御フレームを送信し、また、自装置が構成するリング上の当該障害ポートを含むLAGポート以外で他に障害が発生している場合には、当該障害ポートを含むLAGポートを縮退する制御手段と
を備え、
前記制御手段は、
自装置が構成するリング上の他装置から障害通知の制御フレームが受信された場合、自装置のポートでの障害発生に起因するブロックポートが存在し、かつ、前記制御フレームの送信元装置IDが自装置IDより優先度が高い場合には、前記ブロックポートを解除し、制御フレームの送信を停止し、また、自装置に自装置のポートでの障害発生に起因しないブロックポートが存在している場合には、ブロックポートを解除し、制御フレームの送信を停止する
ことを特徴とするERP(Ethernet Ring Protection Switching)機能を備える通信装置。 A first LAG (Link Aggregation) port composed of a plurality of first ports for transmitting and receiving frames and control frames;
A second LAG port composed of a plurality of second ports for transmitting and receiving frames and control frames;
If a failure is detected in any of the plurality of first ports, and if no other failure has occurred on the ring configured by the own device, all of the plurality of first ports are blocked. When a control frame is transmitted from another LAG port in which no failure has occurred, and when a failure has occurred other than the LAG port including the failure port on the ring configured by the own device, Control means for degenerating a LAG port including a failed port ,
The control means includes
When a failure notification control frame is received from another device on the ring that the device itself constitutes, there is a block port resulting from the failure occurrence at the port of the device, and the source device ID of the control frame is When the priority is higher than the own device ID, the block port is released, the transmission of the control frame is stopped, and the own device has a block port that is not caused by a failure in the own device port. In this case, a communication apparatus having an ERP (Ethernet Ring Protection Switching) function , wherein the block port is released and transmission of the control frame is stopped .
フレームおよび制御フレームを送受信する複数の第2のポートから構成される第2のLAGポートとA second LAG port comprising a plurality of second ports for transmitting and receiving frames and control frames;
を有するERP機能を備える通信装置において、In a communication apparatus having an ERP function having
前記複数の第1のポートのいずれかで障害が検出された場合、自装置が構成するリング上で他に障害が発生していない場合には、前記複数の第1のポートのすべてをブロックし、障害の発生していないその他のLAGポートから制御フレームを送信し、また、自装置が構成するリング上の当該障害ポートを含むLAGポート以外で他に障害が発生している場合には、当該障害ポートを含むLAGポートを縮退する制御工程If a failure is detected in any of the plurality of first ports, and if no other failure has occurred on the ring configured by the own device, all of the plurality of first ports are blocked. When a control frame is transmitted from another LAG port in which no failure has occurred, and when a failure has occurred other than the LAG port including the failure port on the ring configured by the own device, Control process for degenerating LAG ports including faulty ports
を備え、With
前記制御工程は、The control step includes
自装置が構成するリング上の他装置から障害通知の制御フレームが受信された場合、自装置のポートでの障害発生に起因するブロックポートが存在し、かつ、前記制御フレームの送信元装置IDが自装置IDより優先度が高い場合には、前記ブロックポートを解除し、制御フレームの送信を停止し、また、自装置に自装置のポートでの障害発生に起因しないブロックポートが存在している場合には、ブロックポートを解除し、制御フレームの送信を停止する When a failure notification control frame is received from another device on the ring that the device itself constitutes, there is a block port resulting from the failure occurrence at the port of the device, and the source device ID of the control frame is When the priority is higher than the own device ID, the block port is released, the transmission of the control frame is stopped, and the own device has a block port that is not caused by a failure in the own device port. In this case, release the block port and stop sending control frames.
ことを特徴とするERP機能を備える通信装置の制御方法。A control method for a communication apparatus having an ERP function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012233660A JP6026847B2 (en) | 2012-10-23 | 2012-10-23 | Communication device, ring network system, and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012233660A JP6026847B2 (en) | 2012-10-23 | 2012-10-23 | Communication device, ring network system, and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2014086840A JP2014086840A (en) | 2014-05-12 |
JP6026847B2 true JP6026847B2 (en) | 2016-11-16 |
Family
ID=50789540
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012233660A Active JP6026847B2 (en) | 2012-10-23 | 2012-10-23 | Communication device, ring network system, and control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6026847B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105281926B (en) * | 2014-05-27 | 2019-03-12 | 中兴通讯股份有限公司 | A kind of method and device of the Signal Degrade trigger protection switching of link polymerization terminal port |
JP2016122896A (en) * | 2014-12-24 | 2016-07-07 | 日立金属株式会社 | Relay system and switching device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4948320B2 (en) * | 2007-08-09 | 2012-06-06 | 三菱電機株式会社 | Multi-ring RPR node device |
JP5131029B2 (en) * | 2008-05-26 | 2013-01-30 | 富士通株式会社 | Communication apparatus and path switching method |
WO2012086019A1 (en) * | 2010-12-21 | 2012-06-28 | 三菱電機株式会社 | Communications device, communications system and communications method |
JP5635029B2 (en) * | 2012-03-19 | 2014-12-03 | 日本電信電話株式会社 | Communication network, relay node, and communication path switching method |
-
2012
- 2012-10-23 JP JP2012233660A patent/JP6026847B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2014086840A (en) | 2014-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101204130B1 (en) | Fault processing method, system and exchanging device based on industry ethernet network | |
JP5073812B2 (en) | Distributed Ethernet system and method for detecting faults based on the system | |
JP4778712B2 (en) | Ethernet automatic protection switching | |
EP3242446B1 (en) | Failure protection method, device and system for ring protection link | |
JP5521663B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND COMMUNICATION METHOD | |
JP5471240B2 (en) | Switch device, ring network system, communication control method, and device program | |
US8737201B2 (en) | Data relay apparatus, and ring-type communication system | |
JP2009206891A (en) | Layer 2 ring network system and management method therefor | |
US8873380B2 (en) | System and method for setting redundant path segments in a multi-ring communication network | |
CN102891769A (en) | Link fault informing method and apparatus | |
WO2010031295A1 (en) | Control method for ethernet failure recovery | |
JP2012231223A (en) | Access system and redundancy switching method | |
WO2012079313A1 (en) | Link protection method and system thereof | |
JP5560908B2 (en) | Communication network system, data transmission method, and node device | |
JP6026847B2 (en) | Communication device, ring network system, and control method | |
CN107431655B (en) | Method and apparatus for fault propagation in segment protection | |
JP2010226318A (en) | Ring network | |
JP5004758B2 (en) | Layer 2 network and network connection device | |
KR20140099193A (en) | Method and appratus for interworking protection switching | |
JP5635029B2 (en) | Communication network, relay node, and communication path switching method | |
EP2750336B1 (en) | Inter-loop service protection method and apparatus | |
CN105577484A (en) | EAPS failure detection method and system, and EAPS network | |
CN102006236B (en) | Handover processing method in case of failed Ethernet automatic protection switching (EAPS) looped network link and switching equipment | |
JP2013197888A (en) | Information transmission device, information transmission system, and information transmission method | |
WO2010095268A1 (en) | Ring network control method, master node, slave node, and ring network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150918 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160628 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160705 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160826 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20160920 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20161013 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6026847 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |