<?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: Deleting object id in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418817#M309622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess you mean you have this configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; subnet 10.0.0.0 255.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object object 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is unclear to me is that do you want to remove the &lt;STRONG&gt;"object"&lt;/STRONG&gt; from under the &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; ONLY or do you want to do what and ALSO remove the whole &lt;STRONG&gt;"object"&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to remove the whole &lt;STRONG&gt;"object network 10.0.0.0"&lt;/STRONG&gt; then you will have to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; no network-object object 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;no object network 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do notice that IF this &lt;STRONG&gt;"object"&lt;/STRONG&gt; is used in some configuration like ACL or NAT then the ASA wont let you remove it. So you should first check where this &lt;STRONG&gt;"object"&lt;/STRONG&gt; is used to determine if its needed and then remove it if its useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above mentioned commands should be the one to achieve what you want which is remove the &lt;STRONG&gt;"object" &lt;/STRONG&gt;from the &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; and then remove the whole &lt;STRONG&gt;"object".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason we remove the &lt;STRONG&gt;"object"&lt;/STRONG&gt; from under the &lt;STRONG&gt;"object-group" &lt;/STRONG&gt;first is because otherwise (to my understanding atleast) the ASA wont allow you to remove the &lt;STRONG&gt;"object"&lt;/STRONG&gt; since its in use by other configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this made sense and helped &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&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>Mon, 04 Nov 2013 23:04:23 GMT</pubDate>
    <dc:creator>Jouni Forss</dc:creator>
    <dc:date>2013-11-04T23:04:23Z</dc:date>
    <item>
      <title>Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418816#M309621</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i run the command&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sh run object-group id Test&lt;/P&gt;&lt;P&gt;network-object object 10.0.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sh run object id 10.0.0.0&lt;/P&gt;&lt;P&gt;object network 10.0.0.0&lt;/P&gt;&lt;P&gt;subnet 10.0.0.0 255.0.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i need to delete the object id 10.0.0 is there any way i can deleted this via some command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;no object network 10.0.0.0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or can i deleted like step below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;config t&lt;/P&gt;&lt;P&gt;object-group network Test&lt;/P&gt;&lt;P&gt;no network-object object 10.0.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will the command above work ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mahesh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: mahesh parmar&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 03:00:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418816#M309621</guid>
      <dc:creator>mahesh18</dc:creator>
      <dc:date>2019-03-12T03:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418817#M309622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess you mean you have this configuration&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object network 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; subnet 10.0.0.0 255.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object object 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is unclear to me is that do you want to remove the &lt;STRONG&gt;"object"&lt;/STRONG&gt; from under the &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; ONLY or do you want to do what and ALSO remove the whole &lt;STRONG&gt;"object"&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to remove the whole &lt;STRONG&gt;"object network 10.0.0.0"&lt;/STRONG&gt; then you will have to do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; no network-object object 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;no object network 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do notice that IF this &lt;STRONG&gt;"object"&lt;/STRONG&gt; is used in some configuration like ACL or NAT then the ASA wont let you remove it. So you should first check where this &lt;STRONG&gt;"object"&lt;/STRONG&gt; is used to determine if its needed and then remove it if its useless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the above mentioned commands should be the one to achieve what you want which is remove the &lt;STRONG&gt;"object" &lt;/STRONG&gt;from the &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; and then remove the whole &lt;STRONG&gt;"object".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason we remove the &lt;STRONG&gt;"object"&lt;/STRONG&gt; from under the &lt;STRONG&gt;"object-group" &lt;/STRONG&gt;first is because otherwise (to my understanding atleast) the ASA wont allow you to remove the &lt;STRONG&gt;"object"&lt;/STRONG&gt; since its in use by other configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this made sense and helped &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.cisco.com/images/emoticons/happy.gif"&gt;&lt;/SPAN&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>Mon, 04 Nov 2013 23:04:23 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418817#M309622</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-11-04T23:04:23Z</dc:date>
    </item>
    <item>
      <title>Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418818#M309623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jouni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my plan what i need to do without causing outage &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sh run object-group id Test&lt;/P&gt;&lt;P&gt;network-object object 10.0.0.0 ---------------------1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to replace line 1 via below command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;network-object 10.0.0. 255.0.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so i do not know if i can simply remove network-object object 10.0.0.0 by using &lt;/P&gt;&lt;P&gt;no network-object object 10.0.0.0 or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you say &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is unclear to me is that do you want to remove the &lt;STRONG&gt;"object" &lt;/STRONG&gt;from under the &lt;STRONG&gt;"object-group"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; ONLY or do you want to do what and ALSO remove the whole &lt;STRONG&gt;"object" &lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAhesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 01:03:42 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418818#M309623</guid>
      <dc:creator>mahesh18</dc:creator>
      <dc:date>2013-11-05T01:03:42Z</dc:date>
    </item>
    <item>
      <title>Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418819#M309624</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;If you have the&lt;STRONG&gt; "object-group network Test"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;network-object object 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and you want to replace the &lt;STRONG&gt;"object"&lt;/STRONG&gt; inside it with a &lt;STRONG&gt;"network-object"&lt;/STRONG&gt; statement that specifies the same network then you would do&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;object-group network Test&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; network-object 10.0.0.0 255.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; no network-object object 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the last thing you ask I simply meant to ask if you ONLY wanted to remove the &lt;STRONG&gt;"object 10.0.0.0"&lt;/STRONG&gt; from under the &lt;STRONG&gt;"object-group network Test"&lt;/STRONG&gt; OR did you additionally want to also remove the &lt;STRONG&gt;"object network 10.0.0.0"&lt;/STRONG&gt; completely from the ASA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main things you should do when doing any such changes is to first check where these &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; and&lt;STRONG&gt; "object" &lt;/STRONG&gt;configurations are used. In general if you have these used in interface ACLs then these type of changes should be safe. If they &lt;STRONG&gt;"object"&lt;/STRONG&gt; or &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; were used in some NAT configurations then I couldnt say with 100% certainty how such changes would affect on the NAT operation (even if it was just temporary effect during the change)&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, 05 Nov 2013 08:04:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418819#M309624</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-11-05T08:04:53Z</dc:date>
    </item>
    <item>
      <title>Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418820#M309625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jouni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will test this&amp;nbsp; on monday then will let you know how it goes.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAhesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 16:57:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418820#M309625</guid>
      <dc:creator>mahesh18</dc:creator>
      <dc:date>2013-11-05T16:57:04Z</dc:date>
    </item>
    <item>
      <title>Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418821#M309626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi Jouni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did below change yesterday &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;object-group network Test&lt;/P&gt;&lt;P&gt;network-object 10.0.0.0 255.0.0.0&lt;/P&gt;&lt;P&gt;no network-object object 10.0.0.0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the above change there was no issues.&lt;/P&gt;&lt;P&gt;However i did not delete the object id 10.0.0.0??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mahesh&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 17:00:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418821#M309626</guid>
      <dc:creator>mahesh18</dc:creator>
      <dc:date>2013-11-12T17:00:05Z</dc:date>
    </item>
    <item>
      <title>Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418822#M309627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the above commands you mentioned you only removed the &lt;STRONG&gt;"object" &lt;/STRONG&gt;called &lt;STRONG&gt;"10.0.0.0"&lt;/STRONG&gt; from under the &lt;STRONG&gt;"object-group"&lt;/STRONG&gt; called &lt;STRONG&gt;"Test"&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wished to remove the whole &lt;STRONG&gt;"object network 10.0.0.0"&lt;/STRONG&gt; then you would have to issue the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;no object network 10.0.0.0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it must not be used anywhere for you to be able to remove it. Though the ASA should notify you if you have it configured in some ACL or other configuration when you are attempting to remove the actual &lt;STRONG&gt;"object"&lt;/STRONG&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, 12 Nov 2013 17:04:03 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418822#M309627</guid>
      <dc:creator>Jouni Forss</dc:creator>
      <dc:date>2013-11-12T17:04:03Z</dc:date>
    </item>
    <item>
      <title>Deleting object id</title>
      <link>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418823#M309628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Jouni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for additional info.&lt;/P&gt;&lt;P&gt;For now i am ok with current config.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In future if i need to delete whole&amp;nbsp; object network 10.0.0.0 i will do as you said.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MAhesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 18:01:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/deleting-object-id/m-p/2418823#M309628</guid>
      <dc:creator>mahesh18</dc:creator>
      <dc:date>2013-11-12T18:01:44Z</dc:date>
    </item>
  </channel>
</rss>

