: Use XPath to Get ARP Information
Focus
Focus

Use XPath to Get ARP Information

Table of Contents

Use XPath to Get ARP Information

Follow this procedure to use XPath to Get ARP Information.
  1. Use the following request to retrieve ARP information:
    curl -X GET "https://<firewall>//api/?type=op&command=<show><arp><entry name='all'/></arp></show>&key=<apikey>"
  2. Confirm that the XML response for the query looks like the following (truncated):
    <response status="success"> <result> <max>3000</max> <total>16</total> <timeout>1800</timeout> <dp>dp0</dp> <entries> <entry> <status>c</status> <ip>10.47.0.1</ip> <mac>00:1b:17:00:2f:13</mac> <ttl>1743</ttl> <interface>ethernet1/1</interface> <port>ethernet1/1</port> </entry> <entry> <status>c</status> <ip>10.47.0.10</ip> <mac>00:50:56:93:68:6f</mac> <ttl>386</ttl> <interface>ethernet1/1</interface> <port>ethernet1/1</port> </entry> <!-- truncated --> </result> </response>

Recommended For You