TP-Link TL-SG3216 Switch User Manual


 
135
TL-SG3424(config)# interface range gigabitEthernet 1/0/1-3
TL-SG3424(Config-if)# loopback-detection
loopback-detection config
Description
The loopback-detection config command is used to configure the
process-mode and recovery-mode for the ports by which the switch copes with
the detected loops.
Syntax
loopback-detection config [ process-mode { alert | port-based }]
[ recovery-mode { auto | manual }]
Parameter
process-mode —— The mode how the switch processes the detected loops.
Alert: When a loop is detected, display an alert. Port based: When a loop is
detected, display an alert and block the port.
recovery-mode —— The mode how the blocked port recovers to normal status.
Auto: Block status can be automatically removed after recovery time. Manual:
Block status can only be removed manually.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Configure the loopback detection process-mode as port-based and
recovery-mode as manual for port 2:
TL-SG3424(config)# interface gigabitEthernet 1/0/2
TL-SG3424(config-if)# loopback-detection config process-mode port-based
recovery-mode manual
loopback-detection recover
Description
The loopback-detection recover command is used to remove the block status
of selected ports, recovering the blocked ports to normal status,