show running-config spanning-tree

To display the running configuration for the Spanning Tree Protocol (STP), use the show running-config spanning-tree command.

show running-config spanning-tree [ all ]

Syntax Description

all
(Optional) Displays current STP operating information including default settings.

Command Default

None

Command Modes

EXEC mode

Command History

Release
Modification
4.0(0)N1(1a)
This command was introduced.
5.1(3)N1(1)
Support to display spanning tree pseudo information parameters was added.

Examples

This example shows how to display information on the running STP configuration:

switch# show running-config spanning-tree
 

This example shows how to display detailed information on the running STP configuration:

switch# show running-config spanning-tree all
 

Note Display output differs slightly depending on whether you are running Rapid Per VLAN Spanning Tree Plus (Rapid PVST+) or Multiple Spanning Tree (MST).


This example shows how to display information on the running STP configuration, including the spanning tree pseudo information, on a switch that runs Cisco NX-OS Release 5.1(3)N1(1):

switch# show running-config spanning-tree
spanning-tree domain 1
spanning-tree pseudo-information
mst 1 root priority 4096
mst 2 designated priority 4096
interface port-channel1
spanning-tree port type network
switch#
 

Related Commands

Command
Description
show spanning-tree
Displays information about STP.