Skip to content

type=xml‐op‐json

Sven Waschkut edited this page Oct 6, 2023 · 1 revision

this UTIL can help you to send Operational Commands (op commands) to a Firewall/Panoramma or also via a Panorama to multiple connected Firewalls

example:

pan-os-php type=xml-op-json in=api://<Panorama-Mgmt-IP> cycleconnectedfirewalls 'cmd=<set><system><setting><additional-threat-log><on></on></additional-threat-log></setting></system></set>'

By using Palo Alto Networks Firewall/Panorama API Browser: https://<Panorama-Mgmt-IP>/api

you can find out all possible op-commands, which can be used by type=xml-op-json

more help:

pan-os-php type=xml-op-json help