3com 3CRUS2475 Manuale Utente

Pagina di 522
228
C
HAPTER
 15: S
PANNING
-T
REE
 C
OMMANDS
Command Mode
MST Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example exits the MST Configuration mode without saving 
changes. 
spanning-tree 
guard root
The spanning-tree guard root Interface Configuration (Ethernet, 
port-channel) mode command enables root guard on all spanning tree 
instances on the interface. Root guard prevents the interface from 
becoming the root port of the device. To disable root guard on the 
interface, use the no form of this command.
Syntax
spanning-tree guard root
no spanning-tree guard root
Default Configuration
Root guard is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
Root guard can be enabled when the device operates in STP, RSTP and 
MSTP.
When root guard is enabled, the port changes to the alternate state if 
spanning-tree calculations selects the port as the root port.
Console(config) # spanning-tree mst configuration
Console(config-mst) # abort