diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-05-20 15:44:00 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-05-20 15:44:00 -0400 |
| commit | 31da224cdf23c5ace028b6bb60a2a855dc148e4f (patch) | |
| tree | 9a8563ad9441c42f48a97f202f67e3f972aba594 | |
| parent | 0babb933e73a1355786ac3722fb882d7a4bc0d79 (diff) | |
doc: Fixup `show ip route` command doc
The documentation for this command is just... wrong.
Let's clean it up.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
| -rw-r--r-- | doc/user/zebra.rst | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/doc/user/zebra.rst b/doc/user/zebra.rst index 72b4f20418..b04d65094f 100644 --- a/doc/user/zebra.rst +++ b/doc/user/zebra.rst @@ -1453,23 +1453,26 @@ To program the PBR rules as rte_flows you additionally need to configure zebra Terminal Mode Commands ============================ -.. clicmd:: show ip route +.. clicmd:: show [ip|ipv6] route Display current routes which zebra holds in its database. :: Router# show ip route - Codes: K - kernel route, C - connected, S - static, R - RIP, - B - BGP * - FIB route. + Codes: K - kernel route, C - connected, L - local, S - static, + R - RIP, O - OSPF, I - IS-IS, B - BGP, E - EIGRP, N - NHRP, + T - Table, v - VNC, V - VNC-Direct, A - Babel, D - SHARP, + F - PBR, f - OpenFabric, t - Table-Direct, + > - selected route, * - FIB route, q - queued, r - rejected, b - backup + t - trapped, o - offload failure + + K>* 0.0.0.0/0 [0/100] via 192.168.119.1, enp13s0, 00:30:22 + S> 4.5.6.7/32 [1/0] via 192.168.119.1 (recursive), weight 1, 00:30:22 + * via 192.168.119.1, enp13s0, weight 1, 00:30:22 + K>* 169.254.0.0/16 [0/1000] is directly connected, virbr2 linkdown, 00:30:22 + L>* 192.168.119.205/32 is directly connected, enp13s0, 00:30:22 - K* 0.0.0.0/0 203.181.89.241 - S 0.0.0.0/0 203.181.89.1 - C* 127.0.0.0/8 lo - C* 203.181.89.240/28 eth0 - - -.. clicmd:: show ipv6 route .. clicmd:: show [ip|ipv6] route [PREFIX] [nexthop-group] |
