You can change the default settings for the LDP Hold Time sent in Hello messages to adjacent LSRs globally or on an interface for either link or targeted LDP sessions.
device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# hello-timeout-link 10
In this example, the hello hold time set to 10. The default value is 15. You can enter an integer from 2 through 65335.
Note
The Hello hold time for link sessions can be overridden on a per-interface basis.device(config-router-mpls-ldp)# hello-timeout-target 20
device(config-router-mpls-ldp)# exit
device(config-router-mpls)# mpls-interface ethernet 0/2
device(config-router-mpls-interface-0/2)# ldp-params
device(config-router-mpls-interface-0/2-ldp-params)# hello-timeout 30
The following example shows the previous steps to configure the LDP Hello hold time.
device# configure terminal device(config)# router mpls device(config-router-mpls)# ldp device(config-router-mpls-ldp)# hello-timeout-link 10 device(config-router-mpls-ldp)# hello-timeout-target 20 device(config-router-mpls-ldp)# exit device(config-router-mpls)# mpls-interface ethernet 0/2 device(config-router-mpls-interface-0/2)# ldp-params device(config-router-mpls-interface-0/2-ldp-params)# hello-timeout 30