show 802-1w

Displays the Rapid Spanning Tree Protocol (RSTP) (802.1W) information of the specified port-based VLAN.
Syntax
show 802-1w [ detail ] { number | vlan vlan-id { ethernet stack-id/slot/port lag lag-id } }
Parameters
detail
Displays detailed output.
number
Specifies the number of spanning tree entries to skip before the display begins.
vlan vlan-id
Displays the RSTP details for a specific VLAN.
ethernet stack-id/slot/port
Displays the RSTP details for a specific ethernet port.
lag lag-id
Displays the RSTP details for a specific LAG.
Modes

User EXEC mode

Examples

The following example shows the output of the show 802-1w command.

device# show 802-1w
--- VLAN 4 [ STP Instance owned by VLAN 4 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge             Bridge     Bridge    Bridge     Force       tx
Identifier         MaxAge     Hello     FwdDly     Version     Hold
hex                sec        sec       sec       												 cnt
8000002022227700   20         2         15         Default    3
RootBridge         RootPath      DesignatedBri-    Root    Max    Fwd   Hel
Identifier         Cost          dge Identifier    Port    Age    Dly   lo
hex              														  hex              								 sec    sec   sec
8000002022227700   0             8000002022227700  Root    20     15    2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port    Pri    PortPath    P2P     Edge      Role       State       Designa-     Designated
Num            Cost        Mac     Port                             ted cost     bridge
1/1/1   128    20000       F       F         DESIGNATED FORWARDING  0            8000002022227700
--- VLAN 5 [ STP Instance owned by VLAN 5 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge           Bridge     Bridge       Bridge     Force       tx
Identifier       MaxAge     Hello        FwdDly     Version     Hold
hex              sec        sec          sec                    cnt 
8000002022227700 20         2            15         Default     3
RootBridge       RootPath       DesignatedBri-      Root    Max   Fwd   Hel
Identifier       Cost           dge Identifier      Port    Age   Dly   lo
hex                             hex                         sec   sec   sec
8000002022227700 0             8000002022227700     Root    20    15    2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port     Pri   PortPath    P2P    Edge       Role        State       Designa-      Designated
Num            Cost        Mac    Port                               ted cost      bridge
1/1/1    128   20000       F      F          DESIGNATED  FORWARDING  0             8000002022227700
--- VLAN 6 [ STP Instance owned by VLAN 6 ] ----------------------------
Bridge IEEE 802.1W Parameters:
Bridge           Bridge     Bridge        Bridge     Force        tx
Identifier       MaxAge     Hello         FwdDly     Version      Hold
hex              sec        sec           sec                     cnt
8000002022227700 20         2             15         Default      3
RootBridge       RootPath     DesignatedBri-     Root       Max   Fwd   Hel
Identifier       Cost         dge Identifier     Port       Age   Dly   lo
hex                           hex                           sec   sec   sec
8000002022227700 0            8000002022227700   Root       20    15    2
Port IEEE 802.1W Parameters:
<--- Config Params --><-------------- Current state ----------------->
Port   Pri     PortPath    P2P     Edge       Role        State       Designa-       Designated
Num            Cost        Mac     Port                               ted cost       bridge
1/1/1  128     20000       F       F          DESIGNATED  FORWARDING  0              8000002022227700

The following example displays the detailed RSTP (802.1W) information.

device# show 802-1w detail
======================================================================
VLAN 1 - SPANNING TREE (IEEE 802.1W) ACTIVE
======================================================================
BridgeId 800000a0c9c002a0, forceVersion 2, txHoldCount 3

Number of topology changes: 53
Last topology change occured 13 minute(s) 30 second(s)  ago on lg40
Port 1/1/1 - Role: DESIGNATED - State: FORWARDING
  PathCost 20000, Priority 128, AdminOperEdge F, AdminPt2PtMac F
  DesignatedPriority - Root: 0x800000a0c9c002a0, Bridge: 0x800000a0c9c002a0 
  ActiveTimers - helloWhen 0 
  MachineStates - PIM: CURRENT, PRT: DESIGNATED_PORT, PST: FORWARDING
                  TCM: ACTIVE, PPM: SENDING_RSTP, PTX: TRANSMIT_IDLE
  Received - RST BPDUs 0, Config BPDUs 0, TCN BPDUs 0
History
Release version Command history
10.0.00 This command was modified to display more topology information details.