![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/d/0a/d0af6121-0ea6-461b-8bca-7a4a28bd2cd4/d0af6121-0ea6-461b-8bca-7a4a28bd2cd4-bgaa.png)
XG2000 series User's Guide
170/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
5.11.13 spanning-tree portfast bpdu-filter
Function
Enable the BPDU filter for a portfast enabled port.
If BPDU filtering in enabled, the port does not send or receive a BPDU.
Use the no form to return to the default setup.
Prompt
xg(config-if)# or xg(config-agg)#
Command syntax
spanning-tree portfast bpdu-filter
no spanning-tree portfast bpdu-filter
Parameter
z portfast bpdu-filter
Enables the BPDU filter for the port specified.
Command type
Configuration command
Default
None
Note
z This function is only valid for portfast enabled ports.
Example
Enable BPDU filtering for port 2:
xg(config)# interface port 2
xg(config-if)# spanning-tree portfast
xg(config-if)# spanning-tree portfast bpdu-filter