Scheduled Configuration export From Panorama To SFTP server

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

Scheduled Configuration export From Panorama To SFTP server

L3 Networker

Hi Team,

 

I have configured Scheduled Configuration export to linux SFTP server, it doesn't work.

 

Hence I'm using default sftp port 22. But in configuration I could only saw the option that can export only using FTP or SCP.

 

I've tried using winSCP its working. But when I tried using cli command to export the "configuration.xml" file from panorama to SFTP server with port 22 it's not working.

 

In Panorama when tried using CLI command to export the "config.xml" file I found only FTP & TFTP not SFTP. 

 

admin@BSDCPanorama-01(primary-active)> tftp export configuration remote-port 22 from Snap_18042020 to 172.21.32.4
mode set to octet
Connected to 172.21.32.4 (172.21.32.4), port 22
putting /opt/pancfg/mgmt/saved-configs/Snap_18042020 to 172.21.32.4:Snap_18042020 [octet]
Transfer timed out.
admin@BSDCPanorama-01(primary-active)>

 

1. Does SFTP supports to export the configuration from panorama? 

 

2. Can we export the configuration.xml file to SFTP server using SCP?

If yes please clarify how to accept the host key.

when tried test scp server connection getting below error:

Sethupathi_0-1587543496868.png

 

Can any one please help us here! Didn't found any related articles about this query.

 

-

Regards,

Sethu

 

 

4 REPLIES 4

Cyber Elite
Cyber Elite

The supported protocols are tftp, ftp and scp

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

I kind of doubt that TFTP is supported (anymore?).  Only SCP and FTP are shown as options, and I am unable to commit a configuration for FTP that does not include a username (thinking that if I specify the well-known TFTP port of 69 that it would internally know to do TFTP even though FTP is the selected protocol).  TFTP does not support authentication so I'm not sure what I would put in as a username.

 

I'm testing on Panorama 10.2.2.  Trying to get it to upload to Solarwinds SCP/SFTP server and struggling...separate issue but thought I could provide more info to this discussion.

Cyber Elite
Cyber Elite

Hello,

I do this via the API. Here is the link to the article.

 

https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000Cm7yCAC

 

Regards,

L3 Networker

Even though that is for firewalls when not managed by Panorama, and this thread is about backing up Panorama's config itself, I suspect it could work for Panorama.  But I am not that interested in doing this using a scheduled task on a secondary device.

  • 6996 Views
  • 4 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!