SUMMARY STEPS
1.
configure
2.
mpls ldp
3.
[vrf vrf-name] address-family {ipv4 }
4.
label local advertise explicit-null
5.
Use the commit or end command.
6.
(Optional) show mpls ldp forwarding
7.
(Optional) show mpls ldp vrf all forwarding
8.
(Optional) show mpls ldp vrf all forwarding summary
9.
(Optional) show mpls ldp vrf vrf-name ipv4 forwarding
10.
(Optional) show mpls ldp forwarding summary all
11.
(Optional) clear mpls ldp vrf vrf-name ipv4 forwarding
12.
(Optional) show mpls forwarding
13.
(Optional) ping ip-address
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] address-family {ipv4 }
Step 3
Example:
RP/0/RP0/CPU0:router(config-ldp)#
address-family ipv4
Enables the LDP IPv4 address family.
or
Causes a router to advertise an explicit null label in situations
where it normally advertises an implicit null label (for example,
to enable an ultimate-hop disposition instead of PHOP).
label local advertise explicit-null
Example:
RP/0/RP0/CPU0:router(config-ldp-af)# label
local advertise explicit-null
Step 4
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:
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
40
Implementing MPLS Label Distribution Protocol
Setting Up LDP Forwarding