キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 
cancel
12834
閲覧回数
10
いいね!
0
コメント
Kenji Takahagi
Cisco Employee
Cisco Employee

 

 

はじめに

LACP を設定したポートで、対向機器から LACP Data Unit を受信しなかった場合の動作を選択することができます。

このドキュメントでは、その動作と設定方法を記載します。

 

  

lacp suspend-individual

LACP を設定したポートで、対向機器から LACP Data Unit を一定期間受信しなかった場合、ポートの状態は、設定に応じて以下のいずれかのステータスに移行します。この状態で対向機器から LACP Data Unit を受信すると、port-channel に含まれる動作が開始されます。

 

設定 LACP を受信しなかった場合の状態(show port-channel summary での状態) show port-channel internal sdb の Susp-dis の値 説明
lacp suspend-individual Suspend 0 suspend 状態となり、ダウン状態となる。通信の送受信は行わない。
no lacp suspend-individual Individual 1 Port-channel のメンバーポートとはならず、単独のポートとしてアップする。通信の送受信を行う。

 

この設定は、port-channel インターフェースで " lacp suspend-individual" コマンドで設定します。

 

デフォルトの設定は、Nexus の型番によって異なります。

 

例:

Nexus 5000/6000 シリーズの場合、デフォルトの設定は lacp suspend-individual 

Nexus 3000 シリーズの場合、デフォルトの設定は no lacp suspend-individual

 

デフォルトの設定は show running-config port-channel <番号> all | inc suspend などで表示することができます。

また、show port-channel internal sdb でも確認することができます。

 

以下は、no lacp suspend-individual の機器で、設定を確認した例です。

 

Switch# show running-config interface port-channel 1 all | inc suspend
no lacp suspend-individual
Switch#
Switch# show port-channel internal sdb
PCM SDB
=======
Number of channels: 9
Channel Ifindex Size Mode Max-active Ungra Susp-Dis FOP
Po1 0x16000000 2 active 32 0 1 Eth1/47 0
(0x1a02e000)
lacp min-links 1
lacp max-bundle 32
port-channel max active member 32
port-channel load defer timeout 0
lacp fast-select-hot-standby disable 0
lacp delayed-enable 0
lacp delayed-enable primary-port 0x0
------------------------------------------------------------
Member Ifindex Status Channel-status Bundle-num
Eth1/47 0x1a02e000 0x1 2 0
Eth1/48 0x1a02f000 0x2 3 1
------------------------------------------------------------

Susp-Dis が 1 の場合、no lacp suspend-individual

Susp-Dis が 0 の場合、lacp suspend-individual であることを示します。

 

 

設定例

Port-channel インターフェースで設定します。設定を変更時、port-channel は shutdown である必要があります。

 

# 有効にする場合

Switch# conf t Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# int port-channel 1 Switch(config-if)# lacp suspend-individual ERROR: Cannot set/reset lacp suspend-individual for port-channel1 that is admin up Switch(config-if)# shutdown Switch(config-if)# lacp suspend-individual Switch(config-if)# no shutdown

# 無効にする場合

Switch(config-if)# shutdown
Switch(config-if)# no lacp suspend-individual
Warning: !! Disable lacp suspend-individual only on port-channel with edge ports. Disabling this on network port port-channel could lead to loops.!
Switch(config-if)#

 

 

 

動作確認

対向機器で lacp を無効にし、動作の確認を行います。

 

lacp suspend-individual の場合

switch(config)# show port-channel sum
Flags:  D - Down        P - Up in port-channel (members)
        I - Individual  H - Hot-standby (LACP only)
        s - Suspended   r - Module-removed
        b - BFD Session Wait
        S - Switched    R - Routed
        U - Up (port-channel)
        p - Up in delay-lacp mode (member)
        M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
1     Po1(SU)     Eth      LACP      Eth1/1(P)    Eth1/2(P)
switch(config)#
switch(config)# show run int po 1 all | inc suspend
  lacp suspend-individual
switch(config)#
switch(config)#
switch(config)# 2020 Jan 23 10:48:21 switch %ETH_PORT_CHANNEL-5-PORT_DOWN: port-channel1: Ethernet1/1 is down
2020 Jan 23 10:48:21 switch %ETHPORT-5-IF_BANDWIDTH_CHANGE: Interface port-channel1,bandwidth changed to 10000000 Kbit
2020 Jan 23 10:48:21 switch %ETHPORT-5-IF_DOWN_INITIALIZING: Interface Ethernet1/1 is down (Initializing)
2020 Jan 23 10:48:23 switch %ETHPORT-5-SPEED: Interface Ethernet1/1, operational speed changed to 10 Gbps
2020 Jan 23 10:48:23 switch %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/1, operational duplex mode changed to Full
2020 Jan 23 10:48:23 switch %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/1, operational Receive Flow Control state changed to off
2020 Jan 23 10:48:23 switch %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/1, operational Transmit Flow Control state changed to off
2020 Jan 23 10:48:33 switch %ETH_PORT_CHANNEL-5-PORT_SUSPENDED: Ethernet1/1: Ethernet1/1 is suspended

switch(config)#
switch(config)# show port-channel summary
Flags:  D - Down        P - Up in port-channel (members)
        I - Individual  H - Hot-standby (LACP only)
        s - Suspended   r - Module-removed
        b - BFD Session Wait
        S - Switched    R - Routed
        U - Up (port-channel)
        p - Up in delay-lacp mode (member)
        M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
1     Po1(SU)     Eth      LACP      Eth1/1(s)    Eth1/2(P)
switch(config)#

no lacp suspend-individual の場合

switch# show port-channel summary
Flags:  D - Down        P - Up in port-channel (members)
        I - Individual  H - Hot-standby (LACP only)
        s - Suspended   r - Module-removed
        b - BFD Session Wait
        S - Switched    R - Routed
        U - Up (port-channel)
        p - Up in delay-lacp mode (member)
        M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
1     Po1(SU)     Eth      LACP      Eth1/1(P)    Eth1/2(P)
switch#
switch# show run int po 1 all | inc suspend
  no lacp suspend-individual
switch#
switch#
switch# 2020 Jan 23 10:51:50 switch %ETH_PORT_CHANNEL-5-PORT_DOWN: port-channel1: Ethernet1/1 is down
2020 Jan 23 10:51:50 switch %ETHPORT-5-IF_BANDWIDTH_CHANGE: Interface port-channel1,bandwidth changed to 10000000 Kbit
2020 Jan 23 10:51:50 switch %ETHPORT-5-IF_DOWN_INITIALIZING: Interface Ethernet1/1 is down (Initializing)
2020 Jan 23 10:51:52 switch %ETHPORT-5-SPEED: Interface Ethernet1/1, operational speed changed to 10 Gbps
2020 Jan 23 10:51:52 switch %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/1, operational duplex mode changed to Full
2020 Jan 23 10:51:52 switch %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/1, operational Receive Flow Control state changed to off
2020 Jan 23 10:51:52 switch %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/1, operational Transmit Flow Control state changed to off
2020 Jan 23 10:52:02 switch %ETH_PORT_CHANNEL-4-PORT_INDIVIDUAL: port Ethernet1/1 is operationally individual
2020 Jan 23 10:52:02 switch %ETHPORT-5-IF_UP: Interface Ethernet1/1 is up in mode trunk

switch#
switch#
switch# show port-channel summary
Flags:  D - Down        P - Up in port-channel (members)
        I - Individual  H - Hot-standby (LACP only)
        s - Suspended   r - Module-removed
        b - BFD Session Wait
        S - Switched    R - Routed
        U - Up (port-channel)
        p - Up in delay-lacp mode (member)
        M - Not in use. Min-links not met
--------------------------------------------------------------------------------
Group Port-       Type     Protocol  Member Ports
      Channel
--------------------------------------------------------------------------------
1     Po1(SU)     Eth      LACP      Eth1/1(I)    Eth1/2(P)
switch#

 

関連コンテンツ

Nexus シリーズ : Link Aggregation Control Protocol (LACP) の設定例

Nexus シリーズ : LACP Data Unit

Nexus シリーズ : LACP max-bundle と min-links

Nexus スイッチ (NX-OS) : 設定例

  

 

参考情報

Nexus 9000 の場合
Cisco Nexus 9000 Series NX-OS Interfaces Configuration Guide, Release 9.3(x)

 

Getting Started

検索バーにキーワード、フレーズ、または質問を入力し、お探しのものを見つけましょう

シスコ コミュニティをいち早く使いこなしていただけるよう役立つリンクをまとめました。みなさんのジャーニーがより良いものとなるようお手伝いします