spanning-tree portfast
CautionPortFast & BPDU Guard
(config-if)# spanning-tree portfast
Skips STP delay on edge ports (fixing DHCP timeouts); add bpduguard to slam the door on rogue switches.
Examples
interface range Gi1/0/1-24 spanning-tree portfast spanning-tree bpduguard enableApply across access ports
Syntax
(config-if)# spanning-tree portfast [/ bpduguard enable]
Before you run it
Never on inter-switch links.
Related commands
- show spanning-treeSpanning-tree state
- show interfaces statusPort status at a glance
You can carry a laptop to the rack. Signal will not follow.
Check syntax standing in front of the hardware, with no connection at all. Free to install, no ads.
Get it free on the App Store