set protocols mpls ldp discovery targeted-hello-holdtime
The set protocols mpls ldp discovery targeted-hello-holdtime command configures the Targeted hello hold time.
The delete protocols mpls ldp discovery targeted-hello-holdtime command deletes the configuration.
Command Syntax
set protocols mpls ldp [ipv4-family|ipv6-family] discovery targeted-hello-holdtime <holdtime>
delete protocols mpls ldp [ipv4-family|ipv6-family] discovery targeted-hello-holdtime
Parameter
Parameter | Description |
ipv4-family|ipv6-family | Optional. Specifies the IP address family type. |
targeted-hello-holdtime <holdtime> | Specifies the Targeted hello hold time. The value is an integer which can be configured between 1 and 65535 seconds. The default value is 45 seconds. 65535 implies infinite. |
Usage Guidelines
The hold time determines how long a router should consider a neighbor to be reachable after the last targeted Hello message is received.
The targeted-hello-holdtime
parameter sets the amount of time (in seconds) that the router will wait after receiving the last Hello message before considering the neighbor as unreachable. If the router does not receive another Hello message from the neighbor within this period, it will consider the neighbor to be down and will tear down the LDP session associated with that neighbor.
This timer ensures that the LDP session is maintained as long as the neighbor is responsive. It is a fail-safe mechanism that helps in quickly detecting and reacting to network changes.
NOTEs:
Before configuring the discovery targeted-hello-interval and discovery targeted-hello-holdtime, the targeted-hello-accept under the IP family must be enabled first.
The configuration of discovery targeted-hello-interval and discovery targeted-hello-holdtime based on the IP family takes precedence over the global configuration.
For the targeted-hello-holdtime configuration, the actual effective timer value equals the smaller of the timers configured on both ends of the LDP peers.
Example
Configure the Targeted hello hold time.
admin@PICOS# set protocols mpls ldp discovery targeted-hello-holdtime 50
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.