JP7342611B2 - Communication device, control method for communication device, and communication system - Google Patents

Communication device, control method for communication device, and communication system Download PDF

Info

Publication number
JP7342611B2
JP7342611B2 JP2019194116A JP2019194116A JP7342611B2 JP 7342611 B2 JP7342611 B2 JP 7342611B2 JP 2019194116 A JP2019194116 A JP 2019194116A JP 2019194116 A JP2019194116 A JP 2019194116A JP 7342611 B2 JP7342611 B2 JP 7342611B2
Authority
JP
Japan
Prior art keywords
communication device
lacp
links
flag
minimum bandwidth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019194116A
Other languages
Japanese (ja)
Other versions
JP2021069039A (en
Inventor
裕嵩 武藤
雄介 甲斐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2019194116A priority Critical patent/JP7342611B2/en
Publication of JP2021069039A publication Critical patent/JP2021069039A/en
Application granted granted Critical
Publication of JP7342611B2 publication Critical patent/JP7342611B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Description

本開示は、通信装置、通信装置の制御方法および通信システムに関する。 The present disclosure relates to a communication device, a method of controlling a communication device, and a communication system.

リンクアグリゲーションは、複数の物理ポートを束ねて1つの論理リンクとして扱う技術である。リンクアグリゲーションに関する標準は、IEEE Std 802.1AX(登録商標)-2014(非特許文献1)に記述されている。上記標準では、リンクアグリゲーションを動的に制御するプロトコルである、LACP(Link Aggregation Control Protocol)が規定されている。 Link aggregation is a technology that bundles multiple physical ports and treats them as one logical link. The standard regarding link aggregation is described in IEEE Std 802.1AX (registered trademark)-2014 (Non-Patent Document 1). The above standard defines LACP (Link Aggregation Control Protocol), which is a protocol for dynamically controlling link aggregation.

LACPの拡張機能として、minimum-links機能がある。minimum-links機能は、通信可能状態にある物理リンクの数に応じて、論理リンクが有効であることを判断する、最低帯域制御の機能である。なお、minimum-links機能自体はIEEE Std 802.1AX(登録商標)-2014に規定されていない。したがって、たとえばルータあるいはスイッチ等の通信機器を提供するベンダーがminimum-links機能を独自に規定することができる。minimum-links機能は、たとえば以下の非特許文献2(https://www.cisco.com/c/en/us/td/docs/ios/cether/configuration/guide/ce_lnkbndl.html)、あるいは非特許文献3(https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/802-3ad-minimum-links.html)に説明される。 As an extension of LACP, there is a minimum-links function. The minimum-links function is a minimum bandwidth control function that determines whether a logical link is valid according to the number of physical links in a communicable state. Note that the minimum-links function itself is not defined in IEEE Std 802.1AX (registered trademark)-2014. Therefore, for example, a vendor providing communication equipment such as a router or a switch can independently specify the minimum-links function. The minimum-links function is, for example, the following non-patent document 2 (https://www.cisco.com/c/en/us/td/docs/ios/cether/configuration/guide/ce_lnkbndl.html) or the non-patent It is explained in Document 3 (https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/802-3ad-minimum-links.html).

たとえば米国特許出願公開第2017/0063672号明細書(特許文献1)は、LACPパケットのReserve領域に、通信可能な状態にある物理リンクの数を表す情報(ACTOR_CONFIG_NUM_ACTIVE_PORTS)を埋め込むことを開示する。この方法によれば、接続される機器同士が、通信可能な状態にある物理リンク数を正確に把握することが可能である。 For example, US Patent Application Publication No. 2017/0063672 (Patent Document 1) discloses embedding information (ACTOR_CONFIG_NUM_ACTIVE_PORTS) indicating the number of physical links in a communicable state in the Reserve area of an LACP packet. According to this method, it is possible to accurately determine the number of physical links that allow connected devices to communicate with each other.

たとえば米国特許第8243594号明細書(特許文献2)は、複数の論理リンクをさらにグルーピングして、そのグループ内で通信可能な論理リンクが最低帯域に達すると、グループに所属する論理リンクの通信を許可することを開示する。 For example, in US Pat. No. 8,243,594 (Patent Document 2), when a plurality of logical links are further grouped and the communicable logical links within that group reach the lowest bandwidth, communication of the logical links belonging to the group is stopped. Disclose what you authorize.

特開2002-232427号公報(特許文献3)は、トラフィック量を監視して、論理リンク間でメンバポートの動的に移動させ、物理リンクのトラフィックの偏りを平準化し、帯域を動的に変化させることを開示する。 Japanese Unexamined Patent Publication No. 2002-232427 (Patent Document 3) monitors traffic volume, dynamically moves member ports between logical links, equalizes traffic imbalances on physical links, and dynamically changes bandwidth. Disclose what you will do.

米国特許出願公開第2017/0063672号明細書US Patent Application Publication No. 2017/0063672 米国特許第8243594号明細書US Patent No. 8243594 特開2002-232427号公報Japanese Patent Application Publication No. 2002-232427

IEEE Computer Society, IEEE Std 802.1AX-2014 "IEEE Standard for Local and metropolitan area networks - Link Aggregation", p.11-89IEEE Computer Society, IEEE Std 802.1AX-2014 "IEEE Standard for Local and metropolitan area networks - Link Aggregation", p.11-89 "Feature Information for Configuring IEEE 802.3ad Link Bundling and Load Balancing"、[2019年10月1日検索]、インターネット〈https://www.cisco.com/c/en/us/td/docs/ios/cether/configuration/guide/ce_lnkbndl.html>"Feature Information for Configuring IEEE 802.3ad Link Bundling and Load Balancing", [Retrieved October 1, 2019], Internet <https://www.cisco.com/c/en/us/td/docs/ios/cether /configuration/guide/ce_lnkbndl.html> "Configuring Aggregated Ethernet Minimum Links"、[2019年10月1日検索]、インターネット〈https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/802-3ad-minimum-links.html>"Configuring Aggregated Ethernet Minimum Links", [Retrieved October 1, 2019], Internet <https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/802-3ad-minimum-links. html>

上述の通り、非特許文献1は、最低帯域制御を記載していない。さらに、非特許文献2および非特許文献3は、通信可能状態にある物理リンクの数がmin-linksの値に達していないために、自機器と対向機器との間での通信が不可となる状態をLACPパケット上でどう表現するかを規定していない。 As mentioned above, Non-Patent Document 1 does not describe minimum bandwidth control. Furthermore, in Non-Patent Document 2 and Non-Patent Document 3, since the number of physical links in a communicable state has not reached the value of min-links, communication between the own device and the opposite device is impossible. It does not specify how the state is expressed on the LACP packet.

一方、特許文献1に開示された方法では、自機器および対向機器の両方が通信可能な状態にある物理リンクの数を把握するためには、自機器および対向機器ともに、LACPパケット内の項目ACTOR_CONFIG_NUM_ACTIVE_PORTSを参照できなければならない。したがって、2つの機器のうちいずれか一方の機器のみがACTOR_CONFIG_NUM_ACTIVE_PORTSの操作を可能な場合には、通信可能な状態にある物理リンク数を把握することができない。 On the other hand, in the method disclosed in Patent Document 1, in order to grasp the number of physical links in which both the own device and the opposite device can communicate, the item ACTOR_CONFIG_NUM_ACTIVE_PORTS in the LACP packet is required for both the own device and the opposite device. must be able to be referenced. Therefore, if only one of the two devices is capable of operating ACTOR_CONFIG_NUM_ACTIVE_PORTS, it is not possible to know the number of physical links in a communicable state.

特許文献2に開示された方法では、1つのルートに対して複数の論理リンクを経由可能なECMP(Equal-cost multi-path routing)ルートの最低帯域を制御したい場合に応用できる。ただし、特許文献2は、論理リンクの最低帯域を制御するための物理リンクの制御方法については言及していない。さらに特許文献3も、最低帯域制御のための物理リンクの制御方法については言及していない。 The method disclosed in Patent Document 2 can be applied when it is desired to control the minimum bandwidth of an ECMP (Equal-cost multi-path routing) route that can pass through a plurality of logical links for one route. However, Patent Document 2 does not mention a physical link control method for controlling the minimum bandwidth of a logical link. Further, Patent Document 3 also does not mention a physical link control method for minimum bandwidth control.

本開示の目的は、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることである。 An object of the present disclosure is to match the valid states of logical links between devices that exchange LACP packets in link aggregation.

本開示によれば、通信装置は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるAggregationフラグによって対向装置に通知する。 According to the present disclosure, a communication device is a communication device that dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), and the communication device dynamically controls link aggregation according to LACP. the LACP packet transmitting/receiving unit that transmits and receives LACP packets for the purpose of the present invention, and a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet, and the minimum bandwidth control unit is in a state in which it is possible to transmit LACP packets. Whether or not the number of physical links has reached the number of links corresponding to the minimum bandwidth of the communication device is notified to the opposing device using the Aggregation flag included in the LACP packet.

本開示によれば、通信装置は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるCollectingフラグおよびDistributingフラグにより、対向装置に通知する。 According to the present disclosure, a communication device is a communication device that dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), and the communication device dynamically controls link aggregation according to LACP. the LACP packet transmitting/receiving unit that transmits and receives LACP packets for the purpose of the present invention, and a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet, and the minimum bandwidth control unit is in a state in which it is possible to transmit LACP packets. Whether or not the number of physical links has reached the number of links corresponding to the minimum bandwidth of the communication device is notified to the opposing device using the Collecting flag and the Distributing flag included in the LACP packet.

本開示によれば、通信装置は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを対向装置に通知するための第1のモードおよび第2のモードを有し、第1のモードは、LACPパケットに含まれるAggregationフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードであり、第2のモードは、LACPパケットに含まれるCollectingフラグおよびDistributingフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードである。 According to the present disclosure, a communication device is a communication device that dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), and the communication device dynamically controls link aggregation according to LACP. the LACP packet transmitting/receiving unit that transmits and receives LACP packets for the purpose of the present invention, and a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet, and the minimum bandwidth control unit is in a state in which it is possible to transmit LACP packets. It has a first mode and a second mode for notifying the opposite device whether the number of physical links has reached the number of links corresponding to the minimum bandwidth of the communication device, and the first mode is LACP. This is a mode in which the Aggregation flag included in the packet notifies the opposing device that the number of physical links that are ready for transmission has reached the number of links that corresponds to the minimum bandwidth of the communication device. , is a mode in which the Collecting flag and the Distributing flag included in the LACP packet notify the opposing device that the number of physical links that are ready for transmission has reached the number of links corresponding to the minimum bandwidth of the communication device.

本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを判定するステップと、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達している場合に、LACPパケットに含まれるAggregationフラグを有効にするステップとを備える。 According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), determining whether the number of physical links in a state in which LACP packets for controlling link aggregation according to LACP can be transmitted has reached the number of links corresponding to the minimum bandwidth of the communication device; and and enabling an aggregation flag included in the LACP packet when the number of physical links in the LACP packet reaches the number of links corresponding to the minimum bandwidth of the communication device.

本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを判定するステップと、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達している場合に、LACPパケットに含まれるCollectingフラグおよびDistributingフラグを有効にするステップとを備える。 According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), determining whether the number of physical links in a state in which LACP packets for controlling link aggregation according to LACP can be transmitted has reached the number of links corresponding to the minimum bandwidth of the communication device; and and enabling a Collecting flag and a Distributing flag included in the LACP packet when the number of physical links in the LACP packet reaches the number of links corresponding to the minimum bandwidth of the communication device.

本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、第1のモードおよび第2のモードのいずれか一方を選択するステップと、選択されたモードに従ってLACPに従うリンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを通知するステップとを備え、第1のモードは、LACPパケットに含まれるAggregationフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードであり、第2のモードは、LACPパケットに含まれるCollectingフラグおよびDistributingフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードである。 According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), a step of selecting one of the first mode and the second mode, and determining the number of physical links capable of transmitting LACP packets for controlling link aggregation according to LACP according to the selected mode; In the first mode, the number of physical links that are ready for transmission is determined by the aggregation flag included in the LACP packet. This mode notifies the other device that the number of links corresponding to the minimum bandwidth of This mode notifies the opposing device that the number of links has reached the minimum bandwidth of the communication device.

本開示によれば、通信システムは、各々が複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する第1の通信装置および第2の通信装置を備え、第1の通信装置および第2の通信装置の各々は、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、各々の通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるAggregationフラグによって対向装置に通知する。 According to the present disclosure, a communication system includes a first communication device and a second communication device, each of which dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). each of the first communication device and the second communication device includes an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling link aggregation according to LACP, and an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling link aggregation according to LACP; and a minimum bandwidth control unit that determines whether the number of physical links in a state in which LACP packets can be transmitted has reached the number of links corresponding to the minimum bandwidth of each communication device. , the opposite device is notified by the Aggregation flag included in the LACP packet.

本開示によれば、通信システムは、各々が複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する第1の通信装置および第2の通信装置を備え、第1の通信装置および第2の通信装置の各々は、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、各々の通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるCollectingフラグおよびDistributingフラグにより、対向装置に通知する。 According to the present disclosure, a communication system includes a first communication device and a second communication device, each of which dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). each of the first communication device and the second communication device includes an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling link aggregation according to LACP, and an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling link aggregation according to LACP; and a minimum bandwidth control unit that determines whether the number of physical links in a state in which LACP packets can be transmitted has reached the number of links corresponding to the minimum bandwidth of each communication device. , the opposite device is notified by the Collecting flag and the Distributing flag included in the LACP packet.

本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてAggregationフラグを有効にするステップと、Aggregationフラグが有効になった後に、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてSynchronizationフラグを有効にするステップと、Synchronizationフラグが有効になった後に、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてCollectingフラグおよびDistributingフラグを有効にするステップとを備える。 According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), enabling an Aggregation flag in both the LACP packet transmitted from the communication device and the LACP packet received by the communication device; and after the Aggregation flag is enabled, the LACP packet transmitted from the communication device and the communication device enabling a Synchronization flag in both the received LACP packets and, after the Synchronization flag is enabled, Collecting flags and Distributing flags in both the LACP packets transmitted from the communication device and the LACP packets received by the communication device; and enabling the flag.

本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方において、Aggregationフラグを有効にするステップと、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてCollectingフラグおよびDistributingフラグを有効にするステップと、CollectingフラグおよびDistributingフラグが有効になった後に、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてSynchronizationフラグを有効にするステップとを備える。 According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), enabling an Aggregation flag in both LACP packets transmitted from the communication device and LACP packets received by the communication device; and in both LACP packets transmitted from the communication device and LACP packets received by the communication device. enabling a Collecting flag and a Distributing flag, and enabling a Synchronization flag in both LACP packets transmitted from the communication device and LACP packets received by the communication device after the Collecting flag and the Distributing flag are enabled; and a step.

本開示によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the present disclosure, in link aggregation, it is possible to match the validity states of logical links between devices that exchange LACP packets.

図1は、本開示の一実施形態に係る通信機器を含む通信システムの構成を概略的に示したブロック図である。FIG. 1 is a block diagram schematically showing the configuration of a communication system including communication equipment according to an embodiment of the present disclosure. 図2は、図1に示した通信機器の構成の例を示したブロック図である。FIG. 2 is a block diagram showing an example of the configuration of the communication device shown in FIG. 図3は、LACPパケットの構成例を示した図である。FIG. 3 is a diagram showing an example of the structure of an LACP packet. 図4は、LACPDU内の項目Actor_Stateの構成を示した図である。FIG. 4 is a diagram showing the structure of the item Actor_State in LACPDU. 図5は、自機器と対向機器との間で論理リンクの状態が不整合になりえる例を説明した図である。FIG. 5 is a diagram illustrating an example in which the logical link states between the own device and the opposing device may become inconsistent. 図6は、本開示の第1の実施形態に係る最低帯域制御を説明するためのシーケンス図である。FIG. 6 is a sequence diagram for explaining minimum bandwidth control according to the first embodiment of the present disclosure. 図7は、図6に示した制御処理の流れを説明するためのフローチャートである。FIG. 7 is a flowchart for explaining the flow of the control process shown in FIG. 6. 図8は、論理リンクの有効中に実行される最低帯域制御の例を示したフローチャートである。FIG. 8 is a flowchart showing an example of minimum bandwidth control executed while a logical link is valid. 図9は、本開示の第2の実施形態に係る最低帯域制御を説明するためのシーケンス図である。FIG. 9 is a sequence diagram for explaining minimum bandwidth control according to the second embodiment of the present disclosure. 図10は、図9に示した制御処理の流れを説明するためのフローチャートである。FIG. 10 is a flowchart for explaining the flow of the control process shown in FIG. 図11は、本開示の実施の形態2において、論理リンクの有効中に実行される最低帯域制御の例を示したフローチャートである。FIG. 11 is a flowchart illustrating an example of minimum bandwidth control executed while a logical link is valid in Embodiment 2 of the present disclosure. 図12は、本開示の実施の形態3に係る最低帯域制御の例を示したフローチャートである。FIG. 12 is a flowchart illustrating an example of minimum bandwidth control according to Embodiment 3 of the present disclosure.

[本開示の実施形態の説明]
最初に本開示の実施態様を列記して説明する。
[Description of embodiments of the present disclosure]
First, embodiments of the present disclosure will be listed and described.

(1) 本開示によれば、通信装置は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるAggregationフラグによって対向装置に通知する。 (1) According to the present disclosure, a communication device is a communication device that dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), and is a communication device that dynamically controls link aggregation according to LACP (Link Aggregation Control Protocol). It includes an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling aggregation, and a minimum bandwidth control unit that determines the validity of a logical link based on the LACP packet, and the minimum bandwidth control unit is capable of transmitting LACP packets. Whether or not the number of physical links in the state has reached the number of links corresponding to the minimum bandwidth of the communication device is notified to the opposing device using the Aggregation flag included in the LACP packet.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。相手から送られるLACPパケットのフラグを確認することによって、通信機器は、物理リンクの数が相手のminimum links数に達したかどうかを把握できる。通信機器間で異なるmin-links数が設定されていても、2つのmin-links数のうちの大きい方の値を満たすまで論理リンクは有効にならない。したがって、2つの通信機器の間で論理リンクの状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets. By checking the flag of the LACP packet sent from the other party, the communication device can determine whether the number of physical links has reached the minimum number of links of the other party. Even if different min-links numbers are set between communication devices, the logical link will not become valid until the larger of the two min-links numbers is satisfied. Therefore, it is possible to match the states of logical links between two communication devices.

(2) (1)に記載の通信装置において、最低帯域制御部は、対向装置からのLACPパケットを受信して、受信したLACPパケットに含まれるAggregationフラグにより、対向装置がLACPパケットを送信可能な状態にある物理リンクの数が通信装置の最低帯域に相当するリンク数に達していると判定した場合には、通信装置からのLACPパケットにおいて、Synchronizationフラグを有効にする。 (2) In the communication device according to (1), the minimum bandwidth control unit receives the LACP packet from the opposite device, and determines whether the opposite device can transmit the LACP packet based on the aggregation flag included in the received LACP packet. If it is determined that the number of physical links in the state has reached the number of links corresponding to the minimum bandwidth of the communication device, the Synchronization flag is enabled in the LACP packet from the communication device.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(3) 本開示によれば、通信装置は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるCollectingフラグおよびDistributingフラグにより、対向装置に通知する。 (3) According to the present disclosure, the communication device is a communication device that dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), and is a communication device that dynamically controls link aggregation that bundles a plurality of physical links into one logical link. It includes an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling aggregation, and a minimum bandwidth control unit that determines the validity of a logical link based on the LACP packet, and the minimum bandwidth control unit is capable of transmitting LACP packets. Whether or not the number of physical links in the state has reached the number of links corresponding to the minimum bandwidth of the communication device is notified to the opposing device using the Collecting flag and the Distributing flag included in the LACP packet.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。相手から送られるLACPパケットのフラグを確認することによって、通信機器は、物理リンクの数が相手のminimum links数に達したかどうかを把握できる。通信機器間で異なるmin-links数が設定されていても、2つのmin-links数のうちの大きい方の値を満たすまで論理リンクは有効にならない。したがって、2つの通信機器の間で論理リンクの状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets. By checking the flag of the LACP packet sent from the other party, the communication device can determine whether the number of physical links has reached the minimum number of links of the other party. Even if different min-links numbers are set between communication devices, the logical link will not become valid until the larger of the two min-links numbers is satisfied. Therefore, it is possible to match the states of logical links between two communication devices.

(4) (3)に記載の通信装置において、最低帯域制御部は、対向装置からのLACPパケットを受信して、受信したLACPパケットに含まれるCollectingフラグおよびDistributingフラグにより、対向装置がLACPパケットを送信可能な状態にある物理リンクの数が通信装置の最低帯域に相当するリンク数に達していると判定した場合には、通信装置からのLACPパケットにおいて、Synchronizationフラグを有効にする。 (4) In the communication device according to (3), the lowest bandwidth control unit receives the LACP packet from the opposite device, and uses the Collecting flag and Distribution flag included in the received LACP packet to cause the opposite device to control the LACP packet. If it is determined that the number of physical links in a transmittable state has reached the number of links corresponding to the minimum bandwidth of the communication device, the synchronization flag is enabled in the LACP packet from the communication device.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(5) (1)~(4)に記載の通信装置において、最低帯域制御部は、対向装置からのLACPパケットを受信して、受信したLACPパケットに含まれるSynchronizationフラグにより、対向装置がLACPパケットを送信可能な状態にある物理リンクの数が通信装置の最低帯域に相当するリンク数に達していると判定した場合には、物理リンクを論理リンクの有効メンバに追加する。 (5) In the communication device according to (1) to (4), the lowest bandwidth control unit receives the LACP packet from the opposite device, and determines whether the opposite device can transmit the LACP packet based on the Synchronization flag included in the received LACP packet. If it is determined that the number of physical links that are in a state where they can transmit has reached the number of links corresponding to the minimum bandwidth of the communication device, the physical link is added to the valid members of the logical links.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(6) (1)または(2)に記載の通信装置において、最低帯域制御部は、論理リンクの有効な状態において、対向装置からのLACPパケットにおいて、AggregationフラグおよびSynchronizationフラグの両方が有効な物理リンクの数が、通信装置の最低帯域に対応するリンク数に満たないと判定した場合には、論理リンクを無効化して論理リンクを再構築する。 (6) In the communication device according to (1) or (2), the minimum bandwidth control unit is configured to control a physical link in which both the Aggregation flag and the Synchronization flag are valid in the LACP packet from the opposite device when the logical link is valid. If it is determined that the number of links is less than the number of links corresponding to the lowest bandwidth of the communication device, the logical link is invalidated and the logical link is rebuilt.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(7) (3)または(4)に記載の通信装置において、最低帯域制御部は、対向装置から送られたLACPパケットを受信して、受信したLACPパケットに含まれるSynchronizationフラグ、Collectingフラグ、およびDistributingフラグに関連付けられた物理リンクの数が、通信装置の最低帯域に対応するリンク数に満たないと判定した場合には、論理リンクを無効化して論理リンクを再構築する。 (7) In the communication device according to (3) or (4), the minimum bandwidth control unit receives the LACP packet sent from the opposite device, and controls the synchronization flag, collecting flag, and If it is determined that the number of physical links associated with the Distributing flag is less than the number of links corresponding to the minimum bandwidth of the communication device, the logical link is invalidated and the logical link is rebuilt.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(8) 本開示によれば、通信装置は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを対向装置に通知するための第1のモードおよび第2のモードを有し、第1のモードは、LACPパケットに含まれるAggregationフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードであり、第2のモードは、LACPパケットに含まれるCollectingフラグおよびDistributingフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードである。 (8) According to the present disclosure, the communication device is a communication device that dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), and includes links that follow LACP. It includes an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling aggregation, and a minimum bandwidth control unit that determines the validity of a logical link based on the LACP packet, and the minimum bandwidth control unit is capable of transmitting LACP packets. It has a first mode and a second mode for notifying the opposing device whether the number of physical links in the state has reached the number of links corresponding to the minimum bandwidth of the communication device, and the first mode is a mode in which the Aggregation flag included in the LACP packet notifies the opposing device that the number of physical links that are ready for transmission has reached the number of links corresponding to the minimum bandwidth of the communication device. This mode is a mode in which the Collecting flag and Distributing flag included in the LACP packet notify the opposing device that the number of physical links that are ready for transmission has reached the number of links corresponding to the minimum bandwidth of the communication device. It is.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。さらに、通信装置が最低帯域制御のための2つのモードを有することにより、接続相手に応じたより柔軟な制御が可能となる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets. Furthermore, since the communication device has two modes for minimum bandwidth control, more flexible control depending on the connection partner is possible.

(9) 本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを判定するステップと、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達している場合に、LACPパケットに含まれるAggregationフラグを有効にするステップとを備える。 (9) According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). and determining whether the number of physical links in a state in which LACP packets for controlling link aggregation according to LACP can be transmitted has reached the number of links corresponding to the minimum bandwidth of the communication device; The method includes the step of validating an aggregation flag included in the LACP packet when the number of physical links in a possible state has reached the number of links corresponding to the minimum bandwidth of the communication device.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(10) 本開示によれば、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを判定するステップと、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達している場合に、LACPパケットに含まれるCollectingフラグおよびDistributingフラグを有効にするステップとを備える。 (10) According to the present disclosure, there is provided a communication device control method for dynamically controlling link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol), the method comprising link aggregation according to LACP. determining whether the number of physical links in a state in which LACP packets for control can be transmitted has reached the number of links corresponding to the minimum bandwidth of the communication device; reaches the number of links corresponding to the minimum bandwidth of the communication device, enabling the Collecting flag and the Distributing flag included in the LACP packet.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(11) 本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、第1のモードおよび第2のモードのいずれか一方を選択するステップと、選択されたモードに従ってLACPに従うリンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを通知するステップとを備え、第1のモードは、LACPパケットに含まれるAggregationフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードであり、第2のモードは、LACPパケットに含まれるCollectingフラグおよびDistributingフラグによって、送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達していることを対向装置に通知するモードである。 (11) According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). a step of selecting one of the first mode and the second mode; and determining the number of physical links in a state in which LACP packets for controlling link aggregation according to LACP can be transmitted according to the selected mode. In the first mode, the number of physical links in a transmittable state is determined by the aggregation flag included in the LACP packet. , is a mode that notifies the opposing device that the number of links corresponding to the minimum bandwidth of the communication device has been reached, and the second mode is a mode in which the LACP packet is in a state where it can be transmitted by the Collecting flag and the Distributing flag included in the packet. This is a mode in which the opposing device is notified that the number of physical links has reached the number of links corresponding to the minimum bandwidth of the communication device.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。さらに、2つのモードの中から最低帯域制御のためのモードを選択できることにより、接続相手に応じたより柔軟な制御が可能となる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets. Furthermore, by being able to select the mode for lowest bandwidth control from the two modes, more flexible control depending on the connection partner becomes possible.

(12) 本開示によれば、通信システムは、各々が複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する第1の通信装置および第2の通信装置を備え、第1の通信装置および第2の通信装置の各々は、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、各々の通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるAggregationフラグによって対向装置に通知する。 (12) According to the present disclosure, a communication system includes a first communication device and a second communication device, each of which dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). Each of the first communication device and the second communication device includes an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling link aggregation according to LACP, and a The minimum bandwidth control unit determines whether the number of physical links in a state where LACP packets can be transmitted has reached the number of links corresponding to the minimum bandwidth of each communication device. Whether this is the case is notified to the opposite device using the Aggregation flag included in the LACP packet.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(13) 本開示によれば、各々が複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する第1の通信装置および第2の通信装置を備え、第1の通信装置および第2の通信装置の各々は、LACPに従うリンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、LACPパケットに基づいて論理リンクの有効化を判断する最低帯域制御部とを含み、最低帯域制御部は、LACPパケットを送信可能な状態にある物理リンクの数が、各々の通信装置の最低帯域に相当するリンク数に達しているか否かを、LACPパケットに含まれるCollectingフラグおよびDistributingフラグにより、対向装置に通知する。 (13) According to the present disclosure, the first communication device and the second communication device each dynamically control link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). Each of the first communication device and the second communication device includes an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling link aggregation according to LACP, and a LACP packet transmitting/receiving unit that determines whether to enable a logical link based on the LACP packet. The minimum bandwidth control unit determines whether the number of physical links in a state in which LACP packets can be transmitted has reached the number of links corresponding to the minimum bandwidth of each communication device. The opposite device is notified using the Collecting flag and the Distributing flag included in the LACP packet.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(14) 本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてAggregationフラグを有効にするステップと、Aggregationフラグが有効になった後に、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてSynchronizationフラグを有効にするステップと、Synchronizationフラグが有効になった後に、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてCollectingフラグおよびDistributingフラグを有効にするステップとを備える。 (14) According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). the Aggregation flag is enabled in both the LACP packet transmitted from the communication device and the LACP packet received by the communication device; and after the Aggregation flag is enabled, the LACP packet transmitted from the communication device and Enabling a Synchronization flag in both LACP packets received by the communication device; and Collecting in both LACP packets transmitted from the communication device and LACP packets received by the communication device after the Synchronization flag is enabled. and enabling the flag and the Distributing flag.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

(15) 本開示によれば、通信装置の制御方法は、複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方において、Aggregationフラグを有効にするステップと、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてCollectingフラグおよびDistributingフラグを有効にするステップと、CollectingフラグおよびDistributingフラグが有効になった後に、通信装置から送信されたLACPパケットおよび通信装置に受信されるLACPパケットの両方においてSynchronizationフラグを有効にするステップとを備える。 (15) According to the present disclosure, a communication device control method dynamically controls link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol). the step of enabling an aggregation flag in both the LACP packet transmitted from the communication device and the LACP packet received by the communication device; and enabling the Synchronization flag in both the LACP packets sent from the communication device and the LACP packets received by the communication device after the Collecting and Distribution flags are enabled. and an enabling step.

上記によれば、リンクアグリゲーションにおいて、LACPパケットを交換する機器間で、論理リンクが有効である状態を整合させることができる。 According to the above, in link aggregation, it is possible to match the valid states of logical links between devices that exchange LACP packets.

[本開示の実施形態の詳細]
以下、本開示の実施の形態について図面を用いて説明する。図中同一または相当部分には同一符号を付してその説明は繰り返さない。
[Details of embodiments of the present disclosure]
Embodiments of the present disclosure will be described below with reference to the drawings. Identical or corresponding parts in the drawings are denoted by the same reference numerals and their description will not be repeated.

図1は、本開示の一実施形態に係る通信機器を含む通信システムの構成を概略的に示したブロック図である。図1を参照して、通信システム10は、2つの通信機器(自機器101および対向機器102)を含む。一例では自機器101および対向機器102は、ルータである。自機器101および対向機器102は、スイッチであってもよい。リンクアグリゲーションを実行可能な通信機器であれば、自機器101および対向機器102の種類は限定されるものではない。 FIG. 1 is a block diagram schematically showing the configuration of a communication system including communication equipment according to an embodiment of the present disclosure. Referring to FIG. 1, communication system 10 includes two communication devices (own device 101 and opposing device 102). In one example, the own device 101 and the opposite device 102 are routers. The own device 101 and the opposite device 102 may be switches. The types of the own device 101 and the opposite device 102 are not limited as long as they are communication devices that can perform link aggregation.

自機器101と、対向機器102とは、複数の物理リンクで接続されている。図1に示した例では、自機器101は物理リンク20-1~20-3によって、対向機器102に接続されている。物理リンク20-1~20-3は、リンクアグリゲーションによって1つの論理リンク21に束ねられる。 The own device 101 and the opposite device 102 are connected through a plurality of physical links. In the example shown in FIG. 1, the own device 101 is connected to the opposite device 102 via physical links 20-1 to 20-3. Physical links 20-1 to 20-3 are bundled into one logical link 21 by link aggregation.

自機器101は物理リンク30-1,30-2,30-3に接続される。対向機器102は物理リンク40-1,40-2,40-3に接続される。物理リンク30-1,30-2,30-3は、たとえばエンド装置に接続されてもよい。同様に、物理リンク40-1,40-2,40-3もエンド装置に接続されてもよい。 Own device 101 is connected to physical links 30-1, 30-2, and 30-3. Opposite device 102 is connected to physical links 40-1, 40-2, and 40-3. Physical links 30-1, 30-2, 30-3 may be connected to end devices, for example. Similarly, physical links 40-1, 40-2, 40-3 may also be connected to end devices.

図2は、図1に示した通信機器の構成の例を示したブロック図である。自機器101および対向機器102は、リンクアグリケーションに関する同じ構成を有する。したがって、以下では自機器101の構成を代表的に説明して、対向機器102の構成の説明は繰り返さない。 FIG. 2 is a block diagram showing an example of the configuration of the communication device shown in FIG. The own device 101 and the opposite device 102 have the same configuration regarding link aggregation. Therefore, below, the configuration of the own device 101 will be representatively explained, and the description of the configuration of the opposite device 102 will not be repeated.

図2を参照して、自機器101は、ネットワーク側ポート111,112,113と、データ通信制御部120と、ユーザ側ポート131,132,133と、LACP制御部140とを有する。 Referring to FIG. 2, self-device 101 has network side ports 111, 112, and 113, data communication control section 120, user side ports 131, 132, and 133, and LACP control section 140.

複数のネットワーク側ポートによってリンクアグリゲーションを実現可能であれば、ネットワーク側ポートの数は限定されない。図2では、一例として、3つのネットワーク側ポート111~113が示される。ネットワーク側ポート111,112,113は、それぞれ物理リンク20-1,20-2,20-3を収容する。この実施の形態では、ネットワーク側ポート111~113は論理リンク110に束ねられる。 The number of network-side ports is not limited as long as link aggregation can be achieved using a plurality of network-side ports. In FIG. 2, three network side ports 111 to 113 are shown as an example. Network side ports 111, 112, and 113 accommodate physical links 20-1, 20-2, and 20-3, respectively. In this embodiment, network side ports 111-113 are bundled into logical link 110.

ネットワーク側ポートと同様に、ユーザ側ポートの数は限定されるものではない。図2では、一例として3つのユーザ側ポート131~133が示される。ユーザ側ポート131,132,133は、それぞれ物理リンク30-1,30-2,30-3を収容する。 Similar to the network side ports, the number of user side ports is not limited. In FIG. 2, three user-side ports 131 to 133 are shown as an example. User-side ports 131, 132, and 133 accommodate physical links 30-1, 30-2, and 30-3, respectively.

データ通信制御部120は、ネットワーク側ポート111~113とユーザ側ポート131~133との間のデータ通信を制御する。 The data communication control unit 120 controls data communication between the network side ports 111 to 113 and the user side ports 131 to 133.

LACP制御部140は、LACPパケット生成部141と、LACPパケット受信処理部142と、最低帯域制御部143とを含む。LACPパケット生成部141と、LACPパケット受信処理部142とは、LACPパケット送受信部145を構成する。LACP制御部140は、プログラムに従って処理を実行する集積回路によって実現可能である。 The LACP control section 140 includes an LACP packet generation section 141, an LACP packet reception processing section 142, and a minimum bandwidth control section 143. The LACP packet generation section 141 and the LACP packet reception processing section 142 constitute an LACP packet transmission/reception section 145. The LACP control unit 140 can be realized by an integrated circuit that executes processing according to a program.

LACPパケット生成部141は、ネットワー側ポートごとにLACPパケット(すなわちLACPDU)を生成する。生成されたLACPパケットは、ネットワーク側ポート111~113のうち対応のネットワーク側ポートから物理リンクを通じて対向機器102に送信される。 The LACP packet generation unit 141 generates LACP packets (that is, LACPDUs) for each network side port. The generated LACP packet is transmitted from the corresponding network side port among the network side ports 111 to 113 to the opposite device 102 through the physical link.

LACPパケット受信処理部142は、対向機器102から物理リンク20-1,20-2,20-3のそれぞれを通じてネットワーク側ポート111~113に送られたLACPパケットを受信する。なお、LACPパケット受信処理部142は、LACPプロトコル処理を実行するブロックであってもよい。 The LACP packet reception processing unit 142 receives LACP packets sent from the opposite device 102 to the network side ports 111 to 113 through each of the physical links 20-1, 20-2, and 20-3. Note that the LACP packet reception processing unit 142 may be a block that executes LACP protocol processing.

最低帯域制御部143は、LACPパケット生成部141およびLACPパケット受信処理部142を制御することによって、自機器101と対向機器102との間で論理リンクの状態が整合するように最低帯域制御を実行する。 The minimum bandwidth control unit 143 controls the LACP packet generation unit 141 and the LACP packet reception processing unit 142 to perform minimum bandwidth control so that the state of the logical link between the own device 101 and the opposite device 102 is consistent. do.

図3は、LACPパケットの構成例を示した図である。図3にはIEEE Std 802.1AX-2014に従うLACPDUの構成を示す。アクター(Actor)は、自機器101と対向機器102とのうち、LACPパケットを送信する機器に該当する。パートナー(Partner)は、アクターからLACPパケットを受信する機器に該当する。この実施の形態では、LACPDU内の「Actor_State」に格納される情報を利用して最低帯域制御を実行する。 FIG. 3 is a diagram showing an example of the structure of an LACP packet. Figure 3 shows the structure of LACPDU according to IEEE Std 802.1AX-2014. An actor corresponds to a device that transmits an LACP packet between the own device 101 and the opposite device 102. A partner corresponds to a device that receives LACP packets from an actor. In this embodiment, minimum bandwidth control is performed using the information stored in "Actor_State" in the LACPDU.

図4は、LACPDU内の項目Actor_Stateの構成を示した図である。図4にはIEEE Std 802.1AX-2014に従うActor_Stateの構成を示す。図4に示すように、Actor_Stateは、LACP_Activityフラグ、LACP_Timeoutフラグ、Aggregationフラグ、Synchronizationフラグ、Collectingフラグ、Distributingフラグ、DefaultedフラグおよびExpiredフラグを含む。この実施の形態では、特に、Aggregationフラグ、Synchronizationフラグ、Collectingフラグ、Distributingフラグが最低帯域制御に用いられる。なお、以下の説明では「フラグが立てられる」あるいは「フラグが有効である」との表現はフラグをセットすることを意味する。 FIG. 4 is a diagram showing the structure of the item Actor_State in LACPDU. Figure 4 shows the configuration of Actor_State according to IEEE Std 802.1AX-2014. As shown in FIG. 4, Actor_State includes an LACP_Activity flag, an LACP_Timeout flag, an Aggregation flag, a Synchronization flag, a Collecting flag, a Distributing flag, a Defaulted flag, and an Expired flag. In this embodiment, in particular, the Aggregation flag, Synchronization flag, Collecting flag, and Distribution flag are used for minimum bandwidth control. Note that in the following description, the expressions "a flag is set" or "a flag is valid" mean setting a flag.

Aggregationフラグは、ビット2にエンコードされる。該当の物理リンクがアグリゲーション可能である場合に、Aggregationフラグが立てられる。 The Aggregation flag is encoded in bit 2. If the corresponding physical link is capable of aggregation, the Aggregation flag is set.

Synchronizationフラグは、ビット3にエンコードされる。該当の物理リンクが同期状態である場合(すなわち、その物理リンクが、リンクアグリゲーショングループ(LAG)に割り当てられた場合)に、Synchronizationフラグが立てられる。 The Synchronization flag is encoded in bit 3. If the corresponding physical link is in a synchronized state (that is, if the physical link is assigned to a link aggregation group (LAG)), the Synchronization flag is set.

Collectingフラグは、ビット4にエンコードされる。該当の物理リンクによるLACPDUの受信が可能である場合、Collectingフラグが立てられる。 The Collecting flag is encoded in bit 4. If the LACPDU can be received by the corresponding physical link, the Collecting flag is set.

Distributingフラグは、ビット5にエンコードされる。該当の物理リンクによるLACPDUの送信が可能である場合、Distributingフラグが立てられる。 The Distributing flag is encoded in bit 5. If it is possible to send an LACPDU through the corresponding physical link, the Distributing flag is set.

なお、以下に説明する図においては、AggregationフラグおよびSynchronizationフラグを、それぞれ「Agg」、「Sync」と略記する場合がある。 Note that in the figures described below, the Aggregation flag and the Synchronization flag may be abbreviated as "Agg" and "Sync", respectively.

上述の通り、LACP min-links機能はLACPプロトコルに対する拡張機能である。LACP min-links機能は、LAGを構成する物理リンクのうち、通信可能な(すなわちLACPパケットを送信可能な状態にある)物理リンクの数が、設定したminimum links数(すなわち最低帯域)に満たない場合に論理リンクを有効化しない機能である。 As mentioned above, the LACP min-links feature is an extension to the LACP protocol. The LACP min-links function detects when the number of physical links that are communicable (that is, in a state where LACP packets can be sent) among the physical links that make up the LAG is less than the set minimum number of links (that is, the minimum bandwidth). This function does not enable logical links in certain cases.

この機能は標準化の対象には含まれていないため、通信装置のベンダが独自に実装仕様を決めることができる。自機器と対向機器とはLACPパケットを交換する。しかし、LACPパケットにはmin-links情報が含まれていない。このために自機器と対向機器との間で論理リンクの状態が不整合になる可能性がある。 Since this function is not included in the standardization target, communication device vendors can decide on their own implementation specifications. The own device and the opposite device exchange LACP packets. However, LACP packets do not contain min-links information. For this reason, there is a possibility that the state of the logical link between the own device and the opposite device becomes inconsistent.

図5は、自機器と対向機器との間で論理リンクの状態が不整合になりえる例を説明した図である。図5において、「装置A」および「装置B」は、たとえばルータである。装置Aが自機器101とし、装置Bが対向機器102であるとする。 FIG. 5 is a diagram illustrating an example in which the logical link states between the own device and the opposing device may become inconsistent. In FIG. 5, "device A" and "device B" are routers, for example. Assume that device A is the own device 101 and device B is the opposite device 102.

自機器101と対向機器102とが異なるベンダーの製品である場合、LACPパケットを介して交換するステータス情報の種類は異なりえる。図5に示す例では、自機器101は、ある物理リンクが通信可能である場合に、その物理リンクに対応するLACPパケットにおいて、Aggregation(Agg)フラグ、Collectingフラグ、および、Distributingフラグを有効にする。対向機器102は、物理リンクが通信可能である場合に、その物理リンクに対応するLACPパケットにおいて、AggregationフラグおよびSynchronizationフラグを有効にする。 If the own device 101 and the opposite device 102 are products from different vendors, the types of status information exchanged via LACP packets may be different. In the example shown in FIG. 5, when a certain physical link is communicable, the own device 101 enables the Aggregation (Agg) flag, the Collecting flag, and the Distribution flag in the LACP packet corresponding to that physical link. . When the physical link is communicable, the opposing device 102 enables the Aggregation flag and the Synchronization flag in the LACP packet corresponding to the physical link.

自機器101および対向機器102は、通信可能な物理リンクの数が自身のmin-linksの値に達すると、論理リンクを有効にする。しかし、min-linksの値は自機器101と対向機器102とで異なっている。この例では、対向機器102のmin-linksの値のほうが自機器101のmin-linksの値より大きい。 The own device 101 and the opposite device 102 enable logical links when the number of communicable physical links reaches the value of their own min-links. However, the value of min-links is different between the own device 101 and the opposite device 102. In this example, the value of min-links of the opposing device 102 is larger than the value of min-links of the own device 101.

自機器101と対向機器102との間のリンクアグリゲーションにおいて、論理リンクに追加する物理リンク(ポート)が増えると、まず、通信可能な物理リンクの数が自機器101のmin-linksの値に達する。自機器101は、Aggregation(Agg)フラグ、Collectingフラグ、および、Distributingフラグに加えてSynchronizationフラグを有効にする。一方、対向機器102は、ある物理リンクが通信可能であれば、通信可能な物理リンクの数が対向機器102のmin-linksの値未満であっても、その物理リンクに対応するLACPパケットにおいてSynchronizationフラグを有効にする。 In link aggregation between the own device 101 and the opposite device 102, when the number of physical links (ports) added to the logical link increases, the number of communicable physical links first reaches the min-links value of the own device 101. . The own device 101 enables the Synchronization flag in addition to the Aggregation (Agg) flag, the Collecting flag, and the Distribution flag. On the other hand, if a certain physical link is communicable, the opposing device 102 performs synchronization in the LACP packet corresponding to that physical link even if the number of communicable physical links is less than the min-links value of the opposing device 102. Enable flag.

自機器101および対向機器102は、LACPパケット上でminimum linksの情報を交換していない。つまり、自機器101および対向機器102は、接続相手のminimum linksの値がどういう設定値であるかを認識できない。したがって自機器101および対向機器102の各々は、自身の物理リンクの状態のみで論理リンクを判断する。通信可能な物理リンク(UP ports)の数が自機器101のmin-linksの値以上であり、かつ対向機器102のmin-linksの値未満である場合、自機器101は論理リンクを有効化する。しかし、対向機器102では論理リンクが無効状態である。このように接続する機器同士のminimum-links数が異なる場合には、自機器101と対向機器102との間で論理リンクの状態が整合しない可能性がある。 The own device 101 and the opposite device 102 do not exchange minimum links information on LACP packets. In other words, the own device 101 and the opposite device 102 cannot recognize the setting value of the minimum links of the connection partner. Therefore, each of the own device 101 and the opposite device 102 determines the logical link only based on the state of its own physical link. If the number of communicable physical links (UP ports) is greater than or equal to the min-links value of the own device 101 and less than the min-links value of the opposing device 102, the own device 101 enables the logical link. . However, in the opposite device 102, the logical link is in an invalid state. If the number of minimum-links between connected devices differs in this way, there is a possibility that the states of logical links between the own device 101 and the opposing device 102 will not match.

特許文献1に開示された方法によれば、通信可能な状態にある物理リンクの数(ACTOR_CONFIG_NUM_ACTIVE_PORTS)の情報がLACPパケットに埋め込まれる。したがって、ACTOR_CONFIG_NUM_ACTIVE_PORTSの情報を利用することで、自機器および対向機器がお互いの論理リンクの状態を把握できる。しかし、ACTOR_CONFIG_NUM_ACTIVE_PORTS情報は、LACPパケットに新たに定義された情報である。このため、互いに接続された通信機器の両方がACTOR_CONFIG_NUM_ACTIVE_PORTSを理解できなければならない。 According to the method disclosed in Patent Document 1, information on the number of physical links (ACTOR_CONFIG_NUM_ACTIVE_PORTS) in a communicable state is embedded in an LACP packet. Therefore, by using the information of ACTOR_CONFIG_NUM_ACTIVE_PORTS, the own device and the opposite device can grasp the status of each other's logical links. However, ACTOR_CONFIG_NUM_ACTIVE_PORTS information is newly defined information in the LACP packet. Therefore, both communication devices connected to each other must be able to understand ACTOR_CONFIG_NUM_ACTIVE_PORTS.

本実施の形態では、LACPパケットに規定された既存のパラメータを用いて通信機器のステータスを示す。すなわち本実施の形態では、LACPパケットに新たな項目を追加しない。しかし、状態遷移の条件を上述の条件(図5に示した条件)から変更する。これによって、通信機器同士で論理リンクの状態が不整合になることを回避することができる。以下に本実施の形態について詳細に説明する。 In this embodiment, the status of the communication device is indicated using existing parameters defined in the LACP packet. That is, in this embodiment, no new items are added to the LACP packet. However, the conditions for state transition are changed from the conditions described above (the conditions shown in FIG. 5). This makes it possible to avoid mismatching the states of logical links between communication devices. This embodiment will be described in detail below.

(実施の形態1)
図6は、本開示の第1の実施形態に係る最低帯域制御を説明するためのシーケンス図である。一般に、物理リンクが論理リンクのメンバ候補である場合、まずAggregationフラグを有効にし、メンバ候補であることを相手に通知する。この実施の形態では、通信機器は、Aggregationフラグを、通信可能な物理リンクの数が自身のmin-linksの値に達しているか否かを相手の通信機器に知らせるためのフラグとして利用する。相手が、Aggregationフラグを有効にしていない場合、自身の状態遷移を一旦止めて、相手がAggregationフラグを有効にするまで、その状態を保つ。相手からのLACPパケットにおいてAggregationフラグが有効である場合は、自身からのLACPパケットにおいてSynchronizationフラグを有効にするとともに、次の状態に遷移する。
(Embodiment 1)
FIG. 6 is a sequence diagram for explaining minimum bandwidth control according to the first embodiment of the present disclosure. Generally, when a physical link is a member candidate for a logical link, it first enables the aggregation flag and notifies the other party that it is a member candidate. In this embodiment, the communication device uses the Aggregation flag as a flag to notify the other communication device whether the number of communicable physical links has reached its own min-links value. If the other party does not enable the Aggregation flag, it temporarily stops its own state transition and maintains that state until the other party enables the Aggregation flag. If the Aggregation flag is valid in the LACP packet from the other party, the Synchronization flag is valid in the LACP packet from itself, and the device transitions to the next state.

図6に示すように、通信可能な物理リンク(Operational UP ports)の数が装置A(自機器101)のmin-linksの値未満である場合、装置Aから装置B(対向機器102)に送られるLACPパケットにおいて、フラグは有効でない(フラグ無しの状態)。装置B(対向機器102)のmin-linksの値は装置A(自機器101)のmin-linksの値以上である。したがって、対向機器102から自機器101に送られるLACPパケットにおいても、フラグ無しの状態である。 As shown in Figure 6, if the number of communicable physical links (Operational UP ports) is less than the min-links value of device A (own device 101), the data is not sent from device A to device B (opposite device 102). The flag is not valid (state without flag) in the LACP packet that is sent. The value of min-links of device B (opposite device 102) is greater than or equal to the value of min-links of device A (own device 101). Therefore, the LACP packet sent from the opposite device 102 to the own device 101 also has no flag.

通信可能な物理リンクの数が装置A(自機器101)のmin-linksの値以上かつ、装置B(対向機器102)未満である場合、装置Aは自身から送られるLACPパケットにおいて、Aggregationフラグを有効にする。一方、対向機器102から送られるLACPパケットにおいては、フラグ無しの状態である。したがって、この場合、装置Aは、自身の状態遷移を一旦停止する。装置BからのLACPパケットにおいてAggregationフラグが有効になるまで、装置A自身の状態は保たれる。 If the number of communicable physical links is greater than or equal to the min-links value of device A (own device 101) and less than device B (opposite device 102), device A sets the Aggregation flag in the LACP packet sent from itself. To enable. On the other hand, the LACP packet sent from the opposite device 102 has no flag. Therefore, in this case, device A temporarily stops its own state transition. Device A maintains its own state until the Aggregation flag becomes valid in the LACP packet from device B.

装置B(対向機器102)は、装置A(自機器101)からのLACPパケットを確認する。通信可能な物理リンクの数が装置B(対向機器102)のmin-linksの値を上回り、かつ、Aggregationフラグが有効な物理リンクの数が装置Bのmin-linksの値を上回ると、対向機器102はAggregationフラグおよびSynchronizationフラグを有効にする。 Device B (opposite device 102) checks the LACP packet from device A (own device 101). When the number of communicable physical links exceeds the min-links value of device B (opposite device 102) and the number of physical links with valid aggregation flags exceeds the min-links value of device B, the opposing device 102 enables the Aggregation flag and the Synchronization flag.

通信可能な物理リンクの数は装置A(自機器101)のmin-linksの値を上回っている。装置Aは、装置BからのLACPパケットを確認する。Aggregationフラグが有効な物理リンクの数が装置Aのmin-linksの値を上回り、かつ、Synchronizationフラグが有効である物理リンクの数が装置Aのmin-linksの値を上回る。応じて装置Aは、装置Aから送られるLACPパケットにおいて、CollectingフラグとDistributingフラグとを有効にする。 The number of communicable physical links exceeds the min-links value of device A (own device 101). Device A checks the LACP packet from device B. The number of physical links with valid Aggregation flags exceeds the value of min-links of device A, and the number of physical links with valid Synchronization flags exceeds the value of min-links of device A. In response, device A enables the Collecting flag and the Distributing flag in the LACP packet sent from device A.

また、通信可能な物理リンクの数は装置B(対向機器102)のmin-linksの値を上回っている。装置Bは、装置AからのLACPパケットを確認する。Aggregationフラグが有効な物理リンクの数が装置Bのmin-linksの値を上回り、かつ、Synchronizationフラグが有効である物理リンクの数が装置Bのmin-linksの値を上回る。応じて装置Bは、装置Bから送られるLACPパケットにおいて、CollectingフラグとDistributingフラグとを有効にする。 Further, the number of communicable physical links exceeds the min-links value of device B (opposite device 102). Device B checks the LACP packet from device A. The number of physical links with valid Aggregation flags exceeds the value of min-links of device B, and the number of physical links with valid synchronization flags exceeds the value of min-links of device B. In response, device B enables the Collecting flag and the Distributing flag in the LACP packet sent from device B.

図7は、図6に示した制御処理の流れを説明するためのフローチャートである。このフローチャートに示す処理は、たとえば通信システムの立ち上げ時に、自機器101および対向機器102の最低帯域制御部143により実行される。自機器101および対向機器102はともに同じ処理を実行するため、自機器101および対向機器102を「通信機器」と総称する。 FIG. 7 is a flowchart for explaining the flow of the control process shown in FIG. 6. The processing shown in this flowchart is executed by the minimum bandwidth control unit 143 of the own device 101 and the opposite device 102, for example, when starting up the communication system. Since both the own device 101 and the opposite device 102 execute the same processing, the own device 101 and the opposite device 102 are collectively referred to as "communication devices."

図7に示すように、まず制御の開始の時点においてはAggregationフラグは立てられていない。ステップS11において、通信機器は、通信可能な物理リンク(「Oper UPリンク」)の数が自身のmin-linkの値に達したか否かを判定する。Oper UPリンクの数が自身のmin-linkの値に達していない場合(ステップS11においてNO)、ステップS11の判定処理が繰り返される。 As shown in FIG. 7, the aggregation flag is not set at the beginning of control. In step S11, the communication device determines whether the number of communicable physical links (“Oper UP links”) has reached its own min-link value. If the number of Oper UP links has not reached the value of its own min-link (NO in step S11), the determination process in step S11 is repeated.

論理リンクに追加される物理リンクの数が増えることにより、通信可能な物理リンクがmin-linkの値に達する。この場合(ステップS11においてYES)、処理はステップS12に進む。ステップS12において、通信機器は、自身から送信されるLACPパケットのAggregationフラグを立てる。 As the number of physical links added to the logical link increases, the number of communicable physical links reaches the min-link value. In this case (YES in step S11), the process proceeds to step S12. In step S12, the communication device sets the aggregation flag of the LACP packet transmitted from itself.

ステップS13において、通信機器は、相手から受信したLACPパケットを確認する。通信機器は、相手がAggregationフラグを立てた物理リンクの数が自身のmin-linkの数に達しているか否かを判定する。「相手がAggregationフラグを立てた物理リンクの数」とは、Aggregationフラグが有効であるLACPパケットの数である。Aggregationフラグが有効であるLACPパケットの数が自身のmin-linkの数に達していない場合(ステップS13においてNO)、ステップS13の処理が繰り返される。Aggregationフラグが有効であるLACPパケットの数が自身のmin-linkの数に達した場合(ステップS13においてYES)、処理はステップS14に進む。ステップS14において、通信機器は、自身から送るLACPパケットにおいてSynchronizationフラグを立てる。 In step S13, the communication device checks the LACP packet received from the other party. The communication device determines whether the number of physical links for which the other party has set the aggregation flag has reached the number of its own min-links. "The number of physical links for which the other party has set the aggregation flag" is the number of LACP packets for which the aggregation flag is valid. If the number of LACP packets with valid aggregation flags has not reached the number of its own min-links (NO in step S13), the process of step S13 is repeated. If the number of LACP packets with valid aggregation flags reaches the number of its own min-links (YES in step S13), the process proceeds to step S14. In step S14, the communication device sets a Synchronization flag in the LACP packet it sends.

ステップS15において、通信機器は、相手から受信したLACPパケットを確認する。通信機器は、相手がSynchronizationフラグを立てた物理リンクの数が自身のmin-linkの数に達しているか否かを判定する。「相手がSynchronizationフラグを立てた物理リンクの数」とは、Synchronizationフラグが有効であるLACPパケットの数である。Synchronizationフラグが有効であるLACPパケットの数が自身のmin-linkの数に達していない場合(ステップS15においてNO)、ステップS15の処理が繰り返される。Synchronizationフラグが有効であるLACPパケットの数が自身のmin-linkの数に達した場合(ステップS15においてYES)、処理はステップS16に進む。 In step S15, the communication device checks the LACP packet received from the other party. The communication device determines whether the number of physical links on which the other party has set the synchronization flag has reached the number of its own min-links. "The number of physical links for which the other party has set the Synchronization flag" is the number of LACP packets for which the Synchronization flag is valid. If the number of LACP packets with valid synchronization flags has not reached the number of its own min-links (NO in step S15), the process of step S15 is repeated. If the number of LACP packets with valid synchronization flags reaches the number of its own min-links (YES in step S15), the process proceeds to step S16.

ステップS16において、通信機器は自身から送られるLACPパケットにおいてCollectingフラグおよびDistributingフラグを立てるとともに、物理リンクを論理リンクの有効メンバ(通信可能なメンバ)に追加する。 In step S16, the communication device sets a Collecting flag and a Distributing flag in the LACP packet sent from itself, and adds the physical link to the valid members (communicable members) of the logical link.

図8は、論理リンクの有効中に実行される最低帯域制御の例を示したフローチャートである。図8に示すように、論理リンクの有効中に、通信機器は、相手から受信したLACPパケットを確認して、相手がAggregationフラグおよびSynchronizationフラグを立てたリンクの数が、自身のmin-link数に達しているか否かを判定する(ステップS21)。AggregationフラグおよびSynchronizationフラグを立てたリンクの数が、自身のmin-linksの値に達している場合(ステップS21においてYES)、処理はS21に戻される。すなわち論理リンクは有効なままである。一方、相手がAggregationフラグおよびSynchronizationフラグを立てたリンク数が、自身のmin-linksの値に達していない場合(ステップS21においてNO)、処理はステップS22に移る。 FIG. 8 is a flowchart showing an example of minimum bandwidth control executed while a logical link is valid. As shown in Figure 8, while the logical link is valid, the communication device checks the LACP packets received from the other party and determines whether the number of links for which the other party has set the Aggregation flag and Synchronization flag is its own min-link number. It is determined whether it has reached (step S21). If the number of links with the Aggregation flag and the Synchronization flag set has reached the value of its own min-links (YES in step S21), the process returns to S21. That is, the logical link remains valid. On the other hand, if the number of links for which the other party has set the Aggregation flag and the Synchronization flag has not reached the value of its own min-links (NO in step S21), the process moves to step S22.

ステップS22において、通信装置は、自身のLACPパケットにおけるAggregationフラグ、Synchronizationフラグ、Collectingフラグ、Distributingフラグをリセットして論理リンクを無効化する。そして、図7に従うフローに従って、論理リンクの構築をやり直す。 In step S22, the communication device resets the Aggregation flag, Synchronization flag, Collecting flag, and Distribution flag in its own LACP packet to invalidate the logical link. Then, the logical link is constructed again according to the flow shown in FIG.

実施の形態1によれば、互いに接続される通信機器は、お互いのminimum links数を把握していなくてもよい。相手から送られるLACPパケットのフラグを確認することによって、通信機器は、物理リンクの数が相手のminimum links数に達したかどうかを把握できる。通信機器間で異なるmin-links数が設定されていても、2つのmin-links数のうちの大きい方の値を満たすまで論理リンクは有効にならない。したがって、2つの通信機器のうちの一方では論理リンクが有効状態となり、他方では論理リンクが無効状態になるという不整合状態を回避することができる。すなわち、2つの通信機器の間で論理リンクの状態を整合させることができる。 According to the first embodiment, communication devices connected to each other do not need to know each other's minimum number of links. By checking the flag of the LACP packet sent from the other party, the communication device can determine whether the number of physical links has reached the minimum number of links of the other party. Even if different min-links numbers are set between communication devices, the logical link will not become valid until the larger of the two min-links numbers is satisfied. Therefore, it is possible to avoid an inconsistent state in which a logical link is enabled in one of the two communication devices and disabled in the other. That is, it is possible to match the states of logical links between two communication devices.

(実施の形態2)
実施の形態2では、Aggregationフラグを該当の物理リンクがアグリゲーション可能であること、すなわちリンクアグリゲーションの候補となり得るリンクであることを示すという意味で使用する。
(Embodiment 2)
In the second embodiment, the aggregation flag is used to indicate that the corresponding physical link is capable of aggregation, that is, that it is a link that can be a candidate for link aggregation.

図9は、本開示の第2の実施形態に係る最低帯域制御を説明するためのシーケンス図である。通信可能な物理リンク(Operational UP ports)の数が装置A(自機器101)のmin-linksの値および装置B(対向機器102)のmin-linksの値のいずれよりも小さい。この場合において、装置Aから装置Bに送られるLACPパケット、および装置Bから装置Aに送られるLACPパケットのいずれにおいてもAggregationフラグが有効である。 FIG. 9 is a sequence diagram for explaining minimum bandwidth control according to the second embodiment of the present disclosure. The number of communicable physical links (Operational UP ports) is smaller than both the min-links value of device A (own device 101) and the min-links value of device B (opposite device 102). In this case, the Aggregation flag is valid in both the LACP packet sent from device A to device B and the LACP packet sent from device B to device A.

次に、通信可能な物理リンクの数が装置A(自機器101)のmin-linksの値以上かつ、装置B(対向機器102)のmin-linksの値未満である場合、装置Aは、装置Aから装置Bに送られるLACPパケットにおいて、CollectingフラグとDistributingフラグとを有効にする。一方、装置Bから装置Aに送られるLACPパケットにおいては、Aggregationフラグが有効であるものの、CollectingフラグおよびDistributingフラグは無効である。 Next, if the number of communicable physical links is greater than or equal to the min-links value of device A (own device 101) and less than the min-links value of device B (opposite device 102), device A In the LACP packet sent from device A to device B, enable the Collecting flag and the Distributing flag. On the other hand, in the LACP packet sent from device B to device A, the Aggregation flag is valid, but the Collecting flag and the Distribution flag are invalid.

次に、通信可能な物理リンクの数が装置Aのmin-linksの値および、装置Bのmin-linksの値の両方を上回る。装置Bは、自身から送られるLACPパケットにおいて、CollectingフラグおよびDistributingフラグを有効にする。 Next, the number of communicable physical links exceeds both the min-links value of device A and the min-links value of device B. Device B enables the Collecting flag and the Distributing flag in the LACP packet sent from itself.

さらに、装置Bは、装置Aから送られるLACPパケットを確認する。CollectingフラグおよびDistributingフラグ有効であるリンクの数が、装置Bのmin-linksの数以上である場合には、装置Bは、装置Bから送られるLACPパケットにおいて、Synchronizationフラグを有効にする。 Furthermore, device B checks the LACP packet sent from device A. If the number of links for which the Collecting flag and the Distributing flag are enabled is greater than or equal to the number of min-links of device B, device B enables the Synchronization flag in the LACP packet sent from device B.

同様に、装置Aは、装置Bから送られるLACPパケットを確認する。CollectingフラグおよびDistributingフラグ有効であるリンクの数が、装置Aのmin-linksの数以上である場合には、装置Aは、装置Aから送られるLACPパケットにおいて、Synchronizationフラグを有効にする。 Similarly, device A checks LACP packets sent from device B. If the number of links for which the Collecting flag and the Distributing flag are enabled is greater than or equal to the number of min-links of device A, device A enables the Synchronization flag in the LACP packet sent from device A.

図10は、図9に示した制御処理の流れを説明するためのフローチャートである。このフローチャートに示す処理は、たとえば通信システムの立ち上げ時に、自機器101および対向機器102の最低帯域制御部143により実行される。図7の説明と同様に、自機器101および対向機器102はともに同じ処理を実行するため、自機器101および対向機器102を「通信機器」と総称する。 FIG. 10 is a flowchart for explaining the flow of the control process shown in FIG. The processing shown in this flowchart is executed by the minimum bandwidth control unit 143 of the own device 101 and the opposite device 102, for example, when starting up the communication system. Similar to the explanation of FIG. 7, since both the own device 101 and the opposite device 102 execute the same process, the own device 101 and the opposite device 102 are collectively referred to as a "communication device."

制御の開始の時点において、Aggregationフラグは有効である。ステップS31において、通信機器は、通信可能な物理リンク(「Oper UPリンク」)の数が自身のmin-linkの値に達したか否かを判定する。Oper UPリンクの数が自身のmin-linkの値に達していない場合(ステップS31においてNO)、ステップS31の判定処理が繰り返される。 The Aggregation flag is valid at the start of control. In step S31, the communication device determines whether the number of communicable physical links (“Oper UP links”) has reached its own min-link value. If the number of Oper UP links has not reached the value of its own min-link (NO in step S31), the determination process in step S31 is repeated.

論理リンクに追加される物理リンクの数が増えることにより、通信可能な物理リンクがmin-linkの値に達する。この場合(ステップS31においてYES)、処理はステップS32に進む。ステップS32において、通信機器は、自身から送信されるLACPパケットのCollectingフラグおよびDistributingフラグを立てる。 As the number of physical links added to the logical link increases, the number of communicable physical links reaches the min-link value. In this case (YES in step S31), the process proceeds to step S32. In step S32, the communication device sets the Collecting flag and Distribution flag of the LACP packet transmitted from itself.

ステップS33において、通信機器は、相手から受信したLACPパケットを確認する。通信機器は、相手がCollectingフラグおよびDistributingフラグの両方を立てた物理リンクの数が自身のmin-linkの数に達しているか否かを判定する。「相手がCollectingフラグおよびDistributingフラグの両方を立てた物理リンクの数」とは、CollectingフラグおよびDistributingフラグの両方が有効であるLACPパケットの数である。CollectingフラグおよびDistributingフラグの両方が有効であるLACPパケットの数が自身のmin-linkの数に達していない場合(ステップS33においてNO)、ステップS33の処理が繰り返される。CollectingフラグおよびDistributingフラグの両方が有効であるLACPパケットの数が自身のmin-linkの数に達した場合(ステップS33においてYES)、処理はステップS34に進む。ステップS34において、通信機器は、自身から送るLACPパケットにおいてSynchronizationフラグを立てる。 In step S33, the communication device checks the LACP packet received from the other party. The communication device determines whether the number of physical links on which the other party has set both the Collecting flag and the Distributing flag has reached the number of its own min-links. "The number of physical links on which the other party has set both the Collecting flag and the Distributing flag" is the number of LACP packets for which both the Collecting flag and the Distributing flag are valid. If the number of LACP packets for which both the Collecting flag and the Distributing flag are valid has not reached the number of its own min-links (NO in step S33), the process of step S33 is repeated. If the number of LACP packets for which both the Collecting flag and the Distributing flag are valid reaches the number of its own min-links (YES in step S33), the process proceeds to step S34. In step S34, the communication device sets a Synchronization flag in the LACP packet it sends.

ステップS35において、通信機器は、相手から受信したLACPパケットを確認する。通信機器は、自機器101は、対向機器102から受信したLACPを確認して、相手がSynchronizationフラグを立てた物理リンクの数が自身のmin-linkの数に達しているか否かを判断する。「相手がSynchronizationフラグを立てた物理リンクの数」とは、Synchronizationフラグが有効であるLACPパケットの数である。Synchronizationフラグが有効であるLACPパケットの数が自身のmin-linkの数に達していない場合(ステップS35においてNO)、ステップS35の処理が繰り返される。 In step S35, the communication device checks the LACP packet received from the other party. The communication device 101 checks the LACP received from the opposite device 102 and determines whether the number of physical links for which the other party has set the synchronization flag has reached the number of its own min-links. "The number of physical links for which the other party has set the Synchronization flag" is the number of LACP packets for which the Synchronization flag is valid. If the number of LACP packets with valid synchronization flags has not reached the number of its own min-links (NO in step S35), the process of step S35 is repeated.

Synchronizationフラグが有効であるLACPパケットの数が自身のmin-linkの数に達した場合(ステップS35においてYES)、処理はステップS36に進む。ステップS36において、物理リンクを論理リンクの有効メンバ(通信可能なメンバ)に追加する。 If the number of LACP packets with valid synchronization flags reaches the number of its own min-links (YES in step S35), the process proceeds to step S36. In step S36, the physical link is added to the valid members (communicable members) of the logical link.

図11は、本開示の実施の形態2において、論理リンクの有効中に実行される最低帯域制御の例を示したフローチャートである。図11に示した処理のフローは、基本的に、図8に示したフローと同じである。論理リンクの有効中に、通信機器は、相手から受信したLACPパケットを確認して、相手がSynchronizationフラグ、CollectingフラグおよびDistributingフラグを立てたリンクの数が、自身のmin-link数に達しているか否かを判定する(ステップS41)。Synchronizationフラグ、CollectingフラグおよびDistributingフラグを立てたリンクの数が、自身のmin-link数に達している場合(ステップS41においてYES)、処理はS41に戻される。すなわち論理リンクは有効なままである。一方、相手がSynchronizationフラグ、CollectingフラグおよびDistributingフラグを立てたリンク数が、自身のmin-linksの値に達していない場合(ステップS41においてNO)、処理はステップS42に移る。 FIG. 11 is a flowchart illustrating an example of minimum bandwidth control executed while a logical link is valid in Embodiment 2 of the present disclosure. The processing flow shown in FIG. 11 is basically the same as the flow shown in FIG. 8. While the logical link is valid, the communication device checks the LACP packets received from the other party and determines whether the number of links on which the other party has set the Synchronization flag, Collecting flag, and Distribution flag has reached its own min-link number. It is determined whether or not (step S41). If the number of links with the Synchronization flag, Collecting flag, and Distribution flag set has reached its own min-link number (YES in step S41), the process returns to S41. That is, the logical link remains valid. On the other hand, if the number of links for which the other party has set the Synchronization flag, Collecting flag, and Distribution flag has not reached the value of its own min-links (NO in step S41), the process moves to step S42.

ステップS42において、通信装置は、自身のLACPパケットにおけるAggregationフラグ、Synchronizationフラグ、Collectingフラグ、Distributingフラグをリセットして論理リンクを無効化する。そして、図9に従うフローに従って、論理リンクの構築をやり直す。 In step S42, the communication device resets the Aggregation flag, Synchronization flag, Collecting flag, and Distribution flag in its own LACP packet to invalidate the logical link. Then, the logical link is constructed again according to the flow shown in FIG.

実施の形態2においても、互いに接続される通信機器は、お互いのmin-imum links数を把握していなくてもリンク数が相手のminimum links数に達しているかどうかを把握できる。さらに、通信機器間で異なるmin-links数が設定されていても、機器間で異なるmin-linksを設定していたとしても、2つのmin-links数のうちの大きい方の値が必ず採用される。したがって一方の機器では論理リンクが有効状態、もう一方では論理リンクが無効状態という不整合を回避することができる。 In the second embodiment as well, communication devices connected to each other can know whether the number of links has reached the minimum number of links of the other party, even if they do not know each other's minimum number of links. Furthermore, even if different numbers of min-links are set between communication devices, even if different min-links are set between devices, the larger value of the two numbers of min-links will always be adopted. Ru. Therefore, it is possible to avoid an inconsistency where one device has a logical link in a valid state and the other device has a logical link in an invalid state.

(実施の形態3)
実施の形態1に係る最低帯域制御と実施の形態2に係る最低帯域制御とを組み合わせてもよい。自機器101および対向機器102の各々の最低帯域制御部143は、LACPパケットを送信可能な状態にある物理リンクの数が、通信装置の最低帯域に相当するリンク数に達しているか否かを相手に通知するための第1のモードおよび第2のモードを有する。第1のモードでは、ステップS11~S16(図8を参照)の処理が実行される。第2のモードでは、ステップS31~S36の処理(図10を参照)が実行される。最低帯域制御部143は、第1のモードおよび第2のモードの中からモードを選択して、そのモードに従って最低帯域制御のための処理を実行する。
(Embodiment 3)
The minimum bandwidth control according to the first embodiment and the minimum bandwidth control according to the second embodiment may be combined. The minimum bandwidth control unit 143 of each of the own device 101 and the opposite device 102 determines whether the number of physical links that are ready to transmit LACP packets has reached the number of links corresponding to the minimum bandwidth of the communication device. has a first mode and a second mode for notifying. In the first mode, the processes of steps S11 to S16 (see FIG. 8) are executed. In the second mode, the processes of steps S31 to S36 (see FIG. 10) are executed. The minimum bandwidth control unit 143 selects a mode from the first mode and the second mode, and executes processing for minimum bandwidth control according to the selected mode.

図12は、本開示の実施の形態3に係る最低帯域制御の例を示したフローチャートである。たとえば開始後に最低帯域制御部143は、第1のモードを選択する。これによりステップS100の処理が実行される。ステップS100では、ステップS11~S16(図8を参照)の処理が実行される。ステップS16まで正常に処理が進んだ場合には、最低帯域制御が正常に終了する。しかし、ステップS11~S16のいずれかのステップの処理においてタイムアウトが発生した場合に、処理がステップS200に遷移してもよい。この場合、最低帯域制御部143は、第2のモードに従って最低帯域制御のための処理を実行する。 FIG. 12 is a flowchart illustrating an example of minimum bandwidth control according to Embodiment 3 of the present disclosure. For example, after starting, the lowest bandwidth control unit 143 selects the first mode. As a result, the process of step S100 is executed. In step S100, the processes of steps S11 to S16 (see FIG. 8) are executed. If the process progresses normally to step S16, the minimum bandwidth control ends normally. However, if a timeout occurs in the processing of any of steps S11 to S16, the processing may transition to step S200. In this case, the minimum bandwidth control unit 143 executes processing for minimum bandwidth control according to the second mode.

ステップS200では、ステップS31~S36の処理(図10を参照)が実行される。ステップS36まで正常に処理が進んだ場合には、最低帯域制御が正常に終了する。しかしステップS31~S36のいずれかのステップの処理においてタイムアウトが発生した場合に、処理がステップS100に遷移してもよい。また、ステップS100から処理が開始されるとしたが、ステップS200から処理が開始されてもよい。 In step S200, the processes of steps S31 to S36 (see FIG. 10) are executed. If the process progresses normally to step S36, the minimum bandwidth control ends normally. However, if a timeout occurs in the processing of any of steps S31 to S36, the processing may transition to step S100. Further, although the processing is started from step S100, the processing may be started from step S200.

このように実施の形態3によれば、通信装置が最低帯域制御のための2つのモードを有することにより、接続相手に応じたより柔軟な制御が可能となる。 As described above, according to the third embodiment, since the communication device has two modes for minimum bandwidth control, more flexible control depending on the connection partner is possible.

上述の各実施の形態によれば、LACPパケット内のフラグがもつ意味を、既存の定義から拡張する。これにより、LACPパケット内に新たなパラメータを定義する必要がなく、自身と相手との間で最低帯域(minimum Links)を満足しているかどうかの情報を交換できる。さらに、本実施の形態では、LACPパケットのフラグに基づく処理のロジックを定義することにより、接続する機器の一方では、論理リンクが有効状態であり、他方では論理リンクが無効状態であるという不整合な状態を回避することができる。 According to each of the embodiments described above, the meanings of flags in LACP packets are expanded from existing definitions. This eliminates the need to define new parameters in the LACP packet, and allows information to be exchanged between itself and the other party as to whether the minimum bandwidth (minimum links) is satisfied. Furthermore, in this embodiment, by defining the processing logic based on the flag of the LACP packet, it is possible to create an inconsistency in which one of the connected devices has a logical link in a valid state and the other has a logical link in an invalid state. situation can be avoided.

さらに上述の各実施の形態によれば、minimum links機能を有しない機器(minimum links機能を有しない場合、minimum links=1と実質的に同等の動作をする)と、minimum links機能を有する機器とを接続することができる。接続された機器の間では、大きい方のminimum linksの値を満たすまで論理リンクは有効にならない。したがって、minimum links機能を有しない機器とminimum links機能を有する機器とを接続した場合でも、minimum links機能を提供できる。また、2つの機器のうち一方にのみminimum linksを設定した場合にも、minimum links機能を提供できる。これにより、オペレータが機器の設定を行う際に、オペレータの操作手順を減らすことができる。 Furthermore, according to each of the above-described embodiments, a device that does not have a minimum links function (if it does not have a minimum links function, it operates substantially the same as minimum links = 1) and a device that has a minimum links function. can be connected. Logical links are not enabled between connected devices until the larger minimum links value is met. Therefore, even when a device without a minimum links function and a device with a minimum links function are connected, the minimum links function can be provided. Furthermore, even if minimum links are set on only one of two devices, the minimum links function can be provided. Thereby, when the operator sets up the equipment, the operator's operation steps can be reduced.

今回開示された実施の形態はすべての点で例示であって、制限的なものではないと考えられるべきである。本発明の範囲は上記した実施の形態ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味、および範囲内でのすべての変更が含まれることが意図される。 The embodiments disclosed herein are illustrative in all respects and should be considered not to be restrictive. The scope of the present invention is indicated by the claims rather than the embodiments described above, and it is intended that equivalent meanings to the claims and all changes within the scope are included.

10 通信システム
20-1,20-2,20-3,30-1,30-2,30-3,40-1,40-2,40-3 物理リンク
21,110 論理リンク
101 自機器
102 対向機器
111,112,113 ネットワーク側ポート
120 データ通信制御部
131,132,133 ユーザ側ポート
140 LACP制御部
141 パケット生成部
142 パケット受信処理部
143 最低帯域制御部
145 パケット送受信部
S11~S16,S21,S22,S31~S36,S41,S42,S100,S200 ステップ
10 Communication system 20-1, 20-2, 20-3, 30-1, 30-2, 30-3, 40-1, 40-2, 40-3 Physical link 21, 110 Logical link 101 Own device 102 Opposite Devices 111, 112, 113 Network side port 120 Data communication control section 131, 132, 133 User side port 140 LACP control section 141 Packet generation section 142 Packet reception processing section 143 Minimum bandwidth control section 145 Packet transmission/reception section S11 to S16, S21, S22, S31 to S36, S41, S42, S100, S200 steps

Claims (15)

複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、
前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、
前記LACPパケットに基づいて前記論理リンクの有効化を判断する最低帯域制御部とを含み、
前記最低帯域制御部は、前記LACPパケットを送信可能な状態にある物理リンクの数が、前記通信装置の最低帯域に相当するリンク数に達しているか否かを、前記LACPパケットに含まれるAggregationフラグによって対向装置に通知する、通信装置。
A communication device that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol),
an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling the link aggregation according to the LACP;
a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet,
The minimum bandwidth control unit determines whether the number of physical links in a state in which the LACP packet can be transmitted has reached the number of links corresponding to the minimum bandwidth of the communication device, based on an Aggregation flag included in the LACP packet. A communication device that notifies the opposite device by.
前記最低帯域制御部は、前記対向装置からのLACPパケットを受信して、前記受信したLACPパケットに含まれる前記Aggregationフラグにより、前記対向装置が前記LACPパケットを送信可能な状態にある物理リンクの数が前記通信装置の前記最低帯域に相当するリンク数に達していると判定した場合には、前記通信装置からの前記LACPパケットにおいて、Synchronizationフラグを有効にする、請求項1に記載の通信装置。 The minimum bandwidth control unit receives the LACP packet from the opposite device, and determines the number of physical links on which the opposite device is in a state in which the LACP packet can be transmitted, based on the Aggregation flag included in the received LACP packet. The communication device according to claim 1, wherein when it is determined that the number of links has reached the number of links corresponding to the minimum bandwidth of the communication device, a synchronization flag is enabled in the LACP packet from the communication device. 複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、
前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、
前記LACPパケットに基づいて前記論理リンクの有効化を判断する最低帯域制御部とを含み、
前記最低帯域制御部は、前記LACPパケットを送信可能な状態にある物理リンクの数が、前記通信装置の最低帯域に相当するリンク数に達しているか否かを、前記LACPパケットに含まれるCollectingフラグおよびDistributingフラグにより、対向装置に通知する、通信装置。
A communication device that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol),
an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling the link aggregation according to the LACP;
a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet,
The minimum bandwidth control unit determines whether the number of physical links in a state in which the LACP packet can be transmitted has reached the number of links corresponding to the minimum bandwidth of the communication device, based on a Collecting flag included in the LACP packet. A communication device that notifies the opposite device using the Distributing flag.
前記最低帯域制御部は、前記対向装置からのLACPパケットを受信して、前記受信したLACPパケットに含まれる前記Collectingフラグおよび前記Distributingフラグにより、前記対向装置が前記LACPパケットを送信可能な状態にある物理リンクの数が前記通信装置の前記最低帯域に相当するリンク数に達していると判定した場合には、前記通信装置からの前記LACPパケットにおいて、Synchronizationフラグを有効にする、請求項3に記載の通信装置。 The minimum bandwidth control unit receives the LACP packet from the opposite device, and is in a state where the opposite device can transmit the LACP packet according to the Collecting flag and the Distributing flag included in the received LACP packet. According to claim 3, when it is determined that the number of physical links has reached the number of links corresponding to the minimum bandwidth of the communication device, a synchronization flag is enabled in the LACP packet from the communication device. communication equipment. 前記最低帯域制御部は、前記対向装置からの前記LACPパケットを受信して、前記受信したLACPパケットに含まれる前記Synchronizationフラグにより、前記対向装置が前記LACPパケットを送信可能な状態にある物理リンクの数が前記通信装置の前記最低帯域に相当するリンク数に達していると判定した場合には、前記物理リンクを前記論理リンクの有効メンバに追加する、請求項2または請求項4に記載の通信装置。 The minimum bandwidth control unit receives the LACP packet from the opposite device, and determines, based on the Synchronization flag included in the received LACP packet, a physical link in which the opposite device is in a state in which the LACP packet can be transmitted. The communication method according to claim 2 or 4 , wherein when it is determined that the number of links has reached the number of links corresponding to the minimum bandwidth of the communication device, the physical link is added to the valid members of the logical link. Device. 前記最低帯域制御部は、前記論理リンクの有効な状態において、前記対向装置からのLACPパケットにおいて、前記Aggregationフラグおよび前記Synchronizationフラグの両方が有効な物理リンクの数が、前記通信装置の前記最低帯域に対応するリンク数に満たないと判定した場合には、前記論理リンクを無効化して前記論理リンクを再構築する、請求項2に記載の通信装置。 The minimum bandwidth control unit may be arranged such that, in a valid state of the logical link, the number of physical links in which both the Aggregation flag and the Synchronization flag are valid in the LACP packet from the opposite device is equal to the minimum bandwidth of the communication device. 3. The communication device according to claim 2 , wherein if it is determined that the number of links is less than the number of links corresponding to , the communication device disables the logical link and reconstructs the logical link. 前記最低帯域制御部は、前記対向装置から送られたLACPパケットを受信して、前記受信したLACPパケットに含まれる前記Synchronizationフラグ、前記Collectingフラグ、および前記Distributingフラグに関連付けられた物理リンクの数が、前記通信装置の前記最低帯域に対応するリンク数に満たないと判定した場合には、前記論理リンクを無効化して前記論理リンクを再構築する、請求項4に記載の通信装置。 The minimum bandwidth control unit receives the LACP packet sent from the opposite device, and determines the number of physical links associated with the Synchronization flag, the Collecting flag, and the Distributing flag included in the received LACP packet. 5. The communication device according to claim 4 , wherein when it is determined that the number of links is less than the number of links corresponding to the lowest bandwidth of the communication device, the communication device disables the logical link and reconstructs the logical link. 複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置であって、
前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、
前記LACPパケットに基づいて前記論理リンクの有効化を判断する最低帯域制御部とを含み、
前記最低帯域制御部は、前記LACPパケットを送信可能な状態にある物理リンクの数が、前記通信装置の最低帯域に相当するリンク数に達しているか否かを対向装置に通知するための第1のモードおよび第2のモードを有し、
前記第1のモードは、前記LACPパケットに含まれるAggregationフラグによって、
前記送信可能な状態にある前記物理リンクの数が、前記通信装置の前記最低帯域に相当するリンク数に達していることを前記対向装置に通知するモードであり、
前記第2のモードは、前記LACPパケットに含まれるCollectingフラグおよびDistributingフラグによって、前記送信可能な状態にある前記物理リンクの数が、前記通信装置の前記最低帯域に相当するリンク数に達していることを前記対向装置に通知するモードである、通信装置。
A communication device that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol),
an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling the link aggregation according to the LACP;
a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet,
The minimum bandwidth control unit includes a first controller for notifying the opposing device whether the number of physical links in a state in which the LACP packet can be transmitted has reached the number of links corresponding to the minimum bandwidth of the communication device. mode and a second mode,
The first mode is based on the Aggregation flag included in the LACP packet.
A mode in which the opposing device is notified that the number of physical links in the transmittable state has reached the number of links corresponding to the minimum bandwidth of the communication device,
In the second mode, the number of physical links in the transmittable state has reached the number of links corresponding to the minimum bandwidth of the communication device, according to a Collecting flag and a Distributing flag included in the LACP packet. The communication device is in a mode of notifying the opposing device of the above.
複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、
前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、前記通信装置の最低帯域に相当するリンク数に達しているか否かを判定するステップと、
前記送信可能な状態にある物理リンクの数が、前記通信装置の前記最低帯域に相当するリンク数に達している場合に、前記LACPパケットに含まれるAggregationフラグを有効にするステップとを備える、通信装置の制御方法。
A communication device control method that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol), the method comprising:
determining whether the number of physical links that are ready to transmit LACP packets for controlling the link aggregation according to the LACP has reached the number of links corresponding to the minimum bandwidth of the communication device;
the step of validating an aggregation flag included in the LACP packet when the number of physical links in the transmittable state reaches the number of links corresponding to the minimum bandwidth of the communication device. How to control the device.
複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、
前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、前記通信装置の最低帯域に相当するリンク数に達しているか否かを判定するステップと、
前記送信可能な状態にある物理リンクの数が、前記通信装置の前記最低帯域に相当するリンク数に達している場合に、前記LACPパケットに含まれるCollectingフラグおよびDistributingフラグを有効にするステップとを備える、通信装置の制御方法。
A communication device control method that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol), the method comprising:
determining whether the number of physical links that are ready to transmit LACP packets for controlling the link aggregation according to the LACP has reached the number of links corresponding to the minimum bandwidth of the communication device;
the step of validating a Collecting flag and a Distributing flag included in the LACP packet when the number of physical links in the transmittable state has reached the number of links corresponding to the minimum bandwidth of the communication device; A method for controlling a communication device.
複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、
第1のモードおよび第2のモードのいずれか一方を選択するステップと、
選択されたモードに従って前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送信可能な状態にある物理リンクの数が、前記通信装置の最低帯域に相当するリンク数に達していることを通知するステップとを備え、
前記第1のモードは、前記LACPパケットに含まれるAggregationフラグによって、前記送信可能な状態にある前記物理リンクの数が、前記通信装置の前記最低帯域に相当するリンク数に達していることを対向装置に通知するモードであり、
前記第2のモードは、前記LACPパケットに含まれるCollectingフラグおよびDistributingフラグによって、前記送信可能な状態にある前記物理リンクの数が、前記通信装置の前記最低帯域に相当するリンク数に達していることを前記対向装置に通知するモードである、通信装置の制御方法。
A communication device control method that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol), the method comprising:
selecting one of the first mode and the second mode;
Notify that the number of physical links that are ready to transmit LACP packets for controlling the link aggregation according to the LACP according to the selected mode has reached the number of links corresponding to the minimum bandwidth of the communication device. Equipped with a step,
In the first mode, an Aggregation flag included in the LACP packet indicates that the number of physical links in the transmittable state has reached the number of links corresponding to the minimum bandwidth of the communication device. This is the mode to notify the destination device.
In the second mode, the number of physical links in the transmittable state has reached the number of links corresponding to the minimum bandwidth of the communication device, according to a Collecting flag and a Distributing flag included in the LACP packet. A method for controlling a communication device, the mode being a mode for notifying the opposing device of the above.
各々が複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する第1の通信装置および第2の通信装置を備え、
前記第1の通信装置および前記第2の通信装置の各々は、
前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、
前記LACPパケットに基づいて前記論理リンクの有効化を判断する最低帯域制御部とを含み、
前記第1の通信装置および前記第2の通信装置のうちの一方の前記最低帯域制御部は、前記LACPパケットを送信可能な状態にある物理リンクの数が、各々の通信装置の最低帯域に相当するリンク数に達しているか否かを、前記LACPパケットに含まれるAggregationフラグによって、前記第1の通信装置および前記第2の通信装置のうちの他方である対向装置に通知する、通信システム。
A first communication device and a second communication device each dynamically controlling link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol),
Each of the first communication device and the second communication device,
an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling the link aggregation according to the LACP;
a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet,
The minimum bandwidth control unit of one of the first communication device and the second communication device is configured such that the number of physical links in a state capable of transmitting the LACP packet corresponds to the minimum bandwidth of each communication device. A communication system that notifies the opposite device , which is the other one of the first communication device and the second communication device, of whether or not the number of links has reached the maximum number of links.
各々が複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する第1の通信装置および第2の通信装置を備え、
前記第1の通信装置および前記第2の通信装置の各々は、
前記LACPに従う前記リンクアグリゲーションの制御のためのLACPパケットを送受信するLACPパケット送受信部と、
前記LACPパケットに基づいて前記論理リンクの有効化を判断する最低帯域制御部とを含み、
前記第1の通信装置および前記第2の通信装置のうちの一方の前記最低帯域制御部は、前記LACPパケットを送信可能な状態にある物理リンクの数が、各々の通信装置の最低帯域に相当するリンク数に達しているか否かを、前記LACPパケットに含まれるCollectingフラグおよびDistributingフラグにより、前記第1の通信装置および前記第2の通信装置のうちの他方である対向装置に通知する、通信システム。
A first communication device and a second communication device each dynamically controlling link aggregation that bundles a plurality of physical links into one logical link according to LACP (Link Aggregation Control Protocol),
Each of the first communication device and the second communication device,
an LACP packet transmitting/receiving unit that transmits and receives LACP packets for controlling the link aggregation according to the LACP;
a minimum bandwidth control unit that determines the validity of the logical link based on the LACP packet,
The minimum bandwidth control unit of one of the first communication device and the second communication device is configured such that the number of physical links in a state capable of transmitting the LACP packet corresponds to the minimum bandwidth of each communication device. communication, in which the opposing device , which is the other one of the first communication device and the second communication device, is notified of whether or not the number of links has reached the maximum number of links. system.
複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、
前記通信装置から対向装置に送信されLACPパケットにおいてAggregationフラグを有効にするステップと、
前記対向装置から前記通信装置が受信したLACPパケットにおいてAggregationフラグが有効であることにより、前記通信装置から送信されLACPパケットにおいてSynchronizationフラグを有効にするステップと、
前記Synchronizationフラグを有効にするステップの後に前記対向装置から前記通信装置が受信したLACPパケットにおいてSynchronizationフラグが有効であることにより、前記通信装置から送信されLACPパケットにおいてCollectingフラグおよびDistributingフラグを有効にするステップとを備える、通信装置の制御方法。
A communication device control method that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol), the method comprising:
enabling an Aggregation flag in an LACP packet transmitted from the communication device to the opposite device ;
The Aggregation flag is valid in the LACP packet received by the communication device from the opposite device, thereby validating the Synchronization flag in the LACP packet transmitted from the communication device;
Since the Synchronization flag is enabled in the LACP packet received by the communication device from the opposite device after the step of enabling the Synchronization flag, the Collecting flag and the Distributing flag are set in the LACP packet transmitted from the communication device . A method for controlling a communication device, comprising: enabling a communication device.
複数の物理リンクを1つの論理リンクに束ねるリンクアグリゲーションを、LACP(Link Aggregation Control Protocol)に従って動的に制御する通信装置の制御方法であって、
前記通信装置から対向装置に送信されるLACPパケットにおいて、Aggregationフラグを有効にするステップと、
前記対向装置から前記通信装置が受信したLACPパケットにおいてAggregationフラグが有効であることにより、前記通信装置から送信されるLACPパケットにおいてCollectingフラグおよびDistributingフラグを有効にするステップと、
前記CollectingフラグおよびDistributingフラグを有効にするステップの後に前記対向装置から前記通信装置が受信したLACPパケットにおいてCollectingフラグおよびDistributingフラグが有効であることにより、前記通信装置から送信されるLACPパケットにおいてSynchronizationフラグを有効にするステップとを備える、通信装置の制御方法。
A communication device control method that dynamically controls link aggregation that bundles multiple physical links into one logical link according to LACP (Link Aggregation Control Protocol), the method comprising:
enabling an Aggregation flag in the L ACP packet transmitted from the communication device to the opposite device ;
The Aggregation flag is valid in the LACP packet received by the communication device from the opposite device, so that a Collecting flag and a Distribution flag are enabled in the LACP packet transmitted from the communication device;
Since the Collecting flag and the Distributing flag are valid in the LACP packet received by the communication device from the opposite device after the step of validating the Collecting flag and the Distributing flag, the Collecting flag and the Distributing flag are enabled in the LACP packet transmitted from the communication device . A method for controlling a communication device, comprising: enabling a Synchronization flag in a communication device.
JP2019194116A 2019-10-25 2019-10-25 Communication device, control method for communication device, and communication system Active JP7342611B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019194116A JP7342611B2 (en) 2019-10-25 2019-10-25 Communication device, control method for communication device, and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019194116A JP7342611B2 (en) 2019-10-25 2019-10-25 Communication device, control method for communication device, and communication system

Publications (2)

Publication Number Publication Date
JP2021069039A JP2021069039A (en) 2021-04-30
JP7342611B2 true JP7342611B2 (en) 2023-09-12

Family

ID=75637712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019194116A Active JP7342611B2 (en) 2019-10-25 2019-10-25 Communication device, control method for communication device, and communication system

Country Status (1)

Country Link
JP (1) JP7342611B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2023275961A1 (en) * 2021-06-29 2023-01-05

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010199890A (en) 2009-02-24 2010-09-09 Nippon Telegr & Teleph Corp <Ntt> Method, device and program for processing link aggregation for transferring routing protocol packet
CN103780472A (en) 2014-01-06 2014-05-07 杭州华三通信技术有限公司 Selected port management method and device of aggregate port group
JP2016046638A (en) 2014-08-21 2016-04-04 日本電信電話株式会社 Router, communication system, and link switching method
JP2017038282A (en) 2015-08-11 2017-02-16 日立金属株式会社 Relay device and relay system
US20170063672A1 (en) 2015-08-28 2017-03-02 Ciena Corporation Methods and systems to select active and standby ports in link aggregation groups

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8243594B1 (en) * 2007-12-10 2012-08-14 Force10 Networks, Inc. Coordinated control of multiple parallel links or link aggregations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010199890A (en) 2009-02-24 2010-09-09 Nippon Telegr & Teleph Corp <Ntt> Method, device and program for processing link aggregation for transferring routing protocol packet
CN103780472A (en) 2014-01-06 2014-05-07 杭州华三通信技术有限公司 Selected port management method and device of aggregate port group
JP2016046638A (en) 2014-08-21 2016-04-04 日本電信電話株式会社 Router, communication system, and link switching method
JP2017038282A (en) 2015-08-11 2017-02-16 日立金属株式会社 Relay device and relay system
US20170063672A1 (en) 2015-08-28 2017-03-02 Ciena Corporation Methods and systems to select active and standby ports in link aggregation groups

Also Published As

Publication number Publication date
JP2021069039A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US10069765B2 (en) Interface bundles in virtual network devices
US8166187B2 (en) Distributed IP gateway based on sharing a MAC address and IP address concurrently between a first network switching device and a second network switching device
EP1741239B1 (en) Intelligent adjunct network device
JP6007976B2 (en) Communication system, controller, communication method and program
US8839023B2 (en) Transmitting network information using link or port aggregation protocols
US20120170477A1 (en) Computer, communication system, network connection switching method, and program
JP5488979B2 (en) Computer system, controller, switch, and communication method
CN105706393A (en) Method and system of supporting operator commands in link aggregation group
JPWO2014112612A1 (en) Communication system, control apparatus, and network topology management method
US10693768B2 (en) Method, apparatus and system for controlling routing information advertising
WO2012141241A1 (en) Network, data transfer node, communication method, and program
EP2629464A1 (en) Communication system, control device, method for setting processing rules, and program
US9628376B2 (en) Communication system, switch, controller, method for constructing a control channel and program
JPWO2014136850A1 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, TRANSFER NODE, CONTROL METHOD AND PROGRAM
JP5900652B2 (en) Switch device, VLAN setting management method, and program
JP6070700B2 (en) Packet transfer system, control device, packet transfer method and program
JP7342611B2 (en) Communication device, control method for communication device, and communication system
JPWO2018047943A1 (en) Communication system, edge node, communication method and program
JP5904285B2 (en) Communication system, virtual network management device, communication node, communication method, and program
CN115086227A (en) Method, device and equipment for determining forwarding strategy and storage medium
WO2015079616A1 (en) Communication system, communication method, network information combination apparatus, and network information combination program
WO2013141193A1 (en) Communication system, control device, communication device, information-relaying method, and program
KR102055757B1 (en) Method for provisioning overlay network by interoperating underlay network and system for performing the same
WO2014104277A1 (en) Control apparatus, communication system, communication node control method and program
JP6127569B2 (en) Switch, control device, communication system, control channel management method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230221

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230410

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230801

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230814

R150 Certificate of patent or registration of utility model

Ref document number: 7342611

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150