TP-Link TL-SL3428 Switch User Manual


 
TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
169
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)
Example
Enable the BPDU filter function for Fast Ethernet port 2:
TL-SL3428(config)#interface fastEthernet 1/0/2
TL-SL3428(config-if)#spanning-tree bpdufilter
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 itself
automatically as ERROR-PORT when it receives BPDU packets, and the port
will disable the forwarding function for a while. To disable the BPDU protect
function, please use no spanning-tree bpduguard command.
Syntax
spanning-tree bpduguard
no spanning-tree bpduguard
Command Mode
Interface Configuration Mode (interface fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Enable the BPDU protect function for Fast Ethernet port 2: