Generic Commands
7450 ESS MPLS Guide Page 659
If no LDP messages are exchanged for the configured time interval, the LDP session is torn down.
Keepalive timeout is usually three times the keepalive interval. To maintain the session permanently,
regardless of the activity, set the value to zero.
When LDP session is being set up, the keepalive timeout is negotiated to the lower of the two peers.
Once a operational value is agreed upon, the keepalive factor is used to derive the value of the
keepalive interval.
The no form of the command at the interface-parameters and targeted-session levels sets the
keepalive timeout and the keepalive factor to the default value.
The no form of the command, at the interface level, sets the keepalive timeout and the keepalive
factor to the value defined under the interface-parameters level.
The no form of the command, at the peer level, will set the keepalive timeout and the keepalive
factor to the value defined under the targeted-session level.
Note that the session needs to be flapped for the new args to operate.
Default
Parameters timeout — Configures the time interval, expressed in seconds, that LDP waits before tearing down the
session.
Values 1 — 65535
factor — Specifies the number of keepalive messages, expressed as a decimal integer, that should be
sent on an idle LDP session in the keepalive timeout interval.
Values 1 — 255
local-lsr-id
Syntax local-lsr-id {system | interface | interface-name interface-name}
no local-lsr-id
Context config>router>ldp>interface-parameters>interface>ipv4/
config>router>ldp>interface-parameters>interface>ipv6
config>router>ldp>targeted-session>peer
config>router>ldp>targeted-session>peer-template
Description This command enables the use of the address of the local LDP interface, or any other network
interface configured on the system, as the LSR-ID to establish link LDP Hello adjacency and LDP
session with directly connected LDP peers. The network interface can be a loopback or not.
Context timeout factor
config>router>ldp>if-params 30 3
config>router>ldp>targ-session 40 4
config>router>ldp>if-params>if Inherits values from interface-parameters context.
config>router>ldp>targ-session>peer Inherits values from targeted-session context.