beautypg.com

Spanning-tree guard root – Allied Telesis AT-8100 Series User Manual

Page 889

background image

AT-8100 Switch Command Line User’s Guide

889

SPANNING-TREE GUARD ROOT

Syntax

spanning-tree guard root

Parameters

None

Mode

Port Interface mode

Description

Use this command to enable the Root Guard feature on the specified port.
The Root Guard feature ensures that the port on which it is enabled is a
designated port. If a Root-Guard-enabled port receives a superior BPDU,
that may cause it to become a root port, then the port traffic is placed in a
“root inconsistent” state. For MSTP, this state is a discarding state.

Use the no version of this command, NO SPANNING-TREE GUARD
ROOT, to disable the Root Guard feature on the specified port.

To view the current setting for this parameter, refer to “SHOW
SPANNING-TREE” on page 883.

Confirmation Command

“SHOW SPANNING-TREE” on page 883

Examples

This example enables the Root Guard feature on port 7:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.7
awplus(config-if)# spanning-tree guard root

This example disables the Root Guard feature on port 12:

awplus> enable
awplus# configure terminal
awplus(config)# interface port1.0.12
awplus(config-if)# no spanning-tree guard root