beautypg.com

Spanning-tree portfast bpdu-guard – Allied Telesis AT-S83 User Manual

Page 262

background image

Chapter 13: Spanning Tree Protocol (STP) Commands

262

SPANNING-TREE PORTFAST BPDU-GUARD

Syntax

spanning-tree portfast bpdu-guard

no spanning-tree portfast bpdu-guard

Parameters

none

Description

Use the SPANNING-TREE BPDU-GUARD command to enable the BPDU
(Bridge Protocol Data Unit) guard feature on a bridge.

When the BPDU guard feature is set for a bridge, all portfast-enabled
interfaces of the bridge that have BPDU guard set to default shut down the
interface on receiving a BPDU. In this case, the BPDU is not processed.
You have two options. You can bring the interface up manually by using
the NO SHUTDOWN command. Or, configure the errdisable-timeout
feature with the SPANNING-TREE ERRDISABLE-TIMEOUT command to
enable the interface after the specified time interval.

Use the SHOW SPANNING-TREE command to display the bridge and
interface configurations for the BPDU guard feature. This command
displays both the administratively configured and currently running values
of BPDU guard.

Use the no form of the SPANNING-TREE BPDU-GUARD command to
disable the BPDU-guard feature on a bridge.

Command Mode

Configuration Terminal mode

Example

The following commands enable the BPDU Guard feature on a bridge:

switch#configure terminal

switch(config)#spanning-tree portfast bpdu-guard