VPP-491: Update CLI Command documentation for "show ip fib" and "show ip6 fib".
[vpp.git] / vnet / vnet / fib / ip6_fib.c
index 8e3c7cc..d5b9bdc 100644 (file)
@@ -693,53 +693,85 @@ ip6_show_fib (vlib_main_t * vm,
  * @parblock
  * Example of how to display all the IPv6 FIB tables:
  * @cliexstart{show ip6 fib}
- *  FIB lookup table: 65536 buckets, 32 MB heap
- * 15 objects, 513k of 516k used, 600 free, 0 reclaimed, 2k overhead, 32764k capacity
- *
- * VRF 0, fib_index 0, flow hash: src dst sport dport proto
- *                  Destination                      Packets          Bytes         Adjacency
- * ff02::1/128                                                 0               0 weight 1, index 5
- *
- * ff02::2/128                                                 0               0 weight 1, index 4
- *
- * ff02::16/128                                                0               0 weight 1, index 6
- *
- * ff02::1:ff00:0/104                                          0               0 weight 1, index 3
- *
- *
- * VRF 8, fib_index 1, flow hash: src dst sport dport proto
- *                  Destination                      Packets          Bytes         Adjacency
- * ::a:1:1:0:4/126                                             0               0 weight 1, index 11
- *                                                                                ::a:1:1:0:7/126
- * ::a:1:1:0:7/128                                             0               0 weight 1, index 12
- *                                                                                ::a:1:1:0:7/126
- * fe80::/64                                                   0               0 weight 1, index 16
- *                                                                                fe80::fe:68ff:fe72:a773/64
- * fe80::fe:68ff:fe72:a773/128                                 0               0 weight 1, index 17
- *                                                                                fe80::fe:68ff:fe72:a773/64
- * ff02::1/128                                                 0               0 weight 1, index 9
- *
- * ff02::2/128                                                 0               0 weight 1, index 8
- *
- * ff02::16/128                                                0               0 weight 1, index 10
- *
- * ff02::1:ff00:0/104                                          0               0 weight 1, index 7
+ * ipv6-VRF:0, fib_index 0, flow hash: src dst sport dport proto
+ * @::/0
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:5 buckets:1 uRPF:5 to:[0:0]]
+ *     [0] [@0]: dpo-drop ip6
+ * fe80::/10
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:10 buckets:1 uRPF:10 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ff02::1/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:8 buckets:1 uRPF:8 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ff02::2/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:7 buckets:1 uRPF:7 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ff02::16/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:9 buckets:1 uRPF:9 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ff02::1:ff00:0/104
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:6 buckets:1 uRPF:6 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ipv6-VRF:8, fib_index 1, flow hash: src dst sport dport proto
+ * @::/0
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:21 buckets:1 uRPF:20 to:[0:0]]
+ *     [0] [@0]: dpo-drop ip6
+ * @::a:1:1:0:4/126
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:27 buckets:1 uRPF:26 to:[0:0]]
+ *     [0] [@4]: ipv6-glean: af_packet0
+ * @::a:1:1:0:7/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:28 buckets:1 uRPF:27 to:[0:0]]
+ *     [0] [@2]: dpo-receive: @::a:1:1:0:7 on af_packet0
+ * fe80::/10
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:26 buckets:1 uRPF:25 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * fe80::fe:3eff:fe3e:9222/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:29 buckets:1 uRPF:28 to:[0:0]]
+ *     [0] [@2]: dpo-receive: fe80::fe:3eff:fe3e:9222 on af_packet0
+ * ff02::1/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:24 buckets:1 uRPF:23 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ff02::2/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:23 buckets:1 uRPF:22 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ff02::16/128
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:25 buckets:1 uRPF:24 to:[0:0]]
+ *     [0] [@2]: dpo-receive
+ * ff02::1:ff00:0/104
+ *   unicast-ip6-chain
+ *   [@0]: dpo-load-balance: [index:22 buckets:1 uRPF:21 to:[0:0]]
+ *     [0] [@2]: dpo-receive
  * @cliexend
+ *
  * Example of how to display a summary of all IPv6 FIB tables:
  * @cliexstart{show ip6 fib summary}
- * FIB lookup table: 65536 buckets, 32 MB heap
- * 15 objects, 513k of 516k used, 600 free, 0 reclaimed, 2k overhead, 32764k capacity
- *
- * VRF 0, fib_index 0, flow hash: src dst sport dport proto
+ * ipv6-VRF:0, fib_index 0, flow hash: src dst sport dport proto
  *     Prefix length         Count
  *          128                3
  *          104                1
- * VRF 8, fib_index 1, flow hash: src dst sport dport proto
+ *          10                 1
+ *           0                 1
+ * ipv6-VRF:8, fib_index 1, flow hash: src dst sport dport proto
  *     Prefix length         Count
  *          128                5
  *          126                1
  *          104                1
- *          64                 1
+ *          10                 1
+ *           0                 1
  * @cliexend
  * @endparblock
  ?*/