
DETAILED STEPS
Step 1
configure
Example:
RP/0/RP0/CPU0:router# configure
Enters global configuration mode.
Step 2
mpls label range minimum_value maximum_value
Example:
RP/0/RP0/CPU0:router(config)# mpls label range 20000 30000
Specifies the range through which dynamic MPLS labels are allocated. All labels falling outside this range (16 to 19999
and 30001 to 1048575) can be manually allocated as static labels.
Step 3
Use the
commit
or
end
command.
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.
Setup a Static LSP
In this task, a static MPLS LSP is setup for a specific ingress label.
SUMMARY STEPS
1.
configure
2.
mpls static
3.
address-family ipv4 unicast
4.
local-label label-value allocate
5.
forward path path_id nexthop nexthop_address interface_type interface_id out-label outgoing_label
6.
Use the
commit
or
end
command.
DETAILED STEPS
Step 1
configure
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
104
Implementing MPLS Static Labeling
Setup a Static LSP