Top Banner
#CiscoLive | #DevNetDay Matthew DeNapoli – DevNet Developer Advocate @theDeNap Introduction to Meraki Integrations
46

Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Oct 08, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

#CiscoLive | #DevNetDay

Matthew DeNapoli – DevNet Developer Advocate@theDeNap

Introduction to Meraki Integrations

Page 2: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Agenda

#CiscoLive | #DevNetDay © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public

• The Meraki Platform• Why APIs• Dashboard API• Webhook Alerts

• Location Scanning API

• MV Sense• External Captive Portal

Page 3: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

The Meraki Platform

Page 4: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

We run the largest and most battle-tested cloud platform in networking

Meraki Cloud Platform

▴ 450,000+ customers

▴ 6.7M Merakidevices

▴ 2.4M active networks

Page 5: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

A Comprehensive Cloud Platform

WWW {APIs}INTEGRATIONS & SOLUTIONS

POWERED BY MERAKIOUT-OF-THE-BOX

MANAGEMENT & ANALYTICS

Page 6: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

AN INTERFACE FOR EVERY

USE CASE

Dashboard (Web UI) APIs

PROVISION

MONITOR

REPORT

ANALYZE

CUSTOMINTEGRATIONS

{ status: online }

Page 7: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Meraki APIs and Their Value

Page 8: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

AN INTERFACE FOR EVERY

USE CASE

Dashboard (Web UI) APIs

PROVISION

MONITOR

REPORT

ANALYZE

CUSTOMINTEGRATIONS

{ status: online }

Page 9: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Meraki APIsCaptive Portal APIDashboard API Scanning API

Wi-Fi + BLE Meraki

Page 10: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Meraki APIs - ContinuedMV SenseWebHook Alerts

Page 11: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

APIs Enable Applications for How YOU Manage IT

Setup 10K networks across 5 time zones

Provisioning

Make a configuration change to 1,100 ports

Configuration Management

Connection status of all 2,200 Meraki devices in Organization

Monitoring

Network Programmability & Automation

Visualize what % of clients are on WiFi vs Wired

Reporting

Processed data insights that deliver key business insights

Meraki IQ

Data Insights & Analysis

Page 12: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Dashboard API

Page 13: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Why use the Dashboard API?• Service Providers: OSS/BSS integration• Provision the customers in the Meraki cloud• Allocate customer devices• Set initial network configuration • Add administrator accounts for NOC staff and/or end customer access

• Enterprise: Network Automation• Automation of large deployment projects, e.g. many branches• Teleworker Off-boarding to disconnect VPN home office routers• Configure many sites in minutes• Build your own dashboard with controlled access

Page 14: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Meraki Management Application – (web app, mobile app, script, etc)

Deploy thousands of sites in minutes

Meraki API

Custom App

Claim Order

Claim Devices in Network(s)

Scan/Enter Device Serials

Create Network(s)

Update Device/Network

Settings

Page 15: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Enabling the Dashboard API

1. Organization > Settings > Enable API access

2. Go to My profile and Generate API key.

3. Go to https://developer.cisco.com/meraki/api/#/rest/getting-started

Page 16: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Provisioning New Networks

• POST /organizations/{organizationId}/networks -> Network name, type

• Take the resulting networkId and

• POST /networks/{networkId}/devices/claim with device serial body

Page 17: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Hardening the newly provisioned network• Segment with VLANS – POST /networks/{networkId}/vlans

• Content Filtering - PUT /networks/{networkId}/contentFiltering

• Group Policies - POST /networks/{networkId}/groupPolicies

• Network Malware Settings - PUT/networks/{networkId}/security/malwareSettings

• Firewalled Services - PUT /networks/{networkId}/firewalledServices/{service}

• MX L7 Firewall Rules - PUT /networks/{networkId}/l7FirewallRules

• MX L3 Firewall Rules - PUT /networks/{networkId}/l3FirewallRules

• MR L3 Firewall Rules - PUT/networks/{networkId}/ssids/{number}/l3FirewallRules

• Switchport Management - PUT /devices/{serial}/switchPorts/{number}

Page 18: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Monitoring the network• Client level

• GET /networks/{networkId}/clients/{clientId}/securityEvents• GET /networks/{networkId}/clients/{idOrMacOrIp}/events• GET /networks/{networkId}/clients/{idOrMacOrIp}

• Network level• GET /networks/{networkId}/devices/{serial}/lossAndLatencyHistory• GET /networks/{networkId}/airMarshal• GET /networks/{networkId}/traffic• GET /networks/{id}/splashLoginAttempts• GET /networks/{networkId}/clients/connectionStats• GET /networks/{networkId}/clients/latencyStats

Page 19: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Dashboard API Release V1

Enhanced Developer Experience (DX)Improved organization of path structures, responses and documentation groupingConsistency and adoption of new REST standards Standardized approach to authentication and consistency in value formats

New Features & Capabilities

Increased EfficiencyRemoval of duplicate path identifiers, focus on high-volume data retrieval for GET operations

Page 20: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Dashboard API v1 Docs

Page 21: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Webhook Alerts

Page 22: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

WebHook Alerts

Page 23: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Example WebHook Integrations and Solutions

Generate alarms or events in your monitoring or management system

Automate workflows based on network events

Log alerts to a spreadsheet for interactive and flexible reporting

Page 24: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Location Scanning

Page 25: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Location Scanning API

Wi-Fi + BLE

DEVNET-1217

Page 26: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Dashboard Configuration and API Flow

POST URLhttps://YourServer.com

[GET]YourServer respondswiththe Validator key defined by your Meraki Dashboard network.

[POST]YourServer receives aJSON array of client observations, which includes a user defined Secret that can be used to ensure the integrity of the data.DEVNET-1217

Page 27: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Wi-Fi Location Scanning ElementsName Format DescriptionapMac string MAC address of the observing APapTags [string] JSON array of all tags applied to the AP in dashboardapFloors [string] JSON array of all floorplan names on which this AP appearsclientMac string Device MACipv4 string Client IPv4 address and hostname, in "hostname/address" format; only "/address" if no

hostname, null if not availableipv6 string Client IPv6 address and hostname, in "hostname/address" format; only "/address" if no

hostname, null if not availableseenTime ISO 8601 date string Observation time in UTC; example: "1970-01-01T00:00:00Z"seenEpoch integer Observation time in seconds since the UNIX epochssid string Client SSID name; null if the device is not connectedrssi integer Device RSSI as seen by APmanufacturer string Device manufacturer; null if manufacturer could not be determinedos string Device operating system; null if the OS could not be determinedlocation location Device geolocation; null if location could not be determinedlat decimal Device latitude in degrees N of the equatorlng decimal Device longitude in degrees E of the prime meridianunc decimal Uncertainty in metersx [decimal] JSON array of x offsets (in meters) from lower-left corner of each floorplany [decimal] JSON array of y offsets (in meteres) from lower-left corner of each floorplan

DEVNET-1217

Page 28: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Bluetooth Scanning ElementsName Format Description

apMac string MAC address of the observing APapTags [string] JSON array of all tags applied to the AP in dashboardapFloors [string] JSON array of all floorplan names on which this AP appearsclientMac string Device MACseenTime ISO 8601 date

stringObservation time in UTC; example: "1970-01-01T00:00:00Z"

seenEpoch integer Observation time in seconds since the UNIX epochrssi integer Device RSSI as seen by APlocation location Device geolocation; null if location could not be determinedlat decimal Device latitude in degrees N of the equatorlng decimal Device longitude in degrees E of the prime meridian

unc decimal Uncertainty in metersx [decimal] JSON array of x offsets (in meters) from lower-left corner of each floorplan

y [decimal] JSON array of y offsets (in meteres) from lower-left corner of each floorplan

DEVNET-1217

Page 29: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

MV Sense

Page 30: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

MV Sense

DEVNET-1217

Page 31: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Dashboard: People detection in video

DEVNET-1217

Page 32: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Dashboard: People Count Analytics

DEVNET-1217

Page 33: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Dashboard: Interest Zones

DEVNET-1217

Page 34: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

MV Sense Analytics REST API• Returns an overview of aggregate analytics data for a timespan

• /devices/[serial]/camera/analytics/overview

• Returns all configured analytics zones for this camera• /devices/[serial]/camera/analytics/zone

• Return historical records for analytic zones• /devices/[serial]/camera/analytics/zones/[zoneId]/history

• Returns most recent record for analytics zones• /devices/[serial]/camera/analytics/recent

• Returns live state from camera of analytics zones• /devices/[serial]/camera/analytics/live

DEVNET-1217

Page 35: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

MV Sense Real Time with MQTT

• MQTT is a Client Server publish/subscribe messaging transport protocol.

• MV Camera MQTT client publishes people detection count

• Meraki Camera Notification is sample app • App watches people count during off-hours• When unexpected people are detected it send alert message using WebEx Team bot.

DEVNET-1217

Page 36: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

External Captive Portals

Page 37: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

External Captive Portal (EXCAP)

DEVNET-1217

Page 38: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

External Captive Portal - EXCAP

DEVNET-1217

Page 39: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

EXCAP with AAA

DEVNET-1217

Page 40: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Configuration in Meraki – Type of captive portal

DEVNET-1217

Page 41: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Configuration in Meraki – Walled Garden

DEVNET-1217

Page 42: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Configuration in Meraki – The Splash page

DEVNET-1217

Page 43: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Captive Portal APIs

GET/networks/{networkId}/splashLoginAttempts

DEVNET-1217

PUT/networks/{networkId}/ssids/{number}/splashSettings

ParameterssplashUrluseSplashUrl

PUT/networks/{networkId}/ssids/{number}

ParameterssplashPage – type of splash pagewalledGardenEnabledwalledGardenRanges

Configuration

Monitor

Page 44: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public#CiscoLive | #DevNetDay

Explore More • Meraki Learning Track:

https://developer.cisco.com/learning/devnet-express/devnet-express-meraki

Page 45: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

Thank you

#CiscoLive | #DevNetDay

Page 46: Introduction to Meraki Integrations€¦ · Meraki Management Application – (web app, mobile app, script, etc) Deploy thousands of sites in minutes Meraki API Custom App Claim Order

#CiscoLive | #DevNetDay