Meraki Troubleshooting
Overview
Troubleshooting through the hosted Meraki MCP is evidence-gathering: availability history, uplink loss and latency, port counters, wireless failure logs, client records, the change log and the event log. All of it is read with execute_api, using capability IDs found with semantic_search. Tool schemas and pagination are in meraki-api-patterns.
The hosted server cannot run live tests. Ping, traceroute, cable test, throughput test, blink LEDs, cycle port and packet capture are jobs created by write operations, which the server does not offer, and it cannot reboot anything. When the evidence points to a live test or a reboot, tell the human exactly which test to run, on which device, and where to find it in the Dashboard (see "Handing off live tests" below).
semantic_search may return capabilities named getDeviceLiveTools.... They only read back a job someone already created through the API, and need that job's ID. Do not use them to try to run a test.
Anti-triggers
- "Is the customer's website up?" -- Meraki sees the network from inside the customer site. External uptime checking is
betterstack-monitors. - A workstation or server problem that is not a network problem -- use
atera-devicesorncentral-devices. - Deciding whether a firewall rule, NAT rule or VPN policy is blocking traffic -- use
meraki-security-appliance. - Inventory, EOX or firmware questions -- use
meraki-devices.
Triage Order
Work from the WAN inward: is the appliance online and its uplinks healthy, then the switch and port, then the AP and RF, then the client. A fault upstream makes everything downstream look broken, so do not diagnose an AP while its MX is offline.
Workflow: Site Down or Device Offline
- Who is down.
getOrganizationDevicesAvailabilitieswithnetworkIdsfor the site. Everything offline points at the site's MX, WAN or power; a single device points at that device, its cable or its switch port. - Since when, and is it flapping.
getOrganizationDevicesAvailabilitiesChangeHistorywith theserialsand atimespan(max 31 days). Repeated online/offline transitions suggest a flapping WAN, power or PoE budget problem rather than a dead device. - WAN status.
getOrganizationApplianceUplinkStatuses(MX and Z) orgetOrganizationUplinksStatuses(also covers MG cellular gateways) withnetworkIds. Each uplink reportsactive,ready,failedornot connected. A site running oncellularwhile WAN1 isfailedhas failed over. - Loss and latency now.
getOrganizationDevicesUplinksLossAndLatencyreturns the last few minutes (the newest point is about 2 minutes old) for every MX uplink and the destination IP it probes. - Loss and latency over time.
getDeviceLossAndLatencyHistoryneeds bothserialandip-- the probe destination, taken from step 4 (often8.8.8.8). Adduplink(wan1,wan2,cellular), atimespanup to 31 days and aresolution(60, 600, 3600 or 86400 seconds). - Active alerts.
getOrganizationAssuranceAlertswithnetworkIdshows what the Dashboard itself has raised.
execute_api { "capability_id": "getDeviceLossAndLatencyHistory", "parameters": { "serial": "Q2XX-XXXX-XXXX", "ip": "8.8.8.8", "uplink": "wan1", "timespan": 86400, "resolution": 600 } }
Reading it. A failed uplink or sustained loss on one WAN is a carrier problem: give the human the circuit, the time window and the loss figures to quote to the ISP. Loss that appears only at busy hours suggests the circuit is saturated. If the MX is online with clean uplinks but its downstream devices are offline, move to the switch.
Workflow: Switch Port Problems
- Find the switch.
getOrganizationDeviceswithproductTypes: ["switch"]andname, ormeraki-devicesto resolve a serial. - Port state.
getDeviceSwitchPortsStatuseswithserialand atimespan(default 1 day, max 31 days) returns per-port status, speed, duplex, errors, warnings and the CDP/LLDP neighbour. - Error counters.
getDeviceSwitchPortsStatusesPacketswithserialreturns per-port packet counters, including CRC/alignment errors, collisions and topology changes. Itstimespansnaps to 5 minutes, 15 minutes, 1 hour or 1 day. - Across many switches.
getOrganizationSwitchPortsStatusesBySwitchwithnetworkIds. ItsperPagemaxes out at 20 switches. - What is plugged in where.
getOrganizationSwitchPortsTopologyDiscoveryByDevicelists the most recent LLDP/CDP neighbour per port (alsoperPagemax 20). Use it to confirm an uplink lands where the diagram says, or to find which port an AP or phone is on.
execute_api { "capability_id": "getDeviceSwitchPortsStatusesPackets", "parameters": { "serial": "Q2XX-XXXX-XXXX", "timespan": 3600 } }
Reading it. CRC errors climbing on one port point at the physical layer: cable, patch lead, SFP or the far-end NIC. A gigabit device linking at 100 Mbps or half duplex points the same way. Frequent topology changes suggest a loop or a flapping link. Port errors with clean counters can be configuration (VLAN, PoE, port security). For a physical-layer suspicion, ask the human to run a cable test on that port.
Workflow: Wireless Complaints
- Scope it.
getOrganizationWirelessDevicesPacketLossByNetwork,getOrganizationWirelessDevicesPacketLossByDeviceandgetOrganizationWirelessDevicesPacketLossByClient(default 7 days,timespanfrom 5 minutes to 90 days) show whether the problem is one site, one AP or one client. - Why connections fail.
getNetworkWirelessFailedConnectionswithnetworkIdand atimespan(max 7 days); filter withserial(AP),ssid,bandorclientId(the client MAC). Each failure records the step that failed. - One client's experience.
getNetworkWirelessClientConnectionStatswithnetworkIdandclientId. - Latency.
getNetworkWirelessLatencyHistorywithnetworkId, narrowed byclientId,deviceSerialorssid. - RF congestion.
getOrganizationWirelessDevicesChannelUtilizationByDevicewithnetworkIds. High utilization on an AP with complaints points at interference or too many clients on one radio.
Reading the failure step. Association failures are RF or capacity. Authentication failures are the PSK, RADIUS or certificate side. DHCP failures mean the VLAN's scope is exhausted or the VLAN is not trunked to the AP's switch port. DNS failures are upstream of the wireless network.
Workflow: Find a Client by MAC
getOrganizationClientsSearchwithorganizationIdandmacreturns the client's ID and the network(s) it has been seen on (perPage3 to 5).getNetworkClientwithnetworkIdandclientIdgives IP, VLAN, the AP or switch it was last seen on and the switch port.- Then, as needed:
getNetworkWirelessClientConnectionStatsfor Wi-Fi problems, orgetNetworkApplianceClientSecurityEventsfor IDS or malware hits.
execute_api { "capability_id": "getOrganizationClientsSearch", "parameters": { "organizationId": "<orgId>", "mac": "aa:bb:cc:dd:ee:ff" } }
This usually answers the question an ARP or MAC table lookup would, without a live tool.
Workflow: What Changed?
- Configuration changes.
getOrganizationConfigurationChangeswithnetworkIdand a shorttimespan. Its defaults are 365 days and 5000 rows, so always narrow it, e.g.timespan: 172800andperPage: 100. - Event types.
getNetworkEventsEventTypeslists the event type codes valid for that network. - Events.
getNetworkEventswithproductType(required when the network has more than one product type), plusincludedEventTypes,deviceSerialorclientMacand aperPage(default 10). - Line up the change timestamps against
getOrganizationDevicesAvailabilitiesChangeHistory. A change made minutes before an outage is the first suspect; name the admin and the setting in the report.
execute_api { "capability_id": "getNetworkEvents", "parameters": { "networkId": "<networkId>", "productType": "switch", "deviceSerial": "Q2XX-XXXX-XXXX", "perPage": 50 } }
Sensors and Cellular
- MT sensors (server room temperature, water leak, door):
getOrganizationSensorReadingsLatestwithnetworkIdsandmetrics, andgetNetworkSensorAlertsCurrentOverviewByMetricfor what is alerting now. - MG cellular gateways and cellular failover:
getOrganizationCellularGatewayUplinkStatuses, andgetOrganizationDevicesCellularUplinksBandsByDevicefor signal. Weak signal explains a slow site that has failed over to cellular.
Handing Off Live Tests
When a live test or reboot is the next step, write the request so the human can act on it without reading the investigation: device name and serial, the test, the target, and what result would confirm or rule out the suspicion.
| Test | Where in the Dashboard | Typical use |
|------|------------------------|-------------|
| Ping, traceroute | The device's status page > Tools | Reachability from the site to a target |
| Cable test, cycle port | The switch's page > Tools (MS only) | Physical-layer suspicion; bouncing a PoE device |
| ARP table (MX), MAC forwarding table (MS) | The device's page > Tools | Where a host is learned when client search finds nothing |
| Blink LEDs | The device's page > Tools | Finding the physical box on site |
| Throughput test | The device's page > Tools, where offered for that model | "Slow internet" once uplinks look clean |
| Packet capture | Network-wide > Monitor > Packet capture | Protocol-level evidence |
| Reboot | The device's page > Tools | Last resort, after warning about site impact |
Example hand-off:
On switch BR12-MS01 (serial Q2XX-XXXX-XXXX), run a cable test on port 14 (Switching > Monitor > Switches > BR12-MS01 > Tools > Cable test). Port 14 has logged 4,812 CRC errors in the last hour and is linking at 100 Mbps. An open or short pair confirms a bad cable run; a clean result points at the patch lead or the desk phone's NIC.
Best Practices
- Confirm the device is online before suggesting a live test -- an offline device cannot run one.
- Prefer org-wide capabilities with
networkIdsorserialsfilters over looping per device. - Always pass a
timespan; several capabilities default to long windows. - Summarise findings as loss %, latency, error counts and timestamps rather than dumping raw JSON, and say when a result is one page of a larger set.
Related Skills
meraki-api-patterns-- tool schemas, pagination, Conduit access tiersmeraki-devices-- inventory, availability, reboot and removal hand-offsmeraki-security-appliance-- firewall, NAT, VPN status and security events