- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
09-22-2017 04:10 AM
Hi everyone,
I'm working with different models of PaloAlto firewall (all of them have PANOS 😎 and I want to develop an automatic service on them to get the CLI output and parse it to get data I'm interested but, to do that as easy as possible, I want to know if is possible set the CLI output to XML or JSON format in Operational Mode (not Configuration Mode).
I know that with this command:
> set cli config-output-format
default default
json json
set set
xml xml
change the output of Configuration Mode . But this does not work with Operational Mode.
Can someone help me? Thanks beforehand.
Regards, Mike.
09-22-2017 04:16 AM
Hi @mikiTeleco,
It this what you're looking for ?
admin@PA-VM> set cli op-command-xml-output on
Cheers !
-Kiwi.
09-22-2017 04:16 AM
Hi @mikiTeleco,
It this what you're looking for ?
admin@PA-VM> set cli op-command-xml-output on
Cheers !
-Kiwi.
09-22-2017 04:22 AM
Yes! Thank you very much 🙂
Regards!
02-05-2020 02:57 PM
@kiwi I am looking for the same thing just on panorama, does something exist for this on panorama as well?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!