Administrator Guide

Layer 2 Switching Commands 747
Examples
The following examples display spanning-tree information. MST information
is shown in this form of the command regardless of the spanning tree mode.
console#show spanning-tree
Spanning Tree: Enabled
Mode: rstp
BPDU Flooding: Disabled
Portfast BPDU Filtering: Enabled
Portfast BPDU Guard: Disabled
CST Regional Root: 80:00:00:1E:C9:AA:AD:1B
Regional Root Path Cost: 0
ROOT ID
Priority 32768
Address 0010.1882.1C53
Path Cost 20000
Root Port Gi1/0/1
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec TxHoldCount
6 sec
Bridge ID
Priority 32768
Address 001E.C9AA.AD1B
Hello Time 2 Sec Max Age 20 sec Forward Delay 15 sec
Interfaces
Name State Prio.Nbr Cost Sts Role Restricted
------ -------- --------- --------- ---- ----- ----------
Gi1/0/1 Enabled 128.1 20000 FWD Root No
Gi1/0/2 Enabled 128.2 0 DIS Disb No
Gi1/0/3 Enabled 128.3 0 DIS Disb No
Gi1/0/4 Enabled 128.4 0 DIS Disb No
console#show spanning-tree gi1/0/1
Port: Gi1/0/1 Enabled
State: Forwarding Role: Designated
Port ID: 128.1 Port Cost: 20000
Port Fast: No Root Protection: No
Designated Bridge Priority: 32768 Address: 001E.C9DE.D447
Designated Port ID: 128.1 Designated Path Cost: 0
CST Regional Root: 80:00:00:1E:C9:DE:D4:47
Root Guard..................................... False
Loop Guard..................................... False
TCN Guard...................................... False
Auto Portfast.................................. True
BPDU Filter Mode............................... Disabled
Time Since Counters Last Cleared............... 0d0h2m46s