Managing Physical Interfaces
Loopback Detection Configuration
User Guide
103
Step 10
show loopback-detection interface { fastEthernet
port
| gigabitEthernet
port
| ten-
gigabitEthernet
port
| port-channel
port-channel
}
Verify the Loopback Detection configuration of the specified port.
Step 11
end
Return to privileged EXEC mode.
Step 12
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable loopback detection globally (keep the default
parameters):
Switch#configure
Switch(config)#loopback-detection
Switch(config)#show loopback-detection global
Loopback detection global status : enable
Loopback detection interval : 30s
Loopback detection recovery time : 3 intervals
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
Downloaded from