Use XML API to export device state?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use XML API to export device state?

L2 Linker

I am trying to figure out how to use the XML API to export the device state.

Looking through the PAN-OS XML API document (PAN-OS and Panorama XML API Reference Guide 6.0), I found that I should use 'type=export&category=device-state'.  But I don't see how to specify which device-state file to export.  I also tried to browse through API browser but it shows no further options after I go through 'Export > device-state'.

Anybody have any experience with using the XML API to export the device state?  I'm obviously missing something, I just don't know what...

1 accepted solution

Accepted Solutions

L2 Linker

I don't know what I'm talking about, sorry...

There are no device-state files that get saved to the device.  When you send the request with 'type=export&category=device-state' it will respond with it's device_state_cfg.tgz

View solution in original post

1 REPLY 1

L2 Linker

I don't know what I'm talking about, sorry...

There are no device-state files that get saved to the device.  When you send the request with 'type=export&category=device-state' it will respond with it's device_state_cfg.tgz

  • 1 accepted solution
  • 3323 Views
  • 1 replies
  • 0 Likes
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!