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}