This command displays the keep-alive statistics for each port or a specific port. Use the port-num parameter to display statistics for a specific interface or range of interfaces.
Statistics are displayed only for the ports on which keep-alive is enabled at the interface level.
| Format | show keepalive statistics {port-num | all } |
| Mode | Privileged EXEC |
| Term | Definition |
|---|---|
| port-num | The port number for which to show statistics. |
| all | Show statistics for all ports. |
Example:
(Routing) #show keepalive statistics all
Keep Loop Loop Time Since Rx Port
Port Alive Detected Count Last Loop Action Status
------ --------- ----------- -------- ------------- ------------- --------
0/1 Yes Yes 1 85 shut-down D-Disable
0/3 Yes No log-shutdown Enable