- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-06-2024 11:56 PM - edited 02-07-2024 01:05 AM
Hello everyone, we tried to create a script to export the device-state of all devices (Firewall, Panorama).
The API request is https://<device-ip>/api/?type=export&category=device-state.
When we tried the request on firewall it generate the .tgz file which is expected, but when we run it on the Panorama Device it resulted the XML response below:
<response status="error">
<msg>
<line>Device parameter needed.</line>
</msg>
</response>
02-07-2024 01:56 AM
Panorama isn't a firewall so it doesn't have a device state
The device state contains the device groups and templates a firewall received from panorama, panorama simply has the config export
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!