beautypg.com

Allied Telesis AT-DC2552XS User Manual

Page 382

background image

Chapter 14: STP Commands

382

Section II: Layer 2 Switching

TREE PORTFAST BPDU-GUARD (SWITCH) command. See
“SPANNING-TREE PORTFAST BPDU-GUARD (SWITCH)” on page 379.

To reset the BPDU guard feature setting on a port to default, use the NO
SPANNING-TREE PORTFAST BPDU-GUARD (PORT) command.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 116

Examples

This example enables the BPDU guard feature on the switch except port
1.0.12:

awplus> enable
awplus# configure terminal
awplus(config)# spanning-tree portfast bpdu-guard
awplus(config)# interface port1.0.12
awplus(config-if)# spanning-tree portfast bpdu-guard disable

This example resets the setting of port 1.0.12 to default so that the BPDU
guard feature for port 1.0.12 depends upon the setting of the BPDU guard
feature for the switch:

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