FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
src/vnet/mfib

show ip mfib

Summary/usage

show ip mfib [summary] [table <table-id>] [index <fib-id>] [<grp-addr>[/<mask>]] [<grp-addr>] [<src-addr> <grp-addr>].

Description

This command displays the IPv4 MulticasrFIB Tables (VRF Tables) and the route entries for each table.

Note
This command will run for a long time when the FIB tables are comprised of millions of entries. For those senarios, consider displaying a single table or summary mode.
Example usage
Example of how to display all the IPv4 Multicast FIB tables:
vpp# show ip fib
ipv4-VRF:0, fib_index 0
(*, 0.0.0.0/0):  flags:D,
 Interfaces:
 multicast-ip4-chain
  [@1]: dpo-drop ip4
(*, 232.1.1.1/32):
Interfaces:
 test-eth1: Forward,
 test-eth2: Forward,
 test-eth0: Accept,
multicast-ip4-chain
[@2]: dpo-replicate: [index:1 buckets:2 to:[0:0]]
  [0] [@1]: ipv4-mcast: test-eth1: IP4: d0:d1:d2:d3:d4:01 -> 01:00:05:00:00:00
  [1] [@1]: ipv4-mcast: test-eth2: IP4: d0:d1:d2:d3:d4:02 -> 01:00:05:00:00:00

Example of how to display a summary of all IPv4 FIB tables:

vpp# show ip fib summary

ipv4-VRF:0, fib_index 0, flow hash: src dst sport dport proto
    Prefix length         Count
                   0               1
                   8               2
                  32               4
ipv4-VRF:7, fib_index 1, flow hash: src dst sport dport proto
    Prefix length         Count
                   0               1
                   8               2
                  24               2
                  32               4

Declaration and implementation

Declaration: ip4_show_mfib_command (src/vnet/mfib/ip4_mfib.c line 553)

Implementation: ip4_show_mfib.

show ip6 mfib

Summary/usage

show ip mfib [summary] [table <table-id>] [index <fib-id>] [<grp-addr>[/<mask>]] [<grp-addr>] [<src-addr> <grp-addr>].

Declaration and implementation

Declaration: ip6_show_fib_command (src/vnet/mfib/ip6_mfib.c line 704)

Implementation: ip6_show_mfib.

show mfib entry

Summary/usage

show mfib entry.

Description

This commnad displays an entry, or all entries, in the mfib tables indexed by their unique
numerical indentifier.

Declaration and implementation

Declaration: show_mfib_entry (src/vnet/mfib/mfib_entry.c line 1330)

Implementation: show_mfib_entry_command.

show mfib interface

Summary/usage

show mfib interface.

Description

This commnad displays an MFIB interface, or all interfaces, indexed by their unique
numerical indentifier.

Declaration and implementation

Declaration: show_mfib_itf (src/vnet/mfib/mfib_itf.c line 193)

Implementation: show_mfib_itf_command.

test mfib

Summary/usage

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

Declaration and implementation

Declaration: test_fib_command (src/vnet/mfib/mfib_test::c line 1540)

Implementation: mfib_test.