home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

<route> (system RPC)

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

Module
vyatta-op-v1
Available elements
<destination>
The destination IPv4 or IPv6 address or prefix (that is, with subnet mask).
<family>
The protocol, either ipv4 (default) or ipv6.
Example XML input
<route xmlns="urn:vyatta.com:mgmt:vyatta-op:1">
  <destination>192.168.14.0/24</destination>
</route>
Example output
<route xmlns="urn:vyatta.com:mgmt:vyatta-op:1">
  <destination xmlns="urn:vyatta.com:mgmt:vyatta-op:1">216.58.213.132</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">192.168.252.253</next-hop>
  </path>
</route>