2-592
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree portfast bpdu-filter
set spantree portfast bpdu-filter
To enable or disable spanning tree PortFast BPDU packet filtering on a port, use the se t s pantree
portfast bpdu-filter command.
set spantree portfast bpdu-filter mod/port {enable | disable | default}
Syntax Description
Defaults The default is BPDU packet filtering is default.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines This command is not supported by the NAM.
Spanning tree PortFast BPDU packet filtering turns off BPDU transmission on PortFast-enabled ports
and nontrunking ports.
If you enter the default keyword, the spanning tree port is set to the global BPDU filtering state.
To enable or disable spanning tree PortFast BPDU filtering for all ports on the switch, enter the set
spantree global-default bpdu-filter command.
Examples This example shows how to enable spanning tree PortFast BPDU filtering on module 3, port 4:
Console> (enable) set spantree portfast bpdu-filter 3/4 enable
Warning: Ports enabled with bpdu filter will not send BPDUs and drop all
received BPDUs. You may cause loops in the bridged network if you misuse
this feature.
Spantree port 3/4 bpdu filter enabled.
Console> (enable)
Related Commands set spantree global-default
show spantree portfast
mod/port Number of the module and the port on the module.
enable Enables spanning tree PortFast BPDU packet filtering.
disable Disables spanning tree PortFast BPDU packet filtering.
default Sets spanning tree PortFast BPDU packet filtering to the global BPDU
packet filtering state. See the “Usage Guidelines” section for more
information.