JP2013192022A - Network device, link aggregation system and redundancy method therefor - Google Patents

Network device, link aggregation system and redundancy method therefor Download PDF

Info

Publication number
JP2013192022A
JP2013192022A JP2012056570A JP2012056570A JP2013192022A JP 2013192022 A JP2013192022 A JP 2013192022A JP 2012056570 A JP2012056570 A JP 2012056570A JP 2012056570 A JP2012056570 A JP 2012056570A JP 2013192022 A JP2013192022 A JP 2013192022A
Authority
JP
Japan
Prior art keywords
link
link aggregation
port
network device
spare
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
JP2012056570A
Other languages
Japanese (ja)
Inventor
Shoki Hayashi
昇輝 林
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2012056570A priority Critical patent/JP2013192022A/en
Publication of JP2013192022A publication Critical patent/JP2013192022A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a network device capable of using a standby port for another link aggregation group when one of a plurality of ports in one link aggregation group becomes faulty.SOLUTION: In the network device, a plurality of link aggregation groups having different redundancy policy are configured in one switch when forming a redundant configuration using LACP, and a standby link is provided in common to the plurality of link aggregation groups. When one of a plurality of links in one link aggregation group becomes faulty, the network device includes management means (11) for assigning the standby link to the failed link to form an operation system.

Description

本発明はネットワーク装置、リンクアグリゲーションシステム及びそれらに用いる冗長化方法に関し、特に1つのネットワーク装置に持つ複数のリンクアグリゲーショングループの冗長化方法に関する。   The present invention relates to a network device, a link aggregation system, and a redundancy method used therefor, and more particularly, to a redundancy method for a plurality of link aggregation groups included in one network device.

1つのネットワーク装置で、複数のリンクアグリゲーショングループをもつ場合、予備のポートをリンクアグリゲーション毎に用意するのではなく、予備のポートをどのリンクアグリゲーショングループにでも割り当てられるようにする方式が確立されていない。   When one network device has a plurality of link aggregation groups, there is no established method for assigning a spare port to any link aggregation group instead of preparing a spare port for each link aggregation. .

通信キャリアでは、RTP(Real time Transport Protocol)のような音声系通信網と、SNMP(Simple Network Management Protocol)のような回線管理系通信網を別の通信網として整備、管理している。   In a communication carrier, a voice communication network such as RTP (Real time Transport Protocol) and a line management communication network such as SNMP (Simple Network Management Protocol) are provided and managed as separate communication networks.

しかしながら、1つのネットワーク装置内に音声系通信網と回線管理系通信網との両方の通信が混在し、リンクアグリゲーショングループによって分けている場合を想定すると、予備のポートをリンクアグリゲーション毎に用意する方式では、1つのリンクアグリゲーショングループに所属する複数のポートのいずれかに障害が発生した場合、他のリンクアグリゲーションポート用の予備のポートは余っているが、予備のポートが足りないリンクアグリゲーショングループも出てくる。   However, assuming that the communication of both voice communication network and line management communication network is mixed in one network device and divided by link aggregation group, a spare port is prepared for each link aggregation. Then, if a failure occurs in any of multiple ports that belong to one link aggregation group, there are spare ports for other link aggregation ports, but there are link aggregation groups that do not have enough spare ports. Come.

上記のようなリンクアグリゲーショングループにて冗長化する方法としては、下記の特許文献1〜3に記載された技術がある。   As a method for redundancy in the link aggregation group as described above, there are techniques described in Patent Documents 1 to 3 below.

特許4155105号公報Japanese Patent No. 4155105 特開2008−160227号公報JP 2008-160227 A 特開2011−228921号公報Japanese Patent Application Laid-Open No. 2011-228921

上述した特許文献1に記載の技術では、LACP(Link Aggregation Control Protocol)を用いて冗長構成とする際に、1つのリンクアグリゲーショングループに対して、障害時のための予備のリンクを1つ以上設定することが可能である。   In the technique described in Patent Document 1 described above, when a redundant configuration is made using LACP (Link Aggregation Control Protocol), one or more spare links for failure are set for one link aggregation group Is possible.

しかしながら、特許文献1に記載の技術では、1つのスイッチに対して複数のリンクアグリゲーショングループが存在する場合の構成が想定されておらず、そういったスイッチにこれらの技術を適用した場合、予備のリンク数がリンクアグリゲーショングループ数だけ増加してしまうため、スイッチ全体での利用効率が悪い。   However, the technology described in Patent Document 1 does not assume a configuration in which a plurality of link aggregation groups exist for one switch, and when these technologies are applied to such a switch, the number of spare links However, since the number of link aggregation groups increases, the utilization efficiency of the entire switch is poor.

また、特許文献2に記載の技術では、1つのスイッチに対して複数のリンクアグリゲーショングループが存在する場合の構成が想定されておらず、予備のリンクが複数存在する場合のための、利用効率の良い管理方法、例えば、複数の予備のリンクのうち、どの予備のリンクを優先して使うかの決定方法についても考慮されていない。   Further, in the technology described in Patent Document 2, a configuration in the case where a plurality of link aggregation groups exist for one switch is not assumed, and the use efficiency for the case where a plurality of spare links exist is assumed. A good management method, for example, a method for deciding which spare link to use preferentially among a plurality of spare links is not considered.

さらに、特許文献3に記載の技術では、冗長化ポリシーの違うリンクアグリゲーショングループに対して、予備のポートをそれぞれ区別して設定する方法は示されていない。   Furthermore, the technique described in Patent Document 3 does not show a method for distinguishing and setting spare ports for link aggregation groups having different redundancy policies.

そこで、本発明の目的は上記の問題点を解消し、1つのリンクアグリゲーショングループの複数のポートのいずれかが障害になった場合に、別のリンクアグリゲーショングループ用の予備ポートを使うことができるネットワーク装置、リンクアグリゲーションシステム及びそれらに用いる冗長化方法を提供することにある。   SUMMARY OF THE INVENTION Therefore, an object of the present invention is to solve the above-mentioned problems and to use a spare port for another link aggregation group when any of a plurality of ports of one link aggregation group fails. An apparatus, a link aggregation system, and a redundancy method used for them.

本発明によるネットワーク装置は、LACP(Link Aggregation Control Protocol)を用いて冗長構成とする際に、各々冗長化ポリシーが違う複数のリンクアグリゲーショングループが1つのスイッチに構築されたネットワーク装置であって、
前記複数のリンクアグリゲーショングループ各々に対する予備のリンクを共通化して設け、
1つのリンクアグリゲーショングループの複数のリンクのいずれかが障害となった場合に前記障害になったリンクに前記予備のリンクを割り当てて運用系とする管理手段を備えている。
A network device according to the present invention is a network device in which a plurality of link aggregation groups each having a different redundancy policy are constructed in one switch when a redundant configuration is made using LACP (Link Aggregation Control Protocol),
A common spare link for each of the plurality of link aggregation groups is provided,
When any of a plurality of links in one link aggregation group fails, a management unit is provided which assigns the spare link to the failed link and sets it as an active system.

本発明によるリンクアグリゲーションシステムは、上記のネットワーク装置を含むことを特徴とする。   A link aggregation system according to the present invention includes the network device described above.

本発明による冗長化方法は、LACP(Link Aggregation Control Protocol)を用いて冗長構成とする際に、各々冗長化ポリシーが違う複数のリンクアグリゲーショングループが1つのスイッチに構築されたネットワーク装置に用いる冗長化方法であって、
前記ネットワーク装置において、前記複数のリンクアグリゲーショングループ各々に対する予備のリンクを共通化して設け、
前記ネットワーク装置が、1つのリンクアグリゲーショングループの複数のリンクのいずれかが障害となった場合に前記障害になったリンクに前記予備のリンクを割り当てて運用系とする管理処理を実行している。
In the redundancy method according to the present invention, when a redundant configuration is made using LACP (Link Aggregation Control Protocol), redundancy is used for a network device in which a plurality of link aggregation groups each having a different redundancy policy are constructed in one switch. A method,
In the network device, a common spare link for each of the plurality of link aggregation groups is provided,
The network device executes management processing for assigning the spare link to the failed link and setting it as an active system when any of a plurality of links in one link aggregation group fails.

本発明は、上記のような構成及び動作とすることで、1つのリンクアグリゲーショングループの複数のポートのいずれかが障害になった場合に、別のリンクアグリゲーショングループ用の予備ポートを使うことができるという効果が得られる。   By adopting the above-described configuration and operation, the present invention can use a spare port for another link aggregation group when any of a plurality of ports in one link aggregation group fails. The effect is obtained.

本発明の実施の形態によるネットワーク装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the network apparatus by embodiment of this invention. 本発明の実施の形態におけるポートの接続状態を示す図である。It is a figure which shows the connection state of the port in embodiment of this invention. 本発明の実施の形態における回線障害の発生により予備のリンクを使用した状態を示す図である。It is a figure which shows the state which used the backup link by generation | occurrence | production of the line failure in embodiment of this invention. 特許文献1に記載の技術におけるポートの接続状態を示す図である。It is a figure which shows the connection state of the port in the technique of patent document 1. FIG. 本発明の実施の形態によるSBY設定テーブルの設定内容の一例を示す図である。It is a figure which shows an example of the setting content of the SBY setting table by embodiment of this invention. 本発明の実施の形態によるネットワーク装置の障害切り替えアルゴリズムを示すフローチャートである。It is a flowchart which shows the failure switching algorithm of the network device by embodiment of this invention.

次に、本発明の実施の形態について図面を参照して説明する。まず、本発明によるネットワーク装置の概要について説明する。   Next, embodiments of the present invention will be described with reference to the drawings. First, an outline of a network device according to the present invention will be described.

本発明によるネットワーク装置では、LACP(Link Aggregation Control Protocol)を用いて冗長構成とする際に、1つのスイッチに構築されかつ各々冗長化ポリシーが違う複数のリンクアグリゲーショングループ各々に対する予備のリンクを、1つまたはそれ以上の物理リンクに共通に設定可能とすることで、効率のよい冗長構成を実現している。   In the network device according to the present invention, when a redundant configuration is made using LACP (Link Aggregation Control Protocol), a spare link for each of a plurality of link aggregation groups constructed in one switch and having a different redundancy policy is assigned as one. An efficient redundant configuration is realized by enabling common setting to one or more physical links.

上記の特許文献1に記載の技術では、1つのリンクアグリゲーショングループに対して1つ以上の予備のリンクを必要とするが、本発明では、個々のリンクアグリゲーショングループの観点において、他のリンクアグリゲーショングループに割り当てられていた予備のリンクをも活用することができるため、冗長性能の向上につながる。   In the technique described in Patent Document 1 described above, one or more spare links are required for one link aggregation group. However, in the present invention, other link aggregation groups are used in terms of individual link aggregation groups. Since the spare link assigned to can also be used, redundancy performance is improved.

一方、本発明では、上記の特許文献1に記載の技術において、複数のリンクアグリゲーショングループがそれぞれもっていた予備のリンクを、より少ない物理ポートに集約することもでき、そうした場合に、スイッチ全体での予備のリンクの削減を図ることもできる。   On the other hand, in the present invention, in the technique described in Patent Document 1, spare links that each of the plurality of link aggregation groups have can be aggregated into a smaller number of physical ports. It is also possible to reduce the number of spare links.

また、本発明では、音声系通信のリンクアグリゲーションが複数ある場合、それらの予備のリンクを共通化し、回線管理系通信のリンクアグリゲーションの予備のリンクを、音声系通信の予備のリンクと共通とせず、別々にするといった細かい管理も可能となる。   Further, in the present invention, when there are a plurality of link aggregations for voice communication, those spare links are shared, and the link aggregation spare link for line management communication is not shared with the voice communication spare link. , Detailed management such as separate management is also possible.

本発明は、以下の特徴によって、上述した課題を解決する。   The present invention solves the above-described problems by the following features.

本発明は、LACPDU(Link Aggregation Control Protocol Data Unit)のActor_StateフィールドのSynchronizationビットと、Partner_StateフィールドのSynchronizationビットとをみて、物理ポートの状態がACT(active:現用)(導通をしている)か、障害になったかを判定できるLACPプロトコル処理部を持つ。   In the present invention, the physical port state is determined as ACT (activate) based on the synchronization bit in the Actor_State field of the LACPDU (Link Aggregation Control Protocol Data Unit) and the Synchronization bit in the Partner_State field. It has a LACP protocol processing unit that can determine whether a failure has occurred.

LACPプロトコル処理部は、Actor_StateフィールドのSynchronizationビットがTRUE、かつPartner_StateフィールドのSynchronizationビットがTRUEであればACTとする。LACPプロトコル処理部は、該当ポートの状態がACTから障害に変わった時に、ACT障害通知を障害管理部に通知する。   The LACP protocol processing unit determines ACT if the Synchronization bit in the Actor_State field is TRUE and the Synchronization bit in the Partner_State field is TRUE. The LACP protocol processing unit notifies the failure management unit of an ACT failure notification when the state of the corresponding port changes from ACT to failure.

障害管理部では、障害検出までは予備のリンクの回線を閉塞しておく。この予備のリンクの状態をSBY(standby:予備)とする。SBYとなっているポートをSBYポートとする。   The failure management unit blocks the backup link line until the failure is detected. The state of this spare link is SBY (standby). A port that is SBY is defined as an SBY port.

障害管理部では、障害検出時(ACT障害通知を受けた時)に、障害発生した物理ポートの所属するリンクアグリゲーショングループに対応するSBY設定(図5を参照)が設定されている物理ポートがあるかを確認し、物理ポートがみつかれば、その物理ポートに、障害となったポートと同じLACP設定(ポートプライオリティ、key、モード)を行う。   In the failure management unit, when a failure is detected (when an ACT failure notification is received), there is a physical port in which SBY setting (see FIG. 5) corresponding to the link aggregation group to which the failed physical port belongs is set. If the physical port is found, the same LACP setting (port priority, key, mode) as that of the failed port is performed for the physical port.

物理ポートが複数みつかった場合は、SBY設定として設定した優先度(ACTプライオリティ)に従い、LACP設定を行う物理ポート(ACT候補ポート)を選出する。ACT候補ポートにLACP設定を行った後は、障害ポートのLACP設定を削除し、ACT候補ポートについてのSBY設定は削除し、ACT候補ポートの回線の閉塞を解除し、障害となったポートの代わりにACT候補ポートをACT化し、運用系に加える。   When a plurality of physical ports are found, a physical port (ACT candidate port) for performing LACP setting is selected according to the priority (ACT priority) set as the SBY setting. After performing LACP setting for the ACT candidate port, delete the LACP setting of the failed port, delete the SBY setting for the ACT candidate port, release the block of the line of the ACT candidate port, and replace the failed port ACT candidate ports are converted into ACTs and added to the operational system.

障害検出時の予備リンクをACT化し、運用系に加える処理中に、障害となった物理ポートが復旧すると、予期せぬ状態に陥る可能性があるため、障害検出時は、最初に、障害となったポートを閉塞しておく。   Since the protection link at the time of failure detection is converted to ACT and the physical port that has failed is recovered during processing to be added to the active system, it may fall into an unexpected state. Block any ports that have become unusable.

上記の特徴を持つネットワーク装置同士で対向し、それぞれのネットワーク装置で、同じLACP設定(それぞれのポートに対するkey情報設定)、SBY設定をポートに設定する。但し、LACP設定でも、リンクアグリゲーションのキー値やポート番号は、それぞれの装置で異なっていてもよい(図2のSwitch A101とSwitch B102とのリンクアグリゲーショングループのkey値はそれぞれ異なっている。図2のSwitch A101のポート1がSwitch B102のポート2と接続し、Switch A101のポート2がSwitch B102のポート1と接続していてもよい)。   The network devices having the above characteristics are opposed to each other, and the same LACP setting (key information setting for each port) and SBY setting are set for each network device. However, even in the LACP setting, the key value and port number of link aggregation may be different in each device (the key values of the link aggregation groups of Switch A 101 and Switch B 102 in FIG. 2 are different from each other). Switch A 101 port 1 may be connected to Switch B 102 port 2, and Switch A 101 port 2 may be connected to Switch B 102 port 1).

SBY設定のACTプライオリティ値は、対向するネットワーク装置同士で必ずしも一致しなくてよいが、各ポートの優先順位が、対向するネットワーク装置同士で同じになるように設定する。   The ACT priority value of the SBY setting does not necessarily match between the opposing network devices, but is set so that the priority order of each port is the same between the opposing network devices.

本発明は、冗長化ポリシーの違うリンクアグリゲーショングループに対して、SBYポートを区別して設定することができる。本発明では、図2において、key=1,2用のSBYポートをポート5,6とし、key=3用のSBYポートをポート7としている。   According to the present invention, SBY ports can be set differently for link aggregation groups having different redundancy policies. In the present invention, in FIG. 2, the SBY ports for keys = 1 and 2 are ports 5 and 6, and the SBY ports for key = 3 are ports 7.

上記の特許文献3に記載の技術では、冗長化ポリシーの違うリンクアグリゲーショングループに対して、SBYポートを区別して設定する方法が示されていない。そのため、特許文献3に記載の技術では、図2において、key=1,2,3用のSBYポートをポート5,6,7とすることしかできない。   The technique described in Patent Document 3 does not show a method for distinguishing and setting SBY ports for link aggregation groups having different redundancy policies. Therefore, in the technique described in Patent Document 3, the SBY ports for keys = 1, 2, 3 can only be changed to ports 5, 6, 7 in FIG.

冗長化ポリシーの違うリングアグリゲーショングループを割り当てる例としては、音声系通信にkey=1,2のトラフィックを割り当て、回線管理系通信をkey=3に割り当て、音声系通信には多数のSBYポートを割り当て、回線管理系通信には少数のSBYポートを割り当てるといった使い分けができる。   As an example of assigning ring aggregation groups with different redundancy policies, traffic of key = 1, 2 is assigned to voice communication, line management communication is assigned to key = 3, and many SBY ports are assigned to voice communication. Therefore, it is possible to selectively use a small number of SBY ports for line management communication.

図1は本発明の実施の形態によるネットワーク装置の構成例を示すブロック図である。図1において、本発明の実施の形態によるネットワーク装置は、障害管理部11と、LAN(Local Area Network)導通ドライバ12と、LACPプロトコル処理部13と、SBY設定テーブル14とを備えている。   FIG. 1 is a block diagram showing a configuration example of a network device according to an embodiment of the present invention. In FIG. 1, the network device according to the embodiment of the present invention includes a failure management unit 11, a LAN (Local Area Network) conduction driver 12, a LACP protocol processing unit 13, and an SBY setting table 14.

LACPプロトコル処理部13は、LACPDUのActor_StateフィールドのSynchronizationビットと、Partner_StateフィールドのSynchronizationビットとをみて、物理ポートの状態がACTか、障害になったかを判定する。   The LACP protocol processing unit 13 determines whether the state of the physical port is ACT or a failure by looking at the Synchronization bit in the Actor_State field of the LACPDU and the Synchronization bit in the Partner_State field.

LACPプロトコル処理部13は、Actor_StateフィールドのSynchronizationビットがTRUE、かつPartner_StateフィールドのSynchronizationビットがTRUEであればACTとする。LACPプロトコル処理部13は、該当ポートの状態がACTから障害に変わった時に、ACT障害通知を障害管理部11に通知する。   The LACP protocol processing unit 13 determines ACT if the Synchronization bit in the Actor_State field is TRUE and the Synchronization bit in the Partner_State field is TRUE. The LACP protocol processing unit 13 notifies the failure management unit 11 of an ACT failure notification when the state of the corresponding port changes from ACT to failure.

障害管理部11では、障害検出までは予備のリンクの回線を閉塞しておく。この予備のリンクの状態をSBYとする。SBYとなっているポートをSBYポートとする。   The failure management unit 11 blocks the backup link line until the failure is detected. The spare link state is SBY. A port that is SBY is defined as an SBY port.

障害管理部11では、障害検出時(ACT障害通知を受けた時)に、障害発生した物理ポートの所属するリンクアグリゲーショングループに対応するSBY設定が設定されている物理ポートがあるかを確認し、物理ポートがみつかれば、その物理ポートに、障害となったポートと同じLACP設定(ポートプライオリティ、key、モード)を行う。   In the failure management unit 11, when a failure is detected (when an ACT failure notification is received), the failure management unit 11 checks whether there is a physical port for which the SBY setting corresponding to the link aggregation group to which the failed physical port belongs is set. If a physical port is found, the same LACP setting (port priority, key, mode) as that of the failed port is performed on the physical port.

障害管理部11は、物理ポートが複数みつかった場合、SBY設定として設定した優先度(ACTプライオリティ)に従い、LACP設定を行う物理ポート(ACT候補ポート)を選出する。障害管理部11は、ACT候補ポートにLACP設定を行った後、障害ポートのLACP設定を削除し、ACT候補ポートについてのSBY設定を削除し、ACT候補ポートの回線の閉塞を解除し、障害となったポートの代わりにACT候補ポートをACT化し、運用系に加える。   When a plurality of physical ports are found, the failure management unit 11 selects a physical port (ACT candidate port) for performing LACP setting according to the priority (ACT priority) set as the SBY setting. After performing the LACP setting for the ACT candidate port, the failure management unit 11 deletes the LACP setting of the failed port, deletes the SBY setting for the ACT candidate port, releases the block of the line of the ACT candidate port, ACT candidate ports are converted into ACTs instead of the changed ports and added to the operational system.

障害検出時の予備リンクをACT化し、運用系に加える処理中に、障害となった物理ポートが復旧すると、予期せぬ状態に陥る可能性があるため、障害検出時は、最初に、障害となったポートを閉塞しておく。   Since the protection link at the time of failure detection is converted to ACT and the physical port that has failed is recovered during processing to be added to the active system, it may fall into an unexpected state. Block any ports that have become unusable.

図2は本発明の実施の形態におけるポートの接続状態を示す図であり、図3は本発明の実施の形態における回線障害の発生により予備のリンクを使用した状態を示す図であり、図4は上記の特許文献1に記載の技術におけるポートの接続状態を示す図である。   2 is a diagram showing a connection state of ports in the embodiment of the present invention, and FIG. 3 is a diagram showing a state in which a spare link is used due to the occurrence of a line failure in the embodiment of the present invention. These are figures which show the connection state of the port in the technique of said patent document 1. FIG.

図4は1つのリンクアグリゲーショングループに対して1つ以上の予備のリンクを必要とする特許文献1に記載の技術におけるポートの接続状態を示している。   FIG. 4 shows a connection state of ports in the technique described in Patent Document 1 that requires one or more spare links for one link aggregation group.

図2は本実施の形態により図4のポート3とポート5との両方について、Switch A101のkey=1,key=2の2つのリンクアグリゲーショングループで共通の予備リンクとなるようにSBY設定を行ったものである。但し、図4ではポート3、ポート5、ポート7がSBYポートであるが、図2では、見易くするために、SBYポートをポート5、ポート6、ポート7に集めて示している。   FIG. 2 shows that, according to this embodiment, SBY setting is performed for both the port 3 and the port 5 of FIG. 4 so that two link aggregation groups with key = 1 and key = 2 of Switch A101 have a common spare link. It is a thing. However, although port 3, port 5, and port 7 are SBY ports in FIG. 4, in FIG. 2, the SBY ports are gathered into port 5, port 6, and port 7 for the sake of clarity.

図3は図2でACTであったポート2において回線に障害が発生し、その後、後述する障害切り替えアルゴリズムに従って、ポート6をACT化した後の状態を示している。   FIG. 3 shows a state after a failure has occurred in the port 2 which was ACT in FIG. 2, and then the port 6 is converted to ACT according to the failure switching algorithm described later.

ACTであったポート2について回線に障害が発生すると、ポート2は回線が閉塞され、LACP設定(ポートプライオリティ、key、モード)が削除される。ポート6は、ポート2に設定していたLACP設定を変更せずにそのまま設定し、SBY設定(図5を参照)が削除され、回線の閉塞が解除される。   When a line failure occurs for port 2 that was ACT, the line of port 2 is blocked and the LACP setting (port priority, key, mode) is deleted. For port 6, the LACP setting set for port 2 is set without change, the SBY setting (see FIG. 5) is deleted, and the blockage of the line is released.

図5は本発明の実施の形態によるSBY設定テーブル14の設定内容の一例を示す図である。SBY設定は、物理ポート単位に設定する。物理ポートには、複数のkey情報と、ACTプライオリティを設定することができる。   FIG. 5 is a diagram showing an example of setting contents of the SBY setting table 14 according to the embodiment of the present invention. The SBY setting is set for each physical port. A plurality of key information and ACT priority can be set in the physical port.

ACTプライオリティは、異なるポート同士において、同じ値を設定できない制限を設ける。これによって、ACTプライオリティの値のみによって、SBY状態の物理ポートの中から、次にどのポートをACT化するかを、一意に、その候補を決めることができる。ACTプライオリティは値が小さい方を優先することとする。   The ACT priority has a restriction that the same value cannot be set between different ports. As a result, it is possible to uniquely determine which port is to be ACTed next among physical ports in the SBY state only by the value of the ACT priority. As for the ACT priority, priority is given to a smaller value.

key情報単位でみると、SBYの物理ポート複数に対して同じkeyを設定することができる(例えば、ポート5、ポート6に、同じkey情報key=1を設定することができる)。   In terms of key information units, the same key can be set for a plurality of SBY physical ports (for example, the same key information key = 1 can be set for port 5 and port 6).

図1においては、本発明の実施の形態によるネットワーク装置の障害切り替え機能に関する機能ブロックを示している。障害管理部11は、LACPプロトコル処理部13からACT障害通知を受け、物理ポートがACTから障害に状態遷移したことを検知する。   FIG. 1 shows functional blocks related to a failure switching function of a network device according to an embodiment of the present invention. The failure management unit 11 receives an ACT failure notification from the LACP protocol processing unit 13 and detects that the physical port has transitioned from ACT to failure.

LACPDUのActor_StateフィールドのSynchronizationビットの値と、Partner_StateフィールドのSynchronizationビットの値とのチェックは、LACPプロトコル処理部13で実装し、ポートの状態がACTからSBYに遷移した時のみ、障害管理部11に通知する。   The check of the Synchronization bit value in the Actor_State field of the LACPDU and the Synchronization bit value in the Partner_State field is implemented by the LACP protocol processing unit 13, and only when the port state transitions from ACT to SBY, the failure management unit 11 Notice.

また、ポートの状態がACTからSBYに遷移するか否かにかかわらず、LACPDUの情報全てをLACPプロトコル処理部13から障害管理部11に通知し、障害管理部11でACTからSBYの遷移をチェックする方式でも実装は可能だが、不要な通信を減らすために、ビットの値チェックをLACPプロトコル処理部13で行い、ポートの状態がACTからSBYに遷移した時のみ、障害管理部11に通知する方式が良い。   Regardless of whether the port state transitions from ACT to SBY, the LACP protocol processor 13 notifies the fault manager 11 of all LACPDU information, and the fault manager 11 checks the transition from ACT to SBY. This method can be implemented, but in order to reduce unnecessary communication, a bit value check is performed by the LACP protocol processing unit 13, and the failure management unit 11 is notified only when the port state transitions from ACT to SBY. Is good.

障害管理部11は、LACPプロトコル処理部13からACT障害通知を受けると、SBY設定テーブル14を参照し、ACT化できるSBYポート(ACT候補ポート)がみつかった場合、以下の処理を行う。   Upon receiving an ACT failure notification from the LACP protocol processing unit 13, the failure management unit 11 refers to the SBY setting table 14 and performs the following processing when an SBY port (ACT candidate port) that can be ACTed is found.

障害管理部11は、LAN導通ドライバ12に、障害ポートの閉塞をするよう処理要求を出す。次に、障害管理部11は、障害ポートのLACP設定を削除する。   The failure management unit 11 issues a processing request to the LAN continuity driver 12 to block the failed port. Next, the failure management unit 11 deletes the LACP setting of the failed port.

続いて、障害管理部11は、ACT候補ポートへ、障害ポートのLACP設定(ポートプライオリティ、key、モード)をそのまま反映する。その後に、障害管理部11は、LAN導通ドライバ12に、ACT候補ポートの閉塞を解除するよう処理要求を出す。   Subsequently, the failure management unit 11 directly reflects the LACP setting (port priority, key, mode) of the failed port on the ACT candidate port. Thereafter, the failure management unit 11 issues a processing request to the LAN continuity driver 12 to release the blockage of the ACT candidate port.

図6は本発明の実施の形態によるネットワーク装置の障害切り替えアルゴリズムを示すフローチャートである。これら図1〜図6を参照して、本発明の実施の形態によるネットワーク装置の障害切り替えアルゴリズムについて説明する。   FIG. 6 is a flowchart showing a failure switching algorithm of the network device according to the embodiment of the present invention. With reference to FIGS. 1 to 6, a network device failure switching algorithm according to an embodiment of the present invention will be described.

LACPプロトコル処理部13は、各ポートが送受信するLACPDUについて、Actor_StateフィールドのSynchronizationビットの値と、Partner_StateフィールドのSynchronizationビットの値とのチェックを行い、両方のビットがTRUEの状態から、どちらか一方のビットがFALSEになった時に、そのポートがACTからSBYに遷移したとみなし、障害管理部11にACT障害を通知する(図6ステップS1)。   The LACP protocol processing unit 13 checks the value of the Synchronization bit in the Actor_State field and the value of the Synchronization bit in the Partner_State field for the LAC PDU transmitted / received by each port, and both bits are set to either one from the TRUE state. When the bit becomes FALSE, it is considered that the port has changed from ACT to SBY, and the failure management unit 11 is notified of the ACT failure (step S1 in FIG. 6).

障害管理部11は、障害ポートのkey情報と同じkey情報をもつSBYポートがあるか、SBY設定をチェックする。存在しない場合は、ACT候補ポートはなしとする。1つ存在する場合は、そのポートをACT候補ポートとする。複数存在する場合は、ACTプライオリティ値が一番小さいポートをACT候補ポートとする(図6ステップS2,S3)。   The failure management unit 11 checks the SBY setting to determine whether there is an SBY port having the same key information as the failed port key information. If it does not exist, there is no ACT candidate port. If there is one, that port is set as an ACT candidate port. If there are a plurality of ports, the port with the smallest ACT priority value is set as the ACT candidate port (steps S2 and S3 in FIG. 6).

ACTプライオリティ値は、別々のポートで同じ値は設定されていないものとする。本実施の形態では、SBY設定の設定時のチェック、あるいは起動時のSBY設定のチェックにより、同じ値の設定を許容しない仕組みをもつものとする。   It is assumed that the same ACT priority value is not set for different ports. In this embodiment, it is assumed that the same value is not allowed to be set by checking when setting SBY settings or checking SBY settings at startup.

障害管理部11は、障害となったポート(障害ポート)を閉塞する処理要求をLAN導通ドライバ12に出す(図6ステップS4)。障害ポートをこのタイミングで閉塞するのは、切り替え途中で障害ポートがACTと障害の状態とを繰り返すと、複数のACT障害通知が障害管理部11に通知されることになり、それを避けるためである。   The failure management unit 11 issues a processing request for closing the failed port (failure port) to the LAN conduction driver 12 (step S4 in FIG. 6). The failure port is blocked at this timing in order to avoid a plurality of ACT failure notifications being sent to the failure management unit 11 when the failure port repeats ACT and a failure state during switching. is there.

障害管理部11は、ACT候補ポートに障害ポートのLACP設定(ポートプライオリティ、key、モード)と同じLACP設定を行う(図6ステップS5)。本実施の形態では、障害ポートの閉塞解除より前に、LACP設定を入れることで、障害ポートの所属するリンクアグリゲーショングループ以外のパケットを導通させることを防ぐ。   The failure management unit 11 performs the same LACP setting as the LACP setting (port priority, key, mode) of the failed port on the ACT candidate port (step S5 in FIG. 6). In the present embodiment, the LACP setting is inserted before the failure port is released from blocking, so that packets other than the link aggregation group to which the failure port belongs are prevented from being conducted.

障害管理部11は、障害ポートのLACP設定を削除する。また、障害管理部11は、ACT候補ポートのSBY設定を削除する(図6ステップS6)。さらに、障害管理部11は、障害ポートの閉塞を解除する処理要求をLAN導通ドライバ12に出す(図6ステップS7)。   The failure management unit 11 deletes the LACP setting of the failed port. Also, the failure management unit 11 deletes the SBY setting of the ACT candidate port (step S6 in FIG. 6). Further, the failure management unit 11 issues a processing request for releasing the blocking of the failed port to the LAN conduction driver 12 (step S7 in FIG. 6).

図2のようにSBY設定がポート5〜7に設定されているSwitch A101、Switch B102について、ポート2の経路に障害が発生し、ポート6が障害となったポート2の経路の代替としてACTになる動作を説明する。図3は、図2のポート2の経路に障害が発生し、ポート6がACTになった後の状態を示す。   As shown in FIG. 2, for Switch A101 and Switch B102 in which the SBY setting is set to ports 5 to 7, a failure occurs in the route of port 2, and ACT is substituted for the route of port 2 in which port 6 has failed. The operation will be described. FIG. 3 shows a state after a failure occurs in the route of port 2 in FIG. 2 and port 6 becomes ACT.

図2のポート2の経路に障害が発生すると、それまではActor_StateフィールドのSynchronizationビットの値と、Partner_StateフィールドのSynchronizationビットの値とが共にTRUEであるLACPDUを送受信していたが、少なくともどちらかのビットがFALSEになったLACPDUを導通するようになる。   When a failure occurs in the route of port 2 in FIG. 2, the LACPDU in which the value of the Synchronization bit in the Actor_State field and the value of the Synchronization bit in the Partner_State field are both TRUE is transmitted / received. The LACPDU whose bit is set to FALSE is turned on.

LACPプロトコル処理部13は、図6に示す障害切り替えアルゴリズムに従い、「Actor_StateフィールドのSynchronizationビットの値と、Partner_StateフィールドのSynchronizationビットの値とが共にTRUE」を満たすLACPDUの送受信をしている状態から「Actor_StateフィールドのSynchronizationビットの値と、Partner_StateフィールドのSynchronizationビットの値とが共にTRUE」を満たさないLACPDUの送受信をする状態への変化を検知すると、障害管理部11に、ACT障害通知を出す。   In accordance with the failure switching algorithm shown in FIG. 6, the LACP protocol processing unit 13 performs “transmission / reception of a LACPDU in which the value of the Synchronization bit in the Actor_State field and the value of the Synchronization bit in the Partner_State field satisfy both“ TRUE ”. When a change to a state of transmitting / receiving a LACPDU in which both the value of the Synchronization bit in the Actor_State field and the value of the Synchronization bit in the Partner_State field do not satisfy TRUE is detected, an ACT failure notification is issued to the failure management unit 11.

障害管理部11は、図6に示す障害切り替えアルゴリズムに従い、図5に示すSBY設定テーブル14を確認し、障害ポート2のkey=1と同じkey情報をもつSBYポートであるポート5とポート6との中から、ACTプライオリティ値が小さいポート6を、ACT候補ポートとして選出する。   The fault management unit 11 confirms the SBY setting table 14 shown in FIG. 5 according to the fault switching algorithm shown in FIG. 6, and the ports 5 and 6, which are SBY ports having the same key information as the key = 1 of the faulty port 2, Port 6 having a small ACT priority value is selected as an ACT candidate port.

障害管理部11は、図6に示す障害切り替えアルゴリズムに従い、障害ポート2の閉塞を行い、ACT候補ポートであるポート6にポート2と同じLACP設定(ポートプライオリティ、key、モード)を行い、障害ポート2のLACP設定を削除し、ポート6のSBY設定を削除し、ポート6の閉塞を解除することで、障害切り替えを終了し、図3に示す状態となる。   The failure management unit 11 closes the failed port 2 according to the failure switching algorithm shown in FIG. 6, performs the same LACP setting (port priority, key, mode) as the port 2 on the port 6 which is an ACT candidate port, The LACP setting of 2 is deleted, the SBY setting of port 6 is deleted, and the blockage of port 6 is released, so that the failure switching is completed and the state shown in FIG. 3 is obtained.

このように、本実施の形態では、それぞれのリンクアグリゲーショングループの予備のポートを共通化することで、1つのリンクアグリゲーショングループの複数のポートのいずれかが障害になった場合に、予備ポートが共通化されていなかった場合に比べて、別のリンクアグリゲーショングループ用の予備ポートを使うことができる。   As described above, in this embodiment, the spare port of each link aggregation group is made common, so that when any of the plurality of ports of one link aggregation group becomes a failure, the spare port is shared. Compared to the case where it is not realized, a spare port for another link aggregation group can be used.

また、本実施の形態では、それぞれのリンクアグリゲーショングループの予備ポートを共通化することで、共通化されていなかった場合に比べて予備ポートを削減することが可能となる。   Further, in the present embodiment, by sharing the spare ports of the respective link aggregation groups, it is possible to reduce the spare ports as compared with the case where they are not shared.

さらに、本実施の形態では、3つ以上のリンクアグリゲーショングループが存在する場合、冗長化ポリシーの同じリンクアグリゲーショングループ同士の予備ポートを共通化し、冗長化ポリシーの違うリンクアグリゲーショングループについて、予備ポートを別にするといった細かい設定が可能になる。   Furthermore, in the present embodiment, when there are three or more link aggregation groups, the spare ports of the same link aggregation group with the same redundancy policy are shared, and the spare ports are separated for the link aggregation groups with different redundancy policies. It is possible to make detailed settings such as

本発明では、上記の実施の形態において、Switch AとSwitch Bとの2台の構成のみを示しているが、1つの装置から2つ以上の装置に対して接続してもよい。   In the present invention, in the above-described embodiment, only two configurations of Switch A and Switch B are shown, but one device may be connected to two or more devices.

また、2つ以上の装置と接続する場合でも、対向する装置が本発明の動作に準拠し、以下の条件を満たせば、障害発生時にSBYポートのACT化を実現することができる。   Even when two or more devices are connected, if the opposing device complies with the operation of the present invention and satisfies the following conditions, ACT conversion of the SBY port can be realized when a failure occurs.

つまり、本発明では、それぞれの装置で、同じLACP設定(それぞれのポートに対するkey情報設定)、SBY設定をポートに設定する。但し、LACP設定でも、リンクアグリゲーションのキー値やポート番号は、それぞれの装置で異なっていてもよい。   In other words, in the present invention, the same LACP setting (key information setting for each port) and SBY setting are set for each port in each device. However, even in the LACP setting, the key value and the port number for link aggregation may be different for each device.

例えば、図2のSwitch A101のポート1がSwitch B102のポート2と接続し、Switch A101のポート2がSwitch B102のポート1と接続していてもよい。   For example, port 1 of Switch A101 in FIG. 2 may be connected to port 2 of Switch B102, and port 2 of Switch A101 may be connected to port 1 of Switch B102.

また、SBY設定のACTプライオリティ値は、対向する装置同士で必ずしも一致しなくてよいが、各ポートの優先順位が、対向装置同士で同じになるように設定する。   Further, the ACT priority value of the SBY setting does not necessarily match between the opposing devices, but is set so that the priority order of each port is the same between the opposing devices.

11 障害管理部
12 LAN導通ドライバ
13 LACPプロトコル処理部
14 SBY設定テーブル
101 Switch A
102 Switch B
11 Fault Management Unit 12 LAN Continuity Driver 13 LACP Protocol Processing Unit 14 SBY Setting Table 101 Switch A
102 Switch B

Claims (9)

LACP(Link Aggregation Control Protocol)を用いて冗長構成とする際に、各々冗長化ポリシーが違う複数のリンクアグリゲーショングループが1つのスイッチに構築されたネットワーク装置であって、
前記複数のリンクアグリゲーショングループ各々に対する予備のリンクを共通化して設け、
1つのリンクアグリゲーショングループの複数のリンクのいずれかが障害となった場合に前記障害になったリンクに前記予備のリンクを割り当てて運用系とする管理手段を有することを特徴とするネットワーク装置。
When a redundant configuration is made using LACP (Link Aggregation Control Protocol), a plurality of link aggregation groups each having a different redundancy policy are constructed in one switch,
A common spare link for each of the plurality of link aggregation groups is provided,
A network device, comprising: a management unit that allocates the spare link to the failed link and sets it as an active system when any of a plurality of links in one link aggregation group fails.
前記リンクの状態が導通している状態から障害になった場合に前記管理手段に障害通知を行うLACPプロトコル処理手段を含み、
前記管理手段は、前記障害通知を受けた場合に前記障害が発生したリンクの所属するリンクアグリゲーショングループに対応する予備のリンクがあるかを確認しかつ前記予備のリンクがあれば当該予備のリンクに前記障害が発生したリンクと同じLACP設定を行うことを特徴とする請求項1記載のネットワーク装置。
LACP protocol processing means for notifying the management means of failure when a failure occurs from a state where the link is in a conductive state,
When receiving the failure notification, the management means checks whether there is a spare link corresponding to the link aggregation group to which the failed link belongs, and if there is a spare link, The network apparatus according to claim 1, wherein the same LACP setting as that of the link in which the failure has occurred is performed.
前記管理手段は、前記予備のリンクが複数みつかった場合に予め設定された優先度に従って前記LACP設定を行うリンクを選出することを特徴とする請求項2記載のネットワーク装置。   3. The network apparatus according to claim 2, wherein the management unit selects a link for performing the LACP setting according to a preset priority when a plurality of the spare links are found. 前記複数のリンクアグリゲーショングループは、少なくとも音声系通信のリンクアグリゲーショングループと回線管理系通信のリンクアグリゲーショングループとを含むことを特徴とする請求項1から請求項3のいずれか記載のネットワーク装置。   4. The network device according to claim 1, wherein the plurality of link aggregation groups include at least a link aggregation group for voice communication and a link aggregation group for line management communication. 5. 上記の請求項1から請求項4のいずれかに記載のネットワーク装置を含むことを特徴とするリンクアグリゲーションシステム。   A link aggregation system comprising the network device according to any one of claims 1 to 4. LACP(Link Aggregation Control Protocol)を用いて冗長構成とする際に、各々冗長化ポリシーが違う複数のリンクアグリゲーショングループが1つのスイッチに構築されたネットワーク装置に用いる冗長化方法であって、
前記ネットワーク装置において、前記複数のリンクアグリゲーショングループ各々に対する予備のリンクを共通化して設け、
前記ネットワーク装置が、1つのリンクアグリゲーショングループの複数のリンクのいずれかが障害となった場合に前記障害になったリンクに前記予備のリンクを割り当てて運用系とする管理処理を実行することを特徴とする冗長化方法。
A redundancy method used in a network device in which a plurality of link aggregation groups each having a different redundancy policy are configured in one switch when a redundant configuration is made using LACP (Link Aggregation Control Protocol),
In the network device, a common spare link for each of the plurality of link aggregation groups is provided,
The network device executes management processing for assigning the spare link to the failed link and setting it as an active system when any of a plurality of links in one link aggregation group fails. Redundancy method.
前記ネットワーク装置が、前記リンクの状態が導通している状態から障害になった場合に前記管理手段に障害通知を行うLACPプロトコル処理を実行し、
前記ネットワーク装置が、前記管理処理において、前記障害通知を受けた場合に前記障害が発生したリンクの所属するリンクアグリゲーショングループに対応する予備のリンクがあるかを確認しかつ前記予備のリンクがあれば当該予備のリンクに前記障害が発生したリンクと同じLACP設定を行うことを特徴とする請求項6記載の冗長化方法。
The network device executes LACP protocol processing for notifying the management means of a failure when a failure occurs from a state where the link is in a conductive state,
When the network device receives the failure notification in the management process, the network device confirms whether there is a spare link corresponding to the link aggregation group to which the failed link belongs, and if there is the spare link 7. The redundancy method according to claim 6, wherein the same LACP setting as that of the link in which the failure has occurred is performed on the spare link.
前記ネットワーク装置が、前記管理処理において、前記予備のリンクが複数みつかった場合に予め設定された優先度に従って前記LACP設定を行うリンクを選出することを特徴とする請求項7記載の冗長化方法。   8. The redundancy method according to claim 7, wherein the network device selects a link for performing the LACP setting according to a preset priority when a plurality of the spare links are found in the management process. 前記複数のリンクアグリゲーショングループは、少なくとも音声系通信のリンクアグリゲーショングループと回線管理系通信のリンクアグリゲーショングループとを含むことを特徴とする請求項6から請求項8のいずれか記載の冗長化方法。   9. The redundancy method according to claim 6, wherein the plurality of link aggregation groups include at least a link aggregation group for voice communication and a link aggregation group for line management communication.
JP2012056570A 2012-03-14 2012-03-14 Network device, link aggregation system and redundancy method therefor Pending JP2013192022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012056570A JP2013192022A (en) 2012-03-14 2012-03-14 Network device, link aggregation system and redundancy method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012056570A JP2013192022A (en) 2012-03-14 2012-03-14 Network device, link aggregation system and redundancy method therefor

Publications (1)

Publication Number Publication Date
JP2013192022A true JP2013192022A (en) 2013-09-26

Family

ID=49391877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012056570A Pending JP2013192022A (en) 2012-03-14 2012-03-14 Network device, link aggregation system and redundancy method therefor

Country Status (1)

Country Link
JP (1) JP2013192022A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015180294A1 (en) * 2014-05-27 2015-12-03 中兴通讯股份有限公司 Protection switching trigger method and apparatus for signal degrade of link aggregation port
CN110784339A (en) * 2019-10-09 2020-02-11 杭州迪普科技股份有限公司 LACP message overtime fault detection method and device, and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015180294A1 (en) * 2014-05-27 2015-12-03 中兴通讯股份有限公司 Protection switching trigger method and apparatus for signal degrade of link aggregation port
US10205629B2 (en) 2014-05-27 2019-02-12 Zte Corporation Method and device for triggering protection switching by signal degrade of link aggregation port
CN110784339A (en) * 2019-10-09 2020-02-11 杭州迪普科技股份有限公司 LACP message overtime fault detection method and device, and electronic equipment
CN110784339B (en) * 2019-10-09 2022-08-26 杭州迪普科技股份有限公司 LACP message overtime fault detection method and device, and electronic equipment

Similar Documents

Publication Publication Date Title
US9602348B2 (en) Methods and apparatus for detecting and handling split brain issues in a link aggregation group
CN101588304B (en) Implementation method of VRRP and device
US8289839B2 (en) Scaling BFD sessions for neighbors using physical / sub-interface relationships
CN104253764B (en) Link aggregation method and device
JP5211146B2 (en) Packet relay device
US9473360B2 (en) System and method for primary switch election in peer groups
US9385944B2 (en) Communication system, path switching method and communication device
WO2014079088A1 (en) Method and node for implementing redundancy on basis of chain network
WO2010045832A1 (en) Method and apparatus for protecting link aggregation group of ethernet ring
WO2012058895A1 (en) Method and device for switching aggregation links
WO2009111969A1 (en) Method for blocking the edge port in the ethernet, ethernet loop network system and apparatus
EP3029883B1 (en) Network protection method and apparatus, next-ring node, and system
CN102006189A (en) Primary access server determination method and device for dual-machine redundancy backup
CN103560955A (en) Method and device for switching between redundancy devices
JP2012529805A (en) Method, apparatus and system for hot standby by two computers
CN102571612A (en) Virtual router redundancy protocol (VRRP) state switching method and three-layer exchange equipment
WO2020052687A1 (en) Network element anti-looping method and apparatus, device, and readable storage medium
CN110855508A (en) Distributed SDN synchronization method based on block chain technology
WO2012126412A2 (en) Method, network device and system for ethernet ring protection switching
CN109194592B (en) Method and system for solving island problem in multi-link network
CN104702498A (en) Method and device for reducing the number of optical connections through coordination protection
WO2009152700A1 (en) Method, system and transfer device for managing the network device port status
JP6383232B2 (en) Relay system and switch device
WO2014101125A1 (en) Aggregation group link negotiation method, device and system
JP2013192022A (en) Network device, link aggregation system and redundancy method therefor