Vyatta Network OS Documentation

Learn how to install, configure and operate the Vyatta NOS, which helps drive our virtual networking & physical platforms portfolio.

show ip <ip> route <route>

Controls the display of the tag assigned to a static route.
ip <ip>
Where <ip> is [ ip | ipv6 ].
  • ip: Internet Protocol version 4 (IPv4).
  • ipv6: Internet Protocol version 6 (IPv6).
route <route>
Where <route> is [ <ip> | <prefix> ].
<ip>
<prefix>

Output — IPv4

user@system:~$ show ip route 11.1.5.0
Routing entry for 11.1.5.0/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 2.2.2.2
 
Routing entry for 2.2.2.2/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 2.2.2.2/32 via 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.