OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Commands : ldp keepalive-interval
ldp keepalive-interval
Use this command to set the interval for sending keep-alive messages to the peer in order to maintain a session.
Each LSR must send keep-alive messages at regular intervals to its LDP peers to keep the sessions active. The keep-alive interval determines the time-interval between successive keep-alive messages. This command sets this interval.
Note: This command is an interface-specific command, and overrides the value set for an LSR using the global keepalive-interval command.
Use the no parameter to revert to the keep-alive interval set for the main LDP process.
Command Syntax
ldp keepalive-interval <1-21845>
no ldp keepalive-interval
Parameters
<1-21845>
Specify the interval in seconds.
Default
By default, ldp keepalive interval is 10 seconds
Command Mode
Interface mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
This example shows how to set the hello-interval for a specific interface:
#configure terminal
(config)#interface eth0
(config-if)#ldp keepalive-interval 635
 
(config-if)#no ldp keepalive-interval
Last modified date: 10/17/2023