Cisco スタック構築時に取得するコマンドの使い方のサンプル
環境
Cisco C9000
操作例1
コマンド
show switch detail
実行結果
#show switch detail
Switch/Stack Mac Address : axx.axx.axx - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
-------------------------------------------------------------------------------------
*1 Active axx.axx.axx 15 V01 Ready
2 Standby bxx.bxx.bxx 1 V01 Ready
#show switch detail
Switch/Stack Mac Address : axx.axx.axx - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
-------------------------------------------------------------------------------------
*1 Active axx.axx.axx 15 V01 Ready
2 Standby bxx.bxx.bxx 1 V01 Ready
#show switch detail Switch/Stack Mac Address : axx.axx.axx - Local Mac Address Mac persistency wait time: Indefinite H/W Current Switch# Role Mac Address Priority Version State ------------------------------------------------------------------------------------- *1 Active axx.axx.axx 15 V01 Ready 2 Standby bxx.bxx.bxx 1 V01 Ready
説明
Mac Address:Mac アドレス
Priority:プライオリティ
State:スイッチ状態
Stack Port Status:スタックポート状態
操作例2
コマンド
show switch stack-mode
実行結果
#show switch stack-mode
Switch# Role Mac Address Version Mode Configured State
--------------------------------------------------------------------------------------------------------------------
*1 Active xxx.xxx.xxx V01 N+1 None Ready
2 Standby xxx.xxx.xxx V01 N+1 None Ready
#show switch stack-mode
Switch# Role Mac Address Version Mode Configured State
--------------------------------------------------------------------------------------------------------------------
*1 Active xxx.xxx.xxx V01 N+1 None Ready
2 Standby xxx.xxx.xxx V01 N+1 None Ready
#show switch stack-mode Switch# Role Mac Address Version Mode Configured State -------------------------------------------------------------------------------------------------------------------- *1 Active xxx.xxx.xxx V01 N+1 None Ready 2 Standby xxx.xxx.xxx V01 N+1 None Ready
説明
Role:ロール(Active/Standby/Member)
Mac Address:Mac アドレス
Mode:スタックモード(N+1 または 1+1)
Configured:設定されたスタックロール
State:スイッチ状態
操作例3
コマンド
show romvar
このコマンドでは ROMMON 変数を確認します。
結果
#show romvar
----------------------------------
ROMMON variables for Active Switch
----------------------------------
ABNORMAL_RESET_COUNT=0
AUTOBOOT_COUNT=0
#show romvar
----------------------------------
ROMMON variables for Active Switch
----------------------------------
ABNORMAL_RESET_COUNT=0
AUTOBOOT_COUNT=0
#show romvar ---------------------------------- ROMMON variables for Active Switch ---------------------------------- ABNORMAL_RESET_COUNT=0 AUTOBOOT_COUNT=0