64 
Ste
 Command
Remarks 
3.  Set the link Hello timer. 
mpls ldp timer hello-hold value 
Optional. 
15 seconds by default. 
4.  Set the link Keepalive timer. 
mpls ldp timer keepalive-hold 
value 
Optional. 
45 seconds by default. 
5.  Configure the LDP transport 
address. 
mpls ldp transport-address 
{ ip-address | interface } 
Optional. 
The default takes the value of the 
MPLS LSR ID. 
The specified IP address must be 
the IP address of an interface on 
the switch for setting up LDP 
sessions. 
 
Configuring remote LDP session parameters 
LDP sessions established between remote LDP peers are remote LDP sessions. Remote LDP sessions are 
mainly used in Martini MPLS L2VPN and Martini VPLS. For more information about remote session 
applications, see "Configuring MPLS L2VPN" and "Configuring VPLS." 
T
o establish a remote LDP session, perform the following operations: 
•  Determine the LDP transport addresses of the two peers and make sure the LDP transport addresses 
are reachable to each other. Do this to establish the TCP connection. 
•  If many LDP sessions exist between the two LSRs or the CPU is occupied often, adjust timers to ensure 
the stability of the LDP sessions.  
To configure remote LDP session parameters: 
 
Ste
 Command
Remarks 
1.  Enter system view. 
system-view  N/A 
2.  Create a remote peer entity 
and enter MPLS LDP remote 
peer view. 
mpls ldp remote-peer 
remote-peer-name 
N/A 
3.  Configure the remote peer IP 
address. 
remote-ip ip-address 
The remote peer IP address must be 
different from all existing remote 
peer IP addresses. 
4.  Configure LDP to advertise 
prefix-based labels through a 
remote session. 
prefix-label advertise 
Optional. 
By default, LDP does not advertise 
prefix-based labels through a 
remote session, and remote 
sessions are used only to transfer 
messages for L2VPNs. For more 
information about remote session 
applications, see the Martini MPLS 
L2VPN configuration in 
"Configuring MPLS L2VPN." 
5.  Set the targeted Hello timer. 
mpls ldp timer hello-hold value 
Optional. 
The default value is 45 seconds.