I need the port details of AP to which it is connected.

Paramehswari
Comes here often

I need the port details of AP to which it is connected.

I used this script also to get the switch port detail 

$apiKey = "{APIKEY}"

$url = "https://n121.meraki.com/api/v1/networks/{networkID}/clients/{clientID}"

$headers = @{
"X-Cisco-Meraki-API-Key" = $apikey

}


$response = Invoke-RestMethod -Uri $url -Headers $headers -Method Get


$response

But I didn't get the any port details 

 

OUTPUT:

Paramehswari_0-1714386560295.png

 

 

Please help me in this

2 Replies 2
Paramehswari
Comes here often

I have also tried this but it's getting bad request below is the screenshot:

Paramehswari_0-1714387692061.png

 

KathleenJ
Meraki Employee
Meraki Employee

Hi,

I'm not sure how to script this but I assume that you have dashboard access. If you go to the dashboard and click on the question mark in the top right hand corner, then go to "Firewall Info" you can see all of the ports that are being used.

 

Kathleen

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.
Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.