JP5482838B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP5482838B2
JP5482838B2 JP2012161413A JP2012161413A JP5482838B2 JP 5482838 B2 JP5482838 B2 JP 5482838B2 JP 2012161413 A JP2012161413 A JP 2012161413A JP 2012161413 A JP2012161413 A JP 2012161413A JP 5482838 B2 JP5482838 B2 JP 5482838B2
Authority
JP
Japan
Prior art keywords
frame
unit
output
destination
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012161413A
Other languages
Japanese (ja)
Other versions
JP2012227957A (en
Inventor
康之 三森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2012161413A priority Critical patent/JP5482838B2/en
Publication of JP2012227957A publication Critical patent/JP2012227957A/en
Application granted granted Critical
Publication of JP5482838B2 publication Critical patent/JP5482838B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はフレームを転送する通信装置に関し、特に複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置に関する。   The present invention relates to a communication apparatus for transferring a frame, and more particularly to a communication apparatus for transferring a frame using a logical link configured by integrating a plurality of physical links.

ネットワークを介して通信相手の端末装置へデータを送信する場合、送信データはデータリンク層においてフレームに分割され、通信装置によって中継されて、通信相手に届けられる。フレームを中継する通信装置としては、レイヤ2スイッチ等がある。ここで、通信装置間の通信路の品質を向上させる方法として、リンク集約(リンクアグリゲーション:Link Aggregation:LAG)の技術が知られている。リンク集約とは、同一の通信装置との間にケーブル等の物理リンクを複数設置し、これらの物理リンクを束ねて一つの仮想的な論理リンクを構成する技術であり、IEEE802.3adで規定されている。   When data is transmitted to a communication partner terminal device via a network, the transmission data is divided into frames in the data link layer, relayed by the communication device, and delivered to the communication partner. A communication device that relays frames includes a layer 2 switch. Here, as a method of improving the quality of a communication path between communication apparatuses, a technique of link aggregation (Link Aggregation: LAG) is known. Link aggregation is a technology in which a plurality of physical links such as cables are installed between the same communication devices, and these physical links are bundled to form one virtual logical link, and is defined in IEEE 802.3ad. ing.

このリンク集約を行って伝送帯域を増やすことで、高価なケーブルや通信インタフェースを用意することなく、高速な通信路を実現できる。また、近年、リンク集約は、通信事業者が提供するキャリアネットワークにおいて、リンク冗長を目的として使われることが多くなってきた。これは、リンク集約により、複数の物理リンクを同時に使用するため、一部の物理リンクが故障した場合でも、通信路が完全に切断されることを防止でき、可用性を向上させることができるためである。   By performing link aggregation and increasing the transmission band, a high-speed communication path can be realized without preparing an expensive cable or communication interface. In recent years, link aggregation has been increasingly used for the purpose of link redundancy in carrier networks provided by communication carriers. This is because multiple physical links are used simultaneously by link aggregation, so even if some of the physical links fail, it is possible to prevent the communication path from being completely disconnected and improve availability. is there.

例えば、論理リンクを構成する物理リンクのうち、所定のリンクを現用リンクとし、現用リンク以外のリンクを擬似的に閉塞して予備リンクとする。この論理リンクにおける現用リンクを運用リンクとして通信に用いるとともに、運用リンクの状態を監視する。そして、運用リンクのうち一部の運用リンクが使用不可状態となると、当該一部の運用リンクをリンクアグリゲーショングループからデタッチし、予備リンクの擬似閉塞を解除して、当該予備リンクをリンクアグリゲーショングループに運用リンクとしてアタッチする技術も知られている(例えば、特許文献1参照)。この技術は、論理リンクを構成するリンクのうち、一方のリンクのグループを現用リンクとし、他方のグループを予備リンクとする。現用リンクの障害発生時には、この現用リンクを未使用状態に変更するとともに予備リンクを未使用状態から使用可能状態へ変更することで、予備リンクを運用リンクとするリンクの切替を行うことにより、継続してリンク集約によるネットワークの接続を可能とするものである。   For example, among the physical links constituting the logical link, a predetermined link is used as a working link, and links other than the working link are pseudo-blocked to be used as backup links. The working link in this logical link is used as a working link for communication, and the status of the working link is monitored. When some of the operation links become unavailable, the part of the operation links are detached from the link aggregation group, the pseudo link of the protection link is released, and the protection link is changed to the link aggregation group. A technique for attaching as an operation link is also known (see, for example, Patent Document 1). In this technique, among links constituting a logical link, one link group is used as a working link, and the other group is used as a backup link. When a failure occurs on the working link, the working link is changed to the unused state and the spare link is changed from the unused state to the usable state. Thus, network connection by link aggregation is enabled.

特開2004−349764号公報JP 2004-349664 A

ここで、リンク集約機能を用いたフレームの転送を行うネットワークにおいても、障害発生によるダウンは、通信品質の低下、およびシステムの可用性の低下に繋がるため、できる限り短時間で復旧可能であることが望ましい。特に、リンク冗長化のためにリンク集約機能が使用された、通信事業者が提供するキャリアネットワークにおいては、障害発生時に少しでも早く正常なリンクへの切り替えが完了して接続が復旧することが要求されている。   Here, even in a network that transfers frames using the link aggregation function, a down due to the occurrence of a failure leads to a decrease in communication quality and a decrease in system availability. desirable. In particular, in carrier networks provided by telecommunications carriers that use the link aggregation function for link redundancy, it is required that switching to a normal link be completed as soon as possible and the connection is restored when a failure occurs. Has been.

本発明はこのような点に鑑みてなされたものであり、リンク集約による冗長構成を有する通信ネットワークにおける現用リンクの障害発生時などに、現用リンクから予備リンクへの高速な切り替えが可能な通信装置を提供することを目的とする。   The present invention has been made in view of the above points, and is a communication device capable of high-speed switching from a working link to a backup link when a failure occurs in a working link in a communication network having a redundant configuration by link aggregation. The purpose is to provide.

一実施態様によれば、複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置において、フレームが入力される入力手段と、現用の論理リンクを利用する場合および現用の論理リンクに代えて予備の論理リンクを利用する場合それぞれについて、フレームを出力する複数の物理リンクのパターンの識別情報を対応付けた集約マルチキャスト宛先管理情報を記憶する第1の記憶手段と、論理リンクを構成する物理リンクおよび論理リンクを構成しない物理リンクのうち、フレームが出力される物理リンクとパターンの識別情報との対応を示すマルチキャスト宛先管理情報を記憶する第2の記憶手段と、入力されたフレームに対し、現用の論理リンクを利用できるか否かに応じて集約マルチキャスト宛先管理情報から何れかのパターンの識別情報を取得し、マルチキャスト宛先管理情報を参照して、論理リンクを構成する物理リンクおよび論理リンクを構成しない物理リンクのうち、取得したパターンの識別情報に対応する物理リンクを、フレームを出力する物理リンクとして決定するマルチキャスト振分手段と、を有することを特徴とする通信装置が提供される。 According to one embodiment, in a communication apparatus that transfers a frame using a logical link configured by aggregating a plurality of physical links, an input means for inputting a frame, a case where an active logical link is used, and an active First storage means for storing aggregated multicast destination management information in which identification information of a plurality of physical link patterns for outputting a frame is associated with each other when a spare logical link is used instead of a logical link; of the physical links do not constitute a physical link and logical link constitutes a second storage means for storing a multicast address management information showing correspondence between identification information of the physical links and patterns frame is output, is input Aggregated multicast destination management information depending on whether the current logical link can be used for the frame It acquires identification information of one of the patterns, with reference to the multicast address management information, among the physical links do not constitute a physical link and logical link constituting the logical link, a physical link corresponding to the acquired pattern identification information And a multicast distribution means for determining a physical link for outputting a frame as a physical link.

開示の通信装置によれば、リンク集約による冗長構成を有する論理リンクを用いた通信ネットワークにおける現用リンクの障害発生時に、現用リンクから予備リンクへの高速な切り替えを実現できる。   According to the disclosed communication device, when a failure occurs in a working link in a communication network using a logical link having a redundant configuration by link aggregation, high-speed switching from the working link to the backup link can be realized.

本実施の形態の概要を示す図である。It is a figure which shows the outline | summary of this Embodiment. フレーム転送システムの全体構成を示す図である。It is a figure which shows the whole structure of a frame transfer system. スイッチのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of a switch. フレームのデータ構造例を示す図である。It is a figure which shows the data structure example of a frame. 第1の実施の形態のスイッチの機能を示すブロック図である。It is a block diagram which shows the function of the switch of 1st Embodiment. 第1の実施の形態のフロー宛先管理テーブルのデータ構造例を示す図である。FIG. 3 illustrates an example data structure of a flow destination management table according to the first embodiment. 第1の実施の形態の集約管理テーブルのデータ構造例を示す図である。6 is a diagram illustrating an example of a data structure of an aggregation management table according to the first embodiment. FIG. 第1の実施の形態の集約宛先管理テーブルのデータ構造例を示す図である。6 is a diagram illustrating an example of a data structure of an aggregate destination management table according to the first embodiment. FIG. 第1の実施の形態の変形例における集約宛先管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation destination management table in the modification of 1st Embodiment. 第2の実施の形態の振分部の機能を示すブロック図である。It is a block diagram which shows the function of the distribution part of 2nd Embodiment. 第2の実施の形態の集約宛先統計テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation destination statistics table of 2nd Embodiment. 第3の実施の形態の振分部の機能を示すブロック図である。It is a block diagram which shows the function of the distribution part of 3rd Embodiment. 第4の実施の形態のスイッチの機能を示すブロック図である。It is a block diagram which shows the function of the switch of 4th Embodiment. 第4の実施の形態の集約管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation management table of 4th Embodiment. 第4の実施の形態の集約宛先管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation destination management table of 4th Embodiment. 第4の実施の形態の変形例における集約宛先管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation destination management table in the modification of 4th Embodiment. 第5の実施の形態の振分部の機能を示すブロック図である。It is a block diagram which shows the function of the distribution part of 5th Embodiment. 第5の実施の形態の集約宛先統計テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation destination statistics table of 5th Embodiment. 第6の実施の形態のスイッチの機能を示すブロック図である。It is a block diagram which shows the function of the switch of 6th Embodiment. 第6の実施の形態のフロー宛先管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the flow destination management table of 6th Embodiment. 第6の実施の形態の集約マルチキャスト管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation multicast management table of 6th Embodiment. 第6の実施の形態の集約マルチキャスト宛先管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the aggregation multicast destination management table of 6th Embodiment. 第6の実施の形態のマルチキャスト宛先管理テーブルのデータ構造例を示す図である。It is a figure which shows the example of a data structure of the multicast destination management table of 6th Embodiment.

以下、本発明の実施の形態について、図面を参照して説明する。
図1は、本実施の形態の概要を示す図である。図1に示したように、本実施の形態に係る通信装置1は、複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置であって、リンク集約による冗長構成を有する通信ネットワークのリンクを、切替指示に基づいて現用リンクから予備リンクへ切り替えるものである。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a diagram showing an outline of the present embodiment. As shown in FIG. 1, the communication apparatus 1 according to the present embodiment is a communication apparatus that transfers a frame using a logical link configured by aggregating a plurality of physical links, and has a redundant configuration by link aggregation. The link of the communication network is switched from the working link to the backup link based on the switching instruction.

図1に示す通信装置1は、複数の物理リンクを集約して構成した論理リンクを用いてフレームを他の通信装置などに転送する装置である。通信装置1は、論理リンクを用いてフレームを転送するために、入力手段11、集約宛先管理情報記憶手段12、振分手段13、第1の出力手段14、第2の出力手段15を有している。   A communication apparatus 1 shown in FIG. 1 is an apparatus that transfers a frame to another communication apparatus or the like using a logical link configured by integrating a plurality of physical links. The communication device 1 includes an input unit 11, an aggregated destination management information storage unit 12, a distribution unit 13, a first output unit 14, and a second output unit 15 to transfer a frame using a logical link. ing.

入力手段11は、通信装置1によって他の通信装置、コンピュータを始めとする情報機器などに転送されるフレームが入力される。
集約宛先管理情報記憶手段12は、フレームが出力される物理リンクを示す集約宛先管理情報を記憶する。ここで、集約宛先管理情報は、集約宛先管理テーブル12aを構成して集約宛先管理情報記憶手段12に記憶されている。また、物理リンクは、第1の出力手段14および第2の出力手段15が有する各ポート(ポート#0など)である。
The input unit 11 receives a frame transferred by the communication device 1 to another communication device, an information device such as a computer, or the like.
The aggregate destination management information storage unit 12 stores aggregate destination management information indicating a physical link to which a frame is output. Here, the aggregated destination management information constitutes an aggregated destination management table 12a and is stored in the aggregated destination management information storage unit 12. The physical link is each port (such as port # 0) included in the first output unit 14 and the second output unit 15.

集約宛先管理情報は、第1の出力手段14の物理リンクを特定する第1の物理リンク情報(図中の集約宛先管理テーブル12aの左側の列)と、第2の出力手段15の物理リンクを特定する第2の物理リンク情報(図中の集約宛先管理テーブル12aの右側の列)とを有する。   The aggregate destination management information includes the first physical link information (the left column of the aggregate destination management table 12a in the figure) for specifying the physical link of the first output means 14 and the physical link of the second output means 15. Second physical link information to be identified (the column on the right side of the aggregated destination management table 12a in the figure).

振分手段13は、集約宛先管理情報記憶手段12に集約宛先管理テーブル12aとして記憶されている集約宛先管理情報を参照して、入力手段11によって入力されたフレームが出力される物理リンクを、論理リンクを構成する物理リンクのうちのいずれかの物理リンクに決定する。   The allocating unit 13 refers to the aggregate destination management information stored as the aggregate destination management table 12a in the aggregate destination management information storage unit 12, and logically links the physical link to which the frame input by the input unit 11 is output. The physical link is determined as one of the physical links constituting the link.

ここで、振分手段13は、切替指示に応じて、第1の物理リンク情報を参照してフレームが出力される物理リンクを、第1の出力手段14を構成する物理リンクに決定する第1の状態と、第2の物理リンク情報を参照してフレームが出力される前記物理リンクを、第2の出力手段15を構成する物理リンクに決定する第2の状態とに切り替え可能である。この切替指示は、例えば、通信装置1と他の通信装置との論理リンクによる通信に障害が発生した場合に、通信装置1自身に、この障害の発生を検出する機能および障害の発生の検出に基づいて切替指示を行う機能を持たせてもよい。なお、通信装置1以外の他の装置に障害の発生を検出して切替指示を出力する機能を持たせてもよい。   Here, according to the switching instruction, the allocating unit 13 refers to the first physical link information, and determines the physical link from which the frame is output as the physical link constituting the first output unit 14. And the second state in which the physical link from which the frame is output with reference to the second physical link information is determined as the physical link constituting the second output means 15 can be switched. This switching instruction is used, for example, to detect the occurrence of a failure and the function of detecting the occurrence of a failure in the communication device 1 itself when a failure occurs in communication via a logical link between the communication device 1 and another communication device. A function of giving a switching instruction based on this may be provided. Note that a device other than the communication device 1 may have a function of detecting the occurrence of a failure and outputting a switching instruction.

第1の出力手段14は、論理リンクを構成する物理リンクのうちの一部の物理リンクから構成される。また、第2の出力手段15は、論理リンクを構成する物理リンクのうちの第1の出力手段14を構成する物理リンク以外の物理リンクのうちの、一部またはすべての物理リンクから構成される。   The first output means 14 is composed of some physical links of the physical links that make up the logical link. The second output unit 15 includes a part or all of the physical links other than the physical links configuring the first output unit 14 among the physical links configuring the logical link. .

このような通信装置1によれば、入力手段11により、フレームが入力され、集約宛先管理情報記憶手段12により、フレームが出力される物理リンクを示す集約宛先管理情報が記憶される。振分手段13により、集約宛先管理情報が参照され、フレームが出力される物理リンクが、論理リンクを構成する物理リンクのうちのいずれかの物理リンクに決定される。第1の出力手段14は、論理リンクを構成する物理リンクのうちの一部の物理リンクから構成されており、第2の出力手段15は、論理リンクを構成する物理リンクのうちの第1の出力手段14を構成する物理リンク以外の物理リンクのうちの、一部またはすべての物理リンクから構成されている。集約宛先管理情報は、第1の出力手段14の物理リンクが特定される第1の物理リンク情報と、第2の出力手段15の物理リンクが特定される第2の物理リンク情報とを有している。振分手段13により、第1の物理リンク情報を参照してフレームが出力される物理リンクが、第1の出力手段14を構成する物理リンクに決定される第1の状態と、第2の物理リンク情報が参照されてフレームが出力される物理リンクが、第2の出力手段15を構成する物理リンクに決定される第2の状態とに切り替え可能であるとともに、切替指示に応じて、第1の状態から第2の状態に切り替えられる。   According to such a communication apparatus 1, a frame is input by the input unit 11, and aggregated destination management information indicating a physical link to which the frame is output is stored by the aggregated destination management information storage unit 12. The distribution unit 13 refers to the aggregated destination management information, and determines the physical link from which the frame is output as one of the physical links constituting the logical link. The first output means 14 is composed of a part of physical links constituting the logical link, and the second output means 15 is the first of the physical links constituting the logical link. It is composed of a part or all of the physical links other than the physical links constituting the output means 14. The aggregated destination management information includes first physical link information for specifying the physical link of the first output unit 14 and second physical link information for specifying the physical link of the second output unit 15. ing. A first state in which a physical link from which a frame is output with reference to the first physical link information by the allocating unit 13 is determined as a physical link constituting the first output unit 14, and a second physical link The physical link on which the frame information is output with reference to the link information can be switched to the second state determined as the physical link constituting the second output means 15, and the first state is determined according to the switching instruction. The state is switched to the second state.

これにより、リンク集約による冗長構成を有する論理リンクを用いた通信ネットワークにおける現用リンクの障害発生時に、現用リンクから予備リンクへの高速な切り替えを実現できる。   As a result, when a failure occurs in the working link in a communication network using a logical link having a redundant configuration by link aggregation, high-speed switching from the working link to the backup link can be realized.

[第1の実施の形態]
図2は、フレーム転送システムの全体構成を示す図である。本実施の形態のフレーム転送システムは、端末装置間でデータの送受信を行えるように、複数のレイヤ2スイッチがデータリンク層のフレームを中継するものである。
[First Embodiment]
FIG. 2 is a diagram illustrating the overall configuration of the frame transfer system. In the frame transfer system of this embodiment, a plurality of layer 2 switches relay data link layer frames so that data can be transmitted and received between terminal devices.

図2に示すフレーム転送システムは、スイッチ100,100a,100b,100c,100dと端末装置40,61,62,63,64,65,66とで構成される。スイッチ100,100a,100b,100c,100dは、レイヤ2スイッチである。端末装置61,62,63,64,65,66は、ユーザが使用する端末装置である。端末装置40は、スイッチ100の管理者が使用する端末装置である。スイッチ100a,100b,100c,100dは、スイッチ100と同様に構成されており、同等の機能を有する。   The frame transfer system shown in FIG. 2 includes switches 100, 100a, 100b, 100c, and 100d and terminal devices 40, 61, 62, 63, 64, 65, and 66. The switches 100, 100a, 100b, 100c, and 100d are layer 2 switches. The terminal devices 61, 62, 63, 64, 65, 66 are terminal devices used by the user. The terminal device 40 is a terminal device used by an administrator of the switch 100. The switches 100a, 100b, 100c, and 100d are configured in the same manner as the switch 100, and have equivalent functions.

スイッチ100は、スイッチ100a,100bと接続されている。スイッチ100bは、スイッチ100c,100dと接続されている。端末装置61,62は、スイッチ100aと接続されている。端末装置63,64は、スイッチ100cと接続されている。端末装置65,66は、スイッチ100dと接続されている。端末装置40は、スイッチ100と接続されている。2つのスイッチ間またはスイッチと端末装置の間は、1つ以上の物理リンク(ネットワークケーブル)で接続されている。   The switch 100 is connected to the switches 100a and 100b. The switch 100b is connected to the switches 100c and 100d. The terminal devices 61 and 62 are connected to the switch 100a. The terminal devices 63 and 64 are connected to the switch 100c. The terminal devices 65 and 66 are connected to the switch 100d. The terminal device 40 is connected to the switch 100. The two switches or the switch and the terminal device are connected by one or more physical links (network cables).

スイッチ100,100a,100b,100c,100dは、フレームに含まれるアドレスに従って、送信元の端末装置から宛先の端末装置まで、フレームを中継する。例えば、端末装置61が端末装置63へフレームを送信する場合、スイッチ100a、スイッチ100、スイッチ100b、スイッチ100cの順にフレームが中継される。   The switches 100, 100a, 100b, 100c, and 100d relay the frame from the source terminal device to the destination terminal device according to the address included in the frame. For example, when the terminal device 61 transmits a frame to the terminal device 63, the frame is relayed in the order of the switch 100a, the switch 100, the switch 100b, and the switch 100c.

図3は、スイッチのハードウェア構成を示す図である。図3は、スイッチ100の内部構成を示したものであるが、スイッチ100a,100b,100c,100dも同様の構成で実現できる。スイッチ100は、CPU101、インタフェースカード102a,102b,102c,102d、スイッチカード103、テーブル記憶メモリ104、ポート監視部105、バス106を有している。   FIG. 3 is a diagram illustrating a hardware configuration of the switch. FIG. 3 shows the internal configuration of the switch 100, but the switches 100a, 100b, 100c, and 100d can be realized with the same configuration. The switch 100 includes a CPU 101, interface cards 102a, 102b, 102c, and 102d, a switch card 103, a table storage memory 104, a port monitoring unit 105, and a bus 106.

CPU(Central Processing Unit)101は、スイッチ100全体を制御している。CPU101は、プログラムによる処理を実行する。CPU101は、図示しないメモリに保持されたデータを用いて、同じくメモリに保持されたプログラムを実行する。CPU101は、図示しない通信インタフェースを介して、管理者が使用する端末装置40から送信されるコマンドを受信するとともに、コマンドに対する実行結果を端末装置40に応答する。   A CPU (Central Processing Unit) 101 controls the entire switch 100. The CPU 101 executes processing by a program. The CPU 101 executes a program similarly held in the memory using data held in a memory (not shown). The CPU 101 receives a command transmitted from the terminal device 40 used by the administrator via a communication interface (not shown), and returns an execution result for the command to the terminal device 40.

テーブル記憶メモリ104は、複数のテーブルを記憶している。テーブル記憶メモリ104に記憶されるテーブルには、論理リンクの構成を管理するテーブル、論理リンク内でのフレームの転送先を決定するためのテーブル、フレームの転送先を示す情報を格納するテーブルが含まれる。   The table storage memory 104 stores a plurality of tables. The table stored in the table storage memory 104 includes a table for managing the configuration of the logical link, a table for determining a frame transfer destination within the logical link, and a table for storing information indicating the frame transfer destination. It is.

バス106には、CPU101、インタフェースカード102a,102b,102c,102d、スイッチカード103、テーブル記憶メモリ104、ポート監視部105が接続されている。   A CPU 101, interface cards 102a, 102b, 102c, and 102d, a switch card 103, a table storage memory 104, and a port monitoring unit 105 are connected to the bus 106.

インタフェースカード102a,102b,102c,102dは、それぞれ複数個(例えば、8個)の通信ポートを有している。それぞれの通信ポートには、1つの物理リンクを接続できる。インタフェースカード102a,102b,102c,102dは、それぞれの通信ポートを監視してフレームを取得する。なお、インタフェースカード102a,102b,102c,102dは、複数の通信ポートに同時にフレームが到来した場合に備えて、フレームを一時的に保持するバッファを内部に有している。そして、インタフェースカード102a,102b,102c,102dは、取得したフレームをスイッチカード103に送る。   Each of the interface cards 102a, 102b, 102c, and 102d has a plurality of (for example, eight) communication ports. One physical link can be connected to each communication port. The interface cards 102a, 102b, 102c, and 102d monitor the respective communication ports and acquire frames. Note that the interface cards 102a, 102b, 102c, and 102d have a buffer that temporarily holds frames in preparation for the case where frames arrive at a plurality of communication ports at the same time. Then, the interface cards 102a, 102b, 102c, and 102d send the acquired frame to the switch card 103.

スイッチカード103は、図示しない学習テーブルを有している。スイッチカード103は、学習テーブルに、過去に受信したフレームの送信元アドレスと、そのフレームが到来した通信ポートまたは論理リンクの識別情報とを対応付けて記憶している。この学習テーブルは、スイッチカード103によって随時更新される。   The switch card 103 has a learning table (not shown). The switch card 103 stores the transmission source address of the frame received in the past and the identification information of the communication port or logical link from which the frame has arrived in association with each other in the learning table. This learning table is updated by the switch card 103 as needed.

そして、スイッチカード103は、インタフェースカード102a,102b,102c,102dのいずれかからフレームを受け取ると、学習テーブルを参照して、そのフレームの転送先を決定する。ここで、決定した転送先が論理リンクである場合、スイッチカード103は、テーブル記憶メモリ104に記憶されたテーブルを参照して、転送に使用する具体的なインタフェースカード102a,102b,102c,102dおよび通信ポートを決定する。その後、スイッチカード103は、フレームを、決定したインタフェースカード102a,102b,102c,102dに送る。   When the switch card 103 receives a frame from any one of the interface cards 102a, 102b, 102c, and 102d, the switch card 103 refers to the learning table and determines a transfer destination of the frame. Here, when the determined transfer destination is a logical link, the switch card 103 refers to the table stored in the table storage memory 104, and the specific interface cards 102a, 102b, 102c, 102d used for transfer and Determine the communication port. Thereafter, the switch card 103 sends the frame to the determined interface cards 102a, 102b, 102c, and 102d.

フレームを受け取ったインタフェースカード102a,102b,102c,102dは、受け取ったフレームを、決定された通信ポートから送信先に送出する。
ポート監視部105は、インタフェースカード102a,102b,102c,102dの通信ポートを監視する。そして、ポート監視部105は、インタフェースカード102a,102b,102c,102dの通信ポートに接続された物理リンクの故障や復旧を検出すると、CPU101にその旨を通知する。
The interface cards 102a, 102b, 102c, and 102d that have received the frame send the received frame from the determined communication port to the transmission destination.
The port monitoring unit 105 monitors the communication ports of the interface cards 102a, 102b, 102c, and 102d. When the port monitoring unit 105 detects a failure or recovery of the physical link connected to the communication ports of the interface cards 102a, 102b, 102c, and 102d, the port monitoring unit 105 notifies the CPU 101 accordingly.

図4は、フレームのデータ構造例を示す図である。図4に示すフレーム30が、インタフェースカード102a,102b,102c,102dの通信ポートを介して、スイッチ100a,100b等との間で送受信される。フレーム30は、宛先MACアドレス(MAC DA:Media Access Control address Destination Address)、送信元MACアドレス、TPID(Tag Protocol Identifier:タグ・プロトコル識別子)、VLAN(Virtual Local Area Network)タグ、タイプ、ペイロードおよびFCS(Frame Check Sequence)で構成される。   FIG. 4 is a diagram illustrating an example of a data structure of a frame. The frame 30 shown in FIG. 4 is transmitted / received to / from the switches 100a, 100b, etc. via the communication ports of the interface cards 102a, 102b, 102c, 102d. The frame 30 includes a destination MAC address (MAC DA: Media Access Control address Destination Address), a source MAC address, a TPID (Tag Protocol Identifier), a VLAN (Virtual Local Area Network) tag, a type, a payload, and an FCS. (Frame Check Sequence).

宛先MACアドレスは、送信先の端末装置が有する通信インタフェースを一意に識別するアドレスである。送信元MACアドレスは、送信元の端末装置が有する通信インタフェースを一意に識別するアドレスである。TPIDは、当該フレームの種類(例えば、VLANのフレームであるか通常のフレームであるか)を示す値である。VLANタグは、1つのネットワークを複数の論理的なネットワークに分割して運用する場合に、個々の論理的なネットワークに割り当てられる一意に定められた値である。タイプは、使用するプロトコルを指定するフィールドである。ペイロードは、送受信するデータ本体であり、例えば、IPパケットを所定のデータ長に分割したものである。FCSは、受信したフレームの誤りを検出するために用いられる値である。   The destination MAC address is an address that uniquely identifies the communication interface of the destination terminal device. The transmission source MAC address is an address that uniquely identifies a communication interface of the transmission source terminal device. The TPID is a value indicating the type of the frame (for example, whether it is a VLAN frame or a normal frame). The VLAN tag is a uniquely determined value assigned to each logical network when one network is divided into a plurality of logical networks for operation. The type is a field that specifies a protocol to be used. The payload is a data body to be transmitted / received. For example, the payload is obtained by dividing an IP packet into a predetermined data length. FCS is a value used to detect an error in a received frame.

なお、フレームのデータ構造は、ネットワークの運用形態等に応じて、種々の変形例が考えられる。例えば、VLANタグが省略される場合がある。また、図4に示したもの以外のヘッダ情報が付加される場合もある。   It should be noted that the data structure of the frame can be variously modified according to the network operation mode and the like. For example, the VLAN tag may be omitted. Also, header information other than that shown in FIG. 4 may be added.

図5は、第1の実施の形態のスイッチの機能を示すブロック図である。なお、図5ではスイッチ100のモジュール構成を示しているが、他のスイッチ100a,100b,100c,100dもスイッチ100と同様のモジュール構成によって実現できる。   FIG. 5 is a block diagram illustrating functions of the switch according to the first embodiment. 5 shows the module configuration of the switch 100, the other switches 100a, 100b, 100c, and 100d can be realized by the same module configuration as the switch 100.

本実施の形態のスイッチ100は、リンク集約による冗長構成を有する通信ネットワークのリンクを、切替指示に基づいて現用リンクから予備リンクへ切り替えるために、入力部110、振分部120、障害検出部130、通信部140、フロー宛先管理情報記憶部151、集約管理情報記憶部152、集約宛先管理情報記憶部153、現用系出力部181、予備系出力部182を有する。また、振分部120は、フロー宛先決定部121、切替決定部122、ハッシュ計算部123、振分先決定部124、フレーム廃棄部125を有する。   The switch 100 according to the present embodiment includes an input unit 110, a distribution unit 120, and a failure detection unit 130 in order to switch a link of a communication network having a redundant configuration by link aggregation from a working link to a backup link based on a switching instruction. A communication unit 140, a flow destination management information storage unit 151, an aggregate management information storage unit 152, an aggregate destination management information storage unit 153, an active system output unit 181, and a standby system output unit 182. The distribution unit 120 includes a flow destination determination unit 121, a switching determination unit 122, a hash calculation unit 123, a distribution destination determination unit 124, and a frame discard unit 125.

ここで、現用系出力部は、初期状態および通常の状態で運用系の出力部に設定された出力部である。予備系出力部は、初期状態および通常の状態で待機系の出力部に設定された出力部である。   Here, the active output unit is an output unit set as an output unit of the operation system in the initial state and the normal state. The standby system output unit is an output unit set as the standby system output unit in the initial state and the normal state.

入力部110は、本実施の形態のスイッチ100によって他のスイッチ100a,100b,100c,100dおよび端末装置などの通信機器に転送されるフレームが入力される。   The input unit 110 receives a frame transferred by the switch 100 according to the present embodiment to other switches 100a, 100b, 100c, and 100d and a communication device such as a terminal device.

振分部120は、集約宛先管理情報記憶部153に集約宛先管理テーブル153aとして記憶されている集約宛先管理情報を参照して、入力部110によって入力されたフレームが出力される物理リンクを、論理リンクを構成する物理リンクのうちのいずれかの物理リンクに決定する。   The allocating unit 120 refers to the aggregated destination management information stored in the aggregated destination management information storage unit 153 as the aggregated destination management table 153a, and determines the physical link to which the frame input by the input unit 110 is output as a logical link. The physical link is determined as one of the physical links constituting the link.

ここで、振分部120は、切替指示に応じて、現用系物理リンク情報を参照してフレームが出力される物理リンクを、現用系出力部181を構成する物理リンクに決定する現用状態と、予備系物理リンク情報を参照してフレームが出力される物理リンクを、予備系出力部182を構成する物理リンクに決定する予備状態とに切り替え可能である。   Here, in response to the switching instruction, the allocating unit 120 refers to the working physical link information and determines the physical link from which the frame is output as the physical link constituting the working output unit 181; The physical link from which the frame is output with reference to the standby system physical link information can be switched to the standby state in which the physical link constituting the standby system output unit 182 is determined.

この切替指示は、スイッチ100と他のスイッチとの論理リンクによる通信に障害が発生した場合には、障害検出部130により、この障害の発生が検出される。そして、障害検出部130により、障害の発生の検出に基づいて振分部120の切替決定部122に対して切替指示が出力される。振分部120による切替に基づいて、現用系出力部181が、現用系出力部181を構成する物理リンクからフレームを出力し、または予備系出力部182が、予備系出力部182を構成する物理リンクからフレームを出力する。   In the switching instruction, when a failure occurs in communication between the switch 100 and another switch through the logical link, the failure detection unit 130 detects the occurrence of the failure. Then, the failure detection unit 130 outputs a switching instruction to the switching determination unit 122 of the distribution unit 120 based on the detection of the occurrence of the failure. Based on the switching by the allocating unit 120, the active output unit 181 outputs a frame from the physical link that configures the active output unit 181, or the standby output unit 182 includes the physical that configures the standby output unit 182. Output frame from link.

振分部120は、使用可能な物理リンク数に基づいて、現用状態から予備状態に切り替える。振分部120は、現用系出力部181の有効物理リンク情報が示す物理リンクの数が、帯域情報によって示される帯域未満である場合には、現用状態から予備状態に切り替える。スイッチ100によって送信されるフレームには、送信先に応じて当該フレームを送信するために確保すべき帯域を示す帯域情報が設定されている。この帯域情報は、スイッチ100が有する図示しない記憶部に記憶されている。   The distribution unit 120 switches from the active state to the standby state based on the number of usable physical links. The allocating unit 120 switches from the active state to the standby state when the number of physical links indicated by the valid physical link information of the active output unit 181 is less than the band indicated by the band information. Band information indicating a band to be secured for transmitting the frame is set in the frame transmitted by the switch 100 according to the transmission destination. This band information is stored in a storage unit (not shown) included in the switch 100.

フロー宛先決定部121は、フロー宛先管理情報記憶部151に記憶されているフロー宛先管理情報を参照して、フレームが出力される物理リンクを、論理リンクを構成する物理リンク、または論理リンクを構成する物理リンク以外の物理リンク(図示省略)のうちの一つの物理リンクのうちいずれかに決定する。   The flow destination determination unit 121 refers to the flow destination management information stored in the flow destination management information storage unit 151, configures a physical link from which a frame is output, a physical link that constitutes a logical link, or a logical link One of the physical links (not shown) other than the physical link to be determined is determined.

このフロー宛先決定部121は、入力されたフレームの宛先MACアドレス(図4参照)に基づいて、図6において後述するフロー宛先管理テーブル151aを用いて、各フレームの宛先を特定する。すなわち、フロー宛先決定部121は、入力されたフレームに含まれるMACアドレスを抽出する。このとき、入力されたフレームのMACアドレスが、フロー宛先管理テーブル151aによって、当該フレームの宛先が格納されている宛先フィールドのアドレスと対応付けられている。これを用いて、スイッチ100は、入力されたフレームのMACアドレスから、フロー宛先管理テーブル151aの対応するアドレスに格納されている宛先を取得する。   The flow destination determination unit 121 specifies the destination of each frame using the flow destination management table 151a described later in FIG. 6 based on the input destination MAC address (see FIG. 4) of the frame. That is, the flow destination determination unit 121 extracts the MAC address included in the input frame. At this time, the MAC address of the input frame is associated with the address of the destination field in which the destination of the frame is stored by the flow destination management table 151a. Using this, the switch 100 acquires the destination stored in the corresponding address of the flow destination management table 151a from the MAC address of the input frame.

また、宛先ポートが論理リンク(LAG)の場合は、そのフロー宛先管理テーブル151aにおいて、論理リンクで送信されるフレームの宛先MACアドレスに対応付けたLフィールドに1を設定することで、宛先として論理リンクを指定することができる。これに従い、フロー宛先決定部121は、フレームの宛先MACアドレスに対応付けられたLフィールドに1が設定されている場合、そのフレームの宛先を、指定された論理リンクに決定する。   Also, when the destination port is a logical link (LAG), by setting 1 in the L field associated with the destination MAC address of the frame transmitted on the logical link in the flow destination management table 151a, the logical destination is set. A link can be specified. Accordingly, when 1 is set in the L field associated with the destination MAC address of the frame, the flow destination determination unit 121 determines the destination of the frame as the designated logical link.

なお、フロー宛先管理テーブル151aのアドレスと対応付けるための、フレーム側の情報は、宛先MACアドレスに限らず、VLANタグ(図4参照)が示す値を用いてもよい。   The information on the frame side to be associated with the address of the flow destination management table 151a is not limited to the destination MAC address, and a value indicated by the VLAN tag (see FIG. 4) may be used.

また、宛先MACアドレスまたはVLANタグをフロー宛先管理テーブル151aのアドレスとの対応付けに用いた場合には、フロー宛先管理テーブル151a側のアドレスのビット数が非常に大きくなる。これに基づき、フロー宛先管理テーブル151aに必要なメモリの容量が大きくなってしまう。これに対して、このフロー宛先管理テーブル151aを格納するメモリとして、一般的なSRAM(Static Random Access Memory)およびDRAM(Dainamic Random Access Memory)ではなく、CAM(Content Addressing Memory)を用いてもよい。これにより、宛先MACアドレスまたはVLANタグを直接、フロー宛先管理テーブル151aのアドレスとして用いる必要がなくなり、宛先MACアドレスまたはVLANタグを検索情報(検索キー)として使用することができる。これにより、フロー宛先管理テーブル151a側においてビット数分に対応したメモリ容量のテーブルを持つ必要がなく、フロー宛先管理テーブル151aを格納するメモリの節約になる。   Further, when the destination MAC address or the VLAN tag is used for association with the address of the flow destination management table 151a, the number of bits of the address on the flow destination management table 151a side becomes very large. Based on this, the memory capacity required for the flow destination management table 151a increases. On the other hand, a CAM (Content Addressing Memory) may be used instead of a general SRAM (Static Random Access Memory) and DRAM (Dainamic Random Access Memory) as a memory for storing the flow destination management table 151a. Thereby, it is not necessary to directly use the destination MAC address or VLAN tag as the address of the flow destination management table 151a, and the destination MAC address or VLAN tag can be used as search information (search key). As a result, there is no need to have a memory capacity table corresponding to the number of bits on the flow destination management table 151a side, and the memory for storing the flow destination management table 151a can be saved.

切替決定部122は、障害検出部130による切替指示を検出した場合には、集約管理情報を現用状態を示すものから予備状態を示すものに書き替える。これに基づいて、集約管理情報を参照する振分先決定部124は、フレームが出力される物理リンクを、現用系出力部181、予備系出力部182のうちから決定する。   When the switching determination unit 122 detects a switching instruction from the failure detection unit 130, the switching determination unit 122 rewrites the aggregate management information from indicating the current status to indicating the standby status. Based on this, the distribution destination determination unit 124 that refers to the aggregation management information determines the physical link from which the frame is output from the active output unit 181 and the standby output unit 182.

また、切替決定部122は、集約管理情報を参照して、ハッシュ計算部123にハッシュ計算を行わせる。このとき、切替決定部122は、フレーム部分特定情報に基づいてフレームの全体からフレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いてハッシュ計算部123にハッシュ計算を行わせる。また、切替決定部122は、計算内容情報に基づいて、ハッシュ計算部123にハッシュ計算を行わせる。さらに、切替決定部122は、演算不実行情報を検出した場合には、ハッシュ計算部123にハッシュ計算を行わせることなく、フレームを出力する物理リンクを決定する。   Further, the switching determination unit 122 refers to the aggregation management information and causes the hash calculation unit 123 to perform hash calculation. At this time, the switching determination unit 122 extracts frame part information from the entire frame based on the frame part specifying information, and causes the hash calculation unit 123 to perform hash calculation using the extracted frame part information. Further, the switching determination unit 122 causes the hash calculation unit 123 to perform hash calculation based on the calculation content information. Further, when detecting the operation non-execution information, the switching determination unit 122 determines a physical link that outputs a frame without causing the hash calculation unit 123 to perform hash calculation.

ここで、フレーム部分情報とは、フレームの一部分を構成する情報であり、例えば、フレームに含まれているアドレスを用いることができる。フレーム部分情報として用いるアドレスとは、フレームの送信元の端末装置(または送信元の端末装置が属する集合)や宛先の端末装置(または宛先の端末装置が属する集合)を特定するための情報である。例えば、送信元/宛先のMACアドレス、送信元/宛先のIP(Internet Protocol)アドレス、VLANタグ等である。このフレーム部分情報のフレームにおける位置および範囲を特定するのが、フレーム部分特定情報である。   Here, the frame part information is information constituting a part of the frame, and for example, an address included in the frame can be used. The address used as the frame partial information is information for specifying a frame transmission source terminal device (or a set to which the transmission source terminal device belongs) and a destination terminal device (or a set to which the destination terminal device belongs). . For example, a source / destination MAC address, a source / destination IP (Internet Protocol) address, a VLAN tag, and the like. The frame portion specifying information specifies the position and range of the frame portion information in the frame.

本実施の形態では、このフレーム部分情報であるアドレスと物理リンクとを対応付けるために、例えば、アドレスから計算したハッシュ値と物理リンクが接続された通信ポートのポート番号とを、1対1に対応付けて用いる。   In this embodiment, in order to associate the address, which is the frame part information, with the physical link, for example, the hash value calculated from the address and the port number of the communication port to which the physical link is connected have a one-to-one correspondence. Use with attachment.

ハッシュ計算部123は、フレームの一部を構成するフレーム部分情報に、現用系出力部181および予備系出力部182が有する物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算する。   The hash calculation unit 123 uses a hash function that can take the same number of types of values as the number of physical links included in the active output unit 181 and the standby output unit 182 as frame part information constituting a part of the frame. Calculate the hash value.

ここで、ハッシュ計算は、送出するフレームの、フレーム部分特定情報で特定されたフレーム部分情報を、フレームを送出する論理リンクの、その時点の使用可能なポート数(最大値はN、例えば、8)の値によって割算し、割算した結果の余りの値(0〜N−1、例えば、0〜7)を用いるものとする。また、設定により、送出するフレームのフレーム部分情報を生成多項式で割った値を用いることもできる。   Here, in the hash calculation, the frame part information specified by the frame part specifying information of the frame to be transmitted is converted into the number of ports that can be used at that time of the logical link that transmits the frame (the maximum value is N, for example, 8 ) And the remainder of the result of division (0 to N-1, for example, 0 to 7) is used. Further, depending on the setting, a value obtained by dividing the frame partial information of the frame to be transmitted by the generator polynomial can be used.

振分先決定部124は、フロー宛先決定部121による決定に基づいてフレームが出力される物理ポートを決定する。振分先決定部124は、集約管理情報を参照して、現用状態から予備状態に切り替えるとともに、集約宛先管理情報を参照して、ハッシュ計算部123が計算することによって得られたハッシュ値に基づいて、フレームが出力される物理リンクを決定する。   The distribution destination determination unit 124 determines a physical port to which a frame is output based on the determination by the flow destination determination unit 121. The distribution destination determination unit 124 refers to the aggregate management information to switch from the active state to the standby state, and refers to the aggregate destination management information, based on the hash value obtained by the hash calculation unit 123 calculating. The physical link to which the frame is output is determined.

フレーム廃棄部125は、集約宛先管理情報が有するフレーム廃棄情報が、そのフレームを廃棄することを示す場合にはフレームを廃棄する。これにより、スイッチ100および接続先の動作について試験を行う場合などにおいて、特定の送信先のみ、または特定の送信先以外のみにフレームを送信する場合に、出力するフレームを制限することができる。   The frame discard unit 125 discards the frame when the frame discard information included in the aggregate destination management information indicates that the frame is to be discarded. Thereby, when performing a test about the operation of the switch 100 and the connection destination, it is possible to limit the frames to be output when the frame is transmitted only to a specific transmission destination or only to a specific transmission destination.

障害検出部130は、現用系出力部181を構成する物理リンクの障害の発生を検出するとともに、障害の発生を検出した場合には、切替指示を出力する。
フロー宛先管理情報記憶部151は、フレームが出力される物理リンクを、論理リンクを構成する物理リンクにするか、または論理リンクを構成する物理リンク以外の物理リンクにするかを示すフロー宛先管理情報を記憶する。
The failure detection unit 130 detects the occurrence of a failure in the physical link constituting the active output unit 181 and outputs a switching instruction when the occurrence of the failure is detected.
The flow destination management information storage unit 151 is a flow destination management information indicating whether a physical link from which a frame is output is a physical link constituting a logical link or a physical link other than a physical link constituting a logical link. Remember.

集約管理情報記憶部152は、フレームが現用系出力部181を構成する物理リンクから出力されるかまたは予備系出力部182を構成する物理リンクから出力されるかを示す集約管理情報を記憶する。   The aggregation management information storage unit 152 stores aggregation management information indicating whether a frame is output from a physical link configuring the active system output unit 181 or from a physical link configuring the standby system output unit 182.

また、集約管理情報は、ハッシュ計算部123で行われるハッシュ計算に関する設定を示す。具体的には、集約管理情報は、切替決定部122が、フレームを出力する物理リンクを決定するために、フレーム部分情報を特定するフレーム部分特定情報、ハッシュ計算の計算内容を示す計算内容情報、現用系出力部181および予備系出力部182のそれぞれにおける使用可能な物理リンクの数を示す有効物理リンク数情報、ハッシュ計算を行わないことを示す演算不実行情報を有する。さらに、集約管理情報は、フレームを廃棄するか否かを示すフレーム廃棄情報を有する。   Further, the aggregation management information indicates settings related to hash calculation performed by the hash calculation unit 123. Specifically, the aggregation management information includes frame part specifying information for specifying frame part information, calculation contents information indicating calculation contents of hash calculation, in order for the switching determination unit 122 to determine a physical link that outputs a frame, It has effective physical link number information indicating the number of usable physical links in each of the active output unit 181 and the standby output unit 182, and operation non-execution information indicating that hash calculation is not performed. Further, the aggregate management information includes frame discard information indicating whether to discard the frame.

集約宛先管理情報記憶部153は、フレームが出力される物理リンクを示す集約宛先管理情報を記憶する。ここで、集約宛先管理情報は、詳しくは図8および図9において後述する集約宛先管理テーブル153a,153bを構成して集約宛先管理情報記憶部153に記憶されている。集約宛先管理情報は、現用系出力部181の物理リンクを特定する現用系物理リンク情報および予備系出力部182の物理リンクを特定する予備系物理リンク情報を有する。ここで、物理リンクは、現用系出力部181および予備系出力部182が有する各ポート(例えば、ポート#0,・・・,ポート#7など)である。さらに、集約宛先管理情報は、ハッシュ計算部123によって計算される各ハッシュ値と、現用系物理リンク情報が示す各物理リンクとが対応付けられているとともに、ハッシュ計算部123によって計算される各ハッシュ値と、予備系物理リンク情報が示す各物理リンクとが対応付けられている。   The aggregate destination management information storage unit 153 stores aggregate destination management information indicating a physical link to which a frame is output. Here, the aggregated destination management information is stored in the aggregated destination management information storage unit 153 by configuring aggregated destination management tables 153a and 153b described later in detail with reference to FIGS. The aggregate destination management information includes working physical link information that identifies the physical link of the working output unit 181 and standby physical link information that identifies the physical link of the standby output unit 182. Here, the physical link is each port (for example, port # 0,..., Port # 7, etc.) that the active output unit 181 and the standby output unit 182 have. Further, the aggregate destination management information is associated with each hash value calculated by the hash calculation unit 123 and each physical link indicated by the working physical link information, and each hash calculated by the hash calculation unit 123 The value is associated with each physical link indicated by the standby physical link information.

集約宛先管理情報記憶部153は、デュアルポート(Dual Port)メモリで構成されている。また、物理リンク特定情報は、集約宛先管理情報記憶部153において記憶されているアドレスの一部が現用系出力部181および予備系出力部182と対応付けられるとともに、アドレスの他の一部が物理リンクと対応付けられている。   The aggregated destination management information storage unit 153 is configured by a dual port memory. Further, in the physical link specifying information, a part of the address stored in the aggregated destination management information storage unit 153 is associated with the active system output unit 181 and the standby system output unit 182, and the other part of the address is a physical address. Associated with a link.

現用系出力部181は、論理リンクを構成する物理リンクのうちの一部の物理リンクから構成される。また、予備系出力部182は、論理リンクを構成する物理リンクのうちの現用系出力部181を構成する物理リンク以外の物理リンクのうちの、一部またはすべての物理リンクから構成される。現用系出力部181を構成する物理リンクの数と予備系出力部182を構成する物理リンクの数とは同一(例えば、8個)である。ここでは、現用系出力部181および予備系出力部182は、8個の通信ポートを持ち、合わせて16個の通信ポートによって一つの論理リンクを構成している。   The active output unit 181 is configured by a part of physical links among the physical links that constitute the logical link. The standby output unit 182 includes a part or all of the physical links of the physical links other than the physical links forming the active output unit 181 among the physical links forming the logical link. The number of physical links configuring the active system output unit 181 and the number of physical links configuring the standby system output unit 182 are the same (for example, 8). Here, the working system output unit 181 and the standby system output unit 182 have 8 communication ports, and a total of 16 communication ports constitute one logical link.

端末装置40は、スイッチ100と通信可能に接続され、当該スイッチ100と通信して得た情報を表示することができる。スイッチ100は、端末装置40と通信可能な通信部140を有する。端末装置40は、スイッチ100との間で、通信部140を介した通信により集約宛先管理情報および集約宛先統計情報とを取得することができる。そして、端末装置40は、取得した集約宛先管理情報と、集約宛先統計情報とを表示可能な図示しない表示部を有する。   The terminal device 40 is communicably connected to the switch 100 and can display information obtained by communicating with the switch 100. The switch 100 includes a communication unit 140 that can communicate with the terminal device 40. The terminal device 40 can acquire the aggregated destination management information and the aggregated destination statistical information by communication with the switch 100 via the communication unit 140. The terminal device 40 includes a display unit (not shown) that can display the acquired aggregate destination management information and the aggregate destination statistical information.

また、スイッチ100は、図3に示した複数(例えば、4つ)のインタフェースカード102a,102b,102c,102dによって構成されている。ここでは、フレームが入力されるインタフェースカードを入力カード(例えば、インタフェースカード102a)とし、フレームが出力されるインタフェースカードを出力カード(例えば、インタフェースカード102b,102c)とするが、各インタフェースカードは、機能的には同一であり、それぞれのカードにおいてフレームの入力および出力が可能である。すなわち、スイッチ100は、入力部110、振分部120、障害検出部130として機能する入力カードと、現用系出力部181および予備系出力部182としてそれぞれ機能する2つの出力カードとによって、入力されたフレームを他のスイッチなどに出力する。   The switch 100 includes a plurality of (for example, four) interface cards 102a, 102b, 102c, and 102d shown in FIG. Here, an interface card to which a frame is input is an input card (for example, interface card 102a), and an interface card to which a frame is output is an output card (for example, interface cards 102b and 102c). It is functionally the same, and frames can be input and output on each card. That is, the switch 100 is input by an input card that functions as the input unit 110, the distribution unit 120, and the failure detection unit 130, and two output cards that respectively function as the active output unit 181 and the standby output unit 182. Output the frame to another switch.

スイッチ100は、上記の物理リンクを複数有する出力カード(例えば、現用系出力部181および予備系出力部182)を用いて、論理リンクを複数用いて通信することもできる。振分部120は、それぞれの論理リンクについて、その論理リンクを1つの出力カードの物理リンクで構成するか、または複数の出力カードを構成する物理リンクで構成するかを任意に設定可能である。この設定に基づいて、スイッチ100の論理リンクは、1つの出力カードを構成する物理リンクで構成可能であるとともに、複数の出力カードを構成する物理リンクで構成可能である。   The switch 100 can also communicate using a plurality of logical links by using an output card (for example, the active system output unit 181 and the standby system output unit 182) having a plurality of physical links. For each logical link, the allocating unit 120 can arbitrarily set whether the logical link is configured by a physical link of one output card or a physical link that configures a plurality of output cards. Based on this setting, the logical link of the switch 100 can be composed of physical links that constitute one output card, and can be composed of physical links that constitute a plurality of output cards.

本実施の形態では、例えば、インタフェースカード102a,102b,102c,102dのように、それぞれが複数の通信ポートを持つインタフェースカードを複数用いて、物理リンクを集約して構成した論理リンクが構成される。このとき、各通信ポートが物理リンクとして通信が行われる。すなわち、この論理リンクは、複数のポートを持つ複数のインタフェースで構成される。   In the present embodiment, for example, a logical link configured by aggregating physical links is configured by using a plurality of interface cards each having a plurality of communication ports, such as the interface cards 102a, 102b, 102c, and 102d. . At this time, each communication port communicates as a physical link. That is, this logical link is composed of a plurality of interfaces having a plurality of ports.

本実施の形態では、例えば、N個(例えば、8個)のポートを持つ2枚のカードを使用して、2×Nポートの論理リンクを構成する。この一方のインタフェースカードのN個のポートを現用系インタフェースカードとして通信に使用し、もう一方のインタフェースカードのN個のポートを予備系インタフェースカードとして、待機状態にしておくことにより、インタフェース間に冗長性を持たせる。これを、各インタフェースカードのポート(物理リンク)数から、N:Nリンク構成という。   In the present embodiment, for example, a 2 × N port logical link is configured by using two cards having N (for example, 8) ports. By using the N ports of the one interface card as a working interface card for communication, and setting the N ports of the other interface card as a standby interface card in a standby state, redundancy is achieved between the interfaces. Give sex. This is called an N: N link configuration from the number of ports (physical links) of each interface card.

このとき、この論理リンクにおいて、ユーザが通信に使用できるポート数はNポートである。現用系インタフェースカードの障害時には、この現用系インタフェースカードのポートを未使用状態に変更するとともに、予備系インタフェースカードのN個のポートを未使用状態から使用可能状態へ変更することで、使用するインタフェースカードの切替を行う。これにより、障害発生時にもN個のポートによる論理リンクを継続して提供可能である。また、障害が発生した現用系インタフェースカードの交換時にも、交換による通信への影響を防止するものである。   At this time, in this logical link, the number of ports that the user can use for communication is N ports. In the event of a failure of the working interface card, the port of the working interface card is changed to an unused state, and the N ports of the standby interface card are changed from the unused state to the usable state, thereby using the interface to be used. Switch cards. Thereby, it is possible to continue to provide logical links with N ports even when a failure occurs. In addition, even when the working interface card in which a failure has occurred is replaced, the influence on the communication due to the replacement is prevented.

図6は、第1の実施の形態のフロー宛先管理テーブルのデータ構造例を示す図である。図6に示すフロー宛先管理テーブル151aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、フロー宛先管理情報記憶部151として機能する。フロー宛先管理テーブル151aは、各フレームの送出先であるリンクが論理リンクを構成するものであるか否かを示すテーブルである。フロー宛先管理テーブル151aには、そのフレームを送出する宛先ポートが論理リンクを構成しているか否かを示す“L”フィールド、およびフレームが出力される宛先を示す“宛先”フィールドが設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。   FIG. 6 is a diagram illustrating a data structure example of the flow destination management table according to the first embodiment. The flow destination management table 151 a illustrated in FIG. 6 is stored in the table storage memory 104. The table storage memory 104 functions as the flow destination management information storage unit 151. The flow destination management table 151a is a table indicating whether or not a link that is a transmission destination of each frame constitutes a logical link. The flow destination management table 151a is provided with an “L” field indicating whether or not a destination port to which the frame is transmitted constitutes a logical link, and a “destination” field indicating a destination to which the frame is output. . Information arranged in the horizontal direction of each field is associated with each other.

Lフィールドには、フレームの宛先ポートが論理リンクを構成しているか否かを示す情報が設定される。具体的には、フレームの宛先ポートが論理リンクではない場合、“0”が設定される。一方、フレームの宛先ポートが論理リンクである場合、“1”が設定される。   Information indicating whether the destination port of the frame constitutes a logical link is set in the L field. Specifically, when the destination port of the frame is not a logical link, “0” is set. On the other hand, when the destination port of the frame is a logical link, “1” is set.

宛先フィールドには、フレームの宛先が論理リンクである場合、図7において後述するLAG番号が設定される。一方、フレームの宛先ポートが論理リンクでない場合、そのフレームを送信するインタフェースカードを示す宛先カード名、およびポート番号を示す情報が設定される。   In the destination field, when the destination of the frame is a logical link, a LAG number described later in FIG. 7 is set. On the other hand, when the destination port of the frame is not a logical link, information indicating the destination card name indicating the interface card that transmits the frame and the port number is set.

フロー宛先管理テーブル151aは、スイッチ100の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。
図7は、第1の実施の形態の集約管理テーブルのデータ構造例を示す図である。図7に示す集約管理テーブル152aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約管理情報記憶部152として機能する。集約管理テーブル152aは、各フレームが送出される論理リンクを決定するためのテーブルである。集約管理テーブル152aには、各リンクが有効であるか否かを示す“V”フィールド、リンク集約の宛先の振分を行うためのLAG番号を示す“LAG番号”フィールド、フレームを送出する論理リンクが現用系であるか予備系であるかを示す“SEL”フィールド、フレームの振分において後述するハッシュ計算を行うか否かを示す“NH”フィールド、ハッシュ計算を行う際にハッシュ計算の対象とする値を示す“HT”フィールド、ハッシュ計算のルールを示す“HR”フィールド、現用系の論理リンクにおける使用可能なポート数、またはNHフィールドに基づいてハッシュ計算を行わない場合の現用系の論理リンクにおける送出ポートを示す“現用AP”フィールド、および予備系の論理リンクにおける使用可能なポート数、またはNHフィールドに基づいてハッシュ計算を行わない場合の予備系の論理リンクにおける送出ポートを示す“予備AP”フィールドが設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。
The flow destination management table 151 a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 100.
FIG. 7 illustrates an exemplary data structure of the aggregation management table according to the first embodiment. The aggregation management table 152 a illustrated in FIG. 7 is stored in the table storage memory 104. The table storage memory 104 functions as the aggregate management information storage unit 152. The aggregation management table 152a is a table for determining a logical link to which each frame is transmitted. The aggregation management table 152a includes a “V” field indicating whether each link is valid, a “LAG number” field indicating a LAG number for allocating a link aggregation destination, and a logical link for transmitting a frame. "SEL" field indicating whether the current system is the active system or the standby system, "NH" field indicating whether or not to perform hash calculation (to be described later) in frame allocation, and the object of hash calculation when performing hash calculation "HT" field indicating the value to be performed, "HR" field indicating the rule of hash calculation, the number of ports that can be used in the logical link of the active system, or the logical link of the active system when hash calculation is not performed based on the NH field The “working AP” field indicating the transmission port in the network, and the number of ports that can be used in the standby logical link. It is "pre-AP" field indicates a delivery port in the logical link in the backup of the case without a hash computed based on NH field is provided. Information arranged in the horizontal direction of each field is associated with each other.

V(Valid)フィールドには、スイッチ100による各リンクが有効であるか否かを示す情報が設定される。リンクが有効であれば、“0”が設定される。一方、スイッチ、各インタフェースまたはリンク集約に障害が発生している場合など、リンクが無効であれば、“1”が設定される。   In the V (Valid) field, information indicating whether each link by the switch 100 is valid is set. If the link is valid, “0” is set. On the other hand, if the link is invalid, such as when a failure occurs in the switch, each interface, or link aggregation, “1” is set.

LAG番号フィールドには、リンク集約の宛先の振分を行うためのLAG番号が設定される。このLAG番号に従って、集約管理テーブル152aに予め設定されたリンク集約の振分のパターンのうち、いずれの振分を行うかが決定される。   In the LAG number field, a LAG number for assigning link aggregation destinations is set. According to the LAG number, it is determined which of the link aggregation distribution patterns preset in the aggregation management table 152a is to be allocated.

SEL(Selector)フィールドには、フレームを送出する論理リンクが現用系であるか予備系であるかを示す情報が設定される。具体的には、現用系の論理リンクでフレームを送出する場合には、“0”が設定される。一方、現用系の論理リンクに障害が発生し、現用系の論理リンクから予備系の論理リンクに切り替え、予備系の論理リンクでフレームを送出する場合には、上記の“0”から“1”に書き替えて設定される。   In the SEL (Selector) field, information indicating whether a logical link for transmitting a frame is an active system or a standby system is set. Specifically, “0” is set when a frame is transmitted through the working logical link. On the other hand, when a failure occurs in the active logical link, the active logical link is switched to the standby logical link, and a frame is transmitted on the standby logical link, the above "0" to "1" Rewritten to be set.

NH(No Hash)フィールドには、フレームの振分においてハッシュ計算を行うか否かを示す情報が設定される。具体的には、フレームの振分においてハッシュ計算を行う場合には、“0”が設定される。一方、フレームの振分においてハッシュ計算を行わない場合には、“1”が設定される。   In the NH (No Hash) field, information indicating whether or not hash calculation is performed in frame allocation is set. Specifically, “0” is set when hash calculation is performed in the distribution of frames. On the other hand, when hash calculation is not performed in the distribution of frames, “1” is set.

HT(Hash Target)フィールドには、ハッシュ計算を行う際にハッシュ計算の対象とする値が設定される。具体的には、ハッシュ計算の対象とする値をフレームのMACアドレスとする場合には、“0”が設定される。また、ハッシュ計算の対象とする値をフレームのVLAN IDとする場合には、“1”が設定される。また、ハッシュ計算の対象とする値をIPアドレスとする場合には、“2”が設定される。   In the HT (Hash Target) field, a value to be subjected to hash calculation when hash calculation is performed is set. Specifically, “0” is set when the value to be subjected to hash calculation is the MAC address of the frame. Also, “1” is set when the value for hash calculation is the VLAN ID of the frame. Also, “2” is set when the value targeted for hash calculation is an IP address.

HR(Hash Rule)フィールドには、ハッシュ計算のルールを示す情報が設定される。具体的には、対象となる値を後述するActive Port数で割った余りをハッシュ値とするハッシュ計算を行う場合には、“0”が設定される。対象となる値を生成多項式で割った余りをハッシュ値とするハッシュ計算を行う場合には、“1”が設定される。   Information indicating a rule for hash calculation is set in an HR (Hash Rule) field. Specifically, “0” is set when hash calculation is performed using a remainder obtained by dividing a target value by the number of Active Ports described later as a hash value. When hash calculation is performed using a remainder obtained by dividing a target value by a generator polynomial as a hash value, “1” is set.

現用AP(Active Port)フィールドには、現用系の論理リンクにおける使用可能なポート数、またはNHフィールドに基づいてハッシュ計算を行わない場合の現用系の論理リンクにおける送出ポートを示す情報が設定される。具体的には、原則として、その時点において現用系の論理リンクにおける使用可能なポート数が設定される。NHフィールドの設定値が1の場合には、現用系の論理リンクにおいてフレームが送出されるポートを示す集約宛先管理テーブル153aのHVフィールドの値(または集約宛先管理テーブル153bのアドレス)が直接設定される。   In the active AP (Active Port) field, information indicating the number of ports that can be used in the working logical link or the transmission port in the working logical link when hash calculation is not performed based on the NH field is set. . Specifically, in principle, the number of ports that can be used in the working logical link at that time is set. When the setting value of the NH field is 1, the value of the HV field of the aggregate destination management table 153a (or the address of the aggregate destination management table 153b) indicating the port to which the frame is transmitted in the working logical link is directly set. The

予備APフィールドには、予備系の論理リンクにおける使用可能なポート数、またはNHフィールドに基づいてハッシュ計算を行わない場合の予備系の論理リンクにおける送出ポートを示す情報が設定される。具体的には、原則として、その時点において予備系の論理リンクにおける使用可能なポート数が設定される。NHフィールドの設定値が1の場合には、予備系の論理リンクにおいてフレームが送出されるポートを示す集約宛先管理テーブル153aのHVフィールドの値(または集約宛先管理テーブル153bのアドレス)が直接設定される。   In the backup AP field, information indicating the number of ports that can be used in the backup logical link or the transmission port in the backup logical link when hash calculation is not performed based on the NH field is set. Specifically, in principle, the number of ports that can be used in the backup logical link at that time is set. When the setting value of the NH field is 1, the value of the HV field of the aggregate destination management table 153a (or the address of the aggregate destination management table 153b) indicating the port to which the frame is transmitted in the backup logical link is directly set. The

具体的には、集約管理テーブル152aの上から3行目に示す例では、NHフィールドの設定値が“0”であって、ハッシュ計算部123によってハッシュ計算が行われる。そして、このハッシュ計算の結果に応じて論理リンクで出力される。このときの現用APの値“8”は、現在の現用系の論理リンクにおける使用可能なポート数を示している。物理リンクに障害が発生して使用可能なポート数が減少した場合には、障害検出部130によって、この値も減少させるように書き替えられる。一方、集約管理テーブル152aの上から4行目に示す例では、NHフィールドの設定値が“1”である。この場合には、ハッシュ計算部123によるハッシュ計算は行われずに、論理リンクを構成する物理ポートから出力される。このときの現用APの値“3”は、現在の現用系の論理リンクにおける物理リンクのポートを示している。現用APについて説明したが、予備APについても同様である。   Specifically, in the example shown in the third line from the top of the aggregation management table 152a, the setting value of the NH field is “0”, and the hash calculation unit 123 performs the hash calculation. Then, it is output by a logical link according to the result of this hash calculation. The value “8” of the working AP at this time indicates the number of ports that can be used in the current working logical link. When a failure occurs in the physical link and the number of usable ports decreases, the failure detection unit 130 rewrites the value so as to decrease this value. On the other hand, in the example shown in the fourth line from the top of the aggregation management table 152a, the setting value of the NH field is “1”. In this case, the hash calculation by the hash calculation unit 123 is not performed, but is output from the physical ports constituting the logical link. The value “3” of the working AP at this time indicates the port of the physical link in the current working logical link. Although the working AP has been described, the same applies to the backup AP.

集約管理テーブル152aは、スイッチ100の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。また、集約管理テーブル152aは、現用系および予備系の論理リンクにおける使用可能なポート数の変化に応じて、設定値が変化する。   The aggregation management table 152 a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 100. In the aggregation management table 152a, the setting value changes according to the change in the number of usable ports in the active and standby logical links.

また、現用系出力部181の通信ポートに障害が発生して、予備系出力部182へ論理リンクの切替を行う場合は、集約管理テーブル152aのSELフィールドを“0”から“1”に書き替えるとともに、現用APフィールドもその時点で使用可能なポート数(Active port数、例えば、7)から、次に運用系となる予備系出力部182のその時点で使用可能なポート数(例えば、8)に書き替える。   When a failure occurs in the communication port of the active output unit 181 and the logical link is switched to the standby output unit 182, the SEL field of the aggregation management table 152a is rewritten from “0” to “1”. In addition, the number of ports that can be used at that time of the standby output unit 182 that will be the next active system from the number of ports that can be used at that time (the number of active ports, for example, 7) in the active AP field. Rewrite as

このように、集約管理テーブル152aに現用APと予備APを設けて、現用系出力部181と予備系出力部182のそれぞれに対してActive port数の設定を可能とすることにより、現用系出力部181から予備系出力部182への切替時にAPフィールドの書き替えの手間を省くことが可能となる。   In this way, the active AP and the standby AP are provided in the aggregation management table 152a, and the active system output unit can be set for each of the active system output unit 181 and the standby system output unit 182. It is possible to save the trouble of rewriting the AP field when switching from 181 to the standby output unit 182.

図8は、第1の実施の形態の集約宛先管理テーブルのデータ構造例を示す図である。図8に示す集約宛先管理テーブル153aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約宛先管理情報記憶部153として機能する。集約宛先管理テーブル153aは、論理リンクにおける各フレームが送出される通信ポートである宛先ポートを示すテーブルである。集約宛先管理テーブル153aには、フレームに割り当てられたハッシュ値と、フレームが送出される宛先ポートとの対応関係を示す“HV”フィールド、現用系の論理リンクにおける宛先ポートを示す“現用DP”フィールド、および予備系の論理リンクにおける宛先ポートを示す“予備DP”フィールドが設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。   FIG. 8 is a diagram illustrating a data structure example of the aggregated destination management table according to the first embodiment. The aggregated destination management table 153a shown in FIG. 8 is stored in the table storage memory 104. The table storage memory 104 functions as the aggregate destination management information storage unit 153. The aggregated destination management table 153a is a table indicating a destination port that is a communication port to which each frame in the logical link is transmitted. In the aggregated destination management table 153a, the “HV” field indicating the correspondence between the hash value assigned to the frame and the destination port to which the frame is transmitted, and the “working DP” field indicating the destination port in the working logical link , And a “spare DP” field indicating the destination port in the backup logical link. Information arranged in the horizontal direction of each field is associated with each other.

HVフィールド(Hash Value)には、フレームに割り当てられたハッシュ値と、フレームが送出される通信ポートとの対応関係を示す値が設定される。
現用DP(Destination Port)フィールドには、現用系の論理リンクにおいてフレームが送信される通信ポートである宛先ポートを一意に識別する情報が設定される。
In the HV field (Hash Value), a value indicating the correspondence between the hash value assigned to the frame and the communication port to which the frame is transmitted is set.
In the working DP (Destination Port) field, information for uniquely identifying a destination port which is a communication port to which a frame is transmitted in the working logical link is set.

予備DPフィールドには、予備系の論理リンクにおいてフレームが送信される通信ポートである宛先ポートを一意に識別する情報が設定される。
集約宛先管理テーブル153aは、スイッチ100の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。
Information for uniquely identifying a destination port which is a communication port to which a frame is transmitted in the backup logical link is set in the backup DP field.
The aggregate destination management table 153 a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 100.

以上に示すように、第1の実施の形態によれば、障害発生時に集約管理テーブル152aのSELフィールドのみを書き替えることのみによって、現用系から予備系へ高速に切り替えることができる。   As described above, according to the first embodiment, it is possible to switch from the active system to the standby system at high speed only by rewriting only the SEL field of the aggregation management table 152a when a failure occurs.

また、論理リンク単位でHTフィールドに任意の値を設定することにより、特定のフレームフィールドをハッシュ計算の対象とすることができる。これにより、リンク集約のハッシュ計算について、演算対象となるフレームのフィールドを選択可能とすることで、フレームの振分の自由度を高めることができる。   In addition, by setting an arbitrary value in the HT field in units of logical links, a specific frame field can be targeted for hash calculation. Thereby, it is possible to increase the degree of freedom of frame allocation by making it possible to select the field of the frame to be calculated for link aggregation hash calculation.

また、NHフィールドによって、リンク集約のハッシュ計算を行わず、振分先を1つに集約させることを選択することができる。
また、リンク集約単位でHRフィールドに任意の値を設定してハッシュ計算の計算方法を選択することができる。
In addition, the NH field can be selected to aggregate the distribution destinations into one without performing the link aggregation hash calculation.
In addition, it is possible to select a calculation method for hash calculation by setting an arbitrary value in the HR field in the link aggregation unit.

また、現用系と予備系のそれぞれに対して、その時点で使用可能なポート数の設定を可能とする。これにより、ポートに障害が発生しても、リンクに要求されている帯域に応じたポート数を満たしている場合には、論理リンクの切り替えを行わず、さらにポートに障害が発生して、リンクに要求されている帯域を満たさなくなってから、論理リンクを切り替えることができる。   In addition, the number of ports that can be used at that time can be set for each of the active system and the standby system. As a result, even if a failure occurs in the port, if the number of ports corresponding to the bandwidth required for the link is satisfied, the logical link is not switched and a failure occurs in the port. The logical link can be switched after the required bandwidth is not satisfied.

また、フレーム廃棄部125がフレームを廃棄することにより、論理リンクを構成するすべての出力部、すべてのポートに障害が発生した場合、または、スイッチ100に障害が発生した場合などに、不必要にスイッチ100からフレームが送信されてしまうことを防止でき、スイッチ内部でのフレームの送受信処理の負荷低減を行うことが可能となる。   Further, when the frame discarding unit 125 discards the frame, when all the output units and all the ports constituting the logical link have failed, or when the switch 100 has failed, it is unnecessary. It is possible to prevent frames from being transmitted from the switch 100, and it is possible to reduce the load of frame transmission / reception processing within the switch.

また、通信部140がスイッチ100の稼動状況を示すデータを端末装置40に出力することにより、ネットワーク保守者、シムテム保守者は論理リンクの運用状態を常に監視・制御することが可能となり、スイッチ100を用いたネットワーク通信の信頼性を高めることが可能となる。   Further, when the communication unit 140 outputs data indicating the operation status of the switch 100 to the terminal device 40, the network maintenance person and the shim system maintenance person can always monitor and control the operation state of the logical link. It becomes possible to improve the reliability of network communication using the.

<第1の実施の形態の変形例>
次に、第1の実施の形態の変形例について説明する。上記の第1の実施の形態との相違点を中心に説明し、同様の事項については同一の符号を用いるとともに説明を省略する。本変形例のスイッチは、集約宛先管理テーブル153bにおいて、異なるアドレス内に現用DPと予備DPを格納している点で異なる。
<Modification of the first embodiment>
Next, a modification of the first embodiment will be described. Differences from the first embodiment will be mainly described, and the same reference numerals are used for the same matters, and descriptions thereof are omitted. The switch of this modification is different in that the working DP and the backup DP are stored in different addresses in the aggregate destination management table 153b.

集約宛先管理テーブルの同一アドレス内に現用DPと予備DPが格納されている場合、テーブルのメモリ容量を効率的に使用することが可能であるが、現用系が運用系である状態において、フレーム入力に基づいて集約宛先管理テーブルが常にアクセスされているときに、設定用フレームを入力して非運用系である予備系のDP設定や変更等を行ったとき、入力パケットからのアクセスと予備系設定用フレームのアクセスとが同時に発生するアクセス衝突(競合)が発生する可能性がある。この場合、このアクセス衝突を回避するアクセス調停の制御回路を追加する必要があり、回路の複雑化、および装置のコストの上昇を引き起こすことになる。   When the working DP and the spare DP are stored in the same address of the aggregate destination management table, it is possible to efficiently use the memory capacity of the table, but when the working system is the active system, the frame input When the aggregated destination management table is always accessed based on the settings, when the setting frame is input and DP setting or change of the non-active system is performed, access from the input packet and the standby system setting are performed. There is a possibility that an access collision (contention) that occurs at the same time as the access of the frame for use occurs. In this case, it is necessary to add an access arbitration control circuit for avoiding this access collision, resulting in a complicated circuit and an increase in the cost of the apparatus.

図9は、第1の実施の形態の変形例における集約宛先管理テーブルのデータ構造例を示す図である。本変形例では、図9に示すように、集約宛先管理テーブル153bを現用DPと予備DPで別のアドレスに割り当て、それぞれに別個の領域を与える。それぞれの領域のアドレスは、図7の集約管理テーブル152aのSELフィールドの値と図中のハッシュ計算の結果の値がビット結合した値を割り当てる。   FIG. 9 is a diagram illustrating an example of the data structure of the aggregated destination management table in the modification of the first embodiment. In this modification, as shown in FIG. 9, the aggregated destination management table 153b is assigned to different addresses for the working DP and the backup DP, and a separate area is given to each. As the address of each area, a value obtained by bit-combining the value of the SEL field of the aggregation management table 152a in FIG. 7 and the value of the hash calculation result in the figure is assigned.

また、図中の集約宛先管理テーブル153bは、デュアルポートメモリに格納される。例えば、予備DPにおいて、予備系出力部182のポート#7は、SELフィールドの値“1”と、集約宛先管理テーブル153bにおけるDPのアドレス“7”がビット結合されて、16進数表記では“0x17”となっている。集約宛先管理テーブル153bでは、このアドレスが、フレームに割り当てられたハッシュ値と、フレームが送出される通信ポートとの関係を対応付けている。ここで、デュアルポートメモリは、データの入出力のためのポートが二つ設けられているメモリである。一方のポートからデータを読み出している間に、他方のポートからデータを書き込むことが可能である。これにより、高速にデータの読み書きを行うことができる。これにより、現用DPと予備DPとを、異なるアドレスに割り当てることにより、非運用系側の設定変更や登録を運用状態においてもアクセス衝突を引き起こすことなく提供することを可能とする。   Also, the aggregated destination management table 153b in the figure is stored in the dual port memory. For example, in the spare DP, the port # 7 of the standby output unit 182 is bit-coupled with the value “1” of the SEL field and the DP address “7” in the aggregate destination management table 153b, and is “0x17” in hexadecimal notation. It has become. In the aggregate destination management table 153b, this address associates the relationship between the hash value assigned to the frame and the communication port to which the frame is transmitted. Here, the dual port memory is a memory provided with two ports for data input / output. While reading data from one port, it is possible to write data from the other port. Thereby, data can be read and written at high speed. Thus, by assigning the working DP and the spare DP to different addresses, it is possible to provide setting changes and registration on the non-operating system side without causing access collision even in the operating state.

図9に示す集約宛先管理テーブル153bは、テーブル記憶メモリ104に格納されている。集約宛先管理テーブル153bは、集約宛先管理テーブル153aと同様、論理リンクにおける各フレームが送出される通信ポートである宛先ポートを示すテーブルである。集約宛先管理テーブル153bには、上記のアドレスでフレームのハッシュ値と対応付けられた、現用系または予備系の論理リンクにおける宛先ポートを一意に識別する情報が格納されている。集約宛先管理テーブル153bは、スイッチ100の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。   The aggregated destination management table 153 b shown in FIG. 9 is stored in the table storage memory 104. Similar to the aggregated destination management table 153a, the aggregated destination management table 153b is a table indicating a destination port that is a communication port to which each frame in the logical link is transmitted. The aggregated destination management table 153b stores information for uniquely identifying the destination port in the working or protection logical link associated with the hash value of the frame at the above address. The aggregate destination management table 153 b is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 100.

以上に示すように、本変形例によれば、集約宛先管理テーブル153bにおいて、現用DPと予備DPとを異なるアドレスを持つ領域に割り当てることにより、非運用系側の設定変更や登録を、運用状態においてもアクセス衝突を引き起こすことなく行うことができる。   As described above, according to the present modification, in the aggregated destination management table 153b, by assigning the active DP and the spare DP to areas having different addresses, the setting change or registration on the non-operating system side is performed. Can be performed without causing access collision.

[第2の実施の形態]
次に、第2の実施の形態について説明する。上記の第1の実施の形態との相違点を中心に説明し、同様の事項については同一の符号を用いるとともに説明を省略する。
[Second Embodiment]
Next, a second embodiment will be described. Differences from the first embodiment will be mainly described, and the same reference numerals are used for the same matters, and descriptions thereof are omitted.

第2の実施の形態は、振分部220の有する統計情報書込部226が、各物理リンクから出力されたフレームの数の集計結果を集約宛先統計情報記憶部254に書き込んで記憶させる点で、第1の実施の形態と異なる。   The second embodiment is that the statistical information writing unit 226 of the distribution unit 220 writes and stores the total result of the number of frames output from each physical link in the aggregate destination statistical information storage unit 254. This is different from the first embodiment.

以下に、本実施の形態における振分部220について説明する。図10は、第2の実施の形態の振分部の機能を示すブロック図である。
本実施の形態の振分部220は、フロー宛先決定部121、切替決定部122、ハッシュ計算部123、振分先決定部124、フレーム廃棄部125に加えて、各物理リンクから出力されるフレームの数を集計するために、統計情報書込部226を有する。また、本実施の形態の図示しないスイッチは、第1の実施の形態のスイッチ100と同様、図示しない入力部、振分部220、障害検出部130、通信部140、フロー宛先管理情報記憶部151、集約管理情報記憶部152、集約宛先管理情報記憶部153、現用系出力部181、予備系出力部182の他、各物理リンクから出力されるフレームの数の集計結果を記憶するために、集約宛先統計情報記憶部254を有する。
Below, the distribution part 220 in this Embodiment is demonstrated. FIG. 10 is a block diagram illustrating functions of the distribution unit according to the second embodiment.
In addition to the flow destination determination unit 121, the switching determination unit 122, the hash calculation unit 123, the distribution destination determination unit 124, and the frame discard unit 125, the distribution unit 220 according to this embodiment includes a frame output from each physical link. The statistical information writing unit 226 is included. Further, the switch (not shown) of the present embodiment is similar to the switch 100 of the first embodiment, and includes an input unit (not shown), a distribution unit 220, a failure detection unit 130, a communication unit 140, and a flow destination management information storage unit 151. In addition to the aggregate management information storage unit 152, the aggregate destination management information storage unit 153, the active system output unit 181, the standby system output unit 182, in order to store the aggregate result of the number of frames output from each physical link, A destination statistical information storage unit 254 is included.

入力部は、第1の実施の形態の入力部110と同様、本実施の形態のスイッチによって他のスイッチおよび端末装置などの通信機器に転送されるフレームが入力される。
振分部220は、第1の実施の形態の振分部120と同様、集約宛先管理情報記憶部153に集約宛先管理テーブルとして記憶されている集約宛先管理情報を参照して、入力部110によって入力されたフレームが出力される物理リンクを、論理リンクを構成する物理リンクのうちのいずれかの物理リンクに決定する。
Similarly to the input unit 110 of the first embodiment, the input unit receives a frame transferred to a communication device such as another switch or a terminal device by the switch of the present embodiment.
The distribution unit 220 refers to the aggregated destination management information stored as the aggregated destination management table in the aggregated destination management information storage unit 153 by the input unit 110 as in the case of the allocated unit 120 of the first embodiment. The physical link from which the input frame is output is determined as one of the physical links that constitute the logical link.

フロー宛先決定部121は、第1の実施の形態と同様、フロー宛先管理情報記憶部151に記憶されているフロー宛先管理情報を参照して、フレームが出力される物理リンクを、論理リンクを構成する物理リンク、または論理リンクを構成する物理リンク以外の物理リンク(図示省略)のうちの一つの物理リンクのうちいずれかに決定する。   As in the first embodiment, the flow destination determination unit 121 refers to the flow destination management information stored in the flow destination management information storage unit 151 and configures the physical link from which the frame is output as a logical link. Or one of the physical links (not shown) other than the physical links constituting the logical link.

切替決定部122は、第1の実施の形態と同様、障害検出部130による切替指示を検出した場合には、集約管理情報を現用状態を示すものから予備状態を示すものに書き替える。これに基づいて、集約管理情報を参照する振分先決定部124は、フレームが出力される物理リンクを、現用系出力部181、予備系出力部182のうちから決定する。また、切替決定部122は、集約管理情報を参照して、ハッシュ計算部123にハッシュ計算を行わせる。このとき、切替決定部122は、フレーム部分特定情報に基づいてフレームの全体からフレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いてハッシュ計算部123にハッシュ計算を行わせる。また、切替決定部122は、計算内容情報に基づいて、ハッシュ計算部123にハッシュ計算を行わせる。さらに、切替決定部122は、演算不実行情報を検出した場合には、ハッシュ計算部123にハッシュ計算を行わせることなく、フレームを出力する物理リンクを決定する。   Similar to the first embodiment, the switching determination unit 122 rewrites the aggregate management information from the active state to the standby state when detecting a switching instruction from the failure detection unit 130. Based on this, the distribution destination determination unit 124 that refers to the aggregation management information determines the physical link from which the frame is output from the active output unit 181 and the standby output unit 182. Further, the switching determination unit 122 refers to the aggregation management information and causes the hash calculation unit 123 to perform hash calculation. At this time, the switching determination unit 122 extracts frame part information from the entire frame based on the frame part specifying information, and causes the hash calculation unit 123 to perform hash calculation using the extracted frame part information. Further, the switching determination unit 122 causes the hash calculation unit 123 to perform hash calculation based on the calculation content information. Further, when detecting the operation non-execution information, the switching determination unit 122 determines a physical link that outputs a frame without causing the hash calculation unit 123 to perform hash calculation.

ハッシュ計算部123は、第1の実施の形態と同様、フレームの一部を構成するフレーム部分情報に、現用系出力部181および予備系出力部182が有する物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算する。   As in the first embodiment, the hash calculation unit 123 adds the same number of types as the number of physical links of the active output unit 181 and the standby output unit 182 to the frame part information that constitutes a part of the frame. A hash value is calculated using a hash function that can take a value.

振分先決定部124は、第1の実施の形態と同様、フロー宛先決定部121による決定に基づいてフレームが出力される物理ポートを決定する。振分先決定部124は、集約管理情報を参照して、現用状態から予備状態に切り替えるとともに、集約宛先管理情報を参照して、ハッシュ計算部123が計算することによって得られたハッシュ値に基づいて、フレームが出力される物理リンクを決定する。   As in the first embodiment, the distribution destination determination unit 124 determines a physical port from which a frame is output based on the determination by the flow destination determination unit 121. The distribution destination determination unit 124 refers to the aggregate management information to switch from the active state to the standby state, and refers to the aggregate destination management information, based on the hash value obtained by the hash calculation unit 123 calculating. The physical link to which the frame is output is determined.

フレーム廃棄部125は、第1の実施の形態と同様、集約宛先管理情報が有するフレーム廃棄情報が、そのフレームを廃棄することを示す場合にはフレームを廃棄する。これにより、スイッチ100および接続先の動作について試験を行う場合などにおいて、特定の送信先のみ、または特定の送信先以外のみにフレームを送信する場合に、出力するフレームを制限することができる。   As in the first embodiment, the frame discard unit 125 discards a frame when the frame discard information included in the aggregated destination management information indicates that the frame is to be discarded. Thereby, when performing a test about the operation of the switch 100 and the connection destination, it is possible to limit the frames to be output when the frame is transmitted only to a specific transmission destination or only to a specific transmission destination.

統計情報書込部226は、振分先決定部124と同様に機能して、集約管理情報記憶部152に記憶されている集約管理情報を参照してハッシュ計算部123が計算することによって得られたハッシュ値に基づいてフレームが出力される物理リンクを決定するとともに、決定した現用系出力部181および予備系出力部182の各物理リンクから出力されたフレームの数の集計結果を集約宛先統計情報として集約宛先統計情報記憶部254に書き込む。これにより、統計情報書込部226が振分先決定部124と並行して、フレームを出力する物理リンクを振分先決定部124と全く同様に決定し、決定に基づいて入力されたフレームが出力される物理リンクを集計する。   The statistical information writing unit 226 functions in the same manner as the distribution destination determination unit 124 and is obtained by the hash calculation unit 123 calculating with reference to the aggregation management information stored in the aggregation management information storage unit 152. Based on the determined hash value, the physical link from which the frame is output is determined, and the aggregated destination statistical information on the total number of frames output from each physical link of the determined active output unit 181 and the standby output unit 182 Is written into the aggregated destination statistical information storage unit 254. As a result, the statistical information writing unit 226 determines the physical link for outputting the frame in the same manner as the distribution destination determination unit 124 in parallel with the distribution destination determination unit 124, and the frame input based on the determination is determined. Aggregate the output physical links.

障害検出部130は、第1の実施の形態と同様、現用系出力部181を構成する物理リンクの障害の発生を検出するとともに、障害の発生を検出した場合には、切替指示を出力する。   As in the first embodiment, the failure detection unit 130 detects the occurrence of a failure in the physical link constituting the active output unit 181 and outputs a switching instruction when the occurrence of the failure is detected.

フロー宛先管理情報記憶部151は、第1の実施の形態と同様、フレームが出力される物理リンクを、論理リンクを構成する物理リンクにするか、または論理リンクを構成する物理リンク以外の物理リンクにするかを示すフロー宛先管理情報を記憶する。   As in the first embodiment, the flow destination management information storage unit 151 uses a physical link that outputs a frame as a physical link that constitutes a logical link, or a physical link other than a physical link that constitutes a logical link. The flow destination management information indicating whether or not to be stored is stored.

集約管理情報記憶部152は、第1の実施の形態と同様、フレームが現用系出力部181を構成する物理リンクから出力されるかまたは予備系出力部182を構成する物理リンクから出力されるかを示す集約管理情報を記憶する。   As in the first embodiment, the aggregate management information storage unit 152 outputs the frame from the physical link configuring the active output unit 181 or the physical link configuring the standby output unit 182. Is stored.

また、集約管理情報は、第1の実施の形態と同様、ハッシュ計算部123で行われるハッシュ計算に関する設定を示す。具体的には、集約管理情報は、切替決定部122が、フレームを出力する物理リンクを決定するために、フレーム部分情報を特定するフレーム部分特定情報、ハッシュ計算の計算内容を示す計算内容情報、現用系出力部181および予備系出力部182のそれぞれにおける使用可能な物理リンクの数を示す有効物理リンク数情報、ハッシュ計算を行わないことを示す演算不実行情報を有する。さらに、集約管理情報は、フレームを廃棄するか否かを示すフレーム廃棄情報を有する。   Further, the aggregation management information indicates the setting related to the hash calculation performed by the hash calculation unit 123, as in the first embodiment. Specifically, the aggregation management information includes frame part specifying information for specifying frame part information, calculation contents information indicating calculation contents of hash calculation, in order for the switching determination unit 122 to determine a physical link that outputs a frame, It has effective physical link number information indicating the number of usable physical links in each of the active output unit 181 and the standby output unit 182, and operation non-execution information indicating that hash calculation is not performed. Further, the aggregate management information includes frame discard information indicating whether to discard the frame.

集約宛先管理情報記憶部153は、第1の実施の形態と同様、フレームが出力される物理リンクを示す集約宛先管理情報を記憶する。ここで、集約宛先管理情報は、上記の集約宛先管理テーブル153a,153bを構成して集約宛先管理情報記憶部153に記憶されている。集約宛先管理情報は、現用系出力部181の物理リンクを特定する現用系物理リンク情報および予備系出力部182の物理リンクを特定する予備系物理リンク情報を有する。物理リンクは、現用系出力部181および予備系出力部182が有する各ポートである。さらに、集約宛先管理情報は、ハッシュ計算部123によって計算される各ハッシュ値と、現用系物理リンク情報が示す各物理リンクとが対応付けられているとともに、ハッシュ計算部123によって計算される各ハッシュ値と、予備系物理リンク情報が示す各物理リンクとが対応付けられている。   The aggregate destination management information storage unit 153 stores aggregate destination management information indicating a physical link to which a frame is output, as in the first embodiment. Here, the aggregated destination management information constitutes the aggregated destination management tables 153a and 153b and is stored in the aggregated destination management information storage unit 153. The aggregate destination management information includes working physical link information that identifies the physical link of the working output unit 181 and standby physical link information that identifies the physical link of the standby output unit 182. The physical link is each port that the active output unit 181 and the standby output unit 182 have. Further, the aggregate destination management information is associated with each hash value calculated by the hash calculation unit 123 and each physical link indicated by the working physical link information, and each hash calculated by the hash calculation unit 123 The value is associated with each physical link indicated by the standby physical link information.

集約宛先管理情報記憶部153は、第1の実施の形態と同様、デュアルポートメモリで構成されている。また、物理リンク特定情報は、集約宛先管理情報記憶部153において記憶されているアドレスの一部が現用系出力部181および予備系出力部182と対応付けられるとともに、アドレスの他の一部が物理リンクと対応付けられている。   The aggregated destination management information storage unit 153 is configured by a dual port memory as in the first embodiment. Further, in the physical link specifying information, a part of the address stored in the aggregated destination management information storage unit 153 is associated with the active system output unit 181 and the standby system output unit 182, and the other part of the address is a physical address. Associated with a link.

集約宛先統計情報記憶部254は、現用系出力部181および予備系出力部182の各物理リンクから出力されるフレームの数の集計結果である集約宛先統計情報を記憶する。また、集約宛先統計情報記憶部254は、集約宛先管理情報記憶部153と同様、デュアルポートメモリで構成されている。また、集約宛先統計情報は、集約宛先統計情報記憶部254において記憶されているアドレスの一部が現用系出力部181および予備系出力部182と対応付けられるとともに、アドレスの他の一部が物理リンクと対応付けられている。   The aggregated destination statistical information storage unit 254 stores aggregated destination statistical information that is a totaled result of the number of frames output from each physical link of the active output unit 181 and the standby output unit 182. The aggregated destination statistical information storage unit 254 is configured by a dual port memory, like the aggregated destination management information storage unit 153. In addition, the aggregate destination statistical information includes a part of the address stored in the aggregate destination statistical information storage unit 254 being associated with the active system output unit 181 and the standby system output unit 182, and another part of the address is physical. Associated with a link.

現用系出力部181は、第1の実施の形態と同様、論理リンクを構成する物理リンクのうちの一部の物理リンクから構成される。また、予備系出力部182は、論理リンクを構成する物理リンクのうちの現用系出力部181を構成する物理リンク以外の物理リンクのうちの、一部またはすべての物理リンクから構成される。現用系出力部181を構成する物理リンクの数と予備系出力部182を構成する物理リンクの数とは同一(例えば、8個)である。   As in the first embodiment, the active output unit 181 includes a part of physical links that constitute a logical link. The standby output unit 182 includes a part or all of the physical links of the physical links other than the physical links forming the active output unit 181 among the physical links forming the logical link. The number of physical links configuring the active system output unit 181 and the number of physical links configuring the standby system output unit 182 are the same (for example, 8).

通信部140は、集約宛先管理情報記憶部153に記憶されている集約宛先管理情報と、集約宛先統計情報記憶部254に記憶されている集約宛先統計情報とを端末装置(図示省略)に対して出力する。端末装置は、第1の実施の形態の端末装置と同様、本実施の形態のスイッチが有する通信部140と通信可能に接続され、この通信部140と通信して得た情報を表示することができる。端末装置は、通信部140を介した通信により集約宛先管理情報および集約宛先統計情報とを取得することができる。そして、端末装置は、取得した集約宛先管理情報と、集約宛先統計情報とを表示可能な図示しない表示部を有する。   The communication unit 140 sends the aggregate destination management information stored in the aggregate destination management information storage unit 153 and the aggregate destination statistical information stored in the aggregate destination statistical information storage unit 254 to the terminal device (not shown). Output. Similarly to the terminal device of the first embodiment, the terminal device is communicably connected to the communication unit 140 included in the switch of the present embodiment, and can display information obtained by communicating with the communication unit 140. it can. The terminal device can acquire the aggregate destination management information and the aggregate destination statistical information by communication via the communication unit 140. The terminal device includes a display unit (not shown) that can display the acquired aggregate destination management information and aggregate destination statistical information.

図11は、第2の実施の形態の集約宛先統計テーブルのデータ構造例を示す図である。本実施の形態では、図11に示すように、集約宛先統計テーブル254aを現用DPおよび予備DPで別のアドレスに割り当て、それぞれに別個の領域を与える。   FIG. 11 is a diagram illustrating an example of a data structure of an aggregate destination statistics table according to the second embodiment. In this embodiment, as shown in FIG. 11, the aggregated destination statistics table 254a is assigned to different addresses in the working DP and the backup DP, and a separate area is given to each.

また、図中の集約宛先統計テーブル254aは、図9の集約宛先管理テーブル153bと同様、デュアルポートメモリに格納される。例えば、予備DPにおいて、予備系出力部182のポート#7(集約宛先統計テーブル254aにおける上から16行目)は、SELフィールドの値“1”と、集約宛先管理テーブル153bにおけるDPのアドレス“7”とがビット結合されて、16進数表記では“0x17”となっている。集約宛先統計テーブル254aでは、このアドレスが、フレームが送出される通信ポートと、その通信ポートから送出されたフレームの数の関係を対応付けている。   Also, the aggregated destination statistics table 254a in the figure is stored in the dual port memory, like the aggregated destination management table 153b in FIG. For example, in the standby DP, the port # 7 of the standby output unit 182 (16th line from the top in the aggregate destination statistics table 254a) has the value “1” in the SEL field and the DP address “7” in the aggregate destination management table 153b. "Is bit-combined to be" 0x17 "in hexadecimal notation. In the aggregate destination statistics table 254a, this address associates the relationship between the communication port to which the frame is transmitted and the number of frames transmitted from the communication port.

図11に示す集約宛先統計テーブル254aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約宛先統計情報記憶部254として機能する。集約宛先統計テーブル254aは、通信ポートから送出されたフレームの数の集計結果を示すテーブルである。集約宛先統計テーブル254aには、上記のアドレスでフレームのハッシュ値と対応付けられた、現用系または予備系の論理リンクにおける宛先ポートから送出されたフレームの数を示す情報が格納されている。集約宛先統計テーブル254aは、統計情報書込部226による集計結果の書き込みに応じて、テーブル記憶メモリ104に格納される。   The aggregated destination statistics table 254a illustrated in FIG. 11 is stored in the table storage memory 104. The table storage memory 104 functions as the aggregate destination statistical information storage unit 254. The aggregated destination statistics table 254a is a table that indicates the aggregated result of the number of frames transmitted from the communication port. The aggregated destination statistics table 254a stores information indicating the number of frames transmitted from the destination port in the working or protection logical link, which is associated with the frame hash value at the above address. The aggregate destination statistics table 254a is stored in the table storage memory 104 in accordance with the writing of the aggregation results by the statistics information writing unit 226.

以上に示すように、第2の実施の形態によれば、統計情報書込部226が、切替決定部122およびハッシュ計算部123の処理および集約宛先管理テーブル153a(または153b)に基づいてスイッチから出力されるフレームを集計し、集約宛先統計テーブル254aにおいて、各通信ポートから送出されたフレーム数を示す情報を格納することにより、スイッチ100のフレームの振分機能について試験を行う場合に、振分結果を容易に取得することができる。   As described above, according to the second embodiment, the statistical information writing unit 226 is switched from the switch based on the processing of the switching determination unit 122 and the hash calculation unit 123 and the aggregated destination management table 153a (or 153b). When the frame distribution function of the switch 100 is tested by counting the output frames and storing information indicating the number of frames transmitted from each communication port in the aggregate destination statistics table 254a, The result can be easily obtained.

また、このとき、統計情報書込部226は、フレームが出力される物理リンクおよびフレームが出力される物理リンクを決定する振分先決定部124とは別に計算するので、実際のフレームの出力に与える影響を最小限に留めることができる。   At this time, the statistical information writing unit 226 calculates the physical link from which the frame is output and the allocation destination determination unit 124 that determines the physical link from which the frame is output. The effect on it can be kept to a minimum.

[第3の実施の形態]
次に、第3の実施の形態について説明する。ここでは、上記の第2の実施の形態との相違点を中心に説明し、同様の事項については同一の符号を用いるとともに説明を省略する。
[Third Embodiment]
Next, a third embodiment will be described. Here, the description will focus on differences from the second embodiment described above, and the same reference numerals are used for the same matters, and descriptions thereof are omitted.

第3の実施の形態は、振分部320の有する統計情報書込部326が、集約宛先管理情報記憶部153に記憶されている各物理リンクから出力されたフレームの数の集計結果を集約宛先統計情報記憶部254に書き込んで記憶させる点で、第2の実施の形態と異なる。   In the third embodiment, the statistical information writing unit 326 of the allocating unit 320 displays the aggregated result of the number of frames output from each physical link stored in the aggregated destination management information storage unit 153 as the aggregated destination. It differs from the second embodiment in that it is written and stored in the statistical information storage unit 254.

以下に、本実施の形態における振分部320について説明する。図12は、第3の実施の形態の振分部の機能を示すブロック図である。
本実施の形態の振分部320は、フロー宛先決定部121、切替決定部122、ハッシュ計算部123、振分先決定部124、フレーム廃棄部125に加えて、各物理リンクから出力されるフレームの数を集計するために、統計情報書込部326を有する。また、本実施の形態の図示しないスイッチは、第2の実施の形態と同様、図示しない入力部、振分部320、障害検出部130、通信部140、フロー宛先管理情報記憶部151、集約管理情報記憶部152、集約宛先管理情報記憶部153、現用系出力部181、予備系出力部182の他、各物理リンクから出力されるフレームの数の集計結果を記憶するために、集約宛先統計情報記憶部254を有する。
Below, the distribution part 320 in this Embodiment is demonstrated. FIG. 12 is a block diagram illustrating functions of the distribution unit according to the third embodiment.
In addition to the flow destination determination unit 121, the switching determination unit 122, the hash calculation unit 123, the distribution destination determination unit 124, and the frame discard unit 125, the distribution unit 320 according to this embodiment includes a frame output from each physical link. Statistical information writing unit 326 is included. Further, the switch (not shown) of the present embodiment is similar to the second embodiment in that the input unit (not shown), the distribution unit 320, the failure detection unit 130, the communication unit 140, the flow destination management information storage unit 151, the aggregation management In addition to the information storage unit 152, the aggregated destination management information storage unit 153, the active system output unit 181, and the standby system output unit 182, aggregated destination statistical information is stored in order to store the total result of the number of frames output from each physical link. A storage unit 254 is included.

入力部は、第2の実施の形態と同様、本実施の形態のスイッチによって他のスイッチおよび端末装置などの通信機器に転送されるフレームが入力される。
振分部320は、第2の実施の形態の振分部220と同様、集約宛先管理情報記憶部153に集約宛先管理テーブルとして記憶されている集約宛先管理情報を参照して、入力部110によって入力されたフレームが出力される物理リンクを、論理リンクを構成する物理リンクのうちのいずれかの物理リンクに決定する。
As in the second embodiment, the input unit receives a frame transferred to a communication device such as another switch and a terminal device by the switch of this embodiment.
The distribution unit 320 refers to the aggregated destination management information stored as the aggregated destination management table in the aggregated destination management information storage unit 153 by the input unit 110 in the same manner as the distribution unit 220 of the second embodiment. The physical link from which the input frame is output is determined as one of the physical links that constitute the logical link.

フロー宛先決定部121は、第2の実施の形態と同様、フロー宛先管理情報記憶部151に記憶されているフロー宛先管理情報を参照して、フレームが出力される物理リンクを、論理リンクを構成する物理リンク、または論理リンクを構成する物理リンク以外の物理リンク(図示省略)のうちの一つの物理リンクのうちいずれかに決定する。   As in the second embodiment, the flow destination determination unit 121 refers to the flow destination management information stored in the flow destination management information storage unit 151 and configures the physical link from which the frame is output as a logical link. Or one of the physical links (not shown) other than the physical links constituting the logical link.

切替決定部122は、第2の実施の形態と同様、障害検出部130による切替指示を検出した場合には、集約管理情報を現用状態を示すものから予備状態を示すものに書き替える。これに基づいて、集約管理情報を参照する振分先決定部124は、フレームが出力される物理リンクを、現用系出力部181、予備系出力部182のうちから決定する。また、切替決定部122は、集約管理情報を参照して、ハッシュ計算部123にハッシュ計算を行わせる。このとき、切替決定部122は、フレーム部分特定情報に基づいてフレームの全体からフレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いてハッシュ計算部123にハッシュ計算を行わせる。また、切替決定部122は、計算内容情報に基づいて、ハッシュ計算部123にハッシュ計算を行わせる。さらに、切替決定部122は、演算不実行情報を検出した場合には、ハッシュ計算部123にハッシュ計算を行わせることなく、フレームを出力する物理リンクを決定する。   Similar to the second embodiment, the switching determination unit 122 rewrites the aggregate management information from indicating the current status to indicating the standby status when the switching instruction from the failure detection unit 130 is detected. Based on this, the distribution destination determination unit 124 that refers to the aggregation management information determines the physical link from which the frame is output from the active output unit 181 and the standby output unit 182. Further, the switching determination unit 122 refers to the aggregation management information and causes the hash calculation unit 123 to perform hash calculation. At this time, the switching determination unit 122 extracts frame part information from the entire frame based on the frame part specifying information, and causes the hash calculation unit 123 to perform hash calculation using the extracted frame part information. Further, the switching determination unit 122 causes the hash calculation unit 123 to perform hash calculation based on the calculation content information. Further, when detecting the operation non-execution information, the switching determination unit 122 determines a physical link that outputs a frame without causing the hash calculation unit 123 to perform hash calculation.

ハッシュ計算部123は、第2の実施の形態と同様、フレームの一部を構成するフレーム部分情報に、現用系出力部181および予備系出力部182が有する物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算する。   As in the second embodiment, the hash calculation unit 123 adds the same number of types as the number of physical links included in the active output unit 181 and the standby output unit 182 to the frame part information constituting a part of the frame. A hash value is calculated using a hash function that can take a value.

振分先決定部124は、第2の実施の形態と同様、フロー宛先決定部121による決定に基づいてフレームが出力される物理ポートを決定する。振分先決定部124は、集約管理情報を参照して、現用状態から予備状態に切り替えるとともに、集約宛先管理情報を参照して、ハッシュ計算部123が計算することによって得られたハッシュ値に基づいて、フレームが出力される物理リンクを決定する。   As in the second embodiment, the distribution destination determination unit 124 determines a physical port from which a frame is output based on the determination by the flow destination determination unit 121. The distribution destination determination unit 124 refers to the aggregate management information to switch from the active state to the standby state, and refers to the aggregate destination management information, based on the hash value obtained by the hash calculation unit 123 calculating. The physical link to which the frame is output is determined.

フレーム廃棄部125は、第2の実施の形態と同様、集約宛先管理情報が有するフレーム廃棄情報が、そのフレームを廃棄することを示す場合にはフレームを廃棄する。これにより、スイッチ100および接続先の動作について試験を行う場合などにおいて、特定の送信先のみ、または特定の送信先以外のみにフレームを送信する場合に、出力するフレームを制限することができる。   As in the second embodiment, the frame discard unit 125 discards the frame when the frame discard information included in the aggregate destination management information indicates that the frame is to be discarded. Thereby, when performing a test about the operation of the switch 100 and the connection destination, it is possible to limit the frames to be output when the frame is transmitted only to a specific transmission destination or only to a specific transmission destination.

統計情報書込部326は、現用系出力部181および予備系出力部182の物理リンクを監視して、各物理リンクから実際に出力されたフレームの数を集計し、集計結果を集約宛先統計情報として集約宛先統計情報記憶部254に書き込む。   The statistical information writing unit 326 monitors the physical links of the active system output unit 181 and the standby system output unit 182, totals the number of frames actually output from each physical link, and aggregates the aggregated result statistical information Is written into the aggregated destination statistical information storage unit 254.

障害検出部130は、第2の実施の形態と同様、現用系出力部181を構成する物理リンクの障害の発生を検出するとともに、障害の発生を検出した場合には、切替指示を出力する。   As in the second embodiment, the failure detection unit 130 detects the occurrence of a failure in the physical link constituting the active output unit 181 and outputs a switching instruction when the occurrence of the failure is detected.

フロー宛先管理情報記憶部151は、第2の実施の形態と同様、フレームが出力される物理リンクを、論理リンクを構成する物理リンクにするか、または論理リンクを構成する物理リンク以外の物理リンクにするかを示すフロー宛先管理情報を記憶する。   As in the second embodiment, the flow destination management information storage unit 151 uses a physical link that outputs a frame as a physical link that constitutes a logical link, or a physical link other than a physical link that constitutes a logical link. The flow destination management information indicating whether or not to be stored is stored.

集約管理情報記憶部152は、第2の実施の形態と同様、フレームが現用系出力部181を構成する物理リンクから出力されるかまたは予備系出力部182を構成する物理リンクから出力されるかを示す集約管理情報を記憶する。   As in the second embodiment, the aggregate management information storage unit 152 outputs the frame from the physical link configuring the active output unit 181 or the physical link configuring the standby output unit 182. Is stored.

また、集約管理情報は、第2の実施の形態と同様、ハッシュ計算部123で行われるハッシュ計算に関する設定を示す。具体的には、集約管理情報は、切替決定部122が、フレームを出力する物理リンクを決定するために、フレーム部分情報を特定するフレーム部分特定情報、ハッシュ計算の計算内容を示す計算内容情報、現用系出力部181および予備系出力部182のそれぞれにおける使用可能な物理リンクの数を示す有効物理リンク数情報、ハッシュ計算を行わないことを示す演算不実行情報を有する。さらに、集約管理情報は、フレームを廃棄するか否かを示すフレーム廃棄情報を有する。   Further, the aggregation management information indicates the setting related to the hash calculation performed by the hash calculation unit 123, as in the second embodiment. Specifically, the aggregation management information includes frame part specifying information for specifying frame part information, calculation contents information indicating calculation contents of hash calculation, in order for the switching determination unit 122 to determine a physical link that outputs a frame, It has effective physical link number information indicating the number of usable physical links in each of the active output unit 181 and the standby output unit 182, and operation non-execution information indicating that hash calculation is not performed. Further, the aggregate management information includes frame discard information indicating whether to discard the frame.

集約宛先管理情報記憶部153は、第2の実施の形態と同様、フレームが出力される物理リンクを示す集約宛先管理情報を記憶する。ここで、集約宛先管理情報は、上記の集約宛先管理テーブル153a,153bを構成して集約宛先管理情報記憶部153に記憶されている。集約宛先管理情報は、現用系出力部181の物理リンクを特定する現用系物理リンク情報および予備系出力部182の物理リンクを特定する予備系物理リンク情報を有する。物理リンクは、現用系出力部181および予備系出力部182が有する各ポートである。さらに、集約宛先管理情報は、ハッシュ計算部123によって計算される各ハッシュ値と、現用系物理リンク情報が示す各物理リンクとが対応付けられているとともに、ハッシュ計算部123によって計算される各ハッシュ値と、予備系物理リンク情報が示す各物理リンクとが対応付けられている。   The aggregated destination management information storage unit 153 stores aggregated destination management information indicating a physical link to which a frame is output, as in the second embodiment. Here, the aggregated destination management information constitutes the aggregated destination management tables 153a and 153b and is stored in the aggregated destination management information storage unit 153. The aggregate destination management information includes working physical link information that identifies the physical link of the working output unit 181 and standby physical link information that identifies the physical link of the standby output unit 182. The physical link is each port that the active output unit 181 and the standby output unit 182 have. Further, the aggregate destination management information is associated with each hash value calculated by the hash calculation unit 123 and each physical link indicated by the working physical link information, and each hash calculated by the hash calculation unit 123 The value is associated with each physical link indicated by the standby physical link information.

集約宛先管理情報記憶部153は、第2の実施の形態と同様、デュアルポートメモリで構成されている。また、物理リンク特定情報は、集約宛先管理情報記憶部153において記憶されているアドレスの一部が現用系出力部181および予備系出力部182と対応付けられるとともに、アドレスの他の一部が物理リンクと対応付けられている。   The aggregated destination management information storage unit 153 is configured by a dual port memory as in the second embodiment. Further, in the physical link specifying information, a part of the address stored in the aggregated destination management information storage unit 153 is associated with the active system output unit 181 and the standby system output unit 182, and the other part of the address is a physical address. Associated with a link.

集約宛先統計情報記憶部254は、第2の実施の形態と同様、現用系出力部181および予備系出力部182の各物理リンクから出力されるフレームの数の集計結果である集約宛先統計情報を記憶する。また、集約宛先統計情報記憶部254は、集約宛先管理情報記憶部153と同様、デュアルポートメモリで構成されている。また、集約宛先統計情報は、集約宛先統計情報記憶部254において記憶されているアドレスの一部が現用系出力部181および予備系出力部182と対応付けられるとともに、アドレスの他の一部が物理リンクと対応付けられている。   The aggregated destination statistical information storage unit 254 stores aggregated destination statistical information that is the aggregated result of the number of frames output from each physical link of the active system output unit 181 and the standby system output unit 182, as in the second embodiment. Remember. The aggregated destination statistical information storage unit 254 is configured by a dual port memory, like the aggregated destination management information storage unit 153. In addition, the aggregate destination statistical information includes a part of the address stored in the aggregate destination statistical information storage unit 254 being associated with the active system output unit 181 and the standby system output unit 182, and another part of the address is physical. Associated with a link.

現用系出力部181は、第2の実施の形態と同様、論理リンクを構成する物理リンクのうちの一部の物理リンクから構成される。また、予備系出力部182は、論理リンクを構成する物理リンクのうちの現用系出力部181を構成する物理リンク以外の物理リンクのうちの、一部またはすべての物理リンクから構成される。現用系出力部181を構成する物理リンクの数と予備系出力部182を構成する物理リンクの数とは同一(例えば、8個)である。   As in the second embodiment, the active output unit 181 includes a part of physical links that constitute a logical link. The standby output unit 182 includes a part or all of the physical links of the physical links other than the physical links forming the active output unit 181 among the physical links forming the logical link. The number of physical links configuring the active system output unit 181 and the number of physical links configuring the standby system output unit 182 are the same (for example, 8).

通信部140は、第2の実施の形態と同様、集約宛先管理情報記憶部153に記憶されている集約宛先管理情報と、集約宛先統計情報記憶部254に記憶されている集約宛先統計情報とを端末装置(図示省略)に対して出力する。端末装置は、第1の実施の形態の端末装置と同様、本実施の形態のスイッチが有する通信部140と通信可能に接続され、この通信部140と通信して得た情報を表示することができる。端末装置は、通信部140を介した通信により集約宛先管理情報および集約宛先統計情報とを取得することができる。そして、端末装置は、取得した集約宛先管理情報と、集約宛先統計情報とを表示可能な図示しない表示部を有する。   As in the second embodiment, the communication unit 140 receives the aggregate destination management information stored in the aggregate destination management information storage unit 153 and the aggregate destination statistical information stored in the aggregate destination statistical information storage unit 254. Output to a terminal device (not shown). Similarly to the terminal device of the first embodiment, the terminal device is communicably connected to the communication unit 140 included in the switch of the present embodiment, and can display information obtained by communicating with the communication unit 140. it can. The terminal device can acquire the aggregate destination management information and the aggregate destination statistical information by communication via the communication unit 140. The terminal device includes a display unit (not shown) that can display the acquired aggregate destination management information and aggregate destination statistical information.

以上に示すように、第3の実施の形態によれば、統計情報書込部326が、現用系出力部181および予備系出力部182の各物理リンクを監視することにより、スイッチから出力されるフレームを集計する。そして、統計情報書込部326が、集約宛先統計テーブル254aに各通信ポートから送出されたフレーム数を示す情報を格納することにより、スイッチ100のフレームの振分機能について試験を行う場合に、振分結果を容易に取得することができる。   As described above, according to the third embodiment, the statistical information writing unit 326 monitors each physical link of the active system output unit 181 and the standby system output unit 182 to output from the switch. Aggregate frames. Then, the statistical information writing unit 326 stores information indicating the number of frames transmitted from each communication port in the aggregate destination statistical table 254a, thereby performing the test on the frame distribution function of the switch 100. Minute results can be easily obtained.

また、このとき統計情報書込部326は、実際に出力されたフレームを監視して集計するので、実際に出力されたフレーム数を集計することができるとともに、集計に必要な構成を単純化することができる。   At this time, the statistical information writing unit 326 monitors and counts the actually output frames, so that the number of frames actually output can be totaled and the configuration necessary for the totalization is simplified. be able to.

[第4の実施の形態]
次に、第4の実施の形態について説明する。上記の第1の実施の形態との相違点を中心に説明し、同様の事項については同一の符号を用いるとともに説明を省略する。
[Fourth Embodiment]
Next, a fourth embodiment will be described. Differences from the first embodiment will be mainly described, and the same reference numerals are used for the same matters, and descriptions thereof are omitted.

第4の実施の形態は、複数の出力部を有しており、複数の出力部のうちの一部の出力部を運用系の出力部とし、それ以外の出力部を待機系の出力部とする。そして、その運用系の出力部を構成する物理リンクからフレームを出力する。その一方、待機系の出力部は、通常時は待機しており、運用系の出力部に故障が有る場合に、待機系の出力部の一部を、運用系であった出力部に替えて、運用系の出力部に切り替える点で、第1の実施の形態と異なる。   The fourth embodiment has a plurality of output units, a part of the plurality of output units is set as an active output unit, and the other output units are set as standby output units. To do. Then, the frame is output from the physical link constituting the active output unit. On the other hand, the standby output unit is normally on standby, and if there is a failure in the active output unit, replace a part of the standby output unit with the active output unit. This is different from the first embodiment in that it switches to the output unit of the operational system.

以下に、本実施の形態におけるスイッチ400について説明する。図13は、第4の実施の形態のスイッチの機能を示すブロック図である。
本実施の形態におけるスイッチ400は、複数の出力部481a,481b,・・・,481zを有する。また、本実施の形態のスイッチ400は、リンク集約による冗長構成を有する通信ネットワークのリンクを、切替指示に基づいて運用系の出力部を構成する物理リンクから待機系の出力部を構成する物理リンクへ切り替えるために、入力部110、振分部420、障害検出部130、通信部140、フロー宛先管理情報記憶部151、集約管理情報記憶部452、集約宛先管理情報記憶部453を有する。また、振分部420は、フロー宛先決定部121、切替決定部422、ハッシュ計算部123、振分先決定部424、フレーム廃棄部125を有する。
Hereinafter, the switch 400 in the present embodiment will be described. FIG. 13 is a block diagram illustrating functions of a switch according to the fourth embodiment.
The switch 400 in this embodiment includes a plurality of output units 481a, 481b,. Further, the switch 400 of the present embodiment is configured so that a link of a communication network having a redundant configuration by link aggregation is changed from a physical link that configures an active output unit to a standby output unit based on a switching instruction. Are input unit 110, distribution unit 420, failure detection unit 130, communication unit 140, flow destination management information storage unit 151, aggregate management information storage unit 452, and aggregate destination management information storage unit 453. The distribution unit 420 includes a flow destination determination unit 121, a switching determination unit 422, a hash calculation unit 123, a distribution destination determination unit 424, and a frame discard unit 125.

ここで、運用系の出力部は、現在フレームの出力に使用される出力部である。待機系の出力部は、現在フレームの出力には使用されず、運用系の出力部の故障に備えて、フレームを出力可能な状態で待機する出力部である。また、現用系の出力部は、初期状態および通常の状態で運用系の出力部に設定された出力部である。予備系の出力部は、初期状態および通常の状態で待機系の出力部に設定された出力部である。   Here, the active output unit is an output unit used to output the current frame. The standby output unit is not used for outputting the current frame, and is an output unit that waits in a state in which a frame can be output in preparation for a failure of the active output unit. The active output unit is an output unit set as the active output unit in the initial state and the normal state. The standby output unit is an output unit set as the standby output unit in the initial state and the normal state.

入力部110は、第1の実施の形態と同様、本実施の形態のスイッチ400によって他のスイッチおよび端末装置などの通信機器に転送されるフレームが入力される。
振分部420は、集約宛先管理情報記憶部453に集約宛先管理テーブルとして記憶されている集約宛先管理情報を参照して、フレームを出力する物理リンクを、出力部481a,481b,・・・,481zのうちの一つの出力部を構成する物理リンクに設定するとともに、切替指示に応じて、フレームを出力する物理リンクを、他の出力部を構成する物理リンクに切り替える。
As in the first embodiment, the input unit 110 receives a frame transferred to a communication device such as another switch or a terminal device by the switch 400 according to the present embodiment.
The allocating unit 420 refers to the aggregated destination management information stored in the aggregated destination management information storage unit 453 as the aggregated destination management table, and outputs physical links that output frames as output units 481a, 481b,. A physical link that configures one output unit of 481z is set, and a physical link that outputs a frame is switched to a physical link that configures another output unit in response to a switching instruction.

この切替指示は、スイッチ400と他のスイッチとの論理リンクによる通信に障害が発生した場合には、障害検出部130により、この障害の発生が検出される。そして、障害検出部130により、障害の発生の検出に基づいて振分部420の切替決定部422に対して切替指示が出力される。振分部420による切替に基づいて、運用系の出力部が、現在フレームが出力されている運用系の出力部である出力部481aからいずれかの待機系の出力部(例えば、出力部481b)に切り替えられる。この切替以降は、これに従い、待機系の出力部481bからフレームが出力される。   In the switching instruction, when a failure occurs in communication between the switch 400 and another switch through a logical link, the failure detection unit 130 detects the occurrence of the failure. Then, the failure detection unit 130 outputs a switching instruction to the switching determination unit 422 of the distribution unit 420 based on the detection of the occurrence of the failure. Based on the switching by the allocating unit 420, the active output unit changes from the output unit 481a, which is the active output unit that is currently outputting the frame, to one of the standby output units (for example, the output unit 481b). Can be switched to. After this switching, the frame is output from the output unit 481b of the standby system accordingly.

また、振分部420は、使用可能な物理リンク数に基づいて、運用系の出力部を切り替える。振分部420は、運用系の出力部である出力部481aの有効物理リンク情報が示す物理リンクの数が、帯域情報によって示される帯域未満である場合には、他の待機系の出力部のうちのいずれかを運用系の出力部に切り替える。スイッチ400によって送信されるフレームには、送信先に応じて当該フレームを送信するために確保すべき帯域を示す帯域情報が設定されている。この帯域情報は、スイッチ400が有する図示しない記憶部に記憶されている。   In addition, the distribution unit 420 switches the active output unit based on the number of usable physical links. When the number of physical links indicated by the effective physical link information of the output unit 481a that is the output unit of the active system is less than the band indicated by the band information, the allocating unit 420 determines the output unit of another standby system. Switch one of them to the active output. Band information indicating a band to be secured for transmitting the frame is set in the frame transmitted by the switch 400 according to the transmission destination. This band information is stored in a storage unit (not shown) included in the switch 400.

フロー宛先決定部121は、第1の実施の形態と同様、フロー宛先管理情報記憶部151に記憶されているフロー宛先管理情報を参照して、フレームが出力される物理リンクを、論理リンクを構成する物理リンク、または論理リンクを構成する物理リンク以外の物理リンク(図示省略)のうちの一つの物理リンクのうちいずれかに決定する。   As in the first embodiment, the flow destination determination unit 121 refers to the flow destination management information stored in the flow destination management information storage unit 151 and configures the physical link from which the frame is output as a logical link. Or one of the physical links (not shown) other than the physical links constituting the logical link.

切替決定部422は、障害検出部130による切替指示を検出した場合には、運用系の出力部に設定されている出力部481aを待機系の出力部に設定するとともに待機系の出力部481b,・・・,481zに設定されている出力部481b,・・・,481zのうち少なくとも一つの出力部を運用系の出力部に設定することによって運用系の出力部を切り替える切替指示に応じて、集約管理情報記憶部452に記憶されている集約管理情報を、運用系の出力部であった出力部481aに替えて待機系の出力部であり、かつ、切替指示の対象である出力部481b,・・・,481zのうちのいずれかを新たに運用系の出力部に設定する。具体的には、このとき、切替決定部422は、集約管理情報を、設定が反映されたものに書き替える。これに基づいて、集約管理情報を参照する振分先決定部424は、フレームが出力される物理リンクを、待機系の出力部481b,・・・,481zのうちから決定する。これにより、一つの出力部を運用系に割り当て、複数(N個)の出力部を待機系に割り当てる(N:1)カード冗長を実現することができる。   When the switching determination unit 422 detects a switching instruction from the failure detection unit 130, the switching determination unit 422 sets the output unit 481a set as the output unit of the active system as the output unit of the standby system, and outputs the standby system output unit 481b, In response to the switching instruction to switch the active output unit by setting at least one of the output units 481b,..., 481z set to 481z as the active output unit, The aggregation management information stored in the aggregation management information storage unit 452 is replaced with the output unit 481a that is the output unit of the active system, and is an output unit 481b that is the output unit of the standby system and that is the target of the switching instruction. .., 481z is newly set as the output unit of the operational system. Specifically, at this time, the switching determination unit 422 rewrites the aggregation management information to reflect the setting. Based on this, the distribution destination determination unit 424 that refers to the aggregation management information determines a physical link to which a frame is output from among the output units 481b,. Accordingly, it is possible to realize card redundancy in which one output unit is allocated to the active system and a plurality (N) of output units are allocated to the standby system (N: 1).

また、切替決定部422は、第1の実施の形態の切替決定部122と同様、集約管理情報を参照して、ハッシュ計算部123にハッシュ計算を行わせる。このとき、切替決定部422は、フレーム部分特定情報に基づいてフレームの全体からフレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いてハッシュ計算部123にハッシュ計算を行わせる。また、切替決定部422は、計算内容情報に基づいて、ハッシュ計算部123にハッシュ計算を行わせる。さらに、切替決定部422は、演算不実行情報を検出した場合には、ハッシュ計算部123にハッシュ計算を行わせることなく、フレームを出力する物理リンクを決定する。   The switching determination unit 422 causes the hash calculation unit 123 to perform hash calculation with reference to the aggregation management information, similarly to the switching determination unit 122 according to the first embodiment. At this time, the switching determination unit 422 extracts frame part information from the entire frame based on the frame part specifying information, and causes the hash calculation unit 123 to perform hash calculation using the extracted frame part information. Also, the switching determination unit 422 causes the hash calculation unit 123 to perform hash calculation based on the calculation content information. Furthermore, when the operation non-execution information is detected, the switching determination unit 422 determines a physical link that outputs a frame without causing the hash calculation unit 123 to perform hash calculation.

ハッシュ計算部123は、フレームの一部を構成するフレーム部分情報に、各出力部481a,481b,・・・,481zが有する物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算する。   The hash calculation unit 123 uses a hash function that can take the same number of types of values as the number of physical links included in each output unit 481a, 481b,. To calculate the hash value.

振分先決定部424は、予めフレームを出力する物理リンクを、運用系の出力部に設定されている出力部481aを構成する物理リンクに設定する。そして、運用系の出力部の物理リンクに障害が発生した場合には、振分先決定部424は、集約管理情報記憶部452に記憶されている集約管理情報を参照して、フレームを出力する物理リンクを、当該待機系の出力部481b,・・・,481zを構成する物理リンクに切り替える。   The distribution destination determination unit 424 sets a physical link that outputs a frame in advance as a physical link that constitutes the output unit 481a that is set as the output unit of the active system. When a failure occurs in the physical link of the active output unit, the distribution destination determination unit 424 refers to the aggregation management information stored in the aggregation management information storage unit 452 and outputs a frame. The physical link is switched to the physical link constituting the output unit 481b,..., 481z of the standby system.

ここで、振分先決定部424は、集約管理情報を参照して、運用系の出力部481aを待機系の出力部481a,481b,・・・,481zのいずれかに切り替えるとともに、集約宛先管理情報を参照して、ハッシュ計算部123が計算することによって得られたハッシュ値に基づいて、フレームが出力される物理リンクを決定する。   Here, the distribution destination determination unit 424 refers to the aggregation management information and switches the active output unit 481a to any one of the standby output units 481a, 481b,. With reference to the information, the physical link to which the frame is output is determined based on the hash value obtained by the calculation by the hash calculation unit 123.

フレーム廃棄部125は、第1の実施の形態と同様、集約宛先管理情報が有するフレーム廃棄情報が、そのフレームを廃棄することを示す場合にはフレームを廃棄する。これにより、スイッチ400および接続先の動作について試験を行う場合などにおいて、特定の送信先のみ、または特定の送信先以外のみにフレームを送信する場合に、出力するフレームを制限することができる。   As in the first embodiment, the frame discard unit 125 discards a frame when the frame discard information included in the aggregated destination management information indicates that the frame is to be discarded. Thus, when testing the operation of the switch 400 and the connection destination, the frames to be output can be limited when the frame is transmitted only to a specific transmission destination or only to other than the specific transmission destination.

障害検出部130は、現用系の出力部481aを構成する物理リンクの障害の発生を検出するとともに、障害の発生を検出した場合には、切替指示を出力する。
フロー宛先管理情報記憶部151は、第1の実施の形態と同様、フレームが出力される物理リンクを、論理リンクを構成する物理リンクにするか、または論理リンクを構成する物理リンク以外の物理リンクにするかを示すフロー宛先管理情報を記憶する。
The failure detection unit 130 detects the occurrence of a failure in the physical link configuring the active output unit 481a, and outputs a switching instruction when the occurrence of the failure is detected.
As in the first embodiment, the flow destination management information storage unit 151 uses a physical link that outputs a frame as a physical link that constitutes a logical link, or a physical link other than a physical link that constitutes a logical link. The flow destination management information indicating whether or not to be stored is stored.

集約管理情報記憶部452は、出力部481a,481b,・・・,481zのうちのいずれの出力部が運用系の出力部に設定されているかを示す集約管理情報を記憶する。
また、集約管理情報は、ハッシュ計算部123で行われるハッシュ計算に関する設定を示す。具体的には、集約管理情報は、切替決定部422が、フレームを出力する物理リンクを決定するために、フレーム部分情報を特定するフレーム部分特定情報、ハッシュ計算の計算内容を示す計算内容情報、出力部481a,481b,・・・,481zのそれぞれにおける使用可能な物理リンクの数を示す有効物理リンク数情報、ハッシュ計算を行わないことを示す演算不実行情報を有する。さらに、集約管理情報は、フレームを廃棄するか否かを示すフレーム廃棄情報を有する。
The aggregate management information storage unit 452 stores aggregate management information indicating which output unit among the output units 481a, 481b,..., 481z is set as an active output unit.
Further, the aggregation management information indicates settings related to hash calculation performed by the hash calculation unit 123. Specifically, the aggregation management information includes frame part specifying information for specifying frame part information, calculation contents information indicating calculation contents of hash calculation, in order for the switching determination unit 422 to determine a physical link that outputs a frame, Each of the output units 481a, 481b,..., 481z has effective physical link number information indicating the number of usable physical links, and operation non-execution information indicating that hash calculation is not performed. Further, the aggregate management information includes frame discard information indicating whether to discard the frame.

集約宛先管理情報記憶部453は、第1の実施の形態の集約宛先管理情報記憶部153と同様、フレームが出力される物理リンクを示す集約宛先管理情報を記憶する。ここで、集約宛先管理情報は、詳しくは図15および図16において後述する集約宛先管理テーブル453a,453bを構成して集約宛先管理情報記憶部453に記憶されている。集約宛先管理情報は、それぞれの出力部481a,481b,・・・,481zの物理リンクを特定する物理リンク情報を有する。ここで、物理リンクは、出力部481a,481b,・・・,481zが有する各ポート(例えば、ポート#0,・・・,ポート#7など)である。さらに、集約宛先管理情報は、ハッシュ計算部123によって計算される各ハッシュ値と、物理リンク情報が示す各出力部481a,481b,・・・,481zがそれぞれ有する物理リンクとが対応付けられている。   The aggregated destination management information storage unit 453 stores aggregated destination management information indicating a physical link to which a frame is output, similar to the aggregated destination management information storage unit 153 of the first embodiment. Here, the aggregate destination management information is stored in the aggregate destination management information storage unit 453 by configuring aggregate destination management tables 453a and 453b, which will be described later in detail with reference to FIGS. The aggregated destination management information includes physical link information that identifies the physical links of the output units 481a, 481b,..., 481z. Here, the physical link is each port (for example, port # 0,..., Port # 7, etc.) included in the output units 481a, 481b,. Further, in the aggregated destination management information, each hash value calculated by the hash calculation unit 123 is associated with each physical link included in each output unit 481a, 481b,..., 481z indicated by the physical link information. .

集約宛先管理情報記憶部453は、デュアルポートメモリで構成されている。また、物理リンク特定情報は、集約宛先管理情報記憶部453において記憶されているアドレスの一部が各出力部481a,481b,・・・,481zと対応付けられるとともに、アドレスの他の一部が各出力部481a,481b,・・・,481zが有する物理リンクと対応付けられている。   The aggregated destination management information storage unit 453 is configured by a dual port memory. Further, in the physical link specifying information, a part of the address stored in the aggregated destination management information storage unit 453 is associated with each output unit 481a, 481b,. Each output unit 481a, 481b,..., 481z is associated with a physical link.

出力部481a,481b,・・・,481zは、論理リンクを構成する物理リンクのうちのそれぞれ異なる一部の物理リンクから構成される。それぞれの出力部481a,481b,・・・,481zを構成する物理リンクの数は同一(例えば、8個)である。   The output units 481a, 481b,..., 481z are constituted by different physical links from among the physical links constituting the logical link. The number of physical links constituting each output unit 481a, 481b,..., 481z is the same (for example, 8).

出力部481a,481b,・・・,481zのうちの一つの出力部481a,481b,・・・,481zは、フレームを出力する運用系の出力部(例えば、出力部481a)である。この運用系の出力部として設定されたもの以外の出力部(例えば、出力部481b,・・・,481z)は、フレームを出力可能な状態で待機する待機系の出力部である。   One of the output units 481a, 481b,..., 481z is an active output unit (for example, output unit 481a) that outputs a frame. Output units (for example, output units 481b,..., 481z) other than those set as the operation system output units are standby system output units that stand by in a state where frames can be output.

端末装置40は、第1の実施の形態と同様、スイッチ400と通信可能に接続され、当該スイッチ400と通信して得た情報を表示することができる。スイッチ400は、端末装置40と通信可能な通信部140を有する。端末装置40は、スイッチ400との間で、通信部140を介した通信により集約宛先管理情報および集約宛先統計情報とを取得することができる。そして、端末装置40は、取得した集約宛先管理情報と、集約宛先統計情報とを表示可能な図示しない表示部を有する。   Similarly to the first embodiment, the terminal device 40 is communicably connected to the switch 400, and can display information obtained by communicating with the switch 400. The switch 400 includes a communication unit 140 that can communicate with the terminal device 40. The terminal device 40 can acquire aggregated destination management information and aggregated destination statistical information by communication via the communication unit 140 with the switch 400. The terminal device 40 includes a display unit (not shown) that can display the acquired aggregate destination management information and the aggregate destination statistical information.

また、スイッチ400は、第1の実施の形態のスイッチ100と同様、上記の複数のインタフェースカードによって構成されている。ここでは、フレームが入力されるインタフェースカードを入力カードとし、フレームが出力されるインタフェースカードを出力カードとするが、各インタフェースカードは、機能的には同一であり、それぞれのカードにおいてフレームの入力および出力が可能である。すなわち、スイッチ400は、入力部110、振分部420、障害検出部130として機能する入力カードと、各出力部481a,481b,・・・,481zとしてそれぞれ機能する複数の出力カードとによって、入力されたフレームを他のスイッチなどに出力する。   The switch 400 is configured by the plurality of interface cards as in the switch 100 of the first embodiment. Here, an interface card to which a frame is input is referred to as an input card, and an interface card from which a frame is output is referred to as an output card. However, each interface card is functionally identical, Output is possible. That is, the switch 400 is input by an input card that functions as the input unit 110, the distribution unit 420, and the failure detection unit 130, and a plurality of output cards that function as the output units 481a, 481b,. Output the frame to another switch.

なお、本実施の形態の切替決定部422は、運用系の出力部に設定されている出力部481a,481b,・・・,481zのうちの少なくとも一つの出力部481a,481b,・・・,481zを、待機系の出力部に設定するとともに、待機系の出力部に設定されている出力部(例えば、出力部481z)を運用系の出力部に設定することにより、運用系の出力部を切り替える切替指示に応じて、集約管理情報記憶部452に記憶されている集約管理情報を、切替指示の対象である運用系の出力部であった出力部(例えば、出力部481a)に替えて待機系の出力部であった出力部481zを新たに運用系の出力部に設定するものに書き替えてもよい。   Note that the switching determination unit 422 of this embodiment includes at least one output unit 481a, 481b,..., 481z among the output units 481a, 481b,. 481z is set as the output unit of the standby system, and the output unit set as the output unit of the standby system (for example, the output unit 481z) is set as the output unit of the active system. In response to the switching instruction to switch, the aggregation management information stored in the aggregation management information storage unit 452 is changed to the output unit (for example, the output unit 481a) that is the output unit of the active system that is the target of the switching instruction, and waits. The output unit 481z, which was the system output unit, may be rewritten to be newly set as the active system output unit.

そしてこの場合、振分先決定部424は、予めフレームを出力する物理リンクを、運用系の出力部に設定されている出力部(例えば、出力部481z以外の出力部481a,481b,・・・)を構成する物理リンクに設定するとともに、集約管理情報記憶部452に記憶されている集約管理情報を参照して、フレームを出力する物理リンクを、当該待機系の出力部481zを構成する物理リンクに切り替えるものとする。これにより、複数の出力部を運用系に割り当て、一つの出力部を待機系に割り当てる(1:N)カード冗長を実現することができる。   In this case, the allocation destination determination unit 424 outputs the physical link that outputs the frame in advance as an output unit (for example, output units 481a, 481b,... Other than the output unit 481z). ) And the physical link that outputs the frame with reference to the aggregate management information stored in the aggregate management information storage unit 452, and the physical link that configures the output unit 481z of the standby system Shall be switched to. Thereby, it is possible to realize card redundancy in which a plurality of output units are allocated to the active system and one output unit is allocated to the standby system (1: N).

図14は、第4の実施の形態の集約管理テーブルのデータ構造例を示す図である。図14に示す集約管理テーブル452aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約管理情報記憶部452として機能する。集約管理テーブル452aは、図7に示す集約管理テーブル152aと同様、各フレームが送出される論理リンクを決定するためのテーブルである。集約管理テーブル452aには、“V”フィールド、“LAG番号”フィールド、“SEL”フィールド、“NH”フィールド、“HT”フィールド、“HR”フィールド、“現用AP”フィールド、および複数個(例えば、N−1個)の“予備AP”フィールド(例えば、“予備AP1”フィールド,・・・,“予備AP N−1”フィールド)が設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。   FIG. 14 is a diagram illustrating an example of a data structure of an aggregation management table according to the fourth embodiment. The aggregation management table 452 a shown in FIG. 14 is stored in the table storage memory 104. The table storage memory 104 functions as an aggregate management information storage unit 452. The aggregation management table 452a is a table for determining a logical link to which each frame is transmitted, like the aggregation management table 152a shown in FIG. The aggregation management table 452a includes a “V” field, a “LAG number” field, a “SEL” field, an “NH” field, an “HT” field, an “HR” field, an “active AP” field, and a plurality (for example, N−1) “reserve AP” fields (for example, “reserve AP1” field,..., “Reserve AP N−1” field) are provided. Information arranged in the horizontal direction of each field is associated with each other.

本実施の形態のSELフィールドには、フレームを送出する論理リンクが現用系および複数の予備系のいずれであるかを示す情報が設定される。具体的には、現用系の論理リンクでフレームを送出する場合には、“0”が設定される。一方、現用系の論理リンクに障害が発生し、現用系の論理リンクから予備系の論理リンクに切り替える場合には、予備系の論理リンクでフレームを送出する場合には、上記の“0”から、切り替えによりフレームの送出に用いられる予備系の論理リンクを特定する情報(例えば、1〜N−1の値)に書き替えて設定される。   In the SEL field according to the present embodiment, information indicating whether the logical link for transmitting a frame is an active system or a plurality of standby systems is set. Specifically, “0” is set when a frame is transmitted through the working logical link. On the other hand, when a failure occurs in the active logical link and the active logical link is switched to the standby logical link, when the frame is transmitted on the standby logical link, the above “0” is used. By switching, the information is set by rewriting information (for example, a value of 1 to N-1) for specifying a backup logical link used for frame transmission.

上記の複数個の予備APフィールドには、それぞれの予備系の論理リンクにおける使用可能なポート数、またはNHフィールドに基づいてハッシュ計算を行わない場合の予備系の論理リンクにおける送出ポートを示す情報が設定される。具体的には、原則として、その時点において予備系のその論理リンクにおける使用可能なポート数が設定される。NHフィールドの設定値が1の場合には、予備系の論理リンクにおいてフレームが送出されるポートを示す集約宛先管理テーブル453aのHVフィールドの値(または集約宛先管理テーブル453bのアドレス)が直接設定される。   In the plurality of spare AP fields, information indicating the number of ports that can be used in each of the spare logical links, or transmission ports in the spare logical links when hash calculation is not performed based on the NH field. Is set. Specifically, in principle, the number of ports that can be used in the logical link of the standby system at that time is set. When the setting value of the NH field is 1, the value of the HV field (or the address of the aggregate destination management table 453b) of the aggregate destination management table 453a indicating the port to which the frame is transmitted in the backup logical link is directly set. The

集約管理テーブル452aは、集約管理テーブル152aと同様、スイッチ400の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。また、集約管理テーブル452aは、運用系である出力部の論理リンクにおける使用可能なポート数の変化に応じて、設定値が変化する。   Similar to the aggregation management table 152a, the aggregation management table 452a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 400. In the aggregation management table 452a, the setting value changes in accordance with the change in the number of usable ports in the logical link of the output unit that is the active system.

図15は、第4の実施の形態の集約宛先管理テーブルのデータ構造例を示す図である。図15に示す集約宛先管理テーブル453aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約宛先管理情報記憶部453として機能する。集約宛先管理テーブル453aは、図8に示す集約宛先管理テーブル153aと同様、論理リンクにおける各フレームが送出される通信ポートである宛先ポートを示すテーブルである。集約宛先管理テーブル453aには、“HV”フィールド、“現用DP”フィールド、および複数個(例えば、N−1個)の予備DPフィールド(例えば、“予備DP1”フィールド,・・・,“予備DP N−1”フィールド)が設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。   FIG. 15 is a diagram illustrating an example of a data structure of the aggregated destination management table according to the fourth embodiment. The aggregated destination management table 453a illustrated in FIG. 15 is stored in the table storage memory 104. The table storage memory 104 functions as the aggregate destination management information storage unit 453. The aggregated destination management table 453a is a table indicating a destination port that is a communication port to which each frame in the logical link is transmitted, like the aggregated destination management table 153a illustrated in FIG. The aggregate destination management table 453a includes an “HV” field, an “active DP” field, and a plurality (eg, N−1) spare DP fields (eg, “spare DP1” field,..., “Spare DP”. N-1 "field). Information arranged in the horizontal direction of each field is associated with each other.

上記の複数個の予備DPフィールドには、それぞれの予備系の論理リンクにおいてフレームが送信される通信ポートである宛先ポートを一意に識別する情報が設定される。
集約宛先管理テーブル453aは、スイッチ400の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。
In the plurality of spare DP fields, information for uniquely identifying a destination port that is a communication port to which a frame is transmitted in each spare logical link is set.
The aggregate destination management table 453 a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 400.

以上に示すように、第4の実施の形態によれば、多くの出力部を用いてリンク集約を構成することができ、スイッチの信頼性を向上させることができる。
<第4の実施の形態の変形例>
次に、第4の実施の形態の変形例について説明する。上記の第4の実施の形態との相違点を中心に説明し、同様の事項については同一の符号を用いるとともに説明を省略する。本変形例のスイッチは、集約宛先管理テーブル453bにおいて、異なるアドレス内に現用DPおよびN−1個の予備DPを格納している点で異なる。
As described above, according to the fourth embodiment, link aggregation can be configured using many output units, and the reliability of the switch can be improved.
<Modification of Fourth Embodiment>
Next, a modification of the fourth embodiment will be described. Differences from the above-described fourth embodiment will be mainly described, and the same reference numerals are used for similar matters, and descriptions thereof are omitted. The switch of this modification is different in that the working DP and N-1 spare DPs are stored in different addresses in the aggregated destination management table 453b.

集約宛先管理テーブルの同一アドレス内に現用DPと予備DPが格納されている場合、テーブルのメモリ容量を効率的に使用することが可能であるが、現用系が運用系である状態において、フレーム入力に基づいて集約宛先管理テーブルが常にアクセスされているときに、設定用フレームを入力して非運用系である予備系のDP設定や変更等を行ったとき、入力パケットからのアクセスと予備系設定用フレームのアクセスとが同時に発生するアクセス衝突(競合)が発生する可能性がある。この場合、このアクセス衝突を回避するアクセス調停の制御回路を追加する必要があり、回路の複雑化、および装置のコストの上昇を引き起こすことになる。   When the working DP and the spare DP are stored in the same address of the aggregate destination management table, it is possible to efficiently use the memory capacity of the table, but when the working system is the active system, the frame input When the aggregated destination management table is always accessed based on the settings, when the setting frame is input and DP setting or change of the non-active system is performed, access from the input packet and the standby system setting are performed. There is a possibility that an access collision (contention) that occurs at the same time as the access of the frame for use occurs. In this case, it is necessary to add an access arbitration control circuit for avoiding this access collision, resulting in a complicated circuit and an increase in the cost of the apparatus.

図16は、第4の実施の形態の変形例における集約宛先管理テーブルのデータ構造例を示す図である。本変形例では、図16に示すように、集約宛先管理テーブル453bを現用DPとN−1個の予備DPで別のアドレスに割り当て、それぞれに別個の領域を与える。それぞれの領域のアドレスは、図14の集約管理テーブル452aのSELフィールドの値と図中のハッシュ計算の結果の値がビット結合した値を割り当てる。   FIG. 16 is a diagram illustrating an example of the data structure of the aggregated destination management table in the modification of the fourth embodiment. In this modification, as shown in FIG. 16, the aggregated destination management table 453b is assigned to different addresses by the working DP and the N-1 spare DPs, and a separate area is given to each. As the address of each area, a value obtained by bit-combining the value of the SEL field of the aggregation management table 452a in FIG. 14 and the value of the hash calculation result in FIG.

また、図中の集約宛先管理テーブル453bは、デュアルポートメモリに格納される。例えば、予備DPにおいて、予備系出力部182のポート#7は、SELフィールドの値“1”と、集約宛先管理テーブル453bにおけるDPのアドレス“7”がビット結合されて、16進数表記では“0x17”となっている。集約宛先管理テーブル453bでは、このアドレスが、フレームに割り当てられたハッシュ値と、フレームが送出される通信ポートとの関係を対応付けている。   Also, the aggregated destination management table 453b in the figure is stored in the dual port memory. For example, in the spare DP, the port # 7 of the standby output unit 182 has a bit combination of the SEL field value “1” and the DP address “7” in the aggregated destination management table 453b. It has become. In the aggregate destination management table 453b, this address associates the relationship between the hash value assigned to the frame and the communication port to which the frame is transmitted.

図16に示す集約宛先管理テーブル453bは、テーブル記憶メモリ104に格納されている。集約宛先管理テーブル453bは、集約宛先管理テーブル453aと同様、論理リンクにおける各フレームが送出される通信ポートである宛先ポートを示すテーブルである。集約宛先管理テーブル453bには、上記のアドレスでフレームのハッシュ値と対応付けられた、現用系または予備系の論理リンクにおける宛先ポートを一意に識別する情報が格納されている。集約宛先管理テーブル453bは、スイッチ400の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。   The aggregated destination management table 453b illustrated in FIG. 16 is stored in the table storage memory 104. Similar to the aggregated destination management table 453a, the aggregated destination management table 453b is a table indicating a destination port that is a communication port to which each frame in the logical link is transmitted. The aggregated destination management table 453b stores information for uniquely identifying the destination port in the working or protection logical link associated with the hash value of the frame at the above address. The aggregate destination management table 453 b is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 400.

以上に示すように、本変形例によれば、集約宛先管理テーブル453bにおいて、現用DPおよび複数の予備DPを、それぞれ異なる領域に割り当てることにより、非運用系側の設定変更や登録を、運用状態においてもアクセス衝突を引き起こすことなく行うことができる。   As described above, according to the present modification, in the aggregated destination management table 453b, the active DP and the plurality of spare DPs are assigned to different areas, respectively, so that the setting change and registration on the non-operating system side can be performed. Can be performed without causing access collision.

[第5の実施の形態]
次に、第5の実施の形態について説明する。ここでは、上記の第2の実施の形態および第4の実施の形態との相違点を中心に説明し、同様の事項については同一の符号を用いるとともに説明を省略する。
[Fifth Embodiment]
Next, a fifth embodiment will be described. Here, the difference from the second embodiment and the fourth embodiment will be mainly described, and the same reference numerals are used for the same matters and the description is omitted.

第5の実施の形態は、出力部を有さず、フレームを実際には出力せずに、フレームの振分のみを実行するとともに、フレームが振り分けられる物理リンクの統計情報のみを取得する点で、上記の実施の形態と異なる。   The fifth embodiment has no output unit, does not actually output the frame, performs only the distribution of the frame, and acquires only the statistical information of the physical link to which the frame is distributed. This is different from the above embodiment.

以下に、本実施の形態における振分部520について説明する。図17は、第5の実施の形態の振分部の機能を示すブロック図である。
本実施の形態の振分部520は、フロー宛先決定部121、切替決定部422、ハッシュ計算部123、振分先決定部424、フレーム廃棄部125に加えて、各物理リンクから出力されるフレームの数を集計するために、統計情報書込部526を有する。また、本実施の形態の図示しないスイッチは、図示しない入力部、振分部520、障害検出部130、図示しない通信部、フロー宛先管理情報記憶部151、集約管理情報記憶部452、集約宛先管理情報記憶部453の他、各物理リンクから出力されるフレームの数の集計結果を記憶するために、集約宛先統計情報記憶部554を有する。
Below, the distribution part 520 in this Embodiment is demonstrated. FIG. 17 is a block diagram illustrating functions of the distribution unit according to the fifth embodiment.
The distribution unit 520 of this embodiment includes a frame output from each physical link in addition to the flow destination determination unit 121, the switching determination unit 422, the hash calculation unit 123, the distribution destination determination unit 424, and the frame discard unit 125. Statistical information writing unit 526 is included. Further, the switch (not shown) of the present embodiment includes an input unit (not shown), a distribution unit 520, a failure detection unit 130, a communication unit (not shown), a flow destination management information storage unit 151, an aggregate management information storage unit 452, and an aggregate destination management. In addition to the information storage unit 453, an aggregated destination statistical information storage unit 554 is provided to store a total result of the number of frames output from each physical link.

一方、本実施の形態のスイッチは、第4の実施の形態と異なり、出力部481a,481b,・・・,481xを有さない。この出力部は、実際には存在しないが、試験のために実在のスイッチと同等の仕様(例えば、物理リンクが接続されるポートを8個有するなど)のものが想定され、各記憶部においてデータ上にのみ設定されている。   On the other hand, unlike the fourth embodiment, the switch of the present embodiment does not have the output units 481a, 481b,. Although this output unit does not actually exist, it is assumed that it has a specification equivalent to that of an actual switch for testing (for example, having eight ports to which a physical link is connected). Only set on.

入力部は、第4の実施の形態と同様、本実施の形態のスイッチによって他のスイッチおよび端末装置などの通信機器に転送されるフレームが入力される。
振分部520は、第4の実施の形態と同様、集約宛先管理情報記憶部453に集約宛先管理テーブルとして記憶されている集約宛先管理情報を参照して、フレームを出力する物理リンクを、複数の実在しない出力部のうちの一つの出力部を構成する物理リンクに設定するとともに、切替指示に応じて、フレームを出力する物理リンクを、他の出力部を構成する物理リンクに切り替える。
As in the fourth embodiment, the input unit receives a frame transferred to a communication device such as another switch and a terminal device by the switch of the present embodiment.
As in the fourth embodiment, the allocating unit 520 refers to the aggregate destination management information stored as the aggregate destination management table in the aggregate destination management information storage unit 453, and sets a plurality of physical links that output frames. Is set to a physical link that constitutes one of the output units that does not exist, and the physical link that outputs a frame is switched to a physical link that constitutes another output unit in response to a switching instruction.

この切替指示は、本実施の形態のスイッチと他のスイッチとの論理リンクによる通信に障害が発生したことを想定する場合には、障害検出部130により、障害の発生の検出に基づいて振分部520の切替決定部422に対して切替指示が出力される。振分部520による切替に基づいて、運用系の出力部が、現在フレームが出力されている運用系の出力部である出力部からいずれかの待機系の出力部に切り替えられる。この切替以降は、これに従い、待機系の出力部から出力されるフレームの数が集計される。   When it is assumed that a failure has occurred in communication between the switch of this embodiment and another switch via a logical link, the switching instruction is distributed by the failure detection unit 130 based on the detection of the occurrence of the failure. A switching instruction is output to the switching determination unit 422 of the unit 520. Based on the switching by the allocating unit 520, the active output unit is switched from the output unit that is the active output unit that is currently outputting the frame to one of the standby output units. After this switching, the number of frames output from the output unit of the standby system is totaled accordingly.

また、振分部520は、使用可能な物理リンク数に基づいて、運用系の出力部を切り替える。振分部520は、運用系の出力部の有効物理リンク情報が示す物理リンクの数が、帯域情報によって示される帯域未満である場合には、他の待機系の出力部のうちのいずれかを運用系の出力部に切り替える。スイッチによって送信されるフレームには、送信先に応じて当該フレームを送信するために確保すべき帯域を示す帯域情報が設定されている。この帯域情報は、スイッチが有する図示しない記憶部に記憶されている。   Also, the distribution unit 520 switches the active output unit based on the number of usable physical links. When the number of physical links indicated by the effective physical link information of the active output unit is less than the band indicated by the band information, the allocating unit 520 selects one of the other standby output units. Switch to the active output section. Band information indicating a band to be secured for transmitting the frame is set in the frame transmitted by the switch in accordance with the transmission destination. This band information is stored in a storage unit (not shown) of the switch.

フロー宛先決定部121は、第4の実施の形態と同様、フロー宛先管理情報記憶部151に記憶されているフロー宛先管理情報を参照して、フレームが出力される物理リンクを、論理リンクを構成する物理リンク、または論理リンクを構成する物理リンク以外の物理リンク(図示省略)のうちの一つの物理リンクのうちいずれかに決定する。   As in the fourth embodiment, the flow destination determination unit 121 refers to the flow destination management information stored in the flow destination management information storage unit 151 and configures the physical link from which the frame is output as a logical link. Or one of the physical links (not shown) other than the physical links constituting the logical link.

切替決定部422は、第4の実施の形態と同様、障害検出部130による切替指示を検出した場合には、運用系の出力部に設定されている出力部を待機系の出力部に設定するとともに待機系の出力部に設定されている出力部のうち少なくとも一つの出力部を運用系の出力部に設定することによって運用系の出力部を切り替える切替指示に応じて、集約管理情報記憶部452に記憶されている集約管理情報を、運用系の出力部であった出力部に替えて待機系の出力部であり、かつ、切替指示の対象である出力部のうちのいずれかを新たに運用系の出力部に設定する。このとき、切替決定部422は、集約管理情報を、設定が反映されたものに書き替える。これに基づいて、集約管理情報を参照する統計情報書込部526は、フレームが出力される物理リンクを、待機系の出力部のうちから決定する。   Similar to the fourth embodiment, the switching determination unit 422 sets the output unit set as the active output unit as the standby output unit when the switching instruction from the failure detection unit 130 is detected. In addition, in accordance with a switching instruction to switch the active output unit by setting at least one output unit among the output units set as the standby output unit to the active output unit, the integrated management information storage unit 452 The integrated management information stored in is replaced with the output unit that was the active output unit, and it is a standby output unit, and one of the output units that are the target of switching is newly operated Set to the output section of the system. At this time, the switching determination unit 422 rewrites the aggregate management information to reflect the setting. Based on this, the statistical information writing unit 526 that refers to the aggregate management information determines a physical link to which a frame is output from among the output units of the standby system.

また、切替決定部422は、第4の実施の形態と同様、集約管理情報を参照して、ハッシュ計算部123にハッシュ計算を行わせる。このとき、切替決定部422は、フレーム部分特定情報に基づいてフレームの全体からフレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いてハッシュ計算部123にハッシュ計算を行わせる。また、切替決定部422は、計算内容情報に基づいて、ハッシュ計算部123にハッシュ計算を行わせる。さらに、切替決定部422は、演算不実行情報を検出した場合には、ハッシュ計算部123にハッシュ計算を行わせることなく、フレームを出力する物理リンクを決定する。   The switching determination unit 422 also causes the hash calculation unit 123 to perform hash calculation with reference to the aggregation management information, as in the fourth embodiment. At this time, the switching determination unit 422 extracts frame part information from the entire frame based on the frame part specifying information, and causes the hash calculation unit 123 to perform hash calculation using the extracted frame part information. Also, the switching determination unit 422 causes the hash calculation unit 123 to perform hash calculation based on the calculation content information. Furthermore, when the operation non-execution information is detected, the switching determination unit 422 determines a physical link that outputs a frame without causing the hash calculation unit 123 to perform hash calculation.

ハッシュ計算部123は、フレームの一部を構成するフレーム部分情報に、各出力部が有する物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算する。   The hash calculation unit 123 calculates a hash value by using a hash function that can take the same number of types of values as the number of physical links included in each output unit for the frame part information constituting a part of the frame.

振分先決定部424は、予めフレームを出力する物理リンクを、運用系の出力部に設定されている出力部を構成する物理リンクに設定するとともに、集約管理情報記憶部452に記憶されている集約管理情報を参照して、フレームを出力する物理リンクを、当該待機系の出力部を構成する物理リンクに切り替える。   The distribution destination determination unit 424 sets a physical link that outputs a frame in advance as a physical link that constitutes an output unit that is set as an output unit of the active system, and is stored in the aggregation management information storage unit 452. With reference to the aggregation management information, the physical link that outputs the frame is switched to the physical link that forms the output unit of the standby system.

ここで、振分先決定部424は、集約管理情報を参照して、運用系の出力部を待機系の出力部のいずれかに切り替えるとともに、集約宛先管理情報を参照して、ハッシュ計算部123が計算することによって得られたハッシュ値に基づいて、フレームが出力される物理リンクを決定するとともに、決定結果を統計情報書込部526に出力する。これに基づいて、統計情報書込部526により、決定された物理リンクから出力されることになるフレームの数が集計される。   Here, the distribution destination determination unit 424 refers to the aggregation management information, switches the active output unit to any one of the standby output units, and refers to the aggregate destination management information to determine the hash calculation unit 123. The physical link to which the frame is output is determined on the basis of the hash value obtained by calculating, and the determination result is output to the statistical information writing unit 526. Based on this, the statistical information writing unit 526 aggregates the number of frames to be output from the determined physical link.

フレーム廃棄部125は、第4の実施の形態と同様、集約宛先管理情報が有するフレーム廃棄情報が、そのフレームを廃棄することを示す場合にはフレームを廃棄する。これにより、特定の送信先のみ、または特定の送信先以外のみにフレームを送信する試験を行う場合に、出力するフレームを制限することができる。   As in the fourth embodiment, the frame discard unit 125 discards the frame when the frame discard information included in the aggregate destination management information indicates that the frame is to be discarded. Thereby, when performing the test which transmits a frame only to a specific transmission destination or only to a specific transmission destination, the frame to be output can be limited.

統計情報書込部526は、振分先決定部424による決定の結果を取得して、各物理リンクから出力されたフレームの数の集計結果を集約宛先統計情報として集約宛先統計情報記憶部554に書き込む。   The statistical information writing unit 526 acquires the result of determination by the distribution destination determining unit 424, and stores the total number of frames output from each physical link in the aggregate destination statistical information storage unit 554 as aggregated destination statistical information. Write.

障害検出部130は、第4の実施の形態と同様、現用系出力部181を構成する物理リンクの障害の発生を検出するとともに、障害の発生を検出した場合には、切替指示を出力する。   As in the fourth embodiment, the failure detection unit 130 detects the occurrence of a failure in the physical link constituting the active output unit 181 and outputs a switching instruction when the occurrence of the failure is detected.

フロー宛先管理情報記憶部151は、第4の実施の形態と同様、フレームが出力される物理リンクを、論理リンクを構成する物理リンクにするか、または論理リンクを構成する物理リンク以外の物理リンクにするかを示すフロー宛先管理情報を記憶する。   As in the fourth embodiment, the flow destination management information storage unit 151 uses a physical link that outputs a frame as a physical link that constitutes a logical link, or a physical link other than a physical link that constitutes a logical link. The flow destination management information indicating whether or not to be stored is stored.

集約管理情報記憶部452は、第4の実施の形態と同様、出力部のうちのいずれの出力部が運用系の出力部に設定されているかを示す集約管理情報を記憶する。
また、集約管理情報は、第4の実施の形態と同様、ハッシュ計算部123で行われるハッシュ計算に関する設定を示す。具体的には、集約管理情報は、切替決定部422が、フレームを出力する物理リンクを決定するために、フレーム部分情報を特定するフレーム部分特定情報、ハッシュ計算の計算内容を示す計算内容情報、複数の出力部のそれぞれにおける使用可能な物理リンクの数を示す有効物理リンク数情報、ハッシュ計算を行わないことを示す演算不実行情報を有する。さらに、集約管理情報は、フレームを廃棄するか否かを示すフレーム廃棄情報を有する。
The aggregate management information storage unit 452 stores aggregate management information indicating which output unit of the output units is set as the output unit of the active system, as in the fourth embodiment.
Further, the aggregation management information indicates the setting related to the hash calculation performed by the hash calculation unit 123, as in the fourth embodiment. Specifically, the aggregation management information includes frame part specifying information for specifying frame part information, calculation contents information indicating calculation contents of hash calculation, in order for the switching determination unit 422 to determine a physical link that outputs a frame, It has effective physical link number information indicating the number of usable physical links in each of the plurality of output units, and operation non-execution information indicating that hash calculation is not performed. Further, the aggregate management information includes frame discard information indicating whether to discard the frame.

集約宛先管理情報記憶部453は、第4の実施の形態と同様、フレームが出力される物理リンクを示す集約宛先管理情報を記憶する。ここで、集約宛先管理情報は、上記の集約宛先管理テーブル453a,453bを構成して集約宛先管理情報記憶部453に記憶されている。集約宛先管理情報は、それぞれの出力部の物理リンクを特定する物理リンク情報を有する。物理リンクは、それぞれの出力部が有する各ポートである。さらに、集約宛先管理情報は、ハッシュ計算部123によって計算される各ハッシュ値と、物理リンク情報が示す各物理リンクとが対応付けられている。   The aggregated destination management information storage unit 453 stores aggregated destination management information indicating a physical link to which a frame is output, as in the fourth embodiment. Here, the aggregated destination management information constitutes the aggregated destination management tables 453a and 453b and is stored in the aggregated destination management information storage unit 453. The aggregated destination management information includes physical link information that identifies the physical link of each output unit. The physical link is each port included in each output unit. Further, in the aggregated destination management information, each hash value calculated by the hash calculation unit 123 is associated with each physical link indicated by the physical link information.

集約宛先管理情報記憶部453は、第4の実施の形態と同様、デュアルポートメモリで構成されている。また、物理リンク特定情報は、集約宛先管理情報記憶部453において記憶されているアドレスの一部がそれぞれの出力部と対応付けられるとともに、アドレスの他の一部が物理リンクと対応付けられている。   The aggregated destination management information storage unit 453 is configured by a dual port memory as in the fourth embodiment. In the physical link specifying information, a part of the address stored in the aggregated destination management information storage unit 453 is associated with each output unit, and the other part of the address is associated with the physical link. .

集約宛先統計情報記憶部554は、第2の実施の形態の集約宛先統計情報記憶部254と同様、各出力部の各物理リンクから出力されるフレームの数の集計結果である集約宛先統計情報を記憶する。また、集約宛先統計情報記憶部554は、集約宛先管理情報記憶部453と同様、デュアルポートメモリで構成されている。また、集約宛先統計情報は、集約宛先統計情報記憶部554において記憶されているアドレスの一部が各出力部と対応付けられるとともに、アドレスの他の一部が物理リンクと対応付けられている。   Similar to the aggregate destination statistical information storage unit 254 of the second embodiment, the aggregate destination statistical information storage unit 554 stores the aggregate destination statistical information that is the aggregated result of the number of frames output from each physical link of each output unit. Remember. Further, the aggregated destination statistical information storage unit 554 is configured by a dual port memory, like the aggregated destination management information storage unit 453. In addition, in the aggregate destination statistical information, a part of the address stored in the aggregate destination statistical information storage unit 554 is associated with each output unit, and the other part of the address is associated with the physical link.

出力部は、論理リンクを構成する物理リンクのうちのそれぞれ異なる一部の物理リンクから構成されるものとして設定されている。それぞれの出力部を構成する物理リンクの数は同一(例えば、8個)であるものとする。複数の出力部のうちの一つの出力部は、フレームを出力する運用系の出力部とする。この運用系の出力部として設定されたもの以外の出力部は、フレームを出力可能な状態で待機する待機系の出力部とする。   The output unit is set to be composed of a part of different physical links among the physical links constituting the logical link. It is assumed that the number of physical links constituting each output unit is the same (for example, 8). One output unit of the plurality of output units is an active output unit that outputs a frame. The output units other than those set as the active output unit are standby output units that stand by in a state where frames can be output.

通信部(図示省略)は、第2の実施の形態と同様、集約宛先管理情報記憶部453に記憶されている集約宛先管理情報と、集約宛先統計情報記憶部554に記憶されている集約宛先統計情報とを端末装置(図示省略)に対して出力する。端末装置は、第4の実施の形態の端末装置と同様、本実施の形態のスイッチが有する通信部と通信可能に接続され、この通信部と通信して得た情報を表示することができる。端末装置は、通信部を介した通信により集約宛先管理情報および集約宛先統計情報とを取得することができる。そして、端末装置は、取得した集約宛先管理情報と、集約宛先統計情報とを表示可能な図示しない表示部を有する。   As in the second embodiment, the communication unit (not shown) includes the aggregate destination management information stored in the aggregate destination management information storage unit 453 and the aggregate destination statistics stored in the aggregate destination statistical information storage unit 554. Information is output to a terminal device (not shown). Similar to the terminal device of the fourth embodiment, the terminal device is communicably connected to a communication unit included in the switch of the present embodiment, and can display information obtained by communicating with the communication unit. The terminal device can acquire aggregated destination management information and aggregated destination statistical information by communication via the communication unit. The terminal device includes a display unit (not shown) that can display the acquired aggregate destination management information and aggregate destination statistical information.

図18は、第5の実施の形態の集約宛先統計テーブルのデータ構造例を示す図である。本実施の形態では、図18に示すように、集約宛先統計テーブル554aを現用DPおよびN−1個の予備DPで別のアドレスに割り当て、それぞれに別個の領域を与える。   FIG. 18 is a diagram illustrating an example of a data structure of an aggregate destination statistics table according to the fifth embodiment. In this embodiment, as shown in FIG. 18, the aggregated destination statistics table 554a is assigned to different addresses by the working DP and the N-1 spare DPs, and a separate area is given to each.

また、図中の集約宛先統計テーブル554aは、図11の集約宛先統計テーブル254aと同様、デュアルポートメモリに格納される。例えば、現用DPにおいて、現用系出力部のポート#7(集約宛先統計テーブル554aにおける上から8行目)は、SELフィールドの値“0”と、集約宛先統計テーブル554aにおけるDPのアドレス“7”とがビット結合されて、16進数表記では“0x07”となっている。集約宛先統計テーブル554aでは、このアドレスが、フレームが送出される通信ポートと、その通信ポートから送出されるフレームの数の関係を対応付けている。   Also, the aggregated destination statistics table 554a in the figure is stored in the dual port memory, like the aggregated destination statistics table 254a in FIG. For example, in the working DP, the port # 7 of the working output unit (the eighth line from the top in the aggregate destination statistics table 554a) has the value “0” in the SEL field and the DP address “7” in the aggregate destination statistics table 554a. Are bit-coupled to be “0x07” in hexadecimal notation. In the aggregate destination statistics table 554a, this address associates the relationship between the communication port to which the frame is transmitted and the number of frames to be transmitted from the communication port.

図18に示す集約宛先統計テーブル554aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約宛先統計情報記憶部554として機能する。集約宛先統計テーブル554aは、通信ポートから送出されたフレームの数の集計結果を示すテーブルである。集約宛先統計テーブル554aには、上記のアドレスでフレームのハッシュ値と対応付けられた、現用系または予備系の論理リンクにおける宛先ポートから送出されたフレームの数を示す情報が格納されている。集約宛先統計テーブル554aは、統計情報書込部526による集計結果の書き込みに応じて、テーブル記憶メモリ104に格納される。   The aggregated destination statistics table 554a illustrated in FIG. 18 is stored in the table storage memory 104. The table storage memory 104 functions as the aggregate destination statistical information storage unit 554. The aggregated destination statistics table 554a is a table that indicates a totaled result of the number of frames transmitted from the communication port. The aggregated destination statistics table 554a stores information indicating the number of frames transmitted from the destination port in the working or protection logical link, which is associated with the frame hash value at the above address. The aggregated destination statistics table 554a is stored in the table storage memory 104 in accordance with the writing of the aggregation results by the statistics information writing unit 526.

以上に示すように、第5の実施の形態によれば、集約宛先統計テーブル554aにおいて、各通信ポートから送出されたフレーム数を示す情報を格納することにより、スイッチ100のフレームの振分機能について試験を行う場合に、出力部を省略でき、振分結果を容易に取得することができる。   As described above, according to the fifth embodiment, the information indicating the number of frames transmitted from each communication port is stored in the aggregate destination statistics table 554a, so that the frame distribution function of the switch 100 can be obtained. When performing the test, the output unit can be omitted, and the distribution result can be easily obtained.

また、出力側のインタフェースカードを必要としないので、インタフェースカードが1枚のみで試験を行うことができる。
[第6の実施の形態]
次に、第6の実施の形態について説明する。上記の第1の実施の形態との相違点を中心に説明し、同様の事項については同一の符号を用いるとともに説明を省略する。
Further, since no output side interface card is required, the test can be performed with only one interface card.
[Sixth Embodiment]
Next, a sixth embodiment will be described. Differences from the first embodiment will be mainly described, and the same reference numerals are used for the same matters, and descriptions thereof are omitted.

第6の実施の形態は、リンク集約を用いた論理リンクにおいて、ユニキャストフローだけでなく、マルチキャストフローでフレームの送信を行うことができる点で、第1の実施の形態と異なる。   The sixth embodiment is different from the first embodiment in that a frame can be transmitted not only by a unicast flow but also by a multicast flow in a logical link using link aggregation.

以下に、本実施の形態におけるスイッチ600について説明する。図19は、第6の実施の形態のスイッチの機能を示すブロック図である。
本実施の形態のスイッチ600は、リンク集約による冗長構成を有する論理リンクと同時に、冗長構成を有さない物理リンクに対してマルチキャストフローによるフレームの送信を行うために、入力部110、振分部620、障害検出部130、通信部140、フロー宛先管理情報記憶部651、集約マルチキャスト管理情報記憶部692、集約マルチキャスト宛先管理情報記憶部693、マルチキャスト宛先管理情報記憶部695、2個の冗長系出力部681a,681bおよび複数の独立系出力部682x,・・・を有する。また、振分部620は、フロー宛先決定部621を有する。マルチキャスト振分部670は、マルチキャスト切替決定部672、ハッシュ計算部673、マルチキャスト宛先決定部674、マルチキャスト振分先決定部675を有する。
Hereinafter, the switch 600 in the present embodiment will be described. FIG. 19 is a block diagram illustrating functions of a switch according to the sixth embodiment.
The switch 600 according to this embodiment includes an input unit 110, a distribution unit, and a logical unit having a redundant configuration based on link aggregation and a frame for multicast flow transmission to a physical link that does not have a redundant configuration. 620, failure detection unit 130, communication unit 140, flow destination management information storage unit 651, aggregated multicast management information storage unit 692, aggregated multicast destination management information storage unit 693, multicast destination management information storage unit 695, two redundant system outputs Part 681a, 681b and a plurality of independent output parts 682x,. In addition, the distribution unit 620 includes a flow destination determination unit 621. The multicast distribution unit 670 includes a multicast switching determination unit 672, a hash calculation unit 673, a multicast destination determination unit 674, and a multicast distribution destination determination unit 675.

なお、本実施の形態では説明を省略するが、スイッチ600は、第1の実施の形態の図5における集約管理情報記憶部152、集約宛先管理情報記憶部153、ならびに、フロー宛先決定部121、切替決定部122、ハッシュ計算部123、振分先決定部124を有する振分部120を有しており、冗長系出力部681aおよび冗長系出力部681bで構成された論理リンクを用いて、フレームの転送を行うことができる。   Although description is omitted in the present embodiment, the switch 600 includes the aggregation management information storage unit 152, the aggregation destination management information storage unit 153, and the flow destination determination unit 121 in FIG. 5 of the first embodiment. It has a distribution unit 120 having a switching determination unit 122, a hash calculation unit 123, and a distribution destination determination unit 124, and uses a logical link composed of a redundant system output unit 681a and a redundant system output unit 681b, Can be transferred.

入力部110は、第1の実施の形態と同様、本実施の形態のスイッチ600によって他のスイッチおよび端末装置などの通信機器に転送されるフレームが入力される。
本実施の形態の振分部620が有するフロー宛先決定部621は、フロー宛先管理情報記憶部651に記憶されているフロー宛先管理情報を参照して、入力部110により入力されたフレームを、冗長系出力部681a,681bによって構成された論理リンクのみを用いたユニキャストで出力するか、または冗長系出力部681a,681bに加えて冗長構成を有さず物理リンクのみで構成された独立系出力部682x,・・・も用いたマルチキャストで出力するかを決定する。
As in the first embodiment, the input unit 110 receives a frame transferred to a communication device such as another switch and a terminal device by the switch 600 of the present embodiment.
The flow destination determination unit 621 included in the distribution unit 620 according to the present embodiment refers to the flow destination management information stored in the flow destination management information storage unit 651 and determines the frame input by the input unit 110 as a redundant Output by unicast using only logical links configured by system output units 681a and 681b, or independent system output configured by only physical links without redundant configuration in addition to redundant system output units 681a and 681b .. 682x,... Are also determined for multicast output.

ここで、入力されたフレームがマルチキャストで出力される場合、通常、フレームのMACアドレス(図4参照)の最上位ビットに1が設定されている。これに従い、本実施の形態のフロー宛先決定部621では、最上位ビットが1の場合、ある任意の最上位ビットが1のアドレスをマルチキャストアドレスとして、フロー宛先管理テーブル651aに登録することで、入力されたフレームのMACアドレスから、マルチキャストアドレスの宛先情報を取得する。   Here, when the input frame is output by multicast, 1 is normally set to the most significant bit of the MAC address (see FIG. 4) of the frame. Accordingly, in the flow destination determination unit 621 according to the present embodiment, when the most significant bit is 1, an address in which any arbitrary most significant bit is 1 is registered as a multicast address in the flow destination management table 651a. The destination information of the multicast address is acquired from the MAC address of the frame that has been set.

また、宛先ポートが論理リンク(LAG)の場合は、そのフロー宛先管理テーブル651aにおいて、論理リンクで送信されるフレームの宛先MACアドレスに対応付けたLフィールドに1を設定することで、宛先として論理リンクを指定することができる。これに従い、フロー宛先決定部621は、フレームの宛先MACアドレスに対応付けられたLフィールドに1が設定されている場合、そのフレームの宛先を指定された論理リンクに決定する。   Further, when the destination port is a logical link (LAG), by setting 1 in the L field associated with the destination MAC address of the frame transmitted by the logical link in the flow destination management table 651a, the logical destination is set. A link can be specified. Accordingly, when 1 is set in the L field associated with the destination MAC address of the frame, the flow destination determination unit 621 determines the destination of the frame as the designated logical link.

なお、フロー宛先管理テーブル651aのアドレスと対応付けるための、フレーム側の情報は、宛先MACアドレスに限らず、VLANタグ(図4参照)が示す値を用いてもよい。   Note that the information on the frame side to be associated with the address of the flow destination management table 651a is not limited to the destination MAC address, and a value indicated by the VLAN tag (see FIG. 4) may be used.

また、宛先MACアドレスまたはVLANタグをフロー宛先管理テーブル651aのアドレスとの対応付けに用いた場合には、フロー宛先管理テーブル651a側のアドレスのビット数が非常に大きくなる。これに基づき、第1の実施の形態と同様に、フロー宛先管理テーブル651aに必要なメモリの容量が大きくなってしまう。これに対して、このフロー宛先管理テーブル651aを格納するメモリとして、一般的なSRAMおよびDRAMではなく、CAMを用いてもよい。   Further, when the destination MAC address or the VLAN tag is used for association with the address of the flow destination management table 651a, the number of bits of the address on the flow destination management table 651a side becomes very large. Based on this, the memory capacity required for the flow destination management table 651a increases as in the first embodiment. On the other hand, as a memory for storing the flow destination management table 651a, CAM may be used instead of general SRAM and DRAM.

また、振分部620は、説明を省略するが、フレームをユニキャストで出力する場合には、第1の実施の形態の振分部120と同様、集約宛先管理情報記憶部(図示省略)に集約宛先管理テーブルとして記憶されている集約宛先管理情報を参照して、フレームを出力する物理リンクを設定するとともに、切替指示に応じて、フレームを出力する物理リンクを切り替える。この切替指示は、スイッチ600と他のスイッチとの論理リンクによる通信に障害が発生した場合には、障害検出部130により、この障害の発生が検出される。そして、障害検出部130により、障害の発生の検出に基づいて振分部620の切替決定部(図示省略)に対して切替指示が出力される。このようにして、運用系の出力部が、いずれかの待機系の出力部に切り替えられる。   The distribution unit 620 omits the description, but when the frame is output by unicast, it is stored in the aggregated destination management information storage unit (not shown) as with the distribution unit 120 of the first embodiment. With reference to the aggregate destination management information stored as the aggregate destination management table, a physical link that outputs a frame is set, and a physical link that outputs a frame is switched according to a switching instruction. In the switching instruction, when a failure occurs in communication between the switch 600 and another switch through a logical link, the failure detection unit 130 detects the occurrence of the failure. Then, the failure detection unit 130 outputs a switching instruction to the switching determination unit (not shown) of the distribution unit 620 based on the detection of the occurrence of the failure. In this manner, the active output unit is switched to one of the standby output units.

マルチキャスト振分部670は、フロー宛先決定部621によってフレームがマルチキャストで出力すると決定された場合、マルチキャスト宛先管理情報を参照して、入力部110によって入力されたフレームが出力される物理リンクを出力する物理リンクとして、論理リンクを構成する物理リンクおよび論理リンクを構成しない物理リンクのうちフレームを出力する物理リンクを決定する。   When the flow destination determination unit 621 determines that the frame is to be output by multicast, the multicast distribution unit 670 refers to the multicast destination management information and outputs the physical link to which the frame input by the input unit 110 is output. As the physical link, a physical link that outputs a frame is determined from the physical link that configures the logical link and the physical link that does not configure the logical link.

マルチキャスト切替決定部672は、障害検出部130による切替指示を検出した場合には、運用系の出力部に設定されている冗長系出力部を待機系の冗長系出力部に設定するとともに待機系の冗長系出力部に設定されている冗長系出力部を運用系の冗長系出力部に設定することによって運用系の冗長系出力部を切り替える切替指示に応じて、集約マルチキャスト管理情報記憶部692に記憶されている集約マルチキャスト管理情報を、運用系の冗長系出力部であった冗長系出力部(例えば、冗長系出力部681a)に替えて待機系の冗長系出力部であった冗長系出力部(例えば、冗長系出力部681b)を新たに運用系の冗長系出力部に設定する。具体的には、このとき、マルチキャスト切替決定部672は、集約マルチキャスト管理情報を、設定が反映されたものに書き替える。これに基づいて、集約マルチキャスト管理情報を参照するマルチキャスト宛先決定部674は、フレームが出力される物理リンクを、待機系の冗長系出力部681bに切り替える。   When the multicast switching determination unit 672 detects the switching instruction from the failure detection unit 130, the multicast switching determination unit 672 sets the redundant output unit set as the active output unit as the standby redundant output unit and sets the standby system output unit. Stored in the aggregated multicast management information storage unit 692 in response to a switching instruction to switch the redundant system output unit of the active system by setting the redundant system output unit set as the redundant system output unit to the redundant system output unit of the active system The redundant multicast output unit (ie, the redundant output unit 681a) that is the standby redundant output unit instead of the redundant output unit (eg, the redundant output unit 681a) that is the active redundant output unit. For example, the redundant output unit 681b) is newly set as the active redundant output unit. Specifically, at this time, the multicast switching determination unit 672 rewrites the aggregated multicast management information to reflect the setting. Based on this, the multicast destination determining unit 674 that refers to the aggregated multicast management information switches the physical link to which the frame is output to the standby redundant output unit 681b.

また、マルチキャスト切替決定部672は、マルチキャスト集約管理情報を参照して、ハッシュ計算部673にハッシュ計算を行わせる。このとき、マルチキャスト切替決定部672は、フレーム部分特定情報に基づいてフレームの全体からフレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いてハッシュ計算部673にハッシュ計算を行わせる。また、マルチキャスト切替決定部672は、計算内容情報に基づいて、ハッシュ計算部673にハッシュ計算を行わせる。さらに、マルチキャスト切替決定部672は、演算不実行情報を検出した場合には、ハッシュ計算部673にハッシュ計算を行わせることなく、フレームを出力する物理リンクを決定する。   Also, the multicast switching determination unit 672 refers to the multicast aggregation management information and causes the hash calculation unit 673 to perform hash calculation. At this time, the multicast switching determination unit 672 extracts frame part information from the entire frame based on the frame part specifying information, and causes the hash calculation unit 673 to perform hash calculation using the extracted frame part information. Also, the multicast switching determination unit 672 causes the hash calculation unit 673 to perform hash calculation based on the calculation content information. Further, when multicast non-execution information is detected, the multicast switching determination unit 672 determines a physical link that outputs a frame without causing the hash calculation unit 673 to perform hash calculation.

ハッシュ計算部673は、フレームの一部を構成するフレーム部分情報に、冗長系出力部681a,681bおよび独立系出力部682x,・・・などの各出力部が有する物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算する。   The hash calculation unit 673 uses the same type as the number of physical links included in each output unit such as the redundant system output units 681a and 681b and the independent system output units 682x,. The hash value is calculated using a hash function that can take a numeric value.

マルチキャスト宛先決定部674は、集約マルチキャスト管理情報記憶部692に記憶されている集約マルチキャスト情報を参照して、現用物理リンク情報が示すパターンを選択するか、または予備物理リンク情報が示すパターンを選択するかの決定である切替決定を行う。   The multicast destination determination unit 674 refers to the aggregated multicast information stored in the aggregated multicast management information storage unit 692 and selects the pattern indicated by the working physical link information or selects the pattern indicated by the backup physical link information. A switching decision is made.

ここで、マルチキャスト宛先決定部674は、予めフレームを出力する論理リンクを、運用系の出力部に設定されている冗長系出力部(例えば、冗長系出力部681a)に設定する。そして、運用系の冗長系出力部の物理リンクに障害が発生した場合には、マルチキャスト宛先決定部674は、集約マルチキャスト宛先管理情報記憶部693に記憶されている集約マルチキャスト宛先管理情報を参照して、フレームを出力する物理リンクを、上記の運用系の出力部に設定されている冗長系出力部(冗長系出力部681a)から、待機系の出力部に設定されている冗長系出力部(例えば、冗長系出力部681b)に切り替える。   Here, the multicast destination determination unit 674 sets a logical link for outputting a frame in advance to the redundant output unit (for example, the redundant output unit 681a) set as the output unit of the active system. When a failure occurs in the physical link of the redundant output unit of the active system, the multicast destination determination unit 674 refers to the aggregated multicast destination management information stored in the aggregated multicast destination management information storage unit 693. From the redundant output unit (redundant output unit 681a) set as the output unit of the above-mentioned active system to the physical link that outputs the frame, the redundant output unit set as the standby output unit (for example, To the redundant output unit 681b).

すなわち、マルチキャスト宛先決定部674は、集約マルチキャスト宛先管理情報記憶部693に記憶されている集約マルチキャスト宛先管理情報を参照して、切替決定の結果に基づいて、現用物理リンク情報または予備物理リンク情報のパターンと、ハッシュ計算部673が計算することによって得られたハッシュ値とに基づいて、フレームが出力される物理リンクのパターンを決定する。   That is, the multicast destination determination unit 674 refers to the aggregated multicast destination management information stored in the aggregated multicast destination management information storage unit 693 and, based on the result of the switching determination, determines the working physical link information or the spare physical link information. Based on the pattern and the hash value obtained by calculation by the hash calculation unit 673, the pattern of the physical link from which the frame is output is determined.

これにより、マルチキャスト宛先決定部674は、集約マルチキャスト管理情報を参照して、論理リンクを構成する運用系の冗長系出力部を待機系の冗長系出力部に切り替えるとともに、集約宛先管理情報を参照して、ハッシュ計算部673が計算することによって得られたハッシュ値に基づいて、フレームが出力される物理リンクを決定する。   Thus, the multicast destination determination unit 674 refers to the aggregated multicast management information, switches the active redundant output unit constituting the logical link to the standby redundant output unit, and refers to the aggregated destination management information. Then, based on the hash value obtained by the calculation by the hash calculation unit 673, the physical link to which the frame is output is determined.

マルチキャスト振分先決定部675は、マルチキャスト宛先管理情報記憶部695に記憶されているマルチキャスト宛先管理情報を参照して、ハッシュ計算部673が計算することによって得られたハッシュ値に基づいて、フレームが出力される物理リンクを決定する。   The multicast distribution destination determination unit 675 refers to the multicast destination management information stored in the multicast destination management information storage unit 695, and based on the hash value obtained by the hash calculation unit 673 calculating the frame, Determine the physical link to be output.

障害検出部130は、冗長系出力部681aを構成する物理リンクの障害の発生を検出するとともに、障害の発生を検出した場合には、切替指示を出力する。
フロー宛先管理情報記憶部651は、フレームの送信先を示すとともに、フレームをユニキャストで出力するか、またはマルチキャストで出力するかを示すフロー宛先管理情報を記憶する。
The failure detection unit 130 detects the occurrence of a failure in the physical link constituting the redundant output unit 681a, and outputs a switching instruction when the occurrence of the failure is detected.
The flow destination management information storage unit 651 stores the flow destination management information indicating the transmission destination of the frame and indicating whether the frame is output by unicast or multicast.

集約マルチキャスト管理情報記憶部692は、フレームが冗長系出力部681a,681bを構成する物理リンクおよび独立系出力部682x,・・・を構成する物理リンクのうちいずれの物理リンクから出力されるかを示す集約マルチキャスト管理情報を記憶する。   The aggregated multicast management information storage unit 692 indicates from which physical link the frame is output from among the physical links constituting the redundant output units 681a, 681b and the independent output units 682x,. The aggregate multicast management information shown is stored.

また、集約マルチキャスト管理情報は、ハッシュ計算部673で行われるハッシュ計算に関する設定を示す。具体的には、集約マルチキャスト管理情報は、マルチキャスト切替決定部672が、フレームをマルチキャストで出力する物理リンクを決定するために、フレーム部分情報を特定するフレーム部分特定情報、ハッシュ計算の計算内容を示す計算内容情報、冗長系出力部681a,681bのそれぞれにおける使用可能な物理リンクの数を示す有効物理リンク数情報、ハッシュ計算を行わないことを示す演算不実行情報を有する。   Further, the aggregated multicast management information indicates settings related to hash calculation performed by the hash calculation unit 673. Specifically, the aggregated multicast management information indicates the frame part specifying information for specifying the frame part information and the calculation content of the hash calculation so that the multicast switching determining unit 672 determines the physical link for outputting the frame by multicast. It has calculation content information, effective physical link number information indicating the number of usable physical links in each of the redundant output units 681a and 681b, and operation non-execution information indicating that hash calculation is not performed.

集約マルチキャスト宛先管理情報記憶部693は、集約マルチキャスト宛先管理情報を記憶する。ここで、集約マルチキャスト宛先管理情報は、詳しくは図22において後述する集約マルチキャスト宛先管理テーブル693aを構成して集約マルチキャスト宛先管理情報記憶部693に記憶されている。集約マルチキャスト宛先管理情報は、冗長系出力部681a,681b、独立系出力部682x,・・・などのそれぞれの出力部の物理リンクを特定する物理リンク情報を有する。ここで、物理リンクは、出力部が有する各ポート(例えば、ポート#0,・・・,ポート#7など)である。さらに、集約マルチキャスト宛先管理情報は、ハッシュ計算部673によって計算される各ハッシュ値と、現用物理リンク情報が示す各パターンとが対応付けられているとともに、ハッシュ計算部673によって計算される各ハッシュ値と、予備物理リンク情報が示す各パターンとが対応付けられている。   The aggregated multicast destination management information storage unit 693 stores aggregated multicast destination management information. Here, the aggregated multicast destination management information is stored in the aggregated multicast destination management information storage unit 693 by configuring an aggregated multicast destination management table 693a, which will be described in detail later with reference to FIG. The aggregated multicast destination management information includes physical link information that identifies the physical links of the respective output units such as the redundant system output units 681a and 681b, the independent system output units 682x, and so on. Here, the physical link is each port (for example, port # 0,..., Port # 7) included in the output unit. Furthermore, the aggregated multicast destination management information is associated with each hash value calculated by the hash calculation unit 673 and each pattern indicated by the working physical link information, and each hash value calculated by the hash calculation unit 673 Are associated with each pattern indicated by the spare physical link information.

集約マルチキャスト宛先管理情報記憶部693は、第1の実施の形態の集約宛先管理情報記憶部153と同様、デュアルポートメモリで構成されている。
マルチキャスト宛先管理情報記憶部695は、論理リンクを構成する物理リンクおよび論理リンクを構成しない物理リンクのうち、フレームが出力される物理リンクを示すマルチキャスト宛先管理情報を記憶する。
The aggregated multicast destination management information storage unit 693 is configured by a dual port memory, like the aggregated destination management information storage unit 153 of the first embodiment.
The multicast destination management information storage unit 695 stores multicast destination management information indicating a physical link from which a frame is output among physical links that constitute a logical link and physical links that do not constitute a logical link.

マルチキャスト宛先管理情報は、フレームを出力する物理リンクとして冗長系出力部681a,681bの現用物理リンクと独立系出力部682x,・・・の非冗長物理リンクとからなるパターンを示す複数の現用物理リンク情報と、それぞれがフレームを出力する物理リンクとして冗長系出力部681a,681bの予備物理リンクと独立系出力部682x,・・・の非冗長物理リンクとからなる組み合わせのパターンを示す情報である複数の予備物理リンク情報とを有する。マルチキャスト宛先管理情報は、マルチキャスト宛先決定部674によって決定されたパターンと、各物理リンクとが対応付けられている。   The multicast destination management information includes a plurality of working physical links indicating a pattern including a working physical link of the redundant output units 681a and 681b and a non-redundant physical link of the independent output units 682x,. A plurality of pieces of information indicating a combination pattern including information and a spare physical link of the redundant output units 681a and 681b and a non-redundant physical link of the independent output units 682x,. Spare physical link information. In the multicast destination management information, the pattern determined by the multicast destination determination unit 674 is associated with each physical link.

冗長系出力部681a,681bは、論理リンクを構成する物理リンクから構成される。冗長系出力部681a,681bは、フレームを出力する物理リンクである現用物理リンクと、フレームを出力可能な状態で待機する物理リンクである予備物理リンクとから構成される。独立系出力部682x,・・・は、論理リンクを構成しない物理リンクである非冗長物理リンクから構成される。それぞれの出力部を構成する物理リンクの数は同一(例えば、8個)である。   The redundant output units 681a and 681b are constituted by physical links that constitute a logical link. The redundant output units 681a and 681b are composed of a working physical link that is a physical link that outputs a frame, and a backup physical link that is a physical link that stands by in a state where the frame can be output. The independent output units 682x,... Are composed of non-redundant physical links that are physical links that do not constitute a logical link. The number of physical links constituting each output unit is the same (for example, 8).

冗長系出力部681a,681bのうちの一方の出力部は、フレームを出力する運用系の出力部(例えば、冗長系出力部681a)である。冗長系出力部681a,681bのうちの他方の出力部(例えば、冗長系出力部681b)は、フレームを出力可能な状態で待機する待機系の出力部である。独立系出力部682x,・・・は、複数の物理リンクから構成されているが、論理リンクを構成せず、単独で機能する出力部である。   One of the redundant output units 681a and 681b is an operational output unit (for example, a redundant output unit 681a) that outputs a frame. The other output unit (for example, the redundant system output unit 681b) of the redundant system output units 681a and 681b is a standby system output unit that waits in a state in which a frame can be output. The independent output units 682x,... Are configured from a plurality of physical links, but do not form a logical link and function independently.

冗長系出力部681a,681bおよび独立系出力部682x,・・・は、マルチキャスト振分先決定部675により、マルチキャスト宛先管理情報に従って各出力部が有する通信ポートがフレームを送出する宛先ポートに決定されると、そのフレームをコピーして決定された宛先ポートから送出する。   Redundant system output units 681a, 681b and independent system output units 682x,... Are determined by multicast distribution destination determination unit 675 as communication ports of each output unit as destination ports for sending frames according to multicast destination management information. Then, the frame is copied and sent out from the determined destination port.

端末装置40は、第1の実施の形態と同様、スイッチ600と通信可能に接続され、当該スイッチ600と通信して得た情報を表示することができる。スイッチ600は、端末装置40と通信可能な通信部140を有する。端末装置40は、スイッチ600との間で、通信部140を介した通信により集約宛先管理情報および集約宛先統計情報とを取得することができる。そして、端末装置40は、取得した集約宛先管理情報と、集約宛先統計情報とを表示可能な図示しない表示部を有する。   Similarly to the first embodiment, the terminal device 40 is communicably connected to the switch 600 and can display information obtained by communicating with the switch 600. The switch 600 includes a communication unit 140 that can communicate with the terminal device 40. The terminal device 40 can acquire aggregated destination management information and aggregated destination statistical information by communication with the switch 600 via the communication unit 140. The terminal device 40 includes a display unit (not shown) that can display the acquired aggregate destination management information and the aggregate destination statistical information.

また、スイッチ600は、第1の実施の形態のスイッチ100と同様、上記の複数のインタフェースカードによって構成されている。ここでは、フレームが入力されるインタフェースカードを入力カードとし、フレームが出力されるインタフェースカードを出力カードとするが、各インタフェースカードは、機能的には同一であり、それぞれのカードにおいてフレームの入力および出力が可能である。すなわち、スイッチ600は、入力部110、振分部620、マルチキャスト振分部670、障害検出部130として機能する入力カードと、冗長系出力部681a,681b、独立系出力部682x,・・・などの各出力部としてそれぞれ機能する複数の出力カードとによって、入力されたフレームを他のスイッチなどに出力する。   Further, the switch 600 is configured by the plurality of interface cards as in the case of the switch 100 of the first embodiment. Here, an interface card to which a frame is input is referred to as an input card, and an interface card from which a frame is output is referred to as an output card. However, each interface card is functionally identical, Output is possible. That is, the switch 600 includes an input unit 110, a distribution unit 620, a multicast distribution unit 670, an input card that functions as the failure detection unit 130, redundant output units 681a and 681b, independent output units 682x,. The input frame is output to another switch or the like by a plurality of output cards each functioning as an output unit.

図20は、第6の実施の形態のフロー宛先管理テーブルのデータ構造例を示す図である。図20に示すフロー宛先管理テーブル651aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、フロー宛先管理情報記憶部651として機能する。フロー宛先管理テーブル651aは、各フレームがユニキャストで出力されるかまたはマルチキャストで出力されるかを示すとともに、各フレームの送出先であるリンクが論理リンクを構成するものであるか否かを示すテーブルである。フロー宛先管理テーブル651aには、そのフレームを送出する宛先ポートが論理リンクを構成しているか否かを示す“L”フィールド、そのフレームがユニキャストで出力されるかマルチキャストで出力されるかを示す“M”フィールド、およびフレームが出力される宛先を示す“宛先”フィールドが設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。   FIG. 20 is a diagram illustrating an example of a data structure of a flow destination management table according to the sixth embodiment. A flow destination management table 651a illustrated in FIG. 20 is stored in the table storage memory 104. The table storage memory 104 functions as the flow destination management information storage unit 651. The flow destination management table 651a indicates whether each frame is output by unicast or multicast, and indicates whether a link that is a transmission destination of each frame constitutes a logical link. It is a table. In the flow destination management table 651a, an “L” field indicating whether or not the destination port to which the frame is transmitted constitutes a logical link, and whether the frame is output by unicast or multicast. An “M” field and a “destination” field indicating a destination to which the frame is output are provided. Information arranged in the horizontal direction of each field is associated with each other.

Lフィールドには、フレームの宛先ポートが論理リンクを構成しているか否かを示す情報が設定される。具体的には、フレームの宛先ポートが論理リンクではない場合、“0”が設定される。一方、フレームの宛先ポートが論理リンクである場合、“1”が設定される。   Information indicating whether the destination port of the frame constitutes a logical link is set in the L field. Specifically, when the destination port of the frame is not a logical link, “0” is set. On the other hand, when the destination port of the frame is a logical link, “1” is set.

Mフィールドには、フレームがユニキャストで出力されるかマルチキャストで出力されるかを示す情報が設定される。具体的には、フレームがユニキャストで出力される場合、“0”が設定される。一方、フレームがマルチキャストで出力される場合、“1”が設定される。   Information indicating whether the frame is output by unicast or multicast is set in the M field. Specifically, when the frame is output by unicast, “0” is set. On the other hand, when the frame is output by multicast, “1” is set.

宛先フィールドには、フレームの宛先が論理リンクである場合、図21において後述するLAG番号が設定される。一方、フレームの宛先ポートが論理リンクでない場合、そのフレームを送信するインタフェースカードを示す宛先カード名、およびポート番号を示す情報が設定される。   In the destination field, when the destination of the frame is a logical link, a LAG number described later in FIG. 21 is set. On the other hand, when the destination port of the frame is not a logical link, information indicating the destination card name indicating the interface card that transmits the frame and the port number is set.

フロー宛先管理テーブル651aは、スイッチ600の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。
図21は、第6の実施の形態の集約マルチキャスト管理テーブルのデータ構造例を示す図である。図21に示す集約マルチキャスト管理テーブル692aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約マルチキャスト管理情報記憶部692として機能する。集約マルチキャスト管理テーブル692aは、マルチキャストフローにおいて各フレームが送出される論理リンクを決定するためのテーブルである。集約マルチキャスト管理テーブル692aには、“LAG番号”フィールド、“SEL”フィールド、“NH”フィールド、“HT”フィールド、“HR”フィールド、“現用AP”フィールド、および“予備AP”フィールドが設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。
The flow destination management table 651a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 600.
FIG. 21 is a diagram illustrating an example of a data structure of the aggregated multicast management table according to the sixth embodiment. The aggregated multicast management table 692a shown in FIG. 21 is stored in the table storage memory 104. The table storage memory 104 functions as the aggregated multicast management information storage unit 692. The aggregated multicast management table 692a is a table for determining a logical link to which each frame is transmitted in the multicast flow. The aggregated multicast management table 692a is provided with a “LAG number” field, “SEL” field, “NH” field, “HT” field, “HR” field, “working AP” field, and “reserve AP” field. Yes. Information arranged in the horizontal direction of each field is associated with each other.

LAG番号フィールドには、マルチキャストフローにおいてリンク集約の宛先の振分を行うためのLAG番号が設定される。このLAG番号に従って、集約マルチキャスト管理テーブル692aに予め設定されたリンク集約の振分のパターンのうち、いずれの振分を行うかが決定される。   In the LAG number field, a LAG number for allocating link aggregation destinations in the multicast flow is set. According to the LAG number, it is determined which of the link aggregation distribution patterns preset in the aggregation multicast management table 692a is to be allocated.

SEL(Selector)フィールドには、フレームを送出する論理リンクが現用系であるか予備系であるかを示す情報が設定される。具体的には、現用系の冗長系出力部(例えば、冗長系出力部681a)の論理リンクでフレームを送出する場合には、“0”が設定される。一方、現用系の論理リンクに障害が発生し、現用系の論理リンクから予備系の論理リンクに切り替える場合には、予備系の冗長系出力部(例えば、冗長系出力部681b)の論理リンクでフレームを送出する場合には、上記の“0”から“1”に書き替えて設定される。   In the SEL (Selector) field, information indicating whether a logical link for transmitting a frame is an active system or a standby system is set. Specifically, “0” is set when a frame is transmitted through the logical link of the active redundant output unit (for example, the redundant output unit 681a). On the other hand, when a failure occurs in the working logical link and switching from the working logical link to the standby logical link, the logical link of the redundant redundant output unit (for example, redundant redundant output unit 681b) is used. When a frame is transmitted, it is set by rewriting from “0” to “1”.

NH(No Hash)フィールドには、フレームの振分においてハッシュ計算を行うか否かを示す情報が設定される。具体的には、フレームの振分においてハッシュ計算を行う場合には、“0”が設定される。一方、フレームの振分においてハッシュ計算を行わない場合には、“1”が設定される。   In the NH (No Hash) field, information indicating whether or not hash calculation is performed in frame allocation is set. Specifically, “0” is set when hash calculation is performed in the distribution of frames. On the other hand, when hash calculation is not performed in the distribution of frames, “1” is set.

HT(Hash Target)フィールドには、ハッシュ計算を行う際にハッシュ計算の対象とする値が設定される。具体的には、ハッシュ計算の対象とする値をフレームのMACアドレスとする場合には、“0”が設定される。また、ハッシュ計算の対象とする値をフレームのVLAN IDとする場合には、“1”が設定される。また、ハッシュ計算の対象とする値をIPアドレスとする場合には、“2”が設定される。   In the HT (Hash Target) field, a value to be subjected to hash calculation when hash calculation is performed is set. Specifically, “0” is set when the value to be subjected to hash calculation is the MAC address of the frame. Also, “1” is set when the value for hash calculation is the VLAN ID of the frame. Also, “2” is set when the value targeted for hash calculation is an IP address.

HR(Hash Rule)フィールドには、ハッシュ計算のルールを示す情報が設定される。具体的には、対象となる値を後述するActive Port数で割った余りをハッシュ値とするハッシュ計算を行う場合には、“0”が設定される。対象となる値を生成多項式で割った余りをハッシュ値とするハッシュ計算を行う場合には、“1”が設定される。   Information indicating a rule for hash calculation is set in an HR (Hash Rule) field. Specifically, “0” is set when hash calculation is performed using a remainder obtained by dividing a target value by the number of Active Ports described later as a hash value. When hash calculation is performed using a remainder obtained by dividing a target value by a generator polynomial as a hash value, “1” is set.

現用AP(Active Port)フィールドには、現用系の冗長系出力部の論理リンクにおける使用可能なポート数、またはNHフィールドに基づいてハッシュ計算を行わない場合の現用系の論理リンクにおける送出ポートを示す情報が設定される。具体的には、原則として、その時点において現用系の論理リンクにおける使用可能なポート数が設定される。NHフィールドの設定値が1の場合には、現用系の論理リンクにおいてフレームが送出されるポートを示す集約マルチキャスト宛先管理テーブル693aのHVフィールドの値が直接設定される。   The active AP (Active Port) field indicates the number of ports that can be used in the logical link of the active redundant output unit, or the transmission port in the active logical link when hash calculation is not performed based on the NH field. Information is set. Specifically, in principle, the number of ports that can be used in the working logical link at that time is set. When the setting value of the NH field is 1, the value of the HV field of the aggregated multicast destination management table 693a indicating the port to which the frame is transmitted in the working logical link is directly set.

予備APフィールドには、予備系の冗長系出力部の論理リンクにおける使用可能なポート数、またはNHフィールドに基づいてハッシュ計算を行わない場合の予備系の論理リンクにおける送出ポートを示す情報が設定される。具体的には、原則として、その時点において予備系の論理リンクにおける使用可能なポート数が設定される。NHフィールドの設定値が1の場合には、予備系の論理リンクにおいてフレームが送出されるポートを示す集約マルチキャスト宛先管理テーブル693aのHVフィールドの値が直接設定される。   In the spare AP field, information indicating the number of ports that can be used in the logical link of the redundant redundant output unit or information indicating the transmission port in the standby logical link when hash calculation is not performed is set based on the NH field. The Specifically, in principle, the number of ports that can be used in the backup logical link at that time is set. When the setting value of the NH field is 1, the value of the HV field of the aggregated multicast destination management table 693a indicating the port to which the frame is transmitted in the backup logical link is directly set.

集約マルチキャスト管理テーブル692aは、集約管理テーブル152aと同様、スイッチ600の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。また、集約マルチキャスト管理テーブル692aは、運用系である冗長系出力部の論理リンクにおける使用可能なポート数の変化に応じて、設定値が変化する。   The aggregated multicast management table 692a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 600, like the aggregated management table 152a. In the aggregated multicast management table 692a, the set value changes according to the change in the number of usable ports in the logical link of the redundant output unit that is the active system.

図22は、第6の実施の形態の集約マルチキャスト宛先管理テーブルのデータ構造例を示す図である。図22に示す集約マルチキャスト宛先管理テーブル693aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、集約マルチキャスト宛先管理情報記憶部693として機能する。集約マルチキャスト宛先管理テーブル693aは、マルチキャスト宛先管理テーブル695a(図23)で定義されるマルチキャストフローにおいて各フレームが送出される通信ポートである宛先ポートのパターンを示すテーブルである。集約マルチキャスト宛先管理テーブル693aには、フレームに割り当てられたハッシュ値と、フレームが送出される宛先ポートのパターンとの対応関係を示す“HV”フィールド、現用系の冗長系出力部を用いたマルチキャストフローにおける宛先ポートのパターンを示す“現用MID”フィールド、および予備系の冗長系出力部を用いたマルチキャストフローにおける宛先ポートのパターンを示す“予備MID”フィールドが設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。   FIG. 22 is a diagram illustrating an example of a data structure of the aggregated multicast destination management table according to the sixth embodiment. The aggregated multicast destination management table 693 a shown in FIG. 22 is stored in the table storage memory 104. The table storage memory 104 functions as the aggregated multicast destination management information storage unit 693. The aggregated multicast destination management table 693a is a table showing a pattern of destination ports that are communication ports to which each frame is transmitted in the multicast flow defined in the multicast destination management table 695a (FIG. 23). In the aggregated multicast destination management table 693a, the multicast flow using the “HV” field indicating the correspondence between the hash value assigned to the frame and the pattern of the destination port to which the frame is sent, and the active redundant output unit In addition, a “working MID” field indicating a destination port pattern and a “backup MID” field indicating a destination port pattern in a multicast flow using a standby redundant output unit are provided. Information arranged in the horizontal direction of each field is associated with each other.

HVフィールド(Hash Value)には、フレームに割り当てられたハッシュ値と、フレームが送出される通信ポートのパターンとの対応関係を示す値が設定される。
現用MID(Multicast ID)フィールドには、現用系の冗長系出力部の論理リンクを用いたマルチキャストフローにおいてフレームが送信される宛先ポートのパターンを一意に識別する情報が設定される。
In the HV field (Hash Value), a value indicating the correspondence between the hash value assigned to the frame and the pattern of the communication port to which the frame is transmitted is set.
In the working MID (Multicast ID) field, information for uniquely identifying the pattern of the destination port to which the frame is transmitted in the multicast flow using the logical link of the working redundant output unit is set.

予備MIDフィールドには、予備系の冗長系出力部の論理リンクを用いたマルチキャストフローにおいてフレームが送信される宛先ポートのパターンを一意に識別する情報が設定される。   In the spare MID field, information for uniquely identifying a destination port pattern to which a frame is transmitted in a multicast flow using the logical link of the redundant redundant output unit is set.

これらのマルチキャストフローにおいてフレームが送信される宛先ポートのパターンおよびパターンを一意に識別する情報は、図23に示すマルチキャスト宛先管理テーブル695aにおいて示される。   A destination port pattern to which a frame is transmitted in these multicast flows and information for uniquely identifying the pattern are shown in the multicast destination management table 695a shown in FIG.

集約マルチキャスト宛先管理テーブル693aは、スイッチ600の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。
図23は、第6の実施の形態のマルチキャスト宛先管理テーブルのデータ構造例を示す図である。図23に示すマルチキャスト宛先管理テーブル695aは、テーブル記憶メモリ104に格納されている。テーブル記憶メモリ104は、マルチキャスト宛先管理情報記憶部695として機能する。マルチキャスト宛先管理テーブル695aは、マルチキャストで出力される各フレームの宛先ポートのパターンを示すテーブルである。マルチキャスト宛先管理テーブル695aには、そのフレームを送出する宛先ポートのパターンを示す“MID”フィールド、およびマルチキャストフローでフレームが送出される宛先ポートを示す“A−0”〜“Z−7”フィールド(以下、宛先ポートフィールドとする)が設けられている。各フィールドの横方向に並べられた情報同士が互いに関連付けられている。ここで、宛先ポートフィールドは、冗長系出力部681a,681b、独立系出力部682x,・・・などの各出力部の通信ポートと対応するように設けられている。
Aggregated multicast destination management table 693 a is stored in table storage memory 104 in response to an operation input by the administrator of switch 600.
FIG. 23 is a diagram illustrating a data structure example of a multicast destination management table according to the sixth embodiment. A multicast destination management table 695 a shown in FIG. 23 is stored in the table storage memory 104. The table storage memory 104 functions as a multicast destination management information storage unit 695. The multicast destination management table 695a is a table showing a destination port pattern of each frame output by multicast. The multicast destination management table 695a includes an “MID” field indicating a destination port pattern to which the frame is transmitted and an “A-0” to “Z-7” field (the destination port to which the frame is transmitted in the multicast flow) ( Hereinafter, the destination port field is provided. Information arranged in the horizontal direction of each field is associated with each other. Here, the destination port field is provided so as to correspond to the communication port of each output unit such as the redundant system output units 681a and 681b, the independent system output units 682x,.

MIDフィールドには、マルチキャストフローにおいてフレームが送信される宛先ポートのパターンおよびパターンを一意に識別する情報が設定される。マルチキャスト振分先決定部675は、上記の集約マルチキャスト宛先管理テーブル693aに示されている現用MIDフィールドおよび予備MIDフィールドに示される情報に基づいて、このマルチキャスト宛先管理テーブル695aのMIDフィールドに示される情報から宛先ポートのパターンを参照して、そのフレームが送出される宛先ポートのパターンを特定することができる。   In the MID field, a destination port pattern to which a frame is transmitted in a multicast flow and information for uniquely identifying the pattern are set. Based on the information shown in the working MID field and the backup MID field shown in the aggregated multicast destination management table 693a, the multicast distribution destination determination unit 675 has the information shown in the MID field of the multicast destination management table 695a. The destination port pattern to which the frame is transmitted can be specified by referring to the destination port pattern.

宛先ポートフィールドには、そのMIDフィールドの情報で特定される宛先ポートのパターンにおいて、冗長系出力部681a,681b、独立系出力部682x,・・・などの各出力部の通信ポートがフレームを送出する宛先ポートであるか否かを示す情報が設定される。具体的には、宛先ポートフィールドに示されたその通信ポートが宛先ポートではない場合、“0”が設定される。一方、宛先ポートフィールドに示されたその通信ポートが宛先ポートである場合、“1”が設定される。   In the destination port field, in the destination port pattern specified by the information in the MID field, the communication port of each output unit such as the redundant output units 681a and 681b, the independent output units 682x,. Information indicating whether or not the destination port is to be set is set. Specifically, if the communication port indicated in the destination port field is not the destination port, “0” is set. On the other hand, when the communication port indicated in the destination port field is the destination port, “1” is set.

マルチキャスト宛先管理テーブル695aは、スイッチ600の管理者による操作入力に応答して、テーブル記憶メモリ104に格納される。
これにより、マルチキャスト振分部670がリンク集約を用いた論理リンクと冗長構成を有さない物理リンクが併用された通信システムで、論理リンクおよび物理リンクの両方に対してマルチキャストフローによるフレーム転送が可能になる。
The multicast destination management table 695a is stored in the table storage memory 104 in response to an operation input by the administrator of the switch 600.
As a result, the multicast distribution unit 670 can perform frame transfer by multicast flow for both the logical link and the physical link in a communication system in which a logical link using link aggregation and a physical link having no redundant configuration are used in combination. become.

以上に示すように、第6の実施の形態によれば、ユニキャストフローおよびマルチキャストフローに関わらずリンク集約を用いた論理リンクによる信頼性の高い通信システムを構築することができる。   As described above, according to the sixth embodiment, it is possible to construct a highly reliable communication system using logical links using link aggregation regardless of unicast flows and multicast flows.

なお、本実施の形態では、通信装置としてレイヤ2スイッチを用いた場合について説明したが、フレームの転送機能を有する他の種類の通信装置を用いてもよい。例えば、データリンク層より上位の階層の処理もできるルーター等を用いてもよい。   In the present embodiment, the case where the layer 2 switch is used as the communication device has been described. However, another type of communication device having a frame transfer function may be used. For example, a router or the like that can also process higher layers than the data link layer may be used.

以上、本発明の通信装置、通信システムおよび通信方法を、図示の実施の形態に基づいて説明したが、上記については単に本発明の原理を示すものである。本発明は上記に示し、説明した正確な構成および応用例に限定されるものではなく、さらに、多数の変形、変更が当業者にとって可能であり、対応するすべての変形例および均等物は、添付の請求項およびその均等物による本発明の範囲とみなされ、各部の構成は同様の機能を有する任意の構成のものに置換することができる。また、本発明に他の任意の構成物や行程が付加されてもよい。また、本発明は上記の実施の形態のうちの任意の2以上の構成(特徴)を組み合わせたものであってもよい。   Although the communication apparatus, communication system, and communication method of the present invention have been described based on the illustrated embodiments, the above description merely shows the principle of the present invention. The present invention is not limited to the exact configurations and applications shown and described above, and many variations and modifications are possible to those skilled in the art, and all corresponding variations and equivalents are The structure of each part can be replaced with any structure having a similar function. Moreover, other arbitrary structures and processes may be added to the present invention. Further, the present invention may be a combination of any two or more configurations (features) of the above-described embodiments.

以上の実施の形態に関し、さらに以下の付記を開示する。
(付記1) 複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置において、
フレームが入力される入力手段と、
前記フレームが出力される前記物理リンクを示す集約宛先管理情報を記憶する集約宛先管理情報記憶手段と、
前記集約宛先管理情報を参照して、前記入力手段によって入力される前記フレームが出力される前記物理リンクを、前記論理リンクを構成する前記物理リンクのうちのいずれかの前記物理リンクに決定する振分手段と、
前記論理リンクを構成する前記物理リンクのうちの一部の前記物理リンクから構成される第1の出力手段と、
前記論理リンクを構成する前記物理リンクのうちの前記第1の出力手段を構成する前記物理リンク以外の前記物理リンクのうちの、一部またはすべての前記物理リンクから構成される第2の出力手段と、
を有し、
前記集約宛先管理情報は、前記第1の出力手段の前記物理リンクを特定する第1の物理リンク情報と、前記第2の出力手段の前記物理リンクを特定する第2の物理リンク情報とを有し、
前記振分手段は、
前記第1の物理リンク情報を参照して前記フレームが出力される前記物理リンクを、前記第1の出力手段を構成する前記物理リンクに決定する第1の状態と、前記第2の物理リンク情報を参照して前記フレームが出力される前記物理リンクを、前記第2の出力手段を構成する前記物理リンクに決定する第2の状態とに切り替え可能であるとともに、
切替指示に応じて、前記第1の状態から前記第2の状態に切り替えることを特徴とする通信装置。
Regarding the above embodiment, the following additional notes are disclosed.
(Supplementary Note 1) In a communication device that transfers a frame using a logical link configured by aggregating a plurality of physical links,
An input means for inputting a frame;
Aggregate destination management information storage means for storing aggregate destination management information indicating the physical link from which the frame is output;
Referring to the aggregated destination management information, the physical link from which the frame input by the input unit is output is determined to be any one of the physical links constituting the logical link. Minute means,
First output means comprising a part of the physical links of the physical links constituting the logical link;
Second output means comprising a part or all of the physical links of the physical links other than the physical links constituting the first output means of the physical links constituting the logical link. When,
Have
The aggregated destination management information includes first physical link information that identifies the physical link of the first output unit, and second physical link information that identifies the physical link of the second output unit. And
The distribution means includes
A first state in which the physical link from which the frame is output with reference to the first physical link information is determined as the physical link constituting the first output means, and the second physical link information The physical link from which the frame is output can be switched to a second state in which the physical link constituting the second output means is determined, and
A communication apparatus that switches from the first state to the second state in response to a switching instruction.

(付記2) 前記フレームが前記第1の出力手段を構成する前記物理リンクから出力されるかまたは前記第2の出力手段を構成する前記物理リンクから出力されるかを示す集約管理情報を記憶する集約管理情報記憶手段を有し、
前記第1の出力手段を構成する前記物理リンクの数と前記第2の出力手段を構成する物理リンクの数とは同一であり、
前記振分手段は、前記フレームの一部を構成するフレーム部分情報に、前記第1の出力手段および前記第2の出力手段が有する前記物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算するハッシュ計算手段を有し、
前記集約宛先管理情報は、前記ハッシュ計算手段によって計算される各前記ハッシュ値と、前記第1の物理リンク情報が示す各物理リンクとが対応付けられているとともに、前記ハッシュ計算手段によって計算される各前記ハッシュ値と、前記第2の物理リンク情報が示す各物理リンクとが対応付けられ、
前記振分手段は、
前記切替指示に応じて、前記第1の状態を示すものから前記第2の状態を示すものに書き替える切替決定手段と、
前記集約管理情報を参照して、前記第1の状態から前記第2の状態に切り替えるとともに、前記集約宛先管理情報を参照して、前記ハッシュ計算手段が計算することによって得られた前記ハッシュ値に基づいて、前記フレームが出力される前記物理リンクを決定する振分先決定手段と、
を有することを特徴とする付記1記載の通信装置。
(Additional remark 2) The management information which shows whether the said frame is output from the said physical link which comprises the said 2nd output means from the said physical link which comprises the said 1st output means is memorize | stored A management information storage means;
The number of physical links constituting the first output means and the number of physical links constituting the second output means are the same;
The sorting means hashes that can take the same number of types of values as the number of physical links of the first output means and the second output means in the frame part information constituting a part of the frame. A hash calculation means for calculating a hash value using a function;
In the aggregated destination management information, each hash value calculated by the hash calculation unit is associated with each physical link indicated by the first physical link information, and is calculated by the hash calculation unit. Each hash value is associated with each physical link indicated by the second physical link information,
The distribution means includes
In response to the switching instruction, switching determination means for rewriting from indicating the first state to indicating the second state;
With reference to the aggregation management information, the hash value obtained by the calculation by the hash calculation means with reference to the aggregation destination management information is referred to while switching from the first state to the second state. A destination determination means for determining the physical link from which the frame is output,
The communication apparatus according to appendix 1, characterized by comprising:

(付記3) 前記集約管理情報は、前記フレーム部分情報を特定するフレーム部分特定情報を有し、
前記切替決定手段は、前記フレーム部分特定情報に基づいて前記フレームの全体から前記フレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いて前記ハッシュ計算手段に前記ハッシュ計算を行わせることを特徴とする付記2記載の通信装置。
(Additional remark 3) The said aggregation management information has the frame part specific information which specifies the said frame part information,
The switching determination unit extracts the frame part information from the entire frame based on the frame part specifying information, and causes the hash calculation unit to perform the hash calculation using the extracted frame part information. The communication apparatus according to supplementary note 2, which is characterized.

(付記4) 前記集約管理情報は、前記ハッシュ計算の計算内容を示す計算内容情報を有し、
前記切替決定手段は、前記計算内容情報に基づいて、前記ハッシュ計算手段に前記ハッシュ計算を行わせることを特徴とする付記2記載の通信装置。
(Additional remark 4) The said aggregation management information has the calculation content information which shows the calculation content of the said hash calculation,
The communication apparatus according to claim 2, wherein the switching determination unit causes the hash calculation unit to perform the hash calculation based on the calculation content information.

(付記5) 前記集約管理情報は、前記ハッシュ計算を行わないことを示す演算不実行情報を有し、
前記切替決定手段は、前記演算不実行情報を検出した場合には、前記ハッシュ計算手段に前記ハッシュ計算を行わせずに、前記フレームを出力する前記物理リンクを決定することを特徴とする付記2記載の通信装置。
(Supplementary Note 5) The aggregation management information includes operation non-execution information indicating that the hash calculation is not performed.
The switching determination unit determines the physical link that outputs the frame without performing the hash calculation in the hash calculation unit when the calculation non-execution information is detected. The communication device described.

(付記6) 前記集約宛先管理情報記憶手段は、デュアルポートメモリで構成されていることを特徴とする付記1記載の通信装置。
(付記7) 前記集約宛先管理情報は、前記物理リンクを特定する物理リンク特定情報を有し、
前記物理リンク特定情報は、前記集約宛先管理情報記憶手段において記憶されているアドレスの一部が前記第1の出力手段および前記第2の出力手段と対応付けられるとともに、前記アドレスの他の一部が前記物理リンクと対応付けられていることを特徴とする付記1記載の通信装置。
(Supplementary Note 6) The communication apparatus according to Supplementary Note 1, wherein the aggregated destination management information storage unit is configured by a dual port memory.
(Additional remark 7) The said aggregation destination management information has the physical link specific information which specifies the said physical link,
In the physical link specifying information, a part of the address stored in the aggregated destination management information storage unit is associated with the first output unit and the second output unit, and the other part of the address Is associated with the physical link. The communication apparatus according to appendix 1.

(付記8) 前記集約管理情報は、前記第1の出力手段および前記第2の出力手段のそれぞれにおける使用可能な物理リンクの数を示す有効物理リンク数情報を有し、
前記振分手段は、使用可能な物理リンク数に基づいて、前記第1の状態から前記第2の状態に切り替えることを特徴とする付記2記載の通信装置。
(Supplementary Note 8) The aggregate management information includes effective physical link number information indicating the number of usable physical links in each of the first output unit and the second output unit,
The communication apparatus according to claim 2, wherein the distribution unit switches from the first state to the second state based on the number of usable physical links.

(付記9) 前記フレームには、当該フレームの送信先ごとに、確保すべき帯域を示す帯域情報が設定されており、
前記振分手段は、前記第1の出力手段の前記有効物理リンク情報が示す前記物理リンクの数が、前記帯域情報によって示される前記帯域未満である場合には、前記第1の状態から前記第2の状態に切り替えることを特徴とする付記8記載の通信装置。
(Supplementary note 9) In the frame, band information indicating a band to be secured is set for each transmission destination of the frame,
When the number of the physical links indicated by the effective physical link information of the first output means is less than the band indicated by the band information, the allocating means starts from the first state to the first state. 9. The communication device according to appendix 8, wherein the communication device is switched to a state of 2.

(付記10) 前記集約管理情報は、前記フレームを廃棄するか否かを示すフレーム廃棄情報を有し、
前記振分手段は、前記集約宛先管理情報が有する前記フレーム廃棄情報が、前記フレームを廃棄することを示す場合には前記フレームを廃棄するフレーム廃棄手段を有することを特徴とする付記1記載の通信装置。
(Supplementary Note 10) The aggregation management information includes frame discard information indicating whether to discard the frame,
The communication according to claim 1, wherein the distribution unit includes a frame discard unit that discards the frame when the frame discard information included in the aggregated destination management information indicates that the frame is to be discarded. apparatus.

(付記11) 前記論理リンクを一つまたは複数用いて通信することができ、
前記物理リンクを複数有する出力カードを複数有し、
前記論理リンクは、一つの前記出力カードを構成する前記物理リンクで構成可能であるとともに、複数の前記出力カードを構成する前記物理リンクで構成可能であり、
前記振分手段は、それぞれの前記論理リンクにおいて、一つの前記出力カードを構成する前記物理リンクで構成するか、または複数の前記出力カードを構成する前記物理リンクで構成するかを設定可能であることを特徴とする付記1記載の通信装置。
(Additional remark 11) It can communicate using the said logical link one or more,
A plurality of output cards having a plurality of the physical links;
The logical link can be configured with the physical link that configures one of the output cards, and can be configured with the physical link that configures a plurality of the output cards,
The allocating means can set whether each logical link is constituted by the physical link constituting one of the output cards or the physical link constituting a plurality of the output cards. The communication apparatus according to supplementary note 1, characterized by the above.

(付記12) 前記入力手段を有する入力カードと、前記第1の出力手段と前記第2の出力手段とを有する出力カードとを有し、
前記入力カードは、前記振分手段を有することを特徴とする付記1記載の通信装置。
(Additional remark 12) It has an input card which has the above-mentioned input means, and an output card which has the above-mentioned 1st output means and the above-mentioned 2nd output means,
The communication apparatus according to appendix 1, wherein the input card includes the sorting unit.

(付記13) 前記フレームが出力される前記物理リンクを、前記論理リンクを構成する前記物理リンクにするか、または前記論理リンクを構成する物理リンク以外の物理リンクにするかを示すフロー宛先管理情報を記憶するフロー宛先管理情報記憶手段を有し、
前記振分手段は、
前記フロー宛先管理情報記憶手段に記憶されている前記フロー宛先管理情報を参照して、前記フレームが出力される前記物理リンクを、前記論理リンクを構成する前記物理リンク、または前記論理リンクを構成する物理リンク以外の物理リンクのうちの一つの物理リンクのうちいずれかに決定するフロー宛先決定部を有するとともに、
前記フロー宛先決定手段による決定に基づいて前記フレームが出力される前記物理ポートを決定することを特徴とする付記1記載の通信装置。
(Supplementary note 13) Flow destination management information indicating whether the physical link from which the frame is output is the physical link constituting the logical link or a physical link other than the physical link constituting the logical link Flow destination management information storage means for storing
The distribution means includes
With reference to the flow destination management information stored in the flow destination management information storage means, the physical link from which the frame is output is configured as the physical link constituting the logical link or the logical link. Having a flow destination determination unit that determines one of the physical links other than the physical link,
The communication apparatus according to claim 1, wherein the physical port to which the frame is output is determined based on the determination by the flow destination determination unit.

(付記14) 前記第1の出力手段を構成する前記物理リンクの障害の発生を検出するとともに、前記障害の発生を検出した場合には、前記切替指示を出力する障害検出手段を有し、
前記切替決定手段は、前記障害検出手段による前記切替指示を検出した場合には、前記集約管理情報を前記第1の状態を示すものから前記第2の状態を示すものに書き替えることを特徴とする付記2記載の通信装置。
(Additional remark 14) While detecting the generation | occurrence | production of the failure of the said physical link which comprises the said 1st output means, when detecting the generation | occurrence | production of the said failure, it has a failure detection means which outputs the said switching instruction | indication,
When the switching determination unit detects the switching instruction by the failure detection unit, the switching management unit rewrites the aggregate management information from indicating the first state to indicating the second state. The communication apparatus according to Supplementary Note 2.

(付記15) 前記ハッシュ計算に関する設定を示す集約管理情報を記憶する集約管理情報記憶手段を有し、
前記切替決定手段は、前記集約管理情報を参照して、前記ハッシュ計算手段に前記ハッシュ計算を行わせることを特徴とする付記3記載の通信装置。
(Additional remark 15) It has the aggregate management information storage means which memorize | stores the aggregate management information which shows the setting regarding the said hash calculation,
The communication apparatus according to appendix 3, wherein the switching determination unit causes the hash calculation unit to perform the hash calculation with reference to the aggregation management information.

(付記16) 前記第1の出力手段を構成する前記物理リンクの数と前記第2の出力手段を構成する物理リンクの数とは同一であり、
前記ハッシュ計算手段は、前記フレームの一部を構成するフレーム部分情報に、前記第1の出力手段および前記第2の出力手段が有する前記物理リンクの数と同一の種類数の値を取り得るハッシュ関数を用いてハッシュ値を計算することを特徴とする付記2記載の通信装置。
(Supplementary Note 16) The number of physical links constituting the first output means is the same as the number of physical links constituting the second output means,
The hash calculation means is a hash that can take the value of the same number of types as the number of physical links of the first output means and the second output means in the frame part information constituting a part of the frame. The communication apparatus according to appendix 2, wherein a hash value is calculated using a function.

(付記17) それぞれの前記物理リンクから出力される前記フレームの数の集計結果である集約宛先統計情報を記憶する集約宛先統計情報記憶手段を有し、
前記振分手段は、前記集約管理情報記憶手段に記憶されている前記集約管理情報を参照して前記ハッシュ計算手段が計算することによって得られた前記ハッシュ値に基づいて前記フレームが出力される前記物理リンクを決定するとともに、決定した各前記物理リンクから出力された前記フレームの数の集計結果を前記集約宛先統計情報として集約宛先統計情報記憶手段に書き込む統計情報書込手段を有することを特徴とする付記2記載の通信装置。
(Additional remark 17) It has the aggregate destination statistical information storage means which memorize | stores the aggregate destination statistical information which is the total result of the number of the said frames output from each said physical link,
The allocating means outputs the frame based on the hash value obtained by the hash calculation means referring to the aggregation management information stored in the aggregation management information storage means. And a statistical information writing unit that determines a physical link and writes a totaling result of the determined number of frames output from each physical link to the aggregated destination statistical information storage unit as the aggregated destination statistical information. The communication apparatus according to Supplementary Note 2.

(付記18) 前記集約宛先管理情報記憶手段に記憶されている前記集約宛先管理情報と、前記集約宛先統計情報記憶手段に記憶されている前記集約宛先統計情報とを出力可能な通信手段を有することを特徴とする付記17記載の通信装置。   (Supplementary Note 18) Communication means capable of outputting the aggregate destination management information stored in the aggregate destination management information storage means and the aggregate destination statistical information stored in the aggregate destination statistical information storage means The communication device according to appendix 17, characterized by:

(付記19) それぞれの前記物理リンクから出力される前記フレームの数の集計結果である集約宛先統計情報を記憶する集約宛先統計情報記憶手段を有し、
前記振分手段は、各前記物理リンクから出力された前記フレームの数を集計し、集計結果を前記集約宛先統計情報として集約宛先統計情報記憶手段に書き込む統計情報書込手段を有することを特徴とする付記1記載の通信装置。
(Additional remark 19) It has the aggregation destination statistics information storage means which memorize | stores the aggregation destination statistics information which is an aggregation result of the number of said frames output from each said physical link,
The allocating unit includes a statistical information writing unit that totalizes the number of frames output from each physical link and writes a totaling result to the aggregate destination statistical information storage unit as the aggregate destination statistical information. The communication apparatus according to appendix 1.

(付記20) 複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置において、
フレームが入力される入力手段と、
前記フレームが出力される前記物理リンクを示す集約宛先管理情報を記憶する集約宛先管理情報記憶手段と、
前記集約宛先管理情報を参照して、前記入力手段によって入力された前記フレームが出力される前記物理リンクを、前記論理リンクを構成する前記物理リンクのうちのいずれかの前記物理リンクに決定する振分手段と、
前記論理リンクを構成する前記物理リンクのうちのそれぞれ異なる一部の前記物理リンクから構成される複数の出力手段と、
を有し、
前記集約宛先管理情報は、それぞれの前記出力手段の前記物理リンクを特定する物理リンク情報を有し、
前記振分手段は、前記フレームを出力する前記物理リンクを、一つの前記出力手段を構成する前記物理リンクに設定するとともに、切替指示に応じて、前記フレームを出力する物理リンクを、他の前記出力手段を構成する前記物理リンクに切り替えることを特徴とする通信装置。
(Supplementary Note 20) In a communication apparatus that transfers a frame using a logical link configured by aggregating a plurality of physical links,
An input means for inputting a frame;
Aggregate destination management information storage means for storing aggregate destination management information indicating the physical link from which the frame is output;
Referring to the aggregated destination management information, the physical link from which the frame input by the input unit is output is determined to be one of the physical links that constitute the logical link. Minute means,
A plurality of output means composed of different physical links of the physical links constituting the logical link;
Have
The aggregate destination management information includes physical link information that identifies the physical link of each of the output means,
The allocating means sets the physical link that outputs the frame to the physical link that constitutes one of the output means, and sets the physical link that outputs the frame in response to a switching instruction to the other physical link. A communication apparatus characterized by switching to the physical link constituting the output means.

(付記21) 複数の前記出力手段のうちの一つの前記出力手段は、前記フレームを出力する運用出力手段であり、前記運用出力手段以外の前記出力手段は、前記フレームを出力可能な状態で待機する待機出力手段であり、
複数の前記出力手段のうちのいずれの前記出力手段が前記運用出力手段に設定されているかを示す集約管理情報を記憶する集約管理情報記憶手段を有し、
前記振分手段は、
前記運用出力手段に設定されている前記出力手段を前記待機出力手段に設定するとともに前記待機出力手段に設定されている前記出力手段のうち少なくとも一つの前記出力手段を前記運用出力手段に設定することにより前記運用出力手段を切り替える切替指示に応じて、前記集約管理情報記憶手段に記憶されている前記集約管理情報を、前記運用出力手段であった前記出力手段に替えて前記待機出力手段であった前記切替指示の対象である前記出力手段を新たに前記運用出力手段に設定するものに書き替える切替決定手段と、
予め前記フレームを出力する前記物理リンクを、前記運用出力手段に設定されている前記出力手段を構成する前記物理リンクに設定するとともに、前記集約管理情報記憶手段に記憶されている前記集約管理情報を参照して、前記フレームを出力する物理リンクを、当該待機出力手段を構成する前記物理リンクに切り替える振分先決定手段と、
を有することを特徴とする付記20記載の通信装置。
(Supplementary Note 21) One of the plurality of output means is an operation output means for outputting the frame, and the output means other than the operation output means are in a standby state in a state where the frame can be output. Standby output means
Aggregation management information storage means for storing aggregation management information indicating which of the plurality of output means is set as the operation output means,
The distribution means includes
Setting the output means set as the operation output means as the standby output means and setting at least one of the output means set as the standby output means as the operation output means In response to the switching instruction to switch the operation output means, the aggregate management information stored in the aggregation management information storage means is the standby output means instead of the output means that was the operation output means. A switching determination means for rewriting the output means that is the target of the switching instruction to a new setting for the operation output means;
The physical link that outputs the frame in advance is set as the physical link that constitutes the output means set in the operation output means, and the aggregate management information stored in the aggregate management information storage means Referring to, a distribution destination determination unit that switches the physical link that outputs the frame to the physical link that constitutes the standby output unit;
The communication apparatus according to appendix 20, wherein the communication apparatus includes:

(付記22) 複数の前記出力手段のうちの一つの前記出力手段は、前記フレームを出力可能な状態で待機する待機出力手段であり、前記運用出力手段以外の前記出力手段は、前記フレームを出力する運用出力手段であり、
複数の前記出力手段のうちのいずれの前記出力手段が前記運用出力手段に設定されているかを示す集約管理情報を記憶する集約管理情報記憶手段を有し、
前記振分手段は、
前記運用出力手段に設定されている前記出力手段のうちの少なくとも一つの前記出力手段を前記待機出力手段に設定するとともに前記待機出力手段に設定されている前記出力手段を前記運用出力手段に設定することにより、前記運用出力手段を切り替える切替指示に応じて、前記集約管理情報記憶手段に記憶されている前記集約管理情報を、前記切替指示の対象である前記運用出力手段であった前記出力手段に替えて前記待機出力手段であった前記出力手段を新たに前記運用出力手段に設定するものに書き替える切替決定手段と、
予め前記フレームを出力する前記物理リンクを、前記運用出力手段に設定されている前記出力手段を構成する前記物理リンクに設定するとともに、前記集約管理情報記憶手段に記憶されている前記集約管理情報を参照して、前記フレームを出力する物理リンクを、当該待機出力手段を構成する前記物理リンクに切り替える振分先決定手段と、
を有することを特徴とする付記20記載の通信装置。
(Supplementary Note 22) One of the plurality of output means is a standby output means that waits in a state where the frame can be output, and the output means other than the operation output means outputs the frame. Operational output means to
Aggregation management information storage means for storing aggregation management information indicating which of the plurality of output means is set as the operation output means,
The distribution means includes
At least one of the output means set as the operation output means is set as the standby output means, and the output means set as the standby output means is set as the operation output means Thus, in response to the switching instruction for switching the operation output means, the aggregation management information stored in the aggregation management information storage means is transferred to the output means that is the operation output means that is the target of the switching instruction. A switching determination unit that rewrites the output unit that is the standby output unit to a new one that is set in the operation output unit;
The physical link that outputs the frame in advance is set as the physical link that constitutes the output means set in the operation output means, and the aggregate management information stored in the aggregate management information storage means Referring to, a distribution destination determination unit that switches the physical link that outputs the frame to the physical link that constitutes the standby output unit;
The communication apparatus according to appendix 20, wherein the communication apparatus includes:

(付記23) 複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置において、
フレームが入力される入力手段と、
前記フレームが出力される前記物理リンクを示す集約宛先管理情報を記憶する集約宛先管理情報記憶手段と、
前記集約宛先管理情報を参照して、前記入力手段によって入力された前記フレームが出力される前記物理リンクを、前記論理リンクを構成する前記物理リンクのうちのいずれかの前記物理リンクに決定する振分手段と、
それぞれの前記物理リンクから出力される前記フレームの数の集計結果である集約宛先統計情報を記憶する集約宛先統計情報記憶手段と、
を有し、
前記集約宛先管理情報は、前記論理リンクを構成する前記物理リンクのうちのそれぞれ異なる一部の前記物理リンクから構成される複数の各出力手段の前記物理リンクを特定する物理リンク情報を有し、
前記振分手段は、
当該振分手段による決定の結果に基づいて、各前記物理リンクから出力される前記フレームの数の集計結果を前記集約宛先統計情報として集約宛先統計情報記憶手段に書き込む統計情報書込手段を有し、
前記フレームを出力する前記物理リンクを、一つの前記出力手段を構成する前記物理リンクに設定するとともに、切替指示に応じて、前記フレームを出力する前記物理リンクを、他の前記出力手段を構成する前記物理リンクに切り替えることを特徴とする通信装置。
(Supplementary Note 23) In a communication apparatus that transfers a frame using a logical link configured by aggregating a plurality of physical links,
An input means for inputting a frame;
Aggregate destination management information storage means for storing aggregate destination management information indicating the physical link from which the frame is output;
Referring to the aggregated destination management information, the physical link from which the frame input by the input unit is output is determined to be one of the physical links that constitute the logical link. Minute means,
Aggregated destination statistical information storage means for storing aggregated destination statistical information which is a totaled result of the number of frames output from each of the physical links;
Have
The aggregated destination management information includes physical link information that identifies the physical link of each of a plurality of output units configured from a part of the physical links that are different from each of the physical links that configure the logical link,
The distribution means includes
Statistical information writing means for writing the aggregated result of the number of frames output from each physical link to the aggregated destination statistical information storage unit as the aggregated destination statistical information based on the result of determination by the allocating unit ,
The physical link that outputs the frame is set as the physical link that constitutes one of the output means, and the physical link that outputs the frame is configured as another output means in response to a switching instruction. A communication device that switches to the physical link.

(付記24) 複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置において、
フレームが入力される入力手段と、
前記論理リンクを構成する前記物理リンクおよび前記論理リンクを構成しない前記物理リンクのうち、前記フレームが出力される前記物理リンクを示すマルチキャスト宛先管理情報を記憶するマルチキャスト宛先管理情報記憶手段と、
前記マルチキャスト宛先管理情報を参照して、前記入力手段によって入力された前記フレームが出力される前記物理リンクを出力する前記物理リンクとして、前記論理リンクを構成する前記物理リンクおよび前記論理リンクを構成しない前記物理リンクのうち前記フレームを出力する前記物理リンクを決定するマルチキャスト振分手段と、
を有することを特徴とする通信装置。
(Supplementary Note 24) In a communication apparatus that transfers a frame using a logical link configured by aggregating a plurality of physical links,
An input means for inputting a frame;
Multicast destination management information storage means for storing multicast destination management information indicating the physical link to which the frame is output among the physical links that constitute the logical link and the physical links that do not constitute the logical link;
The physical link that constitutes the logical link and the logical link are not configured as the physical link that outputs the physical link from which the frame input by the input unit is output with reference to the multicast destination management information Multicast distribution means for determining the physical link that outputs the frame among the physical links;
A communication apparatus comprising:

(付記25) 前記論理リンクを構成する前記物理リンクから構成される冗長系出力手段と、
前記論理リンクを構成しない前記物理リンクである非冗長物理リンクから構成される独立系出力手段と、
を有し、
前記冗長系出力手段は、前記フレームを出力する前記物理リンクである現用物理リンクと、前記フレームを出力可能な状態で待機する前記物理リンクである予備物理リンクとから構成され、
集約マルチキャスト宛先管理情報を記憶する集約マルチキャスト宛先管理情報記憶手段と、
前記フレームが前記冗長系出力手段を構成する前記物理リンクおよび前記独立系出力手段を構成する前記物理リンクのうちいずれの前記物理リンクから出力されるかを示す集約マルチキャスト管理情報を記憶する集約マルチキャスト管理情報記憶手段と、
を有し、
前記マルチキャスト宛先管理情報は、前記フレームを出力する前記物理リンクとして前記冗長系出力手段の前記現用物理リンクと前記独立系出力手段の前記非冗長物理リンクとからなるパターンを示す複数の現用物理リンク情報と、それぞれが前記フレームを出力する前記物理リンクとして前記冗長系出力手段の前記予備物理リンクと前記独立系出力手段の前記非冗長物理リンクとからなる組み合わせのパターンを示す情報である複数の予備物理リンク情報とを有し、
前記マルチキャスト振分手段は、前記フレームの一部を構成するフレーム部分情報に、ハッシュ関数を用いてハッシュ値を計算するハッシュ計算手段と、マルチキャスト宛先決定手段と、マルチキャスト振分先決定手段とを有し、
前記集約マルチキャスト宛先管理情報は、前記ハッシュ計算手段によって計算される各前記ハッシュ値と、前記現用物理リンク情報が示す各前記パターンとが対応付けられているとともに、前記ハッシュ計算手段によって計算される各前記ハッシュ値と、前記予備物理リンク情報が示す各前記パターンとが対応付けられており、
前記マルチキャスト宛先決定手段は、
前記集約マルチキャスト管理情報記憶手段に記憶されている前記集約マルチキャスト情報を参照して、前記現用物理リンク情報が示す前記パターンを選択するか、または前記予備物理リンク情報が示す前記パターンを選択するかの決定である切替決定を行い、
前記集約マルチキャスト宛先管理情報記憶手段に記憶されている前記集約マルチキャスト宛先管理情報を参照して、前記切替決定の結果に基づいて、前記現用物理リンク情報または前記予備物理リンク情報の前記パターンと、前記ハッシュ計算手段が計算することによって得られた前記ハッシュ値とに基づいて、前記フレームが出力される前記物理リンクのパターンを決定し、
前記マルチキャスト宛先管理情報は、前記マルチキャスト宛先決定手段によって決定されたパターンと、各前記物理リンクとが対応付けられており、
前記マルチキャスト振分先決定手段は、前記マルチキャスト宛先管理情報記憶手段に記憶されている前記マルチキャスト宛先管理情報を参照して、前記ハッシュ計算手段が計算することによって得られた前記ハッシュ値に基づいて、前記フレームが出力される前記物理リンクを決定することを特徴とする付記24記載の通信装置。
(Supplementary Note 25) Redundant output means composed of the physical links constituting the logical link;
Independent output means configured from non-redundant physical links that are the physical links that do not constitute the logical links;
Have
The redundant system output means includes a working physical link that is the physical link that outputs the frame, and a backup physical link that is the physical link that waits in a state where the frame can be output.
Aggregate multicast destination management information storage means for storing aggregate multicast destination management information;
Aggregated multicast management storing aggregated multicast management information indicating which physical link is output from the physical link constituting the redundant output means and the physical link constituting the independent output means Information storage means;
Have
The multicast destination management information includes a plurality of working physical link information indicating a pattern comprising the working physical link of the redundant output means and the non-redundant physical link of the independent output means as the physical link for outputting the frame. And a plurality of spare physics, each of which indicates a pattern of a combination of the spare physical link of the redundant output means and the non-redundant physical link of the independent output means as the physical links that output the frame Link information,
The multicast distribution means includes hash calculation means for calculating a hash value using a hash function for frame part information constituting a part of the frame, multicast destination determination means, and multicast distribution destination determination means. And
The aggregated multicast destination management information is associated with each hash value calculated by the hash calculation means and each pattern indicated by the working physical link information, and each calculated by the hash calculation means The hash value is associated with each pattern indicated by the backup physical link information,
The multicast destination determining means includes
Whether to select the pattern indicated by the working physical link information with reference to the aggregated multicast information stored in the aggregated multicast management information storage means, or to select the pattern indicated by the backup physical link information Make a switching decision that is a decision,
With reference to the aggregated multicast destination management information stored in the aggregated multicast destination management information storage means, based on the result of the switching determination, the pattern of the working physical link information or the backup physical link information, Based on the hash value obtained by the calculation by the hash calculation means, the pattern of the physical link from which the frame is output is determined,
In the multicast destination management information, the pattern determined by the multicast destination determination means is associated with each physical link,
The multicast distribution destination determination unit refers to the multicast destination management information stored in the multicast destination management information storage unit, and based on the hash value obtained by the hash calculation unit calculating, 25. The communication apparatus according to appendix 24, wherein the physical link to which the frame is output is determined.

(付記26) 前記集約マルチキャスト管理情報は、前記フレーム部分情報を特定するフレーム部分特定情報を有し、
前記マルチキャスト振分手段は、前記フレーム部分特定情報に基づいて前記フレームの全体から前記フレーム部分情報を抽出し、抽出された当該フレーム部分情報を用いて前記ハッシュ計算手段に前記ハッシュ計算を行わせるマルチキャスト切替決定手段を有することを特徴とする付記25記載の通信装置。
(Supplementary note 26) The aggregated multicast management information includes frame part specifying information for specifying the frame part information,
The multicast distribution means extracts the frame part information from the entire frame based on the frame part specifying information, and uses the extracted frame part information to cause the hash calculation means to perform the hash calculation. The communication apparatus according to appendix 25, further comprising a switching determination unit.

(付記27) 前記集約マルチキャスト管理情報は、前記ハッシュ計算の計算内容を示す計算内容情報を有し、
前記マルチキャスト振分手段は、前記計算内容情報に基づいて、前記ハッシュ計算手段に前記ハッシュ計算を行わせるマルチキャスト切替決定手段を有することを特徴とする付記25記載の通信装置。
(Additional remark 27) The said aggregation multicast management information has the calculation content information which shows the calculation content of the said hash calculation,
26. The communication apparatus according to appendix 25, wherein the multicast distribution unit includes a multicast switching determination unit that causes the hash calculation unit to perform the hash calculation based on the calculation content information.

(付記28) 前記集約マルチキャスト管理情報は、前記ハッシュ計算を行わないことを示す演算不実行情報を有し、
前記マルチキャスト振分手段は、前記演算不実行情報を検出した場合には、前記ハッシュ計算を行うことなく前記フレームを出力する前記物理リンクを決定するマルチキャスト切替決定手段を有することを特徴とする付記25記載の通信装置。
(Supplementary Note 28) The aggregated multicast management information includes operation non-execution information indicating that the hash calculation is not performed.
The multicast distribution means includes multicast switching determination means for determining the physical link that outputs the frame without performing the hash calculation when the calculation non-execution information is detected. The communication device described.

(付記29) 前記フレームの送信先を示すとともに、前記フレームをユニキャストで出力するか、またはマルチキャストで出力するかを示すフロー宛先管理情報を記憶するフロー宛先管理情報記憶手段と、
前記フロー宛先管理情報記憶手段に記憶されている前記フロー宛先管理情報を参照して、前記フレームをユニキャストで出力するか、またはマルチキャストで出力するかを決定するフロー宛先決定手段を有する振分手段と、
を有することを特徴とする付記24記載の通信装置。
(Supplementary note 29) Flow destination management information storage means for storing flow destination management information indicating the transmission destination of the frame and indicating whether the frame is output by unicast or multicast;
Distributing means having flow destination determining means for deciding whether to output the frame by unicast or multicast by referring to the flow destination management information stored in the flow destination management information storage means When,
25. The communication device according to appendix 24, comprising:

(付記30) 複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信システムにおいて、
フレームが入力される入力手段と、
前記フレームが出力される前記物理リンクを示す集約宛先管理情報を記憶する集約宛先管理情報記憶手段と、
前記集約宛先管理情報を参照して、前記入力手段によって入力された前記フレームが出力される前記物理リンクを、前記論理リンクを構成する前記物理リンクのうちのいずれかの前記物理リンクに決定する振分手段と、
前記論理リンクを構成する前記物理リンクのうちの一部の前記物理リンクから構成される第1の出力手段と、
前記論理リンクを構成する前記物理リンクのうちの前記第1の出力手段を構成する前記物理リンク以外の前記物理リンクのうちの、一部またはすべての前記物理リンクから構成される第2の出力手段と、
を有し、
前記集約宛先管理情報は、前記第1の出力手段の前記物理リンクを特定する第1の物理リンク情報と、前記第2の出力手段の前記物理リンクを特定する第2の物理リンク情報とを有し、
前記振分手段は、
前記第1の物理リンク情報を参照して前記フレームが出力される前記物理リンクを、前記第1の出力手段を構成する前記物理リンクに決定する第1の状態と、前記第2の物理リンク情報を参照して前記フレームが出力される前記物理リンクを、前記第2の出力手段を構成する前記物理リンクに決定する第2の状態とに切り替え可能であるとともに、
切替指示に応じて、前記第1の状態から前記第2の状態に切り替える第1の通信装置と、
前記物理リンクによって前記第1の通信装置と接続され、前記論理リンクを通じて前記第1の通信装置から出力された前記フレームが入力される第2の通信装置とを有することを特徴とする通信システム。
(Additional remark 30) In the communication system which transfers a flame | frame using the logical link comprised by consolidating several physical links,
An input means for inputting a frame;
Aggregate destination management information storage means for storing aggregate destination management information indicating the physical link from which the frame is output;
Referring to the aggregated destination management information, the physical link from which the frame input by the input unit is output is determined to be one of the physical links that constitute the logical link. Minute means,
First output means comprising a part of the physical links of the physical links constituting the logical link;
Second output means comprising a part or all of the physical links of the physical links other than the physical links constituting the first output means of the physical links constituting the logical link. When,
Have
The aggregated destination management information includes first physical link information that identifies the physical link of the first output unit, and second physical link information that identifies the physical link of the second output unit. And
The distribution means includes
A first state in which the physical link from which the frame is output with reference to the first physical link information is determined as the physical link constituting the first output means, and the second physical link information The physical link from which the frame is output can be switched to a second state in which the physical link constituting the second output means is determined, and
A first communication device that switches from the first state to the second state in response to a switching instruction;
A communication system comprising: a second communication device connected to the first communication device by the physical link and to which the frame output from the first communication device is input through the logical link.

(付記31) 前記第1の通信装置と通信可能に接続され、当該第1の通信装置と通信して得た情報を表示可能な端末装置を有し、
前記第1の通信装置は、前記端末装置と通信可能な通信手段を有し、
前記端末装置は、
前記通信手段を介した通信により、前記集約宛先管理情報と、前記集約宛先統計情報とを取得し、
取得した前記集約宛先管理情報と、前記集約宛先統計情報とを表示可能な表示手段を有することを特徴とする付記30記載の通信システム。
(Supplementary Note 31) A terminal device that is communicably connected to the first communication device and that can display information obtained by communicating with the first communication device.
The first communication device has communication means capable of communicating with the terminal device,
The terminal device
The aggregated destination management information and the aggregated destination statistical information are acquired by communication via the communication unit,
32. The communication system according to supplementary note 30, comprising display means capable of displaying the acquired aggregated destination management information and the aggregated destination statistical information.

(付記32) 複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信方法において、
入力手段により、前記フレームが入力される入力ステップと、
振分手段が、前記集約宛先管理情報記憶手段に記憶されており、前記フレームが出力される前記物理リンクを示す集約宛先管理情報を参照して、前記入力手段によって入力された前記フレームが出力される前記物理リンクを、前記論理リンクを構成する前記物理リンクのうちのいずれかの前記物理リンクに決定する振分ステップと、
前記論理リンクを構成する前記物理リンクのうちの一部の前記物理リンクから構成される第1の出力手段、または前記論理リンクを構成する前記物理リンクのうちの前記第1の出力手段を構成する前記物理リンク以外の前記物理リンクのうちの、一部またはすべての前記物理リンクから構成される第2の出力手段が、前記フレームを出力する出力ステップと、
を有し、
前記集約宛先管理情報は、前記第1の出力手段の前記物理リンクを特定する第1の物理リンク情報と、前記第2の出力手段の前記物理リンクを特定する第2の物理リンク情報とを有し、
前記振分ステップは、前記振分手段が、前記第1の物理リンク情報を参照して前記フレームが出力される前記物理リンクを、前記第1の出力手段を構成する前記物理リンクに決定する第1の状態と、前記第2の物理リンク情報を参照して前記フレームが出力される前記物理リンクを、前記第2の出力手段を構成する前記物理リンクに決定する第2の状態とに切り替え可能であるとともに、切替指示に応じて、前記第1の状態から前記第2の状態に切り替える切替を行い、
前記出力ステップは、前記振分手段による前記切替に基づいて、前記第1の出力手段が、前記第1の出力手段を構成する前記物理リンクから前記フレームを出力し、または前記第2の出力手段が、前記第2の出力手段を構成する前記物理リンクから前記フレームを出力することを特徴とする通信方法。
(Supplementary Note 32) In a communication method for transferring a frame using a logical link configured by aggregating a plurality of physical links,
An input step in which the frame is input by an input means;
The distribution means is stored in the aggregate destination management information storage means, and the frame input by the input means is output with reference to the aggregate destination management information indicating the physical link from which the frame is output. Allocating the physical link to be one of the physical links constituting the logical link; and
A first output unit configured from a part of the physical links of the physical links configuring the logical link, or the first output unit of the physical links configuring the logical link is configured. An output step in which a second output means configured of a part or all of the physical links other than the physical link outputs the frame;
Have
The aggregated destination management information includes first physical link information that identifies the physical link of the first output unit, and second physical link information that identifies the physical link of the second output unit. And
In the allocating step, the allocating unit refers to the first physical link information, and determines the physical link from which the frame is output as the physical link constituting the first output unit. It is possible to switch between the first state and the second state in which the physical link from which the frame is output with reference to the second physical link information is determined as the physical link constituting the second output means And performing switching to switch from the first state to the second state in response to a switching instruction,
In the output step, the first output means outputs the frame from the physical link constituting the first output means based on the switching by the distribution means, or the second output means. Outputs the frame from the physical link constituting the second output means.

1 通信装置
11 入力手段
12 集約宛先管理情報記憶手段
12a 集約宛先管理テーブル
13 振分手段
14 第1の出力手段
15 第2の出力手段
DESCRIPTION OF SYMBOLS 1 Communication apparatus 11 Input means 12 Aggregation destination management information storage means 12a Aggregation destination management table 13 Distribution means 14 1st output means 15 2nd output means

Claims (1)

複数の物理リンクを集約して構成した論理リンクを用いてフレームを転送する通信装置において、
フレームが入力される入力手段と、
現用の論理リンクを利用する場合および前記現用の論理リンクに代えて予備の論理リンクを利用する場合それぞれについて、フレームを出力する複数の物理リンクのパターンの識別情報を対応付けた集約マルチキャスト宛先管理情報を記憶する第1の記憶手段と、
前記論理リンクを構成する前記物理リンクおよび前記論理リンクを構成しない前記物理リンクのうち、前記フレームが出力される前記物理リンクと前記パターンの識別情報との対応を示すマルチキャスト宛先管理情報を記憶する第2の記憶手段と、
入力されたフレームに対し、前記現用の論理リンクを利用できるか否かに応じて前記集約マルチキャスト宛先管理情報から何れかのパターンの識別情報を取得し、前記マルチキャスト宛先管理情報を参照して、前記論理リンクを構成する前記物理リンクおよび前記論理リンクを構成しない前記物理リンクのうち、取得した前記パターンの識別情報に対応する前記物理リンクを、前記フレームを出力する前記物理リンクとして決定するマルチキャスト振分手段と、
を有することを特徴とする通信装置。

In a communication device that transfers a frame using a logical link configured by aggregating a plurality of physical links,
An input means for inputting a frame;
Aggregated multicast destination management information in which identification information of a plurality of physical link patterns for outputting a frame is associated with each other when a working logical link is used and when a spare logical link is used instead of the working logical link First storage means for storing
Multicast destination management information indicating correspondence between the physical link from which the frame is output and the pattern identification information among the physical link constituting the logical link and the physical link not constituting the logical link is stored . Two storage means;
Depending on whether or not the current logical link can be used for the input frame, identification information of any pattern is acquired from the aggregated multicast destination management information , and the previous multicast destination management information is referred to serial among the physical links that do not constitute the physical link and the logical link constituting the logical link, the physical link corresponding to the acquired identification information of the pattern, vibration multicast determined as the physical link for outputting the frame Minute means,
A communication apparatus comprising:

JP2012161413A 2012-07-20 2012-07-20 Communication device Active JP5482838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012161413A JP5482838B2 (en) 2012-07-20 2012-07-20 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012161413A JP5482838B2 (en) 2012-07-20 2012-07-20 Communication device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008054311A Division JP5176604B2 (en) 2008-03-05 2008-03-05 Communication apparatus and communication method

Publications (2)

Publication Number Publication Date
JP2012227957A JP2012227957A (en) 2012-11-15
JP5482838B2 true JP5482838B2 (en) 2014-05-07

Family

ID=47277589

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012161413A Active JP5482838B2 (en) 2012-07-20 2012-07-20 Communication device

Country Status (1)

Country Link
JP (1) JP5482838B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4751213B2 (en) * 2006-02-18 2011-08-17 エスアイアイ・ネットワーク・システムズ株式会社 Link aggregation processing apparatus and processing method

Also Published As

Publication number Publication date
JP2012227957A (en) 2012-11-15

Similar Documents

Publication Publication Date Title
JP5176604B2 (en) Communication apparatus and communication method
KR100831639B1 (en) Information processing apparatus, communication load decentralizing method, and communication system
US10097479B1 (en) Methods and apparatus for randomly distributing traffic in a multi-path switch fabric
JP4862743B2 (en) Node, communication method and node program
US7289436B2 (en) System and method for providing management of fabric links for a network element
EP3028413B1 (en) System and method for supporting multi-homed fat-tree routing in a middleware machine environment
US8249069B2 (en) Forwarding multi-destination packets in a network with virtual port channels
JP5071200B2 (en) Signal transmission device
JP5937424B2 (en) Communication device and method for controlling the same
JP5104465B2 (en) Transfer device and packet transmission device
US20090010254A1 (en) Packet transfer apparatus and packet transfer method
US10193829B2 (en) Indefinitely expandable high-capacity data switch
US20140064056A1 (en) Network management apparatus, network management method, and network management system
JP5211146B2 (en) Packet relay device
US20080225877A1 (en) Switching apparatus and frame exchanging method
US9118595B2 (en) Graceful failover of a principal link in a fiber-channel fabric
US20110075559A1 (en) Communication apparatus and frame transmission method
JP4724763B2 (en) Packet processing apparatus and interface unit
CN104243304B (en) The data processing method of non-full-mesh topological structure, equipment and system
US20210266229A1 (en) Monitoring apparatus, network system, topology management method, and computer readable medium
JP5938995B2 (en) Communication device
JP5482838B2 (en) Communication device
US9608888B2 (en) Transmitting device, method for monitoring memory, and transmission system
JP2003234752A (en) Load distribution method using tag conversion, tag converter and load distribution controller
JP2006135723A (en) Device and method for relaying information, program, and information communication system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130730

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130926

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140203

R150 Certificate of patent or registration of utility model

Ref document number: 5482838

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150