TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
141
Example
Enable the loopback detection function of Gigabit Ethernet ports 25-27:
TL-SL3428(config)#interface range gigabitEthernet 1/0/25-27
TL-SL3428(config-if-range)#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 fastEthernet / interface range
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet)
Example
Configure the loopback detection process-mode as port-based and
recovery-mode as manual for Gigabit Ethernet port 25:
TL-SL3428(config)#interface gigabitEthernet 1/0/25
TL-SL3428(config-if)#loopback-detection config process-mode port-based
recovery-mode manual