Viewing STP Statistics

You can use various show commands to view information about Spanning Tree Protocol (STP) statistics for Layer 2 and Layer 3 switches.
Use one of the following commands to view STP statistics. The commands do not need to be entered in the specified order. Using these commands is optional and they can be entered in any order. For more information on the full list of show span commands, refer to the RUCKUS FastIron Command Reference.
  1. Enter the show span command to display general STP information.
    device> show span
    
    VLAN 1 BPDU cam_index is 3 and the Master DMA Are(HEX)
    STP instance owned by VLAN 1
    Global STP (IEEE 802.1D) Parameters:
    VLAN      Root              Root    Root    Prio    Max    He-    Ho-    Fwd     Last     Chg  Bridge
    ID        ID                Cost    Port    rity    Age    llo    ld     dly     Chang    cnt  Address
                                                Hex     sec    sec    sec    sec     sec
    1         800000e0804d4a00  0        Root    8000   20     2      1      15       689      1   00e0804d4a00
    Port STP Parameters:
    Port         Prio     Path     State        Fwd     Design    Designated        Designated
    Num          rity     Cost                  Trans   Cost      Root              Bridge
                 Hex
    1            80       19       FORWARDING   1       0         800000e0804d4a00  800000e0804d4a00
    2            80       0        DISABLED     0       0         0000000000000000  0000000000000000
    3            80       0        DISABLED     0       0         0000000000000000  0000000000000000
    4            80       0        DISABLED     0       0         0000000000000000  0000000000000000
    5            80       19       FORWARDING   1       0         800000e0804d4a00  800000e0804d4a00
    6            80       19       BLOCKING     0       0         800000e0804d4a00  800000e0804d4a00
    7            80       0        DISABLED     0       0         0000000000000000  0000000000000000
    <lines for remaining ports excluded for brevity>
  2. Enter the show span command with the detail keyword to display detailed STP information for a port.
    device# show span detail
    ======================================================================
    VLAN 1 - MULTIPLE SPANNING TREE (MSTP) ACTIVE
    ======================================================================
    Bridge identifier - 0x800000e0804d4a00
    Active global timers - Hello: 0
    Port 1/1/1 is FORWARDING
    Port - Path cost: 19, Priority: 128, Root: 0x800000e052a9bb00
    Designated - Bridge: 0x800000e052a9bb00, Interface: 1, Path cost: 0
    Active Timers - None
    BPDUs - Sent: 11, Received: 0
    Port 1/1/2 is DISABLED
    Port 1/1/3 is DISABLED
    Port 1/1/4 is DISABLED <lines for remaining ports excluded for brevity>
    
  3. Enter the show span command with the vlan keyword, specifying a VLAN, to display STP information for the VLAN.
    device# show span vlan 100
    STP instance owned by VLAN 100 
    
    Global STP (IEEE 802.1D) Parameters: 
    
    VLAN Root             Root Root      Prio Max He- Ho- Fwd Last    Chg Bridge 
     ID   ID              Cost Port      rity Age llo ld  dly Chang   cnt Address 
    
                                         Hex  sec sec sec sec sec 
     100 8000cc4e24b46fcc 0    Root      8000 20  2   1   15  11      1   cc4e24b46fcc 
    
    Port STP Parameters: 
    
    Port      Prio Path  State       Fwd    Design  Designated       Designated 
    Num       rity Cost              Trans  Cost    Root             Bridge 
              Hex 
    1/1/1     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    1/1/2     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    1/1/3     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    1/1/4     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    1/1/5     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    1/1/6     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    1/1/7     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    1/1/8     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    lg1       80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc 
    
    lg256     80   4     FORWARDING  1      0       8000cc4e24b46fcc 8000cc4e24b46fcc