<?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: Bulk delete of network devices in ISE 2.4 in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3753044#M487878</link>
    <description>Please do send feedback through the mechanism built into the menu of ISE&lt;BR /&gt;</description>
    <pubDate>Mon, 26 Nov 2018 20:23:29 GMT</pubDate>
    <dc:creator>Jason Kunst</dc:creator>
    <dc:date>2018-11-26T20:23:29Z</dc:date>
    <item>
      <title>Bulk delete of network devices in ISE 2.4</title>
      <link>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3750922#M487864</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm banging my head against the wall with this one.&lt;/P&gt;
&lt;P&gt;I'm trying to find the best way to do a bulk delete (it's in reality a hostname change) and then add several (hundreds) of devices at a time.&lt;/P&gt;
&lt;P&gt;The last thing I tried was to move the devices to a specific "Location" (with the import tool, of course), then search for them in ISE and delete them (and I ended up finding an inconsistency in the ISE UI in which "Export All" exports the filtered devices whereas "Delete All" deletes THE ENTIRE DATABASE - but that's not the question), but having to check the hundreds of checkboxes to use the "Delete Selected" option is impractical.&lt;/P&gt;
&lt;P&gt;So, what is to be done here?&lt;/P&gt;
&lt;P&gt;* Just change the hostname on the .csv import file doesn't work, it barks about the IP address already in use by the "original" device&lt;/P&gt;
&lt;P&gt;* Deleting the individual devices is impractical as there's no "Select All" option to select all the filtered devices, and "Delete All" stupidly deletes everything.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a practical option to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your time.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Nov 2018 17:27:04 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3750922#M487864</guid>
      <dc:creator>cnegrete</dc:creator>
      <dc:date>2018-11-21T17:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk delete of network devices in ISE 2.4</title>
      <link>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3751563#M487868</link>
      <description>&lt;P&gt;Please try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use External restful service:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below curl query will get all network device's ID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl --insecure --user &lt;FONT color="#FF0000"&gt;username:password&lt;/FONT&gt; -X GET \&lt;BR /&gt;&amp;nbsp; https://&amp;lt;&lt;FONT color="#FF0000"&gt;PAN node ip address&lt;/FONT&gt;&amp;gt;:9060/ers/config/networkdevice \&lt;BR /&gt;&amp;nbsp; -H 'Accept: application/xml' \&lt;BR /&gt;&amp;nbsp; -H 'Content-Type: application/xml' \&lt;/P&gt;
&lt;P&gt;&amp;nbsp; -H 'X-CSRF-TOKEN: fetch' \&lt;BR /&gt;&amp;nbsp; -H 'cache-control: no-cache'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below query will delete the endpoint:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl --insecure --user &lt;FONT color="#FF0000"&gt;username:password&lt;/FONT&gt; -X DELETE \&lt;BR /&gt;&amp;nbsp; https://&amp;lt;&lt;FONT color="#FF0000"&gt;PAN node ip address&lt;/FONT&gt;&amp;gt;:9060/ers/config/networkdevice/&amp;lt;&lt;FONT color="#FF0000"&gt;replace with id you got from above query&lt;/FONT&gt;&amp;gt; \&lt;BR /&gt;&amp;nbsp; -H 'Accept: application/xml' \&lt;BR /&gt;&amp;nbsp; -H 'Content-Type: application/xml' \&lt;BR /&gt;&amp;nbsp; -H 'X-CSRF-TOKEN: fetch' \&lt;BR /&gt;&amp;nbsp; -H 'cache-control: no-cache'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note you need to replace text highlighted in red&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The username and password you have to user should have proper permission. Please check below screenshot:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ERS.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/24612iBC16AFB28EDCD608/image-size/large?v=v2&amp;amp;px=999" role="button" title="ERS.png" alt="ERS.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ERS2.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/24613i3F4D25DBE0601424/image-size/large?v=v2&amp;amp;px=999" role="button" title="ERS2.png" alt="ERS2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this reduces your efforts&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 16:21:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3751563#M487868</guid>
      <dc:creator>pan</dc:creator>
      <dc:date>2018-11-22T16:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk delete of network devices in ISE 2.4</title>
      <link>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3751623#M487873</link>
      <description>Excellent. I can go from here.&lt;BR /&gt;It's a shame you can't just use a file to bulk delete on ISE.&lt;BR /&gt;Thanks!!</description>
      <pubDate>Thu, 22 Nov 2018 18:50:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3751623#M487873</guid>
      <dc:creator>cnegrete</dc:creator>
      <dc:date>2018-11-22T18:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bulk delete of network devices in ISE 2.4</title>
      <link>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3753044#M487878</link>
      <description>Please do send feedback through the mechanism built into the menu of ISE&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Nov 2018 20:23:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/bulk-delete-of-network-devices-in-ise-2-4/m-p/3753044#M487878</guid>
      <dc:creator>Jason Kunst</dc:creator>
      <dc:date>2018-11-26T20:23:29Z</dc:date>
    </item>
  </channel>
</rss>

