Want to retrieve the MAC address table of a device\s using the API, is there a way to do that.
If you have a REST API example of how you can get the hosts (which are connected to a device) that will give their IP/MAc address.
Five APIC-EM API to improve network engineer productivity – part 2
In this example do not show the MAC address of each interface, but that is just a matter of changing the print statement. This will not tell you the MAC addresses of other network devices that are connected to this one, but will show all connected hosts.
In Part 4 an example of using a REST API to find a host by MAC or IP address and where it is connected to the network.
published part 4 of the blog series..
Also You can check the Host inventory -Data displayed in the GUI about the hosts include the IP address, MAC address, and network attachment point.
For related info refer -
Please sign in to leave a comment.