commit—Saves the configuration changes and remains within the configuration session.
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.
Allocate Static MPLS Label for a Specific VRF
In this task, a static MPLS label is allocated to an IP prefix for a specific VRF.
When a static MPLS label is allocated to an IP prefix for a specific VRF, it is not possible to define a static
LSP for that static label.
Note
SUMMARY STEPS
1.
configure
2.
mpls static
3.
vrf vrf_name address-family ipv4 unicast
4.
•
local-label label-value allocate per-prefix IPv4_prefix_entry
•
local-label label-value allocate per-vrf forward path path-id pop-and-lookup
5.
Use the commit or end command.
DETAILED STEPS
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
mpls static
Example:
RP/0/RP0/CPU0:router(config)# mpls static
Enters MPLS-static configuration mode.
Step 3
vrf vrf_name address-family ipv4 unicast
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
107
Implementing MPLS Static Labeling
Allocate Static MPLS Label for a Specific VRF