How to Implement MPLS LDP
A typical MPLS LDP deployment requires coordination among several global neighbor routers. Various
configuration tasks are required to implement MPLS LDP :
Configuring LDP Discovery Parameters
Perform this task to configure LDP discovery parameters (which may be crucial for LDP operations).
The LDP discovery mechanism is used to discover or locate neighbor nodes.Note
SUMMARY STEPS
1.
configure
2.
mpls ldp
3.
[vrf vrf-name] router-id lsr-id
4.
discovery { hello | targeted-hello } holdtime seconds
5.
discovery { hello | targeted-hello } interval seconds
6.
Use the commit or end command.
7.
(Optional) show mpls ldp [vrf vrf-name] parameters
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure
Example:
RP/0/RP0/CPU0:router# configure
Step 1
Enters MPLS LDP configuration mode.mpls ldp
Example:
RP/0/RP0/CPU0:router(config)# mpls ldp
Step 2
(Optional) Specifies a non-default VRF.
[vrf vrf-name] router-id lsr-id
Step 3
Example:
RP/0/RP0/CPU0:router(config-ldp)# router-id
192.168.70.1
Specifies the router ID of the local node.
•
In Cisco IOS XR software, the router ID is specified as an
interface IP address. By default, LDP uses the global router
ID (configured by the global router ID process).
Specifies the time that a discovered neighbor is kept without receipt
of any subsequent hello messages. The default value for the seconds
discovery { hello | targeted-hello } holdtime
seconds
Step 4
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
25
Implementing MPLS Label Distribution Protocol
How to Implement MPLS LDP