DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
configure
Example:
RP/0/RP0/CPU0:router# configure
Step 1
Enters the 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)#
Enables the LDP IPv4 address family.
address-family ipv4
Configures inbound label acceptance control for prefixes specified
by prefix-acl from neighbor (as specified by its LDP ID).
label remote accept from ldp-id for prefix-acl
Example:
RP/0/RP0/CPU0:router(config-ldp-af)#
label
Step 4
remote accept from 192.168.1.1:0 for
pfx_acl_1
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.
Related Topics
Label Acceptance Control (Inbound Filtering), on page 15
Configuring Label Acceptance (Inbound Filtering): Example, on page 82
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
47
Implementing MPLS Label Distribution Protocol
Configuring Label Acceptance Control (Inbound Filtering)