TessaroSystems Book a demoDemo

How to back up a Meraki MX firewall configuration

A Meraki MX keeps its firewall rules, NAT, VLANs, VPN and security settings in Meraki's cloud, and the dashboard has no export for them. A DejaVault backup reads all 62 security appliance settings through the Dashboard API every night, and a restore can put every one of them back from a plan you approve.

A sample clinic's firewall page in DejaVault, stepped back to an earlier moment, where an outbound rule that is not there now shows again.
Watch the whole screen0:30This is a clinic's MX firewall in DejaVault, and when you step the timeline back, the rules show as they stood at that moment.

What a backup of an MX holds

Most of an MX lives on its network. That covers the layer 3, layer 7, inbound and cellular firewall rules, port forwarding with 1:1 and 1:Many NAT, the VLANs and LAN ports, static routes, site to site VPN and BGP, content filtering, intrusion and malware protection, traffic shaping, uplink selection and the warm spare.

Some of it lives on the organization, such as the site to site VPN firewall rules, third party VPN peers, local and split DNS profiles and intrusion policies, and a little lives on the appliance itself, such as its uplink settings. A backup reads all three places.

  • Each organization gets a full backup every night, and DejaVault follows the change log about once a minute in between, so a rule someone edits usually shows up within minutes.
  • A port opened to anyone on the internet, intrusion prevention switched off or a network bound to a template raises an alert by email within minutes.
  • You can download the firewall and NAT rules across all of a client's networks as one CSV or PDF, or every setting as JSON.
  • Each organization's health page marks every setting as read, not available, failed or not covered, so a firewall that was skipped never passes for backed up.

The 62 security appliance settings

Every row below is one setting DejaVault reads, with the Dashboard API operation behind it and whether it is read once for the organization or for each network or device. A restore can put all 62 back.

The full coverage list has the other product lines, with a filter and a search.

The 62 Security appliance (MX) settings in a DejaVault backup, with the API operation each one is read with and what a restore does with it.
SettingAPI operationRead for eachRestore
Security appliance (MX) 62 settings, all restored
Radio settings of an appliancegetDeviceApplianceRadioSettingsDeviceRestored
Uplink settings of an appliancegetDeviceApplianceUplinksSettingsDeviceRestored
Connectivity monitoring destinationsgetNetworkApplianceConnectivityMonitoringDestinationsNetworkRestored
Content filteringgetNetworkApplianceContentFilteringNetworkRestored
Cellular firewall rulesgetNetworkApplianceFirewallCellularFirewallRulesNetworkRestored
Access rule for one appliance servicegetNetworkApplianceFirewallFirewalledServiceNetworkRestored through its list
Access rules for appliance services (ICMP, web, SNMP)getNetworkApplianceFirewallFirewalledServicesNetworkRestored
Inbound cellular firewall rulesgetNetworkApplianceFirewallInboundCellularFirewallRulesNetworkRestored
Inbound firewall rulesgetNetworkApplianceFirewallInboundFirewallRulesNetworkRestored
Layer 3 firewall rulesgetNetworkApplianceFirewallL3FirewallRulesNetworkRestored
Layer 7 firewall rulesgetNetworkApplianceFirewallL7FirewallRulesNetworkRestored
1:Many NAT rulesgetNetworkApplianceFirewallOneToManyNatRulesNetworkRestored
1:1 NAT rulesgetNetworkApplianceFirewallOneToOneNatRulesNetworkRestored
Port forwarding rulesgetNetworkApplianceFirewallPortForwardingRulesNetworkRestored
Firewall settingsgetNetworkApplianceFirewallSettingsNetworkRestored
One appliance LAN portgetNetworkAppliancePortNetworkRestored through its list
Appliance LAN ports and their VLANsgetNetworkAppliancePortsNetworkRestored
One static delegated IPv6 prefixgetNetworkAppliancePrefixesDelegatedStaticNetworkRestored through its list
Static delegated IPv6 prefixesgetNetworkAppliancePrefixesDelegatedStaticsNetworkRestored
One appliance RF profilegetNetworkApplianceRfProfileNetworkRestored through its list
Appliance RF profilesgetNetworkApplianceRfProfilesNetworkRestored
Intrusion detection and preventiongetNetworkApplianceSecurityIntrusionNetworkRestored
Malware protectiongetNetworkApplianceSecurityMalwareNetworkRestored
Appliance settingsgetNetworkApplianceSettingsNetworkRestored
Single LAN settingsgetNetworkApplianceSingleLanNetworkRestored
One appliance SSIDgetNetworkApplianceSsidNetworkRestored through its list
Appliance SSIDsgetNetworkApplianceSsidsNetworkRestored
One static routegetNetworkApplianceStaticRouteNetworkRestored through its list
Static routesgetNetworkApplianceStaticRoutesNetworkRestored
Traffic shaping settingsgetNetworkApplianceTrafficShapingNetworkRestored
One custom performance classgetNetworkApplianceTrafficShapingCustomPerformanceClassNetworkRestored through its list
Custom performance classesgetNetworkApplianceTrafficShapingCustomPerformanceClassesNetworkRestored
Traffic shaping rulesgetNetworkApplianceTrafficShapingRulesNetworkRestored
Uplink bandwidth limitsgetNetworkApplianceTrafficShapingUplinkBandwidthNetworkRestored
Uplink selection and SD WAN policiesgetNetworkApplianceTrafficShapingUplinkSelectionNetworkRestored
One VLANgetNetworkApplianceVlanNetworkRestored through its list
VLANsgetNetworkApplianceVlansNetworkRestored
Whether VLANs are ongetNetworkApplianceVlansSettingsNetworkRestored
BGP on a VPN hubgetNetworkApplianceVpnBgpNetworkRestored
Site to site VPN (AutoVPN)getNetworkApplianceVpnSiteToSiteVpnNetworkRestored
Warm sparegetNetworkApplianceWarmSpareNetworkRestored
Appliance layer 3 interfaces API key onlygetOrganizationApplianceDevicesInterfacesL3OrganizationRestored
Appliance port settings by device API key onlygetOrganizationApplianceDevicesInterfacesPortsByDeviceOrganizationRestored
Appliance redundancy by networkgetOrganizationApplianceDevicesRedundancyByNetworkOrganizationRestored
Local DNS profilesgetOrganizationApplianceDnsLocalProfilesOrganizationRestored
Local DNS profile assignmentsgetOrganizationApplianceDnsLocalProfilesAssignmentsOrganizationRestored
Local DNS recordsgetOrganizationApplianceDnsLocalRecordsOrganizationRestored
Split DNS profilesgetOrganizationApplianceDnsSplitProfilesOrganizationRestored
Split DNS profile assignmentsgetOrganizationApplianceDnsSplitProfilesAssignmentsOrganizationRestored
Static multicast forwarding by networkgetOrganizationApplianceFirewallMulticastForwardingByNetworkOrganizationRestored
VRF settingsgetOrganizationApplianceRoutingVrfsSettingsOrganizationRestored
Intrusion settings for the organizationgetOrganizationApplianceSecurityIntrusionOrganizationRestored
Intrusion policiesgetOrganizationApplianceSecurityIntrusionPoliciesOrganizationRestored
Intrusion rule group overridesgetOrganizationApplianceSecurityIntrusionRuleGroupsOverridesOrganizationRestored
Intrusion rule overridesgetOrganizationApplianceSecurityIntrusionRulesOverridesOrganizationRestored
VPN exclusion rules by networkgetOrganizationApplianceTrafficShapingVpnExclusionsByNetworkOrganizationRestored
Uplink NAT by networkgetOrganizationApplianceUplinksNatByNetworkOrganizationRestored
IPsec SLA policiesgetOrganizationApplianceVpnSiteToSiteIpsecPeersSlasOrganizationRestored
Third party VPN peersgetOrganizationApplianceVpnThirdPartyVPNPeersOrganizationRestored
Site to site VPN firewall rulesgetOrganizationApplianceVpnVpnFirewallRulesOrganizationRestored
Global group policies given to appliance VLANsgetOrganizationPoliciesGlobalGroupPoliciesApplianceVlansAssignmentsOrganizationRestored
Global group policies by appliance VLANgetOrganizationPoliciesGlobalGroupPoliciesApplianceVlansAssignmentsByVlanOrganizationRestored

What a restore puts back on an MX

A restore compares the live network with the moment you pick and writes only the settings that differ, in an order Meraki accepts. On the lab below, the VLANs went back before the layer 3 firewall rules.

Each setting is read back after it is written, and the restore guide walks through the plan, the approval and the undo.

A finished restore in DejaVault listing its steps: network settings, appliance settings, VLAN settings, each VLAN from VLAN 1 to VLAN 99, and then the layer 3 firewall rules, all marked Done.
The steps of a restore on the lab, which wrote a rebuilt network's appliance settings and VLANs before its layer 3 firewall rules.

What a restore cannot put back by itself

Every one of the 62 settings can be restored, but a few values inside them never leave Meraki, and a template keeps its own settings.

WAN PPPoE passwords
Meraki never returns the PPPoE passwords of an appliance's uplinks, so a restore that needs them asks you to type them in.
MX WiFi passwords and RADIUS secrets
On an MX with WiFi, Meraki never returns the SSID passwords or their RADIUS secrets, so you type them in and DejaVault erases them when the restore ends.
BGP passwords and VPN shared secrets
Meraki does return these. A backup read with full access or Meraki sign in holds them encrypted under your account's key, and with a read only key a restore treats them as masked and asks you.
Rules a template owns
On a network bound to a template, a restore leaves alone what the template owns, so restoring one site never changes the others. You put those back by restoring the template.

The same rules can also be written to many sites at once. A rollout adds, replaces or removes a block of firewall rules at every site you pick, previews each site first and writes them in waves you can undo.

Export an MX with the free tool

If you need a copy of the firewall today, DejaVault Export is a free, open source command that saves the same 253 settings to JSON files with a read only key and only GET requests.

It keeps no history and never writes, so putting a rule back from its files is up to you.

  1. Install the free tool

    Install DejaVault Export with pipx. It needs Python 3.10 or later and sends only GET requests.

    pipx install git+https://github.com/tessarosystems/dejavault-export
  2. Make a read only key

    Add a dashboard administrator with read only organization access, sign in as that administrator, and generate an API key under My profile. Put it in MERAKI_DASHBOARD_API_KEY, or let the tool ask for it.

  3. Export the networks

    Pass the organization's id and, with --networks, the networks whose appliances you want. Organization settings, such as the site to site VPN firewall rules, are always exported.

    dejavault-export --org 123456 --networks "Main Office,Warehouse"
  4. Find the files

    Each setting is a JSON file named after the API operation that read it. All the ids below are made up.

    networks/L_123456789012345678/getNetworkApplianceFirewallL3FirewallRules.json
    networks/L_123456789012345678/getNetworkApplianceFirewallPortForwardingRules.json
    networks/L_123456789012345678/getNetworkApplianceVlans.json
    networks/L_123456789012345678/getNetworkApplianceVpnSiteToSiteVpn.json
    organization/getOrganizationApplianceVpnVpnFirewallRules.json
    devices/Q2XX-AAAA-0001/getDeviceApplianceUplinksSettings.json

Questions about MX firewall backups

If yours is not here, write to sales@tessarosystems.com and we will answer it.

A customer asks for a config backup of a Meraki firewall. Where do we get it?

The Meraki dashboard has no export button, so the copy has to come from the Dashboard API. In DejaVault you download the firewall and NAT rules across a client's networks as one CSV or PDF, or every setting as JSON, and our free export tool saves an MX's settings to JSON files with a read only key.

Is a network bound to a template backed up too?

A bound network is backed up like any other, and the template has its own history. A restore of one bound network leaves alone what the template owns, so restoring one site never changes the others, and a rule the template owns is put back by restoring the template.

Can a restore put back one firewall rule without touching the others?

A restore writes whole settings, so the layer 3 rules go back as the full list they were at the moment you pick, and the plan shows every rule that would change before you approve. Undoing one change from the Changes page writes that one setting back and nothing else.

Are the WAN PPPoE password and the MX WiFi passwords restored?

Meraki never returns them through its API, so no backup holds them. A restore that needs them asks you to type them in, and DejaVault erases them when the writing ends.

See your own firewalls backed up

In a demo you see DejaVault on a Meraki organization with sample data, and then you connect one of your own with a read only key and watch its first backup. DejaVault is priced per project, so we work out the price with you after a short call about your networks.

Write to sales@tessarosystems.com, reach support at support@tessarosystems.com, or call 212 470 9405.

Book a demo