PurposeCommand or Action
•
In Cisco IOS XR software, the router ID is specified as an
interface name or IP address. By default, LDP uses the global
router ID (configured by the global router ID process).
Enters interface configuration mode for the LDP protocol. Interface
type must be Tunnel-TE.
interface type interface-path-id
Example:
RP/0/RP0/CPU0:router(config-ldp)# interface
Step 4
tunnel-te 12001
RP/0/RP0/CPU0:router(config-ldp-if)#
commit—Saves the configuration changes and remains within the
configuration session.
Use the commit or end command.
Step 5
end—Prompts user to take one of these actions:
• Yes— Saves configuration changes and exits the
configuration session.
• No—Exits the configuration session without committing the
configuration changes.
• Cancel—Remains in the configuration session, without
committing the configuration changes.
(Optional)
Displays the status of the LDP discovery process. This command,
without an interface filter, generates a list of interfaces over which
show mpls ldp discovery
Example:
RP/0/RP0/CPU0:router# show mpls ldp
discovery
Step 6
the LDP discovery process is running. The output information
contains the state of the link (xmt/rcv hellos), local LDP identifier,
the discovered peer’s LDP identifier, and holdtime values.
(Optional)
Displays the status of the LDP discovery process for the specified
VRF.
show mpls ldp vrf vrf-name discovery
Example:
RP/0/RP0/CPU0:router# show mpls ldp vrf red
discovery
Step 7
(Optional)
Displays the summarized status of the LDP discovery process for
all VRFs.
show mpls ldp vrf all discovery summary
Example:
RP/0/RP0/CPU0:router# show mpls ldp vrf all
discovery summary
Step 8
(Optional)
Displays the brief status of the LDP discovery process for all VRFs.
show mpls ldp vrf all discovery brief
Example:
RP/0/RP0/CPU0:router# show mpls ldp vrf all
discovery brief
Step 9
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
28
Implementing MPLS Label Distribution Protocol
Configuring LDP Discovery Over a Link