show spanning-tree mst
- モード
- 非特権EXECモード
- カテゴリー
- L2スイッチング / スパニングツリープロトコル
構文
> show spanning-tree mst [detail] [interface IFNAME]
コマンド説明
(MSTP)CIST(インスタンス0)の全般的な情報を表示する。さらに、オプションの組み合わせにより、インスタンス・VLAN・ポートの関連付け情報、CISTにおける各スイッチポートの情報、MSTインスタンスにおける各スイッチポートの情報などを表示する。パラメーター
detail- インスタンス・VLAN・ポートの関連付け情報ではなく、各スイッチポートの情報を表示したいときに指定する。同時にinterfaceパラメーターも指定したときは、CISTとMSTインスタンスにおける指定ポートの情報を表示する。interfaceパラメーターを指定しなかったときは、CISTにおける全ポートの情報を表示する
interface IFNAME- スイッチポートのインターフェース名。detailオプションと同時に指定したときは、CISTと所属先MSTインスタンスにおける指定ポートの情報を表示する。detailオプションなしで本パラメーターだけを指定したときは、インスタンス・VLAN・ポートの関連付け情報のうち、指定ポートに関連する部分だけを表示する。本パラメーター省略時は、CISTにおける全ポートの情報(detailオプションありの場合)、あるいは、すべてのインスタンス・VLAN・ポートの関連付け情報(detailオプションなしの場合)を表示する
使用例
awplus> show spanning-tree mst
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 20000 - CIST Root Port 5002 - CIST Bridge Priority 327
68
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000000cd08170c
% 1: CIST Reg Root Id 80000000cd240367
% 1: CIST Bridge Id 80000000cd240367
% 1: CIST 2 topology changes - last topology change Mon Jan 30 06:10:23 2012
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
%
% Instance VLAN
% 0: 1, 50
% 1: 10, 20 (port1.0.11)
% 1: 10, 20 (port1.0.10)
% 1: 10, 20 (port1.0.12)
% 1: 10, 20 (port1.0.3)
% 2: 30, 40 (port1.0.11)
% 2: 30, 40 (port1.0.1)
% 2: 30, 40 (port1.0.5)
% 2: 30, 40 (port1.0.7)
awplus> show spanning-tree mst detail
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 20000 - CIST Root Port 5002 - CIST Bridge Priority 327
68
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000000cd08170c
% 1: CIST Reg Root Id 80000000cd240367
% 1: CIST Bridge Id 80000000cd240367
% 1: CIST 2 topology changes - last topology change Mon Jan 30 06:10:23 2012
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% port1.0.1: Port 5001 - Id 8389 - Role Designated - State Forwarding
% port1.0.1: Designated External Path Cost 20000 -Internal Path Cost 0
% port1.0.1: Configured Path Cost 200000 - Add type Explicit ref count 1
% port1.0.1: Designated Port Id 8389 - CIST Priority 128 -
% port1.0.1: CIST Root 80000000cd08170c
% port1.0.1: Regional Root 80000000cd240367
% port1.0.1: Designated Bridge 80000000cd240367
% port1.0.1: Message Age 1 - Max Age 20
% port1.0.1: CIST Hello Time 2 - Forward Delay 15
% port1.0.1: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 0 - topo cha
nge timer 0
% port1.0.1: forward-transitions 3
% port1.0.1: Version Multiple Spanning Tree Protocol - Received RSTP - Send MS
TP
% port1.0.1: No portfast configured - Current portfast off
% port1.0.1: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.1: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.1: no root guard configured - Current root guard off
% port1.0.1: Configured Link Type point-to-point - Current point-to-point
%
% port1.0.2: Port 5002 - Id 838a - Role Rootport - State Forwarding
...
awplus> show spanning-tree mst interface port1.0.11
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 20000 - CIST Root Port 5002 - CIST Bridge Priority 327
68
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000000cd08170c
% 1: CIST Reg Root Id 80000000cd240367
% 1: CIST Bridge Id 80000000cd240367
% 1: CIST 2 topology changes - last topology change Mon Jan 30 06:10:23 2012
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
%
% Instance VLAN
% 0: 1, 50
% 1: 10, 20 (port1.0.11)
% 2: 30, 40 (port1.0.11)
awplus> show spanning-tree mst detail interface port1.0.1
% 1: Bridge up - Spanning Tree Enabled
% 1: CIST Root Path Cost 0 - CIST Root Port 0 - CIST Bridge Priority 32768
% 1: Forward Delay 15 - Hello Time 2 - Max Age 20 - Max-hops 20
% 1: CIST Root Id 80000000cd240367
% 1: CIST Reg Root Id 80000000cd240367
% 1: CIST Bridge Id 80000000cd240367
% 1: CIST 2 topology changes - last topology change Mon Jan 30 06:10:23 2012
% 1: portfast bpdu-filter disabled
% 1: portfast bpdu-guard disabled
% 1: portfast errdisable timeout disabled
% 1: portfast errdisable timeout interval 300 sec
% port1.0.1: Port 5001 - Id 8389 - Role Designated - State Forwarding
% port1.0.1: Designated External Path Cost 0 -Internal Path Cost 0
% port1.0.1: Configured Path Cost 200000 - Add type Explicit ref count 3
% port1.0.1: Designated Port Id 8389 - CIST Priority 128 -
% port1.0.1: CIST Root 80000000cd240367
% port1.0.1: Regional Root 80000000cd240367
% port1.0.1: Designated Bridge 80000000cd240367
% port1.0.1: Message Age 0 - Max Age 20
% port1.0.1: CIST Hello Time 2 - Forward Delay 15
% port1.0.1: CIST Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1 - topo cha
nge timer 0
% port1.0.1: forward-transitions 3
% port1.0.1: Version Multiple Spanning Tree Protocol - Received MSTP - Send MS
TP
% port1.0.1: No portfast configured - Current portfast off
% port1.0.1: portfast bpdu-guard default - Current portfast bpdu-guard off
% port1.0.1: portfast bpdu-filter default - Current portfast bpdu-filter off
% port1.0.1: no root guard configured - Current root guard off
% port1.0.1: Configured Link Type point-to-point - Current point-to-point
%
% Instance 1: Vlans: 10
% 1: MSTI Root Path Cost 0 -MSTI Root Port 0 - MSTI Bridge Priority 4096
% 1: MSTI Root Id 10010000cd240367
% 1: MSTI Bridge Id 10010000cd240367
% port1.0.1: Port 5001 - Id 8389 - Role Designated - State Forwarding
% port1.0.1: Designated Internal Path Cost 0 - Designated Port Id 8389
% port1.0.1: Configured Internal Path Cost 200000
% port1.0.1: Configured CST External Path cost 200000
% port1.0.1: CST Priority 128 - MSTI Priority 128
% port1.0.1: Designated Root 10010000cd240367
% port1.0.1: Designated Bridge 10010000cd240367
% port1.0.1: Message Age 0 - Max Age 0
% port1.0.1: Hello Time 2 - Forward Delay 15
% port1.0.1: Forward Timer 0 - Msg Age Timer 0 - Hello Timer 1
% Instance 2: Vlans: 20
% 1: MSTI Root Path Cost 2000 -MSTI Root Port 5002 - MSTI Bridge Priority 8192
% 1: MSTI Root Id 10020000f4272c74
% 1: MSTI Bridge Id 20020000cd240367
% port1.0.1: Port 5001 - Id 8389 - Role Alternate - State Discarding
% port1.0.1: Designated Internal Path Cost 0 - Designated Port Id 8389
% port1.0.1: Configured Internal Path Cost 200000
% port1.0.1: Configured CST External Path cost 200000
% port1.0.1: CST Priority 128 - MSTI Priority 128
% port1.0.1: Designated Root 10020000f4272c74
% port1.0.1: Designated Bridge 10020000f4272c74
% port1.0.1: Message Age 0 - Max Age 0
% port1.0.1: Hello Time 2 - Forward Delay 15
% port1.0.1: Forward Timer 0 - Msg Age Timer 4 - Hello Timer 1
| Bridge up | スパニングツリープロトコルの有効/無効 |
| CIST Root Path Cost | ルートブリッジのパスコスト |
| CIST Root Port | ルートポートのインターフェースインデックス番号。ルートブリッジのときは 0 と表示される。トランクポートの場合はトランクグループのインターフェースインデックス番号で表示される |
| CIST Bridge Priority | ブリッジプライオリティー |
| Forward Delay | ルートブリッジのフォワードディレイタイム設定値 |
| Hello Time | ルートブリッジのハロータイム設定値 |
| Max Age | ルートブリッジの最大エージタイム設定値 |
| Max-hops | 最大ホップ数 設定値 |
| CIST Root Id | ルートのブリッジ識別子。ルートのブリッジプライオリティー(16進数先頭4桁)とMACアドレスで構成される |
| CIST Reg Root Id | リージョンのRoot ID |
| CIST Bridge Id | ブリッジ識別子。ブリッジプライオリティー(16進数先頭4桁)とMACアドレスで構成される |
| CIST topology change(s) | トポロジーチェンジが発生した回数(厳密にはTCフラグの付いたBPDUの数を示す) |
| last topology change | 最後にトポロジーチェンジが発生した日時 |
| portfast bpdu-filter | BPDUフィルター機能の有効/無効 |
| portfast bpdu-guard | BPDUガード機能の有効/無効 |
| portfast errdisable timeout | BPDUガード機能によって無効化されたエッジポートを、一定時間後に自動的に再有効化する機能の有効/無効 |
| portfast errdisable timeout interval | BPDUガード機能によって無効化されたエッジポートを、自動的に再有効化するまでの待機時間 |
注意・補足事項
本コマンドを実行しても、スパニングツリープロトコルの動作モードがMSTPでない場合は何も表示されない。本コマンドはEXECモードだけでなくインターフェースモードでも実行できる。