show spanning-tree summary

To display summary Spanning Tree Protocol (STP) information on the switch, use the show spanning-tree summary command.

show spanning-tree summary [ totals ]

Syntax Description

totals
(Optional) Displays totals only of STP information.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.

Usage Guidelines

The display output for this command differs when you are running Rapid Per VLAN Spanning Tree Plus (Rapid PVST+) or Multiple Spanning Tree (MST).

Examples

This example shows how to display a summary of STP information on the switch:

switch# show spanning-tree summary
Switch is in rapid-pvst mode
Root bridge for: VLAN0001, VLAN0005
Port Type Default is disable
Edge Port [PortFast] BPDU Guard Default is disabled
Edge Port [PortFast] BPDU Filter Default is disabled
Bridge Assurance is enabled
Loopguard Default is disabled
Pathcost method used is short
 
Name Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001 2 0 0 5 7
VLAN0005 1 0 0 0 1
---------------------- -------- --------- -------- ---------- ----------
2 vlans 3 0 0 5 8
switch#
 

Related Commands

Command
Description
show spanning-tree
Displays information about STP.