<?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 Upload a config in asa or execute config script in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/upload-a-config-in-asa-or-execute-config-script/m-p/3024258#M147541</link>
    <description>&lt;P&gt;First of all, thanks for the help.&lt;BR /&gt;I do not have much experience with Cisco ASA, sorry if the question is not good.&lt;/P&gt;
&lt;P&gt;I have a list of ip addresses that I want to add as objects, and these within a group.&lt;/P&gt;
&lt;P&gt;I've seen this script from a user who does exactly what I need: &lt;A href="https://supportforums.cisco.com/sites/default/files/attachments/discussion/tor.txt" target="_blank"&gt;https://supportforums.cisco.com/sites/default/files/attachments/discussion/tor.txt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The issue is that I see the output is a TXT file.&lt;/P&gt;
&lt;P&gt;The question is: How do I load that file using BASH / SSH? This process should be done automatically every night, I do not use copy / paste or GUI or any of that.&lt;/P&gt;
&lt;P&gt;Thank you !!!&lt;/P&gt;
&lt;P&gt;In case I have not explained very well, I put the question in another way:&lt;/P&gt;
&lt;P&gt;How can I maintain an external blacklist for an ASA firewall?&lt;/P&gt;
&lt;P&gt;Thank you !!!&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 08:48:17 GMT</pubDate>
    <dc:creator>jmolina0111</dc:creator>
    <dc:date>2019-03-12T08:48:17Z</dc:date>
    <item>
      <title>Upload a config in asa or execute config script</title>
      <link>https://community.cisco.com/t5/network-security/upload-a-config-in-asa-or-execute-config-script/m-p/3024258#M147541</link>
      <description>&lt;P&gt;First of all, thanks for the help.&lt;BR /&gt;I do not have much experience with Cisco ASA, sorry if the question is not good.&lt;/P&gt;
&lt;P&gt;I have a list of ip addresses that I want to add as objects, and these within a group.&lt;/P&gt;
&lt;P&gt;I've seen this script from a user who does exactly what I need: &lt;A href="https://supportforums.cisco.com/sites/default/files/attachments/discussion/tor.txt" target="_blank"&gt;https://supportforums.cisco.com/sites/default/files/attachments/discussion/tor.txt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The issue is that I see the output is a TXT file.&lt;/P&gt;
&lt;P&gt;The question is: How do I load that file using BASH / SSH? This process should be done automatically every night, I do not use copy / paste or GUI or any of that.&lt;/P&gt;
&lt;P&gt;Thank you !!!&lt;/P&gt;
&lt;P&gt;In case I have not explained very well, I put the question in another way:&lt;/P&gt;
&lt;P&gt;How can I maintain an external blacklist for an ASA firewall?&lt;/P&gt;
&lt;P&gt;Thank you !!!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:48:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/upload-a-config-in-asa-or-execute-config-script/m-p/3024258#M147541</guid>
      <dc:creator>jmolina0111</dc:creator>
      <dc:date>2019-03-12T08:48:17Z</dc:date>
    </item>
    <item>
      <title>Please try this link:</title>
      <link>https://community.cisco.com/t5/network-security/upload-a-config-in-asa-or-execute-config-script/m-p/3024259#M147544</link>
      <description>&lt;P&gt;Please try this link:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/admin_swconfig.html"&gt;http://www.cisco.com/c/en/us/td/docs/security/asa/asa82/configuration/guide/config/admin_swconfig.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Please share the output txt here.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2017 13:57:37 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/upload-a-config-in-asa-or-execute-config-script/m-p/3024259#M147544</guid>
      <dc:creator>Farhan Mohamed</dc:creator>
      <dc:date>2017-01-30T13:57:37Z</dc:date>
    </item>
    <item>
      <title>First you need to setup a job</title>
      <link>https://community.cisco.com/t5/network-security/upload-a-config-in-asa-or-execute-config-script/m-p/3024260#M147546</link>
      <description>&lt;P&gt;First you need to setup a job to grab that file and parse the IP's. Next you have a couple of options to get it into the running config;&lt;/P&gt;
&lt;P&gt;1. copy the file to flash via ftp/scp and then copy the file from flash and into the running config&lt;/P&gt;
&lt;P&gt;2. create a script on a machine and have it ssh into the ASA for you and merge the config&lt;/P&gt;
&lt;P&gt;3. use the REST API for the ASA and have a script upload the IP's to the ASA&lt;/P&gt;
&lt;P&gt;IMO #3 would be the easiest&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 16:13:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/upload-a-config-in-asa-or-execute-config-script/m-p/3024260#M147546</guid>
      <dc:creator>Collin Clark</dc:creator>
      <dc:date>2017-01-31T16:13:41Z</dc:date>
    </item>
  </channel>
</rss>

