FD.io VPP  v16.12-rc0-122-gce64b8e
Vector Packet Processing
vnet/vnet/fib

show fib entry

Summary/usage

show fib entry.

Declaration and implementation

Declaration: show_fib_entry (vnet/vnet/fib/fib_entry.c:1489)

Implementation: show_fib_entry_command.

show fib paths

Summary/usage

show fib paths.

Declaration and implementation

Declaration: show_fib_path (vnet/vnet/fib/fib_path.c:1740)

Implementation: show_fib_path_command.

show fib path list

Summary/usage

show fib path list.

Declaration and implementation

Declaration: show_fib_path_list (vnet/vnet/fib/fib_path_list.c:1096)

Implementation: show_fib_path_list_command.

test fib

Summary/usage

fib unit tests - DO NOT RUN ON A LIVE SYSTEM.

Declaration and implementation

Declaration: test_fib_command (vnet/vnet/fib/fib_test.c:6312)

Implementation: fib_test.

test lfib

Summary/usage

mpls label fib unit tests - DO NOT RUN ON A LIVE SYSTEM.

Declaration and implementation

Declaration: test_lfib_command (vnet/vnet/fib/fib_test.c:6318)

Implementation: lfib_test.

show fib walk

Summary/usage

show fib walk.

Declaration and implementation

Declaration: fib_walk_show_command (vnet/vnet/fib/fib_walk.c:771)

Implementation: fib_walk_show.

show ip fib

Summary/usage

show ip fib [mtrie] [summary] [table <n>] [<ip4-addr>] [clear] [include-empty].

Description

Show FIB/route entries

Example usage
vpp# show ip fib
Display the IPv4 FIB.
This command will run for a long time when the FIBs comprise millions of entries.
  vpp# sh ip fib
  Table 0
  Destination         Packets          Bytes         Adjacency
  6.0.0.0/8                          0               0 weight 1, index 3
                                                      arp fake-eth0 6.0.0.1/8
  6.0.0.1/32                         0               0 weight 1, index 4
                                                       local 6.0.0.1/8

And so forth. Use 'show ip fib summary' for a summary:

  vpp# sh ip fib summary
  Table 0
  Prefix length         Count
        8               1
       32               4

Declaration and implementation

Declaration: ip4_show_fib_command (vnet/vnet/fib/ip4_fib.c:538)

Implementation: ip4_show_fib.

show ip6 fib

Summary/usage

show ip6 fib [summary] [table <n>] [<ip6-addr>] [verboase].

Description

Show FIB6/route entries

Example usage
vpp# show ip fib
Display the IPv6 FIB.
This command will run for a long time when the FIBs comprise millions of entries.
See 'show ip fib'

Declaration and implementation

Declaration: ip6_show_fib_command (vnet/vnet/fib/ip6_fib.c:694)

Implementation: ip6_show_fib.

show mpls fib

Summary/usage

show mpls fib [summary] [table <n>].

Declaration and implementation

Declaration: mpls_fib_show_command (vnet/vnet/fib/mpls_fib.c:435)

Implementation: mpls_fib_show.