keepalive-timeout
Use this command to set the global value for the time-out after which sessions are rejected.
Use this command to set the time period for which an LSR must wait for successive keep-alive messages from LDP peers. The keep-alive time-out value is overridden by the keep-alive time-out set on the interface (see ldp keepalive-timeout). For optimum performance, set this value to no less than three times the value of the specified keep-alive interval value.
Use the no parameter to revert to default keep-alive time-out.
Command Syntax
keepalive-timeout <30-65535>
no keepalive-timeout
Parameters
<30-65535>
Specify the time-out value in seconds.
Default
By default, keepalive timeout is 30 seconds.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to set the keep-alive time-out value for all interfaces of an LSR.
#configure terminal
(config)#router ldp
(config-router)#keepalive-timeout 635
(config-router)#no keepalive-timeout
Last modified date: 10/17/2023