cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
332
Views
0
Helpful
3
Replies

Find port allocations

KevinR99
Level 1
Level 1

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.

3 Replies 3

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. 

Torbjørn
VIP
VIP

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/ 

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

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

andydoesntlikeuucp_0-1731492215372.png

any idea why it doesnt work?