hello-interval

Use this command to set the interval after which hello packets are sent out.

LDP defines a mechanism for discovering adjacent Label Switching Routers (LSRs) that participate in label switching (adjacencies). Hello messages are sent to the All Routers Multicast Group (224.0.0.2). 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.

Used as a global command, the hello-interval value may be overridden by the hello-interval set on the interface (see ldp hello-interval). For optimum performance, set this value to no more than one-third the value of the hold-time specified.

Use the no parameter to revert to default hello interval.

Command Syntax

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

Parameters

<1-21845>

Specify the interval in seconds. The default is 5 seconds.

Default

By default, hello interval is 5 seconds

Command Mode

Router mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

This example shows how to set the hello-interval value for all interfaces of an LSR.

Copy
#configure terminal
(config)#router ldp
(config-router)#hello-interval 35
 
(config-router)#no hello-interval