238 
Syntax 
loopback-detection   
no loopback-detection 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet) 
Privilege Requirement 
Only Admin, Operator and Power User level users have access to these 
commands. 
Example 
Enable the loopback detection function of ports 1-3: 
T2600G-28TS(config)# interface range gigabitEthernet 1/0/1-3 
T2600G-28TS(Config-if-range)# loopback-detection 
32.5 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)