日本語フォーラム

 View Only

[CX-Switch]VSX MC-LAGインタフェースでのLACP Fallback設定と動作

This thread has been viewed 11 times
  • 1.  [CX-Switch]VSX MC-LAGインタフェースでのLACP Fallback設定と動作

    Posted Jun 26, 2025 11:40 AM
    Edited by shige Jun 30, 2025 10:33 PM

    スイッチ間のリンク冗長性と帯域増速、サーバとのチーミング接続などリンクアグリゲーション(以下、LAG)の構成にLACPを利用して動的に構成する場合、
    互いにLACPの適切な設定と、LACPプロトコルのフレームをやり取りできる必要があります。
    通常、LACPが有効なポートにLACPをやりとりできない機器が接続された時、LAGのポートは論理的にup状態とならず、通信が行えません。
    VSXのMC-LAGインタフェースでは、LACP Fallbackを設定することで、LACPが有効となっていない機器が接続された時も、
    VSX MC-LAGを構成するメンバーポートを通信可能な状態とすることができます。

    【VSX MC-LAG構成】



    【LACP Fallbackの設定】
    初期では、MC-LAGポートでのLACP Fallbackは無効となっています。
    LACP Fallbackを有効化するには、以下の設定を行います。
    *VSXの設定でvsx-sync mclag-interfacesが有効となっている時は、VSXのroleがPrimary側の機器でのみ設定を行います。
    VSX roleがsecondary側の機器へは、自動で設定が同期されます。
    [CX1]
    !
    interface lag 3 multi-chassis
        lacp fallback
    !


    [CX2]

    !
    interface lag 3 multi-chassis
        lacp fallback
    !


    【動作の確認】

    動作確認を分かりやすくするため、CX31/1/3のみ接続をしています。


    ・LACP Fallback設定が無効の状態(VSX MC-LAGの初期設定)
    CX3のLAG設定を無効にして接続します。CX1側のLAG3は、up状態とならず、通信が行えません。
    [CX1]
    CX1# show lacp interface
    
    State abbreviations :
    A - Active        P - Passive      F - Aggregable I - Individual
    S - Short-timeout L - Long-timeout N - InSync     O - OutofSync
    C - Collecting    D - Distributing
    X - State m/c expired              E - Default neighbor state
    
    Actor details of all interfaces:
    ----------------------------------------------------------------------------------
    Intf       Aggr       Port  Port  State   System-ID         System Aggr Forwarding
               Name       Id    Pri                             Pri    Key  State
    ----------------------------------------------------------------------------------
    1/1/3      lag3(mc)   3     1     ALFOE   02:01:00:00:01:01 65534  3    lacp-block
    /////出力省略/////
    CX1#
    CX1# show interface lag3
    
    Aggregate lag3 is down
     Admin state is up
     State information : Disabled by LACP or LAG
     Description :
     MAC Address                 : 08:00:09:58:b8:c4
     Aggregated-interfaces       : 1/1/3
     Aggregation-key             : 3
     Aggregate mode              : active
     Speed                       : 0 Mb/s
    /////出力省略/////
    CX1#
    CX1# ping 172.16.100.3 source 172.16.100.1 repetitions 5
    PING 172.16.100.3 (172.16.100.3) from 172.16.100.1 : 100(128) bytes of data.
    
    --- 172.16.100.3 ping statistics ---
    5 packets transmitted, 0 received, 100% packet loss, time 4114ms
    
    CX1#
    


    [CX3]

    CX3# show interface 1/1/3
    
    Interface 1/1/3 is up
     Admin state is up
     Link state: up for 19 hours (since Fri Jun 20 01:34:45 JST 2025)
     Link transitions: 0
     Description:
     Persona:
     Hardware: Ethernet, MAC Address: 08:00:09:1a:89:b9
     MTU 9198
     Type --
     Full-duplex
     qos trust none
     Speed 1000 Mb/s
    /////出力省略/////
    CX3#
    CX3# ping 172.16.100.1 source 172.16.100.3 repetitions 5
    PING 172.16.100.1 (172.16.100.1) from 172.16.100.3 : 100(128) bytes of data.
    From 172.16.100.3 icmp_seq=1 Destination Host Unreachable
    From 172.16.100.3 icmp_seq=2 Destination Host Unreachable
    From 172.16.100.3 icmp_seq=3 Destination Host Unreachable
    From 172.16.100.3 icmp_seq=4 Destination Host Unreachable
    
    --- 172.16.100.1 ping statistics ---
    5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4163ms
    
    CX3#


    ・LACP Fallback設定が有効の状態

    CX1側のLAG3はup状態となり、CX1とCX3の間で通信が行えるようになります。
    [CX1]

    CX1# show lacp interface
    
    State abbreviations :
    A - Active        P - Passive      F - Aggregable I - Individual
    S - Short-timeout L - Long-timeout N - InSync     O - OutofSync
    C - Collecting    D - Distributing
    X - State m/c expired              E - Default neighbor state
    
    Actor details of all interfaces:
    ----------------------------------------------------------------------------------
    Intf       Aggr       Port  Port  State   System-ID         System Aggr Forwarding
               Name       Id    Pri                             Pri    Key  State
    ----------------------------------------------------------------------------------
    1/1/3      lag3(mc)   3     1     IE      02:01:00:00:01:01 65534  3    up
    /////出力省略/////
    CX1#
    CX1# show interface lag3
    
    Aggregate lag3 is up
     Admin state is up
     Description :
     MAC Address                 : 08:00:09:58:b8:c4
     Aggregated-interfaces       : 1/1/3
     Aggregation-key             : 3
     Aggregate mode              : active
     Speed                       : 1000 Mb/s
    /////出力省略/////
    CX1#
    CX1# ping 172.16.100.3 source 172.16.100.1 repetitions 5
    PING 172.16.100.3 (172.16.100.3) from 172.16.100.1 : 100(128) bytes of data.
    108 bytes from 172.16.100.3: icmp_seq=1 ttl=64 time=21.2 ms
    108 bytes from 172.16.100.3: icmp_seq=2 ttl=64 time=16.4 ms
    108 bytes from 172.16.100.3: icmp_seq=3 ttl=64 time=20.8 ms
    108 bytes from 172.16.100.3: icmp_seq=4 ttl=64 time=3.15 ms
    108 bytes from 172.16.100.3: icmp_seq=5 ttl=64 time=13.2 ms
    
    --- 172.16.100.3 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4005ms
    rtt min/avg/max/mdev = 3.145/14.971/21.249/6.611 ms
    CX1#


    [CX3]

    CX3# show interface 1/1/3
    
    Interface 1/1/3 is up
     Admin state is up
     Link state: up for 19 hours (since Fri Jun 20 01:34:45 JST 2025)
     Link transitions: 0
     Description:
     Persona:
     Hardware: Ethernet, MAC Address: 08:00:09:1a:89:b9
     MTU 9198
     Type --
     Full-duplex
     qos trust none
     Speed 1000 Mb/s
    /////出力省略/////
    CX3#
    CX3# ping 172.16.100.1 source 172.16.100.3 repetitions 5
    PING 172.16.100.1 (172.16.100.1) from 172.16.100.3 : 100(128) bytes of data.
    108 bytes from 172.16.100.1: icmp_seq=1 ttl=64 time=24.0 ms
    108 bytes from 172.16.100.1: icmp_seq=2 ttl=64 time=16.5 ms
    108 bytes from 172.16.100.1: icmp_seq=3 ttl=64 time=13.1 ms
    108 bytes from 172.16.100.1: icmp_seq=4 ttl=64 time=16.9 ms
    108 bytes from 172.16.100.1: icmp_seq=5 ttl=64 time=13.5 ms
    
    --- 172.16.100.1 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4007ms
    rtt min/avg/max/mdev = 13.118/16.815/24.047/3.931 ms
    CX3#


    【LACP Fallback設定の使いどころ】

    近年は、機器のゼロタッチプロビジョニングも増えてきておりOSイメージのダウンロードや設定ファイルの読み込みをネットワーク経由から実施するものも多くあり、構成完了の前段階でネットワーク接続が必要となるケースがあります。
    このようなケースの場合、対向機器側のLACP設定の無効化や、スイッチの空きポートを利用する必要がありますが、配線変更や追加が困難、重要なシステムでは設定変更が容易に行えないこともあります。
    VSXのMC-LAGでのLACP Fallbackにより設定変更不要で一時的なネットワーク利用を行えるなど、既存VSX側の設定変更の必要なく機器の交換時や増設などに対応できると考えられます。
     
    LACP Fallback設定は、VSX側のLAGポートを強制的に利用可能な状態になるため、実環境での利用には十分な事前確認、検証を実施してください。