DAI Snooping entries & events via API ?

Solved
RaphaelL
Kind of a big deal
Kind of a big deal

DAI Snooping entries & events via API ?

Hi ,

 

Is it possible to have both of these tables via API ? 

 

RaphaelL_0-1725539278850.png

 

 

I couldn't find anything with 'DAI' / 'snooping' / 'DHCP' within the API index.

 

Thanks ,

1 Accepted Solution
Kevin_R
Meraki Employee
Meraki Employee

Hello @RaphaelL,

 

The top table, "Allow listed snoop entries" is obtainable via API using the following call:

https://developer.cisco.com/meraki/api-v1/get-network-switch-dhcp-server-policy-arp-inspection-trust...

 

The bottom table, however, does not appear to have a specific API call. Network tab for browser developer tools also shows no API call is made for the bottom table when loading the page either.

 

That being said the data the bottom table contains can be found using the Network-wide > Monitor > Event log page. You could use https://developer.cisco.com/meraki/api-v1/get-network-events/ , use "includedEventTypes" to filter for "dai_blocked" events, and manipulate the returned data to obtain the same or similar information that the bottom table shows on Dashboard.

If you found this post helpful, please give it kudos. If my answer solved your problem, click "accept as solution" so that others can benefit from it.

View solution in original post

2 Replies 2
Kevin_R
Meraki Employee
Meraki Employee

Hello @RaphaelL,

 

The top table, "Allow listed snoop entries" is obtainable via API using the following call:

https://developer.cisco.com/meraki/api-v1/get-network-switch-dhcp-server-policy-arp-inspection-trust...

 

The bottom table, however, does not appear to have a specific API call. Network tab for browser developer tools also shows no API call is made for the bottom table when loading the page either.

 

That being said the data the bottom table contains can be found using the Network-wide > Monitor > Event log page. You could use https://developer.cisco.com/meraki/api-v1/get-network-events/ , use "includedEventTypes" to filter for "dai_blocked" events, and manipulate the returned data to obtain the same or similar information that the bottom table shows on Dashboard.

If you found this post helpful, please give it kudos. If my answer solved your problem, click "accept as solution" so that others can benefit from it.
RaphaelL
Kind of a big deal
Kind of a big deal

RaphaelL_0-1725565474596.png

 

 

RaphaelL_1-1725565488949.png

Ahhh so the API index doesn't pick on the "description" and I was searching "snoop". That's why ! ( would be a nice improvement )

 

Thanks for your quick reply.

Get notified when there are additional replies to this discussion.