<?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 Exporting all objects to a spreadsheet in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/exporting-all-objects-to-a-spreadsheet/m-p/1804015#M494128</link>
    <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For documentation purpose i have to export all the network object to a spreadsheet with 3 columns (object-name, ip, description)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the PIX it was an easy task to perform with quick shell script (to create a csv file) as PIX was using the name directive (name YOUROBJECT 1.2.3.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i wonder how-to do it properly with ASA as it is more complicated entries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network TEST&lt;/P&gt;&lt;P&gt; host 1.2.3.4&lt;/P&gt;&lt;P&gt; description This is a test host&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any existing tool where i can put my running-config on to perform that action ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, &lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2019 21:46:04 GMT</pubDate>
    <dc:creator>davcommunay</dc:creator>
    <dc:date>2019-03-11T21:46:04Z</dc:date>
    <item>
      <title>Exporting all objects to a spreadsheet</title>
      <link>https://community.cisco.com/t5/network-security/exporting-all-objects-to-a-spreadsheet/m-p/1804015#M494128</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For documentation purpose i have to export all the network object to a spreadsheet with 3 columns (object-name, ip, description)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the PIX it was an easy task to perform with quick shell script (to create a csv file) as PIX was using the name directive (name YOUROBJECT 1.2.3.4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But now i wonder how-to do it properly with ASA as it is more complicated entries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object network TEST&lt;/P&gt;&lt;P&gt; host 1.2.3.4&lt;/P&gt;&lt;P&gt; description This is a test host&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any existing tool where i can put my running-config on to perform that action ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, &lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 21:46:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/exporting-all-objects-to-a-spreadsheet/m-p/1804015#M494128</guid>
      <dc:creator>davcommunay</dc:creator>
      <dc:date>2019-03-11T21:46:04Z</dc:date>
    </item>
    <item>
      <title>Exporting all objects to a spreadsheet</title>
      <link>https://community.cisco.com/t5/network-security/exporting-all-objects-to-a-spreadsheet/m-p/1804016#M494130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not aware of any tools that will do this. A custom shell or expect script is probably your best bet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output of 'show run object' will always be output in the same format, so you'd need to parse the output into separate lines. Line 1 will always be the object name. Line 2 will be the IP address, subnet, or range. Line 3 will be the description (if applicable). You'd have to build in some logic to see if the object includes a description or the next line starts a new object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 17:08:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/exporting-all-objects-to-a-spreadsheet/m-p/1804016#M494130</guid>
      <dc:creator>mirober2</dc:creator>
      <dc:date>2011-11-10T17:08:31Z</dc:date>
    </item>
  </channel>
</rss>

