- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
03-22-2012 12:09 PM
I was wondering how you can get the current version of the PAN-OS thru the XML-API? I can see the <config version="4.0.0"> when I use the show command but I know that we are really on 4.0.8. How do I get this version number, rather than the 4.0.0?
03-23-2012 09:01 AM
Hello,
You can use the "show system info" command to retrieve the PAN-OS version.
https://<hostname>/api/?type=op&cmd=<show><system><info></info></system></show>
The <sw-version> element returned will contain the value you are looking for.
Thanks,
-- Kevin
03-23-2012 09:07 AM
Thanks, but I'm looking for a way when using the 4.0 Rest API. Do you know that way?
03-23-2012 09:25 AM
My apologies. Unfortunately the 4.0 Rest API can only retrieve or modify the configuration of the device and the PAN-OS version information is not contained in the configuration.
Thanks,
-- Kevin
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!