cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2673
Views
5
Helpful
4
Replies

API access policy

timmy-vercruysse
Community Member

We are using a couple of different access policy to secure our ports with NAC.

I want to get the config of the ports through API but it can't see access policy in the list.

This is the output but the accessPolicyType is open while there is a custom access policy on the port

portId : 25
name :
tags : {}
enabled : True
poeEnabled : True
type : trunk
vlan : 1
voiceVlan :
allowedVlans : all
isolationEnabled : False
rstpEnabled : True
stpGuard : disabled
linkNegotiation : Auto negotiate
portScheduleId :
schedule :
udld : Alert only
linkNegotiationCapabilities : {Auto negotiate, 1 Gigabit full duplex (forced), 100 Megabit (auto), 100 Megabit half duplex (forced)…}
accessPolicyType : Open
daiTrusted : False
profile : @{enabled=False; id=; iname=}
module : @{model=}
mirror : @{mode=Not mirroring traffic}

4 Replies 4

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

that's not possible. Trunk ports do not support Access policy. You either have the wrong port or something is wrong with your config.

this is the port in console, so it's not a trunk

image.png

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

And you are sure this is port 25 ?

Yes, that's the strange thing. The api doesn't match with the gui, or real live.

Or i'm questioning the wrong api.