OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Command Reference : MPLS Commands : show mpls forwarding-table
show mpls forwarding-table
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 parameter added in OcNOS version 4.2. The output was extended to display backup Information as well.
Example
If Backup not present:
#show mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN,
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 10.10.10.0/24 2 4 - Yes LSP_DEFAULT 3 xe1 No 50.50.50.1
- Yes LSP_DEFAULT 3 xe3 No 20.20.20.1
L> 30.30.30.0/23 3 5 - Yes LSP_DEFAULT 3 xe1 No 50.50.50.1
L> 30.30.30.0/24 1 2 - Yes LSP_DEFAULT 3 xe6 No 40.40.40.2
L> 35.35.35.35/32 5 7 - Yes LSP_DEFAULT 3 xe6 No 40.40.40.2
L> 41.41.41.41/32 4 6 - Yes LSP_DEFAULT 3 xe1 No 50.50.50.1
L> 44.44.44.44/32 6 11 - Yes LSP_DEFAULT 3 xe3 No 20.20.20.1
#
 
If Backup is present:
#show mpls forwarding-table
Codes: > - installed FTN, * - selected FTN, p - stale FTN,
B - BGP FTN, K - CLI FTN, t - tunnel, P - SR Policy FTN,
L - LDP FTN, R - RSVP-TE FTN, S - SNMP FTN, I - IGP-Shortcut,
U - unknown FTN, O - SR-OSPF FTN, i - SR-ISIS FTN, k - SR-CLI FTN
(m) - FTN mapped over multipath transport
 
Code FEC FTN-ID Nhlfe-ID Tunnel-id Pri LSP-Type Out-Label Out-Intf ELC Nexthop
L> 10.10.10.0/24 2 4 - Yes LSP_DEFAULT 3 xe1 No 50.50.50.1
- No LSP_DEFAULT 3 xe3 No 20.20.20.1
- Yes LSP_DEFAULT 3 xe3 No 20.20.20.1
- No LSP_DEFAULT 3 xe1 No 50.50.50.1
L> 30.30.30.0/23 3 5 - Yes LSP_DEFAULT 3 xe1 No 50.50.50.1
L> 30.30.30.0/24 1 2 - Yes LSP_DEFAULT 3 xe6 No 40.40.40.2
L> 35.35.35.35/32 5 7 - Yes LSP_DEFAULT 3 xe6 No 40.40.40.2
L> 41.41.41.41/32 4 6 - Yes LSP_DEFAULT 3 xe1 No 50.50.50.1
L> 44.44.44.44/32 6 11 - Yes LSP_DEFAULT 3 xe3 No 20.20.20.1
- No LSP_DEFAULT 24326 xe1 No 50.50.50.1
L> 1.1.1.1/32 2 4 - Yes LSP_DEFAULT 24320 xe12 No 20.1.1.1
11 - No LSP_DEFAULT 24320 xe5 No 30.1.1.1
11 - Yes LSP_DEFAULT 24320 xe5 No 30.1.1.1
3 - No LSP_DEFAULT 24320 xe12 No 20.1.1.1
L> 2.2.2.2/32 3 6 - Yes LSP_DEFAULT 3 xe12 No 20.1.1.1
15 - No LSP_DEFAULT 24324 xe5 No 1.1.1.1
(via 30.1.1.1 ,label 24320)
L> 3.3.3.3/32 1 2 - Yes LSP_DEFAULT 3 xe5 No 30.1.1.1
16 - No LSP_DEFAULT 24325 xe12 No 1.1.1.1
(via 20.1.1.1 ,label 24320)
 
Last modified date: 07/17/2023