Usage:
$ merakitools [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion
: Install completion for the current shell.--show-completion
: Show completion for the current shell, to copy it or customize the installation.--help
: Show this message and exit.
Commands:
devices
: Meraki devicesmr
: Meraki MR wirelessms
: Meraki MS switchesmsp
: Manage multiple networksmt
: Meraki MT sensorsmx
: Meraki MX appliancesnetworks
: Meraki networksorgs
: Meraki organizations
Meraki devices
Usage:
$ merakitools devices [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
blink-led
: Blink the LEDs of device(s)list
: List Meraki devicesping
: Ping a Meraki devicereboot
: Reboot device(s)show-lldp
: Show CDP/LLDP information for Meraki...update
: Update parameters of a Meraki device
Blink the LEDs of device(s)
Usage:
$ merakitools devices blink-led [OPTIONS]
Options:
--serial TEXT
--duration INTEGER RANGE
: [default: 20]--help
: Show this message and exit.
List Meraki devices
Usage:
$ merakitools devices list [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--type [MX|MR|MS|MV|MT|Z]
--sort-by [name|model]
: [default: model]--sort-reverse / --no-sort-reverse
: [default: False]--help
: Show this message and exit.
Ping a Meraki device
Usage:
$ merakitools devices ping [OPTIONS] SERIAL
Arguments:
SERIAL
: [required]
Options:
--target TEXT
: Specify a target IP or FQDN--count INTEGER RANGE
: Number of pings [default: 5]--help
: Show this message and exit.
Reboot device(s)
Usage:
$ merakitools devices reboot [OPTIONS]
Options:
--serial TEXT
--help
: Show this message and exit.
Show CDP/LLDP information for Meraki device(s)
Usage:
$ merakitools devices show-lldp [OPTIONS]
Options:
--serial TEXT
--organization-name TEXT
--network-name TEXT
--help
: Show this message and exit.
Update parameters of a Meraki device
Usage:
$ merakitools devices update [OPTIONS] SERIAL...
Arguments:
SERIAL...
: [required]
Options:
--name TEXT
--address TEXT
--notes TEXT
--add-tag TEXT
--remove-tag TEXT
--help
: Show this message and exit.
Meraki MR wireless
Usage:
$ merakitools mr [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
list-l3-fw
: List layer 3 firewall rules for an SSIDlist-l7-fw
: List layer 7 firewall rules for an SSIDlist-mesh
: List mesh status for a networklist-rf
: List RF settings for a networklist-rf-profiles
: List RF profiles for a networklist-ssid
: List configured SSIDs for a networkshow-ssid
: Show an SSID for a network TODO: formattingupdate-ssid
: Update an SSID for a network
List layer 3 firewall rules for an SSID
Usage:
$ merakitools mr list-l3-fw [OPTIONS] ORGANIZATION_NAME NETWORK_NAME SSID_NUMBER
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]SSID_NUMBER
: The SSID number [required]
Options:
--help
: Show this message and exit.
List layer 7 firewall rules for an SSID
Usage:
$ merakitools mr list-l7-fw [OPTIONS] ORGANIZATION_NAME NETWORK_NAME SSID_NUMBER
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]SSID_NUMBER
: The SSID number [required]
Options:
--help
: Show this message and exit.
List mesh status for a network
Usage:
$ merakitools mr list-mesh [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--help
: Show this message and exit.
List RF settings for a network
Usage:
$ merakitools mr list-rf [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--help
: Show this message and exit.
List RF profiles for a network
Usage:
$ merakitools mr list-rf-profiles [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--help
: Show this message and exit.
List configured SSIDs for a network
Usage:
$ merakitools mr list-ssid [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--include-disabled
: [default: False]--include-psk / --no-include-psk
: [default: False]--help
: Show this message and exit.
Show an SSID for a network
TODO: formatting
Usage:
$ merakitools mr show-ssid [OPTIONS] ORGANIZATION_NAME NETWORK_NAME SSID_NUMBER
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]SSID_NUMBER
: [required]
Options:
--help
: Show this message and exit.
Update an SSID for a network
Usage:
$ merakitools mr update-ssid [OPTIONS] ORGANIZATION_NAME NETWORK_NAME SSID_NUMBER
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]SSID_NUMBER
: The SSID number [required]
Options:
--confirm / --no-confirm
: Confirm the current SSID name before applying changes [default: True]--enabled / --no-enabled
: Whether or not the SSID is enabled--name TEXT
: The name of the SSID--auth-mode [open|psk|open-with-radius|8021x-meraki|8021x-radius|8021x-google|8021x-localradius|ipsk-with-radius|ipsk-without-radius]
: The association control method for the SSID--encryption-mode [wep|wpa]
: The PSK encryption mode for the SSID--wpa-encryption-mode [WPA1 only|WPA1 and WPA2|WPA2 only|WPA3 Transition Mode|WPA3 only]
: The types of WPA encryption--tag-vlan / --no-tag-vlan
: Whether or not traffic shuold be directed to use specific VLANs--default-vlan-id INTEGER RANGE
: The default VLAN ID used for 'all other APs'--pre-shared-key TEXT
: The passkey for the SSID--min-bitrate INTEGER RANGE
: The minimum bitrate in Mbps--ip-assignment-mode [NAT mode|Bridge mode|Layer 3 roaming|Layer 3 roaming with a concentrator|VPN]
: The client IP assignment mode--local-lan-access [allow|deny]
: Policy for wireless clients accessing the Local LAN--help
: Show this message and exit.
Meraki MS switches
Usage:
$ merakitools ms [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
diag-switchport-traffic
: Diagnose all switchports on a network of MS...list-routing-interfaces
: List L3 routed interfaces on an MS switch or...list-stacks
: List switch stacksupdate-switchport
: Update switchport(s)
Diagnose all switchports on a network of MS switches to find switchports that are top talkers at a given instant
** This command gathers a significant amount of data and may take some time to complete on larger networks **
Usage:
$ merakitools ms diag-switchport-traffic [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--top INTEGER
: [default: 100]--sort-by [total|recv|sent]
: [default: total]--interface-mode [access|trunk]
--ignore-device-tag TEXT
--ignore-switchport-tag TEXT
--help
: Show this message and exit.
List L3 routed interfaces on an MS switch or stack
Usage:
$ merakitools ms list-routing-interfaces [OPTIONS] ORGANIZATION_NAME NETWORK_NAME SERIAL
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]SERIAL
: [required]
Options:
--include-dhcp / --no-include-dhcp
: [default: False]--help
: Show this message and exit.
List switch stacks
Usage:
$ merakitools ms list-stacks [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--help
: Show this message and exit.
Update switchport(s)
Usage:
$ merakitools ms update-switchport [OPTIONS] SERIAL
Arguments:
SERIAL
: [required]
Options:
--port INTEGER RANGE
--port-range TEXT
--name TEXT
--enabled / --no-enabled
--poe-enabled / --no-poe-enabled
--type [access|trunk]
--vlan INTEGER RANGE
--voice-vlan INTEGER RANGE
--rtsp-enabled / --no-rtsp-enabled
--stp-guard [disabled|root guard|bpdu guard|loop guard]
--add-tag TEXT
--remove-tag TEXT
--help
: Show this message and exit.
Manage multiple networks
Usage:
$ merakitools msp [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
enable-api-all
: Enable the Meraki API for all accessible...list-security-events
: List security events for organization(s),...
Enable the Meraki API for all accessible organizations
Usage:
$ merakitools msp enable-api-all [OPTIONS]
Options:
--help
: Show this message and exit.
List security events for organization(s), filtering by organization or event name
Usage:
$ merakitools msp list-security-events [OPTIONS]
Options:
--days-ago INTEGER
: How many days to look back for events [default: 3]--organization-name TEXT
: Specify organization--filter-event-name TEXT
: Filter by event message--help
: Show this message and exit.
Meraki MT sensors
Usage:
$ merakitools mt [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
history
: Show the historical sensor readings for an...latest-readings
: Show the latest reading for each metric from...
Show the historical sensor readings for an organization
Usage:
$ merakitools mt history [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--serial TEXT
--metric-type [battery|temperature|humidity|water|door|noise|co2|tvoc|indoorAirQuality|pm25|button]
--help
: Show this message and exit.
Show the latest reading for each metric from each sensor
Usage:
$ merakitools mt latest-readings [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--serial TEXT
--help
: Show this message and exit.
Meraki MX appliances
Usage:
$ merakitools mx [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
add-staticroute
: Add one or more static routes to an MX devicecreate-staticnat
: Add a 1:1 NAT entry to an MX devicelist-routes
: List MX device routeslist-vlans
Add one or more static routes to an MX device
Usage:
$ merakitools mx add-staticroute [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--route TEXT
--default-next-hop TEXT
--help
: Show this message and exit.
Add a 1:1 NAT entry to an MX device
Usage:
$ merakitools mx create-staticnat [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--nat TEXT
--port TEXT
--uplink [internet1|internet2]
: [default: internet1]--confirm / --no-confirm
: [default: True]--help
: Show this message and exit.
List MX device routes
Usage:
$ merakitools mx list-routes [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--name TEXT
: Only show routes with a specific name--subnet TEXT
: Only show routes with a specific subnet--gateway TEXT
: Only show routes with a specific gateway--help
: Show this message and exit.
Usage:
$ merakitools mx list-vlans [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--include-dhcp / --no-include-dhcp
: Include DHCP information for each subnet [default: False]--help
: Show this message and exit.
Meraki networks
Usage:
$ merakitools networks [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
delete-payload-template
: Delete a webhook payload templatelist
: List Meraki networks in an organizationlist-firmware-upgrades
: List firmware upgrades for a networklist-payload-templates
: List webhook payload templates for a networklist-webhook-servers
: List webhook servers for a networknew-payload-template
: Create a webhook payload templatenew-webhook-server
: Create a new webhook server for a networktraffic-analysis
: Get or update the traffic analysis mode for a...update-settings
: Update network settings
Delete a webhook payload template
Usage:
$ merakitools networks delete-payload-template [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--name TEXT
: Name of the payload template [required]--confirm / --no-confirm
: Confirm before deleting [default: True]--help
: Show this message and exit.
List Meraki networks in an organization
Usage:
$ merakitools networks list [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--product-type [appliance|switch|wireless|camera|systemsManager|enviornmental|sensor|cellularGateway]
--help
: Show this message and exit.
List firmware upgrades for a network
Usage:
$ merakitools networks list-firmware-upgrades [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--help
: Show this message and exit.
List webhook payload templates for a network
Usage:
$ merakitools networks list-payload-templates [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--help
: Show this message and exit.
List webhook servers for a network
Usage:
$ merakitools networks list-webhook-servers [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--help
: Show this message and exit.
Create a webhook payload template
Usage:
$ merakitools networks new-payload-template [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--name TEXT
: A name for the payload template [required]--headers FILENAME
: A file with the headers template [required]--body FILENAME
: A file with the body template [required]--help
: Show this message and exit.
Create a new webhook server for a network
Usage:
$ merakitools networks new-webhook-server [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--name TEXT
: A name for easy reference [required]--shared-secret TEXT
: A shared secret included in POSTs send to the HTTP server--url TEXT
: The URL of the HTTP server. Cannot be updated later. [required]--help
: Show this message and exit.
Get or update the traffic analysis mode for a network
Usage:
$ merakitools networks traffic-analysis [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--confirm / --no-confirm
: Confirm the network name before applying changes [default: True]--set-mode [disabled|basic|detailed]
: Traffic analysis mode for network--help
: Show this message and exit.
Update network settings
Usage:
$ merakitools networks update-settings [OPTIONS] ORGANIZATION_NAME NETWORK_NAME
Arguments:
ORGANIZATION_NAME
: [required]NETWORK_NAME
: [required]
Options:
--confirm / --no-confirm
: Confirm the network name before applying changes [default: True]--enable-local-status / --disable-local-status
: Local device status pages--enable-remote-status / --disable-remote-status
: Remote device status pages--help
: Show this message and exit.
Meraki organizations
Usage:
$ merakitools orgs [OPTIONS] COMMAND [ARGS]...
Options:
--help
: Show this message and exit.
Commands:
api
: Organization API statusclaim-order
: Claim an order into an organizationcreate
: Create a new Meraki organizationcreate-ip-objects
: Create new IP objects within organization,...create-saml-idp
: Create a SAML IDPcreate-saml-role
: Create a SAML rolelist
: List Meraki organizationslist-api-requests
: List API requests for organizationsaml
: Organization SAML status
Organization API status
Usage:
$ merakitools orgs api [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--enable / --disable
--help
: Show this message and exit.
Claim an order into an organization
Usage:
$ merakitools orgs claim-order [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--order-number TEXT
: [required]--claim-to-network-name TEXT
--help
: Show this message and exit.
Create a new Meraki organization
Usage:
$ merakitools orgs create [OPTIONS] NAME
Arguments:
NAME
: [required]
Options:
--org-admin TEXT
: Org admins in Name!Email format--claim-order TEXT
--help
: Show this message and exit.
Create new IP objects within organization, optionally adding to specified group
Usage:
$ merakitools orgs create-ip-objects [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--group-name TEXT
--object TEXT
--help
: Show this message and exit.
Create a SAML IDP
Usage:
$ merakitools orgs create-saml-idp [OPTIONS] ORGANIZATION_NAME SAML_X509_CERT SAML_SLO_LOGOUT
Arguments:
ORGANIZATION_NAME
: [required]SAML_X509_CERT
: [required]SAML_SLO_LOGOUT
: [required]
Options:
--help
: Show this message and exit.
Create a SAML role
Usage:
$ merakitools orgs create-saml-role [OPTIONS] ORGANIZATION_NAME ROLE
Arguments:
ORGANIZATION_NAME
: [required]ROLE
: [required]
Options:
--access TEXT
: [default: full]--help
: Show this message and exit.
List Meraki organizations
Usage:
$ merakitools orgs list [OPTIONS]
Options:
--name TEXT
--include-counts / --no-include-counts
: [default: False]--help
: Show this message and exit.
List API requests for organization
Usage:
$ merakitools orgs list-api-requests [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--help
: Show this message and exit.
Organization SAML status
Usage:
$ merakitools orgs saml [OPTIONS] ORGANIZATION_NAME
Arguments:
ORGANIZATION_NAME
: [required]
Options:
--enable / --disable
--help
: Show this message and exit.