ACI – Cleanup “leftovers” from Wizards

Sometimes it happens that there are config parts on the APIC left, that you can’t delete in the GUI since there is no delete option.

Here is one example:

 

Those are the un-deletable objects:

So to get rid of it you could factory reset the APIC (which is not really suitable), Call TAC, or just delete it yourself via the REST API or the CLI. I’ll go into detail for the last two ones.

 

 

Delete it via REST API

Right-Click on the object and “save-as”

When you open the file you’ll find the following:

The next step is to add status=”deleted”

And then use Postman and send it via a POST Request to the REST API of the APIC:

 

Delete it via the CLI

Connect to the APIC via ssh.

 

That’s how to get rid of this leftovers so that you’ll have a clean config. Thanks here to Dirk Woe, Adam Ordal and Russell Henderson who shed some light on this so i could figure it out!

Here’s also a link to Ciscos Troubleshooting Guide Chapter: Removing Unwanted _ui_ Objects

Related posts

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.