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.
Support level
Section titled “Support level”| Area | Level | Notes |
|---|---|---|
| MX appliance | Supported | VLANs and DHCP, LAN ports, WAN uplinks, static routes, outbound L3 firewall, port forwarding, 1:1 NAT, automatic outbound PAT. |
| MX firewall | Supported | Stateful: the reply to a flow the rules let out is never dropped. The implicit allow at the end is modelled. |
| Auto VPN | Supported | Hub-and-spoke tunnels between the MXs of one organisation. See Auto VPN. |
| MS switch | Supported | Access and trunk ports, routing interfaces (SVIs), static routes, stpGuard. |
| MR access point | Supported | SSIDs and their security. In bridge mode a client leases from whatever serves the SSID’s defaultVlanId behind the AP. |
| Every document field | Supported | Each field is modelled, noted as having no effect, or reported as lost. |
| Dashboard view | Supported | A read-only console. See Dashboard view. |
| Export | Supported | The Dashboard document in canonical form. Export and import again gives the same document. |
| CLI stub export | Supported | A 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.
The Dashboard document
Section titled “The Dashboard document”{ "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).
Auto VPN
Section titled “Auto VPN”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.
| Behaviour | Status | Notes |
|---|---|---|
| Hub-and-spoke mesh | Supported | Spokes build tunnels to their hubs. Spoke-to-spoke traffic goes through a hub. |
useVpn | Supported | A subnet not in the VPN is not announced and not reached from other sites. |
| One organisation | Supported | An MX of another organisation is not in the mesh. |
| Tunnels | Supported | Traffic between sites travels in ESP between the uplinks. |
| VPN firewall | Supported | The organisation’s site-to-site VPN firewall (vpnFirewallRules) filters what enters Auto VPN. The LAN l3FirewallRules do not. |
| Internet traffic | Supported | Leaves by the local uplink with the MX’s outbound PAT. |
| Symbolic reachability | Supported | The walk follows the tunnels and applies the VPN firewall. |
Dashboard view
Section titled “Dashboard view”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.
| Command | Dashboard page |
|---|---|
show vlans | Security & SD-WAN > Addressing & VLANs |
show firewall | Security & SD-WAN > Firewall |
show vpn status | Security & SD-WAN > VPN status |
show uplinks | Security & 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 route | Security & SD-WAN > Route table (V marks an Auto VPN route) |
show ports | Switching > Switch ports |
show ssids | Wireless > SSIDs |
show clients | Wireless > 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.
Try it
Section titled “Try it”Known limits
Section titled “Known limits”- 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.