C
HAPTER
33
| Spanning Tree Commands
– 801 –
â—† When configured for manual release mode, then a link down / up event
will not release the port from the discarding state. It can only be
released using the spanning-tree loopback-detection release command.
EXAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree loopback-detection release-mode manual
Console(config-if)#
spanning-tree
loopback-detection
trap
This command enables SNMP trap notification for Spanning Tree loopback
BPDU detections. Use the no form to restore the default.
SYNTAX
[no] spanning-tree loopback-detection trap
DEFAULT SETTING
Disabled
COMMAND MODE
Interface Configuration (Ethernet, Port Channel)
EXAMPLE
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree loopback-detection trap
spanning-tree mst
cost
This command configures the path cost on a spanning instance in the
Multiple Spanning Tree. Use the no form to restore the default auto-
configuration mode.
SYNTAX
spanning-tree mst instance-id cost cost
no spanning-tree mst instance-id cost
instance-id - Instance identifier of the spanning tree.
(Range: 0-4094, no leading zeroes)
cost - Path cost for an interface. (Range: 0 for auto-configuration,
1-65535 for short path cost method
13
, 1-200,000,000 for long path
cost method)
The recommended path cost range is listed in Table 104 o n
page 797.
DEFAULT SETTING
By default, the system automatically detects the speed and duplex mode
used on each port, and configures the path cost according to the values
13. Use the spanning-tree pathcost method command to set the path cost method.