show spanning-tree bridge

To display the status and configuration of the local Spanning Tree Protocol (STP) bridge, use the show spanning-tree bridge command.

show spanning-tree bridge [ address | brief | detail | forward-time | hello-time | id | max-age | priority [ system-id ] | protocol ]

Syntax Description

address
(Optional) Displays the MAC address for the STP local bridge.
brief
(Optional) Displays a brief summary of the status and configuration for the STP bridge.
detail
(Optional) Displays a detailed summary of the status and configuration for the STP bridge.
forward-time
(Optional) Displays the STP forward delay interval for the bridge.
hello-time
(Optional) Displays the STP hello time for the bridge.
id
(Optional) Displays the STP bridge identifier for the bridge.
max-age
(Optional) Displays the STP maximum-aging time for the bridge.
priority
(Optional) Displays the bridge priority for this bridge.
system-id
(Optional) Displays the bridge priority with the system ID extension for this bridge.
protocol
(Optional) Displays whether the Rapid Per VLAN Spanning Tree Plus (Rapid PVST+) or Multiple Spanning Tree (MST) protocol is active.

Command Default

None

Command Modes

EXEC mode

Command History

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

Examples

This example shows how to display STP information for the bridge:

switch# show spanning-tree bridge
 
Hello Max Fwd
Vlan Bridge ID Time Age Dly Protocol
---------------- --------------------------------- ----- --- --- --------
VLAN0001 32769 (32768,1) 0005.9b74.a6fc 2 20 15 rstp
VLAN0005 32773 (32768,5) 0005.9b74.a6fc 2 20 15 rstp
switch#
 

This example shows how to display detailed STP information for the bridge:

switch# show spanning-tree bridge detail
 
VLAN0001
Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)
Address 0005.9b74.a6fc
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
VLAN0005
Bridge ID Priority 32773 (priority 32768 sys-id-ext 5)
Address 0005.9b74.a6fc
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
switch#
 

Related Commands

Command
Description
spanning-tree bridge assurance
Enables Bridge Assurance on all network ports on the switch.
show spanning-tree summary
Displays summary information about STP.