JP2012109914A - Relay device and relay method - Google Patents

Relay device and relay method Download PDF

Info

Publication number
JP2012109914A
JP2012109914A JP2010259013A JP2010259013A JP2012109914A JP 2012109914 A JP2012109914 A JP 2012109914A JP 2010259013 A JP2010259013 A JP 2010259013A JP 2010259013 A JP2010259013 A JP 2010259013A JP 2012109914 A JP2012109914 A JP 2012109914A
Authority
JP
Japan
Prior art keywords
information
frame
lag
control unit
port
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010259013A
Other languages
Japanese (ja)
Inventor
Wataru Takamatsu
渉 高松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2010259013A priority Critical patent/JP2012109914A/en
Publication of JP2012109914A publication Critical patent/JP2012109914A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the number of terminals becoming incapable of performing two-way communication by two relay devices connected using a link aggregation, when degeneration of the link aggregation occurs.SOLUTION: Relay devices 3006 and 3007 comprises steps of: determining a physical circuit to be used for transmitting a frame from among a plurality of physical circuits bound virtually by a link aggregation, by recording information of the frame when the frame is received from the link aggregation and referring to the information recorded when the frame is transmitted from the link aggregation; and changing the physical circuit to be used for transmitting the frame from among the plurality of the physical circuits, bound virtually by the link aggregation, determined to be used for transmitting the frame by frame assignment of the link aggregation.

Description

本発明は、中継装置及び中継方法に係り、特に、通信ネットワーク中に設けられ、フレームの中継を行う中継装置、また、リンクアグリゲーション内のフレーム振り分けなど、中継装置がフレームの中継に使用するポートを決定するための中継方法に関する。   The present invention relates to a relay device and a relay method, and more particularly, a relay device provided in a communication network for relaying frames, and a port used by the relay device for relaying frames, such as frame distribution in link aggregation. The present invention relates to a relay method for determination.

ネットワークを構成する中継装置において、通信に使用する通信回線の冗長化技術は必須である。回線の冗長化を実現する技術として、リンクアグリゲーション(LA:Link Aggregation)がある。リンクアグリゲーションは、IEEE(The Institute of Electrical and Electronics Engineers) 802.1AXにて規定されている、回線の冗長化のための技術であり、複数の物理回線を仮想的に束ね、一つの仮想的な回線として見せかけることができることが特徴である。このように、複数の物理回線を束ねて、一つの仮想的な回線に見せることにより、回線の冗長化が実現できる。この、リンクアグリゲーションを用いて仮想的に束ねられた複数の物理回線の集合を、リンクアグリゲーショングループ(LAG:Link Aggregation Group)と呼ぶ。   In a relay device that constitutes a network, a redundancy technology for a communication line used for communication is essential. As a technique for realizing line redundancy, there is link aggregation (LA). Link aggregation is a technology for circuit redundancy defined by IEEE (The Institute of Electrical and Electronics Engineers) 802.1AX, which bundles multiple physical lines into a single virtual The feature is that it can appear as a line. In this way, it is possible to realize line redundancy by bundling a plurality of physical lines and making them appear as one virtual line. A set of a plurality of physical lines virtually bundled using link aggregation is referred to as a link aggregation group (LAG: Link Aggregation Group).

リンクアグリゲーションを使用している一つの仮想回線で通信を行うためには、実際に通信に使用する仮想回線内の物理回線を、何らかの手法で決定する必要がある。リンクアグリゲーションを用いた通信では、フレームの送信に使用する仮想回線内の物理回線を決定し、送信する。フレームの送信に使用する仮想回線内の物理回線は、フレーム内のMAC(Media Access Control)アドレスや、IP(Internet Protocol)アドレスといった情報を基にして、演算を行って決定する。これを、リンクアグリゲーションのフレーム振分けと呼ぶ。リンクアグリゲーションのフレーム振分けの処理を行い、リンクアグリゲーショングループ内のどの物理回線を通信に使用するかの決定については、通常、各中継装置が通信フロー毎に任意に指定できる(例えば、特許文献1)。リンクアグリゲーションでは、各中継装置のフレーム振分けの決定により、リンクアグリゲーション内の任意の物理回線を使用し、通信を行う。   In order to perform communication using one virtual line using link aggregation, it is necessary to determine a physical line in the virtual line actually used for communication by some method. In communication using link aggregation, a physical line in a virtual line used for frame transmission is determined and transmitted. The physical line in the virtual line used for frame transmission is determined based on information such as a MAC (Media Access Control) address and an IP (Internet Protocol) address in the frame. This is called link aggregation frame distribution. Regarding the determination of which physical line in the link aggregation group is used for communication by performing link aggregation frame distribution processing, each relay apparatus can normally arbitrarily designate each communication flow (for example, Patent Document 1). . In link aggregation, communication is performed using an arbitrary physical line in the link aggregation by determining the frame distribution of each relay apparatus.

リンクアグリゲーションのフレーム振分けにより、通信フローはリンクアグリゲーショングループ内の特定の物理回線を流れる。このとき、回線障害等により、リンクアグリゲーショングループ内の物理回線が使用できなくなると、中継装置はリンクアグリゲーショングループ内の使用可能な物理回線の中から、通信に使用する物理回線を再度決定し、その物理回線を使用して通信を再開する。この処理により、リンクアグリゲーショングループ内の特定の物理回線が使用できなくなっても、他の使用可能であるリンクアグリゲーション内の物理回線を使用し、継続して通信を行うことができる。これを、リンクアグリゲーションの縮退と呼ぶ。リンクアグリゲーションの縮退が発生したとき、使用できなくなったリンクアグリゲーショングループ内の物理回線を使用していた通信フローについては、物理回線が使用できなくなってから、中継装置が再度フレーム振分け処理を行い、使用可能な別のリンクアグリゲーショングループ内の物理回線を使用するまで、通信が停止する。   The communication flow flows through a specific physical line in the link aggregation group by the frame distribution of the link aggregation. At this time, if a physical line in the link aggregation group becomes unusable due to a line failure or the like, the relay apparatus again determines a physical line to be used for communication from the usable physical lines in the link aggregation group. Restart communication using the physical line. With this process, even if a specific physical line in the link aggregation group cannot be used, it is possible to continue communication using another usable physical line in the link aggregation. This is called link aggregation degeneracy. For communication flows that used physical lines in a link aggregation group that could not be used when link aggregation degradation occurred, the relay unit performs frame distribution processing again after the physical line becomes unusable and is used. Communication stops until a physical line in another possible link aggregation group is used.

リンクアグリゲーショングループ内の物理回線が使用できなくなることによって縮退したリンクアグリゲーションは、その後、使用できなくなった物理回線の復旧によって、縮退した状態から復旧する。このとき、リンクアグリゲーションを使用する中継装置では、リンクアグリゲーション内の使用できなくなった物理回線の復旧時、再度通信に使用する仮想回線内の物理回線の決定を行い、フレームを送信する。   The link aggregation that is degraded due to the unavailability of the physical line in the link aggregation group is recovered from the degraded state by the recovery of the physical line that is no longer usable. At this time, in the relay device that uses link aggregation, when a physical line that has become unusable in link aggregation is restored, the physical line in the virtual line that is used for communication is determined again, and the frame is transmitted.

特開2008−54089号公報JP 2008-54089 A 特開2006−5437号公報JP 2006-5437 A

前述の通り、リンクアグリゲーションを使用した通信では、各中継装置が個別にリンクアグリゲーションのフレーム振分け処理を行うため、リンクアグリゲーショングループ内の一部の物理回線が使用できなくなった場合、その物理回線を使用している通信フローは、物理回線が使用できなくなってから、中継装置が再度フレーム振分け処理を行い、使用可能な別のリンクアグリゲーショングループ内の物理回線を使用するまでの間、停止してしまう。この結果、片側のみの通信フローでは通信の継続ができず、多数の端末間の通信が停止してしまう。   As described above, in communication using link aggregation, each relay device individually performs link aggregation frame distribution processing, so if some physical lines in the link aggregation group become unavailable, use those physical lines. The communication flow is stopped after the physical line becomes unusable until the relay apparatus performs frame distribution processing again and uses a physical line in another usable link aggregation group. As a result, communication cannot be continued in a communication flow on only one side, and communication between a large number of terminals stops.

中継装置2台の間で構成されたリンクアグリゲーションの例を、図1に示す。図1は、リンクアグリゲーションを用いた通信フローの例示であり、端末1 1001から端末2 1002への通信フロー1017と、端末1 1001から端末3 1003への通信フロー1019と、は、リンクアグリゲーショングループ 1015内の物理回線3 1010を使用することを想定する。逆方向の端末2 1002から端末1 1001への通信フロー1016と、端末3 1003から端末1 1001への通信フロー1018と、は、リンクアグリゲーショングループ1015内の物理回線2 1009を使用することを想定する。同様に、端末1 1001から端末4 1004への通信フロー1020と、端末1 1001から端末5 1005への通信フロー1022と、は、リンクアグリゲーショングループ 1015内の物理回線2 1009を使用することを想定する。逆方向の端末4 1004から端末1 1001への通信フロー1021と、端末5 1005から端末1 1001への通信フロー1023と、は、リンクアグリゲーショングループ1015内の物理回線3 1010を使用し、端末1 1001と、端末2 1002間と、端末1 1001と、端末3 1003間と、端末1 1001と、端末4 1004間と、端末1 1001と、端末5 1005間と、で双方向通信を行うことを想定する。   An example of link aggregation configured between two relay devices is shown in FIG. FIG. 1 is an example of a communication flow using link aggregation. A communication flow 1017 from the terminal 1 1001 to the terminal 2 1002 and a communication flow 1019 from the terminal 1 1001 to the terminal 3 1003 are a link aggregation group 1015. It is assumed that the physical line 3 1010 is used. It is assumed that the communication flow 1016 from the terminal 2 1002 to the terminal 1 1001 in the reverse direction and the communication flow 1018 from the terminal 3 1003 to the terminal 1 1001 use the physical line 2 1009 in the link aggregation group 1015. . Similarly, the communication flow 1020 from the terminal 1 1001 to the terminal 4 1004 and the communication flow 1022 from the terminal 1 1001 to the terminal 5 1005 are assumed to use the physical line 2 1009 in the link aggregation group 1015. . The communication flow 1021 from the terminal 4 1004 to the terminal 1 1001 in the reverse direction and the communication flow 1023 from the terminal 5 1005 to the terminal 1 1001 use the physical line 3 1010 in the link aggregation group 1015, and the terminal 1 1001. It is assumed that two-way communication is performed between the terminal 2 1002, the terminal 1 1001, the terminal 3 1003, the terminal 1 1001, the terminal 4 1004, the terminal 1 1001, and the terminal 5 1005. To do.

このような場合に、回線3 2010が使用できなくなった場合の例を、図2に示す。回線3 2010が使用できなくなったことにより、回線3 2022を使用していた通信フロー2022と、通信フロー2019と、通信フロー2021と、が停止する。この場合、通信フロー2022は端末1 1001から端末2 1002と、端末3 1003と、に向かう通信フローであり、通信フロー2019は端末4 1004から端末1 1001に向かう通信フローであり、通信フロー2021は端末5 1005から端末1 1001に向かう通信フローである。そのため、すべての双方向通信が停止してしまう。このような、リンクアグリゲーションを用いて通信を行うそれぞれの端末について、リンクアグリゲーショングループ内の一部の物理回線が使用できなくなることにより、通信が停止する可能性のある端末の範囲が広くなることが課題となる。   In such a case, an example when the line 3 2010 becomes unusable is shown in FIG. Since the line 3 2010 cannot be used, the communication flow 2022, the communication flow 2019, and the communication flow 2021 that have used the line 3 2022 are stopped. In this case, the communication flow 2022 is a communication flow from the terminal 1 1001 to the terminal 2 1002 and the terminal 3 1003, the communication flow 2019 is a communication flow from the terminal 4 1004 to the terminal 1 1001, and the communication flow 2021 is This is a communication flow from terminal 5 1005 to terminal 1 1001. As a result, all bidirectional communication stops. For each terminal that communicates using such a link aggregation, a part of the physical lines in the link aggregation group cannot be used, so that the range of terminals that may stop communication may be widened. It becomes a problem.

本発明は、以上の点に鑑み、リンクアグリゲーションの縮退が発生した時、リンクアグリゲーションを用いて接続された2台の中継装置により、双方向通信が不可となる端末の数を少なくすることを目的とする。   In view of the above points, the present invention aims to reduce the number of terminals in which bidirectional communication is impossible by two relay devices connected using link aggregation when degeneration of link aggregation occurs. And

前述の課題を解決するために、リンクアグリゲーションからフレームを受信した時にフレームの情報を記録し、リンクアグリゲーションからフレームを送信する時に記録した情報を参照することで、フレームの送信に使用するリンクアグリゲーショングループ内の物理回線を決定し、リンクアグリゲーションのフレームの振分けによって決定するフレームの送信に使用するリンクアグリゲーショングループ内の物理回線を修正する処理を導入する。   In order to solve the above-described problem, a link aggregation group used for frame transmission by recording frame information when a frame is received from a link aggregation and referring to information recorded when the frame is transmitted from the link aggregation. A process for determining a physical line in the link aggregation group to be used for transmission of a frame determined by allocating a frame in the link aggregation frame is introduced.

本発明のひとつの態様によると、情報ネットワーク装置における複数物理回線を集約し仮想的なひとつの回線とみたててフレーム中継を行うリンクアグリゲーションでのフレーム中継方法において、
リンクアグリゲーションからのフレーム受信処理において、フレーム内の送信元MACアドレス情報と宛先MACアドレス情報、および、該フレームを受信したリンクアグリゲーション内の物理回線と関連付ける情報を記録することを特徴とし、
リンクアグリゲーションからのフレーム送信処理において、前述情報を参照し、フレーム送信に使用するリンクアグリゲーション内の物理回線を決定する第一の送信回線決定ステップを備え、
リンクアグリゲーションによる任意のフレーム送信に使用するリンクアグリゲーション内の物理回線を決定する第二の送信回線決定ステップを備え、
第二の送信回線決定ステップにて決定した物理回線に比して第一の送信回線決定ステップにて決定した物理回線を優先して送信回線と判定することを特徴とするフレーム中継方法が提供される。
According to one aspect of the present invention, in a frame relay method in link aggregation in which a plurality of physical lines in an information network device are aggregated and regarded as a virtual one line, frame relay is performed.
In frame reception processing from link aggregation, the source MAC address information and destination MAC address information in the frame, and information associated with the physical line in the link aggregation that received the frame are recorded,
In the frame transmission processing from link aggregation, the first transmission line determination step for determining the physical line in the link aggregation to be used for frame transmission with reference to the above-mentioned information,
A second transmission line determination step for determining a physical line in the link aggregation to be used for arbitrary frame transmission by link aggregation;
There is provided a frame relay method characterized in that the physical line determined in the first transmission line determination step is given priority over the physical line determined in the second transmission line determination step and is determined as the transmission line. The

また、上述の情報ネットワーク装置における複数物理回線を集約し仮想的なひとつの回線とみたててフレーム中継を行うリンクアグリゲーションでのフレーム中継方法において、
リンクアグリゲーションからのフレーム受信処理において、フレーム内の該フレームの送信元を示す情報と宛先を示す情報、および、該フレームを受信したリンクアグリゲーション内の物理回線と関連付ける情報を記録することを特徴とし、
リンクアグリゲーションからのフレーム送信処理において、上述と同様の特徴をもつことができる。
Further, in the frame relay method in link aggregation in which a plurality of physical lines in the information network device described above are aggregated and regarded as a virtual single line and frame relay is performed,
In the frame reception process from the link aggregation, the information indicating the transmission source and the destination of the frame in the frame, and the information associated with the physical line in the link aggregation that received the frame are recorded.
The frame transmission processing from link aggregation can have the same characteristics as described above.

また、上述の情報ネットワーク装置における複数物理回線を集約し仮想的なひとつの回線とみたててフレーム中継を行うリンクアグリゲーションでのフレーム中継方法において、集約された複数物理回線の一部が使用できなくなった場合に、

リンクアグリゲーションからのフレーム受信処理において、上述と同様の特徴を持ち、
リンクアグリゲーションからのフレーム送信処理において、上述と同様の二つの送信回線決定ステップを備え、第一の送信回線決定ステップにて決定した物理回線が使用できない場合に、第二の送信回線決定ステップにて決定した物理回線を送信回線と判定することを特徴とすることができる。
Also, in the above-mentioned information network device, a plurality of physical lines cannot be used in the frame relay method in link aggregation in which a plurality of physical lines are aggregated and regarded as one virtual line and frame relay is performed. If

In frame reception processing from link aggregation, it has the same characteristics as above,
In frame transmission processing from link aggregation, there are two transmission line determination steps similar to those described above, and when the physical line determined in the first transmission line determination step cannot be used, the second transmission line determination step The determined physical line can be determined as a transmission line.

さらに、上述の情報ネットワーク装置における複数物理回線を集約し仮想的なひとつの回線とみたててフレーム中継を行うリンクアグリゲーションでのフレーム中継方法において、
リンクアグリゲーションからのフレーム受信処理において、上述の特徴に代えて、ユーザがコマンドによって送信元MACアドレス情報と宛先MACアドレス情報、および、リンクアグリゲーション内の物理回線と関連付ける情報を設定することを特徴とし、
リンクアグリゲーションからのフレーム送信処理において、上述と同様の特徴をもつことができる。

本発明の他の態様によると、上述のフレーム中継方法を備えることを特徴とする、中継装置を提供する。
Furthermore, in the frame relay method in link aggregation in which a plurality of physical lines in the information network device described above are aggregated and regarded as a virtual single line, frame relay is performed.
In frame reception processing from link aggregation, in place of the above-described features, the user sets source MAC address information and destination MAC address information and information associated with a physical line in the link aggregation by a command,
The frame transmission processing from link aggregation can have the same characteristics as described above.

According to another aspect of the present invention, there is provided a relay device comprising the frame relay method described above.

本発明の第1の解決手段によると、
リンクアグリゲーショングループ(LAG)と、そのLAGに束ねられるLAG内物理ポートと、LAG内物理ポートのポート状態を示す物理ポート状態と、の関連を記憶するリンクアグリゲーション(LA)テーブルと、
受信したフレームの受信元情報と、アドレス情報と、の関連を記憶する経路情報保持テーブルと、
フレームの受信処理及び送信処理を行うためのLA制御部と、
前記LA制御部からフレームを受け、スイッチング制御を行うためのスイッチング制御部と、
を備えた中継装置、及び、前記中継装置における中継方法であって、

(1)前記LA制御部は、
フレームと受信元物理ポートを受け、受け取った受信元物理ポートを、前記LAテーブル内のLAG内物理ポートと照合し、
受信元物理ポートを束ねるLAGが存在する場合、受信元情報に該LAGを設定し、一方、受信元物理ポートを束ねるLAGが存在しない場合、受信元情報に前記受信元物理ポートを設定し、
前記フレーム及び前記受信元情報を、前記スイッチング制御部に転送し、
(2)前記スイッチング制御部は、
前記LA制御部から転送された受信元情報及び前記フレーム内の送信元アドレスを、経路情報保持テーブルに記録し、
経路情報保持テーブルを検索し、前記フレーム内の宛先アドレスと一致するアドレス情報がある場合、それに対応する受信元情報を送信先情報として指定し、一方、一致するアドレス情報がない場合、フレームを受信したポート以外の複数のポートを送信先情報として指定し、
前記フレーム及び送信先情報を、前記LA制御部に転送し、
(3)前記LA制御部は、
前記LAテーブルを参照し、前記スイッチング制御部から受け取った前記送信先情報の示すLAG又はひとつ又は複数のポートに該当するひとつ又は複数のLAG内物理ポートに、物理ポート状態が使用可のポートが存在するかどうかを検索し、
該LAG内物理ポートのひとつ又は複数に物理ポート状態が使用可のポートがある場合、該LAG内物理ポートの中からフレームの送信に使用する送信先ポートを決定して、前記フレームと及び前記送信先ポートを転送し、
一方、物理ポート状態が使用可であるLAG内物理ポートが存在しない場合、該フレームを廃棄する
ことを特徴とする中継装置、及び、中継方法が提供される。
According to the first solution of the present invention,
A link aggregation group (LAG), a link aggregation (LA) table for storing associations between physical ports in the LAG bundled in the LAG, and physical port states indicating the port states of the physical ports in the LAG;
A path information holding table for storing the relationship between the reception source information of the received frame and the address information;
An LA control unit for performing frame reception processing and transmission processing;
A switching control unit for receiving a frame from the LA control unit and performing switching control;
And a relay method in the relay device,

(1) The LA control unit
Receiving the frame and the source physical port, comparing the received source physical port with the physical port in the LAG in the LA table;
If there is a LAG that bundles the receiving physical ports, set the LAG in the receiving source information, while if there is no LAG that bundles the receiving physical ports, set the receiving physical port in the receiving information,
Transferring the frame and the source information to the switching control unit;
(2) The switching control unit
Record the source information transferred from the LA control unit and the source address in the frame in the path information holding table,
Search the routing information holding table and if there is address information that matches the destination address in the frame, specify the corresponding source information as the destination information, while if there is no matching address information, receive the frame Specify multiple ports other than the specified port as destination information,
Transfer the frame and destination information to the LA control unit,
(3) The LA control unit
There is a port whose physical port state is usable in one or more physical ports in the LAG corresponding to the LAG indicated by the transmission destination information received from the switching control unit or one or more ports with reference to the LA table. Search whether or not
When one or more of the physical ports in the LAG have a port whose physical port state is usable, a transmission destination port used for frame transmission is determined from the physical ports in the LAG, and the frame and the transmission Forward the destination port,
On the other hand, when there is no physical port in the LAG whose physical port state is usable, a relay apparatus and a relay method are provided that discard the frame.

本発明の第2の解決手段によると、
リンクアグリゲーショングループ(LAG)と、そのLAGに束ねられるLAG内物理ポートと、LAG内物理ポートのポート状態を示す物理ポート状態と、の関連を記憶するリンクアグリゲーション(LA)テーブルと、
受信したフレームの受信元情報と、アドレス情報と、の関連を記憶する経路情報保持テーブルと、
フレームの受信LAG又は受信ポートを表す受信LAG/ポートと、フレームを受信したLAG内物理ポートと、フレームの宛先アドレス及び送信元アドレスと、を関連して記憶するLA受信情報保持テーブルと、
フレームの受信処理及び送信処理を行うためのLA制御部と、
前記LA制御部からフレームを受け、スイッチング制御を行うための前記スイッチング制御部と、
を備えた中継装置、及び、前記中継装置における中継方法であって、

(1)前記LA制御部は、
受信したフレームの送信元アドレス及び宛先アドレスを元に、前記LA受信情報保持テーブル内に一致する情報が存在するかを検索し、
一致する情報がない場合、フレームの受信LAGと、フレームを受信したLAG内物理ポートと、受信したフレームの送信元アドレス及び宛先アドレスと、を前記LA受信情報保持テーブルに新規に記録し、
一方、一致する情報が存在する場合、さらに、受信LAG及びLAG内物理ポートを元に、前記LA受信情報保持テーブル内に一致する情報があるかどうかを判定し、
一致する情報がない場合、受信したフレームの宛先アドレス及び送信元アドレスに一致する情報の受信LAG及びLAG内物理ポートを更新し、
前記フレームと、フレームの受信LAG又は受信ポートを表す受信元情報と、を前記スイッチング制御部に転送し、

(2)前記スイッチング制御部は、
前記LA制御部から転送された受信元情報及び前記フレーム内の送信元アドレスを、前記経路情報保持テーブルに記録し、
経路情報保持テーブルを検索し、前記フレーム内の宛先アドレスと一致するアドレス情報がある場合、それに対応する受信元情報を送信先情報として指定し、一方、一致するアドレス情報がない場合、フレームを受信したポート以外の複数のポートを送信先情報として指定し、
前記フレーム及び送信先情報を、前記LA制御部に転送し、

(3)前記LA制御部は、
前記スイッチング制御部から転送された前記フレームと送信先情報とを受信し、
前記LA受信情報保持テーブル内に、転送されたフレームの送信元アドレス及び宛先アドレス及び送信先情報と、送信元アドレス及び宛先アドレス及び受信LAG/ポートが一致する情報があるかどうか検索し、
一致する情報がある場合、該情報に関連付けられたLAG内物理ポートを元に前記LAテーブルを照合し、該LAG内物理ポートの物理ポート状態の情報が使用可となっているかの判定を行い、
対応する物理ポート状態の情報が使用可となっていれば、該LAG内物理ポートをフレームの送信先ポートとして指定し、前記フレームとともに転送し、
一方、前記LA受信情報保持テーブル内に送信元アドレス及び宛先アドレス及び受信LAG/ポートが一致する情報がない場合、もしくは、一致した情報があってもそのLAG内物理ポートの物理ポート状態の情報が使用不可の場合、
前記LA制御部は、
前記LAテーブルを参照し、前記スイッチング制御部から受け取った前記送信先情報の示すLAG又はひとつ又は複数のポートに該当するひとつ又は複数のLAG内物理ポートに、物理ポート状態が使用可のポートが存在するかどうかを検索し、
該LAG内物理ポートのひとつ又は複数に物理ポート状態が使用可のポートがある場合、該LAG内物理ポートの中からフレームの送信に使用する送信先ポートを決定して、前記フレームと及び前記送信先ポートを転送し、
一方、物理ポート状態が使用可であるLAG内物理ポートが存在しない場合、該フレームを廃棄する
中継装置、及び、中継方法が提供される。
According to the second solution of the present invention,
A link aggregation group (LAG), a link aggregation (LA) table for storing associations between physical ports in the LAG bundled in the LAG, and physical port states indicating the port states of the physical ports in the LAG;
A path information holding table for storing the relationship between the reception source information of the received frame and the address information;
LA reception information holding table for storing the reception LAG / port representing the reception LAG or reception port of the frame, the physical port in the LAG that received the frame, the destination address and the transmission source address of the frame,
An LA control unit for performing frame reception processing and transmission processing;
The switching control unit for receiving a frame from the LA control unit and performing switching control;
And a relay method in the relay device,

(1) The LA control unit
Based on the source address and destination address of the received frame, it is searched whether there is matching information in the LA reception information holding table,
If there is no matching information, the reception LAG of the frame, the physical port in the LAG that received the frame, and the transmission source address and destination address of the received frame are newly recorded in the LA reception information holding table,
On the other hand, if there is matching information, further determine whether there is matching information in the LA reception information holding table based on the reception LAG and the physical port in the LAG,
If there is no matching information, update the received LAG and physical port in the LAG for the information that matches the destination address and source address of the received frame,
Transfer the frame and the reception source information indicating the reception LAG or reception port of the frame to the switching control unit,

(2) The switching control unit
The source information transferred from the LA control unit and the source address in the frame are recorded in the path information holding table,
Search the routing information holding table and if there is address information that matches the destination address in the frame, specify the corresponding source information as the destination information, while if there is no matching address information, receive the frame Specify multiple ports other than the specified port as destination information,
Transfer the frame and destination information to the LA control unit,

(3) The LA control unit
Receiving the frame and destination information transferred from the switching control unit;
In the LA reception information holding table, search whether there is information in which the source address and destination address and destination information of the transferred frame match the source address and destination address and the received LAG / port,
If there is matching information, the LA table is checked based on the physical port in the LAG associated with the information, and it is determined whether the physical port state information of the physical port in the LAG is usable.
If the corresponding physical port status information is usable, the physical port in the LAG is designated as a frame destination port, and is transferred together with the frame.
On the other hand, when there is no information in the LA reception information holding table that matches the transmission source address, the destination address, and the reception LAG / port, or even if there is matching information, the physical port status information of the physical port in the LAG If not available,
The LA controller is
There is a port whose physical port state is usable in one or more physical ports in the LAG corresponding to the LAG indicated by the transmission destination information received from the switching control unit or one or more ports with reference to the LA table. Search whether or not
When one or more of the physical ports in the LAG have a port whose physical port state is usable, a transmission destination port used for frame transmission is determined from the physical ports in the LAG, and the frame and the transmission Forward the destination port,
On the other hand, when there is no physical port in the LAG whose physical port state is usable, a relay device and a relay method for discarding the frame are provided.

本発明によると、リンクアグリゲーションの縮退が発生した時、リンクアグリゲーションを用いて接続された2台の中継装置が、それぞれ任意に通信に使用するリンクアグリゲーション内の物理回線を決定する場合と比較し、双方向通信が不可となる端末の数を少なくすることが可能となる。   According to the present invention, when degeneration of link aggregation occurs, compared to a case where two relay devices connected using link aggregation arbitrarily determine a physical line in the link aggregation to be used for communication, respectively. It is possible to reduce the number of terminals that cannot perform bidirectional communication.

中継装置2台の間で構成されたリンクアグリゲーションの例を示す。An example of link aggregation configured between two relay devices is shown. リンクアグリゲーショングループ内の物理回線が使用できなくなった場合の例を示す。An example in which a physical line in a link aggregation group becomes unusable is shown. リンクアグリゲーションで接続された中継装置の1台が、本実施の形態の処理を導入した場合の、通信フローの例を示す。An example of a communication flow when one of the relay devices connected by link aggregation introduces the processing of the present embodiment is shown. 本実施の形態の処理を導入した中継装置の1台が、リンクアグリゲーショングループ内の物理回線が使用できなくなった場合の例についての説明図を示す。An explanatory view about an example when one of the relay devices which introduced processing of this embodiment becomes unable to use a physical line in a link aggregation group is shown. 本実施の形態を適用する中継装置の構成図を示す。The block diagram of the relay apparatus to which this Embodiment is applied is shown. 物理ポート制御部5007でのフレーム受信処理を示すフローチャートである。10 is a flowchart showing frame reception processing in a physical port control unit 5007. 物理ポート制御部5007でのフレーム送信処理を示すフローチャートである。10 is a flowchart showing frame transmission processing in a physical port control unit 5007. LA制御部5005でのフレーム受信処理を示すフローチャートである。10 is a flowchart showing frame reception processing in an LA control unit 5005. LA制御部5005でのフレーム送信処理を示すフローチャートである。7 is a flowchart showing frame transmission processing in an LA control unit 5005. 物理ポート制御部5007でのフレーム受信処理を示すフローチャートである。10 is a flowchart showing frame reception processing in a physical port control unit 5007. リンクアグリゲーションを用いて接続された、2台の中継装置によるネットワークの構成図を示す。The block diagram of the network by the two relay apparatuses connected using the link aggregation is shown. 中継装置内のLAテーブルを示す。The LA table in a relay apparatus is shown. リンクアグリゲーションを用いた通信フローを示す。The communication flow using link aggregation is shown. リンクアグリゲーションを用いた通信中のLAテーブルを示す。The LA table in communication using link aggregation is shown. リンクアグリゲーションの縮退が発生した直後の通信フローを示す。The communication flow immediately after the degeneration of link aggregation occurs is shown. リンクアグリゲーションの縮退が発生した直後のLAテーブルを示す。The LA table immediately after degeneration of link aggregation occurs is shown. リンクアグリゲーションの縮退後、再度フレーム振分けを行った後の通信フローを示す。The communication flow after performing frame allocation again after degeneration of link aggregation is shown. リンクアグリゲーションの縮退後、再度フレーム振分けを行った後のLAテーブルを示す。The LA table after performing frame allocation again after degeneration of link aggregation is shown. リンクアグリゲーションの縮退から復旧した後の通信フローを示す。The communication flow after recovering from the degeneration of link aggregation is shown. リンクアグリゲーションの縮退から復旧した後のLAテーブルを示す。The LA table after recovering from the degeneration of link aggregation is shown. 本実施の形態の処理を適用した、LA制御部のフレーム受信処理のフローチャートである。It is a flowchart of the frame reception process of the LA control unit to which the process of the present embodiment is applied. 本実施の形態の処理を適用した、LA制御部のフレーム送信処理のフローチャートである。It is a flowchart of the frame transmission process of the LA control unit to which the process of the present embodiment is applied. リンクアグリゲーションを用いて接続された、本実施の形態を適用する中継装置を含む2台の中継装置によるネットワークの構成図を示す。The block diagram of the network by the 2 relay apparatus containing the relay apparatus to which this Embodiment is applied connected using link aggregation is shown. 本実施の形態の処理を適用する中継装置内の、LAテーブルを示す。The LA table in the relay apparatus to which the process of this Embodiment is applied is shown. 本実施の形態の処理を適用する中継装置内の、LA受信情報保持テーブルを示す。6 shows an LA reception information holding table in a relay apparatus to which the processing of the present embodiment is applied. 本実施の形態の処理を適用する中継装置が、リンクアグリゲーションから受信する通信フローを示す。The communication flow which the relay apparatus which applies the process of this Embodiment receives from a link aggregation is shown. 本実施の形態の処理を適用する中継装置内の、リンクアグリゲーションからフレームを受信した時のLAテーブルを示す。6 shows an LA table when a frame is received from link aggregation in a relay apparatus to which the processing of the present embodiment is applied. 本実施の形態の処理を適用する中継装置内の、リンクアグリゲーションからフレームを受信した時のLA受信情報保持テーブルを示す。6 shows an LA reception information holding table when a frame is received from link aggregation in a relay apparatus to which the processing of the present embodiment is applied. 本実施の形態の処理を適用する中継装置が、リンクアグリゲーションから送信する通信フローを示す。The communication flow which the relay apparatus which applies the process of this Embodiment transmits from a link aggregation is shown. 本実施の形態の処理を適用する中継装置内の、リンクアグリゲーションからフレームを送信する時のLAテーブルを示す。The LA table at the time of transmitting a frame from link aggregation in the relay apparatus to which the processing of this embodiment is applied is shown. 本実施の形態の処理を適用する中継装置内の、リンクアグリゲーションからフレームを送信する時のLA受信情報保持テーブルを示す。6 shows an LA reception information holding table when a frame is transmitted from link aggregation in a relay apparatus to which the processing of the present embodiment is applied. 本実施の形態の処理を適用する中継装置を流れる、双方向の通信フローを示す。2 shows a bidirectional communication flow that flows through a relay apparatus to which the processing of the present embodiment is applied. 双方向の通信フローが流れる、本実施の形態の処理を適用する中継装置内のLAテーブルを示す。6 shows an LA table in a relay apparatus to which the processing of the present embodiment is applied, in which a bidirectional communication flow flows. 双方向の通信フローが流れる、本実施の形態の処理を適用する中継装置内のLAテーブルを示す。6 shows an LA table in a relay apparatus to which the processing of the present embodiment is applied, in which a bidirectional communication flow flows. 本実施の形態の処理を適用する中継装置で、リンクアグリゲーションの縮退が発生した直後の通信フローを示す。The communication flow immediately after the degeneration of link aggregation occurs in the relay device to which the processing of the present embodiment is applied is shown. リンクアグリゲーションの縮退が発生した直後の、本実施の形態の処理を適用する中継装置内のLAテーブルを示す。The LA table in the relay apparatus to which the process of this Embodiment is applied immediately after the degeneration of link aggregation occurs is shown. リンクアグリゲーションの縮退が発生した直後の、本実施の形態の処理を適用する中継装置内のLA受信情報保持テーブルを示す。The LA reception information holding table in the relay apparatus to which the process of this Embodiment is applied immediately after the occurrence of link aggregation degeneration occurs. リンクアグリゲーションの縮退が発生し、本実施の形態の処理を適用する中継装置でフレーム振分け処理を行った後の通信フローを示す。The communication flow after degeneration of link aggregation has occurred and frame distribution processing has been performed by the relay device to which the processing of the present embodiment is applied is shown. フレーム振分け処理を行った後の、本実施の形態の処理を適用する中継装置内のLAテーブルを示す。The LA table in the relay apparatus to which the process of this Embodiment is applied after performing a frame distribution process is shown. フレーム振分け処理を行った後の、本実施の形態の処理を適用する中継装置内のLA受信情報保持テーブルを示す。The LA reception information holding table in the relay apparatus to which the process of this embodiment is applied after the frame distribution process is performed is shown. リンクアグリゲーションの縮退が発生し、本実施の形態の処理を適用する中継装置と隣接する中継装置でフレーム振分け処理を行った後の通信フローを示す。The communication flow after degeneration of link aggregation has occurred and frame distribution processing has been performed between the relay device to which the processing of this embodiment is applied and the adjacent relay device is shown. 隣接する中継装置でフレーム振分けを行った後の、本実施の形態の処理を適用する中継装置内のLAテーブルを示す。6 shows an LA table in a relay apparatus to which the processing of the present embodiment is applied after frame distribution is performed by an adjacent relay apparatus. 隣接する中継装置でフレーム振分けを行った後の、本実施の形態の処理を適用する中継装置内のLA受信情報保持テーブルを示す。6 shows an LA reception information holding table in a relay apparatus to which the processing of the present embodiment is applied after frame distribution is performed by an adjacent relay apparatus. リンクアグリゲーションの縮退後の、安定状態となった本実施の形態の処理を適用する中継装置を流れる通信フローを示す。The communication flow which flows through the relay apparatus to which the process of this Embodiment which became the stable state after degeneracy of link aggregation is applied is shown. リンクアグリゲーションの縮退後の、通信フローが安定した状態での本実施の形態の処理を適用する中継装置内のLAテーブルを示す。The LA table in the relay apparatus which applies the process of this Embodiment in the state where the communication flow was stabilized after the degeneration of link aggregation is shown. リンクアグリゲーションの縮退後の、通信フローが安定した状態での本実施の形態の処理を適用する中継装置内のLAテーブルを示す。The LA table in the relay apparatus which applies the process of this Embodiment in the state where the communication flow was stabilized after the degeneration of link aggregation is shown. リンクアグリゲーションの縮退が復旧し、本実施の形態の処理を適用する中継装置でフレーム振分け処理を行った後の通信フローを示す。The communication flow after the degeneration of link aggregation is restored and the frame distribution process is performed by the relay apparatus to which the process of the present embodiment is applied is shown. フレーム振分け処理を行った後の、本実施の形態の処理を適用する中継装置内のLAテーブルを示す。The LA table in the relay apparatus to which the process of this Embodiment is applied after performing a frame distribution process is shown. フレーム振分け処理を行った後の、本実施の形態の処理を適用する中継装置内のLA受信情報保持テーブルを示す。The LA reception information holding table in the relay apparatus to which the process of this embodiment is applied after the frame distribution process is performed is shown. リンクアグリゲーションの縮退が復旧し、本実施の形態の処理を適用する中継装置と隣接する中継装置でフレーム振分け処理を行った後の通信フローを示す。The communication flow after the degeneration of link aggregation is restored and the frame distribution processing is performed between the relay device to which the processing of this embodiment is applied and the adjacent relay device is shown. 隣接する中継装置でフレーム振分けを行った後の、本実施の形態の処理を適用する中継装置内のLAテーブルを示す。6 shows an LA table in a relay apparatus to which the processing of the present embodiment is applied after frame distribution is performed by an adjacent relay apparatus. 隣接する中継装置でフレーム振分けを行った後の、本実施の形態の処理を適用する中継装置内のLA受信情報保持テーブルを示す。6 shows an LA reception information holding table in a relay apparatus to which the processing of the present embodiment is applied after frame distribution is performed by an adjacent relay apparatus. LA受信情報保持テーブル5012内に記録される情報を、ユーザに見える形で表示した例を示す。An example in which information recorded in the LA reception information holding table 5012 is displayed in a form visible to the user is shown. 宛先IPアドレスと、送信元IPアドレスと、を記録するLA受信情報保持テーブルの例を示す。The example of the LA reception information holding table which records a destination IP address and a transmission source IP address is shown. LA受信情報保持テーブル5012内に記録する情報をユーザが設定する場合の設定コマンド例を示す。An example of a setting command when the user sets information to be recorded in the LA reception information holding table 5012 is shown. LA受信情報保持テーブル5012内に記録する情報をユーザが設定したときの、LA制御部5005でのフレーム受信処理を示すフローチャートである。10 is a flowchart showing frame reception processing in the LA control unit 5005 when the user sets information to be recorded in the LA reception information holding table 5012. LA受信情報保持テーブル5012内に記録する情報をユーザが設定したときの、リンクアグリゲーションの縮退が発生したときの通信フローを示す。A communication flow when degeneration of link aggregation occurs when the user sets information to be recorded in the LA reception information holding table 5012 is shown. LA受信情報保持テーブル5012内に記録する情報をユーザが設定したときの、リンクアグリゲーションの縮退が発生したときの本実施の形態を適用する中継装置内のLAテーブルを示す。An LA table in a relay apparatus to which the present embodiment is applied when degeneration of link aggregation occurs when the user sets information to be recorded in the LA reception information holding table 5012 is shown. LA受信情報保持テーブル5012内に記録する情報をユーザが設定したときの、リンクアグリゲーションの縮退が発生したときの本実施の形態を適用する中継装置内のLA受信情報保持テーブルを示す。The LA reception information holding table in the relay apparatus to which the present embodiment is applied when the link aggregation is degenerated when the user sets information to be recorded in the LA reception information holding table 5012 is shown. 経路情報保持テーブル5011の例を示す。An example of the route information holding table 5011 is shown.

1.概略

本発明及び本実施の形態の処理を導入した中継装置を使用した場合の通信フローの例を、図3に示す。中継装置1 3006が、本実施の形態を適用した中継装置であり、リンクアグリゲーションを用いた通信において、リンクアグリゲーションを介して接続されている、中継装置2 3007からリンクアグリゲーショングループ内物理ポートを通してフロー3016と、フロー3017とを回線2 3009から、フロー3018と、フロー3019と、を回線3 3010からそれぞれ受信する。それぞれのフローに対する応答のフローを、中継装置1 3006は、フロー3016と、フロー3017とを回線2 3009を使用して、フロー3018と、フロー3019と、を回線3 3010を使用して、それぞれ送信する。
1. Outline

FIG. 3 shows an example of a communication flow when the relay apparatus in which the processing of the present invention and the present embodiment is introduced is used. The relay device 1 3006 is a relay device to which the present embodiment is applied. In communication using link aggregation, the flow 3016 is transmitted from the relay device 2 3007 through the physical port in the link aggregation group, which is connected via link aggregation. The flow 3017 is received from the line 2 3009, and the flow 3018 and the flow 3019 are received from the line 3 3010, respectively. The relay device 1 3006 transmits the flow 3016 and the flow 3017 using the line 2 3009 and the flow 3018 and the flow 3019 using the line 3 3010 respectively. To do.

中継装置の1台が、リンクアグリゲーショングループ内の物理回線が使用できなくなった時のリンクアグリゲーションの縮退が発生した場合の例を、図4に示す。端末1 4001と端末2 4002間の双方向の通信フロー4016と、端末1 4001と端末3 4003間の双方向の通信フロー4017と、がLAG1 4015内の回線2 4009を、端末1 4001と端末3 4003間の双方向の通信フロー4018と、端末1 4001と端末3 4003間の双方向の通信フロー4019と、がLAG1 4015内の回線3 4010を、それぞれ使用している。このため、回線3 4010が使用できなくなった場合、端末1 4001と端末2 4002間の双方向の通信フロー4016と、端末1 4001と端末3 4003間の双方向の通信フロー4017と、については、リンクアグリゲーショングループ内の物理回線が使用できなくなったことの影響を受けず、通信を継続することができる。このように、前述の図2の例で示した、リンクアグリゲーションを用いて接続された2台の中継装置が、それぞれ任意に通信に使用するリンクアグリゲーション内の物理回線を決定する場合と比較し、物理回線が使用できなくなることの影響を受ける双方向の通信フローを、少なくすることができる。   FIG. 4 shows an example of a case where degeneration of link aggregation occurs when one of the relay devices becomes unable to use a physical line in the link aggregation group. A bidirectional communication flow 4016 between the terminal 1 4001 and the terminal 2 4002 and a bidirectional communication flow 4017 between the terminal 1 4001 and the terminal 3 4003 are connected to the line 2 4009 in the LAG1 4015, and the terminal 1 4001 and the terminal 3 are connected. The bidirectional communication flow 4018 between the terminals 4003 and the bidirectional communication flow 4019 between the terminal 1 4001 and the terminal 3 4003 use the line 3 4010 in the LAG1 4015, respectively. Therefore, when the line 3 4010 cannot be used, the bidirectional communication flow 4016 between the terminal 1 4001 and the terminal 2 4002 and the bidirectional communication flow 4017 between the terminal 1 4001 and the terminal 3 4003 are as follows. Communication can be continued without being affected by the fact that the physical line in the link aggregation group can no longer be used. In this way, compared to the case where the two relay devices connected using link aggregation shown in the example of FIG. 2 described above arbitrarily determine the physical lines in the link aggregation used for communication, The bidirectional communication flow that is affected by the fact that the physical line cannot be used can be reduced.

2.第1の実施の形態

本発明を実施するための第1の実施の形態を説明する。
まず、本実施の形態を適用する中継装置5001の構成図を、図5に示す。中継装置5001は、
・ユーザからのコマンド入力を受け付けて処理を行うコマンド処理部5003を含み、装置全体の制御を行う装置制御部5002と、
・経路情報保持テーブル5011内の情報を更新、または使用することで、送信先ポートを決定する処理を行うスイッチング制御部5004と、
・LAGの状態を記録するLAテーブル5013と、LAG使用時にフレームの送信先となるLAG内物理ポートを、LAテーブル5013の情報を使用して計算するハッシュ計算部5006と、
・本発明及び本実施の形態にて追加するLA受信情報保持テーブル5012と、を含むLA制御部5005と、
・物理ポート1 5008と、物理ポート2 5009と、物理ポート3 5010と、を含み、中継装置に搭載される物理ポートを管理し、制御する物理ポート制御部5007と、
を備える。なお、LA制御部5005は、LAGとLAG内の物理ポートを管理することができる。
2. First embodiment

A first embodiment for carrying out the present invention will be described.
First, FIG. 5 shows a configuration diagram of a relay apparatus 5001 to which this embodiment is applied. The relay device 5001
A device control unit 5002 that includes a command processing unit 5003 that receives a command input from a user and performs processing;
A switching control unit 5004 that performs processing for determining a destination port by updating or using information in the route information holding table 5011;
An LA table 5013 that records the state of the LAG, a hash calculation unit 5006 that uses the information in the LA table 5013 to calculate the physical port in the LAG that is the transmission destination of the frame when using the LAG,
An LA control unit 5005 including an LA reception information holding table 5012 to be added in the present invention and the present embodiment;
A physical port control unit 5007 that manages and controls the physical ports mounted on the relay device, including a physical port 1 5008, a physical port 2 5009, and a physical port 3 5010;
Is provided. Note that the LA control unit 5005 can manage the LAG and the physical ports in the LAG.

物理ポート1 5008と、物理ポート2 5009と、物理ポート3 5010と、にはそれぞれ、回線1 5014と、回線2 5015と、回線3 5016と、が接続する。中継装置5001には、物理ポートを4つ以上搭載してもよい。4つ以上の物理ポートを搭載した場合も、すべての物理ポートは物理ポート制御部5007内に含まれる。本実施の形態では、特に物理ポート1 5008と、物理ポート2 5009と、物理ポート3 5010と、を例に説明する。これらの物理ポート1 5008と、物理ポート2 5009と、物理ポート3 5010と、は、同一のレイヤ2ブロードキャストドメインに属する。以上が、本実施の形態を適用する中継装置 5001の構造となる。   A line 1 5014, a line 2 5015, and a line 3 5016 are connected to the physical port 1 5008, the physical port 2 5009, and the physical port 3 5010, respectively. The relay device 5001 may be equipped with four or more physical ports. Even when four or more physical ports are mounted, all the physical ports are included in the physical port control unit 5007. In the present embodiment, description will be made by taking physical port 1 5008, physical port 2 5009, and physical port 3 5010 as an example. These physical port 1 5008, physical port 2 5009, and physical port 3 5010 belong to the same layer 2 broadcast domain. The above is the structure of relay apparatus 5001 to which this embodiment is applied.

次に、中継装置1 5001が、複数の物理回線をリンクアグリゲーションで束ねた仮想回線(LAG)からレイヤ2フレームを受信し、それを他方のポートに送信するまでのレイヤ2フレーム中継動作と、そのときの中継装置1 5001での処理と、について、図6a〜図6eのフローチャートと、図7a〜図7bと、図8a〜図8bと、を用いて説明する。   Next, the relay apparatus 1 5001 receives a layer 2 frame from a virtual line (LAG) in which a plurality of physical lines are bundled by link aggregation, and transmits a layer 2 frame to the other port, The processing in the relay device 15001 will be described with reference to the flowcharts of FIGS. 6a to 6e, FIGS. 7a to 7b, and FIGS. 8a to 8b.

図7aに、実施の形態の説明に使用する、リンクアグリゲーションで接続された2台の中継装置によるネットワークの構成図を示す。この構成は、図5で説明した機構を持つ中継装置1 7006と、中継装置2 7007と、通信を行う端末1 7001と、端末2 7002と、端末3 7003と、端末4 7004と、端末5 7005と、端末1 7001と中継装置1 7006とを接続する回線1 7008と、端末1 7001と端末2 7002を接続する回線2 7009と回線3 7010と、端末2 7002と中継装置2 7007とを接続する回線4 7011と、端末3 7003と中継装置2 7002とを接続する回線5 7012と、端末4 7004と中継装置2 7007とを接続する回線6 7013と、端末5 7005と中継装置2 7007とを接続する回線7 7014と、回線2 7009と回線3 7010を束ねるLAG1 7015とを備える。   FIG. 7 a shows a configuration diagram of a network using two relay apparatuses connected by link aggregation, which is used for describing the embodiment. In this configuration, the relay apparatus 1 7006, the relay apparatus 2 7007, the terminal 1 7001, the terminal 2 7002, the terminal 3 7003, the terminal 4 7004, and the terminal 5 7005 having the mechanism described in FIG. A line 1 7008 connecting the terminal 1 7001 and the relay apparatus 1 7006, a line 2 7009 connecting the terminal 1 7001 and the terminal 2 7002, a line 3 7010, and a terminal 2 7002 and the relay apparatus 2 7007. Line 4 7011, line 3 7013 connecting terminal 3 7003 and relay apparatus 2 7002, line 6 7013 connecting terminal 4 7004 and relay apparatus 2 7007, and terminal 5 7005 and relay apparatus 2 7007 are connected LAG1 7015 to bundle the line 7 7014, the line 2 7009, and the line 3 7010 With.

このときの、中継装置1 7006内にあるLAテーブル7016の構造および状態を、図7bに示す。LAテーブル7016は、LAG ID 7017と、該当するLAGに束ねられているLAG内物理ポート7018と、上述の物理ポートの状態を示す物理ポート状態7019と、を含む。なお、LAG内物理ポートの物理ポート番号は、回線番号に対応する。たとえば、LAG内物理ポートの物理ポート2は、回線2に接続される。また、LAテーブルの物理ポート状態は、中継装置のLA制御部5005が、回線一定周期又は所定タイミング等に監視して、回線の障害等の使用不可、復旧等の使用可を検出したとき、Down又はUpに遷移させて記憶する。   FIG. 7 b shows the structure and state of the LA table 7016 in the relay apparatus 1 7006 at this time. The LA table 7016 includes a LAG ID 7017, an intra-LAG physical port 7018 bundled with the corresponding LAG, and a physical port state 7019 indicating the state of the physical port described above. The physical port number of the physical port in the LAG corresponds to the line number. For example, the physical port 2 of the physical port in the LAG is connected to the line 2. Also, the physical port state of the LA table is determined when the LA control unit 5005 of the relay apparatus monitors the line at a fixed period or a predetermined timing, and detects that the line is unusable or unusable, such as recovery. Alternatively, the transition is made to Up and stored.

このときの通信フローを、図8aに示す。端末2 8002から、LAG1 8015中の回線2 8009を経由し端末1 8001宛のフロー8016と、端末4 8004から、LAG1 8015中の回線3 8010を経由し端末1 8001宛のフロー8018と、端末1 8001から、LAG1 8015中の回線3 8010を経由し端末2 8002宛のフロー8017と、端末1 8001から、LAG1 8015中の回線2 8009を経由し端末4 8004宛のフロー8019と、の4つのフローが存在する。   The communication flow at this time is shown in FIG. A flow 8016 addressed to the terminal 1 8001 from the terminal 2 8002 via the line 2 8009 in the LAG1 8015, a flow 8018 addressed to the terminal 1 8001 from the terminal 4 8004 via the line 3 8010 in the LAG1 8015, and the terminal 1 From flow 8001, a flow 8017 addressed to terminal 2 8002 via line 3 8010 in LAG1 8015, and a flow 8019 addressed to terminal 4 8004 from terminal 1 8001 via line 2 8009 in LAG1 8015 Exists.

以上の通信フローが存在するときの、中継装置1 8006内のLAテーブルの状態を、図8bに示す。
以降は、端末1 7001と、端末2 7002間と、端末1 7001と、端末4 7004間と、の通信フローを用いて説明する。ここで対象となる通信フローを構成するフレームは、宛先MACアドレスと、送信元MACアドレスと、データと、を保持しているものとする。以下、フレーム内に保持されている宛先MACアドレスをDMAC(Destination Media Access Control)、送信元MACアドレスをSMAC(Source Media Access Control)と呼ぶ。
FIG. 8b shows the state of the LA table in the relay apparatus 1 8006 when the above communication flow exists.
Hereinafter, description will be made using communication flows between the terminal 1 7001 and the terminal 2 7002, between the terminal 1 7001 and the terminal 4 7004. Here, it is assumed that the frame constituting the target communication flow holds a destination MAC address, a source MAC address, and data. Hereinafter, the destination MAC address held in the frame is referred to as DMAC (Destination Media Access Control), and the source MAC address is referred to as SMAC (Source Media Access Control).

中継装置1 8006でのLAGを用いたレイヤ2フレーム中継処理を、図6 a〜図6eのフローチャートを用いて説明する。中継装置1 8006でのLAGを用いたレイヤ2フレーム中継処理は、図6aに示す物理ポート制御部5007でのフレーム受信処理と、図6cに示すLA制御部5005でのフレーム受信処理と、図6eに示すスイッチング制御部5004処理と、図6dに示すLA制御部5005でのフレーム送信処理と、図6bに示す物理ポート制御部5007でのフレーム送信処理と、で実現できる。以下に、それぞれの処理について説明する。   A layer 2 frame relay process using LAG in the relay apparatus 1 8006 will be described with reference to the flowcharts of FIGS. Layer 2 frame relay processing using LAG in the relay apparatus 1 8006 includes frame reception processing in the physical port control unit 5007 shown in FIG. 6a, frame reception processing in the LA control unit 5005 shown in FIG. 6c, and FIG. The switching control unit 5004 shown in FIG. 6A, the frame transmission processing in the LA control unit 5005 shown in FIG. 6D, and the frame transmission processing in the physical port control unit 5007 shown in FIG. Each process will be described below.

(受信処理)
まず、物理ポート制御部5007でのフレーム受信処理について説明する。中継装置1 8006がフレームを受信すると、図6aに示す物理ポート制御部5007でのフレーム受信処理を行う。フレームを受信(6001)した物理ポート5008〜5010が、物理ポート制御部5007にフレームを転送(6001)する。転送されたフレームを受けた物理ポート制御部5007は、フレームと、受信元物理ポートの情報と、をLA制御部5005に転送する。以上が、物理ポート制御部5007でのフレーム受信処理となる。
(Reception processing)
First, frame reception processing in the physical port control unit 5007 will be described. When the relay apparatus 1 8006 receives the frame, the physical port control unit 5007 shown in FIG. The physical ports 5008 to 5010 that have received the frame (6001) transfer the frame to the physical port control unit 5007 (6001). Receiving the transferred frame, the physical port control unit 5007 transfers the frame and the information of the reception source physical port to the LA control unit 5005. The above is the frame reception process in the physical port control unit 5007.

次に、LA制御部5005でのフレーム受信処理について説明する。物理ポート制御部5007からフレームと、受信元物理ポートの情報と、を受けたLA制御部5005では、図6cに示すLA制御部5005でのフレーム受信処理を行う。LA制御部5005でのフレーム受信処理は、図7bに示すLAテーブル7016を使用する。LAテーブル7016は、LAG7017と、そのLAGに束ねられるLAG内物理ポート7018と、LAG内物理ポート7018のポート状態を示す物理ポート状態7019と、の関連を保持しておくテーブルである。LAテーブル7016の情報は、コマンド等によって、ユーザが明示的に指定できる。LA制御部5005は、物理ポート制御部5007から受け取った受信元物理ポート情報を、LAテーブル7016内のLAG内物理ポートフィールド7018に保持している情報と照合し(6006)、受信元物理ポートを束ねるLAGが存在する場合、フレームの受信元情報を、受信元物理ポートを束ねるLAGに設定する(6007)。受信元物理ポートを束ねるLAGが存在しない場合、受信ポート制御部5007から受け取った受信元物理ポートを、そのまま受信元情報に設定する(6018)。フレームと、上述の処理によって決定した受信元情報と、をスイッチング制御部5004に転送する(6006)。以上が、LA制御部5005でのフレーム受信処理となる。   Next, frame reception processing in the LA control unit 5005 will be described. The LA control unit 5005 that receives the frame and the information of the reception source physical port from the physical port control unit 5007 performs frame reception processing in the LA control unit 5005 shown in FIG. 6c. The frame reception process in the LA control unit 5005 uses the LA table 7016 shown in FIG. 7b. The LA table 7016 is a table that holds associations between the LAG 7017, the physical port 7018 in the LAG bundled with the LAG, and the physical port state 7019 indicating the port state of the physical port 7018 in the LAG. The information in the LA table 7016 can be explicitly specified by the user by a command or the like. The LA control unit 5005 collates the source physical port information received from the physical port control unit 5007 with the information held in the physical port field 7018 within the LAG in the LA table 7016 (6006), and determines the source physical port. If there is a bundled LAG, the frame reception source information is set to the LAG bundled with the reception source physical port (6007). When there is no LAG that bundles the reception source physical ports, the reception source physical port received from the reception port control unit 5007 is set as it is in the reception source information (6018). The frame and the receiving source information determined by the above-described processing are transferred to the switching control unit 5004 (6006). The above is the frame reception process in the LA control unit 5005.

(スイッチング処理)
次に、スイッチング制御部5004処理について説明する。LA制御部5005からフレームを受けたスイッチング制御部5004では、図6eに示すスイッチング制御部5004処理を行う。スイッチング制御部5004は、フレーム内のSMACと、フレームを受信した受信元情報と、を経路情報保持テーブル5011に記録する(6013)。
経路情報保持テーブル5011の例を、図28に示す。経路情報保持テーブル28001は、受信したフレームのSMACを保持しておくMAC情報フィールド28003と、そのフレームを受信した受信元情報を保持しておく受信元情報28002と、を含む。
(Switching processing)
Next, the switching control unit 5004 process will be described. The switching control unit 5004 that has received the frame from the LA control unit 5005 performs the processing of the switching control unit 5004 shown in FIG. 6e. The switching control unit 5004 records the SMAC in the frame and the reception source information that received the frame in the route information holding table 5011 (6013).
An example of the route information holding table 5011 is shown in FIG. The path information holding table 28001 includes a MAC information field 28003 that holds the SMAC of the received frame, and reception source information 28002 that holds the reception source information that received the frame.

次に、フレーム内のDMACを、経路情報保持テーブル28001内のMAC情報フィールド28003の情報から検索(6014)し、一致するMAC情報があれば、対応する受信元情報28002に記録された受信元情報を、送信先情報として指定(6015)する。対応する受信元情報28002がない場合は、同一ブロードキャスト(又はマルチキャスト)ドメイン内で、フレームを受信したポート以外の全てのポートを送信先情報として指定(6016)する。送信先情報の指定が完了すると、LA制御部5005にフレームと、送信先情報と、を転送(6017)する。以上が、スイッチング制御部5004処理となる。   Next, the DMAC in the frame is searched from the information in the MAC information field 28003 in the path information holding table 28001 (6014), and if there is matching MAC information, the receiving source information recorded in the corresponding receiving source information 28002 Is designated as transmission destination information (6015). If there is no corresponding reception source information 28002, all ports other than the port that received the frame are designated as transmission destination information in the same broadcast (or multicast) domain (6016). When the designation of the transmission destination information is completed, the frame and the transmission destination information are transferred to the LA control unit 5005 (6017). The above is the switching control unit 5004 processing.

(送信処理)
次に、LA制御部5005でのフレーム送信処理について説明する。スイッチング制御部5004からフレームと、送信先情報と、を受けたLA制御部5005では、図6dに示すLA制御部5005でのフレーム送信処理を行う。LA制御部5005でのフレーム送信処理は、図9aに示すLAテーブル5013を使用する。LA制御部5005では、スイッチング制御部5004から受け取った送信先情報を、LAテーブル7016から照合し、送信先情報に該当するLAGのLAG内物理ポート7018又は、送信先情報で指定されたポートに該当するLAG内物理ポート7018に、状態がUpのポートが存在するかどうかの検索を行う(6009)。LAG内物理ポート7018に、状態がUpのポートがある場合、LA制御部5005では、ハッシュ計算部5006が、送信先情報に指定されたLAGに束ねられ、かつ物理ポート状態がUpであるLAG内物理ポートの中から、フレームの送信に使用する物理ポートを送信先ポートとして計算、決定(6010)し、フレームと、決定された送信先ポートの情報と、を物理ポート制御部5007に転送する(6012)。上記に該当する、送信先ポートに指定されたLAGに束ねられ、かつ物理ポート状態がUpであるLAG内物理ポートが存在しない場合、LA制御部でフレームを廃棄する(6011)。以上が、LA制御部5005でのフレーム送信処理となる。
(Transmission process)
Next, frame transmission processing in the LA control unit 5005 will be described. The LA control unit 5005 that has received the frame and the transmission destination information from the switching control unit 5004 performs frame transmission processing in the LA control unit 5005 shown in FIG. 6d. The frame transmission processing in the LA control unit 5005 uses the LA table 5013 shown in FIG. 9a. The LA control unit 5005 matches the transmission destination information received from the switching control unit 5004 from the LA table 7016, and corresponds to the physical port 7018 in the LAG corresponding to the transmission destination information or the port specified by the transmission destination information. A search is performed as to whether there is a port whose state is Up in the intra-LAG physical port 7018 (6009). When there is a port whose state is Up in the intra-LAG physical port 7018, the LA control unit 5005 has the hash calculation unit 5006 bundled in the LAG specified in the transmission destination information and in the LAG whose physical port state is Up. Of the physical ports, a physical port used for frame transmission is calculated and determined as a transmission destination port (6010), and the frame and information of the determined transmission destination port are transferred to the physical port control unit 5007 ( 6012). If there is no physical port in the LAG that is bundled with the LAG designated as the transmission destination port and whose physical port state is Up corresponding to the above, the LA control unit discards the frame (6011). The above is the frame transmission processing in the LA control unit 5005.

次に、物理ポート制御部5007でのフレーム送信処理について説明する。LA制御部5005からフレームと、送信先ポート情報と、を受けた物理ポート制御部5007は、図8bに示す物理ポート制御部5007でのフレーム送信処理を行う。物理ポート制御部5007では、LA制御部5005から受け取った、送信先ポートに該当する物理ポートに、フレームを転送し(6004)、フレームを転送された物理ポートからフレームを転送する(6005)。以上が、物理ポート制御部5007でのフレーム送信処理となる。
以上が、中継装置1 5001が、複数の物理回線をリンクアグリゲーションで束ねた仮想回線(LAG)からレイヤ2フレームを受信し、それを他方のポートに送信するまでのレイヤ2フレーム中継動作と、そのときの中継装置1 5001での処理となる。
Next, frame transmission processing in the physical port control unit 5007 will be described. Receiving the frame and destination port information from the LA control unit 5005, the physical port control unit 5007 performs frame transmission processing in the physical port control unit 5007 shown in FIG. 8b. The physical port control unit 5007 transfers the frame to the physical port corresponding to the transmission destination port received from the LA control unit 5005 (6004), and transfers the frame from the physical port to which the frame has been transferred (6005). The above is the frame transmission processing in the physical port control unit 5007.
As described above, the relay apparatus 1 5001 receives the layer 2 frame from the virtual line (LAG) in which a plurality of physical lines are bundled by link aggregation, and transmits the layer 2 frame to the other port. Processing in the relay device 1 5001 at the time.

(縮退)
次に、複数の物理回線をリンクアグリゲーションで束ねた仮想回線(LAG)を用いたレイヤ2フレームの中継動作時、LAGを構成する一部の物理回線が障害等により使用できなくなった場合の、レイヤ2フレーム中継動作について、通信フロー状態の遷移に着目し、図9a〜図9bと、図10a〜図10bと、を用いて説明する。
(Degeneration)
Next, when a layer 2 frame is relayed using a virtual line (LAG) in which a plurality of physical lines are bundled by link aggregation, when some of the physical lines constituting the LAG cannot be used due to a failure, etc. The 2-frame relay operation will be described with reference to FIGS. 9a to 9b and FIGS. 10a to 10b, focusing on the transition of the communication flow state.

LAGの縮退が発生した場合の中継フローについて、図9aに示す。図9aは、図8aで示す通信フローの状態から、回線3 9010がダウンした状態に遷移したことを示す。回線3 9010のダウンにより、回線3 9010を流れていた通信フローである、フロー9017と、フロー9018と、が停止する。
このときの中継装置1 9006のLAテーブルの状態を、図9bに示す。LAテーブル9020では、ダウンした回線3 9010を接続していた物理ポート3 5010の状態を示す物理ポート状態9023が、状態Downに遷移する。
FIG. 9a shows the relay flow when LAG degeneration occurs. FIG. 9a shows that the line 3 9010 has transitioned from the state of the communication flow shown in FIG. 8a to the down state. When the line 3 9010 is down, the flow 9017 and the flow 9018 which are communication flows flowing through the line 3 9010 are stopped.
The state of the LA table of relay device 1 9006 at this time is shown in FIG. 9b. In the LA table 9020, the physical port state 9023 indicating the state of the physical port 3 5010 to which the down line 3 9010 was connected changes to the state Down.

続いて遷移する、通信フローの状態について、図10aに示す。中継装置1 10006において、図10bに示すLAテーブル10020を使用し、図6dに示すLA制御部5005でのフレーム送信処理を行うと、処理6010において、物理ポート3 5010をフレームの送信先ポートとして使用しなくなる。そのため、図9aにおいて回線3 9010を使用し、回線3 9010のダウンによって通信が停止したフロー9017と、フロー9018と、はそれぞれ、図10aにおいては回線2 10009を使用するフロー10018と、フロー10019と、で通信を再開する。以上が、複数の物理回線をリンクアグリゲーションで束ねた仮想回線(LAG)を用いたレイヤ2フレームの中継動作時、LAGを構成する一部の物理回線が障害等により使用できなくなった場合の、レイヤ2フレーム中継動作となる。   The state of the communication flow that subsequently transitions is shown in FIG. 10a. When the relay apparatus 1 10006 uses the LA table 10020 shown in FIG. 10b and performs the frame transmission process in the LA control unit 5005 shown in FIG. 6d, the physical port 3 5010 is used as the frame destination port in the process 6010. No longer. Therefore, the flow 9017 and the flow 9018 in which communication is stopped by using the line 3 9010 in FIG. 9a and the communication is stopped due to the down of the line 3 9010 are respectively shown in the flow 10018 and the flow 10019 using the line 2 10009 in FIG. , Restart communication. When the layer 2 frame relay operation using a virtual line (LAG) in which a plurality of physical lines are bundled by link aggregation is performed as described above, when some physical lines constituting the LAG cannot be used due to a failure or the like, Two-frame relay operation is performed.

(復旧)
次に、前述の状態から、使用できなくなっていたLAGを構成する物理回線が、復旧した場合のレイヤ2フレーム中継動作について、通信フローの状態の遷移に着目し、図11a〜図11bを用いて説明する。
(Recovery)
Next, with regard to the layer 2 frame relay operation when the physical line constituting the LAG that has become unusable from the above state is recovered, paying attention to the transition of the state of the communication flow, using FIGS. 11a to 11b explain.

図11aは、図10aの状態から、縮退の状態から復旧した時の通信フローの状態を示す。このときの中継装置1 LAテーブルの状態を、図11bに示す。回線3 11010が復旧したことにより、LAテーブル11020の物理ポート3に対応する物理ポート状態11023が、状態Upに遷移する。このことにより、中継装置1 11006は、図6dに示すLA制御部5005でのフレーム送信処理において、回線3 11010と接続する物理ポート3 5010を、フレームの送信先ポートとして使用可能となる。結果、LAG縮退時に回線2 11009を使用していた通信フローのうち、フロー11018と、フロー11019と、が、回線3 11010を使用する。以上が、使用できなくなっていたLAGを構成する物理回線が、復旧した場合のレイヤ2フレーム中継動作となる。   FIG. 11a shows the state of the communication flow when the state of FIG. 10a is restored from the degenerated state. The state of the relay apparatus 1 LA table at this time is shown in FIG. As the line 3 11010 is restored, the physical port state 11023 corresponding to the physical port 3 in the LA table 11020 transitions to the state Up. As a result, the relay device 1 11006 can use the physical port 3 5010 connected to the line 3 11010 as a frame transmission destination port in the frame transmission processing in the LA control unit 5005 shown in FIG. 6D. As a result, among the communication flows using the line 2 11009 at the time of LAG degeneration, the flow 11018 and the flow 11019 use the line 3 11010. The above is the layer 2 frame relay operation when the physical lines constituting the LAG that can no longer be used are restored.

3.第2の実施の形態

以上を踏まえ、以下に本発明の第2の実施の形態について説明する。
この実施の形態では、リンクアグリゲーションからフレームを受信した時にフレームの情報を記録し、リンクアグリゲーションからフレームを送信する時に記録した情報を参照することで、フレームの送信に使用するリンクアグリゲーショングループ内の物理回線を決定し、リンクアグリゲーションのフレームの振分けによって決定するフレームの送信に使用するリンクアグリゲーショングループ内の物理回線を修正する処理を導入する。前述の処理を導入することで、双方向通信を同じ物理回線で行うレイヤ2フレーム中継動作について、図12a〜図12bのフローチャートと、図13a〜図13cと、図14a〜図14cと、図15a〜図15cと、図16a〜図16cと、を用いて説明する。
3. Second embodiment

Based on the above, a second embodiment of the present invention will be described below.
In this embodiment, the frame information is recorded when a frame is received from the link aggregation, and the information recorded when the frame is transmitted from the link aggregation is referred to. A process for determining a line and correcting a physical line in a link aggregation group used for transmission of a frame determined by distribution of a link aggregation frame is introduced. By introducing the processing described above, the layer 2 frame relay operation in which bidirectional communication is performed on the same physical line, the flowcharts of FIGS. 12a to 12b, FIGS. 13a to 13c, FIGS. 14a to 14c, and FIG. Description will be made with reference to FIG. 15c and FIGS. 16a to 16c.

本実施の形態を適用した中継装置を含む、リンクアグリゲーションで接続された、2台の中継装置によるネットワークの構成図を、図13aに示す。図13aに示す構成は、本実施の形態をMACアドレスを使用するように実装した中継装置1 13006と、上述したLAG通信を行う中継装置2 13007と、の2台の中継装置を備える。その他の環境については、図7(a)に示した通信環境と同一である。   FIG. 13a shows a network configuration diagram of two relay devices connected by link aggregation, including the relay device to which the present embodiment is applied. The configuration illustrated in FIG. 13A includes two relay apparatuses, that is, the relay apparatus 1 13006 in which the present embodiment is implemented so as to use the MAC address, and the relay apparatus 2 13007 that performs the above-described LAG communication. Other environments are the same as the communication environment shown in FIG.

このときの中継装置1 13006内のLAテーブル13016の状態を図13bに示す。図13aの時点では、回線2 13009と、回線3 13010と、はともにアップしている状態のため、LAテーブル13016内の物理ポート状態13019は、物理ポート2と、物理ポート3と、ともに状態はUpとなる。   FIG. 13B shows the state of the LA table 13016 in the relay apparatus 1 13006 at this time. At the time of FIG. 13a, since both the line 2 13009 and the line 3 13010 are up, the physical port state 13019 in the LA table 13016 is in the state of both the physical port 2 and the physical port 3. It becomes Up.

本実施の形態にて追加となる、LA受信情報保持テーブル13020を、図13cに示す。LA受信情報保持テーブル13020は、フレームを受信したLAG又はポートを記録する受信LAフィールド13021と、フレームを受信したLAG内物理ポートを記録する受信ポートフィールド13022と、受信したフレームのDMACを記録する宛先MAC情報フィールド13023と、受信したフレームのSMACを記録する送信元MAC情報フィールド13024と、フレームを受信してからの時間を表す受信時タイマフィールド13025と、を含む。以上が、複数の物理回線を束ねた仮想回線内の同じ物理回線を用いて双方向通信を行うレイヤ2フレーム中継動作を行う環境となる。   FIG. 13C shows an LA reception information holding table 13020 that is added in the present embodiment. The LA reception information holding table 13020 includes a reception LA field 13021 that records the LAG or port that received the frame, a reception port field 13022 that records the physical port in the LAG that received the frame, and a destination that records the DMAC of the received frame. It includes a MAC information field 13023, a source MAC information field 13024 that records the SMAC of the received frame, and a reception timer field 13025 that represents the time since the frame was received. The above is the environment for performing the layer 2 frame relay operation in which bidirectional communication is performed using the same physical line in the virtual line obtained by bundling a plurality of physical lines.

次に、中継装置1 13006がLAG1 13015からフレームを受信した場合の通信フローの状態を、図14aに、フレームを受信した後の中継装置1 14006内部のLAテーブル14018の状態を図14bに、フレームを受信した後の中継装置1 14006内部のLA受信情報保持テーブルの状態を図14cに、このときの中継装置1 14006内部の処理を表すフローチャートを、図12aに示す。   Next, the state of the communication flow when the relay device 1 13006 receives a frame from the LAG1 13015 is shown in FIG. 14a, the state of the LA table 14018 in the relay device 1 14006 after receiving the frame is shown in FIG. FIG. 14 c shows the state of the LA reception information holding table in the relay device 1 14006 after the reception of FIG. 14, and FIG. 12 a shows a flowchart showing the processing in the relay device 1 14006 at this time.

(受信処理)
図12aは、本実施の形態を適用した中継装置が、LAG側からフレームを受信した場合のLA制御部5005における受信処理を示したフローチャートである。物理ポート制御部5007でのフレーム受信処理と、スイッチング制御部5004処理と、物理ポート制御部5007でのフレーム送信処理と、はそれぞれ図6aと、図6eと、図6bと、それぞれ同一となり、LA制御部5005でのフレーム受信処理のみが異なる。そのため、ここではLA制御部5005でのフレーム受信処理に着目して説明する。中継装置1 13006がフレームを受信すると、図6aに示す物理ポート制御部5007でのフレーム受信処理を行い、図12aに示すLA制御部5005でのフレーム受信処理を行う。LA制御部5005では、受信したフレームのSMACと、DMACと、を元に、LA受信情報保持テーブル13022内に一致する情報が存在するかの検索を行う(12001)。一致する情報がない場合、受信したフレームのSMACと、DMACと、フレームを受信したLAGと、フレームを受信したLAG内物理ポートと、をLA受信情報保持テーブル13022に新規に記録する。このとき、受信時タイマフィールド13027には、0を記録する(12002)。一致する情報が存在する場合、続いてフレームを受信したLAGと、フレームを受信したLAG内物理ポートと、の情報を、LA受信情報保持テーブル13022内に記録されている、一致したフレームを受信したLAGと、フレームを受信したLAG内物理ポートと、照合し、一致するかを判定する(12003)。情報が一致しない場合、受信したフレームと一致する宛先MAC情報フィールド13023と、送信元MAC情報フィールド13024と、に関連付けられている受信LAフィールド13021と、受信ポート12022と、の情報を、それぞれ受信したフレームのLAGと、LAG内物理ポートと、の情報に更新する。このとき、関連付けられている受信時タイマフィールド13025には、0を記録する(12004)。情報が一致する場合、受信したフレームと一致する宛先MAC情報フィールド13023と、送信元MAC情報フィールド13024と、に関連付けられている受信時タイマフィールド13025に、0を記録する(12005)。LA受信情報保持テーブル13020の情報更新が完了すると、LA制御部5005は、スイッチング制御部5004にフレームと、フレームを受信したLAG又は受信元ポートを表す受信元情報と、を転送し(12006)、以降、図6eにて説明したスイッチング制御部5004制御部での処理と、同等の処理を行う。上述のLA制御部5005でのフレーム受信処理を完了した後の、LAテーブル14018を図14bに、LA受信情報保持テーブル14022を図14cに、それぞれ示す。LAテーブル14018は、通信フローが発生する前のLAテーブル13017と、の違いはない。LA受信情報保持テーブル14022は、図12aに示すLA制御部5005でのフレーム受信処理により、フロー14016と、フロー14017と、で受信したフレームの情報が記録される。以上が、中継装置1 13006がLAG1 13015からレイヤ2フレームを受信した場合の通信フローと、中継装置と、の動作となる。
(Reception processing)
FIG. 12a is a flowchart showing reception processing in the LA control unit 5005 when the relay apparatus to which this embodiment is applied receives a frame from the LAG side. The frame reception processing in the physical port control unit 5007, the switching control unit 5004 processing, and the frame transmission processing in the physical port control unit 5007 are respectively the same as those in FIG. 6a, FIG. 6e, and FIG. Only the frame reception process in the control unit 5005 is different. Therefore, here, the description will be given focusing on the frame reception process in the LA control unit 5005. When the relay apparatus 1 13006 receives the frame, the physical port control unit 5007 shown in FIG. 6A performs frame reception processing, and the LA control unit 5005 shown in FIG. 12A performs frame reception processing. The LA control unit 5005 searches for matching information in the LA reception information holding table 13022 based on the SMAC and DMAC of the received frame (12001). If there is no matching information, the SMAC of the received frame, the DMAC, the LAG that received the frame, and the physical port in the LAG that received the frame are newly recorded in the LA reception information holding table 13022. At this time, 0 is recorded in the reception timer field 13027 (12002). When there is matching information, information on the LAG that subsequently received the frame and the physical port in the LAG that received the frame is recorded in the LA reception information holding table 13022, and the matching frame has been received. The LAG is compared with the physical port in the LAG that has received the frame to determine whether or not they match (12003). If the information does not match, the information of the reception LA field 13021 and the reception port 12022 associated with the destination MAC information field 13023, the transmission source MAC information field 13024, which match the received frame, has been received. The information is updated to information on the LAG of the frame and the physical port in the LAG. At this time, 0 is recorded in the associated reception timer field 13025 (12004). When the information matches, 0 is recorded in the reception timer field 13025 associated with the destination MAC information field 13023 and the source MAC information field 13024 that match the received frame (12005). When the information update of the LA reception information holding table 13020 is completed, the LA control unit 5005 transfers the frame and the reception source information indicating the LAG or the reception source port that has received the frame to the switching control unit 5004 (12006). Thereafter, processing equivalent to the processing in the switching control unit 5004 described with reference to FIG. 6E is performed. FIG. 14 b shows the LA table 14018 and FIG. 14 c shows the LA reception information holding table 14022 after the frame reception process in the LA control unit 5005 is completed. The LA table 14018 is not different from the LA table 13017 before the communication flow is generated. In the LA reception information holding table 14022, information of frames received in the flow 14016 and the flow 14017 is recorded by the frame reception processing in the LA control unit 5005 shown in FIG. 12a. The above is the communication flow when the relay device 1 13006 receives the layer 2 frame from the LAG1 13015 and the operation of the relay device.

(送信処理)
次に、中継装置1 13006が、LAG1 13015向けにレイヤ2フレームを送信する動作を、図15a〜図15cを用いて説明する。このときの通信フローを、図15aに示す。中継装置1 15006側が、端末1 15001を接続する回線1 15008からフレームを受信し、LAG1 15015からフレームを送信するフロー15016と、フロー15017と、を考える。また、このときのLAテーブル15018の状態を図15bに、LA受信情報保持テーブル15022の状態を図15cに、それぞれ示す。以上のレイヤ2フレーム中継処理を行う際、物理ポート制御部5007と、スイッチング制御部5004と、はそれぞれ図6bと、図6eと、で説明した処理と同等の処理を行うため、LA制御部5005でのフレーム送信処理に着目して説明する。
(Transmission process)
Next, an operation in which relay device 1 13006 transmits a layer 2 frame to LAG1 13015 will be described with reference to FIGS. 15a to 15c. The communication flow at this time is shown in FIG. 15a. Consider a flow 15016 and a flow 15017 in which the relay device 1 15006 side receives a frame from the line 1 15008 connecting the terminal 1 15001 and transmits a frame from the LAG1 15015. FIG. 15b shows the state of the LA table 15018 at this time, and FIG. 15c shows the state of the LA reception information holding table 15022. When performing the above-described layer 2 frame relay processing, the physical port control unit 5007 and the switching control unit 5004 perform processing equivalent to the processing described in FIGS. 6b and 6e, respectively. A description will be given focusing on the frame transmission processing in FIG.

LA制御部5005でのフレーム送信処理のフローチャートを、図12bに示す。スイッチング制御部5004から転送されたフレームと、送信先情報と、をLA制御部5005で受信する。LA制御部5005では、転送されたフレームのSMACと、DMACと、送信先情報と、をLA受信情報保持テーブル15022内の宛先MAC情報フィールド15025と、送信元MAC情報フィールド15026と、受信LA15023と、それぞれ一致する情報があるかどうかの検索を行う(12007)。一致する情報がある場合、そのLA受信情報保持テーブル15022内の該当する情報に関連付けられた受信ポート情報15024と、LAテーブル15018内のLAG内物理ポート15020と、を照合し、対応するLAG内物理ポート15020に関連付けられた物理ポート状態15021の情報がUpとなっているかの判定を行う(12008)。対応する物理ポート状態15021の情報がUpとなっていれば、前述の転送されたフレームのSMACと、DMACと、送信先ポートの情報と、一致するLA受信情報保持テーブル15022内の宛先MAC情報フィールド15025と、送信元MAC情報フィールド15026と、受信LA15023と、に対応する受信ポート15024に保持されているLAG内物理ポートを、フレームの送信先ポートとして指定し、フレームとあわせて物理ポート制御部5007に転送する(12009)。LA受信情報保持テーブル15022内の宛先MAC情報フィールド15025と、送信元MAC情報フィールド15026と、受信LA15023と、が一致する情報がない場合、もしくは、一致した情報があっても、その受信ポート15024に対応付けられたLAテーブル15018内の物理ポート状態15021の情報がDownの場合、図6dで示すLA制御部でのフレーム送信処理と同等の処理(12010)を行い、フレームの送信先ポートを指定し、物理ポート制御部5007に、フレームと、フレームの送信先ポートと、を転送する。この後、図6bに示す物理ポート制御部5007でのフレーム送信処理により、フレームが送信される。以上の処理により、図15aに示すフロー15016と、フロー15017と、が実現できる。   FIG. 12B shows a flowchart of the frame transmission process in the LA control unit 5005. The LA control unit 5005 receives the frame transferred from the switching control unit 5004 and the destination information. In the LA control unit 5005, the SMAC, the DMAC, and the transmission destination information of the transferred frame, the destination MAC information field 15025 in the LA reception information holding table 15022, the transmission source MAC information field 15026, the reception LA 15023, A search is performed to determine whether there is matching information (12007). If there is matching information, the reception port information 15024 associated with the corresponding information in the LA reception information holding table 15022 is compared with the physical port 15020 in the LAG in the LA table 15018, and the corresponding physical in LAG is checked. It is determined whether the information of the physical port state 15021 associated with the port 15020 is Up (12008). If the information of the corresponding physical port state 15021 is Up, the destination MAC information field in the LA reception information holding table 15022 that matches the SMAC, DMAC, and destination port information of the transferred frame described above. The intra-LAG physical port held in the reception port 15024 corresponding to 15025, the transmission source MAC information field 15026, and the reception LA 15023 is designated as the transmission destination port of the frame, and the physical port control unit 5007 together with the frame (12009). When there is no matching information in the destination MAC information field 15025, the source MAC information field 15026, and the reception LA 15023 in the LA reception information holding table 15022, or even if there is matching information, the reception port 15024 If the information of the physical port state 15021 in the associated LA table 15018 is Down, processing equivalent to the frame transmission processing (12010) in the LA control unit shown in FIG. 6d is performed, and the transmission destination port of the frame is designated. Then, the frame and the transmission destination port of the frame are transferred to the physical port control unit 5007. Thereafter, the frame is transmitted by frame transmission processing in the physical port control unit 5007 shown in FIG. 6B. Through the above processing, the flow 15016 and the flow 15017 shown in FIG. 15A can be realized.

前述の、中継装置1 14006が、LAG1 14015からフレームを受信する動作と、中継装置1 15006が、LAG1 15015向けにレイヤ2フレームを送信する動作と、の組み合わせにより、図16aに示す、中継装置1 16006と、中継装置2 16007と、の間のLAG1 16015を経由した、双方向の端末間通信動作となる。端末1 16001と、端末2 16002と、の間のフロー16016と、フロー16018と、はLAG1 16015内の回線2 16009を使用して通信を行い、端末1 16001と、端末4 16004と、の間のフロー16017と、フロー16019と、はLAG1 16015内の回線3 16010を使用して通信を行うことを保証できる。以上が、複数の物理回線を束ねた仮想回線内の同じ物理回線を用いて双方向通信を行うレイヤ2フレーム中継動作となる。   The relay apparatus 1 14006 shown in FIG. 16a is configured by combining the above-described operation in which the relay apparatus 1 14006 receives a frame from the LAG1 14015 and the operation in which the relay apparatus 1 15006 transmits a layer 2 frame to the LAG1 15015. This is a bidirectional inter-terminal communication operation via LAG1 16015 between 16006 and the relay apparatus 2 16007. A flow 16016 and a flow 16018 between the terminal 1 16001 and the terminal 2 16002 communicate using the line 2 16009 in the LAG1 16015, and between the terminal 1 16001 and the terminal 4 16004 It can be guaranteed that the flow 16017 and the flow 16019 communicate using the line 3 16010 in the LAG1 16015. The above is the layer 2 frame relay operation in which bidirectional communication is performed using the same physical line in a virtual line obtained by bundling a plurality of physical lines.

(縮退)
次に、複数の物理回線を束ねた仮想回線内の同じ物理回線を用いて双方向通信を行うレイヤ2フレーム中継動作時、LAGを構成する一部の物理回線が障害等により使用できなくなった場合の、レイヤ2フレーム中継動作について、図16aからの通信フロー状態の遷移に着目し、図17a〜図17cと、図18a〜図18cと、図19a〜図19cと、図20a〜図20cと、を用いて説明する。図16a中の回線2 16009を使用するフロー16016と、フロー16018と、は、回線3 16010のダウンの影響をまったく受けず、通信フローの状態も変化しないため、以降の説明を省略する。
(Degeneration)
Next, when a layer 2 frame relay operation that performs bidirectional communication using the same physical line in a virtual line that bundles multiple physical lines, some physical lines that make up the LAG cannot be used due to a failure, etc. In the layer 2 frame relay operation, focusing on the transition of the communication flow state from FIG. 16a, FIGS. 17a to 17c, FIGS. 18a to 18c, FIGS. 19a to 19c, and FIGS. 20a to 20c Will be described. The flow 16016 and the flow 16018 using the line 2 16009 in FIG. 16a are not affected at all by the down of the line 3 16010, and the state of the communication flow is not changed.

まず、回線3 16010の断が発生した場合の通信フローの状態を、図17aに示す。回線3 17010が使用できなくなっているため、回線3 17010を使用するフロー17016と、フロー17017と、の通信が停止する。このときのLAテーブル17018の状態を図17bに、LA受信状態保持テーブル17022の状態を図17cに示す。図17aの時点では、中継装置1 17006では回線3 17010の使用不可を検出していないため、LAテーブル17018内の物理ポート状態17021に変化はない。   First, FIG. 17a shows the state of the communication flow when the line 3 16010 is disconnected. Since the line 3 17010 cannot be used, communication between the flow 17016 that uses the line 3 17010 and the flow 17017 stops. The state of the LA table 17018 at this time is shown in FIG. 17b, and the state of the LA reception state holding table 17022 is shown in FIG. 17c. At the time of FIG. 17a, since the relay device 1 17006 has not detected the unavailability of the line 3 17010, there is no change in the physical port state 17021 in the LA table 17018.

次に、中継装置1 18006にて回線3 18010の使用不可を検出した時の通信フローの状態を、図18aに示す。また、このときのLAテーブル18018の状態を図18bに、LA受信状態保持テーブル18022の状態を図18cに示す。中継装置1 18006が回線3 18010の使用不可を検出し、LAテーブル18018内の物理ポート3に対応する物理ポート状態18021が、Down状態に遷移する。LAテーブル18018内の物理ポート3に対応する物理ポート状態18021がDown状態に遷移することにより、図12bに示すLA制御部5005でのフレーム送信処理において、処理12008におけるLAテーブル18018内物理ポート情報18021がDownとなり、図6dに示すLA制御部5005でのフレーム送信処理により、ハッシュ計算部5006によってLAテーブル18018内物理ポート情報18021がUpとなっている物理ポートの中から、フレーム送信に使用する物理ポートを選択する。以上の処理により、フロー18016は、中継装置1 18006の回線3 18010からの送信が行われず、回線2 18009からの送信に変更される。   Next, FIG. 18A shows the state of the communication flow when the use of the line 3 18010 is detected by the relay apparatus 1 18006. In addition, the state of the LA table 18018 at this time is shown in FIG. 18b, and the state of the LA reception state holding table 18022 is shown in FIG. 18c. The relay apparatus 1 18006 detects that the line 3 18010 cannot be used, and the physical port state 18021 corresponding to the physical port 3 in the LA table 18018 transitions to the Down state. When the physical port state 18021 corresponding to the physical port 3 in the LA table 18018 transitions to the Down state, in the frame transmission processing in the LA control unit 5005 shown in FIG. 12B, physical port information 18021 in the LA table 18018 in the processing 12008. The physical used for frame transmission from the physical ports whose physical port information 18021 in the LA table 18018 is Up by the hash calculation unit 5006 by the frame transmission processing in the LA control unit 5005 shown in FIG. Select a port. Through the above processing, the flow 18016 is changed to transmission from the line 2 18009 without transmission from the line 3 18010 of the relay apparatus 1 18006.

次に、中継装置2 19007でも回線3 19010の使用不可を検出した時の通信フローの状態を、図19aに示す。また、このときのLAテーブル19018の状態を図19bに、LA受信状態保持テーブル19022の状態を図19cに示す。中継装置2 19007でも回線3 19010の使用不可を検出したため、フロー19017を回線3 19010からの送信を行わず、回線2 19009からの送信に変更される。このタイミングで、端末1 19001と、端末4 19004と、の間の双方向通信が回復する。   Next, FIG. 19A shows the state of the communication flow when the relay apparatus 2 19007 detects the unavailability of the line 3 19010. FIG. 19b shows the state of the LA table 19018 at this time, and FIG. 19c shows the state of the LA reception state holding table 19022. Since the relay device 2 19007 also detects the unavailability of the line 3 19010, the flow 19017 is not transmitted from the line 3 19010 but is changed to the transmission from the line 2 19209. At this timing, bidirectional communication between the terminal 1 19001 and the terminal 4 19004 is restored.

次に、中継装置1 20006が、回線2 20009からフロー20017を受信した後の通信フローの状態を、図20aに示す。また、このときのLAテーブル20018の状態を図20bに、LA受信情報保持テーブル20022の状態を図20cに示す。LAG1 20015側からフレームを受信したため、図12aに示すLA制御部5005でのフレーム受信処理が動作し、処理12003にてLA受信情報保持テーブル20022内の宛先MAC情報フィールド20025と、送信元MAC情報フィールド20026と、を持つフレームを受信したLAG内物理ポートが、受信ポート20024の情報と差異があることを検出する。このとき、該当のLA受信情報保持テーブル20022内の宛先MAC情報フィールド20025と、送信元MAC情報フィールド20026と、に対応付けられた受信ポート20024の情報を、新たにフレームを受信した物理ポート2 5009の情報に更新する。このことにより、図12bに示すLA制御部5005でのフレーム送信処理において、処理12008におけるLAテーブル20018内物理ポート情報20021がUpとなり、LA受信情報保持テーブル20022内の宛先MAC情報フィールド20025と、送信元MAC情報フィールド20026と、に対応づけられた受信ポート20024に記録された、物理ポート2を送信先ポートとして指定する。以上の処理により、ハッシュ計算部5006を使用することなく、回線3 20010を送信先ポートからの送信をとめることができる。よって、図20aに示す状態が、複数の物理回線を束ねた仮想回線内の同じ物理回線を用いて双方向通信を行うレイヤ2フレーム中継動作時、LAGを構成する一部の物理回線が障害等により使用できなくなった場合の、通信フローの安定状態となる。以上が、複数の物理回線を束ねた仮想回線内の同じ物理回線を用いて双方向通信を行うレイヤ2フレーム中継動作時、LAGを構成する一部の物理回線が障害等により使用できなくなった場合の、レイヤ2フレーム中継動作となる。   Next, the state of the communication flow after the relay apparatus 1 20006 receives the flow 20017 from the line 2 20009 is shown in FIG. 20a. In addition, the state of the LA table 20018 at this time is shown in FIG. 20b, and the state of the LA reception information holding table 20022 is shown in FIG. 20c. Since the frame has been received from the LAG1 20015 side, the frame reception process in the LA control unit 5005 shown in FIG. 12A is operated, and in the process 12003, the destination MAC information field 20025 in the LA reception information holding table 20022 and the source MAC information field It is detected that the intra-LAG physical port that has received the frame having 20026 is different from the information of the reception port 20022. At this time, the physical port 2 5009 that has newly received the frame from the information of the reception port 20022 associated with the destination MAC information field 20025 and the transmission source MAC information field 20026 in the corresponding LA reception information holding table 20022. Update to information. As a result, in the frame transmission process in the LA control unit 5005 shown in FIG. 12B, the physical port information 20021 in the LA table 20018 in the process 12008 is Up, and the destination MAC information field 20025 in the LA reception information holding table 20022 and the transmission The physical port 2 recorded in the receiving port 20024 associated with the original MAC information field 20026 is designated as the transmission destination port. Through the above processing, transmission of the line 3 20010 from the transmission destination port can be stopped without using the hash calculation unit 5006. Therefore, when the state shown in FIG. 20a is a layer 2 frame relay operation in which bidirectional communication is performed using the same physical line in a virtual line obtained by bundling a plurality of physical lines, some physical lines constituting the LAG are faulty. The communication flow becomes stable when it becomes unusable due to the above. The above is the case when some physical lines that make up the LAG cannot be used due to a failure, etc., during layer 2 frame relay operation that performs bidirectional communication using the same physical line in a virtual line that bundles multiple physical lines This is a layer 2 frame relay operation.

(復旧)
次に、前述の状態から、使用できなくなっていたLAGを構成する物理回線が、復旧した場合のレイヤ2フレーム中継動作について、通信フローの状態の遷移に着目し、図21a〜図21cと、図22a〜図22cと、を用いて説明する。
回線3 21010が復旧した直後の通信フローの状態を、図21aに示す。また、このときのLAテーブル21018の状態を図21bに、LA受信情報保持テーブル21022の状態を図21cに示す。中継装置1 21006と、中継装置2 21007と、が回線3 21010の復旧を検出し、LAテーブル21018内の物理ポート3に対応する物理ポート状態21021を、Upに遷移させる。この処理により、中継装置2 21007からLAG1 21015を経由し、中継装置1 21006に到達するフロー21017は、回線3 21010を使用する。
(Recovery)
Next, with regard to the layer 2 frame relay operation when the physical line constituting the LAG that has become unusable from the above state is recovered, paying attention to the transition of the state of the communication flow, FIGS. 21a to 21c and FIG. This will be described with reference to FIGS.
The state of the communication flow immediately after the line 3 21010 is restored is shown in FIG. 21a. Further, FIG. 21 b shows the state of the LA table 21018 at this time, and FIG. 21 c shows the state of the LA reception information holding table 21022. The relay device 1 21006 and the relay device 2 21007 detect the restoration of the line 3 21010, and shift the physical port state 21021 corresponding to the physical port 3 in the LA table 21018 to Up. With this processing, the flow 21017 that reaches the relay device 1 21006 via the LAG1 21015 from the relay device 2 21007 uses the line 3 21010.

次に、フロー21017にて、中継装置1 21006がフレームを受信した後の状態を、図22aに示す。また、このときのLAテーブル22018の状態を図22bに、LA受信情報保持テーブル22022の状態を図22cに示す。フロー22017にて、中継装置1 22006がフレームを受信し、その結果としてLA受信情報テーブル内の受信ポート情報22024が、物理ポート3の情報で更新される。結果として、中継装置1 22006からLAG1 22015を経由して中継装置2 22007に向かうフロー22016は、回線3 22010を使用して通信を継続する。   Next, the state after the relay apparatus 1 21006 receives the frame in the flow 21017 is shown in FIG. 22a. Further, the state of the LA table 22018 at this time is shown in FIG. 22b, and the state of the LA reception information holding table 22022 is shown in FIG. 22c. In the flow 22017, the relay apparatus 1 22006 receives the frame, and as a result, the reception port information 22024 in the LA reception information table is updated with the physical port 3 information. As a result, the flow 22016 from the relay device 1 22006 to the relay device 2 22007 via the LAG1 22015 continues communication using the line 3 22010.

以上が、使用できなくなっていたLAGを構成する物理回線が、復旧した場合のレイヤ2フレーム中継動作となる。以上のように、本実施の形態を適用した中継装置は、LAGによって接続された対向の中継装置の、LAG内の通信に使用する物理ポートの選択に従い、対向の中継装置が選択した、LAG内の通信に使用する物理ポートと直接接続されているLAG内物理ポートを使用して、通信を行うこととなる。
以上が、本発明を実施するための例となる。
The above is the layer 2 frame relay operation when the physical lines constituting the LAG that can no longer be used are restored. As described above, the relay apparatus to which the present embodiment is applied is the same in the LAG selected by the opposite relay apparatus according to the selection of the physical port used for communication in the LAG of the opposite relay apparatus connected by the LAG. Communication is performed using the physical port in the LAG that is directly connected to the physical port used for the communication.
The above is an example for carrying out the present invention.

4.LA受信情報保持テーブル

(削除)
次に、LA受信情報保持テーブル5012内に記録された情報を、LAG制御部又は他の制御部によりユーザの指示を受けずに削除する方法について説明する。
前述のとおり、LA受信情報保持テーブル5012内の情報は、LAGからのフレーム受信を契機として、動的に更新される。この更新されるタイミングで、図15cに示す、LA受信情報保持テーブル1522内の受信時タイマ15027は、一律0に更新される。その後、LA受信情報保持テーブル15022内の宛先MAC情報フィールド15025と、送信元MAC情報フィールド15026と、受信LA15023と、に一致するフレームを受信しない場合、対応する受信タイマ15027の情報は、毎秒増加していく。この受信タイマ15027の情報が一定の値に到達した場合、その到達した受信タイマ15027に対応するLA受信情報保持テーブル15022内の情報を削除する。以上が、LA受信情報保持テーブル5012内に記録された情報を、ユーザの指示を受けずに削除する方法となる。
4). LA reception information holding table

(Delete)
Next, a method for deleting information recorded in the LA reception information holding table 5012 without receiving a user instruction from the LAG control unit or another control unit will be described.
As described above, the information in the LA reception information holding table 5012 is dynamically updated when a frame is received from the LAG. At this update timing, the reception timer 15027 in the LA reception information holding table 1522 shown in FIG. 15c is uniformly updated to zero. Thereafter, when a frame that matches the destination MAC information field 15025, the source MAC information field 15026, and the reception LA 15023 in the LA reception information holding table 15022 is not received, the information of the corresponding reception timer 15027 increases every second. To go. When the information of the reception timer 15027 reaches a certain value, the information in the LA reception information holding table 15022 corresponding to the reached reception timer 15027 is deleted. The above is a method for deleting the information recorded in the LA reception information holding table 5012 without receiving a user instruction.

(表示)
次に、LA受信情報保持テーブル5012内に記録される情報を、LAG制御部又は他の制御部によりユーザに見える形で表示する方法について説明する。
LA受信情報保持テーブル5012内に記録される情報を、ユーザに見える形で表示することは、ユーザが中継装置にコマンドを入力して行う。ユーザが入力したコマンドは、コマンド処理部5003にて受け付けられ、装置制御部5002からLA制御部5005内のLA受信情報保持テーブル5012の情報を取得する。
(display)
Next, a method for displaying the information recorded in the LA reception information holding table 5012 in a form visible to the user by the LAG control unit or another control unit will be described.
The information recorded in the LA reception information holding table 5012 is displayed in a form visible to the user by the user inputting a command to the relay device. The command input by the user is received by the command processing unit 5003, and the information in the LA reception information holding table 5012 in the LA control unit 5005 is acquired from the device control unit 5002.

LA受信情報保持テーブル5012内に記録される情報を、ユーザに見える形で表示した例を、図23に示す。表示例23001のLAG ID23002と、Recv Port 23003と、Dest MAC 23004と、Src MAC 23005と、Recv Timer23006と、は、それぞれLA受信情報保持テーブル15022内の、受信LA 15023と、受信ポート15024と、宛先MAC情報フィールド15025と、送信元MAC情報フィールド15026と、受信時タイマ15027と、に対応する。以上が、LA受信情報保持テーブル5012内に記録される情報を、ユーザに見える形で表示する方法となる。   FIG. 23 shows an example in which information recorded in the LA reception information holding table 5012 is displayed in a form visible to the user. The LAG ID 23002, the Recv Port 23003, the Dest MAC 23004, the Src MAC 23005, and the Recv Timer 23006 in the display example 23001 are respectively the reception LA 15023, the reception port 15024, and the destination in the LA reception information holding table 15022. It corresponds to a MAC information field 15025, a source MAC information field 15026, and a reception timer 15027. The above is the method for displaying the information recorded in the LA reception information holding table 5012 in a form visible to the user.

5.変形例

続いて、変形例を説明する。
第1及び第2の実施の形態におけるLA受信情報保持テーブル5012内の宛先MAC情報フィールド15025と、送信元MAC情報フィールド15026と、に記録する情報は、フレーム内に保持されている、SMAC以外の送信元を示す情報と、DMAC以外の宛先を示す情報と、に置き換えてもよい。例として、図24に、第1の実施の形態に示したMACアドレス情報の代わりに、IP(Internet Protocol)アドレス情報を保持したLA受信情報保持テーブル24001の例を示す。この場合、送信元IPアドレス情報フィールド24004と、宛先IPアドレス情報フィールド24005と、に記録される情報を使用し、図12aにて示したLA制御部5005でのフレーム受信処理と、図12bにて示したLA制御部5005でのフレーム送信処理と、を行う。以上の処理により、複数の物理回線を束ねた仮想回線内の同じ物理回線を用いて双方向通信を行うフレーム中継動作を実現する。
以上が、第1及び第2の実施の形態(さらに、以下に説明する第3の実施の形態)の変形例となる。
5. Modified example

Subsequently, a modification will be described.
The information recorded in the destination MAC information field 15025 and the source MAC information field 15026 in the LA reception information holding table 5012 in the first and second embodiments is the information other than the SMAC held in the frame. Information indicating the transmission source and information indicating a destination other than the DMAC may be replaced. As an example, FIG. 24 shows an example of an LA reception information holding table 24001 that holds IP (Internet Protocol) address information instead of the MAC address information shown in the first embodiment. In this case, using the information recorded in the source IP address information field 24004 and the destination IP address information field 24005, the frame receiving process in the LA control unit 5005 shown in FIG. Frame transmission processing in the LA control unit 5005 shown is performed. With the above processing, a frame relay operation for performing bidirectional communication using the same physical line in a virtual line obtained by bundling a plurality of physical lines is realized.
The above is a modification of the first and second embodiments (further, the third embodiment described below).

6.第3の実施の形態

続いて、第3の実施の形態を説明する。
第1の実施の形態においてリンクアグリゲーションからフレームを受信時に記録する、LA受信情報保持テーブル5012の受信したフレームのSMACと、DMACと、フレームを受信したLAGと、フレームを受信したLAG内物理ポートと、の情報に代えて、ユーザが入力するコマンドによって設定される、SMACと、DMACと、それらに関連付けられるLAG内物理ポート情報と、を用い、第1の実施の形態にて示したフレームの中継動作を行ってもよい。
6). Third embodiment

Subsequently, a third embodiment will be described.
In the first embodiment, when receiving a frame from link aggregation, the received frame SMAC of the LA reception information holding table 5012, the DMAC, the LAG that received the frame, and the physical port in the LAG that received the frame The SMAC, the DMAC, and the intra-LAG physical port information associated therewith, which are set by a command input by the user, are used instead of the information of, and the frame relay described in the first embodiment An operation may be performed.

SMACと、DMACと、それらに関連付けられるLAG内物理ポート情報と、をユーザが設定するためのコマンド例を、図25に示す。コマンド25003と、コマンド25004と、はリンクアグリゲーショングループに属するポートを指定する。
コマンド25005は、リンクアグリゲーショングループ内の特定の物理ポートを使用してフレームの送信を行うため、SMACと、DMACと、LAG内物理ポートと、を指定する。コマンド25005によって設定したSMACと、DMACと、LAG内物理ポートと、を記録する、LA受信情報保持テーブル27022を図27cに示す。LA受信情報保持テーブル5012に、記録された情報がフレームの受信によって行われたか、あるいはコマンド25005によって行われたかを判別するためのTypeフィールド27027を追加する。本実施の形態では、Typeフィールド27027にDynamicと記録されていると、該当する情報がフレームの受信を契機として記録されたことを示すこととし、Staticと記録されていると、該当する情報がコマンド25005によって設定されたことを示すこととする。以上が、SMACと、DMACと、それらに関連付けられるLAG内物理ポート情報と、をユーザが設定するためのコマンド例となる。
次に、ユーザが入力するコマンドによって設定される、SMACと、DMACと、それらに関連付けられるLAG内物理ポート情報と、を用いた場合のフレーム中継処理を、図26のフローチャートと、図27a〜cと、を用いて説明する。
FIG. 25 shows an example of a command for the user to set SMAC, DMAC, and intra-LAG physical port information associated therewith. A command 25003 and a command 25004 specify ports belonging to a link aggregation group.
The command 25005 designates the SMAC, the DMAC, and the physical port in the LAG in order to transmit a frame using a specific physical port in the link aggregation group. FIG. 27C shows an LA reception information holding table 27002 that records the SMAC, the DMAC, and the physical port in the LAG set by the command 25005. A Type field 27027 is added to the LA reception information holding table 5012 to determine whether the recorded information has been received by receiving a frame or by a command 25005. In the present embodiment, when “Dynamic” is recorded in the Type field 27027, it indicates that the corresponding information is recorded when the frame is received, and when “Static” is recorded, the corresponding information is a command. It is assumed that it is set by 25005. The above is an example of a command for the user to set SMAC, DMAC, and intra-LAG physical port information associated therewith.
Next, a frame relay process using the SMAC, the DMAC, and the intra-LAG physical port information associated with them, set by a command input by the user, will be described with reference to the flowchart of FIG. 26 and FIGS. And will be described.

LA受信情報保持テーブル27022内にTypeフィールド27027を追加することで、データの設定がフレームの受信によって行われたか、あるいはユーザの入力する設定コマンドによって行われたかの区別を行う。データの設定がフレームの受信によって行われた場合、Typeフィールド27027にはDynamicと記録する。また、ユーザの入力する設定コマンドによって行われた場合、Typeフィールド27027にはStaticと記録する。このときのLA受信情報保持テーブル27022の例を、図27cに示す。   By adding a Type field 27027 in the LA reception information holding table 27022, it is discriminated whether the data setting is performed by receiving a frame or by a setting command input by the user. When the data is set by receiving a frame, “Dynamic” is recorded in the Type field 27027. Further, when the setting command is input by the user, “Static” is recorded in the Type field 27027. An example of the LA reception information holding table 27022 at this time is shown in FIG.

(受信処理等)
LA受信状態保持テーブル27022を使用し、通信に使用するリンクアグリゲーション内の物理回線を指定した時の中継装置内部の処理は、物理ポート制御部5007でのフレーム受信処理と、スイッチング制御部5004処理と、LA制御部5005でのフレーム送信処理と、物理ポート制御部5007でのフレーム送信処理と、は前述の図6aと、図6eと、図6dと、図6bと、それぞれ同一となり、LA制御部5005でのフレーム受信処理のみが異なる。そのため、ここではLA制御部5005でのフレーム受信処理に着目して説明する。
(Reception processing, etc.)
The processing in the relay device when the LA reception state holding table 27022 is used and the physical line in the link aggregation used for communication is designated includes frame reception processing in the physical port control unit 5007, switching control unit 5004 processing, The frame transmission processing in the LA control unit 5005 and the frame transmission processing in the physical port control unit 5007 are the same as those in FIGS. 6a, 6e, 6d, and 6b, respectively. Only the frame reception process in 5005 is different. Therefore, here, the description will be given focusing on the frame reception process in the LA control unit 5005.

図6aに示すLA制御部5005のフレーム受信処理のフローチャートを、図26に示す。中継装置がフレームを受信すると、図6aに示す物理ポート制御部5007でのフレーム受信処理を行い、フレームと、フレームを受信した物理ポート情報と、をLA制御部5005に転送する。LA制御部5005では、受信したフレームのSMACと、DMACと、を元に、LA受信情報保持テーブル27022内に一致する情報が存在するかの検索を行う(26001)。一致する情報がない場合、受信したフレームのSMACと、DMACと、フレームを受信したLAGと、フレームを受信したLAG内物理ポートと、をLA受信情報保持テーブル27022に新規に記録する。このとき、Typeフィールド27027にはDynamicを、受信時タイマフィールド27028には、0を記録する(26003)。一致した情報が存在する場合、続いてその一致した情報の、Typeフィールド27027を照合する(26002)。TypeがStaticであれば、LA受信情報保持テーブルの情報を更新せず、スイッチング制御部5004にフレームと、フレームを受信したLAG又は受信元ポートを表す受信元情報と、を転送する(26007)。TypeがDynamicであれば、前述のLA制御部5005でのフレーム受信処理と、同等の処理を行う。図26の処理26004以降の処理は、図12aの処理12003以降の処理と、同一となる。以上が、LA受信情報保持テーブル5012の受信したフレームの宛先MAC情報フィールドと、送信元MAC情報フィールドと、フレームを受信したLAGと、フレームを受信したLAG内物理ポートと、の情報をユーザが入力するコマンドによって記録した場合のフレーム中継処理となる。   FIG. 26 shows a flowchart of frame reception processing of the LA control unit 5005 shown in FIG. 6a. When the relay apparatus receives the frame, the physical port control unit 5007 shown in FIG. 6A performs frame reception processing, and transfers the frame and the physical port information that received the frame to the LA control unit 5005. The LA control unit 5005 searches for matching information in the LA reception information holding table 27002 based on the SMAC and DMAC of the received frame (26001). If there is no matching information, the SMAC of the received frame, the DMAC, the LAG that received the frame, and the physical port in the LAG that received the frame are newly recorded in the LA reception information holding table 27022. At this time, Dynamic is recorded in the Type field 27027, and 0 is recorded in the reception timer field 27028 (26003). If there is matching information, the Type field 27027 of the matching information is checked (26002). If Type is Static, the information in the LA reception information holding table is not updated, and the frame and the reception source information indicating the LAG or reception source port that received the frame are transferred to the switching control unit 5004 (26007). If Type is Dynamic, a process equivalent to the frame reception process in LA controller 5005 described above is performed. The process after process 26004 in FIG. 26 is the same as the process after process 12003 in FIG. 12a. As described above, the user inputs information on the destination MAC information field of the received frame, the source MAC information field, the LAG that received the frame, and the physical port in the LAG that received the frame in the LA received information holding table 5012 Frame relay processing when recording is performed by a command to be performed.

(縮退)
次に、LA受信情報保持テーブル5012の受信したフレームのSMACと、DMACと、フレームを受信したLAGと、フレームを受信したLAG内物理ポートと、の情報をユーザが入力するコマンドによって記録した場合に、リンクアグリゲーショングループ内の一部の物理回線が使用できなくなった場合の動作について説明する。リンクアグリゲーショングループ内の一部の物理回線が使用できなくなった場合の通信フローを図27aに、そのときのLAテーブル27018を図27bに、それぞれ示す。LA受信情報保持テーブル27022には、端末1MACと、端末4MACと、は物理ポート3に関連づけられている。しかし、物理ポート3はLAテーブル27018では物理ポート状態27021がDownとなっているため、フレームの送信先として物理ポート3を使用することはできない。このため、図6dに示すLA制御部5005でのフレーム送信処理を行い、物理ポート状態27021がUpとなっている物理ポートから、フレーム送信に使用するポートを決定し、フレームを送信する。第1又は第2の実施の形態に示した場合では、中継装置2 27007側から回線2 27009を使用してフレームを受信することで、LA受信情報保持テーブル27022の情報を更新したが、Typeフィールド27027に記録されている情報がStaticのため、情報の更新は行わない。この場合、LA受信情報保持テーブル27022によるフレームの送信に使用するポートの決定が行えないため、図6dに示すLA制御部5005でのフレーム送信処理によって、フレームの送信に使用する物理ポートを決定する。以上が、ユーザが入力するコマンドによって設定される、SMACと、DMACと、それらに関連付けられるLAG内物理ポート情報と、を用いた場合の動作となる。
(Degeneration)
Next, when the information of the SMAC of the received frame, the DMAC, the LAG that received the frame, and the physical port in the LAG that received the frame is recorded by a command input by the user in the LA reception information holding table 5012 The operation when some physical lines in the link aggregation group become unusable will be described. FIG. 27a shows the communication flow when some physical lines in the link aggregation group can no longer be used, and FIG. 27b shows the LA table 27018 at that time. In the LA reception information holding table 27022, the terminal 1 MAC and the terminal 4 MAC are associated with the physical port 3. However, physical port 3 cannot use physical port 3 as a frame transmission destination because physical port state 27021 is Down in LA table 27018. Therefore, a frame transmission process is performed in the LA control unit 5005 shown in FIG. 6d, a port used for frame transmission is determined from the physical ports whose physical port state 27021 is Up, and the frame is transmitted. In the case shown in the first or second embodiment, the information in the LA reception information holding table 27002 is updated by receiving the frame from the relay device 2 27007 using the line 2 27007. However, the Type field Since the information recorded in 27027 is Static, the information is not updated. In this case, since the port used for frame transmission cannot be determined by the LA reception information holding table 27022, the physical port used for frame transmission is determined by the frame transmission processing in the LA control unit 5005 shown in FIG. 6d. . The above is the operation when the SMAC, the DMAC, and the intra-LAG physical port information associated therewith set by the command input by the user are used.

(復旧)
前述の状態から、使用できなくなっていたLAGを構成する物理回線が、復旧した場合のレイヤ2フレーム中継動作については、第1の実施の形態に記載の動作と同様の動作にて行う。
以上が、第3の実施の形態となる。
(Recovery)
From the above state, the layer 2 frame relay operation when the physical line constituting the LAG that has become unusable is restored is the same as the operation described in the first embodiment.
The above is the third embodiment.

本発明は、IEEEで規定されているリンクアグリゲーション以外に、現在及び将来規定されるリンクアグリゲーションと同等な規定に適用することができる。
また、以上の説明では主にMACについて記載したが、本発明は、これに限らず適宜のアドレス情報を用いる場合に適用することができる。
The present invention can be applied to rules equivalent to link aggregation defined in the present and future, in addition to link aggregation defined in IEEE.
In the above description, MAC is mainly described. However, the present invention is not limited to this, and can be applied to the case where appropriate address information is used.

1001〜1005、2001〜2005、3001〜3005、4001〜4005、7001〜7005、8001〜8005、9001〜9005、10001〜10005、11001〜11005、13001〜13005、14001〜14005、15001〜15005、16001〜16005、17001〜17005、18001〜18005、19001〜19005、20001〜20005、21001〜21005、22001〜22005、27001〜27005 通信端末1〜5
1006〜1007、2006〜2007、3006〜3007、4006〜4007、7006〜7007、8006〜8007、9006〜9007、10006〜10007、11006〜11007、13006〜13007、14006〜14007、15006〜15007、16006〜16007、17006〜17007、18006〜18007、19006〜19007、20006〜20007、21006〜21007、22006〜22007、27006〜27007 中継装置1〜2
1008〜1014、2008〜2014、3008〜3014、4008〜4014、7008〜7014、8008〜8014、9008〜9014、10008〜10014、11008〜11014、13008〜13014 物理回線1〜7
1015、2015、3015、4015、7015、8015、9015、10015、11015、13015、14015、15015、16015、17015、18015、19015、20015、21015、22015、27015 リンクアグリゲーショングループ1
1016、2016、8016、9016、10016、11016、14016、16018 通信端末2から通信端末1への通信フロー
1017、8017、9017、10018、11017、15016、16016 通信端末1から通信端末2への通信フロー
1018、2017 通信端末3から通信端末1への通信フロー
1019 通信端末1から通信端末3への通信フロー
1020、2018、8019、10019、11019、15017、16017、17016、18016、19016、20016、21016、22016、27016 通信端末1から通信端末4への通信フロー
1021、2019、8018、9018、10017、11018、14017、16019、17017、18017、19017、20017、21017、22017、27017 通信端末4から通信端末1への通信フロー
1022、2020、8019、9019 通信端末1から通信端末5への通信フロー
1023、2021 通信端末5から通信端末1への通信フロー
2022 通信端末1から通信端末2または通信端末3への通信フロー
3016、4016 通信端末1と通信端末2との間の通信フロー
3017、4017 通信端末1と通信端末3との間の通信フロー
3018、4018 通信端末1と通信端末4との間の通信フロー
3019、4019 通信端末1と通信端末5との間の通信フロー
5001 中継装置
5002 装置制御部
5003 コマンド制御部
5004 スイッチング制御部
5005 LA制御部
5006 ハッシュ計算部
5007 物理ポート制御部
5008、5009、5010 物理ポート
5011 経路情報保持テーブル
5012、13020、14022、15022、16024、17022、18022、19022、20022、21022、22022、27022、24001 LA受信情報保持テーブル
5023、7016、8020、9020、10020、11020、13016、14018、15018、16020、17018、18018、19018、20018、21018、22018、27018 LAテーブル
5014〜16 物理回線
7017、8021、9021、10021、11021、13017、14019、15019、16021、17019、18019、19019、20019、21019、22019、27019 LAGフィールド
7018、8022、9022、10022、11022、13018、14020、15020、16022、17020、18020、19020、20020、21020、22020、27020 LAG内物理ポートフィールド
7019、8023、9023、10023、11023、13019、14021、15021、16023、17021、18021、19021、20021、21021、22021、27021 物理ポート状態フィールド
13021、14023、15023、16025、17023、18023、19023、20023、21023、22023、27023、24002 受信LAフィールド
13022、14024、15024、16026、17024、18024、19024、20024、21024、22024、27024、24003 受信ポートフィールド
13023、14025、14025、16027、17025、18025、19025、20025、21025、22025、27025 宛先MACフィールド
13024、14026、15026、16028、17026、18026、19026、20026、21026、22026、27026 送信元MACフィールド
13025、14027、15027、16029、17027、18027、19027、20027、21027、22027、27027、24006 受信時タイマフィールド
23001 表示例
24004 宛先IP情報フィールド
24005 送信元IP情報フィールド
25001 設定コマンド例
28001 経路情報保持テーブル
28002 受信元情報フィールド
28003 MAC情報フィールド
1001 to 1005, 2001 to 2005, 3001 to 3005, 4001 to 4005, 7001 to 7005, 8001 to 8005, 9001 to 9005, 10001 to 10005, 11001 to 11005, 13101 to 13005, 14101 to 14005, 15001 to 15005, 16001 16005, 17001 to 17005, 18001 to 18005, 19001 to 19005, 20001 to 20005, 21001 to 21005, 22001 to 2005, 27001 to 27005, communication terminals 1 to 5
1006 to 1007, 2006 to 2007, 3006 to 3007, 4006 to 4007, 7006 to 7007, 8006 to 8007, 9006 to 9007, 10006 to 10007, 11006 to 11007, 13006 to 13007, 14006 to 14007, 15006 to 15007, 16006 to 16007, 17006-17007, 18006-18007, 19006-19007, 20006-20007, 21006-21007, 22006-22007, 27006-27007, repeaters 1-2
1008 to 1014, 2008 to 2014, 3008 to 3014, 4008 to 4014, 7008 to 7014, 8008 to 8014, 9008 to 9014, 10008 to 10014, 11008 to 11014, 13008 to 13014 Physical lines 1 to 7
1015, 2015, 3015, 4015, 7015, 8015, 9015, 10015, 11015, 13015, 14015, 15015, 16015, 17015, 18015, 19015, 20015, 21015, 22015, 27015 Link aggregation group 1
1016, 2016, 8016, 9016, 10016, 11016, 14016, 16018 Communication flow from communication terminal 2 to communication terminal 1 1017, 8017, 9017, 10018, 11017, 15016, 16016 Communication flow from communication terminal 1 to communication terminal 2 1018, 2017 Communication flow from communication terminal 3 to communication terminal 1019 Communication flow from communication terminal 1 to communication terminal 3 1020, 2018, 8019, 10019, 11019, 15017, 16017, 17016, 18016, 19016, 20016, 21016, 22016, 27016 Communication flow from communication terminal 1 to communication terminal 4 1021, 2019, 8018, 9018, 10017, 11018, 14017, 16019, 17017, 18017, 19017, 0017, 21017, 22017, 27017 Communication flow from communication terminal 4 to communication terminal 1 1022, 2020, 8019, 9019 Communication flow from communication terminal 1 to communication terminal 5 1023, 2021 Communication flow from communication terminal 5 to communication terminal 1 2022 Communication flow 3016, 4016 from communication terminal 1 to communication terminal 2 or communication terminal 3 Communication flow 3017, 4017 between communication terminal 1 and communication terminal 2 Communication flow 3018 between communication terminal 1 and communication terminal 3, 4018 Communication flow between communication terminal 1 and communication terminal 3019, 4019 Communication flow between communication terminal 1 and communication terminal 5 Relay device 5002 Device control unit 5003 Command control unit 5004 Switching control unit 5005 LA control unit 5006 Hash calculation unit 5007 Physical port control unit 5 008, 5009, 5010 Physical port 5011 Path information holding table 5012, 13020, 14022, 15022, 16024, 17022, 18022, 19022, 220022, 21022, 22022, 27002, 24001 LA reception information holding tables 5023, 7016, 8020, 9020, 10020, 11020, 13016, 14018, 15018, 16020, 17018, 18018, 19018, 20018, 21018, 22018, 27018 LA table 5014-16 Physical lines 7017, 8021, 9021, 10021, 11021, 13017, 14019, 15019, 16021, 17019, 18019, 19019, 20019, 21019, 22019, 27019 LAG Field 7019, 8022, 9022, 100022, 11022, 13018, 14020, 15020, 16022, 17020, 18020, 19020, 20020, 21020, 22020, 27020 LAG physical port fields 7019, 8023, 9023, 10023, 11023, 13019, 14021 15021, 16023, 17021, 18021, 19021, 20021, 21021, 2221, 27021 Physical port status field 13021, 14023, 15023, 16025, 17023, 18023, 19023, 20023, 21023, 22023, 27003, 24002 Received LA field 13022, 14024, 15024, 16026, 17024, 18024, 190 4, 22014, 21024, 22024, 27024, 24003 Receive port fields 13023, 14025, 14025, 16027, 17025, 18025, 19025, 20025, 21025, 22025, 27025 Destination MAC fields 13024, 14026, 15026, 16028, 17026, 18026, 19026, 20026, 21026, 22026, 27026 Source MAC field 13025, 14027, 15027, 16029, 17027, 18027, 19027, 20027, 21027, 22027, 27027, 24006 Reception time field 23001 Display example 24004 Destination IP information field 24005 Transmission Original IP information field 25001 Setting command example 280 1 route information holding table 28002 received source information field 28003 MAC information field

Claims (10)

リンクアグリゲーショングループ(LAG)と、そのLAGに束ねられるLAG内物理ポートと、LAG内物理ポートのポート状態を示す物理ポート状態と、の関連を記憶するリンクアグリゲーション(LA)テーブルと、
受信したフレームの受信元情報と、アドレス情報と、の関連を記憶する経路情報保持テーブルと、
フレームの受信処理及び送信処理を行うためのLA制御部と、
前記LA制御部からフレームを受け、スイッチング制御を行うためのスイッチング制御部と、
を備え、

(1)前記LA制御部は、
フレームと受信元物理ポートを受け、受け取った受信元物理ポートを、前記LAテーブル内のLAG内物理ポートと照合し、
受信元物理ポートを束ねるLAGが存在する場合、受信元情報に該LAGを設定し、一方、受信元物理ポートを束ねるLAGが存在しない場合、受信元情報に前記受信元物理ポートを設定し、
前記フレーム及び前記受信元情報を、前記スイッチング制御部に転送し、
(2)前記スイッチング制御部は、
前記LA制御部から転送された受信元情報及び前記フレーム内の送信元アドレスを、経路情報保持テーブルに記録し、
経路情報保持テーブルを検索し、前記フレーム内の宛先アドレスと一致するアドレス情報がある場合、それに対応する受信元情報を送信先情報として指定し、一方、一致するアドレス情報がない場合、フレームを受信したポート以外の複数のポートを送信先情報として指定し、
前記フレーム及び送信先情報を、前記LA制御部に転送し、
(3)前記LA制御部は、
前記LAテーブルを参照し、前記スイッチング制御部から受け取った前記送信先情報の示すLAG又はひとつ又は複数のポートに該当するひとつ又は複数のLAG内物理ポートに、物理ポート状態が使用可のポートが存在するかどうかを検索し、
該LAG内物理ポートのひとつ又は複数に物理ポート状態が使用可のポートがある場合、該LAG内物理ポートの中からフレームの送信に使用する送信先ポートを決定して、前記フレームと及び前記送信先ポートを転送し、
一方、物理ポート状態が使用可であるLAG内物理ポートが存在しない場合、該フレームを廃棄する
ことを特徴とする中継装置。
A link aggregation group (LAG), a link aggregation (LA) table for storing associations between physical ports in the LAG bundled in the LAG, and physical port states indicating the port states of the physical ports in the LAG;
A path information holding table for storing the relationship between the reception source information of the received frame and the address information;
An LA control unit for performing frame reception processing and transmission processing;
A switching control unit for receiving a frame from the LA control unit and performing switching control;
With

(1) The LA control unit
Receiving the frame and the source physical port, comparing the received source physical port with the physical port in the LAG in the LA table;
If there is a LAG that bundles the receiving physical ports, set the LAG in the receiving source information, while if there is no LAG that bundles the receiving physical ports, set the receiving physical port in the receiving information,
Transferring the frame and the source information to the switching control unit;
(2) The switching control unit
Record the source information transferred from the LA control unit and the source address in the frame in the path information holding table,
Search the routing information holding table and if there is address information that matches the destination address in the frame, specify the corresponding source information as the destination information, while if there is no matching address information, receive the frame Specify multiple ports other than the specified port as destination information,
Transfer the frame and destination information to the LA control unit,
(3) The LA control unit
There is a port whose physical port state is usable in one or more physical ports in the LAG corresponding to the LAG indicated by the transmission destination information received from the switching control unit or one or more ports with reference to the LA table. Search whether or not
When one or more of the physical ports in the LAG have a port whose physical port state is usable, a transmission destination port used for frame transmission is determined from the physical ports in the LAG, and the frame and the transmission Forward the destination port,
On the other hand, when there is no intra-LAG physical port whose physical port state is usable, the relay apparatus is characterized by discarding the frame.
請求項1に記載の中継装置において、
さらに、前記LA制御部とフレームを送受信して、ひとつ又は複数の物理ポートからフレームを受信し、ひとつ又は複数の物理ポートへフレームを送信する物理ポート制御部を備え、
フレームを受けた前記物理ポート制御部は、フレームと受信元物理ポートとを前記LA制御部に転送し、
前記LA制御部からフレームと送信先ポートとを受けた前記物理ポート制御部は、受け取った送信元ポートに該当する物理ポートにフレームを転送する
ことを特徴とする中継装置。
The relay device according to claim 1,
And a physical port control unit that transmits and receives frames to and from the LA control unit, receives frames from one or more physical ports, and transmits frames to one or more physical ports,
The physical port control unit that has received the frame transfers the frame and the source physical port to the LA control unit,
The relay device, wherein the physical port control unit that receives the frame and the transmission destination port from the LA control unit transfers the frame to a physical port corresponding to the received transmission source port.
請求項1又は2に記載の中継装置において、
前記LA制御部は、複数の物理ポートに接続される複数の回線の状態を監視し、前記LAテーブルの物理ポート状態に記憶された複数の回線の使用可若しくは使用不可、又は、正常若しくは障害若しくは復旧に関する状態を記憶することを特徴とする中継装置。
In the relay device according to claim 1 or 2,
The LA control unit monitors a state of a plurality of lines connected to a plurality of physical ports, and the plurality of lines stored in the physical port state of the LA table are usable or unusable, or normal or faulty or A relay device that stores a state related to recovery.
リンクアグリゲーショングループ(LAG)と、そのLAGに束ねられるLAG内物理ポートと、LAG内物理ポートのポート状態を示す物理ポート状態と、の関連を記憶するリンクアグリゲーション(LA)テーブルと、
受信したフレームの受信元情報と、アドレス情報と、の関連を記憶する経路情報保持テーブルと、
フレームの受信LAG又は受信ポートを表す受信LAG/ポートと、フレームを受信したLAG内物理ポートと、フレームの宛先アドレス及び送信元アドレスと、を関連して記憶するLA受信情報保持テーブルと、
フレームの受信処理及び送信処理を行うためのLA制御部と、
前記LA制御部からフレームを受け、スイッチング制御を行うための前記スイッチング制御部と、
を備え、

(1)前記LA制御部は、
受信したフレームの送信元アドレス及び宛先アドレスを元に、前記LA受信情報保持テーブル内に一致する情報が存在するかを検索し、
一致する情報がない場合、フレームの受信LAGと、フレームを受信したLAG内物理ポートと、受信したフレームの送信元アドレス及び宛先アドレスと、を前記LA受信情報保持テーブルに新規に記録し、
一方、一致する情報が存在する場合、さらに、受信LAG及びLAG内物理ポートを元に、前記LA受信情報保持テーブル内に一致する情報があるかどうかを判定し、
一致する情報がない場合、受信したフレームの宛先アドレス及び送信元アドレスに一致する情報の受信LAG及びLAG内物理ポートを更新し、
前記フレームと、フレームの受信LAG又は受信ポートを表す受信元情報と、を前記スイッチング制御部に転送し、

(2)前記スイッチング制御部は、
前記LA制御部から転送された受信元情報及び前記フレーム内の送信元アドレスを、前記経路情報保持テーブルに記録し、
経路情報保持テーブルを検索し、前記フレーム内の宛先アドレスと一致するアドレス情報がある場合、それに対応する受信元情報を送信先情報として指定し、一方、一致するアドレス情報がない場合、フレームを受信したポート以外の複数のポートを送信先情報として指定し、
前記フレーム及び送信先情報を、前記LA制御部に転送し、

(3)前記LA制御部は、
前記スイッチング制御部から転送された前記フレームと送信先情報とを受信し、
前記LA受信情報保持テーブル内に、転送されたフレームの送信元アドレス及び宛先アドレス及び送信先情報と、送信元アドレス及び宛先アドレス及び受信LAG/ポートが一致する情報があるかどうか検索し、
一致する情報がある場合、該情報に関連付けられたLAG内物理ポートを元に前記LAテーブルを照合し、該LAG内物理ポートの物理ポート状態の情報が使用可となっているかの判定を行い、
対応する物理ポート状態の情報が使用可となっていれば、該LAG内物理ポートをフレームの送信先ポートとして指定し、前記フレームとともに転送し、
一方、前記LA受信情報保持テーブル内に送信元アドレス及び宛先アドレス及び受信LAG/ポートが一致する情報がない場合、もしくは、一致した情報があってもそのLAG内物理ポートの物理ポート状態の情報が使用不可の場合、
前記LA制御部は、
前記LAテーブルを参照し、前記スイッチング制御部から受け取った前記送信先情報の示すLAG又はひとつ又は複数のポートに該当するひとつ又は複数のLAG内物理ポートに、物理ポート状態が使用可のポートが存在するかどうかを検索し、
該LAG内物理ポートのひとつ又は複数に物理ポート状態が使用可のポートがある場合、該LAG内物理ポートの中からフレームの送信に使用する送信先ポートを決定して、前記フレームと及び前記送信先ポートを転送し、
一方、物理ポート状態が使用可であるLAG内物理ポートが存在しない場合、該フレームを廃棄する
中継装置。
A link aggregation group (LAG), a link aggregation (LA) table for storing associations between physical ports in the LAG bundled in the LAG, and physical port states indicating the port states of the physical ports in the LAG;
A path information holding table for storing the relationship between the reception source information of the received frame and the address information;
LA reception information holding table for storing the reception LAG / port representing the reception LAG or reception port of the frame, the physical port in the LAG that received the frame, the destination address and the transmission source address of the frame,
An LA control unit for performing frame reception processing and transmission processing;
The switching control unit for receiving a frame from the LA control unit and performing switching control;
With

(1) The LA control unit
Based on the source address and destination address of the received frame, it is searched whether there is matching information in the LA reception information holding table,
If there is no matching information, the reception LAG of the frame, the physical port in the LAG that received the frame, and the transmission source address and destination address of the received frame are newly recorded in the LA reception information holding table,
On the other hand, if there is matching information, further determine whether there is matching information in the LA reception information holding table based on the reception LAG and the physical port in the LAG,
If there is no matching information, update the received LAG and physical port in the LAG for the information that matches the destination address and source address of the received frame,
Transfer the frame and the reception source information indicating the reception LAG or reception port of the frame to the switching control unit,

(2) The switching control unit
The source information transferred from the LA control unit and the source address in the frame are recorded in the path information holding table,
Search the routing information holding table and if there is address information that matches the destination address in the frame, specify the corresponding source information as the destination information, while if there is no matching address information, receive the frame Specify multiple ports other than the specified port as destination information,
Transfer the frame and destination information to the LA control unit,

(3) The LA control unit
Receiving the frame and destination information transferred from the switching control unit;
In the LA reception information holding table, search whether there is information in which the source address and destination address and destination information of the transferred frame match the source address and destination address and the received LAG / port,
If there is matching information, the LA table is checked based on the physical port in the LAG associated with the information, and it is determined whether the physical port state information of the physical port in the LAG is usable.
If the corresponding physical port status information is usable, the physical port in the LAG is designated as a frame destination port, and is transferred together with the frame.
On the other hand, when there is no information in the LA reception information holding table that matches the transmission source address, the destination address, and the reception LAG / port, or even if there is matching information, the physical port status information of the physical port in the LAG If not available,
The LA controller is
There is a port whose physical port state is usable in one or more physical ports in the LAG corresponding to the LAG indicated by the transmission destination information received from the switching control unit or one or more ports with reference to the LA table. Search whether or not
When one or more of the physical ports in the LAG have a port whose physical port state is usable, a transmission destination port used for frame transmission is determined from the physical ports in the LAG, and the frame and the transmission Forward the destination port,
On the other hand, when there is no physical port in the LAG whose physical port state is usable, the relay device discards the frame.
請求項4に記載の中継装置において、
前記LA受信情報保持テーブルには、各エントリに、さらに、フレームを受信してからの時間を表す受信時タイマとを関連して含み、
さらに、前記LA制御部は、受信したフレームを処理するとき、前記LA受信情報保持テーブルにおける、受信したフレームの宛先アドレス及び送信元アドレスに一致する情報の受信タイマを0に記録又はクリアし、
前記LA受信情報保持テーブルの受信タイマの情報が一定の値に到達した場合、その到達した受信タイマに対応する前記LA受信情報保持テーブル内の情報を削除する
ことを特徴とする中継装置。
The relay device according to claim 4,
In the LA reception information holding table, each entry further includes a reception timer indicating the time since the frame was received,
Further, when processing the received frame, the LA control unit records or clears a reception timer of information matching the destination address and the transmission source address of the received frame in the LA reception information holding table to 0,
When the information of the reception timer in the LA reception information holding table reaches a certain value, the relay apparatus deletes the information in the LA reception information holding table corresponding to the reached reception timer.
請求項4又は5に記載の中継装置において、
さらに、ユーザから入力されたコマンドを受けると、前記LA制御部内の前記LA受信情報保持テーブルの情報を取得し、表示部に表示する装置制御部を備えた
ことを特徴とする中継装置。
In the relay device according to claim 4 or 5,
The relay apparatus further includes an apparatus control unit that receives information from the LA reception information holding table in the LA control unit and displays the information on the display unit when a command input from a user is received.
請求項4乃至6のいずれかに記載の中継装置において、
前記LA受信情報保持テーブルは、記録された情報がフレームの受信によって行われたか、あるいはコマンドによって行われたかを判別するためのタイプをさらに含み、
前記LA制御部は、受信したフレームの送信元アドレス及び宛先アドレスを元に、前記LA受信情報保持テーブル内に一致する情報が存在するかを検索し、一致した情報が存在する場合、続いてその一致した情報のタイプがコマンドによって行われたことを示す場合、LA受信情報保持テーブルの情報を更新せず、前記スイッチング制御部に、フレームと、フレームを受信した受信元情報と、を転送することを特徴とする中継装置。
The relay device according to any one of claims 4 to 6,
The LA reception information holding table further includes a type for determining whether the recorded information is performed by receiving a frame or by a command,
The LA control unit searches whether there is matching information in the LA reception information holding table based on the transmission source address and the destination address of the received frame, and if there is matching information, When the type of matched information indicates that the command was performed, the frame and the reception source information that received the frame are transferred to the switching control unit without updating the information in the LA reception information holding table. A relay device characterized by
請求項1乃至7のいずれかに記載の中継装置において、
前記LA受信情報保持テーブル内の記録する送信元アドレス情報と宛先アドレス情報は、それぞれ、宛先MAC情報フィールドと、送信元MAC情報フィールドであることを特徴とする中継装置。
The relay device according to any one of claims 1 to 7,
The relay apparatus characterized in that the transmission source address information and the destination address information recorded in the LA reception information holding table are a destination MAC information field and a transmission source MAC information field, respectively.
リンクアグリゲーショングループ(LAG)と、そのLAGに束ねられるLAG内物理ポートと、LAG内物理ポートのポート状態を示す物理ポート状態と、の関連を記憶するリンクアグリゲーション(LA)テーブルと、
受信したフレームの受信元情報と、アドレス情報と、の関連を記憶する経路情報保持テーブルと、
フレームの受信処理及び送信処理を行うためのLA制御部と、
前記LA制御部からフレームを受け、スイッチング制御を行うためのスイッチング制御部と、
を備えた中継装置における中継方法であって、

(1)前記LA制御部は、
フレームと受信元物理ポートを受け、受け取った受信元物理ポートを、前記LAテーブル内のLAG内物理ポートと照合し、
受信元物理ポートを束ねるLAGが存在する場合、受信元情報に該LAGを設定し、一方、受信元物理ポートを束ねるLAGが存在しない場合、受信元情報に前記受信元物理ポートを設定し、
前記フレーム及び前記受信元情報を、前記スイッチング制御部に転送し、
(2)前記スイッチング制御部は、
前記LA制御部から転送された受信元情報及び前記フレーム内の送信元アドレスを、経路情報保持テーブルに記録し、
経路情報保持テーブルを検索し、前記フレーム内の宛先アドレスと一致するアドレス情報がある場合、それに対応する受信元情報を送信先情報として指定し、一方、一致するアドレス情報がない場合、フレームを受信したポート以外の複数のポートを送信先情報として指定し、
前記フレーム及び送信先情報を、前記LA制御部に転送し、
(3)前記LA制御部は、
前記LAテーブルを参照し、前記スイッチング制御部から受け取った前記送信先情報の示すLAG又はひとつ又は複数のポートに該当するひとつ又は複数のLAG内物理ポートに、物理ポート状態が使用可のポートが存在するかどうかを検索し、
該LAG内物理ポートのひとつ又は複数に物理ポート状態が使用可のポートがある場合、該LAG内物理ポートの中からフレームの送信に使用する送信先ポートを決定して、前記フレームと及び前記送信先ポートを転送し、
一方、物理ポート状態が使用可であるLAG内物理ポートが存在しない場合、該フレームを廃棄する
ことを特徴とする中継方法。
A link aggregation group (LAG), a link aggregation (LA) table for storing associations between physical ports in the LAG bundled in the LAG, and physical port states indicating the port states of the physical ports in the LAG;
A path information holding table for storing the relationship between the reception source information of the received frame and the address information;
An LA control unit for performing frame reception processing and transmission processing;
A switching control unit for receiving a frame from the LA control unit and performing switching control;
A relay method in a relay device comprising:

(1) The LA control unit
Receiving the frame and the source physical port, comparing the received source physical port with the physical port in the LAG in the LA table;
If there is a LAG that bundles the receiving physical ports, set the LAG in the receiving source information, while if there is no LAG that bundles the receiving physical ports, set the receiving physical port in the receiving information,
Transferring the frame and the source information to the switching control unit;
(2) The switching control unit
Record the source information transferred from the LA control unit and the source address in the frame in the path information holding table,
Search the routing information holding table and if there is address information that matches the destination address in the frame, specify the corresponding source information as the destination information, while if there is no matching address information, receive the frame Specify multiple ports other than the specified port as destination information,
Transfer the frame and destination information to the LA control unit,
(3) The LA control unit
There is a port whose physical port state is usable in one or more physical ports in the LAG corresponding to the LAG indicated by the transmission destination information received from the switching control unit or one or more ports with reference to the LA table. Search whether or not
When one or more of the physical ports in the LAG have a port whose physical port state is usable, a transmission destination port used for frame transmission is determined from the physical ports in the LAG, and the frame and the transmission Forward the destination port,
On the other hand, when there is no physical port in the LAG whose physical port state is usable, the relay method is characterized by discarding the frame.
リンクアグリゲーショングループ(LAG)と、そのLAGに束ねられるLAG内物理ポートと、LAG内物理ポートのポート状態を示す物理ポート状態と、の関連を記憶するリンクアグリゲーション(LA)テーブルと、
受信したフレームの受信元情報と、アドレス情報と、の関連を記憶する経路情報保持テーブルと、
フレームの受信LAG又は受信ポートを表す受信LAG/ポートと、フレームを受信したLAG内物理ポートと、フレームの宛先アドレス及び送信元アドレスと、を関連して記憶するLA受信情報保持テーブルと、
フレームの受信処理及び送信処理を行うためのLA制御部と、
前記LA制御部からフレームを受け、スイッチング制御を行うための前記スイッチング制御部と、
を備えた中継装置における中継方法であって、

(1)前記LA制御部は、
受信したフレームの送信元アドレス及び宛先アドレスを元に、前記LA受信情報保持テーブル内に一致する情報が存在するかを検索し、
一致する情報がない場合、フレームの受信LAGと、フレームを受信したLAG内物理ポートと、受信したフレームの送信元アドレス及び宛先アドレスと、を前記LA受信情報保持テーブルに新規に記録し、
一方、一致する情報が存在する場合、さらに、受信LAG及びLAG内物理ポートを元に、前記LA受信情報保持テーブル内に一致する情報があるかどうかを判定し、
一致する情報がない場合、受信したフレームの宛先アドレス及び送信元アドレスに一致する情報の受信LAG及びLAG内物理ポートを更新し、
前記フレームと、フレームの受信LAG又は受信ポートを表す受信元情報と、を前記スイッチング制御部に転送し、

(2)前記スイッチング制御部は、
前記LA制御部から転送された受信元情報及び前記フレーム内の送信元アドレスを、前記経路情報保持テーブルに記録し、
経路情報保持テーブルを検索し、前記フレーム内の宛先アドレスと一致するアドレス情報がある場合、それに対応する受信元情報を送信先情報として指定し、一方、一致するアドレス情報がない場合、フレームを受信したポート以外の複数のポートを送信先情報として指定し、
前記フレーム及び送信先情報を、前記LA制御部に転送し、

(3)前記LA制御部は、
前記スイッチング制御部から転送された前記フレームと送信先情報とを受信し、
前記LA受信情報保持テーブル内に、転送されたフレームの送信元アドレス及び宛先アドレス及び送信先情報と、送信元アドレス及び宛先アドレス及び受信LAG/ポートが一致する情報があるかどうか検索し、
一致する情報がある場合、該情報に関連付けられたLAG内物理ポートを元に前記LAテーブルを照合し、該LAG内物理ポートの物理ポート状態の情報が使用可となっているかの判定を行い、
対応する物理ポート状態の情報が使用可となっていれば、該LAG内物理ポートをフレームの送信先ポートとして指定し、前記フレームとともに転送し、
一方、前記LA受信情報保持テーブル内に送信元アドレス及び宛先アドレス及び受信LAG/ポートが一致する情報がない場合、もしくは、一致した情報があってもそのLAG内物理ポートの物理ポート状態の情報が使用不可の場合、
前記LA制御部は、
前記LAテーブルを参照し、前記スイッチング制御部から受け取った前記送信先情報の示すLAG又はひとつ又は複数のポートに該当するひとつ又は複数のLAG内物理ポートに、物理ポート状態が使用可のポートが存在するかどうかを検索し、
該LAG内物理ポートのひとつ又は複数に物理ポート状態が使用可のポートがある場合、該LAG内物理ポートの中からフレームの送信に使用する送信先ポートを決定して、前記フレームと及び前記送信先ポートを転送し、
一方、物理ポート状態が使用可であるLAG内物理ポートが存在しない場合、該フレームを廃棄する
中継方法。
A link aggregation group (LAG), a link aggregation (LA) table for storing associations between physical ports in the LAG bundled in the LAG, and physical port states indicating the port states of the physical ports in the LAG;
A path information holding table for storing the relationship between the reception source information of the received frame and the address information;
LA reception information holding table for storing the reception LAG / port representing the reception LAG or reception port of the frame, the physical port in the LAG that received the frame, the destination address and the transmission source address of the frame,
An LA control unit for performing frame reception processing and transmission processing;
The switching control unit for receiving a frame from the LA control unit and performing switching control;
A relay method in a relay device comprising:

(1) The LA control unit
Based on the source address and destination address of the received frame, it is searched whether there is matching information in the LA reception information holding table,
If there is no matching information, the reception LAG of the frame, the physical port in the LAG that received the frame, and the transmission source address and destination address of the received frame are newly recorded in the LA reception information holding table,
On the other hand, if there is matching information, further determine whether there is matching information in the LA reception information holding table based on the reception LAG and the physical port in the LAG,
If there is no matching information, update the received LAG and physical port in the LAG for the information that matches the destination address and source address of the received frame,
Transfer the frame and the reception source information indicating the reception LAG or reception port of the frame to the switching control unit,

(2) The switching control unit
The source information transferred from the LA control unit and the source address in the frame are recorded in the path information holding table,
Search the routing information holding table and if there is address information that matches the destination address in the frame, specify the corresponding source information as the destination information, while if there is no matching address information, receive the frame Specify multiple ports other than the specified port as destination information,
Transfer the frame and destination information to the LA control unit,

(3) The LA control unit
Receiving the frame and destination information transferred from the switching control unit;
In the LA reception information holding table, search whether there is information in which the source address and destination address and destination information of the transferred frame match the source address and destination address and the received LAG / port,
If there is matching information, the LA table is checked based on the physical port in the LAG associated with the information, and it is determined whether the physical port state information of the physical port in the LAG is usable.
If the corresponding physical port status information is usable, the physical port in the LAG is designated as a frame destination port, and is transferred together with the frame.
On the other hand, when there is no information in the LA reception information holding table that matches the transmission source address, the destination address, and the reception LAG / port, or even if there is matching information, the physical port status information of the physical port in the LAG If not available,
The LA controller is
There is a port whose physical port state is usable in one or more physical ports in the LAG corresponding to the LAG indicated by the transmission destination information received from the switching control unit or one or more ports with reference to the LA table. Search whether or not
When one or more of the physical ports in the LAG have a port whose physical port state is usable, a transmission destination port used for frame transmission is determined from the physical ports in the LAG, and the frame and the transmission Forward the destination port,
On the other hand, when there is no physical port in the LAG whose physical port state is usable, a relay method for discarding the frame.
JP2010259013A 2010-11-19 2010-11-19 Relay device and relay method Pending JP2012109914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010259013A JP2012109914A (en) 2010-11-19 2010-11-19 Relay device and relay method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010259013A JP2012109914A (en) 2010-11-19 2010-11-19 Relay device and relay method

Publications (1)

Publication Number Publication Date
JP2012109914A true JP2012109914A (en) 2012-06-07

Family

ID=46495026

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010259013A Pending JP2012109914A (en) 2010-11-19 2010-11-19 Relay device and relay method

Country Status (1)

Country Link
JP (1) JP2012109914A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426773A (en) * 2013-08-19 2015-03-18 日立金属株式会社 Network relay system and switching device
JP6226054B1 (en) * 2016-10-14 2017-11-08 ヤマハ株式会社 Communication relay device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104426773A (en) * 2013-08-19 2015-03-18 日立金属株式会社 Network relay system and switching device
CN104426773B (en) * 2013-08-19 2018-10-23 日立金属株式会社 Network relay system and exchange apparatus
JP6226054B1 (en) * 2016-10-14 2017-11-08 ヤマハ株式会社 Communication relay device
JP2018064218A (en) * 2016-10-14 2018-04-19 ヤマハ株式会社 Communication repeater
US10541908B2 (en) 2016-10-14 2020-01-21 Yamaha Corporation Communication relay apparatus and setting method

Similar Documents

Publication Publication Date Title
JP5152642B2 (en) Packet ring network system, packet transfer method, and node
JP4822997B2 (en) Communication apparatus and communication method
JP4593484B2 (en) Data communication system and method
JP5498102B2 (en) Network system, network relay device, and control method thereof
US9264302B2 (en) Methods and systems with enhanced robustness for multi-chassis link aggregation group
JP5418925B2 (en) Dynamic route branching system, dynamic route branching device, dynamic route branching method, communication system, node, control device, packet transfer method and program
JP5422844B2 (en) Switching hub, line card, and frame relay method
EP2974166B1 (en) Method and apparatus for ip/mpls fast reroute
CN104426720B (en) Network relay system and exchange apparatus
CN105706393A (en) Method and system of supporting operator commands in link aggregation group
US7839796B2 (en) Monitor for multi-protocol label switching (MPLS) networks
WO2021082812A1 (en) Message sending method and first network device
JP6119562B2 (en) Network system and network relay device
JP5364187B2 (en) Edge device
JP4895972B2 (en) Ring protocol fast switching method and apparatus
CN107770061A (en) The method and forwarding unit to E-Packet
US9596129B2 (en) Communication system, control apparatus, communication apparatus, information-relaying method, and program
JP2012109914A (en) Relay device and relay method
JP2012114644A (en) Network fabric switch system and automatic setting method for the network fabric switch system
US10574481B2 (en) Heterogeneous capabilities in an overlay fabric
JP2012054861A (en) Communication system, and communication control method
JP5144727B2 (en) Edge device and packet relay method
JP2003348107A (en) Two-way linked network, route selecting method used therefor, and program thereof
CN118612145A (en) Link exception processing method and device and related equipment
OA17571A (en) A method and system for supporting distributed relay control protocol (DRCP) operations upon communication failure.