<?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 Removing Network Objects in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754814#M178549</link>
    <description>&lt;P&gt;I'm trying to remove multiple network objects in an ASA running 9.1(3), but first I have to remove the NAT relationships connected to them. When removing the NAT rules, I am still not able to remove the object itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To enter config mode for the object, I entered:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;(config)# 'object network obj_FirstLastPC' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To remove the nat relationship tied to that object, I entered:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;(config-network-object)#&amp;nbsp;'no nat (inside,outside) static w.x.y.z'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am still not able to delete the object group. This is the error I receive:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;(config-network-object)# 'no object network obj_FirstLastPC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;ERROR: 'unable to delete object (obj_FirstLastPC). Object is being used.'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers or advise as to where to go next?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Thanks to the below responses, this problem is solved. For anyone having future problems similar to this one, these are the steps I performed to fix the problem:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;object-group network ObjectGroupName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;no network-object object obj_FirstLastPC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;Object network obj_FirstLastPC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;no nat (inside,outside) static w.x.y.z&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;no object network obj_FirstLastPC&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 06:38:30 GMT</pubDate>
    <dc:creator>bellis1</dc:creator>
    <dc:date>2019-03-12T06:38:30Z</dc:date>
    <item>
      <title>Removing Network Objects</title>
      <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754814#M178549</link>
      <description>&lt;P&gt;I'm trying to remove multiple network objects in an ASA running 9.1(3), but first I have to remove the NAT relationships connected to them. When removing the NAT rules, I am still not able to remove the object itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To enter config mode for the object, I entered:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;(config)# 'object network obj_FirstLastPC' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To remove the nat relationship tied to that object, I entered:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;(config-network-object)#&amp;nbsp;'no nat (inside,outside) static w.x.y.z'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I am still not able to delete the object group. This is the error I receive:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;(config-network-object)# 'no object network obj_FirstLastPC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;ERROR: 'unable to delete object (obj_FirstLastPC). Object is being used.'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any pointers or advise as to where to go next?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: Thanks to the below responses, this problem is solved. For anyone having future problems similar to this one, these are the steps I performed to fix the problem:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;object-group network ObjectGroupName&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;no network-object object obj_FirstLastPC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;exit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;Object network obj_FirstLastPC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;no nat (inside,outside) static w.x.y.z&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;no object network obj_FirstLastPC&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 06:38:30 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754814#M178549</guid>
      <dc:creator>bellis1</dc:creator>
      <dc:date>2019-03-12T06:38:30Z</dc:date>
    </item>
    <item>
      <title>Hi, First navigate to the</title>
      <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754815#M178550</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First navigate to the object network obj_FirstLastPC hierarchy&amp;nbsp; and then enter command no nat (inside,outside) source static w.x.y.z.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps!!!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;R.Seth&lt;/P&gt;&lt;P&gt;Dont forget to mark the answer as correct if it helps in resolving your query!!!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:16:27 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754815#M178550</guid>
      <dc:creator>Rishabh Seth</dc:creator>
      <dc:date>2015-09-23T13:16:27Z</dc:date>
    </item>
    <item>
      <title>Seth, I appreciate the</title>
      <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754816#M178551</link>
      <description>&lt;P&gt;Seth,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the message but unfortunately this does not do the trick. If you'll re-read the original post (I likely edited after you read it the first time), then you'll see that the above method is what I tried.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:20:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754816#M178551</guid>
      <dc:creator>bellis1</dc:creator>
      <dc:date>2015-09-23T13:20:17Z</dc:date>
    </item>
    <item>
      <title>Hi, I see that you edited</title>
      <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754817#M178552</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that you edited your original post. I think the object is used in some other configuration as well. It can be an acl where you have used it.&lt;/P&gt;&lt;P&gt;You can try show run | i&amp;nbsp;&lt;SPAN style="font-size: 14.4px; line-height: normal; background-color: rgb(249, 249, 249);"&gt;obj_FirstLastPC&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And of you see it used in your configuration then try deleting that configuration first and then remove the object definition.&lt;/P&gt;&lt;P&gt;Hope it helps!!!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;R.Seth&lt;/P&gt;&lt;P&gt;Dont forget to mark the answer as correct if it helps in resolving your query!!!&lt;/P&gt;&lt;P style="font-size: 14.4px; line-height: normal; background-color: rgb(249, 249, 249);"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:30:39 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754817#M178552</guid>
      <dc:creator>Rishabh Seth</dc:creator>
      <dc:date>2015-09-23T13:30:39Z</dc:date>
    </item>
    <item>
      <title>This is the result I get:</title>
      <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754818#M178553</link>
      <description>&lt;P&gt;This is the result I get:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;(config)# 'sho run | i obj_FirstLastPC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;'object network obj_FirstLastPC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:courier new,courier,monospace;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;network-object object obj_FirstLastPC'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family:arial,helvetica,sans-serif;"&gt;Also, the object itself is inside of a larger object-group called 'StaticPeople'. Would that have anything to do with my problem?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:35:12 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754818#M178553</guid>
      <dc:creator>bellis1</dc:creator>
      <dc:date>2015-09-23T13:35:12Z</dc:date>
    </item>
    <item>
      <title>Yes, if you have an object</title>
      <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754819#M178554</link>
      <description>&lt;P&gt;Yes, if you have an object part of an object-group then you will not be able to delete the object until you remove it from object group.&lt;/P&gt;&lt;P style="font-size: 14.4px; line-height: normal;"&gt;Hope it helps!!!&lt;/P&gt;&lt;P style="font-size: 14.4px; line-height: normal;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 14.4px; line-height: normal;"&gt;R.Seth&lt;/P&gt;&lt;P style="font-size: 14.4px; line-height: normal;"&gt;Dont forget to mark the answer as correct if it helps in resolving your query!!!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2015 13:43:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/2754819#M178554</guid>
      <dc:creator>Rishabh Seth</dc:creator>
      <dc:date>2015-09-23T13:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Seth, I appreciate the</title>
      <link>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/3884489#M178555</link>
      <description>&lt;P&gt;You may have to remove the acl that is applied to that object-group - then you can remove the object-group&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2019 05:17:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/removing-network-objects/m-p/3884489#M178555</guid>
      <dc:creator>svender01</dc:creator>
      <dc:date>2019-07-04T05:17:40Z</dc:date>
    </item>
  </channel>
</rss>

