14
To configure remote LDP session parameters:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a remote peer entity and
enter MPLS LDP remote peer view
mpls ldp remote-peer
remote
-
peer-name
Required
Configure the remote peer IP
address
remote-ip
ip-address
Required
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.
Set the targeted Hello timer
mpls ldp timer
hello-hold
value
Optional
45 seconds by default
Set the targeted Keepalive timer
mpls ldp timer
keepalive-hold
value
Optional
45 seconds by default
Configure the LDP transport
address
mpls ldp transport-address
ip-address
Optional
MPLS LSR ID of the LSR by default
NOTE:
•
The IP address specified as the LDP transport address must be the IP address of an interface on the
switch.
•
The remote peer IP address to be configured must be different from all existing remote peer IP addresses.
•
If a local adjacency exists between two peers, no remote adjacency can be established between them.
If a remote adjacency exists between two peers, you can configure a local adjacency for them. However,
the local adjacency can be established only when the transport address and keepalive settings for the
local peer and those for the remote peer match respectively, in which case the remote adjacency will be
removed. Only one remote session or local session can exist between two LSRs, and the local session
takes precedence over the remote session.
•
By default, LDP does not advertise any prefix-based label mapping message 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 the chapter “Configuring MPLS
L2VPN.”
•
Configuring LDP to advertise prefix-based labels through a remote session is for implementing MPLS LDP
over MPLS TE. For information about MPLS LDP over MPLS TE, see the chapter “Configuring MPLS TE.”
Configuring PHP
To configure PHP:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter MPLS view
mpls
—