medianet: an architectural approach for optimal video ... · msp provides a subset of medianet...
TRANSCRIPT
© 2011 Cisco and/or its affiliates. All rights reserved. Cisco Connect 1 1 © 2012 Cisco and/or its affiliates. All rights reserved.
Medianet: An Architectural Approach for Optimal Video Collaboration
Jianzhu Zhang Technical Marketing Engineer
March 6th, 2013
Hong Kong, China
March 6, 2013
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 2
What is Video Collaboration?
Video IP Telephony
CP-9971
IP Video Phone E20
EX90
MXP1700
Telepresence
1xxx,3xxx Series
T Series
Soft Clients
Jabber
Desktop/ Room Video Conferencing
Web Conferencing
WebEx
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 3
Video Is Not Voice
• Traffic profile is very different
• Variable Bit Rate
• More data on the wire
32 to 209
times
the
bandwidth
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 4
Problems to solve for a successful video deployment
Network
Management
Optimization
Pre-assessment
Check if network is ready for video deployment
Identify and eliminate potential issues
Classification
Traffic flow/application recognition and enforcement
Ensure QoS control reflects established business policies & priorities
Monitoring &
Instrumentation Visibility into network and application
behavior
Response time measurements
Centralized monitoring & reporting
Troubleshooting
• Reduce application latency
Select the optimal path
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 5
Cisco’s Medianet Architecture
Smarter Endpoints
Smarter Network
Medianet technology embedded Medianet technology embedded
Agenda
• Media Awareness
• Performance Monitor
• Mediatrace
• Pre-deployment Assessment
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 7 © 2011 Cisco and/or its affiliates. All rights reserved. Cisco Connect 7 7 © 2012 Cisco and/or its affiliates. All rights reserved.
Media Awareness
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 8
Defining Media Awareness
‘Media Awareness’ is…
A collection of techniques to detect different
types of endpoints, media and application
types (TelePresence, video surveillance,
desktop collaboration and streaming media)
in order to deliver the best experience.
Why Media Awareness?
Example Policies Example Use Cases
QoS
Monitoring
Routing
Security
• Prioritize Voice & Video
• Protect Business Critical Applications
• Troubleshooting
• SLA
• Avoid Bandwidth upgrade by leverage the backup path
• Protect Business Critical Applications
• Access Control
• Firewall traversal
Media Awareness Methods
How? Mechanisms Technologies
Endpoint/Application directly
tells the network what type of
applications
Explicit – Endpoint/Application signals to
the network
Media Metadata
Network figures it out Implicit – Deep Packet Inspection
(control signaling protocols for the
establishment of sessions, packet
headers and payload)
Network Based Application Recognition
(NBAR/NBAR2)
Media Services Proxy (MSP)
Network administrator
configures the network
Static configuration ACLs
MetadataHere
• Metadata describes the device/application that sends the media flow
Application name, vendor, version, model, etc
• Metadata describes the media flow
Media type: voice/video/data
Transport type: RTP/RTCP/…
…
• Preferably generated by endpoint
• Generated by network devices if necessary
• Carried by RSVP (Cisco extension)
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 12
Media Awareness With Flow Metadata Jabber Announces Metadata Attributes to the Network
12
Jabber explicitly signals Metadata Attributes to Network
Flow Metadata Producer
Network use metadata to make smart decisions
Metadata Consumer
RSVP propagates Flow identifier and Metadata along media path.
Metadata Protocol
IP Src IP Dst Prot L4 Src L4 Dst App Name App
Vendor
App Ver Endpoint
Model
Device Class
10.1.4.20 10.1.5.20 TCP 30244 27924 Cisco-phone Cisco 9.1.0 Jabber for
Windows
Software-
phone
Flow Identifier Metadata
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 13
Flow Metadata Producer
1
3
• MSI for Windows
MSI Embedded with
Webex Installation
wmsi.dll is responsible for originating RSVP
message for propagating Metadata traffic.
Media Services Interface Resides in WebEx Client App
API – Windows, Linux, MacOS, Android
Host Stack/Service Protocols
MSI on Endpoints
• Embedded Applications (EX, C Series, CTS)
Included in application SW install
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 15
Enable Metadata
1
5
•Enable metadata flow globally, or per interface
RSVP snooping required on L2 switch
RSVP
RSVP
Internet
BR1(config)#metadata
flow
HqR2(config)#interface g0/1
HqR2(config-interface)#metadata flow
RSVP
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 16
Metadata Based Classifications
• match application telepresence-media
• match application rtp
• match application cisco-phone
Application Identifier
• match application attribute device-class room-conferencing
• match application attribute device-class surveillance
• match application attribute media-type video
Dynamic Attribute
• match application application-group webex-group
• match application application-group citrix-group
Application Group
• match application attribute category voice-and-video
• match application attribute category business-and-productivity-tools
Category
Enable performance monitoring on
all Telepresence
flows
Attribute - Application name
Attribute value - Telepresence-media
Use Case : Enable performance-monitoring for all “telepresence” flows
Set all Surveillance
flows on DSCP CS4
Attribute – device-class
Attribute value - room-conferencing
Use Case : Set up DSCP uniformly for all room conferencing device
Police all video
traffic to a particular peak rate
value
Attribute – media-type
Attribute value - video
Use Case : Police all Video Traffic to 2 Mbps
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 20
QoS Policy Using Flow Metadata Marking Traffic at Access Switch and WAN Edge
20
• The OS may not allow an application to mark the DSCP value
• The DSCP may be overwritten when traversing the SP network
Class-map match-all jabber
match application cisco-phone
Policy-map marking
Class jabber
set dscp EF
Trust incoming DSCP
Metadata
Trust incoming DSCP
Class-map match-all jabber
match application cisco-phone
Policy-map marking
Class jabber
set dscp EF
• Class-map match-all Jabber
• Match access-group 110
• Class-map match-any Jabber
• Match application cisco-phone
• Match access-group 110
Class-map Migration for Existing QoS Policy
2
1
Class-map: Jabber (match-any)
100198 packets, 10599254 bytes
30 second offered rate 75000 bps
Match: application cisco-phone
99535 packets, 10512016 bytes
30 second rate 75000 bps
Match: access-group 110
663 packets, 87238 bytes
30 second rate 0 bps
• Policy-map QoS-Policy
• Class RTP
Policy-map Migration for Existing QoS Policy
2
2
Class Jabber Class-map Jabber
Match application cisco-phone
Service-policy input: QoS-Policy
Class-map: Jabber (match-all)
49717 packets, 5303465 bytes
30 second offered rate 75000 bps
Match: application cisco-phone
Class-map: RTP (match-all)
0 packets, 0 bytes
30 second offered rate 0000 bps
Match: ip rtp 20000 16383
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 23
Flow Metadata Deployment Consideration Firewall ACL Rules for Flow Metadata
23
• RSVP Protocol 46 must be allowed
Access Control List for
Flow Metadata
• Permit RSVP message to pass
Internet
RSVP
ip access-list extended rsvp-
permit
permit 46 any any
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 24
Flow Metadata Deployment Consideration How to traverse 3rd party devices that drop RSVP-TP message
24
• Sometimes 3rd party device erroneously drop RSVP-TP message
• Workaround: RSVP over UDP
ip rsvp udp neighbour
<next_hop>
3rd party device
dropping RSVP-TP
Metadata
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 25
Deep Packet Inspection with NBAR
Identify IP flows for Quality of Service or filtering Policies
Five Tuple + DSCP + AppID
NBAR Support for Telepresence and Webex
Cisco TelePresence media and signaling supported in IOS 15.1(3)T
WebEx desktop-share/audio/video supported in 15.2(2)T
NBAR Support for Metadata
NBAR Export Metadata in 15.2(4)M1
2
5
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 26
Integrating NBAR with Metadata
Metadata
Class-map match-all App
Match application telepresence-media
Metadata flow send
No MSI
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 27
Media Services Proxy (MSP)
Would work with non-Cisco end points also as long as they support the prescribed list of supported protocols for device and flow identification
Position at user edge (access) & resource edge (Internet/enterprise edge)
MSP
Identification
MSP provides a subset of Medianet services on behalf of media end points supporting a range of standard protocols
H323/ RAS
CDP
SIP/SDP
RTSP
Netflow
RSVP
Flow Metadata
QoS/C3PL
mDNS
Services
MSP is a network-based solution where the switches and routers automatically identify end points and applications, flows coming from them
and provide the right set of network services to them automatically
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 28
Integrating MSP with Metadata
Metadata
profile flow
media-proxy services profile PLY
metadata
media-proxy services PLY
metadata flow
No MSI
SIP
Compare and Contrast
Capabilities MSI MSP NBAR Consideration
Identify the flow and apply
the appropriate policies
(e.g. QoS, monitoring,
routing, etc.)
Signaling recognized by MSP is limited (RTSP,
SDP, SIP, H.225, H.245).
Metadata support
MSI is most flexible; MSP will retrieve information
from limited protocols; Metadata attributes setup
by NBAR is very limited, app support limited.
Works with application
traffic encryption
Resource reservation
MSP can use RSVP to make BW reservation on
behalf of endpoints
3rd Party support
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 30
Enhancing Network Visibility Using Performance Monitor
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 31
Performance Monitor Traffic Flow Discovery and Analysis
31
• Network device discovers traffic flow for performance analysis
• System operator defines metrics to gauge performance (yes, similar to flexible netflow but more video specific)
• Per-Device Hop metric collection for RTP and TCP traffic
RTP performance metrics; (Pkt-Rate, Jitter, Loss)
TCP performance metrics; (Media Pkt-Rate, Round-Trip-Time)
• Proactive monitoring for voice and video quality of service
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 32
Where to Apply Performance Monitor Perf-Mon policy applied with modular QoS configuration
32
10.87.93.45
Telepresence 10.87.93.250
Telepresence
interface GigabitEthernet0/1
service-policy type performance-monitor input pm-policy
service-policy type performance-monitor output pm-policy
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 33
CPL - Performance Monitor
3
3
WAN
10.87.93.45
Telepresence 10.87.93.250
Telepresence class-map match-all telepresence
match dscp cs4
match access-group ipv4
!
ip access-list extended ipv4
permit host 10.87.93.45 host 10.87.93.250
!
policy-map type performance-monitor pm-policy
class telepresence
flow monitor inline
record pm-ipv4
monitor parameters
interval duration 10
timeout 15
history 30
flows 255
monitor metric rtp
min-sequential 10
Traffic Class
Class-map config, same as in Cisco
Policy Language
Policy Map Type Perf Mon
Policy Map configures interface to
monitor for performance
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 34
WAN Interne
t
Metadata with Media Monitoring Integrating Flow Metadata with Performance Monitor Flow Record
34
Collect Metadata Attributes
WebEx Session is Encrypted. Perf-Mon will
collect statistics and Metadata Attributes into
a single Flow Record.
Perf-Mon Flow Records
Configures a custom Perf-Mon Flow
Record name “webex-pm”
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 35
WAN Internet
Metadata with Media Monitoring Use Flow Metadata as filter to select the interesting traffic
35
Cisco Policy Language
Recognizes WebEx Metadata
Class-map matches specific WebEx
Metadata Attributes
Create Policy (Perf-Mon)
Flow Monitor now Records Perf-Mon
metrics with Metadata Attributes
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 36
Performance Monitor Export
3
6
WAN
10.87.93.45
Telepresence 10.87.93.250
Telepresence
flow exporter rtp-exp
destination 10.87.91.113
transport udp 2055
!
flow exporter tcp-exp
destination 10.87.91.114
!
policy-map type performance-monitor pm-
policy
class RTP-Media
flow monitor inline
record default-rtp
exporter rtp-exp
class TCP-Vid
flow monitor inline
record default-tcp
exporter tcp-exp
!
interface GigabitEthernet0/1
service-policy type performance-monitor input pm-policy
service-policy type performance-monitor output pm-policy
Export RTP PerfMon
Stats to Netflow Collector
Configures default RTP flow record for
metric collection and Netflow Export
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 37
Exporting Perf-Mon to Netflow Collector
3
7
RTP Jitter Metrics
Netflow Collectors Report
RTP Performance Metrics For
Baseline or Trend Analysis
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 38
Proactive Monitoring Thresholds & Alerts
• Metrics can be tested against thresholds to trigger actions
Multi-level Alarm Raise/Clear, SNMP Traps, Syslog, embedded scripts, automatic mediatrace
MSI MSI
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 39
Alert Threshold for Video Conferencing
3
9
WAN
10.87.93.45
Telepresence 10.87.93.250
Telepresence
policy-map type performance-monitor pm-policy
class telepresence
react 1 rtp-jitter-average
threshold value gt 10
alarm severity critical
action syslog
action snmp
react 2 transport-packets-lost-rate
threshold value gt 0.05
alarm severity critical
action syslog
action snmp
>10 ms Jitter Target Threshold
Configures Target Threshold to Trigger
SNMP & Syslog Critical Alert
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 40
Syslog Message Exceeding Jitter Threshold
4
0
WAN
10.87.93.162
Telepresence
10.87.80.11
Telepresence
12 ms Jitter Induced
Alert Raised per individual 5 Tuple
Flow
Mar 22 18:17:00: %PERF_TRAFFIC_REACT-2-CRITSET: TCA RAISE.
Detailed info: Threshold value crossed - current value 12
Flow info: ipv4 source address 10.87.93.162, ipv4 destination address
10.87.80.11, transport source-port 4441, transport destination-port 3331, transport
rtp ssrc 30583,
Policy info: Policy-map pm-policy, Class telepresence
React info: id 1, criteria rtp-jitter-average, severity critical, alarm type discrete,
threshold range (10, 4294967295]
Policy Violation Indicator
Alert shows violated Policy Info and React Info
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 41
Performance Monitor on Endpoints
Perf-mon
enabled
REST
interface
NMS
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 42
Expedited Troubleshooting Using Mediatrace
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 43
Mediatrace Capabilities Network Trace Collection for Performance Metrics
43
• Automatic Network Node Discovery along media path
RSVP Messages For Transport
Traceroute Messages to Discover NON-Mediatrace Devices
• Inquires Performance Statistics from Nodes along media path
Hop By Hop Performance Analysis
User specified Mediatrace query options
• Report Consolidated Metrics on Terminal Console or NMS
Command Line Execution
EEM Script Execution
Cisco Prime Collaboration Manager 1.1 Execution
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 44
Mediatrace Components • Initiator - injects the trace
• Responder - sends data back to initiator
• Multiple types of data requests Hops – hop discovery
System – system information
Performance monitor – enables perf-mon, then collects data
• Multiple execution formats Poll – minimal config, run from IOS exec
Session – flexible configuration, allows for periodic, recurring requests and history
flow
Initiator responder responder
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 45
Mediatrace: RSVP Messages as a Transport
4
5
• Exclusive RSVP Configuration NOT required (transport only)
• RSVP messages routed on same path as media packets
• RSVP message transports collected media monitoring statistics
10.87.80.11
10.87.93.162
BR-CAT3750
RSVP-
TP
RSVP-
TP
RSVP-
TP
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 46
Mediatrace Console Output
4
6
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 47
Session Troubleshooting on CPCM Visualize the media path
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 48
Session Troubleshooting on CPCM Visualize where the issue is introduced
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 49
Session Troubleshooting on CPCM Visualize the potential root cause
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 50
Mediatrace on Endpoints
Mediatrace
Initiator
REST
interface
Responder Responder Responder
Reponder with MSI
management
NMS
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 51
Network Readiness Assessment
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 52
Network Readiness Assessment: Telepresence
Enterprise IP
Back Bone
Branch 10.1.1.0/27
Branch 20.1.1.0/24
Is the network
ready to support
Video?
5
2
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 53
Synthetic Telepresence RTP Stream
5
3
IPSLA-VO TP Video Profiles:
CTS-1080P-Better, CTS-1080P-Good, CTS-720P-Best
CTS-720P-Better, CTS-720P-Good, CTS-720P-Lite
ip sla 1
video 10.87.93.250 6666 source-ip 10.87.93.233 source-port 9999 profile CTS-
1080P-Best
duration 20
frequency 60
dscp cs4
ip sla schedule 1 life 720 start-time now
R
T
P
RT
P RT
P
RT
P
Telepresence
1080p @4 Mbps
IPSLA
Report
Sender Lo0: 10.87.93.233
Responder Lo0: 10.87.93.250
Profile Option
Cisco Telepresence System
1080p 30fps 4000kbps Best
Quality
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 54
IPSLA-VO Custom Video Traffic Profile
5
4
R
T
P
RT
P RT
P
RT
P
IP Video
Surveillance
Camera HD
1080p @4
Mbps IPSLA
Report Sender Responder
Isr-g2#show run | b ip sla
ip sla profile video IPVSC
endpoint custom
description Cisco 4000 Series HD
Camera
resolution 1080P
frame rate 30
bitrate maximum 4000
bitrate window-size 167
frame intra size maximum 100
frame intra refresh interval 1
rtp size average 1300
rtp buffer output shaped
Video Stream Parameters
Custom Video Traffic Profile Name
Profile parameters for IP Video
Surveillance Camera
RTP Traffic Stream parameters unique
to IPVSC video application
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 55
Synchronize Clock for Accurate Delay Statistics
5
5
NTP Server NTP Server
GPS Device GPS Device
GPS Satellites
GPS sync GPS sync
local NTP sync local NTP sync
HQ-R1(config)#ntp server ntp1.server.com
HQ-R1(config)#ip sla sender
BR1(config)#ntp server ntp2.server.com
BR1(config)#ip sla responder
NOT recommended to synchronize the clocks of
Sender and Responder to same NTP/SNTP server
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 56
IPSLA-VO CLI Output
5
6
IPSLA Test Results
IPSLA test duration
RTP RTP RTP RTP
IPSLA
Report
Sender
Lo0: 10.87.93.233
Responder
Lo0: 10.87.93.250
One Way Latency Results
Interpacket Delay Variation
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 57
Typical Application Impairment Targets General Guidelines
57
Application Latency Jitter Loss (VoD) Loss (Live)
Streaming Video < 1000 ms < 100 ms < 0.1% < 0.05%
Video Conferencing < 150 ms < 30 ms NA < 0.10%
TelePresence < 150 ms < 10 ms NA < 0.05%
Digital Signage < 1000 ms < 100 ms < 0.1% 0%
IPTV < 1000 ms < 100 ms < 0.1% 0%
Video Surveillance < 1000 ms < 100 ms < 0.1% < 0.05%
Source: http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/tpqos.html
References
• Cisco Networking Capabilities for Medianet
http://www.cisco.com/en/US/prod/collateral/routers/ps10536/data_sheet_c78-612429.html
• Medianet Deployment Guide
http://www.cisco.com/web/solutions/medianet/knowledgebase/index.html
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 59
Take Away Implementing Optimal Video Collaboration with Medianet
59
• Design Media Aware Network
Targeted Treatment with Pinpoint Accuracy
Easy when the application provides all the description
• Performance Monitoring Tools
Getting visibility into application health and network bandwidth usage
• Fault Isolation
Increase productivity with automation
• Validation and Readiness Assessment
Test and validate remotely
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Connect 60
Thank you.