2-556
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set spantree bpdu-filter
set spantree bpdu-filter
To enable or disable BPDU packet filtering on a port, use the set spantree bpdu-filter command.
set spantree 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.
BPDU packet filtering turns off BPDU transmission on ports.
If you enter the default keyword, the spanning tree port is set to the global BPDU filtering state.
To enable or disable BPDU filtering for all ports on the switch, enter the set spantree global-default
bpdu-filter command.
Examples This example shows how to enable BPDU filtering on module 3, port 4:
Console> (enable) set spantree 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 BPDU packet filtering.
disable Disables BPDU packet filtering.
default Sets BPDU packet filtering to the global BPDU packet filtering state.
See the “Usage Guidelines” section for more information.