Specifications
Spanning Tree Commands
3-129
3
Command Mode
Privileged Exec
Command Usage
If at any time the switch detects STP BPDUs, including Configuration or
Topology Change Notification BPDUs, it will automatically set the selected
interface to forced STP-compatible mode. However, you can also use the
spanning-tree protocol-migration command at any time to manually
re-check the appropriate BPDU format to send on the selected interfaces (i.e.,
RSTP or STP-compatible).
Example
show spanning-tree
Use this command to show the spanning tree configuration.
Syntax
show spanning-tree [interface]
interface
• ethernet unit/port
- unit - This is device 1.
- port - Port number.
• port-channel channel-id (Range: 1-6)
Default Setting
None
Command Mode
Privileged Exec
Command Usage
•Use the show spanning-tree command with no parameters to display the
spanning tree configuration for the switch and for every interface in the tree.
• Use the show spanning-tree interface command to display the spanning tree
configuration for an interface.
• For a description of the items displayed under “Spanning-tree information,”
see “Configuring Global Settings” on page 2-74. For a description of the items
displayed for specific interfaces, see “Displaying Interface Settings” on page
2-77.
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree protocol-migration
Console(config-if)#