Implementing MPLS Static Labeling
•
MPLS Static Labeling
The MPLS static feature enables you to statically assign local labels to an IPv4 prefix. Also, Label Switched
Paths (LSPs) can be provisioned for these static labels by specifying the next-hop information that is required
to forward the packets containing static label.
If there is any discrepancy between labels assigned statically and dynamically, the router issues a warning
message in the console log. By means of this warning message, the discrepancy can be identified and resolved.
The advantages of static labels over dynamic labels are:
• Improve security because the risk of receiving unwanted labels from peers (running a compromised
• Gives users full control over defined LSPs.
• Utilize system resources optimally because dynamic labeling is not processed.
Restrictions
• Static labeling on IPv6 packets is not supported.
• The router does not prevent label discrepancy at the time of configuring static labels. Any generated
• Equal-cost multi-path routing (ECMP) is not supported.
• Interfaces must be explicitly configured to handle traffic with static MPLS labels.
• The MPLS per-VRF labels cannot be shared between MPLS static and other applications.
Define Label Range and Enable MPLS Encapsulation
By default, MPLS encapsulation is disabled on all interfaces. MPLS encapsulation has to be explicitly enabled
on all ingress and egress MPLS interfaces through which the static MPLS labeled traffic travels.
MPLS Static Labeling , page 19
MPLS dynamic labeling protocol) is reduced.
discrepancy needs to be subsequently cleared.
MPLS Configuration Guide for Cisco NCS 5500 Series Routers, IOS XR Release 6.2.x
3
C H A P T E R
19