C
HAPTER
16
| STP Commands
– 404 –
switch) can only belong to one MST region. And all bridges in the same
region must be configured with the same MST instances.
EXAMPLE
STP>cname r&d 1
STP>
stp bpdufilter This command displays or sets BPDU filtering for all edge ports.
SYNTAX
stp bpdufilter [enable | disable]
enable - Enables BPDU filtering for edge ports.
disable - Disables BPDU filtering for edge ports.
DEFAULT SETTING
Disabled
COMMAND USAGE
◆ This command filters all Bridge Protocol Data Units (BPDUs) received on
an interface to save CPU processing time. This function is designed to
work in conjunction with edge ports which should only connect end
stations to the switch, and therefore do not need to process BPDUs.
However, note that if a trunking port connected to another switch or
bridging device is mistakenly configured as an edge port, and BPDU
filtering is enabled on this port, this might cause a loop in the spanning
tree.
◆ Before enabling BPDU Filter, the interface must first be configured as an
edge port with the stp port edge command.
EXAMPLE
STP>bpdufilter enable
STP>
stp bpduguard This command displays or sets BPDU guard for all edge ports.
SYNTAX
stp bpduguard [enable | disable]
enable - Enables BPDU guard for edge ports, shutting down an
edge port if it receives a BPDU.
disable - Disables BPDU guard for edge ports.