
Configuration Guide
96
Managing Physical Interfaces
Loopback Detection Configuration
Switch(config)#loopback-detection
Switch(config)#show loopback-detection global
Loopback detection global status : enable
Loopback detection interval : 30 s
Loopback detection recovery time : 90 s
Switch(config-if)#end
Switch#copy running-config startup-config
The following example shows how to enable loopback detection of port 1/0/3 and set the
process mode as alert and recovery mode as auto:
Switch#configure
Switch(config)#interface gigabitEthernet
1/0/3
Switch(config-if)#loopback-detection
Switch(config-if)#loopback-detection config process-mode
alert
recovery-mode
auto
Switch(config-if)#show loopback-detection interface gigabitEthernet
1/0/3
Port Enable Process Mode Recovery Mode Loopback Block LAG
---- ------ ------------ ------------- -------- ----- ----
Gi1/0/3 enable alert auto N/A N/A N/A
Switch(config-if)#end
Switch#copy running-config startup-config