SPANNING TREE COMMANDS

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-treeprotocol-migrationcommand at any time to manually re-check the appropriate BPDU format to send on the selected interfaces (i.e., RSTP or STP-compatible).

Example

Console#spanning-tree protocol-migration ethernet 1/5

Console#

show spanning-tree

This command shows the configuration for the spanning tree.

Syntax

show spanning-tree [interface]

interface

ethernet unit/port

-unit - Stack unit.

(Range – SMC6224M: 1-8, SMC6248M: 1-4, mixed stack: 1-4)

-port - Port number. (Range: 1-26/50)

port-channel channel-id(Range: 1-4)

Default Setting

None

Command Mode

Privileged Exec

Command Usage

Use the show spanning-treecommand with no parameters to display the spanning tree configuration for the switch and for every interface in the tree.

Use the show spanning-treeinterface command to display the spanning tree configuration for a specific interface.

4-193

Page 441
Image 441
SMC Networks SMC6224M manual Show spanning-tree, This command shows the configuration for the spanning tree