VLANs are not enabled for this network

Solved
amabt
Building a reputation

VLANs are not enabled for this network

I'm trying get a list of all vlans on all networks and hitting "VLANs are not enabled for this network" for MX network that has no VLAN configure (aka only a single subnet).

 

How do I identify a network has only a single subnet and grab that subnet range? The data returned in the network details does not have any field to indicate that it only has a single vlan (that I can see) before calling .

 

dashboard.appliance.getNetworkApplianceVlans(network["id"])

 

Thanks.

1 Accepted Solution
GreenMan
Meraki Employee
Meraki Employee

Run this endpoint against any Network returning "VLANs are not enabled....."

https://developer.cisco.com/meraki/api-v1/get-network-appliance-single-lan/

View solution in original post

2 Replies 2
GreenMan
Meraki Employee
Meraki Employee

Run this endpoint against any Network returning "VLANs are not enabled....."

https://developer.cisco.com/meraki/api-v1/get-network-appliance-single-lan/

amabt
Building a reputation

Thanks. Somehow I did not see that one.

Get notified when there are additional replies to this discussion.