beautypg.com

Spanning-tree portfast bpdu-guard (switch) – Allied Telesis AT-DC2552XS User Manual

Page 379

background image

AT-DC2552SX Switch Command Line Interface User’s Guide

Section II: Layer 2 Switching

379

SPANNING-TREE PORTFAST BPDU-GUARD (SWITCH)

Syntax

spanning-tree portfast bpdu-guard

Parameters

None

Mode

Global Configuration mode

Description

Use this command to enable the BPDU guard feature on the switch, which
disables the designated edge ports when these ports receive BPDUs. By
default, the BPDU guard feature is disabled.

Note

This command is applicable only when RSTP or MSTP is enabled.
When MSTP is enabled, this command sets the value to the CIST
(instance 0).

To enable the disabled edge ports manually, use the NO SHUTDOWN
command. See “NO SHUTDOWN” on page 254. When the timer for the
BPDU guard feature is enabled using the SPANNING-TREE
ERRDISABLE-TIMEOUT ENABLE command, the switch reactivates once
disabled ports automatically. See “SPANNING-TREE ERRDISABLE-
TIMEOUT ENABLE” on page 362. The t
ime interval that ports remain
disabled is set with the SPANNING-TREE ERRDISABLE-TIMEOUT
command. See “SPANNING-TREE ERRDISABLE-TIMEOUT INTERVAL”
on page 363.

To enable the BPDU guard feature on each port on the switch, use the
SPANNING-TREE PORTFAST BPDU-GUARD (PORT) command. The
setting for the BPDU guard feature on the port overrides the setting for the
BPDU guard feature on the switch. See “SPANNING-TREE PORTFAST
BPDU-GUARD (PORT)” on page 381.

To disable the BPDU guard feature, use the NO SPANNING-TREE
PORTFAST BPDU-GUARD command.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 116