221
Command Mode
Global Configuration Mode
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Configure the max-hops of STP as 30:
T1600G-52TS(config)# spanning-tree max-hops 30
26.17 spanning-tree bpdufilter
Description
The spanning-tree bpdufilter command is used to enable the BPDU filter
function for a port. With the function enabled, the port can be prevented from
receiving and sending any BPDU packets. To disable the BPDU filter function,
please use no spanning-tree bpdufilter command.
Syntax
spanning-tree bpdufilter
no spanning-tree bpdufilter
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet / interface port-channel / interface range port-channel)
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Enable the BPDU filter function for port 1/0/2:
T1600G-52TS(config)# interface gigabitEthernet 1/0/2
T1600G-52TS(config-if)# spanning-tree bpdufilter
26.18 spanning-tree bpduguard
Description
The spanning-tree bpduguard command is used to enable the BPDU protect
function for a port. With the BPDU protect function enabled, the port will set