4 In the LDP configuration mode,
set Keepalive holdtime
esr(config-ldp)# keepalive
<TIME>
<TIME>— time in the range of [3..65535] seconds
Default value: 180
12.3.2 Algorithm for setting Hello holdtime, Hello interval and Keepalive holdtime for the specific neighbor
1 Configure the LDP (see section LDP configuration)
2 In the LDP neighbor
configuration mode, set Hello
holdtime
esr(config-ldp-neig)#
discoverytargeted-hello
holdtime <TIME>
<TIME>— time in the range of [3..65535] seconds
Default value: 45
3 In the LDP neighbor
configuration mode, set Hello
interval
esr(config-ldp-neig)#
discovery targeted- hello
interval <TIME>
<TIME>— time in the range of [1..65535] seconds
Default value: 5
4 In the LDP neighbor
configuration mode, set
Keepalive holdtime
esr(config-ldp-neig)#
keepalive <TIME>
<TIME>— time in the range of [3..65535] seconds
Default value: 180
12.3.3 Configuration example
Objective:
Override hello holdtime (120 seconds) and hello interval (30 seconds) parameters for the entire targeted-LDP
process. For the neighbor with address 4.4.4.4 set the Keepalive holdtime to 150 seconds.
Solution:
ESR(config)# mpls
ESR(config-mpls)# ldp
ESR(config-ldp)# discovery targeted-hello holdtime 40
ESR(config-ldp)# discovery targeted-hello interval 10
ESR(config-ldp)# neighbor 4.4.4.4
ESR(config-ldp-neig)# keepalive 150
Check:
To view hello parameters of the targeted LDP session: