User Tools

Site Tools


paloaltonetworks:api:network_testing

PAN-OS API Network Testing

Prefix all commands with https://10.1.1.1/api/?key=API_KEY

Get Interface Duplex Information

type=op&cmd=<show><interface>ethernet1/8</interface></show>

Get APR Information

&type=op&cmd=<show><arp><entry%20name="all"/></arp></show>

Ping

&type=op&cmd=<cms-ping><source>INTERFACE_IP</source><host>8.8.8.8</host><count>4</count></cms-ping>

Ping Options:

  • bypass-routing - Bypass routing table, use specified interface
  • count - Number of requests to send (1..20 packets)
  • do-not-fragment - Don't fragment echo request packets (IPv4)
  • host - Hostname or IP address of remote host
  • inet6 - Force to IPv6 destination
  • interval - Delay between requests (seconds)
  • no-resolve - Don't attempt to print addresses symbolically
  • pattern - Hexadecimal fill pattern
  • size - Size of request packets (0..65468 bytes)
  • source Source - address of echo request
  • tos - IP type-of-service value (0..255)
  • ttl - IP time-to-live value (IPv6 hop-limit value) (0..255 hops)
  • verbose - Display detailed output
paloaltonetworks/api/network_testing.txt · Last modified: by 127.0.0.1