show mpls forwarding-table detail
Use this command to view forwarding table entries.
Command Syntax
show mpls forwarding-table ((A.B.C.D/M|X:X::X:X/M|) | count | detail |)
Parameters
A.B.C.D/M
FEC IPv4
X:X::X:X/M
FEC IPv6
count
Count of IPv4 FTNs.
detail
show detail
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3 and the detail option is applicable form OcNOS version 4.2.
Detail applicable form is modified to display backup information if present (only for LDP FTNs).
Example
If LFA flag is not enabled
#show mpls forwarding-table detail
FEC prefix: 41.41.41.41/32, FTN-ID: 5
Owner: LDP, FTN type: Regular, State: Installed
Tunnel-Name: N/A, Tunnel-id: N/A, Color: N/A
LSP-ID: N/A, LSP-type: Primary
NHLFE-id: 7
Out-Label: 3, Out-Intf: xe1, Nexthop: 50.50.50.1
Exp-bits: 0x0, Incoming DSCP: none, QoS Resource id: 0
ELC: No
If LFA is enabled and backup not present:
FEC prefix: 41.41.41.41/32, FTN-ID: 5
Owner: LDP, FTN type: Regular, State: Installed
Tunnel-Name: N/A, Tunnel-id: N/A, Color: N/A
LSP-ID: N/A, LSP-type: Primary
NHLFE-id: 7
Primary : Out-Label: 3, Out-Intf: xe1, Nexthop: 50.50.50.1
Exp-bits: 0x0, Incoming DSCP: none, QoS Resource id: 0
ELC: No
If Backup is present:
#show mpls forwarding-table detail
FEC prefix: 10.10.10.0/24, FTN-ID: 2
Owner: LDP, FTN type: Regular, State: Installed
Tunnel-Name: N/A, Tunnel-id: N/A, Color: N/A
LSP-ID: N/A, LSP-type: Primary
NHLFE-id: 4
Primary : Out-Label: 3, Out-Intf: xe1, Nexthop: 50.50.50.1
LFA Backup : Out-Label: 3, Out-Intf: xe3, Nexthop: 20.20.20.1
Primary : Out-Label: 3, Out-Intf: xe3, Nexthop: 20.20.20.1
LFA Backup : Out-Label: 3, Out-Intf: xe1, Nexthop: 50.50.50.1
Exp-bits: 0x0, Incoming DSCP: none, QoS Resource id: 0
ELC: No
Last modified date: 07/17/2023