R2511-HP MSR Router Series MPLS Command Reference(V5)

52
[Sysname] mpls ldp remote-peer BJI
[Sysname-mpls-ldp-remote-bji] remote-ip 3.3.3.3
[Sysname-mpls-ldp-remote-bji] mpls ldp timer hello-hold 1000
Related commands
mpls ldp (interface view)
mpls ldp (system view)
mpls ldp timer keepalive-hold
Use mpls ldp timer keepalive-hold to set a keepalive timer.
Use undo mpls ldp timer keepalive-hold to restore the default.
Syntax
mpls ldp timer keepalive-hold value
undo mpls ldp timer keepalive-hold
Default
Both the link keepalive timer and targeted keepalive timer are 45 seconds.
Views
Interface view, MPLS LDP remote peer view
Default command level
2: System level
Parameters
value: Specifies the value of the Keepalive timer, in the range of 1 to 65535, in seconds.
Usage guidelines
In interface view, you set the link keepalive timer. In MPLS LDP remote peer view, you set the targeted
keepalive timer.
If more than one LDP-enabled link exists between two LSRs, for example, when the two LSRs are
connected through multiple interfaces, the two LSRs use their respective keepalive timer configured on the
interface that first triggered an LDP session to negotiate the keepalive timer with each other. Because the
negotiation result is difficult to predict. Therefore, HP recommends that you set the same keepalive timer
for all the links.
Changing keepalive timers does not affect existing LDP sessions. You can perform the reset mpls ldp
command, so that the device uses the newly configured keepalive timer for LDP negotiation with the peers
to reestablish the LDP sessions.
Examples
# Set the link Keepalive timer to 50 seconds on Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mpls
[Sysname-Ethernet1/1] mpls ldp
[Sysname-Ethernet1/1] mpls ldp timer keepalive-hold 50
# Set the targeted Keepalive timer to 1000 seconds.
<Sysname> system-view