show ip <ip> route <route>
[ ip | ipv6 ].
ip: Internet Protocol version 4 (IPv4).
ipv6: Internet Protocol version 6 (IPv6).
[ <ip> | <prefix> ].
Output — IPv4
user@system:~$ show ip route 22.214.171.124 Routing entry for 126.96.36.199/24 Known via "static", distance 1, metric 0, tag 1, best * via 10.10.100.2, dp0p1s2.100
Output — IPv6
user@system:~$ show ipv6 route 11:1:3:: Routing entry for 11:1:3::/64 Known via "static", distance 1, metric 0, tag 2, best * is a summary, Reject
Output — withdrawn routes
When displaying detailed output routes which have been withdrawn due to path monitor compliance state are marked as such.
user@system:~$ show ip route 188.8.131.52 Routing entry for 184.108.40.206/32 Known via "static", distance 1, metric 0, tag 0 via 10.10.1.2, dp0p1s1 inactive, due to path monitor state
This output indicates that the static route to
10.10.1.2 has been withdrawn because at least one of the monitor/policy pairs associated with the route is not in the required state. To determine the affected pairs use the
show protocols static path-monitor cache command.