show mpls forwarding-table

Use this command to display the contents of the MPLS Label Forwarding Information Base (LFIB).

Syntax

show mpls forwarding-table [ip-address/length] [interface-name] [label label] [detail]

Parameters

ip-address/length (Optional) Specifies the IPv4 or IPv6 address and length of the LFIB entries to display.
interface-name (Optional) Specifies the outgoing interface of the LFIB entries to display.
label label (Optional) Specify the local or outgoing label to display. Valid values are 1 – 1048576.
detail (Optional) Specifies that a detailed level of information should display.

Defaults

If no options are specified, a one-line summary level of information displays for each LFIB entry.

Mode

All command modes.

Examples

This example shows how to display a summary level of information for all LFIB entries:

System(rw)->show mpls forwarding-table
Local  Outgoing    Prefix                 Outgoing   Next Hop
tag    tag or VC   or Tunnel Id           interface
57     0           173.6.1.1/32
78     77          192.17.170.80/32       vlan.0.46  192.18.170.17
80     53          192.17.170.3/32        vlan.0.36  192.17.170.41
81     51          192.17.170.32/29       vlan.0.36  192.17.170.41
82     45          173.101.173.0/24       vlan.0.610 192.17.170.49
83     48          192.17.170.10/32       vlan.0.610 192.17.170.49
84     30          173.4.1.0/24           vlan.0.36  192.17.170.41
85     31          173.4.2.0/24           vlan.0.36  192.17.170.41
86     32          173.4.3.0/24           vlan.0.36  192.17.170.41
...
171    185         173.7.9.0/24           vlan.0.610 192.17.170.49
171    134         173.7.9.0/24           vlan.0.26  192.17.170.65
173    186         173.7.10.0/24          vlan.0.610 192.17.170.49
173    135         173.7.10.0/24          vlan.0.26  192.17.170.65
System(rw)->