11-12-2024 07:40 AM - edited 11-12-2024 07:40 AM
Hi
I have a requirement to move every device from one subnet/address pool and disperse the clients around other ones. My problem is I don't know how many ports are assigned to a particular address pool across my fabric. I can find active devices easily enough in the LISP database but I can't find a way to locate ports allocated to a particular address pool that are not in use.
Is there any easy way to do this?
Thanks, Kev.
11-12-2024 08:20 AM
i'd like to mistake, but DNAC doesnt have such means built-in afaik. i have similar task to extract all ports with MAB/.1X enforced.
There was nice Compliance tool in the CPI before DNAC obsoleted it. Now it's something to be developed with use of API-calls i think.
11-12-2024 08:31 AM - edited 11-12-2024 08:33 AM
Are you looking for static port allocations? If so the easiest way to fetch this is through this handy API enpdoint: https://developer.cisco.com/docs/dna-center/get-port-assignments/
11-13-2024 02:03 AM
i killed an hour trying to 1st extract arbitrary device UUID . ultimately i've found it with /dna/intent/api/v1/network-device call
But i'm still beating my head on table trying to retrieve something reasonable with /dna/intent/api/v1/sda/portAssignments
any idea why it doesnt work?
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