OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Commands : hold-time
hold-time
Use this command to set the global value for the hold-time after which the LSR rejects adjacencies.
An LSR maintains a record of hellos received from peers. Hold-time specifies the time an LSR maintains its record of hellos from a peer on not receiving another hello from that peer. A pair of LSRs negotiates the hold-time they use for hellos from each other. Each proposes a hold time value, and the LSR uses the lower of the two hold-time values. The hold-time value set on the interface overrides the hold-time value set by this command (see ldp hold-time). For optimum performance, set this value to no less than three times the value of the hello-interval specified.
Use the no parameter to revert to the default hold time.
Command Syntax
hold-time <3-65535>
no hold-time
Parameters
<3-65535>
Specify the hold-time value in seconds.
Default
By default, hold time is 15 seconds
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
This example shows how to set the hold-time value for all interfaces of an LSR.
#configure terminal
(config)#router ldp
(config-router)#hold-time 635
 
(config-router)#no hold-time
Last modified date: 10/17/2023