hello-interval (LDP)

Sets the interval between LDP Hello messages for LDP sessions for LDP interfaces. These messages maintain LDP sessions between the device and its LDP peers.

Syntax

hello-interval interval
no hello-interval interval

Command Default

For an LDP interface configuration, the default value is the interval for the configured global LDP Hello messages.

Parameters

interval
Specifies the interval in seconds. Enter an integer from 1 through 32767.

Modes

MPLS interface LDP configuration mode

Usage Guidelines

Use this command to set the interval for LDP Link Hello messages that are multicast to all routers on the subnet.

When you configure the LDP link interval for an interface, it overrides the global interval.

When a Hello Adjacency already exists, the adjacency remains up and any new configured interval takes effect upon the expiration of the current Hello Interval timer. Consequently, the next and subsequent Hello messages are sent at the new interval.

Use the no for this command to reset the default interval.

Examples

The following example sets the link Hello message interval for the interface to 30 seconds.

device# configure terminal
device(config)# router mpls
device(config-router-mpls)# mpls-interface ethernet 1/2
device(config-router-mpls-interface-1/2)# ldp-params
device(config-router-mpls-interface-1/2-ldp-params)# hello-interval 30