ka-timeout

Sets the keepalive timeout after which the session is terminated when the keepalive or LDP protocol message is not received.

Syntax

ka-timeout seconds
no ka-timeout seconds

Command Default

The default is six seconds.

Parameters

seconds

Specifies the keepalive timeout in seconds. Enter an integer from 1 to 65535.

Modes

MPLS LDP configuration mode

Usage Guidelines

After an LDP session is established, an LSR maintains the integrity of the session by sending keepalive messages. The keepalive timer for each peer session resets whenever it receives any LDP protocol message or a keepalive message on that session. When the keepalive timer expires, LDP concludes that the TCP connection is bad or the peer is dead and terminates the session.

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).

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.

A message is displayed whenever the ka-timeout 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 timeout of six seconds.

MPLS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.

Examples

The following example configures a keepalive timeout of 180 seconds.

device# configure terminal
device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# ka-timeout 180