11-19-2024 01:40 AM
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
Solved! Go to Solution.
11-19-2024 03:51 AM
11-19-2024 03:51 AM
11-19-2024 11:17 PM
Hi @Remi-Astruc
You helped me a lot with this documentation. Thanks for your assistance!
Best Regards,
kekkophone
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide