Configuring LDP Discovery Over a Link
Perform this task to configure LDP discovery over a link.
There is no need to enable LDP globally.
Note
Before You Begin
A stable router ID is required at either end of the link to ensure the link discovery (and session setup) is
successful. If you do not assign a router ID to the routers, the system will default to the global router ID.
Default router IDs are subject to change and may cause an unstable discovery.
SUMMARY STEPS
1.
configure
2.
mpls ldp
3.
[
vrf vrf-name
]
router-id
lsr-id
4.
interface type interface-path-id
5.
Use the
commit
or
end
command.
6.
(Optional)
show mpls ldp discovery
7.
(Optional)
show mpls ldp vrf vrf-name discovery
8.
(Optional)
show mpls ldp vrf all discovery summary
9.
(Optional)
show mpls ldp vrf all discovery brief
10.
(Optional)
show mpls ldp vrf all ipv4 discovery summary
11.
(Optional)
show mpls ldp discovery summary all
DETAILED STEPS
Purpose
Command 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.
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
27
Implementing MPLS Label Distribution Protocol
Configuring LDP Discovery Over a Link