You can change the default setting for the LDP Hello message interval globally for link or target LDP sessions. You can also configure the interval on an interface for link LDP sessions.
device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# hello-interval-link 10
Note
The Hello interval for link sessions can be overridden on a per-interface basis.device(config-router-mpls-ldp)# hello-interval-target 20
Note
This value can only be set globally for all targeted LDP sessions on the router. Per-interface configuration is only available for Link LDP sessions.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-interval 15
The following example shows the previous steps to configure the LDP Hello interval.
device# configure terminal device(config)# router mpls device(config-router-mpls)# ldp device(config-router-mpls-ldp)# hello-interval-link 10 device(config-router-mpls-ldp)# hello-interval-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-interval 15