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?
You can use the "show system info" command to retrieve the PAN-OS version.
The <sw-version> element returned will contain the value you are looking for.
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.
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 Live Community as a whole!
The Live Community thanks you for your participation!