shutdown

モード
インターフェースモード
カテゴリー
インターフェース / 一般設定

構文

コマンド構文

(config-if)# [no] shutdown

コマンド説明

対象インターフェースを無効化する。
no形式で実行した場合は該当インターフェースを有効化する。

物理インターフェースの場合、無効化されたインターフェースは物理的にもリンクダウンする。

使用例

スイッチポート1.0.1を無効にする。
awplus(config)# interface port1.0.1
awplus(config-if)# shutdown

スイッチポート1.0.1を再度有効化する。
awplus(config)# interface port1.0.1
awplus(config-if)# no shutdown

vlan2を無効にする。
awplus(config)# interface vlan2
awplus(config-if)# shutdown

vlan2を再度有効化する。
awplus(config)# interface vlan2
awplus(config-if)# no shutdown

注意・補足事項

ループバックインターフェース(lo)に対して本コマンドを実行することはできない(同インターフェースはつねにアップしている)。

VLANインターフェースでshutdownコマンドを実行しても、該当VLANに所属するパケットの転送は継続して行われる。VLAN内でのパケット転送を無効化するには、vlanコマンドで該当VLANのstateパラメーターをdisable(転送無効)に設定すること。

コマンドツリー

関連コマンド