JP2014112977A - Packet relay device - Google Patents

Packet relay device Download PDF

Info

Publication number
JP2014112977A
JP2014112977A JP2014065244A JP2014065244A JP2014112977A JP 2014112977 A JP2014112977 A JP 2014112977A JP 2014065244 A JP2014065244 A JP 2014065244A JP 2014065244 A JP2014065244 A JP 2014065244A JP 2014112977 A JP2014112977 A JP 2014112977A
Authority
JP
Japan
Prior art keywords
network interface
unit
port
nif
interface unit
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.)
Granted
Application number
JP2014065244A
Other languages
Japanese (ja)
Other versions
JP5786055B2 (en
Inventor
Hideo Odaka
英男 小▲高▼
Kengo Miyajima
賢悟 宮島
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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks 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 Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2014065244A priority Critical patent/JP5786055B2/en
Publication of JP2014112977A publication Critical patent/JP2014112977A/en
Application granted granted Critical
Publication of JP5786055B2 publication Critical patent/JP5786055B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a technique for a packet relay device comprising a plurality of pieces of link aggregation connected with a plurality of redundant network interface units, that can control standby power of the standby network interface units.SOLUTION: A packet relay device determines standby port units in link aggregation, determines whether each of redundant network interface units has an operating port unit, and when the network interface unit has no operating port unit, performs processing for changing a state of the network interface unit into a standby state. The device monitors occurrence of failure in the operating network interface unit, and when the failure is detected in the operating network interface unit, starts up the standby network interface unit, and changes the state of the network interface unit having the failure into the standby state.

Description

本発明は、パケット中継装置に係り、特に冗長構成による通信の信頼性を目指した高信頼化技術、および余剰電力を低減するパケット中継装置に関する。   The present invention relates to a packet relay device, and more particularly, to a high reliability technology aiming at communication reliability by a redundant configuration and a packet relay device that reduces surplus power.

ルータおよびスイッチであるパケット中継装置の数量が増大している。また、動画等大容量の情報利用が普及している。この結果、ネットワーク内のトラフィック量が急増している。また、国内におけるパケット中継装置の消費電力量は、2006年と比べ2025年には13倍の電力量が必要と予測されている。地球温暖化防止の一助とするために、パケット中継装置の省電力化は重要な課題である。   The number of packet relay devices that are routers and switches is increasing. In addition, the use of large-capacity information such as moving images has become widespread. As a result, the amount of traffic in the network has increased rapidly. Further, it is predicted that the power consumption of the packet relay apparatus in Japan is required to be 13 times the power consumption in 2025 compared to 2006. In order to help prevent global warming, the power saving of the packet relay device is an important issue.

パケット中継装置の省電力化技術として、特許文献1に示す送受信するパケットの転送先を決めるパケット転送部のクロック周波数を変更する技術がある。また、非特許文献1に示すネットワーク回線を接続するポート部およびパケット転送部の電源を抑止する技術がある。   As a power saving technique of the packet relay apparatus, there is a technique of changing a clock frequency of a packet transfer unit that determines a transfer destination of a packet to be transmitted / received as disclosed in Patent Document 1. Further, there is a technique for suppressing the power supply of the port unit and the packet transfer unit that connect the network lines shown in Non-Patent Document 1.

一方、パケット中継装置に単純に省電力化を適用すると、通信の継続性が犠牲になる。そのため、ポート部やパケット転送部を冗長構成にする信頼性技術と併用して省電力化を図ることが多い。具体的には、ポート部を冗長化する技術として、IEEE802.3adで標準化されたリンクアグリゲーションがある。リンクアグリゲーションは、複数のポート部を論理的に一つの回線として扱うことで、帯域の増加および一つの回線が障害になっても通信を継続可能とする技術である。リンクアグリゲーションにおける通信断を回避する技術として、特許文献2に示す時間帯、トラフィック量に応じてリンクアグリゲーションが収容するポート数を動的に変更する方法がある。また、特許文献3に示す複数のネットワークインタフェース部においてリンクアグリゲーションに関する制御情報を常に同期させる方法がある。   On the other hand, if power saving is simply applied to the packet relay device, the continuity of communication is sacrificed. For this reason, power saving is often achieved in combination with a reliability technique in which the port unit and the packet transfer unit are configured redundantly. Specifically, there is link aggregation standardized by IEEE 802.3ad as a technology for making the port part redundant. Link aggregation is a technology that allows communication to be continued even if a plurality of port sections are logically handled as one line, resulting in an increase in bandwidth and a failure of one line. As a technique for avoiding communication interruption in link aggregation, there is a method of dynamically changing the number of ports accommodated by the link aggregation in accordance with the time zone and traffic amount shown in Patent Document 2. In addition, there is a method in which control information related to link aggregation is always synchronized in a plurality of network interface units described in Patent Document 3.

またパケット転送部を冗長化する技術には、冗長化した当該パケット転送部を全て運用系とする場合と、一部を障害時に切り替えるための予備として待機させる場合がある。更に待機させる場合には、運用系と同じ状態を保持し即座に障害の運用系と切り替えが可能なホットスタンバイと、切り替えに少し時間がかかるコールドスタンバイがある。電力の削減量という点では、一般にコールドスタンバイの方が大きな効果がある。   In addition, the technology for making the packet transfer unit redundant includes a case where all of the redundant packet transfer units are used as an active system and a case where a part of the packet transfer unit is made standby as a spare for switching in the event of a failure. Further, when waiting, there are a hot standby in which the same state as the active system is maintained and switching to the failed active system can be performed immediately, and a cold standby which takes a little time for switching. In general, cold standby is more effective in terms of power reduction.

特開2007−228491号公報JP 2007-228491 A 特開2008−098720号公報JP 2008-098720 A 特開2008−244907号公報JP 2008-244907 A

「AX6700S・AX6600S・AX6300S ソフトウェアマニュアルコンフィグレーションガイド Vol.1 Ver.11.2 対応」、アラクサラネットワークス株式会社、2009年10月、pp.269〜290“AX6700S / AX6600S / AX6300S Software Manual Configuration Guide for Vol.1 Ver.11.2”, ALAXALA Networks Corporation, October 2009, pp. 269-290

本発明は、冗長化した複数のネットワークインタフェース部と接続する複数のリンクアグリゲーションから構成されるパケット中継装置において、待機中のネットワークインタフェース部の待機電力を制御する技術を提供する。   The present invention provides a technology for controlling standby power of a standby network interface unit in a packet relay apparatus including a plurality of link aggregations connected to a plurality of redundant network interface units.

また、本発明は、前記パケット中継装置において運用系ネットワークインタフェース部上のポート部において断続的に発生して回復する障害に伴う、待機系ネットワークインタフェース部の起動および停止の繰り返しにより通信断が発生することを回避する技術を提供する。   Further, in the present invention, in the packet relay device, communication interruption occurs due to repeated start and stop of the standby network interface unit due to a failure that occurs intermittently at the port unit on the operational network interface unit and recovers. Provide technology to avoid this.

上記課題の少なくとも一つを解決するために、ユーザが装置に対して設定した情報からリンクアグリゲーションにおいて待機させるポート部を決定し、冗長化した各ネットワークインタフェース部に所属する運用中のポート部の有無を判定し、ネットワークインタフェース部に運用中のポート部が無い場合に、ネットワークインタフェース部自体を待機中へ変更する処理を行ない、運用中のネットワークインタフェース部における障害の発生を監視し、障害を検出すると、待機中のネットワークインタフェース部を起動し、障害が発生したネットワークインタフェース部に対して、ポート部またはネットワークインタフェース部を待機中へ変更する処理を行なうネットワーク中継装置を提供する。   In order to solve at least one of the above problems, a port unit to be waited in link aggregation is determined from information set by the user for the device, and there is an operating port unit belonging to each redundant network interface unit If there is no operating port part in the network interface part, the network interface part itself is changed to standby, the occurrence of a fault in the operating network interface part is monitored, and a fault is detected. Provided is a network relay device that activates a standby network interface unit and changes a port unit or a network interface unit to a standby state for a network interface unit in which a failure has occurred.

またユーザが指定した閾値情報に基づきリンクアグリゲーションに所属するポート数に応じたトラフィック量の上限値を算出し、一定周期で測定したポート部および前記ポート部が所属するリンクアグリゲーション全体のトラフィック量を、上限値と比較し、測定したトラフィック量に応じた最適なポート数を選択し、最適ポート数に一致するよう現在のリンクアグリゲーションのポート数の電源状態を変更した後、冗長化した各ネットワークインタフェース部に所属する運用中のポート部の有無を判定し、ネットワークインタフェース部に運用中のポート部が無い場合に、ネットワークインタフェース部自体を待機中へ変更する処理を行なうネットワーク中継装置を提供する。   In addition, based on threshold information specified by the user, the upper limit value of the traffic volume according to the number of ports belonging to the link aggregation is calculated, and the traffic volume of the port unit and the entire link aggregation to which the port unit belongs is measured at a certain period, Compare with the upper limit value, select the optimal number of ports according to the measured traffic volume, change the power state of the current number of link aggregation ports to match the optimal number of ports, and then make each redundant network interface unit There is provided a network relay device that determines whether or not there is an operating port unit belonging to the network interface, and performs processing to change the network interface unit itself to standby when there is no operating port unit in the network interface unit.

更にリンクアグリゲーションに含まれるポート部の品質を検査する検査項目において基準とする正常値の範囲と、異常を許容する許容発生回数を保持し、一定周期でポート部の品質を検査し、検査の結果、冗長化した運用中のネットワークインタフェース部に所属するポート部が異常のとき、待機中のネットワークインタフェース部を起動した後、前記運用中のネットワークインタフェース部自体を待機中へ変更する処理を行なうネットワーク中継装置を提供する。   In addition, it maintains the normal value range that is the standard in the inspection items that inspect the quality of the port part included in the link aggregation and the allowable number of occurrences that allow the abnormality. Network relay that performs processing to change the operating network interface unit itself to standby after starting the standby network interface unit when the port unit belonging to the redundant operating network interface unit is abnormal Providing equipment.

待機中のネットワークインタフェース部における待機電力を削減しつつ、運用中のネットワークインタフェース部に障害が発生すれば待機中のネットワークインタフェースを起動し通信を継続することができる。   While the standby power in the standby network interface unit is reduced, if a failure occurs in the operating network interface unit, the standby network interface can be activated to continue communication.

パケット中継装置の構成とネットワークの構成を説明するブロック図である。It is a block diagram explaining the structure of a packet relay apparatus, and the structure of a network. 運用管理部の構造を説明する図である。It is a figure explaining the structure of an operation management part. リンクアグリゲーションのグループ管理テーブルを説明する図である。It is a figure explaining the group management table of link aggregation. リンクアグリゲーションのポート管理テーブルを説明する図である。It is a figure explaining the port management table of link aggregation. ネットワークインタフェース部のグループ管理テーブルを説明する図である。It is a figure explaining the group management table of a network interface part. リンクアグリゲーションのポート片寄せによる省電力化フローチャートである。It is a power-saving flowchart by the port aggregation of link aggregation. ネットワークインタフェース部の状態決定Aのフローチャートである。It is a flowchart of the state determination A of a network interface part. 待機ネットワークインタフェース部の稼動処理フローチャートである。It is an operation processing flowchart of a standby network interface unit. 運用管理部の構造を説明する図である。It is a figure explaining the structure of an operation management part. リンクアグリゲーションの総トラフィック量管理テーブルを説明する図である。It is a figure explaining the total traffic amount management table of link aggregation. リンクアグリゲーションのポートトラフィック量管理テーブルを説明する図である。It is a figure explaining the port traffic volume management table of link aggregation. ポート数に応じたトラフィック量の上限値管理テーブルを説明する図である。It is a figure explaining the upper limit management table of the traffic amount according to the number of ports. ネットワークインタフェース部のグループ管理テーブルを説明する図である。It is a figure explaining the group management table of a network interface part. リンクアグリゲーションのポートトラフィック量管理テーブルを説明する図である。It is a figure explaining the port traffic volume management table of link aggregation. ネットワークインタフェース部のグループ管理テーブルを説明する図である。It is a figure explaining the group management table of a network interface part. リンクアグリゲーションのトラフィック量に基づく省電力化フローチャートである。It is a power-saving flowchart based on the traffic volume of link aggregation. ポート数に応じたトラフィック量の上限値算出フローチャートである。It is a flowchart for calculating the upper limit value of the traffic volume according to the number of ports. リンクアグリゲーションのポート状態決定フローチャートである。It is a port state determination flowchart of link aggregation. 運用管理部の構造を説明する図である。It is a figure explaining the structure of an operation management part. ハードウェア制御部の構造を説明する図である。It is a figure explaining the structure of a hardware control part. リンクアグリゲーションのポート検査状況管理テーブルを説明する図である。It is a figure explaining the port inspection status management table of link aggregation. ネットワークインタフェース部のグループ管理テーブルを説明する図である。It is a figure explaining the group management table of a network interface part. ポート部の検査結果管理テーブルを説明する図である。It is a figure explaining the inspection result management table of a port part. 検査基準テーブルを説明する図である。It is a figure explaining an inspection standard table. インターミッテントな障害発生時におけるネットワークインタフェース部の制御フローチャートである。It is a control flowchart of the network interface part at the time of an intermittent failure occurrence. ポート部の品質検査フローチャートである。It is a quality inspection flowchart of a port part. ネットワークインタフェース部の状態決定Bのフローチャートである。It is a flowchart of the state determination B of a network interface part. 運用管理部の構造を説明する図である。It is a figure explaining the structure of an operation management part. リンクアグリゲーションの状態管理テーブルを説明する図である。It is a figure explaining the state management table of a link aggregation. LACP使用時におけるリンクアグリゲーションのポート片寄せによる省電力化フローチャートである。It is a power saving flowchart by the port gathering of the link aggregation at the time of LACP use. ネットワークインタフェース部の状態決定Cのフローチャートである。It is a flowchart of the state determination C of a network interface part. LACPの状態を確認するフローチャートである。It is a flowchart which confirms the state of LACP. LACPDU受信に伴うLACP状態を更新するフローチャートである。It is a flowchart which updates the LACP state accompanying LACPDU reception. 運用管理部の構造を説明する図である。It is a figure explaining the structure of an operation management part. リンクアグリゲーションのポート管理テーブルを説明する図である。It is a figure explaining the port management table of link aggregation. ネットワークインタフェース部の障害基準テーブルを説明する図である。It is a figure explaining the failure criteria table of a network interface part. ネットワークインタフェース部のグループ管理テーブルを説明する図である。It is a figure explaining the group management table of a network interface part. NIFの障害復旧に伴う冗長化NIFを制御するフローチャートである。It is a flowchart which controls redundant NIF accompanying failure recovery of NIF. ネットワークインタフェース部の状態決定Dのフローチャートである。It is a flowchart of the state determination D of a network interface part.

以下、本発明の実施の形態について、実施例を用い図面を参照しながら詳細に説明する。なお、実質同一部位には同じ参照番号を振り、説明は繰り返さない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings using examples. The same reference numerals are assigned to substantially the same parts, and the description will not be repeated.

図1を参照して、パケット中継装置の内部構造とパケット中継装置を用いたネットワークの構成を説明する。図1において、ネットワーク50は、3台のパケット中継装置10から構成されている。パケット中継装置10は、パケット中継装置10間における通信の信頼性を向上するため、リンクアグリゲーションを用いて回線の冗長化を図っている。   With reference to FIG. 1, an internal structure of a packet relay device and a network configuration using the packet relay device will be described. In FIG. 1, the network 50 includes three packet relay apparatuses 10. In order to improve the reliability of communication between the packet relay devices 10, the packet relay device 10 uses link aggregation to achieve line redundancy.

パケット中継装置10は、2式の装置制御部20、2式のパケット転送部30、2式のネットワークインタフェース部40から構成されている。装置制御部20は、コマンド解析部100、運用管理部200、ハードウェア制御部500で構成されている。ネットワークインタフェース部40には、複数のポート部700を有する。ポート部700−1は、パケット中継装置10−2と接続されている。ポート部700−2は、パケット中継装置10−3と接続されている。ポート部700−(n−1)は、パケット中継装置10−2と接続されている。ポート部700−nは、パケット中継装置10−3と接続されている。   The packet relay device 10 includes a two-type device control unit 20, a two-type packet transfer unit 30, and a two-type network interface unit 40. The device control unit 20 includes a command analysis unit 100, an operation management unit 200, and a hardware control unit 500. The network interface unit 40 has a plurality of port units 700. The port unit 700-1 is connected to the packet relay apparatus 10-2. The port unit 700-2 is connected to the packet relay apparatus 10-3. The port unit 700- (n-1) is connected to the packet relay apparatus 10-2. The port unit 700-n is connected to the packet relay apparatus 10-3.

ネットワークインタフェース部40は、ネットワーク50に対するパケット送受信を制御する。パケット転送部30は、ネットワークインタフェース部40を接続し、送受信するパケットのヘッダ情報に基づいてパケットの中継先を決める。装置制御部20は、パケット中継装置10自体を制御するソフトウェアプログラムが格納される。装置制御部20、パケット転送部30、ネットワークインタフェース部40は、それぞれバスで接続された構成をとる。   The network interface unit 40 controls packet transmission / reception with respect to the network 50. The packet transfer unit 30 connects the network interface unit 40 and determines a packet relay destination based on header information of the packet to be transmitted / received. The device control unit 20 stores a software program for controlling the packet relay device 10 itself. The device control unit 20, the packet transfer unit 30, and the network interface unit 40 are connected by a bus.

ポート部700は、物理回線を終端する。パケット中継装置10間の物理回線は、異なるネットワークインタフェース部40におけるポート部700と接続するリンクアグリゲーションの構成を採る。   The port unit 700 terminates the physical line. The physical line between the packet relay apparatuses 10 adopts a link aggregation configuration connected to the port unit 700 in the different network interface unit 40.

装置制御部20におけるソフトウェアプログラムは、次の動作を司る。コマンド解析部100は、ユーザが設定したコンフィグレーション情報を解析する。運用管理部200は、コマンド解析部100からのコンフィグレーション情報の反映とハードウェアの状態に基づく装置の電源状態の決定と命令を司る。ハードウェア制御部500は、ハードウェアへの設定値登録、電源制御、統計情報の収集、障害の検出を行なう。   The software program in the device control unit 20 controls the following operations. The command analysis unit 100 analyzes configuration information set by the user. The operation management unit 200 controls the reflection of configuration information from the command analysis unit 100 and the determination and command of the power state of the apparatus based on the hardware state. The hardware control unit 500 performs setting value registration in the hardware, power control, collection of statistical information, and failure detection.

図2を参照して、運用管理部200の詳細を説明する。図2において、運用管理部200は、リンクアグリゲーショングループ管理テーブル220と、リンクアグリゲーションポート管理テーブル240と、ネットワークインタフェース部グループ管理テーブル260とを保持する。運用管理部200は、リンクアグリゲーショングループ管理テーブル220と、リンクアグリゲーションポート管理テーブル240と、ネットワークインタフェース部グループ管理テーブル260とを参照して、リンクアグリゲーションに所属するポートの状態を判断する。運用管理部200は、ポートの状態に基づいて、ポート部700およびネットワークインタフェース部40に対する不要な電力を削減するよう制御する。   Details of the operation management unit 200 will be described with reference to FIG. In FIG. 2, the operation management unit 200 holds a link aggregation group management table 220, a link aggregation port management table 240, and a network interface unit group management table 260. The operation management unit 200 refers to the link aggregation group management table 220, the link aggregation port management table 240, and the network interface unit group management table 260 to determine the state of the ports belonging to the link aggregation. The operation management unit 200 controls to reduce unnecessary power for the port unit 700 and the network interface unit 40 based on the state of the port.

図3ないし図5を参照して、運用管理部200の各テーブルの詳細を説明する。図3において、リンクアグリゲーショングループ管理テーブル220は、LA(Link Aggregation)番号222、ポート数224、最大稼動ポート数226から構成される。最大稼動ポート数226は、ユーザがコンフィグレーションで設定する同一のリンクアグリゲーションに所属する複数ポートの内、最大何個を稼動させるかを示す値である。LA番号222は、リンクアグリゲーションを識別する値である。ポート数224は、当該リンクアグリゲーションに所属するポート数の値である。   Details of each table of the operation management unit 200 will be described with reference to FIGS. 3 to 5. In FIG. 3, the link aggregation group management table 220 includes an LA (Link Aggregation) number 222, a port number 224, and a maximum operating port number 226. The maximum operating port number 226 is a value indicating the maximum number of ports among a plurality of ports belonging to the same link aggregation set by the user in the configuration. The LA number 222 is a value for identifying link aggregation. The port number 224 is a value of the number of ports belonging to the link aggregation.

図4を参照して、リンクアグリゲーションポート管理テーブル240を説明する。図4において、リンクアグリゲーションポート管理テーブル240は、LA番号242、NIF(Network Interface)番号244、ポート番号246、LA優先度248、ポート状態250から構成される。   The link aggregation port management table 240 will be described with reference to FIG. 4, the link aggregation port management table 240 includes an LA number 242, an NIF (Network Interface) number 244, a port number 246, an LA priority 248, and a port state 250.

LA優先度248は、ユーザが設定した複数のリンクアグリゲーションのポートから稼動させるポートの優先順位を決める情報である。LA優先度248は、ポート単位で管理する情報である。LA番号242は、リンクアグリゲーションを識別する値である。NIF番号244は、リンクアグリゲーションのポートに指定したネットワークインタフェースの位置を示す値である。ポート番号246は、ポートの位置を示す値である。LA優先度248は、そのポートのリンクアグリゲーションでの優先度を示す値である。LA優先度248は、リンクアグリゲーション内において、値が小さいほど優先度が高いとする。ポート状態250は、ポートの状態を示す。ポート状態250は、「ACT(active)」、「SBY(standby)」または「障害」のいずれかである。「ACT」のとき、そのポート700は、活性状態にある。また、「SBY」のとき、そのポート700は、非活性状態にある。「障害」のとき、そのポート700は、障害状態にある。   The LA priority 248 is information for determining the priority of a port to be operated from a plurality of link aggregation ports set by the user. The LA priority 248 is information managed on a port basis. The LA number 242 is a value for identifying link aggregation. The NIF number 244 is a value indicating the position of the network interface designated as the link aggregation port. The port number 246 is a value indicating the position of the port. The LA priority 248 is a value indicating the priority in link aggregation of the port. It is assumed that the LA priority 248 has a higher priority as the value is smaller in the link aggregation. The port state 250 indicates the state of the port. The port state 250 is “ACT (active)”, “SBY (standby)”, or “failure”. When “ACT”, the port 700 is in an active state. When “SBY”, the port 700 is in an inactive state. When “Fault”, the port 700 is in a fault state.

図4において、LA番号242が「1」のリンクアグリゲーションもLA番号242が「2」のリンクアグリゲーションも、NIF番号244が「1」のポートの優先度を高く設定していることが分かる。この結果、NIF番号244が「2」のポートはいずれもSBYであり、該当するネットワークインタフェース部40を省電力設定できる。   In FIG. 4, it can be seen that both the link aggregation with the LA number 242 of “1” and the link aggregation with the LA number 242 of “2” set the priority of the port with the NIF number 244 “1” high. As a result, any port whose NIF number 244 is “2” is SBY, and the corresponding network interface unit 40 can be set in power saving mode.

図5を参照して、ネットワークインタフェース部グループ管理テーブル260を説明する。図5において、ネットワークインタフェース部グループ管理テーブル260は、NIFグループ番号262、NIF番号264、LAのACTポート有無266、NIF状態268から構成される。   The network interface unit group management table 260 will be described with reference to FIG. In FIG. 5, the network interface unit group management table 260 includes an NIF group number 262, an NIF number 264, an LA ACT port presence / absence 266, and an NIF state 268.

ネットワークインタフェース部グループ管理テーブル260は、ネットワークインタフェース部を冗長化した情報と当該ネットワークインタフェース部の状態を管理する。NIFグループ番号262は、ネットワークインタフェース部40の冗長化グループを識別する。NIF番号264は、リンクアグリゲーションのポートに指定したネットワークインタフェースの位置を示す値である。LAのACTポート有無266は、当該NIF上のリンクアグリゲーションポートにおいてリンクアップしているポート(ACTポート)があるかを示す。LAのACTポート有無266は、「有」または「無」の値を採る。NIF状態268は、ネットワークインタフェース部の状態を示す。NIF状態268は、「ACT」または「SBY」のいずれかである。「ACT」のとき、そのネットワークインタフェース部40は、活性状態にある。また、「SBY」のとき、そのネットワークインタフェース部40は、非活性状態にある。   The network interface unit group management table 260 manages information that makes the network interface unit redundant and the state of the network interface unit. The NIF group number 262 identifies the redundancy group of the network interface unit 40. The NIF number 264 is a value indicating the position of the network interface designated as the link aggregation port. The LA ACT port presence / absence 266 indicates whether there is a link-up port (ACT port) in the link aggregation port on the NIF. The LA ACT port presence / absence 266 takes a value of “present” or “absent”. The NIF state 268 indicates the state of the network interface unit. The NIF state 268 is either “ACT” or “SBY”. In the case of “ACT”, the network interface unit 40 is in an active state. When “SBY”, the network interface unit 40 is in an inactive state.

次に、図6ないし図8を参照して、実施例1の処理フローを説明する。実施例1では、パケット中継装置10は、グループ管理テーブル220、ポート管理テーブル240、グループ管理テーブル260を駆使し、かつリンクアグリゲーションのポート状態に連動することで、ネットワークインタフェース部40の電源を制御する。   Next, the processing flow of the first embodiment will be described with reference to FIGS. In the first embodiment, the packet relay apparatus 10 controls the power supply of the network interface unit 40 by making full use of the group management table 220, the port management table 240, and the group management table 260 and interlocking with the link aggregation port state. .

ユーザは、ポート部およびネットワークインタフェース部を冗長化するために、事前にパケット中継装置10のコンフィグレーションを設定しておく。ポート部を冗長化するリングアグリゲーションの設定には、リンクアグリゲーションを特定するLA番号、当該LA番号に所属するNIF番号とポート番号、LA番号に所属するポート部の内最大何個のポート部を使用するかを決める最大稼動ポート数、どのポート部を待機させるかを決めるLA優先度が必要である。なおリンクアグリゲーションが複数ある場合、各リンクアグリゲーション間でLA優先度を特定のネットワークインタフェースに合わせることで、より効果を発揮する。   The user sets the configuration of the packet relay device 10 in advance in order to make the port unit and the network interface unit redundant. For the ring aggregation setting to make the port part redundant, the LA number that identifies the link aggregation, the NIF number and port number belonging to the LA number, and the maximum number of port parts among the port parts belonging to the LA number are used. It is necessary to have the maximum number of operating ports that determine whether to perform the operation, and the LA priority that determines which port unit is to be kept on standby. In addition, when there are a plurality of link aggregations, it is more effective to match the LA priority to a specific network interface between the link aggregations.

なお、ネットワークインタフェース部を冗長化する設定には、ネットワークインタフェース部をグループ化して識別するNIFグループ番号、および当該NIFグループ番号に所属するネットワークインタフェース部の番号であるNIF番号が必要である。   Note that the setting for making the network interface unit redundant requires an NIF group number for grouping and identifying the network interface unit, and an NIF number that is the number of the network interface unit belonging to the NIF group number.

これらのコンフィグレーション情報について、コマンド解析部100は、解析を実施する。コマンド解析部100は、解析結果を運用管理部200へ通知して、処理シーケンスが開始される。   The command analysis unit 100 analyzes the configuration information. The command analysis unit 100 notifies the operation management unit 200 of the analysis result, and the processing sequence is started.

図6において、運用管理部200は、グループ管理テーブル220、ポート管理テーブル240、グループ管理テーブル260へ当該情報を反映する(S101)。運用管理部200は、ポート管理テーブル240から、一つのLA番号に所属するポート数を計算し、グループ管理テーブル220のポート数へ記録する。運用管理部200は、上述した処理をLA番号数分実施する(S102)。   In FIG. 6, the operation management unit 200 reflects the information on the group management table 220, the port management table 240, and the group management table 260 (S101). The operation management unit 200 calculates the number of ports belonging to one LA number from the port management table 240 and records it in the number of ports in the group management table 220. The operation management unit 200 performs the above-described processing for the number of LA numbers (S102).

運用管理部200は、グループ管理テーブル220からリンクアグリゲーションに所属するポート部の内、スタンバイさせるポート部(以後、スタンバイリンクと呼ぶ)の数を計算して、全ての待機ポート数を調べたか判定する(S103)。YESのとき、運用管理部200は、NIF状態の決定Aのサブルーチンにジャンプして、リターン後、終了する。   The operation management unit 200 calculates, from the group management table 220, the number of port units to be put into standby (hereinafter referred to as standby links) among the port units belonging to the link aggregation, and determines whether all the standby port numbers have been checked. (S103). If YES, the operation management unit 200 jumps to the NIF state determination A subroutine and ends after returning.

ステップ103でNOのとき、運用管理部200は、グループ管理テーブル220から、LA番号毎に「ポート数−稼動ポート数>0」であるかを判定する(S104)。YESのとき、運用管理部200は、ポート管理テーブル240において、当該LA番号に所属するポート番号のLA優先度が大きい数値を低優先と判断し、当該ポート番号のポート状態をスタンバイ(ポートの電源オフ)とする。運用管理部200は、ハードウェア制御部500へ当該ポート番号をスタンバイにするよう命令し、ハードウェア制御部500が該当するポート部の電源を抑止する。一方、ステップ104が非該当(NO)の場合、ポート管理テーブル240において、当該LA番号に所属するポート番号のポート状態をACT(リンクアップ)として(S106)、ステップ103に遷移する。   When NO in step 103, the operation management unit 200 determines whether “number of ports−number of active ports> 0” for each LA number from the group management table 220 (S104). When YES, the operation management unit 200 determines that the port management table 240 has a low LA priority for the port number belonging to the LA number, and sets the port state of the port number to standby (port power supply). Off). The operation management unit 200 instructs the hardware control unit 500 to set the port number to standby, and the hardware control unit 500 suppresses the power supply of the corresponding port unit. On the other hand, when step 104 is not applicable (NO), the port status of the port number belonging to the LA number is set to ACT (link up) in the port management table 240 (S106), and the process proceeds to step 103.

リンクアグリゲーションの構成に基づいてポート状態を更新したあと、運用管理部200は、冗長化したネットワークインタフェース部の状態を更新する。この処理を図7を参照して、説明する。   After updating the port state based on the link aggregation configuration, the operation management unit 200 updates the state of the redundant network interface unit. This process will be described with reference to FIG.

図7において、運用管理部200は、ポート管理テーブル240を参照して、同一NIF番号に所属するポート番号のポート状態を確認し、ACTが一つ以上あれば、グループ管理テーブル260におけるLAのACTポート有無へ「有」と記録する。ACTが一つも無ければ、「無」と記録する。(S121)
運用管理部200は、グループ管理テーブル260について、全てのNIFグループ番号に属するLAのACTポート有無を調べたか判定する(S122)。YESのとき、運用管理部200は、リターンする。
In FIG. 7, the operation management unit 200 refers to the port management table 240 to confirm the port status of the port number belonging to the same NIF number. If there is one or more ACTs, the LA ACT in the group management table 260 is checked. Record “Yes” in the presence of port. If there is no ACT, “None” is recorded. (S121)
The operation management unit 200 determines whether or not the group management table 260 has been checked for the presence or absence of ACT ports of LAs belonging to all NIF group numbers (S122). If YES, the operation management unit 200 returns.

ステップ122でNOのとき、LAのACTポートが「有」か判定する(S123)。YESのとき、運用管理部200は、当該NIFを稼動状態とし、NIF状態にACTを記録して(S124)、ステップ122に遷移する。具体的には当該NIF番号のNIF状態をSBYからACTへ変更する場合、運用管理部200は、ハードウェア制御部500へ当該NIFを起動するように命令する。そしてグループ管理テーブル260のNIF状態268へACTと記録する。なおNIF状態が既にACTの場合は、特に何もしない。   If NO in step 122, it is determined whether the LA ACT port is “present” (S123). If YES, the operation management unit 200 sets the NIF in the operating state, records ACT in the NIF state (S124), and proceeds to step 122. Specifically, when the NIF state of the NIF number is changed from SBY to ACT, the operation management unit 200 instructs the hardware control unit 500 to activate the NIF. Then, ACT is recorded in the NIF state 268 of the group management table 260. If the NIF state is already ACT, nothing is done.

一方、ステップ123でLAのACTポートが「無」の場合(S123:NO)、運用管理部200は、当該NIFをスタンバイ(NIFの電源オフ)とし、NIF状態にSBYを記録して(S125)、ステップ122に遷移する。具体的には当該NIF番号のNIF状態をACTからSBYへ変更する場合、運用管理部200は、ハードウェア制御部500へ当該NIF番号の電源を停止するように命令する。そしてグループ管理テーブル260のNIF状態268へSBYと記録する。なおNIF状態が既にSBYの場合は、特に何もしない。   On the other hand, if the LA ACT port is “None” in step 123 (S123: NO), the operation management unit 200 sets the NIF to standby (NIF power off) and records SBY in the NIF state (S125). , Transition to step 122. Specifically, when changing the NIF state of the NIF number from ACT to SBY, the operation management unit 200 instructs the hardware control unit 500 to stop the power supply of the NIF number. Then, SBY is recorded in the NIF state 268 of the group management table 260. If the NIF state is already SBY, nothing is done.

次に、図8を参照して、アクティブなネットワークインタフェース部40でリンクアグリゲーションポートの障害が発生した場合の処理を説明する。図8において、ハードウェア制御部500は、NIF状態がACTのNIF40においてリンクアグリゲーションで使用するポート部の障害を検出したか判定する(S151)。NOのとき、ハードウェア制御部500は、再びステップ151に遷移する。ステップ151でYESのとき、ハードウェア制御部500は、運用管理部200へ障害情報を通知する。運用管理部200は、グループ管理テーブル260において当該NIF番号と同一であるNIFグループ番号に所属するNIF番号の内、NIF状態がSBYであるNIF番号を選択し、当該NIFを稼働するようハードウェア制御部500へ命令する。なおNIF状態がSBYであるNIF番号が複数ある場合は、NIF番号が最も若い番号を優先的に選択する(S152)。その後運用管理部200は、当該NIF番号のNIF状態をACTと記録する。   Next, processing when a link aggregation port failure occurs in the active network interface unit 40 will be described with reference to FIG. In FIG. 8, the hardware control unit 500 determines whether a failure of a port unit used for link aggregation is detected in the NIF 40 whose NIF state is ACT (S151). When NO, the hardware control unit 500 makes a transition to Step 151 again. When YES in step 151, the hardware control unit 500 notifies the operation management unit 200 of failure information. The operation management unit 200 selects a NIF number with the NIF state SBY from among the NIF numbers belonging to the NIF group number that is the same as the NIF number in the group management table 260, and performs hardware control so that the NIF operates. Command unit 500. If there are a plurality of NIF numbers whose NIF state is SBY, the number with the smallest NIF number is preferentially selected (S152). Thereafter, the operation management unit 200 records the NIF state of the NIF number as ACT.

なおリンクアグリゲーションポートの障害とは、リンクアグリゲーションに指定した自装置のポートまたは対向装置におけるポートのハードウェア障害、IEEE802.3adで規定するLACPDU(Link Aggregation Control Protocol Data Unit)を規定時間内に受信できないとき、またUDLD(Uni-Directional Link Detection)により単一方向のリンク障害を検出したとき等を指す。   The failure of the link aggregation port refers to the hardware failure of the port of the own device specified in the link aggregation or the port of the opposite device, and the LACPDU (Link Aggregation Control Protocol Data Unit) specified by IEEE 802.3ad cannot be received within the specified time. Or when a unidirectional link failure is detected by UDLD (Uni-Directional Link Detection).

続いて、運用管理部200は、障害のポート番号を含むNIFをスタンバイにするとコンフィグレーションで設定されているか判定する(S153)。YESのとき、運用管理部200は、当該NIF番号をスタンバイにするようハードウェア制御部500へ命令し、NIF状態268をSBYと記録する。また当該NIF番号上の全ポート番号のポート状態をSBYとして(S154)、ステップ151に遷移する。ステップ153でNOのとき、運用管理部200は、障害を検出したポート番号のポート状態250だけ障害として(S155)、ステップ151に遷移する。   Subsequently, the operation management unit 200 determines whether or not the NIF including the failed port number is set in the configuration when the NIF is set to standby (S153). When YES, the operation management unit 200 instructs the hardware control unit 500 to set the NIF number to standby, and records the NIF state 268 as SBY. Further, the port states of all port numbers on the NIF number are set to SBY (S154), and the process proceeds to step 151. When NO is determined in step 153, the operation management unit 200 determines that only the port state 250 of the port number in which the failure has been detected is a failure (S155), and transitions to step 151.

実施例1に拠れば、リンクアグリゲーションのポート状態に連動して、冗長化したネットワークインタフェース部の状態を制御することで、待機中のネットワークインタフェース部における待機電力を削減しつつ、運用中のネットワークインタフェース部に障害が発生すれば待機中のネットワークインタフェースを起動し通信を継続することができる。   According to the first embodiment, the network interface in operation is reduced while reducing standby power in the standby network interface unit by controlling the state of the redundant network interface unit in conjunction with the port state of the link aggregation. If a failure occurs in the network, the standby network interface can be activated to continue communication.

実施例1に拠れば、冗長化した複数のネットワークインタフェース部と接続する複数のリンクアグリゲーションから構成されるパケット中継装置において、待機中のネットワークインタフェース部の待機電力を制御するパケット中継装置を提供することができる。   According to the first embodiment, in a packet relay device configured by a plurality of link aggregations connected to a plurality of redundant network interface units, a packet relay device for controlling standby power of a standby network interface unit is provided. Can do.

実施例2について、図9ないし図18を参照して、説明する。実施例2では、パケット中継装置10は、後述する総トラフィック量管理テーブル280、ポートトラフィック量管理テーブル300、トラフィック量の上限値管理テーブル320、およびグループ管理テーブル340を駆使し、かつリンクアグリゲーションにおけるトラフィック量の変化に連動することでポート部700およびネットワークインタフェース部40を最適な状態へ移行するよう制御する。   A second embodiment will be described with reference to FIGS. 9 to 18. In the second embodiment, the packet relay apparatus 10 uses a total traffic volume management table 280, a port traffic volume management table 300, a traffic volume upper limit management table 320, and a group management table 340, which will be described later, and traffic in link aggregation. The port unit 700 and the network interface unit 40 are controlled to shift to an optimal state by interlocking with the change in the amount.

まず、図9を参照して、実施例2の運用管理部200Aを説明する。図9において、運用管理部200Aは、リンクアグリゲーション総トラフィック量管理テーブル280と、リンクアグリゲーションポートトラフィック管理テーブル300と、リンクアグリゲーショントラフィック量上限値管理テーブル320と、ネットワークインタフェース部グループ管理テーブル340とを保持する。運用管理部200Aは、リンクアグリゲーション総トラフィック量管理テーブル280と、リンクアグリゲーションポートトラフィック管理テーブル300と、リンクアグリゲーショントラフィック量上限値管理テーブル320と、ネットワークインタフェース部グループ管理テーブル340とを参照して、トラフィック量の変化に伴って、ポート部700およびネットワークインタフェース部40のACT/SBYを切替える。   First, the operation management unit 200A according to the second embodiment will be described with reference to FIG. In FIG. 9, the operation management unit 200A holds a link aggregation total traffic volume management table 280, a link aggregation port traffic management table 300, a link aggregation traffic volume upper limit management table 320, and a network interface unit group management table 340. To do. The operation management unit 200A refers to the link aggregation total traffic volume management table 280, the link aggregation port traffic management table 300, the link aggregation traffic volume upper limit value management table 320, and the network interface unit group management table 340. As the amount changes, the ACT / SBY of the port unit 700 and the network interface unit 40 is switched.

図10を参照して、リンクアグリゲーション総トラフィック量管理テーブル280を説明する。図10において、総トラフィック量管理テーブル280は、LA番号282、ポート数284、LA総トラフィック量286、LA閾値288から構成される。   With reference to FIG. 10, the link aggregation total traffic amount management table 280 will be described. In FIG. 10, the total traffic volume management table 280 includes an LA number 282, a port number 284, an LA total traffic volume 286, and an LA threshold 288.

LA番号282は、リンクアグリゲーションを識別する値である。ポート数284は、当該リンクアグリゲーションに所属するポート数の値である。LA総トラフィック量286は、当該LA番号に所属する各ポートのトラフィック量を総計した値である。LA閾値288は、当該LA番号に対する閾値である。   The LA number 282 is a value for identifying link aggregation. The port number 284 is the value of the number of ports belonging to the link aggregation. The LA total traffic volume 286 is a total value of the traffic volume of each port belonging to the LA number. The LA threshold 288 is a threshold for the LA number.

リンクアグリゲーションのトラフィック量が増えると待機しているポート数をリンクアップしポート数を増加する必要がある。このとき、回線帯域が上限となるため、パケットの廃棄が発生する可能性が高い。そのためリンクアグリゲーションに所属するポート数の変更があっても、パケット廃棄を低減する手段として、LA閾値288を利用する。なお、LA総トラフィック量286の単位は、Mbit/secである。LA閾値288の単位は、%である。   When the traffic volume of link aggregation increases, it is necessary to link up the number of ports waiting and increase the number of ports. At this time, since the line bandwidth becomes the upper limit, there is a high possibility of packet discard. Therefore, even if the number of ports belonging to link aggregation is changed, the LA threshold 288 is used as means for reducing packet discard. The unit of the LA total traffic volume 286 is Mbit / sec. The unit of the LA threshold 288 is%.

次に図11を参照して、リンクアグリゲーションのポートトラフィック量管理テーブル300を説明する。図11において、リンクアグリゲーションのポートトラフィック量管理テーブル300は、ポート単位のトラフィック量を管理する。リンクアグリゲーションのポートトラフィック量管理テーブル300は、LA番号302、NIF番号304、ポート番号306、トラフィック量308、ポート状態310から構成される。   Next, the port traffic volume management table 300 for link aggregation will be described with reference to FIG. In FIG. 11, a link aggregation port traffic volume management table 300 manages the traffic volume in units of ports. The link aggregation port traffic volume management table 300 includes an LA number 302, an NIF number 304, a port number 306, a traffic volume 308, and a port status 310.

図12を参照して、ポート数に応じたトラフィック量の上限値管理テーブル320を説明する。図12において、トラフィック量の上限値管理テーブル320は、LA番号毎にポート数322、LA総トラフィック量の上限値324から構成される。ポート数322は、当該LAに所属し、ACT中のポート数を示す。LA総トラフィック量の上限値324は、ポート数とポート部の回線帯域と該当するLA閾値から算出する。トラフィック量の上限値管理テーブル320は、トラフィック量に基づいた最適なポート数を判断するために用いられる。
なお、図12は、LA番号1のみを記載している。
With reference to FIG. 12, the upper limit management table 320 of the traffic amount according to the number of ports will be described. In FIG. 12, the traffic volume upper limit management table 320 includes a port number 322 and an LA total traffic volume upper limit 324 for each LA number. The port number 322 indicates the number of ports belonging to the LA and in ACT. The upper limit value 324 of the LA total traffic amount is calculated from the number of ports, the line bandwidth of the port portion, and the corresponding LA threshold value. The traffic volume upper limit management table 320 is used to determine the optimum number of ports based on the traffic volume.
In FIG. 12, only LA number 1 is shown.

図13を参照して、ネットワークインタフェース部のグループ管理テーブル340を説明する。ネットワークインタフェース部のグループ管理テーブル340は、冗長化したネットワークインタフェース部の情報を管理する。図13において、ネットワークインタフェース部のグループ管理テーブル340は、NIFグループ番号342と、NIF番号344と、NIF優先度346と、LAのACTポート有無348と、NIF状態350とから構成される。NIF優先度346は、冗長化した複数のネットワークインタフェース部の優先度である。NIF優先度346は、値が小さいほど優先度が高い。   The group management table 340 of the network interface unit will be described with reference to FIG. The group management table 340 of the network interface unit manages information on the redundant network interface unit. In FIG. 13, the group management table 340 of the network interface unit includes an NIF group number 342, an NIF number 344, an NIF priority 346, an LA ACT port presence / absence 348, and an NIF state 350. The NIF priority 346 is a priority of a plurality of redundant network interface units. The NIF priority 346 has a higher priority as the value is smaller.

なお、図14のリンクアグリゲーションのポートトラフィック量管理テーブル300Aと図15のネットワークインタフェース部のグループ管理テーブル340Aは、それぞれポートトラフィック量管理テーブル300とグループ管理テーブル340の別の状態である。   The link aggregation port traffic volume management table 300A in FIG. 14 and the network interface group management table 340A in FIG. 15 are different states of the port traffic volume management table 300 and the group management table 340, respectively.

次に、図16を参照して、運用管理部200Aのポート状態とNIF状態の決定処理フローを説明する。前提として、ユーザはポート部およびネットワークインタフェース部を冗長化するために、装置のコンフィグレーションを設定する。ポート部を冗長化するリングアグリゲーションの設定には、リンクアグリゲーションを特定するLA番号、当該LA番号に所属するNIF番号とポート番号、LA総トラフィック量の閾値が必要である。LA総トラフィック量の閾値は、リンクアグリゲーションに所属するポート数の変更に伴うパケットロスを低減することが目的である。トラフィック量が増加傾向にある場合、回線帯域を上限とすると待機しているポートを稼動状態にするまでの間、パケットが廃棄する可能性がある。この状況を回避するため、回線帯域より小さい帯域を閾値として設定できるようにし、帯域に余裕を持たせた運用を可能にする。   Next, with reference to FIG. 16, a description will be given of a processing flow for determining the port state and NIF state of the operation management unit 200A. As a premise, the user sets the configuration of the device in order to make the port part and the network interface part redundant. For setting the ring aggregation for making the port part redundant, the LA number for identifying the link aggregation, the NIF number and port number belonging to the LA number, and the threshold for the total LA traffic amount are required. The purpose of the threshold of the total LA traffic volume is to reduce packet loss due to a change in the number of ports belonging to link aggregation. When the traffic volume tends to increase, if the line bandwidth is set as the upper limit, there is a possibility that packets will be discarded until the standby port is put into operation. In order to avoid this situation, a bandwidth smaller than the line bandwidth can be set as a threshold value, and operation with a sufficient bandwidth is enabled.

またネットワークインタフェース部を冗長化する設定には、ネットワークインタフェース部をグループ化して識別するNIFグループ番号、当該NIFグループ番号に所属するネットワークインタフェース部の番号であるNIF番号、およびどのネットワークインタフェース部から待機させるかを決めるNIF優先度が必要である。   In addition, for setting the network interface unit to be redundant, the NIF group number that identifies the network interface unit as a group, the NIF number that is the number of the network interface unit belonging to the NIF group number, and which network interface unit is made to wait NIF priority is required to decide whether or not.

これらのコンフィグレーション情報について、コマンド解析部100は、解析を実行する。コマンド解析部100は、解析結果を運用管理部200Aへ通知することにより、フローが開始される。運用管理部200Aは、総トラフィック量管理テーブル280、ポートトラフィック量管理テーブル300、グループ管理テーブル340へ当該情報を反映する(S201)。   The command analysis unit 100 performs analysis on these configuration information. The command analysis unit 100 starts the flow by notifying the operation management unit 200A of the analysis result. The operation management unit 200A reflects the information on the total traffic volume management table 280, the port traffic volume management table 300, and the group management table 340 (S201).

運用管理部200Aは、ポートトラフィック量管理テーブル300から、一つのLA番号に所属するポート数を計算し、総トラフィック量管理テーブル280のポート数へ記録する。運用管理部200Aは、上述した処理をLA番号数分実施する(S202)。運用管理部200Aは、LA総トラフィック量の上限算出サブルーチンを実行する(S220)。運用管理部200Aは、リターンしてきたとき一定時間経過したか判定する(S203)。YESのとき、運用管理部200Aは、収集したポート番号毎のトラフィック量をポートトラフィック量管理テーブル300へ記録する(S204)。運用管理部200Aは、各リンクアグリゲーション番号に所属するポート番号のトラフィック量の合計を総トラフィック量管理テーブル280のLA総トラフィック量へ記録する(S205)。運用管理部200Aは、ポート状態の決定サブルーチンを実行する(S240)。リターンしてきたとき、運用管理部200Aは、NIF状態の決定Aサブルーチンを実行する(S120A)。リターンしてきたとき、運用管理部200Aは、ステップ203に遷移する。   The operation management unit 200 </ b> A calculates the number of ports belonging to one LA number from the port traffic volume management table 300 and records the number of ports in the total traffic volume management table 280. The operation management unit 200A performs the above-described processing for the number of LA numbers (S202). The operation management unit 200A executes an LA total traffic volume upper limit calculation subroutine (S220). The operation management unit 200A determines whether a certain time has elapsed when returning (S203). When YES, the operation management unit 200A records the collected traffic volume for each port number in the port traffic volume management table 300 (S204). The operation management unit 200A records the total traffic volume of the port numbers belonging to each link aggregation number in the LA total traffic volume of the total traffic volume management table 280 (S205). The operation management unit 200A executes a port state determination subroutine (S240). When returning, the operation management unit 200A executes the NIF state determination A subroutine (S120A). When returning, the operation management unit 200 </ b> A transitions to step 203.

図17を参照して、LA総トラフィック量の上限値の算出サブルーチンを説明する。図17において、運用管理部200Aは、総トラフィック量管理テーブル280のポート数が0より大きいか判定する(S221)。YESのとき、運用管理部200Aは、ユーザが設定したLA閾値を基に、(式1)でポート数に応じたLA総トラフィック量の上限値を算出する。   With reference to FIG. 17, a subroutine for calculating the upper limit value of the LA total traffic amount will be described. In FIG. 17, the operation management unit 200A determines whether the number of ports in the total traffic amount management table 280 is greater than 0 (S221). When YES, the operation management unit 200A calculates the upper limit value of the LA total traffic amount according to the number of ports in (Equation 1) based on the LA threshold set by the user.

LA総トラフィック量の上限値=回線帯域×ポート数×LA閾値 …(式1)
運用管理部200Aは、トラフィック量の上限値管理テーブル320における該当するポート数に対応したLA総トラフィック量の上限値324へ算出した上限値を記録する(S222)。運用管理部200Aは、ポート数を1減らし(S223)、再度ステップ221を実行する。ステップ221でNOのとき、リターンする。なお、図示の簡便のため省いたが以上の処理を全てのLA番号分実施して、リターンする。
Upper limit value of total LA traffic volume = line bandwidth × number of ports × LA threshold value (Expression 1)
The operation management unit 200A records the calculated upper limit value to the LA total traffic volume upper limit value 324 corresponding to the corresponding number of ports in the traffic volume upper limit management table 320 (S222). The operation management unit 200A decreases the number of ports by 1 (S223), and executes Step 221 again. If NO in step 221, the process returns. Although omitted for simplicity of illustration, the above processing is performed for all the LA numbers, and the process returns.

図18を参照して、ポート部の状態の決定サブルーチンを説明する。図18において、運用管理部200Aは、リンクアグリゲーション番号毎に、総トラフィック量管理テーブル280のLA総トラフィック量がトラフィック量の上限値管理テーブル320のどのポート数になるかを計算する(S241)。なお、このポート数を最適ポート数と呼ぶ。次に、運用管理部200Aは、現在稼働中のポート数を取得する(S242)。このポート数を稼動ポート数と呼ぶ。運用管理部200Aは、稼動ポート数が最適ポート数と一致するかを判定する(S243)。一致しない場合(NO)、運用管理部200Aは、更に稼動ポート数が最適ポート数より大きいかを判定する(S244)。大きい場合(YES)、運用管理部200Aは、グループ管理テーブル340のNIF優先度が低いNIF番号上におけるポートを待機(電源オフ)させ、ポート状態をSBYとして(S245)、ステップ242に遷移する。   With reference to FIG. 18, the subroutine for determining the state of the port section will be described. In FIG. 18, the operation management unit 200A calculates, for each link aggregation number, which number of ports in the traffic volume upper limit management table 320 the LA total traffic volume of the total traffic volume management table 280 becomes (S241). This number of ports is called the optimum number of ports. Next, the operation management unit 200A acquires the number of currently operating ports (S242). This number of ports is called the number of active ports. The operation management unit 200A determines whether the number of operating ports matches the optimal number of ports (S243). If they do not match (NO), the operation management unit 200A further determines whether the number of active ports is larger than the optimum number of ports (S244). If larger (YES), the operation management unit 200A waits (powers off) the port on the NIF number with the lower NIF priority in the group management table 340, sets the port state to SBY (S245), and proceeds to step 242.

一方、ステップ244で稼動ポート数が小さい場合(NO)、運用管理部200Aは、グループ管理テーブル340のNIF優先度が高いNIF番号上におけるポートを稼動(電源オン)させ、ポート状態をACTとして(S246)、ステップ242に遷移する。ステップ242で、稼動ポート数と最適ポート数が一致する場合(YES)、運用管理部200Aは、そのままリターンする。
なお、ポート部700電源のオン/オフは、運用管理部200Aからの指示により、ハードウェア制御部500が実施する。
On the other hand, if the number of active ports is small in step 244 (NO), the operation management unit 200A operates (powers on) the port on the NIF number having a high NIF priority in the group management table 340, and sets the port state as ACT ( S246), the process proceeds to step 242. In step 242, if the number of active ports matches the optimal number of ports (YES), the operation management unit 200A returns as it is.
It should be noted that the power supply of the port unit 700 is turned on / off by the hardware control unit 500 according to an instruction from the operation management unit 200A.

図16のNIF状態の決定Aサブルーチン(S120A)は、図7のNIF状態の決定Aサブルーチン(S120)のポート管理テーブル240をポートトラフィック管理テーブル300、グループ管理テーブル260をグループ管理テーブル340と読み替えたものである。   In the NIF state determination A subroutine (S120A) of FIG. 16, the port management table 240 of the NIF state determination A subroutine (S120) of FIG. 7 is replaced with the port traffic management table 300, and the group management table 260 is replaced with the group management table 340. Is.

本実施例に拠れば、冗長化した複数のネットワークインタフェース部と接続する複数のリンクアグリゲーションから構成されるパケット中継装置において、トラフィック量の変化に応じて、待機中のネットワークインタフェース部の待機電力を制御するパケット中継装置を提供することができる。   According to this embodiment, the standby power of the standby network interface unit is controlled in accordance with the change in the traffic amount in the packet relay apparatus configured by a plurality of link aggregations connected to the plurality of redundant network interface units. A packet relay device can be provided.

実施例3について、図19ないし図27を参照して説明する。実施例3は、パケット中継装置10の運用管理部200Bは、後述するポート検査状況管理テーブル400、グループ管理テーブル420を、ハードウェア制御部500は、検査結果管理テーブル520、検査基準テーブル540を駆使し、運用系ポート部における断続的(インターミッテントと呼ぶ)な障害発生に伴う通信断時間を短縮するため、ポート部およびネットワークインタフェース部を最適な状態へ移行するよう制御する。   A third embodiment will be described with reference to FIGS. In the third embodiment, the operation management unit 200B of the packet relay apparatus 10 uses a port inspection status management table 400 and a group management table 420 described later, and the hardware control unit 500 makes full use of the inspection result management table 520 and the inspection reference table 540. In order to reduce the communication interruption time due to the occurrence of intermittent (called intermittent) failures in the operational system port unit, the port unit and the network interface unit are controlled to shift to the optimum state.

まず、図19を参照して、運用管理部200Bの詳細を説明する。図19において、運用管理部200Bは、リンクアグリゲーションポート検査状況管理テーブル400と、ネットワークインタフェース部グループ管理テーブル420とを保持する。運用管理部200Bは、リンクアグリゲーションポート検査状況管理テーブル400と、ネットワークインタフェース部グループ管理テーブル420とを参照して、リンクアグリゲーションに所属するポートの状態を判断する。   First, details of the operation management unit 200B will be described with reference to FIG. In FIG. 19, the operation management unit 200B holds a link aggregation port inspection status management table 400 and a network interface unit group management table 420. The operation management unit 200B refers to the link aggregation port inspection status management table 400 and the network interface unit group management table 420 to determine the state of the ports belonging to the link aggregation.

図20を参照して、ハードウェア制御部500の詳細を説明する。図20において、ハードウェア制御部500は、検査結果管理テーブル520、検査基準テーブル540を保持する。ハードウェア制御部500は、検査基準テーブル540を参照して、検査項目に該当するハードウェア部の状態を読み出し、状態の結果を検査結果管理テーブル520で管理する。   Details of the hardware control unit 500 will be described with reference to FIG. In FIG. 20, the hardware control unit 500 holds an inspection result management table 520 and an inspection reference table 540. The hardware control unit 500 refers to the inspection standard table 540, reads the state of the hardware unit corresponding to the inspection item, and manages the state result in the inspection result management table 520.

図21を参照して、リンクアグリゲーションのポート検査状況管理テーブル400を説明する。図21において、リンクアグリゲーションのポート検査状況管理テーブル400は、ポート毎の品質検査状況を管理する。このため、ポート検査状況管理テーブル400は、LA番号402と、NIF番号404と、ポート番号406と、ポート状態408と、検査状況410とから構成される。検査状況410は、検査の実施有無を示す「済」または「未」を記録する。   With reference to FIG. 21, the link aggregation port inspection status management table 400 will be described. In FIG. 21, a link aggregation port inspection status management table 400 manages the quality inspection status of each port. Therefore, the port inspection status management table 400 includes an LA number 402, an NIF number 404, a port number 406, a port status 408, and an inspection status 410. The inspection status 410 records “completed” or “not yet” indicating whether or not the inspection is performed.

図22を参照して、ネットワークインタフェース部のグループ管理テーブル420を説明する。図22において、ネットワークインタフェース部のグループ管理テーブル420は、冗長化したネットワークインタフェース部の情報を管理する。このため、グループ管理テーブル420は、NIFグループ番号422と、NIF番号424と、NIF優先度426と、不安定ポート有無428と、NIF状態430とから構成される。NIF優先度426は、冗長化した複数のネットワークインタフェース部の優先度を示す。不安定ポート有無428は、安定した品質を確保できないポート部があるかを示す。   The group management table 420 of the network interface unit will be described with reference to FIG. In FIG. 22, the group management table 420 of the network interface unit manages information on the redundant network interface unit. Therefore, the group management table 420 includes an NIF group number 422, an NIF number 424, an NIF priority 426, an unstable port presence / absence 428, and an NIF state 430. The NIF priority 426 indicates the priority of a plurality of redundant network interface units. The unstable port presence / absence 428 indicates whether there is a port portion that cannot ensure stable quality.

図23を参照して、検査結果管理テーブル520を説明する。図23において、検査結果管理テーブル520は、検査項目522と、実測値524と、発生回数526と、検査結果528とから構成される。検査項目522は、品質の判断に用いる。実測値524は、検査項目に対する実測した値を示す。発生回数526は、実測結果が異常と判断した回数を示す。検査結果528は、検査基準テーブル540との比較から判断した結果である。なお、図23は、NIF番号1、ポート番号1のみ記載している。   The inspection result management table 520 will be described with reference to FIG. 23, the inspection result management table 520 includes inspection items 522, actual measurement values 524, the number of occurrences 526, and inspection results 528. The inspection item 522 is used for quality determination. The actual measurement value 524 indicates the actual measurement value for the inspection item. The number of occurrences 526 indicates the number of times the actual measurement result is determined to be abnormal. The inspection result 528 is a result determined from a comparison with the inspection standard table 540. FIG. 23 shows only NIF number 1 and port number 1.

図24を参照して、検査基準テーブル540を説明する。図24において、検査基準テーブル540は、検査項目542と、正常値544と、許容発生回数546とから構成される。検査項目542は、図23の検査項目522と同様である。正常値544は、当該検査項目の正常な基準範囲を示す。許容発生回数546は、正常値の範囲外を許容できる回数示す。なお、検査項目542、正常値544、および許容発生回数546は、必要に応じてユーザがコンフィグレーション等で変更できる。   The inspection standard table 540 will be described with reference to FIG. In FIG. 24, the inspection standard table 540 includes inspection items 542, normal values 544, and allowable occurrence counts 546. The inspection item 542 is the same as the inspection item 522 in FIG. A normal value 544 indicates a normal reference range of the inspection item. The allowable number of occurrences 546 indicates the number of times that can be permitted outside the range of the normal value. Note that the inspection item 542, the normal value 544, and the allowable number of occurrences 546 can be changed by the user by configuration or the like as necessary.

図25を参照して、処理フローを説明する。図25において、前提として、ユーザは、ポート部およびネットワークインタフェース部を冗長化するために、装置のコンフィグレーションを設定する。ポート部を冗長化するリングアグリゲーションの設定には、リンクアグリゲーションを特定するLA番号、当該LA番号に所属するNIF番号とポート番号が必要である。またネットワークインタフェース部を冗長化する設定には、ネットワークインタフェース部をグループ化して識別するNIFグループ番号、当該NIFグループ番号に所属するネットワークインタフェース部の番号であるNIF番号、およびどのネットワークインタフェース部から待機させるかを決めるNIF優先度が必要である。更に必要に応じてポート部の品質を判断する検査項目と当該項目に対する正常値と許容発生回数を設定する。   The processing flow will be described with reference to FIG. In FIG. 25, as a premise, the user sets the configuration of the device in order to make the port unit and the network interface unit redundant. For setting the ring aggregation for making the port part redundant, the LA number for identifying the link aggregation, the NIF number belonging to the LA number, and the port number are required. In addition, for setting the network interface unit to be redundant, the NIF group number that identifies the network interface unit as a group, the NIF number that is the number of the network interface unit belonging to the NIF group number, and which network interface unit is made to wait NIF priority is required to decide whether or not. Further, the inspection item for judging the quality of the port part, the normal value for the item and the allowable number of occurrences are set as necessary.

これらのコンフィグレーション情報について、コマンド解析部100は、解析を実行する。コマンド解析部100は、LA番号、NIF番号、ポート番号、NIFグループ番号およびNIF優先度について、運用管理部200Bへ通知する。また、コマンド解析部100は、検査項目、正常値および許容発生回数について、ハードウェア制御部500へ通知する。これらの通知により、処理フローが開始され、運用管理部200Bおよびハードウェア制御部500は、それぞれポート検査状況管理テーブル400、グループ管理テーブル420、検査基準テーブル540へ当該情報を反映する(S301)。   The command analysis unit 100 performs analysis on these configuration information. The command analysis unit 100 notifies the operation management unit 200B about the LA number, NIF number, port number, NIF group number, and NIF priority. Further, the command analysis unit 100 notifies the hardware control unit 500 about the inspection item, normal value, and allowable number of occurrences. With these notifications, the processing flow is started, and the operation management unit 200B and the hardware control unit 500 reflect the information on the port inspection status management table 400, the group management table 420, and the inspection reference table 540, respectively (S301).

続いて運用管理部200Bは、一定時間経過したか判定する(S302)。NOのとき、運用管理部200Bは、ステップ302に戻る。ステップ302でYESのとき、運用管理部200Bは、全てのポート部に対する品質の検査サブルーチンを実行する(S320)。運用管理部200Bは、品質の検査サブルーチンからのリターン後、その検査結果に基づいてネットワークインタフェース部の状態を決定するサブルーチンを実行する(S340)。NIF状態の決定サブルーチンからのリターン後、運用管理部200Bは、ステップ302に遷移する。   Subsequently, the operation management unit 200B determines whether a certain time has elapsed (S302). If NO, the operation management unit 200B returns to Step 302. When YES in step 302, the operation management unit 200B executes a quality inspection subroutine for all the port units (S320). After returning from the quality inspection subroutine, the operation management unit 200B executes a subroutine for determining the state of the network interface unit based on the inspection result (S340). After returning from the NIF state determination subroutine, the operation management unit 200B transitions to step 302.

図26を参照して、ポート部に対する品質検査の処理フローを説明する。図26において、運用管理部200Bは、ポート検査状況管理テーブル400の検査状況410欄を全て未実施とする(S321)。運用管理部200Bは、ポート検査状況管理テーブル400とグループ管理テーブル420から、ポート番号406に対する検査状況410が未実施、かつ当該ポート番号が属するNIF状態430がACTであるかを判定する(S322)。両方の条件を満たす場合(YES)、運用管理部200Bは、ハードウェア制御部500へ当該ポート部の品質検査を依頼する。ハードウェア制御部500は、検査結果管理テーブル520の各検査項目522に該当するハードウェア情報を読み込み、当該情報を実測値524へ記録する(S323)。ハードウェア制御部500は、検査結果管理テーブル520の各検査項目522に対する実測値524が検査基準テーブル540の正常値544の範囲外であれば発生回数526を1増加する(S324)。ハードウェア制御部500は、発生回数526が許容発生回数546より大きいか判定する(S325)。YESのとき、ハードウェア制御部500は、検査結果528へ異常と記録する(S326)。   With reference to FIG. 26, the processing flow of the quality inspection for the port unit will be described. In FIG. 26, the operation management unit 200B sets all the inspection status 410 columns of the port inspection status management table 400 to be unexecuted (S321). The operation management unit 200B determines from the port inspection status management table 400 and the group management table 420 whether the inspection status 410 for the port number 406 is not executed and the NIF state 430 to which the port number belongs is ACT (S322). . When both conditions are satisfied (YES), the operation management unit 200B requests the hardware control unit 500 to inspect the quality of the port unit. The hardware control unit 500 reads hardware information corresponding to each inspection item 522 of the inspection result management table 520 and records the information in the actual measurement value 524 (S323). If the actual value 524 for each inspection item 522 in the inspection result management table 520 is outside the range of the normal value 544 in the inspection reference table 540, the hardware control unit 500 increments the number of occurrences 526 by 1 (S324). The hardware control unit 500 determines whether the number of occurrences 526 is greater than the allowable number of occurrences 546 (S325). If YES, the hardware control unit 500 records an abnormality in the inspection result 528 (S326).

ステップ325で許容発生回数以内であれば(NO)、ハードウェア制御部500は、検査結果528へ正常と記録する(S327)。ステップ326またはステップ327に続いて、ハードウェア制御部500は、検査項目522に対する検査結果528を全て確認し、一つでも異常があれば当該ポートに対する検査結果が異常であることを、全て正常であれば正常であることを運用管理部200Bへ通知する。運用管理部200Bは、受信した検査結果が異常であればポート検査状況管理テーブル400のポート状態408へ障害と記録し、検査結果が正常であればACTと記録する(S328)。最後に、運用管理部200Bは、当該ポート番号の検査状況410を済と記録する(S329)。これら一連の処理を全てのポート部に対して実施し、ポート検査状況管理テーブル400における検査状況410が全て済となったら(S322:NO)、処理を終了して、リターンする。   If it is within the allowable number of occurrences in step 325 (NO), the hardware control unit 500 records normality in the inspection result 528 (S327). Subsequent to step 326 or step 327, the hardware control unit 500 confirms all the inspection results 528 for the inspection item 522, and if there is any abnormality, it indicates that the inspection result for the port is abnormal. If there is, it notifies the operation management unit 200B that it is normal. The operation management unit 200B records a failure in the port state 408 of the port inspection status management table 400 if the received inspection result is abnormal, and records ACT if the inspection result is normal (S328). Finally, the operation management unit 200B records the inspection status 410 of the port number as completed (S329). A series of these processes are performed for all the port units, and when all the inspection statuses 410 in the port inspection status management table 400 are completed (S322: NO), the processing ends and returns.

図27を参照して、冗長化したネットワークインタフェース部40の状態を決定する処理フローについて説明する。図27において、運用管理部200Bは、ポート検査状況管理テーブル400から同一NIF番号に所属するポート番号のポート状態を確認し、障害が一つ以上あれば、グループ管理テーブル420における不安定ポート有無428へ「有」と記録する。障害が一つも無ければ、「無」と記録する(S341)。運用管理部200Bは、不安定ポート有無428に「有」があるか判定する(S342)。YESのとき、運用管理部200Bは、当該NIF番号424と同一NIFグループ番号422のNIFの内、NIF優先度426が最も高くかつNIF状態430がSBYのNIF番号424を稼動させ、当該NIF番号のNIF状態430へACTと記録する(S343)。続いて、運用管理部200Bは、障害のポート番号を含むNIFをスタンバイにするとコンフィグレーションで設定されているか判定する(S344)。YESのとき、運用管理部200Bは、当該NIF番号424をスタンバイにするようハードウェア制御部500へ命令し、NIF状態430へSBYと記録する。また当該NIF番号上の全ポート番号のポート状態408を障害以外はSBYとする(S345)。ステップ344で障害のポート番号を含むNIF番号をスタンバイにしない場合(NO)、運用管理部200Bは、処理を終了してリターンする。また、ステップ342でNOのとき、運用管理部200Bは、処理を終了してリターンする。   With reference to FIG. 27, a processing flow for determining the state of the redundant network interface unit 40 will be described. In FIG. 27, the operation management unit 200B confirms the port status of the port number belonging to the same NIF number from the port inspection status management table 400, and if there is one or more failures, the presence or absence of unstable ports 428 in the group management table 420 Record “Yes”. If there is no failure, “None” is recorded (S341). The operation management unit 200B determines whether there is “present” in the unstable port presence / absence 428 (S342). When YES, the operation management unit 200B activates the NIF number 424 having the highest NIF priority 426 and the NIF state 430 of SBY among the NIFs having the same NIF group number 422 as the NIF number 424, and ACT is recorded in the NIF state 430 (S343). Subsequently, the operation management unit 200B determines whether the NIF including the faulty port number is set in the configuration when the NIF is set to standby (S344). When YES, the operation management unit 200B instructs the hardware control unit 500 to set the NIF number 424 to standby, and records SBY in the NIF state 430. Further, the port status 408 of all the port numbers on the NIF number is set to SBY except for the failure (S345). If the NIF number including the failed port number is not set to standby in step 344 (NO), the operation management unit 200B ends the process and returns. If NO in step 342, the operation management unit 200B ends the process and returns.

本実施例に拠れば、運用系ネットワークインタフェース部のポート部において断続的なポート障害に伴う待機系ネットワークインタフェース部の起動および停止を抑止することにより通信断時間を短縮することができる。   According to this embodiment, the communication disconnection time can be shortened by suppressing the start and stop of the standby network interface unit due to the intermittent port failure in the port unit of the active network interface unit.

実施例4は、先行技術であるユーザの指定日時に動作の起動を掛けるスケジュール機能と組み合わせることにより、スケジュールで指定した日時に冗長化したネットワークインタフェース部を待機、または起動させる方法である。なお待機したネットワークインタフェース部に対しては、図8に示すステップ151からステップ155と同様に、運用系ネットワークインタフェース部に障害が発生すると、待機系ネットワークインタフェース部を起動し、通信の継続性を確保する。   The fourth embodiment is a method of waiting or starting a redundant network interface unit at a date and time specified by a schedule by combining with a schedule function that activates an operation at a user specified date and time as a prior art. For the standby network interface unit, as in the case of steps 151 to 155 shown in FIG. 8, when a failure occurs in the active network interface unit, the standby network interface unit is activated to ensure communication continuity. To do.

実施例5を、図28ないし図33を参照して説明する。実施例5は、パケット中継装置10が対向のパケット中継装置10との接続においてリンクアグリゲーションの接続状態をプロトコルで監視する構成である。ここでは、プロトコルとしてIEEE802.3adに規定されるLACP(Link Aggregation Control Protocol)を使用する。   A fifth embodiment will be described with reference to FIGS. The fifth embodiment has a configuration in which the packet relay device 10 monitors the connection state of the link aggregation using a protocol in connection with the opposite packet relay device 10. Here, LACP (Link Aggregation Control Protocol) defined in IEEE802.3ad is used as a protocol.

図28を参照して、実施例5の運用管理部200Cを説明する。図28において、パケット中継装置10の運用管理部200Cは、リンクアグリゲーショングループ管理テーブル220と、リンクアグリゲーションポート管理テーブル240と、ネットワークインタフェース部グループ管理テーブル260と、リンクアグリゲーション状態管理テーブル380とを含む。運用管理部200Cは、これらのテーブル220、240、260、380を使用し、リンクアグリゲーションのポート状態およびLACPの状態に連動して、ネットワークインタフェース部40の電源を制御する。   With reference to FIG. 28, the operation management unit 200C of the fifth embodiment will be described. In FIG. 28, the operation management unit 200C of the packet relay apparatus 10 includes a link aggregation group management table 220, a link aggregation port management table 240, a network interface unit group management table 260, and a link aggregation state management table 380. The operation management unit 200C uses these tables 220, 240, 260, and 380 to control the power supply of the network interface unit 40 in conjunction with the link aggregation port state and LACP state.

図29を参照して、リンクアグリゲーション状態管理テーブル380を説明する。図29において、リンクアグリゲーション状態管理テーブル380は、NIF番号382と、ポート番号384と、LACP状態386とから構成される。LACP状態386は、パケット中継装置10と対向装置とのリンク接続状態を示す。LACP状態386は、パケット通信が可能であることを示す「確立」とパケット通信ができないことを示す「未確立」という値を取る。   The link aggregation state management table 380 will be described with reference to FIG. In FIG. 29, the link aggregation state management table 380 includes an NIF number 382, a port number 384, and an LACP state 386. The LACP state 386 indicates a link connection state between the packet relay device 10 and the opposite device. The LACP state 386 takes values of “established” indicating that packet communication is possible and “not established” indicating that packet communication is not possible.

ユーザは、ポート部700およびネットワークインタフェース部40を冗長化するために、事前にパケット中継装置10のコンフィグレーションを設定する。ポート部700を冗長化するリングアグリゲーションには、LA番号、当該LA番号に所属するNIF番号とポート番号、最大稼動ポート数、LA優先度、LACPモードの設定が必要である。   In order to make the port unit 700 and the network interface unit 40 redundant, the user sets the configuration of the packet relay device 10 in advance. The ring aggregation for making the port unit 700 redundant requires setting of the LA number, the NIF number and port number belonging to the LA number, the maximum number of operating ports, the LA priority, and the LACP mode.

ここで、LA番号は、リンクアグリゲーションを特定する。最大稼動ポート数は、LA番号に所属するポート部の内最大何個のポート部を使用するかである。LA優先度は、どのポート部を待機させるかを決める。LACPモードは、「ACTIVEモード」または「PASSIVEモード」である。ACTIVEモードは、対向装置の状態に関係なくLACPDUを送信する。PASSIVEモードは、対向装置からLACPDUを受信したときだけLACPDUを送信する。   Here, the LA number specifies link aggregation. The maximum number of operating ports is the maximum number of port parts that belong to the LA number. The LA priority determines which port part is made to wait. The LACP mode is “ACTIVE mode” or “PASSIVE mode”. In the ACTIVE mode, LACPDU is transmitted regardless of the state of the opposite device. In the PASSIVE mode, the LACPDU is transmitted only when the LACPDU is received from the opposite device.

なお、リンクアグリゲーションが複数ある場合、各リンクアグリゲーション間でLA優先度を特定のネットワークインタフェース部40に一致させることで、より効果を発揮する。また、ネットワークインタフェース部40を冗長化する設定には、ネットワークインタフェース部をグループ化して識別するNIFグループ番号、および当該NIFグループ番号に所属するネットワークインタフェース部の番号であるNIF番号が必要である。   In addition, when there are a plurality of link aggregations, it is more effective to match the LA priority with a specific network interface unit 40 between the link aggregations. Further, the setting for making the network interface unit 40 redundant requires an NIF group number for grouping and identifying the network interface units, and an NIF number that is the number of the network interface unit belonging to the NIF group number.

これらのコンフィグレーション情報について、コマンド解析部100は、解析を実施する。コマンド解析部100は、解析結果を運用管理部200Cへ通知する。この結果、運用管理部200Cは、図30の処理シーケンスを開始する。   The command analysis unit 100 analyzes the configuration information. The command analysis unit 100 notifies the operation management unit 200C of the analysis result. As a result, the operation management unit 200C starts the processing sequence of FIG.

図30において、運用管理部200Cは、グループ管理テーブル220、ポート管理テーブル240、グループ管理テーブル260へ当該情報を反映する(S101A)。運用管理部200Cは、ポート管理テーブル240から、一つのLA番号に所属するポート数を計算し、グループ管理テーブル220のポート数224へ記録する。運用管理部200Cは、上述した処理をLA番号数分実施する(S102A)。   In FIG. 30, the operation management unit 200C reflects the information on the group management table 220, the port management table 240, and the group management table 260 (S101A). The operation management unit 200C calculates the number of ports belonging to one LA number from the port management table 240 and records it in the number of ports 224 of the group management table 220. The operation management unit 200C performs the above-described processing for the number of LA numbers (S102A).

運用管理部200Cは、グループ管理テーブル220からリンクアグリゲーションに所属するポート部の内、スタンバイスタンバイリンクの数を計算して、全ての待機ポート数を調べたか判定する(S103A)。YESのとき、運用管理部200Cは、NIF状態の決定Cのサブルーチンにジャンプして、リターン後、終了する。   The operation management unit 200C calculates the number of standby standby links among the port units belonging to the link aggregation from the group management table 220, and determines whether all the standby port numbers have been checked (S103A). If YES, the operation management unit 200C jumps to the NIF state determination C subroutine, and ends after returning.

ステップ103AでNOのとき、運用管理部200Cは、グループ管理テーブル220から、LA番号毎に「ポート数−稼動ポート数>0」であるかを判定する(S104A)。YESのとき、運用管理部200Cは、ポート管理テーブル240において、当該LA番号に所属するポート番号のLA優先度が大きい数値を低優先と判断し、当該ポート番号のポート状態をスタンバイ(ポートの電源オフ)とする。運用管理部200Cは、ハードウェア制御部500へ当該ポート番号をスタンバイにするよう命令し、ハードウェア制御部500が該当するポート部の電源を抑止する(S105A)。一方、ステップ104Aが非該当(NO)の場合、ポート管理テーブル240において、当該LA番号に所属するポート番号のポート状態をACT(リンクアップ)として(S106A)、ステップ103Aに遷移する。   When NO in step 103A, the operation management unit 200C determines whether “number of ports−number of active ports> 0” for each LA number from the group management table 220 (S104A). When YES, the operation management unit 200C determines in the port management table 240 that a numerical value with a large LA priority of the port number belonging to the LA number is low priority, and sets the port state of the port number to standby (port power supply). Off). The operation management unit 200C instructs the hardware control unit 500 to set the port number to standby, and the hardware control unit 500 suppresses the power supply of the corresponding port unit (S105A). On the other hand, if step 104A is not applicable (NO), the port status of the port number belonging to the LA number is set to ACT (link up) in the port management table 240 (S106A), and the process proceeds to step 103A.

リンクアグリゲーションの構成に基づいてポート状態を更新したあと、運用管理部200Cは、冗長化したネットワークインタフェース部40の状態を更新する(S400)。図31を参照してこの処理を説明する。   After updating the port state based on the configuration of the link aggregation, the operation management unit 200C updates the state of the redundant network interface unit 40 (S400). This process will be described with reference to FIG.

図31において、運用管理部200Cは、ポート管理テーブル240を参照して、同一NIF番号に所属するポート番号のポート状態を確認し、ACTが一つ以上あれば、グループ管理テーブル260におけるLAのACTポート有無へ「有」と記録する。ACTが一つも無ければ、「無」と記録する。(S401)
運用管理部200Cは、グループ管理テーブル260について、全てのNIFグループ番号に属するLAのACTポート有無を調べたか判定する(S402)。YESのとき、運用管理部200Cは、リターンする。
In FIG. 31, the operation management unit 200C refers to the port management table 240 to check the port state of the port number belonging to the same NIF number. If there is one or more ACTs, the LA ACT in the group management table 260 is checked. Record “Yes” in the presence of port. If there is no ACT, “None” is recorded. (S401)
The operation management unit 200C determines whether the group management table 260 has been checked for the presence or absence of the ACT port of the LA belonging to all NIF group numbers (S402). If YES, the operation management unit 200C returns.

ステップ402でNOのとき、LAのACTポートが「有」か判定する(S403)。YESのとき、運用管理部200Cは、当該NIFを稼動状態とし、NIF状態にACTを記録して(S404)、ステップ402に遷移する。具体的には、当該NIF番号のNIF状態をSBYからACTへ変更する場合、運用管理部200Cは、ハードウェア制御部500へ当該NIFを起動するように命令する。そしてグループ管理テーブル260のNIF状態268へACTと記録する。なお、NIF状態が既にACTの場合は、特に何もしない。   If NO in step 402, it is determined whether the LA ACT port is “present” (S403). If YES, the operation management unit 200C sets the NIF in the operating state, records ACT in the NIF state (S404), and proceeds to step 402. Specifically, when the NIF state of the NIF number is changed from SBY to ACT, the operation management unit 200C instructs the hardware control unit 500 to activate the NIF. Then, ACT is recorded in the NIF state 268 of the group management table 260. If the NIF state is already ACT, nothing is done.

一方、ステップ403でLAのACTポートが「無」の場合(S403:NO)、運用管理部200Cは、LACP状態を確認するLACP状態確認のサブルーチンを呼び出す(S410)。リターン後、運用管理部200Cは、LACP状態が確立か判定する(S405)。YESのとき、運用管理部200Cは、当該NIFをスタンバイ(NIFの電源オフ)とし、NIF状態にSBYを記録して(S406)、ステップ402に遷移する。具体的には、当該NIF番号のNIF状態をACTからSBYへ変更する場合、運用管理部200は、ハードウェア制御部500へ当該NIF番号の電源を停止するように命令する。そしてグループ管理テーブル260のNIF状態268へSBYと記録する。なおNIF状態が既にSBYの場合は、特に何もしない。ステップ405で、LACP状態が確立していない場合(S405:NO)、運用管理部200Cは、ステップ402に遷移する。   On the other hand, if the LA ACT port is “None” in step 403 (S403: NO), the operation management unit 200C calls a LACP state confirmation subroutine for confirming the LACP state (S410). After the return, the operation management unit 200C determines whether the LACP state is established (S405). When YES, the operation management unit 200C sets the NIF in standby (NIF power off), records SBY in the NIF state (S406), and proceeds to step 402. Specifically, when changing the NIF state of the NIF number from ACT to SBY, the operation management unit 200 instructs the hardware control unit 500 to stop the power supply of the NIF number. Then, SBY is recorded in the NIF state 268 of the group management table 260. If the NIF state is already SBY, nothing is done. If the LACP state is not established in step 405 (S405: NO), the operation management unit 200C transitions to step 402.

LACPを使用して対向装置とのリンク状態を監視している場合、LACPが確立していないとポートはACT(リンクアップ)であってもパケット通信ができない状態になる。図32を参照して、このような状態を回避するLACP状態確認処理を説明する。   When the link state with the opposite device is monitored using LACP, if LACP is not established, the port is in a state where packet communication cannot be performed even if the port is ACT (link up). With reference to FIG. 32, the LACP state confirmation process for avoiding such a state will be described.

図32において、運用管理部200Cは、ネットワークインタフェース部グループ管理テーブル260において、SBYに変更予定のNIF番号と同じNIFグループ番号に所属するNIF番号のLACP状態を全て調べる(S411)。ステップ411がYESのとき、運用管理部200Cは、LACP状態を確立として(S412)、リターンする。   In FIG. 32, the operation management unit 200C checks all the LACP states of NIF numbers belonging to the same NIF group number as the NIF number scheduled to be changed to SBY in the network interface unit group management table 260 (S411). When step 411 is YES, the operation management unit 200C establishes the LACP state (S412) and returns.

一方、ステップ411がNOのとき、運用管理部200Cは、ネットワークインタフェース部グループ管理テーブル260から、当該NIFグループ番号内にSBY予定のNIF以外にNIF状態がACTであるNIFがあるかを調べる(S413)。YESのとき、運用管理部200Cは、各NIF番号のNIF状態を確認する(S414)。ステップ414がYESのとき、運用管理部200Cは、リンクアグリゲーションポート管理テーブル240において、当該NIF番号に所属するポート状態がACTのポート番号を探索した後、リンクアグリゲーション状態管理テーブル380における当該NIF番号とポート番号に対応するLACP状態を確認する(S415)。LACP状態が確立のとき(S416:YES)、運用管理部200Cは、ステップ411に遷移する。ステップ416がNOのとき、運用管理部200Cは、LACP状態を未確立として(S417)、リターンする。またステップ413がNOのとき、運用管理部200Cは、ステップ417に遷移する。ステップ414がNOのとき、運用管理部200Cは、ステップ414へ遷移する。   On the other hand, when step 411 is NO, the operation management unit 200C checks whether there is an NIF whose NIF state is ACT in the NIF group number other than the NBY scheduled NIF from the network interface unit group management table 260 (S413). ). When YES, the operation management unit 200C confirms the NIF state of each NIF number (S414). When step 414 is YES, the operation management unit 200 </ b> C searches the link aggregation port management table 240 for the port number of the ACT whose port status belongs to the NIF number, and then the NIF number in the link aggregation status management table 380. The LACP state corresponding to the port number is confirmed (S415). When the LACP state is established (S416: YES), the operation management unit 200C makes a transition to Step 411. When step 416 is NO, the operation management unit 200C determines that the LACP state is not established (S417), and returns. When step 413 is NO, the operation management unit 200C transitions to step 417. When step 414 is NO, the operation management unit 200C transitions to step 414.

図33を参照して、パケット中継装置10が対向装置からLACPDUを受信したときの処理を説明する。図33において、運用管理部200Cは、LACPDUを受信したNIF番号とポート番号に該当する、リンクアグリゲーション状態管理テーブル380のLACP状態を確立に設定する(S420)。運用管理部200Cは、LACP状態を未確立から確立へ変更したかを確認する(S421)。YESのとき、運用管理部200Cは、NIF状態の決定Cサブルーチンを実行して(S400)、リターン後、終了する。ステップ421がNOのとき、運用管理部200Cは、そのまま処理を終了する。   With reference to FIG. 33, processing when the packet relay apparatus 10 receives a LACPDU from the opposite apparatus will be described. In FIG. 33, the operation management unit 200C sets the LACP state of the link aggregation state management table 380 corresponding to the NIF number and port number that received the LACPDU to establishment (S420). The operation management unit 200C confirms whether the LACP state has been changed from unestablished to established (S421). When YES, the operation management unit 200C executes the NIF state determination C subroutine (S400), and ends after returning. When step 421 is NO, the operation management unit 200C ends the process as it is.

本実施例に拠れば、冗長化したネットワークインタフェース部を跨ぐリンクアグリゲーションにてLACPを使用する場合、運用系ネットワークインタフェース部においてLACPを確立していて通信の継続性を保証した上で、待機させるネットワークインタフェース部の電源を停止して省電力化を可能にする。本実施例に拠れば、運用系ネットワークインタフェース部におけるリンクアップ契機だけで、待機系にする通信に使用のネットワークインタフェース部の電源を停止すると通信断となる場合を回避することができる。   According to the present embodiment, when LACP is used in link aggregation across redundant network interface units, a network that waits after establishing LACP in the operational network interface unit to guarantee continuity of communication. The power supply for the interface unit is stopped to save power. According to the present embodiment, it is possible to avoid a case where communication is interrupted when the power supply of the network interface unit used for communication in the standby system is stopped only by the link up trigger in the active network interface unit.

実施例6について、図34ないし図39を参照して、説明する。実施例6において、パケット中継装置10の運用管理部200Dは、リンクアグリゲーションポート管理テーブル240A、ネットワークインタフェース部障害基準テーブル440、ネットワークインタフェース部グループ管理テーブル460を駆使し、運用系ネットワークインタフェース部およびポート部における障害の発生状況に応じて、待機系ネットワークインタフェース部の電源を停止しない制御を実行する。   Example 6 will be described with reference to FIGS. 34 to 39. FIG. In the sixth embodiment, the operation management unit 200D of the packet relay apparatus 10 makes full use of the link aggregation port management table 240A, the network interface unit failure criterion table 440, and the network interface unit group management table 460, and the active network interface unit and port unit. In accordance with the state of occurrence of the failure in the network, control is performed without stopping the power supply of the standby network interface unit.

まず、図34を参照して、運用管理部200Dを説明する。図34において、運用管理部200Dは、リンクアグリゲーションポート管理テーブル240Aと、ネットワークインタフェース部障害基準テーブル440と、ネットワークインタフェース部グループ管理テーブル460とを保持する。運用管理部200Dは、リンクアグリゲーションポート管理テーブル240Aと、ネットワークインタフェース部グループ管理テーブル460とを参照して、リンクアグリゲーションに所属するポートの状態、およびポートが所属するネットワークインタフェース部の状態を判断する。   First, the operation management unit 200D will be described with reference to FIG. In FIG. 34, the operation management unit 200D holds a link aggregation port management table 240A, a network interface unit failure criterion table 440, and a network interface unit group management table 460. The operation management unit 200D refers to the link aggregation port management table 240A and the network interface unit group management table 460 to determine the state of the port belonging to the link aggregation and the state of the network interface unit to which the port belongs.

図35を参照して、リンクアグリゲーションポート管理テーブル240Aを説明する。図35において、リンクアグリゲーションポート管理テーブル240Aは、LA番号242Aと、NIF番号244Aと、ポート番号246Aと、LA優先度248Aと、ポート状態250Aとから構成される。各項目は図4で説明したものと同様である。図4との違いはポート状態250Aだけである。   The link aggregation port management table 240A will be described with reference to FIG. In FIG. 35, the link aggregation port management table 240A includes an LA number 242A, an NIF number 244A, a port number 246A, an LA priority 248A, and a port state 250A. Each item is the same as that described in FIG. The only difference from FIG. 4 is the port state 250A.

図36を参照して、ネットワークインタフェース部の障害基準管理テーブル440を説明する。図36にいて、ネットワークインタフェース部障害基準管理テーブル440は、NIF障害時の対応基準を管理する。このため、ネットワークインタフェース部障害基準管理テーブル440は、リトライ回数442と、NIF障害許容発生回数444とから構成される。リトライ回数442は、NIFに対する障害発生時の復旧策としてNIFの再起動処理(以降、リトライと呼ぶ)を最大何回まで実施するかを規定する。NIF障害許容発生回数444は、NIF障害を何回まで許容するかを規定する。   The failure criterion management table 440 of the network interface unit will be described with reference to FIG. In FIG. 36, the network interface unit failure criterion management table 440 manages the response criterion at the time of NIF failure. For this reason, the network interface unit failure criterion management table 440 includes a retry count 442 and an NIF failure allowable occurrence count 444. The retry count 442 specifies how many times the NIF restart process (hereinafter referred to as retry) is performed as a recovery measure when a failure occurs in the NIF. The NIF failure allowable occurrence count 444 defines how many NIF failures are allowed.

図37を参照して、ネットワークインタフェース部のグループ管理テーブル460を説明する。図37において、ネットワークインタフェース部のグループ管理テーブル460は、冗長化したネットワークインタフェース部の情報を管理する。このため、グループ管理テーブル460は、NIFグループ番号462と、NIF番号464と、NIF優先度466と、NIF状態468と、NIF障害回数470と、NIF障害472とから構成される。   The group management table 460 of the network interface unit will be described with reference to FIG. In FIG. 37, the group management table 460 of the network interface unit manages information on the redundant network interface unit. Therefore, the group management table 460 includes an NIF group number 462, an NIF number 464, an NIF priority 466, an NIF state 468, the number of NIF failures 470, and an NIF failure 472.

NIF優先度426は、冗長化した複数のネットワークインタフェース部の優先度を示す。NIF障害回数470は、NIF障害の回数を示す項目で、リトライ回数442に示す回数を実施しても障害が回復しなかったときNIF障害と判断して当該NIF障害回数470の回数を増加する。NIF障害472は、NIF障害回数470がNIF障害許容発生回数444を上回ったかを管理する項目である。NIF障害472は、NIF障害回数470がNIF障害許容発生回数444を上回った場合、「1」を記録する。   The NIF priority 426 indicates the priority of a plurality of redundant network interface units. The NIF failure frequency 470 is an item indicating the number of NIF failures. When the failure is not recovered even if the number of times indicated in the retry count 442 is implemented, the NIF failure frequency 470 is determined as an NIF failure and the number of NIF failure times 470 is increased. The NIF failure 472 is an item for managing whether the NIF failure frequency 470 exceeds the NIF failure allowable frequency 444. The NIF failure 472 records “1” when the NIF failure frequency 470 exceeds the NIF failure allowable frequency 444.

図38を参照して、運用管理部200DのNIFの障害復旧に伴う冗長化NIFの制御処理フローを説明する。図38において、前提として、ユーザは、ポート部およびネットワークインタフェース部を冗長化するために、装置のコンフィグレーションを設定する。ポート部を冗長化するリングアグリゲーションの設定には、LA番号、当該LA番号に所属するNIF番号とポート番号、またLACPを使用する場合はLACPモードの特定が必要である。   With reference to FIG. 38, a control processing flow of the redundant NIF accompanying the NIF failure recovery of the operation management unit 200D will be described. In FIG. 38, as a premise, the user sets the configuration of the device in order to make the port unit and the network interface unit redundant. For setting ring aggregation for making the port part redundant, it is necessary to specify the LA number, the NIF number and port number belonging to the LA number, and the LACP mode when LACP is used.

ここで、LA番号は、リンクアグリゲーションを特定する。LACPモードは、ACTIVEモードまたはPASSIVEモードかのどちらかを指定する。ACTIVEモードは、対向装置の状態に関係なくLACPDUを送信する。PASSIVEモードは、対向装置からLACPDUを受信したときだけLACPDUを送信する。   Here, the LA number specifies link aggregation. The LACP mode specifies either the ACTIVE mode or the PASSIVE mode. In the ACTIVE mode, LACPDU is transmitted regardless of the state of the opposite device. In the PASSIVE mode, the LACPDU is transmitted only when the LACPDU is received from the opposite device.

また、ネットワークインタフェース部を冗長化する設定には、NIFグループ番号、NIF番号、NIF優先度、最大稼動NIF数が必要である。   In addition, the NIF group number, the NIF number, the NIF priority, and the maximum number of operating NIFs are required for setting the network interface unit to be redundant.

NIFグループ番号は、ネットワークインタフェース部をグループ化して識別する。NIF番号は、当該NIFグループ番号に所属するネットワークインタフェース部の番号である。NIF優先度は、どのネットワークインタフェース部から待機させるかを決める。最大稼動NIF数は、グループ化した複数のネットワークインタフェース部を最大何枚稼動させるかを決める。
さらに、必要に応じてネットワークインタフェース部の障害基準を決めるNIF障害リトライ回数とNIF障害許容発生回数を設定する。
The NIF group number identifies the network interface unit as a group. The NIF number is the number of the network interface unit belonging to the NIF group number. The NIF priority determines from which network interface unit to wait. The maximum number of operating NIFs determines the maximum number of grouped network interface units to operate.
Furthermore, the number of NIF failure retries and the allowable number of NIF failures that determine the failure criteria of the network interface unit are set as necessary.

これらのコンフィグレーション情報について、コマンド解析部100は、解析を実行する。コマンド解析部100は、LA番号、NIF番号、ポート番号、LACPモード、NIFグループ番号、NIF優先度、最大稼動NIF数、NIF障害リトライ回数およびNIF障害許容発生回数について、運用管理部200Dへ通知する。これらの通知により、図38の処理フローが開始される。図38において、運用管理部200Dは、リンクアグリゲーションポート管理テーブル240A、ネットワークインタフェース部障害基準テーブル440、およびネットワークインタフェース部グループ管理テーブル460へ当該情報を反映する(S450)。   The command analysis unit 100 performs analysis on these configuration information. The command analysis unit 100 notifies the operation management unit 200D of the LA number, NIF number, port number, LACP mode, NIF group number, NIF priority, maximum number of active NIFs, NIF failure retry count, and NIF failure allowable occurrence count. . With these notifications, the processing flow of FIG. 38 is started. In FIG. 38, the operation management unit 200D reflects the information on the link aggregation port management table 240A, the network interface unit failure criterion table 440, and the network interface unit group management table 460 (S450).

続いて運用管理部200Dは、障害となったNIFが復旧したかを監視する(S451)。NOのとき、運用管理部200Dは、ステップ451に戻る。なお当該ステップ451は、一定時間の周期処理やハードウェア制御部500からの割り込み通知などで実現する。ステップ451でYESのとき、運用管理部200Dは、ネットワークインタフェース部の状態を決定するサブルーチンを実行する(S460)。NIF状態の決定サブルーチンからのリターン後、運用管理部200Dは、ステップ460に遷移する。   Subsequently, the operation management unit 200D monitors whether the failed NIF has been recovered (S451). When NO, the operation management unit 200D returns to Step 451. Note that the step 451 is realized by periodic processing for a fixed time, interrupt notification from the hardware control unit 500, or the like. When YES in step 451, the operation management unit 200D executes a subroutine for determining the state of the network interface unit (S460). After returning from the NIF state determination subroutine, the operation management unit 200D proceeds to step 460.

図39を参照して、冗長化したネットワークインタフェース部40の状態を決定する処理フローについて説明する。図39において、運用管理部200Dは、ネットワークインタフェース部グループ管理テーブル460から復旧したNIF番号464が所属するNIFグループ番号462の中でNIF障害回数470がNIF障害許容発生回数444を上回ったNIF番号464に対してNIF障害472へ「1」を記録する(S461)。運用管理部200Dは、NIF状態468がACTであるNIF数を数え、ACTのNIF数が最大稼動NIF数より大きいかを比較する(S462)。YESのとき、運用管理部200Dは、NIF状態468がACTのNIF番号464の内、NIF障害472が「1」である数をERR_NIF_NUMへ代入する(S463)。運用管理部200Dは、ERR_NIF_NUMが0より大きいか判定する(S464)。YESのとき、運用管理部200Dは、ACTのNIF数とERR_NIF_NUMの差が最大稼動NIF数より大きいか判定する(S465)。差が0より大きいとき(S465:YES)、運用管理部200Dは、NIF障害474が「1」以外のNIFの中でNIF優先度466が最も低いNIFを待機させ、当該NIF番号464のNIF状態468をSBYと記録し、リターンする。ステップ465がNOのとき、運用管理部200Dは、そのままリターンする。   With reference to FIG. 39, a processing flow for determining the state of the redundant network interface unit 40 will be described. 39, the operation management unit 200D determines that the NIF number 464 in which the number of NIF failures 470 exceeds the number of allowable NIF failures 444 in the NIF group number 462 to which the NIF number 464 restored from the network interface unit group management table 460 belongs. In response to this, “1” is recorded in the NIF failure 472 (S461). The operation management unit 200D counts the number of NIFs whose NIF state 468 is ACT and compares whether the number of NIFs in ACT is larger than the maximum number of active NIFs (S462). When the result is YES, the operation management unit 200D substitutes the number in which the NIF failure 472 is “1” in the NIF number 464 of the ACT in the NIF state 468 into ERR_NIF_NUM (S463). The operation management unit 200D determines whether ERR_NIF_NUM is greater than 0 (S464). If YES, the operation management unit 200D determines whether the difference between the ACT NIF number and the ERR_NIF_NUM is larger than the maximum operating NIF number (S465). When the difference is larger than 0 (S465: YES), the operation management unit 200D waits for the NIF having the lowest NIF priority 466 among the NIFs other than the NIF failure 474 of “1”, and the NIF state of the NIF number 464 Record 468 as SBY and return. When step 465 is NO, the operation management unit 200D returns as it is.

ステップ462がNOのとき、運用管理部200Dは、ACTのNIF数が最大稼動NIF数より小さいか判定する(S467)。YESのとき、運用管理部200Dは、同一NIFグループ番号462のNIF番号464の中で、NIF状態468がSBYかつNIF障害472が「1」以外のNIFがあれば、SBYのNIF番号464の中でNIF優先度466が最も高い(数字が最も小さい)NIF番号464を稼動させ、当該NIF番号464のNIF状態468へACTと記録し(S468)、リターンする。ステップ467がNOのとき、運用管理部200Dは、何もせずにリターンする。   When step 462 is NO, the operation management unit 200D determines whether the ACT NIF number is smaller than the maximum operating NIF number (S467). When YES, the operation management unit 200D determines that the NIF number 464 of the same NIF group number 462 has an NIF state 468 other than SBY and the NIF failure 472 has a NIF other than “1”. Then, the NIF number 464 having the highest NIF priority 466 (the smallest number) is activated, ACT is recorded in the NIF state 468 of the NIF number 464 (S468), and the process returns. When step 467 is NO, the operation management unit 200D returns without doing anything.

またステップ464がNOのとき、運用管理部200Dは、NIF状態468がACTのNIF番号464の内、NIF優先度466が最も小さいNIFを待機させ、当該NIF番号464のNIF状態468へSBYと記録し(S469)、リターンする。   When step 464 is NO, the operation management unit 200D waits for the NIF having the lowest NIF priority 466 in the NIF number 464 of the ACT in the NIF state 468, and records SBY in the NIF state 468 of the NIF number 464. (S469) and return.

本実施例に拠れば、指定したNIF障害許容回数を超えたネットワークインタフェース部を、稼動するネットワークインタフェース部と扱わないことで、当該ネットワークインタフェース部にインターミッテントな障害が発生しても省電力化を実現しつつ通信断時間を短縮することができる。   According to this embodiment, a network interface unit that exceeds the specified allowable number of NIF failures is not treated as a working network interface unit, so that power is saved even if an intermittent failure occurs in the network interface unit. The communication interruption time can be shortened while realizing the above.

なお実施例3で示したポート部におけるインターミッテントな障害発生への対処フローから、ポート部の障害が指定した許容回数を超えたときNIF障害とすることで、実施例5と組み合わせることができる。   In addition, it can be combined with the fifth embodiment by setting the NIF failure when the failure of the port section exceeds the specified allowable number of times from the handling flow for the occurrence of an intermittent failure in the port section shown in the third embodiment. .

10…パケット中継装置、20…装置制御部、30…パケット転送部、40…ネットワークインタフェース部、50…ネットワーク、100…コマンド解析部、200…運用管理部、220…リンクアグリゲーショングループ管理テーブル、240…リンクアグリゲーションポート管理テーブル、260…ネットワークインタフェース部グループ管理テーブル、280…リンクアグリゲーション総トラフィック量管理テーブル、300…リンクアグリゲーションポートトラフィック量管理テーブル、320…リンクアグリゲーショングループ総トラフィック量上限値管理テーブル、340…ネットワークインタフェース部グループ管理テーブル、380…リンクアグリゲーション状態管理テーブル、400…ポート検査状況管理テーブル、420…ネットワークインタフェース部グループ管理テーブル、440…ネットワークインタフェース部障害基準テーブル、460…ネットワークインタフェース部グループ管理テーブル、500…ハードウェア制御部、520…検査結果管理テーブル、540…検査基準テーブル、700…ポート部。   DESCRIPTION OF SYMBOLS 10 ... Packet relay apparatus, 20 ... Device control part, 30 ... Packet transfer part, 40 ... Network interface part, 50 ... Network, 100 ... Command analysis part, 200 ... Operation management part, 220 ... Link aggregation group management table, 240 ... Link aggregation port management table, 260 ... Network interface unit group management table, 280 ... Link aggregation total traffic volume management table, 300 ... Link aggregation port traffic volume management table, 320 ... Link aggregation group total traffic volume upper limit management table, 340 ... Network interface unit group management table, 380... Link aggregation status management table, 400... Port inspection status management table, 4 DESCRIPTION OF SYMBOLS 0 ... Network interface part group management table, 440 ... Network interface part failure standard table, 460 ... Network interface part group management table, 500 ... Hardware control part, 520 ... Inspection result management table, 540 ... Inspection standard table, 700 ... Port Department.

Claims (10)

パケット中継装置であって、
冗長化した複数の制御部と、
冗長化した複数のパケット転送部と、
前記パケット転送部の少なくとも一に接続される冗長化した複数のネットワークインタフェース部と、を備え、
前記パケット転送部は、前記複数のネットワークインタフェース部のいずれかを介して受信したパケットのヘッダ情報から中継先を決定し、前記複数のネットワークインタフェース部のいずれかへ前記パケットを転送し、
前記ネットワークインタフェース部それぞれはそれぞれ複数のポートを有し、
冗長化した複数のネットワークインタフェース部のうち少なくとも一のネットワークインタフェース部は、前記複数のポートの状況に基づいて待機中に設定される、ことを特徴とするパケット中継装置。
A packet relay device,
A plurality of redundant control units;
A plurality of redundant packet transfer units;
A plurality of redundant network interface units connected to at least one of the packet transfer units,
The packet transfer unit determines a relay destination from header information of a packet received via any of the plurality of network interface units, and transfers the packet to any of the plurality of network interface units;
Each of the network interface units has a plurality of ports,
A packet relay device, wherein at least one network interface unit among a plurality of redundant network interface units is set in a standby state based on the status of the plurality of ports.
請求項1記載のパケット中継装置であって、
前記ネットワークインタフェース部が有する複数のポートの状況それぞれが待機中である場合に、前記ネットワークインタフェース部は待機中に設定される、ことを特徴とする
The packet relay device according to claim 1,
The network interface unit is set to be in a standby state when each of a plurality of port states of the network interface unit is in a standby state.
請求項1記載のパケット中継装置であって、
冗長化した異なるネットワークインタフェース部が有する複数のポートにより一つの仮想的な回線として扱うリンクアグリゲーションを外部に提供し、
前記制御部は、リンクアグリゲーションを構成するポートのうち待機させるポートを決定し、前記ポートの状況に基づいて冗長化した各ネットワークインタフェース部に所属する運用中のポートの有無を判定し、第1のネットワークインタフェース部に運用中のポートが無いとき、前記第1のネットワークインタフェース部を待機中に設定する、ことを特徴とするパケット中継装置。
The packet relay device according to claim 1,
Provide link aggregation to be handled as one virtual line by multiple ports of different network interface units made redundant,
The control unit determines a port to be waited among the ports constituting the link aggregation, determines whether there is an operating port belonging to each redundant network interface unit based on the status of the port, and A packet relay device, wherein when there is no port in operation in the network interface unit, the first network interface unit is set to standby.
請求項1ないし請求項3のいずれか一に記載のパケット中継装置であって、
前記制御部は、待機中に設定された前記第一のネットワークインタフェース部を所定の条件で起動させる、ことを特徴とする、パケット中継装置。
The packet relay device according to any one of claims 1 to 3,
The packet relay device, wherein the control unit activates the first network interface unit set during standby under a predetermined condition.
請求項1ないし請求項4のいずれか一に記載のパケット中継装置であって、
前記制御部は、冗長化したネットワークインタフェース部の起動および停止を指定した日時で制御することを特徴とするパケット中継装置。
The packet relay device according to any one of claims 1 to 4, wherein
The packet relay apparatus according to claim 1, wherein the control unit controls starting and stopping of the redundant network interface unit at a designated date and time.
請求項1ないし請求項5のいずれか一に記載のパケット中継装置であって、
前記制御部は、運用中の第2のネットワークインタフェース部における障害を検出すると、
待機中の前記第1のネットワークインタフェース部を起動し、障害が発生した前記第2のネットワークインタフェース部に対して、障害ポートまたは前記第2のネットワークインタフェース部を待機中へ変更する処理を行なうことを特徴とするパケット中継装置。
A packet relay device according to any one of claims 1 to 5,
When the control unit detects a failure in the second network interface unit in operation,
Starting the first network interface unit that is in standby, and performing a process of changing the failed port or the second network interface unit to standby for the second network interface unit in which a failure has occurred A packet relay device characterized.
請求項1ないし請求項6のいずれか一に記載のパケット中継装置であって、
トラフィックの状況に基づいて、ネットワークインタフェース部の設定を運用中または待機中に変更する、ことを特徴とするパケット中継装置。
The packet relay device according to any one of claims 1 to 6,
A packet relay device that changes a setting of a network interface unit during operation or standby based on a traffic state.
請求項1ないし請求項7のいずれか一に記載のパケット中継装置であって、
前記制御部は、ネットワークインタフェース部に対して、運用中あるいは待機中それぞれに対応する電源の設定を行う、ことを特徴とする、パケット中継装置。
The packet relay device according to any one of claims 1 to 7,
The packet relay device, wherein the control unit sets power supply corresponding to each of the network interface unit during operation and standby.
複数のネットワークと接続されるパケット中継装置において、
前記ネットワークに対してパケットの送受信を行なう複数のネットワークインタフェース部と、
前記複数のネットワークインタフェース部のいずれかを介して受信したパケットのヘッダ情報から中継先を決定し、前記複数のネットワークインタフェース部のいずれかへ前記パケットを転送するパケット転送部と、
前記パケット転送部と前記ネットワークインタフェース部とを制御する制御部と、を備え、
前記ネットワークインタフェース部は、物理的なネットワーク回線を接続する複数のポート部を含み、冗長化した複数のネットワークインタフェース部の各ポート部を纏めて一つの仮想的な回線として扱う複数のリンクアグリゲーションを使用し、
前記制御部は、前記複数のネットワークインタフェース部を冗長化し、前記冗長化した複数のネットワークインタフェース部の各ポート部を纏めて一つの仮想的な回線として扱うリンクアグリゲーションを構成するポート部のうち、待機させるポート部を決定し、冗長化した各ネットワークインタフェース部に所属する運用中のポート部の有無を判定し、第1のネットワークインタフェース部に運用中のポート部が無いとき、前記第1のネットワークインタフェース部を待機中に設定する、ことを特徴とするパケット中継装置。
In packet relay devices connected to multiple networks,
A plurality of network interface units for transmitting and receiving packets to and from the network;
A packet transfer unit that determines a relay destination from header information of a packet received via any of the plurality of network interface units, and transfers the packet to any of the plurality of network interface units;
A control unit for controlling the packet transfer unit and the network interface unit,
The network interface unit includes a plurality of port units that connect physical network lines, and uses a plurality of link aggregations that treat each port unit of a plurality of redundant network interface units as one virtual line. And
The control unit is configured to make the plurality of network interface units redundant, and among the port units constituting a link aggregation that handles each port unit of the plurality of redundant network interface units as one virtual line. The first network interface is determined when the port unit to be determined is determined, the presence / absence of an operating port unit belonging to each redundant network interface unit is determined, and when there is no operating port unit in the first network interface unit A packet relay device characterized in that the unit is set to standby.
請求項9記載のパケット中継装置であって、
前記制御部は、待機中に設定された前記第一のネットワークインタフェース部を所定の条件で起動させ、
前記制御部は、運用中の第2のネットワークインタフェース部における障害を検出すると、
前記ハードウェア制御部から障害を通知されたとき、待機中の前記第1のネットワークインタフェース部を起動し、障害が発生した前記第2のネットワークインタフェース部に対して、障害ポート部または前記第2のネットワークインタフェース部を待機中へ変更することを特徴とするパケット中継装置。
The packet relay device according to claim 9, wherein
The control unit activates the first network interface unit set during standby under a predetermined condition,
When the control unit detects a failure in the second network interface unit in operation,
When a failure is notified from the hardware control unit, the first network interface unit in standby is activated, and the failed port unit or the second network interface unit is connected to the second network interface unit in which the failure has occurred. A packet relay apparatus, wherein the network interface unit is changed to a standby state.
JP2014065244A 2010-02-26 2014-03-27 Packet relay device Active JP5786055B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014065244A JP5786055B2 (en) 2010-02-26 2014-03-27 Packet relay device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2010042131 2010-02-26
JP2010042131 2010-02-26
JP2014065244A JP5786055B2 (en) 2010-02-26 2014-03-27 Packet relay device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010233598A Division JP5513342B2 (en) 2010-02-26 2010-10-18 Packet relay device

Publications (2)

Publication Number Publication Date
JP2014112977A true JP2014112977A (en) 2014-06-19
JP5786055B2 JP5786055B2 (en) 2015-09-30

Family

ID=51169731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014065244A Active JP5786055B2 (en) 2010-02-26 2014-03-27 Packet relay device

Country Status (1)

Country Link
JP (1) JP5786055B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10797912B2 (en) 2017-11-16 2020-10-06 Fujitsu Limited Relay device and relay method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008244907A (en) * 2007-03-28 2008-10-09 Nec Corp Communication apparatus, communication system and lag management table management method used therefor
US20090225752A1 (en) * 2008-03-05 2009-09-10 Fujitsu Limited Apparatus and method for transferring frames through aggregated communication links

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008244907A (en) * 2007-03-28 2008-10-09 Nec Corp Communication apparatus, communication system and lag management table management method used therefor
US20090225752A1 (en) * 2008-03-05 2009-09-10 Fujitsu Limited Apparatus and method for transferring frames through aggregated communication links
JP2009212879A (en) * 2008-03-05 2009-09-17 Fujitsu Ltd Communication device and communication method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CSND200900383007; 阿蘇 和人: '盛り上がるネット機器の省エネ競争' 日経NETWORK 第110号, 20090528, p.019〜021 *
JPN6014053547; 阿蘇 和人: '盛り上がるネット機器の省エネ競争' 日経NETWORK 第110号, 20090528, p.019〜021 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10797912B2 (en) 2017-11-16 2020-10-06 Fujitsu Limited Relay device and relay method

Also Published As

Publication number Publication date
JP5786055B2 (en) 2015-09-30

Similar Documents

Publication Publication Date Title
JP5513342B2 (en) Packet relay device
CN100534024C (en) Industry ethernet based fault processing method, system and a switching arrangement
CN100417094C (en) Network failure recovery method with redundancy port
US8811154B2 (en) Packet forwarding system, packet forwarding device, proxy device, computer readable medium storing program, and control method of packet forwarding device
CN102137017B (en) Working method and device used for virtual network unit
CN100568854C (en) A kind of method and interface board that keeps neighborhood
CN102148677B (en) Method for updating address resolution protocol table entries and core switch
JP4527447B2 (en) Network relay device and control method thereof
JP5941404B2 (en) Communication system, path switching method, and communication apparatus
WO2011020367A1 (en) Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof
JP2001077919A (en) Redundant configuration supervisory control system, supervisory controller thereof and controller to be supervised
JP2013519268A (en) Data transfer method, data transfer apparatus, and data transfer system
CN102025562A (en) Path detection method and device
CN101753397A (en) System, method and device for rapidly self-healing Ethernet ring
CN105207902A (en) Main-standby virtual gateway system and method based on SDN
JP2012231223A (en) Access system and redundancy switching method
JP5607011B2 (en) Server redundancy system, virtual router and server
CN111343019A (en) Reconnection method, reconnection device and storage medium
CN101340377B (en) Method, apparatus and system for data transmission in double layer network
WO2012159570A1 (en) Link switchover method and apparatus
WO2011097893A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
WO2011150780A1 (en) Method for triggering route switching and service provider-end provider edge device
JP5786055B2 (en) Packet relay device
CN113709068B (en) Switch system and execution processing method of switch
WO2012009914A1 (en) Protection switching method and system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140327

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141224

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150223

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150727

R150 Certificate of patent or registration of utility model

Ref document number: 5786055

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250