Spanning-Tree Commands 389
spanning-tree guard root
Use the spanning-tree guard root interface configuration command to enable root guard on all the
Spanning Tree instances on that interface. Root guard restricts the interface to be the root port for the
switch. Use the no form of this command to disable root guard on the interface.
Syntax
•
spanning-tree guard root
•
no spanning-tree guard root
Default Configuration
Root guard is disabled.
Command Mode
Interface configuration (Ethernet, port-channel).
Spanning tree enabled mode MSTP
Default port cost method: long
###### MST 0 Vlans Mapped: 1-9, 21-4094
CST Root ID Priority 32768
Address 00:01:42:97:e0:00
This switch is root for CST and IST master.
Root Port 1 (1/e1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Max hops 20
book.book Page 389 Thursday, December 18, 2008 7:40 PM