Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco...

43
Speaker: Ashutosh Malegaonkar | Cisco DevNet Hostess: Kara Sullivan | Cisco Networking Academy 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Transcript of Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco...

Page 1: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Speaker: Ashutosh Malegaonkar | Cisco DevNet

Hostess: Kara Sullivan | Cisco Networking Academy

30 November 2017

Cisco DevNet Webinar Series

Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Page 2: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

2© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Welcome to the 4th session of the

Cisco DevNetwebinar series

• Use the Q and A panel to ask questions.

• Use the Chat panel to communicate with attendees and panelists.

• A link to a recording of the session will be sent to all registered attendees.

• Please take the feedback survey at the end of the webinar.

Page 3: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

3© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Before We Get Started

Today’s Presentation:

• Difficulty Level: Medium

• Recommended Background: CCNA 1 with Coding

Page 4: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

4© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Cisco DevNet Series

Intro to Software & Programmability (Available On-Demand)

Intro to Coding (Available On-Demand)

Intent Networks (Available On-Demand)

Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco) – Today!

APIs with Cisco Spark – 14 December, 9:00 a.m. PST

Register @ http://bit.ly/APIsWithSpark

All Series Details can be Found @ http://bit.ly/DevNetSeries

Page 5: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Ashutosh MalegaonkarCisco DevNetNovember 2017

Cisco DevNet Series: Fast Lane

Where Code (Apple) Meets Network Infrastructure (Cisco)

Page 6: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

• Digital transformation driving programmable networks

• Fast lane technology overview

• Quick overview of QoS

• Fast lane Technology and demo

• DevNet Fast lane validation labs

• Summary and Opportunities

Agenda

Page 7: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Personal Transformation

Page 8: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

My Personal Transformation

Device Drivers -Embedded Systems

Voice and Video Stacks (Middleware)

Web and Cloud Applications

Page 9: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Digital Transformation and Programmable Networks

Page 10: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

#CiscoPS17

Digital transformation needs an integrated approach

Network

Devices

Apps

Clouds

+

Security

Page 11: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Where modern apps meet programmable infrastructure

Programmable Infrastructure

Modern Applications

APIs & Automated Processes

Page 12: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Modern Applications

Security NetDevOpsLocation Based Services

Multi CloudNetworkPerformance

Page 13: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

#CiscoPS17

How can one guarantee the quality of the modern

app performance?

Network Performance

Page 14: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Quality Performance Use Cases

Stadiums

Live Updates

Smart Check-in

Healthcare

Doctor Staff communications

Reporting

Retail Augmented Reality

Smart shopping

Casinos

High touch gaming

Kiosks

Point of Sale Machines

Info Kiosks

1 2 3 4 5

Page 15: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Cisco Confidential 15© 2013-2014 Cisco and/or its affiliates. All rights reserved.

Typical Healthcare Environment

Customer Example• Hospitals provide Public Wi-Fi and

need to operate business critical apps

with top performance

Key Business Challenges Doctors, Nurses, Clinicians require to

communicate with each other and the

patient devices

Little user intervention required to gain

access

Seamless and consistent experience

on any device and any location

Page 16: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

Cisco Confidential 16© 2013-2014 Cisco and/or its affiliates. All rights reserved.

Retail Environment

Customer Example• Retailer provide Public Wi-Fi and need

to operate business critical apps with

top performance

Key Business Challenges Retailers are looking to provide new

experiences to shoppers who can do

comparative shopping etc

Seamless and consistent experience

on any device and any location

Page 17: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

What is Fast Lane?

Page 18: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Fast lane enables business applications running on Apple iOS devices to prioritize their traffic [Quality of Service (QoS) ] when used on Cisco Wi-Fi networks

What is Fast Lane

Page 19: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Quality of Service Refresher (QoS)

Page 20: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

“QoS mechanisms are designed to provide specific applications with guaranteed or consistent service in the absence of optimal bandwidth conditions”

There are three key methodologies for implementing QoS: • Best-Effort

• Integrated Services (IntServ)

• Differentiated Services (DiffServ)

Quality of Service (QoS)

Page 21: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

• Best-Effort QoS is essentially no QoS. Traffic is routed on a first-come, first-served basis. Sensitive traffic is treated no differently than normal traffic.

• Integrated Services (IntServ) QoS is also known as end-to-end or hard QoS. IntServ QoS requires an application to signal that it requires a specific level of service. Every device end-to-end must support the IntServ QoS protocol(s).

• Differentiated Services (DiffServ) QoS - Traffic types are organized into specific classes, and then marked to identify their classification. Policies are then created on a per-hop basis to provide a specific level of service, depending on the traffic’s classification.

QoS Refresher - Types

Page 22: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Fast Lane Deep Dive

Page 23: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

2

4

Fast Lane Details

Cisco or Meraki Access Point (AP)

Apple iOS 10+ device

Enable Fast Lane

Special Handshake

Fast Lane Enabled Device

Page 24: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

2

5

Fast Lane Details

Cisco or Meraki APs

Apple iOS 10+ device

Enable Fast Lane

Special Handshake

Fast Lane Enabled Device

Mobile Device Management - Admin

Set Application Profile for the user type

Prioritized Traffic

Page 25: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

• Understand traffic types of their application

• Understand the required iOS code changes

• Test their application on Cisco Infrastructure – we help developers validate apps!

Developers work with DevNet to Fast lane enable to:

Page 26: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

The Cisco Spark App does the following –

• Real-time chat

• Real-time Voice calls

• Real-time Video calls

• Signaling

• Content upload

Let’s Fast Lane Enable the Cisco Spark App

Page 27: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Understanding Traffic Types

Real time Interactive Voice

Real time Interactive Video

Best Effort ( Real time Data)

Background ( backups, media uploads etc)

Page 28: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

You set the service type property by using the following networking APIs:

iOS – Service Types in different Frameworks

CFSocketStream kCFStreamNetworkServiceType

NSStream NSStreamNetworkServiceType

Stream StreamNetworkServiceType

UDP sockets SO_NETSERVICE_TYPE

Page 29: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

3

1

Fast Lane DetailsCisco or Meraki Access Point (AP)

Apple iOS 10+ device

Fast Lane Enabled Device

Switches up-stream

AF2

CS3

CS4

AF4

CS2

AF1

CS1

DF

AF3

CS5

EF

CS6

CS7

UP6UP5UP0UP1

AF2CS3

CS4AF4

CS2AF1CS1DF

AF3

CS5EF

CS6CS7

Page 30: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Demo

Page 31: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Demo

https://www.youtube.com/watch?v=kTMWNKF-xuA

Page 32: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Bringing it home..

https://devnet.cisco.com/site/fast-lane/

Page 33: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

DevNet Fast LaneValidation Labs

Page 34: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Fast Lane Validation Program

UserCapturing Processing Reporting

YES(Report)

Fast Lane Validation Lab

Feedback

Fast lane verified apps Cisco Marketplace

NO

Page 35: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

The goal of this lab is to do the following:

• Validate if your app running on an iOS 10 device honors the Fast lane profile as well as checks with and without the application name being configured(apps in the list get QoS, apps outside the list are treated as Best Effort).

• Test for the validity of the traffic generated by the app to the actual tag that is marked on the traffic flow.

• Improve user experience (performance) of your app. Check for fewer drops and lower latency in a congested network.

DevNet Fast Lane Validation Lab

Page 36: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Stations do mark upstream traffic, at Layer 2 and Layer 3.

Verifying QoS – Whitelist Traffic

Page 37: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Verifying Traffic – non Fast Lane Traffic

Stations do not mark upstream traffic, at Layer 2 or Layer 3.

Page 38: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Summary

Page 39: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Careers where Fast Lane technology is relevant

Marks Application Traffic based on iOS 10 API

Upgrades network devices.

Enables Fast Lane of required SSIDs

Creates and manages Enterprise App Profiles

Keeps Devices up-to-date

Understands App functionality

Understands QoS

Page 40: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

• Fast lane enables business applications

running on Apple iOS devices to prioritize

their traffic [Quality of Service (QoS) ] when

used on Cisco Wi-Fi networks

• Simple setup on Cisco networks, turned on by default in Meraki.

• DevNet has validation Labs where any App developer or company can validate their app for free.

• DevNet has experts who are willing to consult you to enable your iOS app

Summary

4

4

Page 41: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Next Steps

4

5

https://developer.cisco.com

Join DevNet Now !

https://devnet.cisco.com/site/fast-lane/

Coming Soon! NetAcad Emerging Technology WorkshopUsing Spark REST APIs

Learn more about Fast Lane at

https://netacad.com

Page 42: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)

© 2017 Cisco and/or its affiliates. All rights reserved. Cisco Confidential

Questions?

Page 43: Fast Lane: Where Code (Apple) Meets Network Infrastructure ...€¦ · 30 November 2017 Cisco DevNet Webinar Series Fast Lane: Where Code (Apple) Meets Network Infrastructure (Cisco)