Palo Alto Export Configuration using TFTP

Export the Active Configuration ( running-config for Cisco folks )  to a TFTP store running on Ubuntu 14.

Jump into your Ubuntu box and install the tftpd-hpa package using apt-get.

#apt-get install tftpd-hpa

Configure a few properties of the TFTP daemon.

#vi /etc/default/tftpd-hpa

#TFTP_DIRECTORY=”/var/lib/tftp”

#TFTP_ADDRESS=”192.168.1.253:69″

TFTP_OPTIONS=”-c -v –secure”

Create and chmod /var/lib/tftp to allow writing to this directory¬†by group “others”.

mkdir /var/lib/tftp

chmod o+w /var/lib/tftp

Export the active configuration.

tftp export configuration remote-port 69 source-ip 192.168.1.1 from running-config.xml to 192.168.1.253