If LFA is not present
#show mpls ftn-table
Primary FTN entry with FEC: 10.10.10.0/24, id: 2, row status: Active, Tunnel-Policy: N/A
Owner: LDP, distance: 0, Action-type: Redirect to LSP, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, Description: N/A, Color: 0
Cross connect ix: 3, in intf: - in label: 0 out-segment ix: 3
Owner: N/A, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 3, owner: N/A, Stale: NO, out intf: xe1, out label: 3
Nexthop addr: 50.50.50.1 cross connect ix: 3, op code: Push
If Backup is present
#show mpls ftn-table
Primary FTN entry with FEC: 10.10.10.0/24, id: 2, row status: Active, Tunnel-Policy: N/A
Owner: LDP, distance: 0, Action-type: Redirect to LSP, Exp-bits: 0x0, Incoming DSCP: none
Tunnel id: 0, Protected LSP id: 0, Description: N/A, Color: 0
Cross connect ix: 3, in intf: - in label: 0 out-segment ix: 3
Owner: N/A, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 3, owner: N/A, Stale: NO, out intf: xe1, out label: 3
Nexthop addr: 50.50.50.1 cross connect ix: 3, op code: Push
Backup Cross connect ix: 4, in intf: - in label: 0 out-segment ix: 8
Owner: N/A, Persistent: No, Admin Status: Up, Oper Status: Up
Out-segment with ix: 8, owner: N/A, Stale: NO, out intf: xe3, out label: 3
Nexthop addr: 20.20.20.1 cross connect ix: 3, op code: Push
show mpls ilm-table
Use this command to view Incoming label mapping (ILM) table entries.
Command Syntax
show mpls ilm-table (count|)
Parameters
count
Count of entries in ILM table.
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show mpls ilm-table
Codes: > - installed ILM, * - selected ILM, p - stale ILM
K - CLI ILM,T - MPLS-TP
Code FEC ILM-ID In-Label Out-Label In-Intf Out-Intf Nexthop LSP-Type
> 63.63.63.63/32 151187 53121 3 N/A xe6 6.6.6.63 LSP_DEFAULT
> 16.16.16.0/24 151186 53120 3 N/A xe6 6.6.6.63 LSP_DEFAULT
K> N/A 151189 500 N/A N/A N/A 127.0.0.1 LSP_DEFAULT
> 65.65.65.65/32 151188 53122 3 N/A xe1 1.1.1.65 LSP_DEFAULT
#show mpls ilm-table count
--------------------------------------------
Num ILMs : 4 [UP: 4, INSTALL: 4]
Swap Entries : 3 [UP: 3, INSTALL: 3]
Pop Entries : 1 [UP: 1, INSTALL: 1]
--------------------------------------------
Table 1-8 shows the status codes displayed at the start of a route entry.
Table 1-8: status code output field
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. |
Table 1-9 explains the show command output fields.
Table 1-9: show mpls ilm-table output field
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. |
show mpls in-segment-table
Use this command to display detailed information about all entries in the Incoming Label Map (also known as in-segment) table.
Command Syntax
show mpls in-segment-table
Parameters
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show mpls in-segment-table
Owner: RSVP,#of pops: 1, fec: 192.168.0.5/32
show mpls owner-rib-table
This command is modified to display backup information when LDP_LFA is enabled.
Command Syntax:
show mpls owner-rib-table
Parameters
None
Example
If LFA flag is disabled.
#show mpls owner-rib-table count
===============================================================
RIB INFO Type : LDP
Session IP Address: 41.41.41.41 Label Space: 0
Ftn Count 4, ILM Count 2 Dep ILM 2 VC 0
===============================================================
If LFA is enabled and Backup entries is not present.
#show mpls owner-rib-table count
===============================================================
RIB INFO Type : LDP
Session IP Address: 41.41.41.41 Label Space: 0
Ftn Count 4, ILM Count 2 Dep ILM 2 VC 0
Backup Info
Ftn Count 0, ILM Count 0 Dep ILM 0
===============================================================
If Backup entries are present.
#show mpls owner-rib-table count
===============================================================
RIB INFO Type : LDP
Session IP Address: 41.41.41.41 Label Space: 0
Ftn Count 4, ILM Count 2 Dep ILM 2 VC 0
Backup Info
Ftn Count 4, ILM Count 0 Dep ILM 0
===============================================================
===============================================================
RIB INFO Type : LDP
Session IP Address: 17.17.17.17 Label Space: 0
Ftn Count 4, ILM Count 2 Dep ILM 2 VC 0
Backup Info
Ftn Count 4, ILM Count 0 Dep ILM 0
show mpls qos-resource
Use this command to display detailed QoS resource information.
Command Syntax
show mpls qos-resource IFNAME
Parameters
IFNAME
Display the interface name for a QoS resource
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show mpls qos-resource eth1
<**********************************************>
QOS RESERVED TABLE
<**********************************************>
HOLD PRIORITY : 0
HOLD PRIORITY : 1
HOLD PRIORITY : 2
HOLD PRIORITY : 3
HOLD PRIORITY : 4
HOLD PRIORITY : 5
HOLD PRIORITY : 6
HOLD PRIORITY : 7
<**********************************************>
QOS AWAITING TABLE (static resources)
<**********************************************>
HOLD PRIORITY : 0
HOLD PRIORITY : 1