Sets the keepalive timeout after which the session is terminated when the keepalive or LDP protocol message is not received.
The default is six seconds.
Specifies the keepalive timeout in seconds. Enter an integer from 1 to 65535.
MPLS LDP configuration mode
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.
"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.
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