show ip <ip> route
ip <ip>
- Where
<ip>
is[ ip | ipv6 ]
.ip
: Internet Protocol version 4 (IPv4).ipv6
: Internet Protocol version 6 (IPv6).
route
When a static route is withdrawn from the FIB due to path monitor compliance state the route is marked as inactive, deselected and no longer installed in the FIB.
$ show ip route
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
L - LDP, V - RSVP-TE, I - IGP shortcut
> - selected route, * - FIB route, p - stale info
IP Route Table for Routing-instance "default"
S *> 2.2.2.2/32 [1/0] via 10.10.1.2, dp0p1s1
When an associated monitor/policy pair becomes non-compliant:
$ show ip route
Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
L - LDP, V - RSVP-TE, I - IGP shortcut
> - selected route, * - FIB route, p - stale info
IP Route Table for Routing-instance "default"
S 2.2.2.2/32 [1/0] via 10.10.1.2, dp0p1s1 inactive