Viewing spanning tree configuration

Perform this procedure to view configuration and status information for spanning tree in your network.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. View spanning tree configuration information:

    show spanning-tree config

  3. View spanning tree status information:

    show spanning-tree status

Example

View spanning tree configuration information:

Switch:1> show spanning-tree config
================================================================================
                              Spanning Tree Config
================================================================================
              BRIDGE  BRIDGE     FORWARD
ID   PRIORITY MAX_AGE HELLO_TIME DELAY   STATE
--------------------------------------------------------------------------------
0    32768    20      0          15      Enabled
1    32768    20      0          15      Enabled

     TAGGBPDU                   PORT
ID   ADDRESS            TYPE    MEMBER
--------------------------------------------------------------------------------
0    01:80:c2:00:00:00  mstp   1/1-1/9,1/11-1/48
1    01:80:c2:00:00:00  mstp   1/10

Total number of Spanning Tree IDs :  2

View spanning tree status information:

Switch:1> show spanning-tree status
================================================================================
                              Spanning Tree Status
================================================================================
STG  BRIDGE            NUM   PROTOCOL      TOP
ID   ADDRESS           PORTS SPECIFICATION CHANGES
--------------------------------------------------------------------------------
0    00:24:7f:a1:70:00 47    ieee8021s     1
1    00:24:7f:a1:70:00 1     ieee8021s     1

STG  DESIGNATED              ROOT  ROOT  MAX  HELLO  HOLD  FORWARD
ID   ROOT                    COST  PORT  AGE  TIME   TIME  DELAY
--------------------------------------------------------------------------------
0    80:00:00:24:7f:a1:70:00 0     cpp   20   0      1     15
1    80:00:00:24:7f:a1:70:00 0     cpp   20   0      1     15

Total number of Spanning Tree IDs :  2