Configuration Guide     104
Managing Physical Interfaces Configuration Examples
Switch(config-if)#loopback-detection
Switch(config-if)#loopback-detection config process-mode port-based recovery-mode 
auto
Switch(config-if)#end
Switch#copy running-config startup-config
Verify the Configuration
Verify the global configuration:
Switch#show loopback-detection global
Loopback detection global status : enable
Loopback detection interval: 30 s
Loopback detection recovery time : 90 s
Verify the loopback detection configuration on ports:
Switch#show loopback-detection interface
Port          Enable      Process Mode      Recovery Mode      Loopback     Block     LAG
----            --------      -----------------      ------------                 ------------    -- ----     -----
Gi1/0/1    enable      port-based              auto                              N/A                N/A        N/A
Gi1/0/2    enable      port-based              auto                              N/A                N/A        N/A
Gi1/0/3    enable      port-based              auto                              N/A                N/A        N/A
...