Skip to content

Cisco Meraki

A Meraki device has no command line that an operator configures. Its configuration lives in the Meraki Dashboard and is read and written through the Dashboard API as JSON. netverdict follows that: the configuration of a cisco-meraki device is one JSON document shaped like the Dashboard API responses for that device and its network.

The builder offers Meraki MX under Router / Firewall, MS under Switch and MR under WLC. A new device starts with a small Dashboard document. In the device inspector a pasted Meraki config must be JSON, and a Meraki config downloads as .json.

AreaLevelNotes
MX applianceSupportedVLANs and DHCP, LAN ports, WAN uplinks, static routes, outbound L3 firewall, port forwarding, 1:1 NAT, automatic outbound PAT.
MX firewallSupportedStateful: the reply to a flow the rules let out is never dropped. The implicit allow at the end is modelled.
Auto VPNSupportedHub-and-spoke tunnels between the MXs of one organisation. See Auto VPN.
MS switchSupportedAccess and trunk ports, routing interfaces (SVIs), static routes, stpGuard.
MR access pointSupportedSSIDs and their security. In bridge mode a client leases from whatever serves the SSID’s defaultVlanId behind the AP.
Every document fieldSupportedEach field is modelled, noted as having no effect, or reported as lost.
Dashboard viewSupportedA read-only console. See Dashboard view.
ExportSupportedThe Dashboard document in canonical form. Export and import again gives the same document.
CLI stub exportSupportedA CLI-looking export (hostname, interface with description, no ip address) reads without gaps and says once that the real configuration is in the Dashboard.

A file that is not JSON and not that stub is refused once, not reported line by line.

{
"name": "BRANCH-MX", "model": "MX68", "productType": "appliance",
"network": { "id": "N_1", "organizationId": "O_1" },
"organization": { "id": "O_1", "appliance": { "vpn": { "vpnFirewallRules": … } } },
"managementInterface": { "wan1": …, "wan2": … },
"appliance": {
"vlans": […], "ports": […], "staticRoutes": […],
"firewall": { "l3FirewallRules": …, "portForwardingRules": …, "oneToOneNatRules": … },
"vpn": { "siteToSiteVpn": … } },
"switch": { "ports": […], "routing": { "interfaces": […], "staticRoutes": […] } },
"wireless": { "ssids": […] }
}

Each section uses the field names of the Dashboard API endpoint it comes from. productType is appliance (MX), switch (MS) or wireless (MR).

Each MX states only its siteToSiteVpn: the mode (hub or spoke), a spoke’s hubs, and for each local subnet whether it is in the VPN (useVpn). netverdict builds the tunnels from these documents, as the Dashboard does.

BehaviourStatusNotes
Hub-and-spoke meshSupportedSpokes build tunnels to their hubs. Spoke-to-spoke traffic goes through a hub.
useVpnSupportedA subnet not in the VPN is not announced and not reached from other sites.
One organisationSupportedAn MX of another organisation is not in the mesh.
TunnelsSupportedTraffic between sites travels in ESP between the uplinks.
VPN firewallSupportedThe organisation’s site-to-site VPN firewall (vpnFirewallRules) filters what enters Auto VPN. The LAN l3FirewallRules do not.
Internet trafficSupportedLeaves by the local uplink with the MX’s outbound PAT.
Symbolic reachabilitySupportedThe walk follows the tunnels and applies the VPN firewall.

The terminal of a Meraki device is labelled “netverdict Dashboard view”. It is read-only: a configuration command is refused with the reason. help lists the views and the Dashboard page each one stands for.

CommandDashboard page
show vlansSecurity & SD-WAN > Addressing & VLANs
show firewallSecurity & SD-WAN > Firewall
show vpn statusSecurity & SD-WAN > VPN status
show uplinksSecurity & SD-WAN > Appliance status > Uplink (an MX lists its WAN ports, an MR its wired port wired0, an MS the SVI of its management VLAN)
show routeSecurity & SD-WAN > Route table (V marks an Auto VPN route)
show portsSwitching > Switch ports
show ssidsWireless > SSIDs
show clientsWireless > Clients

To change a Meraki device, edit its document and import it again in the device inspector, as you would change the setting in the Dashboard.

  • There is no Dashboard itself: no organisation-wide pages, no templates, no configuration through the view.
  • A field this model does not know is reported as lost.