Users Guide

Layer 2 Switching Commands 801
Gi1/0/5 Enabled 128.5 0 DIS Disb No
Gi1/0/6 Enabled 128.6 0 DIS Disb No
Gi1/0/7 Enabled 128.7 0 DIS Disb No
Gi1/0/8 Enabled 128.8 0 DIS Disb No
This example shows spanning-tree configured in rstp mode. Output is shown
for each interface.
console(config)#show spanning-tree active
Spanning Tree: Enabled (BPDU Flooding: Disabled)
Mode: rstp Portfast BPDU Filtering: Disabled
CST Regional Root: 80:00:00:1E:C9:DE:D4:47
Regional Root Path Cost: 0
###### MST 0 Vlan Mapped: 1-10
ROOT ID
Priority 32768
Address 001E.C9DE.D447
This Switch is the Root.
Hello Time: 2s Max Age: 20s Forward Delay: 15s
Interfaces
Name State Prio.Nbr Cost Sts Role RestrictedPort
--------- -------- --------- --------- ---- ----- --------------
Gi1/0/1 Enabled 128.1 20000 FWD Desg No
Gi1/0/2 Enabled 128.2 20000 FWD Desg No
Te1/0/1 Enabled 128.49 2000 FWD Desg No
Te1/0/2 Enabled 128.50 2000 DSC Bkup No
This example shows spanning-tree configured in rapid-pvst mode. Output is
shown for each VLAN that is actively running a spanning tree instance.
console(config)#show spanning-tree active
Spanning-tree enabled protocol rpvst
VLAN 1
RootID Priority 32768
Address F8B1.562B.A1D6
Cost 20000
Port 2(Gi1/0/2)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
BridgeID Priority 32769 (priority 32768 sys-id-ext 1)
Address 001E.C9DE.D447
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface State Prio.Nbr Cost Status Role
--------- --------- --------- ------- ------------- -----------
Gi1/0/1 Enabled 128.1 20000 Forwarding Designated