ldp hello-interval

Use this command to set the interval for sending multicast Hello packets via an interface.

LDP defines a mechanism for discovering adjacent Label Switching Routers (LSR) that participate in label switching (adjacencies). Whenever a new router comes up, it sends out a hello packet to a specified, multicast address announcing itself to the network. Every router directly connected to the network receives the packet. Receipt of a hello packet from another LSR creates a hello adjacency with that LSR. Use this command to specify the interval after which the hello packets will be sent.

For optimum performance, set the hello-interval value to no more than one-third the hold-time value.

This command is an interface-specific command and overrides the value set for an LSR using the global hello-interval command.

Use the no parameter with this command to revert to the hello-interval value set for the main LDP process.

Command Syntax

Copy
ldp hello-interval <1-21845>
no ldp hello-interval

Parameters

<1-21845>

Specify the interval in seconds.

Default

By default, ldp hello interval is 5 seconds

Command Mode

Interface mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

This example shows how to set the hello-interval for a specific interface.

Copy
#configure terminal
(config)#interface eth0
(config-if)#ldp hello-interval 635
(config-if)#no ldp hello-interval