<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Using Netsight to backup Palo Alto firewalls configuration in ExtremeCloud IQ- Site Engine Management Center</title>
    <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/using-netsight-to-backup-palo-alto-firewalls-configuration/m-p/44495#M5941</link>
    <description>Hi,&lt;BR /&gt;
We use Inventory Manager to backup PA Firewalls here in corporate. &lt;BR /&gt;
&lt;BR /&gt;
This is the script we use copy and paste this into a text. Take these script files save them in a text file and place them in the following path (if using linux based Netsight) &lt;BR /&gt;
/NetSight/appdata/InventoryMgr/properties/devicefiles.&lt;BR /&gt;
&lt;BR /&gt;
- This script shows how the pre-script and post-script sections of the DeviceFamilyDefinition file can be used. &lt;BR /&gt;
-- This is only an example and not intended for use beyond that. &lt;BR /&gt;
--&lt;BR /&gt;
name="Palo Alto"&lt;BR /&gt;
desc="Palo Alto SCP Script"&lt;BR /&gt;
separator=UNIX_FILE_SEPARATOR&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN PRE-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
Create /root/firmware/images/&lt;BR /&gt;
-----END PRE-SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
scp export configuration from running-config.xml to &lt;U&gt;root&lt;/U&gt;@&lt;U&gt;IpAddressOfServer&lt;/U&gt;:/root/configs/tmp&lt;BR /&gt;
@receive 30&lt;BR /&gt;
%SCP_PSWD%&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
100%&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
-----BEGIN POST-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
copy /root/configs/tmp/running-config.xml %ABSOLUTE_TARGET_FILE_PATH% &lt;BR /&gt;
-----END POST-SCRIPT-----&lt;BR /&gt;
&lt;BR /&gt;
At Remote Sites where we do not have a management cable in the P.A Box we use this script.&lt;BR /&gt;
&lt;BR /&gt;
name="Palo Alto SCP Remote Site"&lt;BR /&gt;
desc="Palo Alto SCP Script for Rmt Site no management"&lt;BR /&gt;
separator=UNIX_FILE_SEPARATOR&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN PRE-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
Create /root/firmware/images/&lt;BR /&gt;
-----END PRE-SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
scp export configuration source-ip %DEVICEIP% to root@&lt;U&gt;IpAddressOfServer&lt;/U&gt;:/root/configs/tmp from running-config.xml&lt;BR /&gt;
@receive 30&lt;BR /&gt;
%SCP_PSWD%&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
100%&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
-----BEGIN POST-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
copy /root/configs/tmp/running-config.xml %ABSOLUTE_TARGET_FILE_PATH% &lt;BR /&gt;
-----END POST-SCRIPT-----&lt;BR /&gt;
&lt;BR /&gt;
Configure Device to use SCP as a backup&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-7438-1932693-image1_inline.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/3672iB894BC0A3081C1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-7438-1932693-image1_inline.png" alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-7438-1932693-image1_inline.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Then Select Applicable script&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-14742-xavwgc-image2_inline.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/5684i1CC972A4F831CD7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-14742-xavwgc-image2_inline.png" alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-14742-xavwgc-image2_inline.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, the P.A. backup command doesn't give a way to name the output file. So Each P.A Box will need it's own archive and separate the archives by 5 minutes or so, not to overwrite the filenames. You can view the config file in inventory manager or oneview after the backup.&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-1970-1gkuxb3-image3_inline.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2226iA5B59C2F565FAC63/image-size/large?v=v2&amp;amp;px=999" role="button" title="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-1970-1gkuxb3-image3_inline.png" alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-1970-1gkuxb3-image3_inline.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps you. If any of it was unclear please let me know and I can elaborate a bit more.&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Jan 2015 22:29:00 GMT</pubDate>
    <dc:creator>Frank_Thomas</dc:creator>
    <dc:date>2015-01-06T22:29:00Z</dc:date>
    <item>
      <title>Using Netsight to backup Palo Alto firewalls configuration</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/using-netsight-to-backup-palo-alto-firewalls-configuration/m-p/44494#M5940</link>
      <description>Has anyone used Netsight to setup the automatic backup of Palo Alto firewalls configuration files? If so would you be willing to provide setup instructions?    Thanks</description>
      <pubDate>Mon, 05 Jan 2015 22:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/using-netsight-to-backup-palo-alto-firewalls-configuration/m-p/44494#M5940</guid>
      <dc:creator>Ben_Parker</dc:creator>
      <dc:date>2015-01-05T22:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Using Netsight to backup Palo Alto firewalls configuration</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/using-netsight-to-backup-palo-alto-firewalls-configuration/m-p/44495#M5941</link>
      <description>Hi,&lt;BR /&gt;
We use Inventory Manager to backup PA Firewalls here in corporate. &lt;BR /&gt;
&lt;BR /&gt;
This is the script we use copy and paste this into a text. Take these script files save them in a text file and place them in the following path (if using linux based Netsight) &lt;BR /&gt;
/NetSight/appdata/InventoryMgr/properties/devicefiles.&lt;BR /&gt;
&lt;BR /&gt;
- This script shows how the pre-script and post-script sections of the DeviceFamilyDefinition file can be used. &lt;BR /&gt;
-- This is only an example and not intended for use beyond that. &lt;BR /&gt;
--&lt;BR /&gt;
name="Palo Alto"&lt;BR /&gt;
desc="Palo Alto SCP Script"&lt;BR /&gt;
separator=UNIX_FILE_SEPARATOR&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN PRE-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
Create /root/firmware/images/&lt;BR /&gt;
-----END PRE-SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
scp export configuration from running-config.xml to &lt;U&gt;root&lt;/U&gt;@&lt;U&gt;IpAddressOfServer&lt;/U&gt;:/root/configs/tmp&lt;BR /&gt;
@receive 30&lt;BR /&gt;
%SCP_PSWD%&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
100%&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
-----BEGIN POST-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
copy /root/configs/tmp/running-config.xml %ABSOLUTE_TARGET_FILE_PATH% &lt;BR /&gt;
-----END POST-SCRIPT-----&lt;BR /&gt;
&lt;BR /&gt;
At Remote Sites where we do not have a management cable in the P.A Box we use this script.&lt;BR /&gt;
&lt;BR /&gt;
name="Palo Alto SCP Remote Site"&lt;BR /&gt;
desc="Palo Alto SCP Script for Rmt Site no management"&lt;BR /&gt;
separator=UNIX_FILE_SEPARATOR&lt;BR /&gt;
--&lt;BR /&gt;
-----BEGIN PRE-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
Create /root/firmware/images/&lt;BR /&gt;
-----END PRE-SCRIPT-----&lt;BR /&gt;
-----BEGIN SCRIPT "Configuration Upload"-----&lt;BR /&gt;
scp export configuration source-ip %DEVICEIP% to root@&lt;U&gt;IpAddressOfServer&lt;/U&gt;:/root/configs/tmp from running-config.xml&lt;BR /&gt;
@receive 30&lt;BR /&gt;
%SCP_PSWD%&lt;BR /&gt;
@receive 60&lt;BR /&gt;
exit&lt;BR /&gt;
-----END SCRIPT-----&lt;BR /&gt;
-----BEGIN SUCCESS "Configuration Upload"-----&lt;BR /&gt;
100%&lt;BR /&gt;
-----END SUCCESS-----&lt;BR /&gt;
-----BEGIN POST-SCRIPT "Configuration Upload"-----&lt;BR /&gt;
copy /root/configs/tmp/running-config.xml %ABSOLUTE_TARGET_FILE_PATH% &lt;BR /&gt;
-----END POST-SCRIPT-----&lt;BR /&gt;
&lt;BR /&gt;
Configure Device to use SCP as a backup&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-7438-1932693-image1_inline.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/3672iB894BC0A3081C1D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-7438-1932693-image1_inline.png" alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-7438-1932693-image1_inline.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Then Select Applicable script&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-14742-xavwgc-image2_inline.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/5684i1CC972A4F831CD7E/image-size/large?v=v2&amp;amp;px=999" role="button" title="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-14742-xavwgc-image2_inline.png" alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-14742-xavwgc-image2_inline.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately, the P.A. backup command doesn't give a way to name the output file. So Each P.A Box will need it's own archive and separate the archives by 5 minutes or so, not to overwrite the filenames. You can view the config file in inventory manager or oneview after the backup.&lt;BR /&gt;
&lt;P class="fancybox-image"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-1970-1gkuxb3-image3_inline.png"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/2226iA5B59C2F565FAC63/image-size/large?v=v2&amp;amp;px=999" role="button" title="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-1970-1gkuxb3-image3_inline.png" alt="ecc26ed81379444c8f888bcfb645acaf_RackMultipart20150106-1970-1gkuxb3-image3_inline.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps you. If any of it was unclear please let me know and I can elaborate a bit more.&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Jan 2015 22:29:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/using-netsight-to-backup-palo-alto-firewalls-configuration/m-p/44495#M5941</guid>
      <dc:creator>Frank_Thomas</dc:creator>
      <dc:date>2015-01-06T22:29:00Z</dc:date>
    </item>
    <item>
      <title>RE: Using Netsight to backup Palo Alto firewalls configuration</title>
      <link>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/using-netsight-to-backup-palo-alto-firewalls-configuration/m-p/44496#M5942</link>
      <description>That helps a lot. Thank you.</description>
      <pubDate>Tue, 06 Jan 2015 22:35:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremecloud-iq-site-engine/using-netsight-to-backup-palo-alto-firewalls-configuration/m-p/44496#M5942</guid>
      <dc:creator>Ben_Parker</dc:creator>
      <dc:date>2015-01-06T22:35:00Z</dc:date>
    </item>
  </channel>
</rss>

