Spanning-tree guard root – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 270

Advertising
background image

Page 269

Allied Telesis
AT-8000S-S94-3.0 Command Line Interface User’s Guide

Default Configuration

The default setting is flooding.

Command Modes

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example defines BPDU packet flooding when the spanning-tree is disabled on an interface

.

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. Use the no form of this command to disable root guard on the interface.

Syntax

spanning-tree guard root

no spanning-tree guard root

Parameters

This command has no arguments or keywords.

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/e1 from being the root port of the device.

console(config)# spanning-tree bpdu flooding

console(config) # interface ethernet 1/e1

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

Advertising