Vyatta NOS documentation

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

<ping> (system RPC)

Use this RPC to run the ping command on Vyatta NOS remotely.

Module
vyatta-op-v1
Available elements
<host>
The target IP address to ping.
<count>
The number of packets to send.
<ttl>
Time-to-live (TTL) value. The default is 255.
Example XML input
<ping xmlns="urn:vyatta.com:mgmt:vyattaop">
  <host>127.0.0.1</host>
  <count>5</count>
  <ttl>3</ttl>
</ping>
Example output
<tx-packet-count>5</tx-packet-count>
<rx-packet-count>5</rx-packet-count>
<min-delay>54</min-delay>
<average-delay>62</average-delay>
<max-delay>74</max-delay>