14
Configuring remote LDP session parameters
LDP sessions established between remote LDP peers are referred to as remote LDP sessions. Remote LDP
sessions are mainly used in Martini MPLS L2VPN, Martini VPLS, and MPLS LDP over MPLS TE. For more
information about remote session applications, see the chapters “Configuring MPLS L2VPN,”
“Configuring VPLS,” and “Configuring MPLS TE.”
To establish a remote LDP session:
•
Determine the LDP transport addresses of the two peers and make sure that the LDP transport
addresses are reachable to each other. This is to establish the TCP connection.
•
If there are a many LDP sessions between the two LSRs or the CPU is occupied much, you need to
adjust timers to ensure the stability of the LDP sessions.
To configure remote LDP session parameters:
Step 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
N/A
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.
5.
Set the targeted Hello timer.
mpls ldp timer
hello-hold
value
Optional.
45 seconds by default.
6.
Set the targeted Keepalive
timer.
mpls ldp timer
keepalive-hold
value
Optional.
45 seconds by default.
7.
Configure the LDP transport
address.
mpls ldp transport-address
ip-address
Optional.
MPLS LSR ID of the LSR by default.