CLI Reference Guide-R05

Table Of Contents
Chapter 17
| Spanning Tree Commands
– 483 –
When spanning tree is initialized globally on the switch or on an interface, the
switch will wait for 20 seconds to ensure that the spanning tree has converged
before enabling Root Guard.
Example
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree edge-port
Console(config-if)#spanning-tree root-guard
Console(config-if)#
spanning-tree
spanning-disabled
This command disables the spanning tree algorithm for the specified interface. Use
the no form to re-enable the spanning tree algorithm for the specified interface.
Syntax
[no] spanning-tree spanning-disabled
Default Setting
Enabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Example
This example disables the spanning tree algorithm for port 5.
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree spanning-disabled
Console(config-if)#
spanning-tree
loopback-detection
release
This command manually releases a port placed in discarding state by loopback-
detection.
Syntax
spanning-tree loopback-detection release interface
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-12)
port-channel channel-id (Range: 1-12)
Command Mode
Privileged Exec