20 spanning-tree guard root, 21 spanning-tree force-version – CANOGA PERKINS 9175 Command Reference User Manual
Page 116
![background image](/manuals/651401/116/background.png)
CanogaOS Command Reference
7-13
Related Commands
7.20 spanning-tree guard root
Use this command to enable the Root Guard feature for the port. This feature disables reception of
superior BPDUs. Use the no parameter with this command to disable the root guard feature for the port.
Command Syntax
spanning-tree guard root
no spanning-tree guard root
Command Mode
Interface mode
Default
Root guard is disabled.
Usage
The Root Guard feature makes sure that the port on which it is enabled is a designated port. If the Root
Guard enabled port receives a superior BPDU, it goes to a Listening state (for STP) or discarding state
(for RSTP and MSTP).
Examples
Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# spanning-tree guard root
Related Commands
7.21 spanning-tree force-version
Use this command to specify the version. A version identifier of less than a value of 2 enforces the
spanning tree protocol. Although the command supports an input range of 0-3, for RSTP, the valid range
is 0-2. Use the no parameter with this command to set the default protocol version.
Command Syntax
spanning-tree force-version number
no spanning-tree force-version
number
Version identifier. (0 - STP, 1- Not supported, 2 - RSTP, 3 - MSTP)
Command Mode