Export firewall device state file through panorama using API

Reply
L3 Networker

Export firewall device state file through panorama using API

Hi Team, 

Customer want to export firewall device state.

They already know how to do this using API directly on the firewall : 

curl -k -o {{Filename}} "https:// {{Firewall_IP}}/api/?type=export&category=device-state&key={{Firewall_API_Key}}"

They want to do it through panorama using API. It's looks like we can do that using the following command : 

https:// {{Panorama_IP}}/api/?type=export&category=device-state&target={{Firewall_Serial_Number}}&key={{Panorama_API_Key}}

They got this answer : 

<response status="success">
<result> Device state device_state_cfg.tgz created successfully</result>
</response>

The issue is they don't know how to retrieve the "device_state_cfg.tgz" file through the API.

 

Regards

Sam Prabhu

L5 Sessionator

Re: Export firewall device state file through panorama using API

https://jira-hq.paloaltonetworks.local/browse/PAN-80838

 

I checked it with PM,

as of Nov 2018 ,there is no plan to fix this at the moment. If customer needs an enhancement, need to raise clear request to PM.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!