ka-interval

Sets the keepalive time interval at which the session keepalive message is sent when no other LDP protocol message is sent to the LDP peer.

Syntax

ka-interval seconds
no ka-interval seconds

Command Default

The default is six seconds.

Parameters

seconds

Specifies the keepalive time interval in seconds. Enter an integer from 1 throughk 65535.

Modes

MPLS LDP configuration mode

Usage Guidelines

The ka-interval and the ka-timeout configurations are mutually exclusive and you may have only one configured at a time. You must explicitly remove the configuration for one in order to change to the other configuration.

When the keepalive timeout value is configured, the show mpls ldp command displays keepalive interval as keepalive timeout divided by the keepalive interval count (ka-timeout/ka-in-count).

A message is displayed whenever the ka-interval value is changed.
"Please clear LDP sessions for the new KA parameter value to take effect on existing sessions"

Use the no form of the command to reset the default of six seconds.

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 configures a keepalive interval of 10 seconds.

device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# ka-interval 10