910 | Rapid Spanning Tree Protocolw w w . d e l l . c o m | s u p p o r t . d e l l . c o mConfigure a Root GuardUse the Root Guard feature in a Layer 2 RSTP network to avoid bridging loops.You enable root guard on a per-port or per-port-channel basis.To enable a root guard on an RSTP-enabled port or port-channel interface, enter the spanning-tree rstprootguard command. Refer to STP Root Guard on page 1060 for more information on how to use the rootguard feature.To disable RSTP root guard on a port or port-channel interface, enter the no spanning-tree rstp rootguardcommand in an interface configuration mode.To verify the RSTP root guard configuration on a port or port-channel interface, enter the showspanning-tree rstp guard [interface interface] command in global configuration mode.FTOS Behavior: The following conditions apply to a port enabled with root guard:• Root guard is supported on any RSTP-enabled port or port-channel interface except when used as astacking port.• Root guard is supported on a port in any Spanning Tree mode:•Spanning Tree Protocol (STP)•Rapid Spanning Tree Protocol (RSTP)•Multiple Spanning Tree Protocol (MSTP)•Per-VLAN Spanning Tree Plus (PVST+)• When enabled on a port, root guard applies to all VLANs configured on the port.• Root guard and loop guard cannot be enabled at the same time on an RSTP port. For example, if youconfigure loop guard on a port on which root guard is already configured, the following error message isdisplayed:% Error: RootGuard is configured. Cannot configure LoopGuard.Task Command Syntax Command ModeEnable root guard on a port or port-channel interface. spanning-tree rstp rootguard INTERFACEINTERFACEPORT-CHANNEL