JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
Parameter 
value
  āā  The maximum number of hops that occur in a specific region 
before the BPDU is discarded, ranging from 1 to 40 in hop. By default, it is 20. 
Command Mode 
Global Configuration Mode 
Example 
Configure the max-hops of STP as 30: 
T3700G-52TQ(config)#spanning-tree max-hops 30 
30.15  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 fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet/ 
interface ten-gigabitEthernet / interface range ten-gigabitEthernet / interface 
port-channel) 
Example 
Enable the BPDU filter function for Gigabit Ethernet port 1/0/2: 
T3700G-52TQ(config)#interface gigabitEthernet 1/0/2 
T3700G-52TQ(config-if)#spanning-tree bpdufilter 
30.16  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 
242