hello-timeout-target

Sets how long the device waits for its LDP peers for targeted LDP sessions to send a Hello message.

Syntax

hello-timeout-target seconds
no hello-timeout-target

Command Default

The default is 45 seconds.

Parameters

seconds
Specifies the hold time in seconds. Enter an integer from 2 through 65335.

Modes

MPLS LDP configuration mode

Usage Guidelines

When the device does not receive a Hello message within this time, the LDP session with the peer can be terminated. The device includes the hold time in the Hello messages it sends out to its LDP peers.

The new time takes effect immediately and goes in the next Hello message sent. This hold time applies to only the hold time that the device sends to its peers. It does not affect the hold time the device uses to time out those peers. The latter is determined from the hold time that peers send to the device.

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

MPLS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

Examples

The following example sets the global hold time to 10 seconds.

device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# hello-timeout-target 10