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