Configures the maximum number of keep-alive attempts a port waits to receive a health-check
reply packet from the port at the other end of the link.
Syntax
link-keepalive retries
number
no link-keepalive retries
number
Command Default
The default value is 7.
Parameters
- number
- Specifies the number of keep-alive retries to receive a health-check reply packet.
The valid range is from 3 through 64.
Modes
Global configuration mode
Usage Guidelines
By default, a port waits one second to receive a health-check reply packet from the
port at the other end of the link. If the port does not receive a reply, the port
tries six more times by sending up to six more health-check packets. If the port still
does not receive a reply after the maximum number of retries, the port goes down.
The
no form of the command changes the number of retries to the default value.
Examples
The following example shows how to configure 10 retries as the maximum number of keep-alive
attempts a port waits to receive a health-check reply packet.
device(config)# link-keepalive retries 10