CLI Reference Guide
Spanning Tree Commands 743
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr
------------------- ---- --- --------- -------- ----------------------------
Gi1/0/5 Desg FWD 4 128.19
Gi1/0/6 Desg FWD 4 128.21
spanning-tree
Use the spanning-tree command in Global Configuration mode to enable
spanning-tree functionality. To disable spanning-tree functionality, use the no
form of this command.
Syntax
spanning-tree
no spanning-tree
Default Configuration
Spanning-tree is enabled.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example enables spanning-tree functionality.
console(config)#spanning-tree
spanning-tree auto-portfast
Use the spanning-tree auto-portfast command to set the port to auto portfast
mode. This enables the port to become a portfast port if it does not see any
BPDUs for 3 seconds. Use the no form of this command to disable auto
portfast mode.
2CSNXXX_SWUM200.book Page 743 Tuesday, December 10, 2013 1:22 PM










