<?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: ASA Object Searches in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/3722841#M348263</link>
    <description>&lt;P&gt;Helpful&lt;/P&gt;</description>
    <pubDate>Wed, 10 Oct 2018 16:00:40 GMT</pubDate>
    <dc:creator>gtlnss</dc:creator>
    <dc:date>2018-10-10T16:00:40Z</dc:date>
    <item>
      <title>ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258402#M348256</link>
      <description>&lt;P&gt;Is it possible to search via command line what object-groups an object belong to?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 01:56:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258402#M348256</guid>
      <dc:creator>zyang</dc:creator>
      <dc:date>2019-03-12T01:56:05Z</dc:date>
    </item>
    <item>
      <title>ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258403#M348257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean that you want to find an &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; which has an &lt;STRONG&gt;"object"&lt;/STRONG&gt; under it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess there is no direct command for that (that I know of at the moment) but you could use something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show run object-group | inc object-group|&lt;NAME of="" object=""&gt;&lt;/NAME&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where you replace the &lt;STRONG&gt;&lt;NAME of="" object=""&gt;&lt;/NAME&gt;&lt;/STRONG&gt; with the actual name of the &lt;STRONG&gt;"object"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get some useless &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; output BUT when you hit the part of output where the actual &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; holding the &lt;STRONG&gt;"object"&lt;/STRONG&gt; is you will see it clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 12:47:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258403#M348257</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-06-11T12:47:22Z</dc:date>
    </item>
    <item>
      <title>ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258404#M348258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example say I have an object called serverA and it belongs to object-group serverGroup1 and serverGroup2.&amp;nbsp; I would like to do be able to do a search in command line that will show that serverA belongs to those 2 groups.&amp;nbsp; Currently the only way I know of finding out what object-groups an object belongs to, is to show all the contents of every object-group, copy and paste it to notepad and do a search.&amp;nbsp; Either that or through ASDM. But I would prefer a way to do it easily on command line as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 12:54:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258404#M348258</guid>
      <dc:creator>zyang</dc:creator>
      <dc:date>2013-06-11T12:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258405#M348259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above example should apply to your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still produces useless output it will be easy to go through wihtout using ANY search functions in any text editor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will produce the output of all the&lt;STRONG&gt; "object-group"&lt;/STRONG&gt; lines in the configuration and it will also show the &lt;STRONG&gt;"object"&lt;/STRONG&gt; in between the &lt;STRONG&gt;"object-group"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, lets say us we have &lt;STRONG&gt;"object-group network LAN1"&lt;/STRONG&gt; to &lt;STRONG&gt;"object-group network LAN20"&lt;/STRONG&gt; configured on the ASA and two of them had an &lt;STRONG&gt;"object"&lt;/STRONG&gt; called&lt;STRONG&gt; "PC100&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would use this command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show run object-group | inc object-group|PC100&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN4&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN5&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN6&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;object-group network LAN7&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; network-object object PC100&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN8&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN9&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN10&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN11&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;object-group network LAN13&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;nbsp; network-object object PC100&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN14&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN15&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN16&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN17&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN18&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN19&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network LAN20&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, it would be easy to spot the correct &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; from the output&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 13:06:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258405#M348259</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-06-11T13:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258406#M348260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;That actually worked.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Though it functions like a poor mans search function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But I can't complain, it does what I need it to do.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Cisco really should put out a search feature for this.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thanks again.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 15:02:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258406#M348260</guid>
      <dc:creator>zyang</dc:creator>
      <dc:date>2013-06-11T15:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258407#M348261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there no way to get rid of the extra input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also I didn't realize you could pipe and output to another output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to understand how it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first pipe ( | include object-group )&amp;nbsp; would only include lines that have object-groups in it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the next pipe ( | &lt;OBJECT&gt; ) would output what ever you put there?&lt;/OBJECT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 15:05:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258407#M348261</guid>
      <dc:creator>zyang</dc:creator>
      <dc:date>2013-06-11T15:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258408#M348262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its indeed messy output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would still say that it seems to me that the ASA has it way better related to all &lt;STRONG&gt;"show run"&lt;/STRONG&gt; command variations than for example Cisco Routers. ASA seems to have &lt;STRONG&gt;"show run"&lt;/STRONG&gt; command for almost every aspect of the configuration which I like. And naturally the &lt;STRONG&gt;"show run all"&lt;/STRONG&gt; command even shows those default settings that dont normally show on the &lt;STRONG&gt;"show run"&lt;/STRONG&gt; output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The search I did basicly includes line that have either &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; or &lt;STRONG&gt;"object"&lt;/STRONG&gt; in them. The actual &lt;STRONG&gt;"show run object-group"&lt;/STRONG&gt; command is used to limit the output&amp;nbsp; so we dont see all the ACLs that might hold &lt;STRONG&gt;"object"&lt;/STRONG&gt; or &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to view a single &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; configuration you can use the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show run object-group id &lt;NAME&gt;&lt;/NAME&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same goes for &lt;STRONG&gt;"object"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;show run object id &lt;NAME&gt;&lt;/NAME&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be alot better if you could do searches using both &lt;STRONG&gt;"include"&lt;/STRONG&gt; and &lt;STRONG&gt;"exclude"&lt;/STRONG&gt; or use grep commands to do the same. There is an option to use grep but its either &lt;STRONG&gt;"grep"&lt;/STRONG&gt; or &lt;STRONG&gt;"grep -v"&lt;/STRONG&gt; not both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am actually sure there are other options to search the configurations but I have never really had the need to go any deeper though I guess it wouldnt really hurt to learn the formats with which you can narrow down the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is some basic information about filtering the output&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/ref_cli.html#wp1020957"&gt;http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/ref_cli.html#wp1020957&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a link to a table in the same document which lists options to narrow down the output&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/acl_objects.html#wpxref23489"&gt;http://www.cisco.com/en/US/docs/security/asa/asa84/configuration/guide/acl_objects.html#wpxref23489&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Jouni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jun 2013 16:03:31 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/2258408#M348262</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-06-11T16:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: ASA Object Searches</title>
      <link>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/3722841#M348263</link>
      <description>&lt;P&gt;Helpful&lt;/P&gt;</description>
      <pubDate>Wed, 10 Oct 2018 16:00:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/asa-object-searches/m-p/3722841#M348263</guid>
      <dc:creator>gtlnss</dc:creator>
      <dc:date>2018-10-10T16:00:40Z</dc:date>
    </item>
  </channel>
</rss>

