Example:
RP/0/RP0/CPU0:router#show mpls static local-label 200
Tue Apr 22 18:21:55.764 UTC
Label
VRF
Type
Prefix
RW Configured
Status
------- --------------- ------------ ---------------- --------------- --------
200
default
Per-Prefix
10.10.10.10/32
Yes
Created
Verifies that the status is "Created" for the specified label value.
Step 2
show mpls label range
Example:
RP/0/RP0/CPU0:router#show mpls label range
Mon Apr 28 19:56:00.596 IST
Range for dynamic labels: Min/Max: 16000/1048575
Checks the dynamic range and ensures that the specified local-label value is outside this range.
Step 3
show mpls lsd forwarding
Example:
RP/0/RP0/CPU0:router#show mpls lsd forwarding
Tue Apr 29 15:59:52.011 UTC
In_Label, (ID), Path_Info: <Type>
89, (IPv4, 'default':4U, 5.6.78.55/32), 1 Paths
1/1: IPv4, 'default':4U, Gi0/0/0/21, nh=0.0.0.0, lbl=89, tun_id=0, flags=0x0 ()
110, (IPv4, 'default':4U, 2.2.2.2/32), 1 Paths
1/1: IPv4, 'default':4U, Gi0/1/0/0, nh=1.12.1.2, lbl=Pop, tun_id=0, flags=0x0 ()
120, (IPv4, 'default':4U, 3.3.3.3/32), 1 Paths
1/1: IPv4, 'default':4U, Gi0/1/0/0, nh=1.12.1.2, lbl=0, tun_id=0, flags=0x0 ()
130, (IPv4, 'default':4U, 4.4.4.4/32), 1 Paths
1/1: IPv4, 'default':4U, Gi0/1/0/0, nh=1.12.1.2, lbl=200, tun_id=0, flags=0x0 ()
Verifies that the MPLS static configuration has taken effect, and the label forwarding is taking place.
Identify and Clear Label Discrepancy
During configuring or de-configuring static labels or a label range, a label discrepancy can get generated
when:
•
A static label is configured for an IP prefix (per VRF) that already has a binding with a dynamic label.
•
A static label is configured for an IP prefix, when the same label value is dynamically allocated to another
IP prefix.
Complete these steps to identify and clear the discrepancies.
Step 1
To identify a label discrepancy, execute one of these:
•
show mpls static local-label discrepancy
•
show log
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
109
Implementing MPLS Static Labeling
Identify and Clear Label Discrepancy