Example:
RP/0/RP0/CPU0:router#show mpls static local-label discrepancy
Tue Apr 22 18:36:31.614 UTC
Label
VRF
Type
Prefix
RW Configured
Status
------- --------------- ------------ ---------------- --------------- --------
16003
default
Per-Prefix
1.1.1.1/32
No
Discrepancy
Example:
RP/0/RP0/CPU0:router#show log
Thu Apr 24 14:18:57.655 UTC
Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)
Console logging: level warnings, 199 messages logged
Monitor logging: level debugging, 0 messages logged
Trap logging: level informational, 0 messages logged
Buffer logging: level debugging, 2 messages logged
Log Buffer (307200 bytes):
RP/0/RSP0/CPU0:Apr 24 14:18:53.743 : mpls_static[1043]:
%ROUTING-MPLS_STATIC-7-ERR_STATIC_LABEL_DISCREPANCY :
The system detected 1 label discrepancies (static label could not be allocated due to conflict with
other applications).
Please use 'clear mpls static local-label discrepancy' to fix this issue.
RP/0/RSP0/CPU0:Apr 24 14:18:53.937 : config[65762]: %MGBL-CONFIG-6-DB_COMMIT : Configuration committed
by user 'cisco'.
Use 'show configuration commit changes 1000000020' to view the changes.
Step 2
clear mpls static local-label discrepancy all
Example:
RP/0/RP0/CPU0:router# clear mpls static local-label discrepancy all
Clears label discrepancy by allocating a new label to those IP prefixes that are allocated dynamic label. The static label
configuration takes precedence while clearing discrepancy. Traffic can be affected while clearing discrepancy.
Cisco IOS XR MPLS Configuration Guide for the Cisco CRS Router, Release 5.1.x
110
Implementing MPLS Static Labeling
Identify and Clear Label Discrepancy