Vyatta Network OS Documentation

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

<route> (system RPC)

Use this RPC to get information about the route to the destination address that you specify.

Available elements
The destination IPv4 or IPv6 address or prefix (that is, with subnet mask).
The protocol, either ipv4 (default) or ipv6.
Example XML input
<route xmlns="urn:vyatta.com:mgmt:vyatta-op:1">
Example output
<route xmlns="urn:vyatta.com:mgmt:vyatta-op:1">
  <destination xmlns="urn:vyatta.com:mgmt:vyatta-op:1"></destination>
  <path xmlns="urn:vyatta.com:mgmt:vyatta-op:1">
    <entry xmlns="urn:vyatta.com:mgmt:vyatta-op:1">1</entry>
    <device xmlns="urn:vyatta.com:mgmt:vyatta-op:1">dp0s2</device>
    <next-hop xmlns="urn:vyatta.com:mgmt:vyatta-op:1"></next-hop>