FD.io VPP
v17.04-9-g99c0734
Vector Packet Processing
|
show ip mfib [summary] [table <table-id>] [index <fib-id>] [<grp-addr>[/<mask>]] [<grp-addr>] [<src-addr> <grp-addr>].
This command displays the IPv4 MulticasrFIB Tables (VRF Tables) and the route entries for each table.
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 483)
Implementation: ip4_show_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 688)
Implementation: ip6_show_mfib.
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 1170)
Implementation: show_mfib_entry_command.
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 119)
Implementation: show_mfib_itf_command.
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 1267)
Implementation: mfib_test.