Ldp session keepalive timeout configurations, Setting the keepalive timeout, Setting the keepalive intervals – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual
Page 390
366
Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide
53-1003031-02
MPLS LDP-IGP synchronization
2
LDP Session keepalive timeout configurations
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.
Setting the keepalive timeout
Use the ka-timeout command to set the keepalive interval or the time interval at which the session
keepalive message is sent when no other LDP protocol message is sent to the LDP peer.
To configure the keepalive timeout or change the timeout value, the user must be in the LDP mode
within the MPLS configuration mode. A warning is displayed whenever the ka-timeout value is
changed as shown below.
Brocade(config)# router mpls
Brocade(config-mpls)# ldp
Brocade(config-mpls-ldp)# ka-timeout 180
"Please clear LDP sessions for the new KA parameter value to take effect on
existing sessions"
Syntax: [no] ka-timeout value
The value parameter specifies the time after which the session is terminated when no keepalive or
LDP protocol message is received. Possible values 1 to 65535 seconds.
Setting the keepalive intervals
Use ka-int-count command to configure the number of ka-intervals after which the session is
terminated when no session keepalive or other LDP protocol message is received from the LDP
peer. In the following example, ka-int-count is configured when ka-timeout is configured.
Brocade(config)# router mpls
Brocade(config-mpls)# ldp
Brocade(config-mpls-ldp)#ka-timeout 180
"Please clear LDP sessions for the new KA parameter value to take effect on
existing sessions"
Brocade(config-mpls-ldp)# ka-int-count 10
Brocade(config-mpls-ldp)#
Syntax: [no] ka-timeout value
The value parameter specifies the time interval at which the session keepalive message is sent
when no other LDP protocol message is sent to the LDP peer, Possible values 1 to 65535 seconds.
The ka-interval and ka-timeout configuration is mutually exclusive. The user may have only one
configuration at a time. The user must explicitly remove the configuration for one in order to change
to the other configuration.