はじめに
本稿では、Nexus 9000 シリーズスイッチにて設定された udld aggressive によって Err-disable 状態となった Interface の復旧方法について記載します。
なお、ハードウェアは N9K-C93180YC-FX3、ソフトウェアは NX-OS 10.3(5) での確認となります。
UDLD 関連で Err-disable となった例
N9K-C93180YC-FX3# show interface brief
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth access down UDLD aggressive mode auto(D) --
その時のログ例としては以下となります。
show logging log | inc UDLD
2024 Jun 1 12:01:10.120 N9K-C93180YC-FX3 %ETHPORT-5-IF_DOWN_ERROR_DISABLED: Interface Ethernet1/1 is down (Error disabled. Reason:UDLD < 理由 > )
復旧方法1
一般的な Err-disable からの復旧方法としては、Port の shutdown / no shutdown が有効です。
N9K-C93180YC-FX3(config)# int e1/1
N9K-C93180YC-FX3(config-if)# sh
N9K-C93180YC-FX3(config-if)# no sh
N9K-C93180YC-FX3(config-if)# sh int b
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth access down Link not connected auto(D) --
Eth1/2 1 eth access down Link not connected auto(D) --
N9K-C93180YC-FX3(config-if)# sh int b
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth access up none 10G(D) -- << 復旧している
Eth1/2 1 eth access down Link not connected auto(D) --
なお、Err-disable になった原因( udld の場合、ハードウェア不良起因が多い) を取り除かない限り再度 Err-disable となることが想定されます。原因を確認した上で、Port 復旧作業を実施することを推奨します。
復旧方法 2
udld での Err-disable の場合には、udld reset コマンドでも同様に復旧可能です。
N9K-C93180YC-FX3# conf t
Enter configuration commands, one per line. End with CNTL/Z.
N9K-C93180YC-FX3(config)# udld reset << 全ての Port を対象としています
N9K-C93180YC-FX3(config)# sh int b
--------------------------------------------------------------------------------
Ethernet VLAN Type Mode Status Reason Speed Port
Interface Ch #
--------------------------------------------------------------------------------
Eth1/1 1 eth access up none 10G(D) -- << 復旧しました
Eth1/2 1 eth access down Link not connected auto(D) --
こちらは以下のドキュメントに記載があります。
UDLD のエラー状態のトラブルシューティング>便利なコマンド
参考情報
Cisco Nexus 9000 シリーズ NX-OS インターフェイス構成ガイド、リリース 10.3(x) > UDLD パラメータ
Nexus スイッチにおける単方向リンク検出エラーのトラブルシューティング
Troubleshoot Uni-Directional Link Detection Errors on Nexus Switches