XG700 User's Guide
141/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.10.12 spanning-tree portfast bpdu-guard
Function
Enable the BPDU guard with the port in which the portfast function is valid.
If the port having the enabled BPDU guard receives a BPDU, this port is shut down and its communication fails. During this
time, the received BPDU is not processed.
If the port is shut down, you can enable the communication either using the “no shutdown” command or by enabling the
“spanning-tree portdast errdisable-timeout” command and automatically starting the communication at the time set by the
timer.
The no form to is used to return to the default setup.
Prompt
xg(config-if)#, or xg(config-agg)#
Command syntax
spanning-tree portfast bpdu-guard
no spanning-tree portfast bpdu-guard
Parameter
portfast bpdu-guard
Enables the BPDU guard.
Command type
Configuration command
Default
None
Note
The function is enabled for the port in which "spanning-tree portfast" command is set.
Example
Enables the portfast function and BPDU guard function for the port 2.
xg(config)# interface port 2
xg(config-if)# spanning-tree portfast
xg(config-if)# spanning-tree portfast bpdu-guard