TP-Link TL-SG2424 Switch User Manual


 
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Enable the BPDU filter function for port 2:
TL-SG2424(config)# interface gigabitEthernet 1/0/2
TL-SG2424(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 gigabitEthernet / interface range
gigabitEthernet)
Example
Enable the BPDU protect function for port 2:
TL-SG2424(config)# interface gigabitEthernet 2
TL-SG2424(config-if)# spanning-tree bpduguard
spanning-tree guard loop
Description
The spanning-tree guard loop command is used to enable the Loop Protect
function for a port. Loop Protect is to prevent the loops in the network brought by
recalculating STP because of link failures and network congestions. To disable
the Loop Protect function, please use no spanning-tree guard loop command.
Syntax
spanning-tree guard loop
151