cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
219
Views
2
Helpful
2
Replies

ACI Automation to delete a specific rspathAtt from every EPG

kekkophone
Level 1
Level 1

Hello everyone,

I hope you are all doing well. I am seeking assistance regarding an issue I am facing with Cisco ACI.

Context: I recently decommissioned a link and would like to remove all static ports associated with this link within Cisco ACI for cleanup purposes. I have noticed that there are several Endpoint Groups (EPGs) that utilize a specific policy group in their static ports.

I used the following command to identify the relevant records:

moquery -c fvRsPathAtt | grep dn | grep <name-of-policy-group>

Where I replaced <name-of-policy-group> with the name of my policy group.

Request: I would like to know the best way to automate the removal of these static ports associated with each EPG. Is there a command or script I can use to perform this operation efficiently? Additionally, are there any particular precautions I should consider before proceeding with the removal?

I appreciate any help or suggestions you can provide. Thank you in advance for your support!

Best regards,

kekkophone

 

1 Accepted Solution
2 Replies 2

Hi @Remi-Astruc 

You helped me a lot with this documentation. Thanks for your assistance!

Best Regards,

kekkophone

 

Review Cisco Networking for a $25 gift card

Save 25% on Day-2 Operations Add-On License