Spanning-Tree Commands

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.

Example

The following example prevents Ethernet port 1 from being the root port of the device.

Console(config) # interface ethernet ext.1

Console(config-mst) # spanning-tree guard root

show spanning-tree

The show spanning-treePrivileged EXEC mode command displays spanning-tree configuration.

Syntax

show spanning-tree [ethernet interface -numberport-channel port-channel-number] [instance instance-id]

show spanning-tree [detail] [active blockedports] [instance instance-id]

show spanning-tree mst-configuration

Parameters

interface -number A valid Ethernet port.

280Intel® Blade Server Ethernet Switch Modules SBCEGBESW1 and SBCEGBESW10 CLI Guide

Page 296
Image 296
Intel SBCEGBESW1 manual Show spanning-tree, Spanning-tree guard root No spanning-tree guard root, Root guard is disabled