cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1855
Views
0
Helpful
1
Replies

API call to show leaf mac-address-table?

Josh Morris
Level 3
Level 3

I am trying to accommodate a vendor who needs to regularly see the cam table for a leaf. I don't want to give them direct access into the leaf. Is there an API call that can return the mac-address to port combination?

1 Accepted Solution

Accepted Solutions

Marcel Zehnder
Spotlight
Spotlight

Hi Josh

The Table you most probably looking for is the endpoint-table not the MAC-table.

All endpoints are stored as objects of the class fvCEp. The endpoints-to-path mappings are stored in the fvRsCEpToPathEp objects. 

The API calls is GET /api/class/fvRsCEpToPathEp.json (you'll need to filter out the corresponding leaf).

HTH

Marcel

View solution in original post

1 Reply 1

Marcel Zehnder
Spotlight
Spotlight

Hi Josh

The Table you most probably looking for is the endpoint-table not the MAC-table.

All endpoints are stored as objects of the class fvCEp. The endpoints-to-path mappings are stored in the fvRsCEpToPathEp objects. 

The API calls is GET /api/class/fvRsCEpToPathEp.json (you'll need to filter out the corresponding leaf).

HTH

Marcel

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