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
]
address-family
{
ipv4
}
Step 3
Example:
RP/0/RP0/CPU0:router(config-ldp)#
Enables the LDP IPv4 address family.
address-family ipv4
Configures outbound label advertisement control by specifying
one of the following options:
label local advertise
[
to ldp-id for prefix-acl
|
interface type interface-path-id
]
Example:
RP/0/RP0/CPU0:router(config-ldp-af)#
label
Step 4
interface
Specifies an interface for label advertisement.
local advertise to 1.1.1.1:0 for pfx_acl1
RP/0/RP0/CPU0:router(config-ldp-af)#
label
local advertise interface POS 0/1/0/0
to ldp-id
for prefix-acl
Specifies neighbors to advertise and receive label
advertisements.
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 Advertisement Control (Outbound Filtering), on page 15
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
35
Implementing MPLS Label Distribution Protocol
Configuring Label Advertisement Control (Outbound Filtering)