ldp keepalive-timeout
Use this command to set the keep-alive time-out value for rejecting a session with a peer.
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 timer is reset every time a keep-alive packet is received from the peer in question. For optimum performance, set this value to no more than three times the keep-alive interval value.
Note: This command is an interface-specific command and overrides the value set for an LSR using the global keepalive-timeout command.
Use the no parameter to revert to the keep-alive time-out set for the main LDP process.
Command Syntax
ldp keepalive-timeout <3-65535>
no ldp keepalive-timeout
Parameters
<3-65535>
Specify the value in seconds.
Default
By default, ldp keepalive timeout is 30 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to set the keep-alive time-out timer for a specific interface:
#configure terminal
(config)#interface eth0
(config-if)#ldp keepalive-timeout 635
(config-if)#no ldp keepalive-timeout
Last modified date: 10/17/2023