show mpls ilm-table
Use this command to view Incoming label mapping (ILM) table entries.
Command Syntax
show mpls ilm-table ((A.B.C.D/M| VRFNAME|X:X::X:X/M|algorithm)(count|)
Parameters
A.B.C.D/M
FEC IPv4
VRFNAME
Shows MPLS Incoming label map table by vrf name.
X:X::X:X/M
FEC IPv6
algorithm
Specifies the Flexible Algorithm
count
Count of entries in ILM table.
Command Mode
Execution mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show mpls ilm-table
Codes: > - installed ILM, * - selected ILM, p - stale ILM, ! - using backup
K - CLI ILM, T - MPLS-TP, s - Stitched ILM
S - SNMP, L - LDP, R - RSVP, C - CRLDP
B - BGP , K - CLI , V - LDP_VC, I - IGP_SHORTCUT
O - OSPF/OSPF6 SR, i - ISIS SR, k - SR CLI
P - SR Policy, U - unknown, UPStr - upstream
ILM-ECMP LDP: Disabled, SR: Disabled
Code FEC/VRF/L2CKT ILM-ID In-Label Out-Label In-Intf Out-Intf/VRF Nexthop pri Algo-Num UpTime UPStr peers
L> 192.0.1.0/24 16 24335 24334 N/A xe8.200 22.26.1.26 Yes N/A 00:42:48 3
24335 24334 N/A xe8.100 22.26.0.26 Yes - -
L> 26.27.0.0/24 8 24327 0 N/A xe8.200 22.26.1.26 Yes N/A 00:42:48 3
24327 0 N/A xe8.100 22.26.0.26 Yes - -
L> 9.9.0.100/32 4 24323 24320 N/A xe8.200 22.26.1.26 Yes N/A 00:42:48 3
24323 24320 N/A xe8.100 22.26.0.26 Yes - -
L> 9.9.2.100/32 2 24321 Nolabel N/A N/A 127.0.0.1 Yes N/A 00:42:49 3
L> 9.9.1.100/32 1 24320 Nolabel N/A N/A 127.0.0.1 Yes N/A 00:42:49 3
L> 9.9.3.100/32 3 24322 Nolabel N/A N/A 127.0.0.1 Yes N/A 00:42:49 3
L> 24.26.0.0/24 6 24325 0 N/A xe8.200 22.26.1.26 Yes N/A 00:42:48 3
24325 0 N/A xe8.100 22.26.0.26 Yes - -
If algo is specified
show mpls ilm-table algorithm 128
Codes: > - installed ILM, * - selected ILM, p - stale ILM, ! - using backup
K - CLI ILM, T - MPLS-TP, s - Stitched ILM
S - SNMP, L - LDP, R - RSVP, C - CRLDP
B - BGP , K - CLI , V - LDP_VC, I - IGP_SHORTCUT
O - OSPF/OSPF6 SR, i - ISIS SR, k - SR CLI
P - SR Policy, U - unknown, UPStr - upstream
ILM-ECMP LDP: Disabled, SR: Enabled
Code FEC/VRF/L2CKT ILM-ID In-Label Out-Label In-Intf Out-Intf/VRF Nexthop pri Algo-Num UpTime UPStr peers
i> 25.0.1.2/32 19 17282 3 N/A xe5 11.0.12.2 Yes 128 20:41:58
17282 21282 N/A xe22 11.0.15.5 No - -
i> 25.0.1.1/32 6 17281 Nolabel N/A N/A 127.0.0.1 Yes 128 20:00:05
i> 25.0.1.4/32 21 17284 3 N/A xe15 11.0.14.4 Yes 128 20:41:58
17284 21284 N/A xe22 11.0.15.5 No - -
i> 25.0.1.3/32 20 17283 21283 N/A xe5 11.0.12.2 Yes 128 20:41:58
17283 21283 N/A xe22 11.0.15.5 No - -
17283 21283 N/A xe22 11.0.15.5 Yes - -
17283 21283 N/A xe5 11.0.12.2 No - -
i> 25.0.1.6/32 24 17286 21286 N/A xe22 11.0.15.5 Yes 128 20:41:58
17286 21286 N/A xe5 11.0.12.2 No - -
i> 25.0.1.5/32 33 17285 3 N/A xe22 11.0.15.5 Yes 128 19:00:34
17285 21285 N/A xe5 11.0.12.2 No - -
The following table shows the status codes displayed at the start of a route entry.
Status Code |
Field |
Description |
|
Installed ILM |
Number of ILM entry installed. |
* |
Selected ILM |
ILM entry selected in the interface. |
P |
Stale ILM |
Stale marked ILM due to on-going graceful restart of MPLS module. |
K |
CLI ILM |
Admin configured static ILM entry. |
T |
MPLS-TP |
ILM entry installed by MPLS-TP. |
The following table explains the show command output fields.
Field |
Description |
FEC |
Displays the Forward Equivalency Class (FEC) for this entry. |
ILM-ID |
ILM identifier for the session. |
LSP-Type |
LSP type associated with each interface being protected. |
Out-Label |
Label received from downstream neighbor for route. |
Out-Intf |
Short name of the physical interface through which traffic goes to the protected link. |
In label |
Displays the ingress (incoming interface) label for this segment. |
In intf |
Installed as a result of configuring an interface. |
Nexthop |
Displays the IP address of the next hop. |
Num ILMs |
Number of ILMs in the session. |
Swap Entries |
Number of packets in the entry. |
Pop Entries |
Number of POP entries. |
Upstream | Number of Upstream peer the FEC has been advertised. |