Professional Documents
Culture Documents
In the Collaboration Media section we will discuss video and voice traffic characteristics and requirements and introduce smart
media techniques such as media resilience and rate adaptation, showing how they help mitigate the impact of network impairments
such as packet loss and delay.
In the QoS Architecture and Design section we will describe the three main QoS functions in the context of Collaboration:
media identification and classification (trust boundaries, DSCP marking)
queuing and scheduling (CBWFQ, WRED)
provisioning and resource control (planning, bandwidth allocation)
We will look at how these functions are applied to all types of Collaboration endpoints (hardware, software, mobile) in different parts of
the network (LAN, WLAN and WAN) and provide configuration examples to illustrate the concepts. We will also take into account the
smart media techniques introduced in the previous section to introduce new queuing and provisioning models that simplify operations
and maximize resource usage. We will also provide design best practices for common deployment scenarios.
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
Introduction
Collaboration Media
QoS Architecture
Design and Deployment
Introduction
Evolution of Collaboration Landscape
On-premise
UC Services Call
Fixed, hardware endpoints Control
Managed networks
Central
Site
Managed
WAN Internet
MPLS
VPN
Remote Sites
HW Endpoints
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Evolution of Collaboration Landscape
On-premise Spark
UC Services Call
Fixed, hardware endpoints Control
Managed networks
Central
Site Cloud Services
Managed
WAN Internet
MPLS
VPN
Remote Sites
HW Endpoints
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Evolution of Collaboration Landscape
On-premise Spark
UC Services Call
Fixed, hardware endpoints Control
Managed networks
Central
Site Cloud Services
Managed
WAN Internet
MPLS DMVPN
VPN
Remote Sites
HW Endpoints
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Evolution of Collaboration Landscape
On-premise Spark
UC Services Call
Fixed, hardware endpoints Control
Managed networks
Central
Site Cloud Services
Managed
WAN Internet
MPLS DMVPN
VPN
Remote Sites
HW Endpoints
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Evolution of Collaboration Landscape
On-premise Spark
UC Services Call
Fixed, hardware endpoints Control
Managed networks
Central
Site Cloud Services
Remote Sites
HW Endpoints
Software
Clients
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Managed vs. Unmanaged Networks
Where do your media packets go?
Central
Site
B2B
B2C
Managed
WAN Internet
MPLS DMVPN
VPN
Central
Site
B2B
B2C
Managed
WAN Internet
MPLS DMVPN
VPN
Central
Site
Cloud Services
B2B
B2C
Managed
WAN Internet
MPLS DMVPN
VPN
Adaptive
video bitrate
Multi-device Simulcast
sessions multistreaming
Multipoint
Bridge Multipoint
Bridge
Collaboration
data
Active cascading
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Deployment Challenges
Voice has been deployed to very large scale onto integrated IP networks
Video so far has seen smaller-sized deployments:
Overlay networks or islands
Smaller numbers of endpoints (e.g., room systems)
Deploying pervasive video is challenging
Multi-media, mobile endpoints
Varying bandwidth needs
Hard to plan/provision
Cloud services, B2B/B2C communications and remote/mobile access make it
even harder to control the user experience
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Antiquated QoS Approaches
Classification and Scheduling Considerations
Same DSCP for audio and video
streams of a video call
Audio of
voice call EF Policer PQ During congestion, audio and video
streams are equally impacted
Audio of
Telepresence CS4
Video of
CBWFQ Different DSCPs for audio
WAN Link
Telepresence CS4 streams in video calls vs. voice
Audio of
AF41
calls
Desktop video
CBWFQ Media stream identification difficult
Video of
Desktop video AF41 for multi-media mobile clients
other queues Different queues for immersive/
room system video and desktop
video
Complex provisioning, sub-optimal
bandwidth usage
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Our Strategy
Commonly Deployed New Design &
Smart Media Techniques
LTRF1
QoS Tools Deployment Guidelines
LTRF1
P1 P3
P2 P4
P5
P1
P5 EF Audio
P2 P4
... ... ... ... Queue
Encoder Decoder
? EF
AF42
WAN Link
OOS (P4) ACK LTRF1
AF42 Video
Encoder Decoder
Queue
AF41
Repair-P R1 0001100
1001000100
0011001011
1011110
FEC
1110010101
R2
Load Threshold
Receiver
Sender
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Smart Media Techniques
Load Threshold
Receiver
Sender
1
Endpoints identify their media
streams to the network
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Smart Media Techniques
Load Threshold
2
Network classifies traffic
Receiver
Sender and applies differential
treatment
1
Endpoints identify their media
streams to the network
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Smart Media Techniques
Load Threshold
2
Network classifies traffic
Receiver
Sender and applies differential
treatment 3
Endpoints provide ongoing
1 media feedback (delay, loss, ...)
Endpoints identify their media Receiver Feedback
streams to the network
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Smart Media Techniques
4
Network indicates congestion
by queuing and/or discarding
media packets
Load Threshold
2
Network classifies traffic
Receiver
Sender and applies differential
treatment 3
Endpoints provide ongoing
1 media feedback (delay, loss, ...)
Endpoints identify their media Receiver Feedback
streams to the network
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Smart Media Techniques
5
4 Media resilience techniques
Network indicates congestion preserve user experience
by queuing and/or discarding during congestion
media packets
Load Threshold
2
Network classifies traffic
Receiver
Sender and applies differential
treatment 3
Endpoints provide ongoing
1 media feedback (delay, loss, ...)
Endpoints identify their media Receiver Feedback
streams to the network
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Smart Media Techniques
5
4 Media resilience techniques
Network indicates congestion preserve user experience
by queuing and/or discarding during congestion
media packets
6
Endpoints dynamically
adapt media streams
Load Threshold
2
Network classifies traffic
Receiver
Sender and applies differential
treatment 3
Endpoints provide ongoing
1 media feedback (delay, loss, ...)
Endpoints identify their media Receiver Feedback
streams to the network
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Agenda of This Session
Technology Trends and Current Issues
Introduction Strategy Overview
Video Traffic
Collaboration Media Smart Media Techniques
(Media Resilience and Rate Adaptation)
Audio vs Video
Bandwidth, Packet Loss, Delay
Rate Adaptation
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Video Traffic: Requirements and Profiles
AUDIO Bandwidth
Bandwidth:
Constant bitrate (smooth)
Small footprint
Narrow operational range (1:6)
Time
G.729 (24 kbps) Loss-sensitive
AAC-LD (160 kbps)
Delay-sensitive
Operational bandwidth
good
acceptable
unusable
bitrate (kbps)
elasticity
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
1 I-Frame
Video Traffic Intra-coded picture
Video Encoding Basics Entire picture encoded
1 as a static image
No reference to other
frames
2 P-Frame
Predicted picture
Based on a previously
2 encoded frame ( 1 )
Only the differences
from that frame are
encoded
3 P-Frame
Predicted picture
3 Reference for
prediction can be
another P-Frame ( 2 )
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Video Traffic
Audio vs. Video Packet Distribution
Audio Packets Video Packets
P-Frame I-Frame P-Frame
1400 1400
1000 1000
Bytes
600 600
Audio
Samples
200 200
20 ms Time 33 ms
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Video Traffic
Bandwidth Usage: High-definition Video Call
3500
I-Frames
3000
2500
Bandwidth (kbps)
2000
1500
1000
500
0
Time (s)
HD video call, 720p30 @ 1920 kbps (1792 kbps video + 128 kbps audio)
Video bandwidth shown (including L3 overhead)
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Video Traffic
Impact of Packet Loss on a Video Stream Frozen video
I1 Artifacts I1
Video
Pulsing
P1 P3 P1
P2 P4 P5 P2 P4 P5
... ... ... ...
Encoder Decoder
?
P5 I1 I1 I1 P4 P3 P2 P1
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Video Traffic
Delay in Home/Consumer Access Scenarios: Bufferbloat
http://en.wikipedia.org/wiki/Bufferbloat
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Collaboration Media Agenda
Video Traffic (i.e., a network administrators concerns with interactive media/video)
Audio vs Video
Bandwidth, Packet Loss, Delay
Rate Adaptation
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Smart Media Techniques
Goals and Solutions
Goals Mechanisms
Make network congestion Media Resilience
less likely to occur Encoder Pacing
33 ms Time 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Media Resilience
Long Term Reference Frame (LTRF) with Repair
Long-Term Reference Frame
LTRF1 (not actually sent on the wire) LTRF1
P5
Repair P-Frame P5
P1 P3 Built from last synced LTRF P1
P2 P4 P2 P4
... ... ... ...
Encoder Decoder
?
P5 P4 P3 P2 P1
OOS
ACK (P4)
LTRF1
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Media Resilience
Forward Error Correction (FEC)
Encoder Decoder
R2
Allows decoder to recover from limited amount of packet loss without losing
synchronization
Can be applied at different levels (x FEC packets every N data packets) to protect
important frames in lossy environments
Correction code can be basic (binary XOR) or more advanced (Reed-Solomon)
Trade-off is bandwidth increasebest suited for non-bursty loss
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Rate Adaptation
Key Idea
Video Packet
Bitrate Loss
SLOW
DOWN
Sender t1 t2 t1 t2 Receiver
RR 1
2
3
RTCP
Receiver observes delay and packet loss over periods of time and signals back
using RTCP Receiver Reports (RR)
Reports cause the sender to adjust bitrate so as to adapt to network conditions
(downspeeding, upspeeding)
Two approaches possible:
Sender-initiated adjustment based on RTCP Receiver Reports
Receiver-initiated adjustment via call signaling (H.323 flow control, TMBRR,
SIP Re-invite) or explicit request in RTCP message
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Smart Media Techniques
Key Takeaways
Burstiness of traffic and mobility of the endpoints make deterministic
provisioning for interactive video difficult for network administrators
Media resilience and rate adaptation also help preserve user experience when
video traffic traverses the Internet or non-QoS-enabled networks
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
QoS Architecture:
WAN
AF41
BE
Provision Monitor
Identify Classify Schedule Resource Troubleshoot
Control Optimize
QoS Trust and Map identified Low Latency Bandwidth Prime Collaboration
Collaboration Traffic traffic to its correct Queuing (LLQ) Provisioning Monitoring Assurance
Identification QoS marking Priority Queuing and Diagnostics
Admission Control
(PQ)
QoS marking: Monitors Voice, Video,
Class Based
COS, DSCP Inventory and Fault
Weighted Fair
Queue (CBWFQ) Management
Classification
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
DSCP Class DSCP ToS Prec.
Classification: DSCP Classes none
CS1
0
8
0
1
AF11 10 1
EF: Expedited Forwarding (PQ) AF12 12 1
Used for voice media AF13 14 1
CS2 16 2
AF: Assured Forwarding (CWBFQ) AF21 18 2
AF22 20 2
Used for video media AF23 22 2
CS3 24 3
CS: Class Selector AF31 26 3
Used for signaling AF32 28 3
AF33 30 3
CS4 32 4
AF41 34 4
AF42 36 4
AF43 38 4
CS5 40 5
EF 46 5
CS6 48 6
CS7 56 7
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Campus QoS Design Considerations
Trust Boundaries
Trust Boundary
Access-Edge Switches WAN-Edge Router
Conditional
Trust Classification,
Examples: IP Phone + PC
Marking and
Queuing
Trusted IP WAN
Untrusted
Examples: PC, Mac, Handheld
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
QoS Trust (Conditional vs Trusted vs Untrusted)
Drawbacks
Requires multiple access policies to implement different types of trust
(conditional vs full vs untrusted)
Trust Configuration Differs from Platform to Platform
Some Platforms trust by default others do not
ACL access policies for untrusted devices are required on every access port
Solution
SIMPLIFY: A single access policy for ALL endpoints
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Trust and Enforcement
Devices and Places in the Network Multiple Access Policies
NOT IDEAL
Conditionally-Trusted Endpoints
Access Distribution Core WAN Edge
Immersive Endpoints
SRST Gateway
WiFi AP
PC/GPO MAC Handheld
Unified BE
SRST Gateway
IP Phones
Trusted
Jabber Trusted Devices
Untrusted
Smart Desktop Conditionally
Trusted
Instant Messaging TelePresence
Unified CM And Presence Servers IOS Router
Mac/PC Unity Expressway
Connection Remarking
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Trust and Enforcement 3 Single Access Policy
Deploy an Access
Devices and Places
1
in the Network Layer Policy
IDEAL
Configure endpoints 4
Configure Endpoint
SX, MX and IX Series Endpoints with DSCP and
QoS and Port Ranges
Access Distribution DeployCore
a WAN Edge WAN Edge
TCP/UDP Port Ingress Remarking Policy
SRST Gateway
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Unified CM QoS Classification
Audio Portion of Video/TelePresence calls (*Only supported on specific phone
software releases) Default Values
Unified CM System QoS Values and CAC Pool Associations
Service Parameter Name Media Stream Type DSCP Value PHB Value CAC Pool
*DSCP forVideo
Audio Portion of
Calls
Audio of Video 34 AF41 Video
*DSCPTelePresence
for Audio Portion of
Calls
Audio of TP 32 CS4 Video
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Unified CM QoS Classification
Audio Portion of Video/TelePresence calls (*Only supported on specific phone
software releases). Recommended Values for CUCM 11.x deployment
Unified CM System QoS Values and CAC Pool Associations
Service Parameter Name Media Stream Type DSCP Value PHB Value CAC Pool
*DSCP forVideo
Audio Portion of
Calls
Audio of Video 46 EF Voice
*DSCPTelePresence
for Audio Portion of
Calls
Audio of TP 46 EF Voice
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Custom QoS settings for SIP Devices New
(CUCM 11.0)
Clusterwide Parameters (System QoS)
DSCP for Audio Calls
DSCP for Video Calls
DSCP for Audio Portion of Video Calls TelePresence
DSCP for TelePresence Calls Endpoints
DSCP for Audio Portion of TelePresence Calls
Media Port Ranges (Common Port Range for Audio and Video)
Media Port Ranges (Separate Port Range for Audio and Video*) TelePresence Applicable DSCP settings:
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
New
(CUCM 11.0)
Custom QoS Settings For SIP Devices
SIP Profile Settings
New Separation of Audio and Video UDP Port Ranges
New DSCP parameters
Benefits
Granular configuration of SIP Endpoint groupings for both Trusted (DSCP
honored) and Untrusted (UDP Port Remarking) Endpoints.
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
New
Custom QoS settings for SIP Devices (CUCM 11.0)
SIP Profile 2
SIP Profile 1
SIP Profile 2
SIP Profile 1
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Desktop and Room System use of UDP Port Ranges
Media and Signaling Port Range Common
1 2 3
Registration
Audio and
Config File Video
Unified 17000-17999
CM SEP[MAC_addr].cnf.xml
SIP Signaling
Media Port Range UDP
17000-17999 TCP 5060
SIP Signaling Port TCP
5060
DSCP Settings
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Jabbers use of UDP Port Ranges
Media and Signaling Port Range Common
Upper Half
1 2 for Video 3
Registration 4000-4999
Lower Half
Config File for Audio
Unified Jabber 3000-3999
CM SEP[MAC_addr].cnf.xml splits media
range in SIP
Media Port Range UDP Jabber Clients
half Signaling
3000-4999
TCP 5060
SIP Signaling Port TCP
5060
DSCP Settings
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
New
Jabbers use of UDP Port Ranges (CUCM 11.0)
Media and Signaling Port Range - Separated
Video
1 2 Range 3
Registration 5000-5999
Audio
Config File Range
Unified Jabber 3000-3999
CM SEP[MAC_addr].cnf.xml uses the
two port SIP
Media Port Range UDP Jabber Clients
ranges for Signaling
3000-3999
media TCP 5060
Video Port Range UDP
5000-5999
SIP Signaling Port TCP
5060
DSCP Settings
3xxx EF
5xxx Jabber classification:
AF42
Audio streams w/ UDP Port
5060 / Range 3xxx (voice-only
CS3
5061 Untrusted and video calls) marked EF
Jabber Video streams w/ UDP Port
Range 5xxx marked AF42
MPLS WAN
WAN
Spark Room Edge
Large Branch
Endpoints Spark Clients
Campus
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Cisco Spark Media Flows
With Hybrid Media Node
Cisco
Collaboration
Hybrid
Media
Cloud
Node
ECP
Internet
MPLS WAN
Spark Room
Endpoints Spark Clients
Branches
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Port Usage Today Spark
Enterprise
Internet
Network
TCP TCP
443
Cisco
TCP/UDP Collaboration
5004 Cloud
Spark Room
Endpoints
TCP TCP
443
TCP/UDP
5004
Spark Clients
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Port Usage Today Spark + Hybrid Media Node
Enterprise
Internet
Network
TCP TCP
443
Cisco
TCP/UDP Collaboration
5004 TCP TCP Cloud
Spark Room 443
Endpoints 33436-
33598
33436- TCP/UDP
TCP TCP 33598 5004
443
Hybrid 33436-
Media Node 33598
TCP/UDP
5004
Spark Clients
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Mapping Identifiable Media and Signaling Streams
1. Configure Endpoints
2. Configure Application / Servers
3. Deploy an Access Layer Policy: Endpoint identification and classification
4. Deploy a WAN Edge Ingress Remarking Policy (Catch All)
5. Deploy a WAN Edge Egress Queuing Policy
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Unity Connection QoS
System settings Advanced Telephony
Sets QoS for audio, video and signaling (SCCP/SIP) separately
Default = Audio (46 / EF), Video (34 / AF41), Signaling (24 / CS3)
NOTE: When doing clustering over the WAN for Unity Connection nodes use the CLI command
utils cuc networking dscp on, sets intra-cluster traffic with a DSCP of 18 / AF21.
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
TelePresence Server QoS (Virtual and HW)
Network QoS
Sets QoS for audio and video separately
Default = Audio (46 / EF) and Video (34 / AF41)
Default Recommended
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
TelePresence VCS and Expressway Cisco Expressway Core
System Quality of Service (C) and Edge (E)
New in
X8.9
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Cisco Meeting Server
Cisco Meeting Server
CMS DSCP is configured through command line (CLI).
Changes require a server restart!
Defaults for all values are DSCP 0
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Mapping Identifiable Media and Signaling Streams
1. Configure Endpoints
2. Configure Application / Servers
3. Deploy an Access Layer Policy: Endpoint identification and classification
4. Deploy a WAN Edge Ingress Remarking Policy (Catch All)
5. Deploy a WAN Edge Egress Queuing Policy
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
WAN Ingress QoS
Marking Policy Ingress Policy 1
WAN
permit udp any range 3000 3999 any
ip access-list extended QOS_PRIORITIZED_VIDEO 5
permit udp any range 17000 17999 any dscp af41
ip access-list extended QOS_JABBER_VIDEO Egress
Policy
6
permit udp any range 4000 4999 any
ip access-list extended QOS_SIGNALING
permit tcp any any range 5060 5061 dscp cs3
! This section configures the policy-map to set DSCP
permit tcp any range 5060 5061 any dscp cs3
4 for Trusted and Untrusted Voice, Video and SIP
Signaling on ingress
! This section configures the classes
class-map match-any VOICE policy-map INGRESS-MARKING
match access-group QOS_VOICE class VOICE
class-map match-any PRIORITIZED-VIDEO set dscp ef
match access-group QOS_PRIORITIZED_VIDEO class PRIORITIZED-VIDEO
class-map match-any JABBER-VIDEO set dscp af41
match access-group QOS_JABBER_VIDEO class JABBER-VIDEO
class-map match-any SIGNALING-SIP set dscp af42
match access-group QOS_SIGNALING 3 class SIGNALING-SIP
set dscp cs3
class class-default
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Mapping Identifiable Media and Signaling Streams
1. Configure Endpoints
2. Configure Application / Servers
3. Deploy an Access Layer Policy: Endpoint identification and classification
4. Deploy a WAN Edge Ingress Remarking Policy (Catch All)
5. Deploy a WAN Edge Egress Queuing Policy
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
Egress Classification and Egress Policy 6
Queuing
WAN
! This section applies the policy-map to the Interface
6.1 Router (config-if)# service-policy output EGRESS-QUEUING
! Attaches service policy to interface
WAN
AF41
BE
Provision Monitor
Identify Classify Schedule Resource Troubleshoot
Control Optimize
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Queuing and Scheduling Agenda
WAN Queuing Considerations Identify Classify Schedule Provision Monitor
IOS Queuing (WFQ, CBWFQ, LLQ)
Congestion Avoidance (WRED)
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Dual video queue
EF
Audio of IP Phone
EF PQ
other queues
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Single video queue
EF
Audio of IP Phone
EF PQ
other queues
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
WAN Queuing Considerations
Summary
AF41 WRED thresholds
(i.e., drop AF41 last) Map audio streams of voice and
video calls (EF) to a priority queue
EF
Audio of
IP Phone
EF Map video streams of video calls
PQ
Audio of Video EF (AF41 and AF42) to a class-based
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
IOS Queuing
Low-Latency Queuing (LLQ)
IOS Interface Buffers
1 Mbps
VoIP policy-map LLQ
Policer
class VOIP
LLQ
priority 1000
Packets
In Packets
Out
CBWFQ
Scheduler
Tx-Ring
FQ CBWFQ
Pre-Sorters
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
random-detect dscp <dscpvalue> <min-threshold> <max-
Congestion Avoidance threshold> [mark-probability-denominator]
Maximum WRED Thresholds for AF41, AF42 and AF43 are set to the tail of the queue in this example
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
random-detect dscp <dscpvalue> <min-threshold> <max-
Congestion Avoidance threshold> [mark-probability-denominator]
Maximum WRED Thresholds for AF41 are set to the tail of the queue
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Congestion Avoidance
WRED Configuration Example: 10 Mbps WAN Interface
100%
Drop Probability
policy-map WAN-EDGE
class VIDEO
~ ~ bandwidth percent 40
random-detect dscp-based
~
random-detect dscp 34 120 256 50
random-detect dscp 36 30 80 20
mark-probability-denominator
5%
WRED AF42
mark 2%
probability AF41
(100/denom)
30 80 120 256
WRED
min threshold Queue Occupancy (packets)
WRED
See Network Infrastructure chapter of SRND 11.0
max threshold
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Congestion Avoidance
How to choose WRED Parameters? Good Starting Points
WAN Link Speed 622 Mbps 155 Mbps 34-44 Mbps
10 Mbps 5 Mbps
WRED Values (OC12) (OC3) (E3/DS3)
mark-probability-
50 50 50 50 50
denominator
min-threshold 40 30 30 30 15
mark-probability-
20 20 20 20 20
denominator
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
WAN Queuing Considerations
Summary
Question:
Why implement a single CBWFQ with WRED instead of multiple separate
CBWFQs?
Answer:
Because unused bandwidth from one class of video can be fully used by another
class of video if both classes are in the same CBFWQ.
For example, Jabber video can use the unused bandwidth from room system
video if they are in the same CBWFQ. If room system video were in a separate
CBWFQ, then unused bandwidth from that queue would be equally shared across
ALL other queues!
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
WAN Queuing and Scheduling
Key Takeaways
Simplified Ingress Remarking Policy
Egress Queuing Policy
Single video queue model is recommended
Use WRED to tune the CBWFQ giving AF42 a higher drop precedence over
AF41
This forces AF42 (Jabber) traffic to reduce its rate during congestion before
AF41 is dropped
Alternative: Use AF41 for ALL video, same WRED values!!!
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
QoS Architecture:
WAN
AF41
BE
Provision Monitor
Identify Classify Schedule Resource Troubleshoot
Control Optimize
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Provisioning and Resource Control Agenda
Identify Classify Schedule Provision Monitor
Bandwidth Provisioning
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
A word about Regions
CUCM Locations work in conjunction with Regions to define the characteristics of a
call flow
Regions define the type of compression or bit rate (8 kbps or G.729, 64 kbps or
G.722/G.711, and so forth) that is used between devices
Location links define the amount of available bandwidth for the path between
devices.
You assign each device in the system to both a region (by means of a device pool)
and a location (by means of a device pool or by direct configuration on the device
itself).
Building region matrix to manage max video bit rate (video resolution) for groups of
devices.
Group devices into max video bit rate categories
The smaller the number of groups the easier to calculate bandwidth requirements
Consider the default region settings to simplify the matrices!
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
A word about Regions
CUCM Locations work in conjunction with Regions to define the characteristics of a
call flow
Regions define the type of compression or bit rate (8 kbps or G.729, 64 kbps or
G.722/G.711, and so forth) that is used between devices
Location links define the amount of available bandwidth for the path between
devices.
You assign each device in the system to both a region (by means of a device pool)
and a location (by means of a device pool or by direct configuration on the device
itself).
Building region matrix to manage max video bit rate (video resolution) for groups of
devices.
Group devices into max video bit rate categories
The smaller the number of groups the easier to calculate bandwidth requirements
Consider the default region settings to simplify the matrices!
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Region Matrices for Max Video Bit Rate
Example: Matrix with 3 groups
Re-use regions configured for audio-only IP phones
Audio codec configuration is shared, so if video calls need to use different audio codecs you
need to configure new regions
Per-site regions may not be needed if a single audio codec is used for both intra-
region and inter-region calls
Consider the default region settings to simplify a more complex matrix
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
Provisioning and Resource Control Agenda
Identify Classify Schedule Provision Monitor
Bandwidth Provisioning
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
Control Plane
NO
E-LCAC
YES
?
QoS
Scheduling + Queuing
IP WAN
Data Plane
LCAC Limitations E-LCAC Solutions
Limited WAN Topology Support: Network Modeling:
Hub and Spoke WAN topology support Convert UCM locations to a model capable
Large gap between RSVP and Locations of supporting real network topologies
CAC
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Network Modeling Locations and Links
Location A Location B
BETWEEN
WITHIN WITHIN
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Audio and Video Admission Control
Considerations
No Admission Control
Over-provision queues
Rely on Video Rate Adaptation and Media Resiliency Capabilities
Audio is much easier to over-provision in pervasive video deployments
QoS is critical and rate adaption is highly beneficial for both managed/unmanaged
networks
Benefits: Simplicity
Admission Control
Strict provisioning (Mapping CAC to Queuing)
Mobility? Device Mobility feature (Adds OPEX)
Benefits:
Manage lower bandwidth links, use Automated Alternate Routing (AAR) for PSTN redirect
Ensure quality audio during the busy hour by avoiding oversubscription and packet loss
Safe when over-provisioning is not an option
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 129
Bandwidth Provisioning and Admission Control
Key Takeaways
CAC audio use the new feature to deduct ALL audio from the voice pool
Simplify the region matrices when possible
Settle on a single audio codec for use within and between sites. This will greatly
reduce the number of required regions.
Determine the need to CAC video and the advantages of not CACing video
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 130
Design and Deployment
Design and Deployment Agenda
Mobile and Remote Access
B2B, C2B and Cloud Interactions
Example Enterprise Deployment
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 132
Mobile and Remote Access
Media Path Summary Media Traversal
C calls A on-premise
QoS-enabled Expressway solution provides firewall
Enterprise Network B
traversal for media
D B calls D off-premise
SIGNALING
Both B and D are ICE-enabled
A MEDIA
STUN binding success
Media flows are optimized between
endpoints
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 133
Mobile and Remote Access
QoS Best Practices
All media coming from remote endpoints is relayed via Expressway C
Recommendations:
Leave DSCP Defaults and Configure DSCP trust
on access switch port connected to Expressway C
(optional) If using CAC, configure Device Mobility
using Expressway Cs IP addresses and assign endpoints to
an Internet location
2017 Cisco and/or its affiliates. All rights reserved. Cisco Public
Design and Deployment Agenda
Mobile and Remote Access
B2B, C2B and Cloud Interactions
Example Enterprise Deployment
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 135
B2B, C2B and Cloud Interactions
WebEx Considerations: CMR Hybrid and CMR Cloud
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 141
Example Enterprise Deployment
CUCM
Multipoint
Video (TS) Central
500 users:
Site
500 Jabber clients
300 IP phones Expressway B2B
30 video endpoints
(room + desktop) Cloud
1 immersive telepresence Services
2 Telepresence Servers
Mobile
Internet Users
MPLS VPN
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 147
Example Enterprise Deployment
Provisioning and Resource Control
Admission Control
Priority queue is over-provisioned
EF Voice or protected by ELCAC for audio
Queue from all users at the site
AF41
Video queue is over-provisioned
for video room and desktop
Video endpoints:
Queue WAN Usage ratios are applied to desktop
AF42 Link video endpoints
Jabber video streams can use any
bandwidth unused by video room
systems
other During congestion, Jabber video
voice-only call
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 149
Example Enterprise Deployment
Provisioning Central Site
Voice queue (PQ): 10 Mbps (L3 bandwidth)
500 users: 125 calls @ G.711/G.722
500 Jabber clients Voice
300 IP phones 10 Mbps
30 video endpoints
Unified CM Location link bandwidth for the
(room + desktop) voice pool:
1 immersive telepresence
2 Telepresence Servers Video WAN
125 * 80kbps = 10,000 kbps
55 Mbps
Link
Video queue: 55 Mbps (L3 bandwidth)
voice 100
10% Mbps Immersive Endpoint: 2 Mbps * 1 call = 2 Mbps
Video endpoints: 1.2 Mbps * 30 calls * 0.2 = 7.2
Default
31 Mbps
Mbps
video
55% TelePresence Servers: 1.5 Mbps * 40 calls * 0.5
= 30 Mbps
55 - (2 + 7.2 + 30) = 15.8 Mbps for Jabber video
11 Jabber Video calls @ 720p or 18 @ 576p
or 50 @ 288p (plus any leftover bandwidth)
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 150
Example Enterprise Deployment
Provisioning Large Branch
Voice queue (PQ): 3.4 Mbps (L3
50 users: bandwidth)
Voice
50 Jabber clients
30 IP phones
3.4 Mbps 42 calls @ G.711/G.722
6 video endpoints
(room + desktop)
Unified Location link bandwidth for the
Video WAN
18.7 Mbps
Link
voice pool:
42 * 80 Kbps = 3.360 Mbps
voice 34
10%
Mbps
Video queue: 18.7 Mbps (L3
video
Default
10.5 Mbps
bandwidth)
55%
Video endpoints: 1.2 Mbps * 6 calls = 7.2 Mbps
18.7 - 7.2 = 11.5 Mbps for Jabber video
6 Jabber Video calls @ 720p or 10 @ 576p
or 36 @ 288p (plus any leftover bandwidth)
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 151
Example Enterprise Deployment
Provisioning Small Branch
Voice queue (PQ): 2 Mbps (L3
15 users: Voice
2 Mbps
bandwidth)
15 Jabber clients
10 IP phones
25 calls @ G.711/G.722
2 video endpoints
(room) Video WAN Unified Location link bandwidth for the
4 Mbps Link
voice pool:
10
Mbps 25 * 80 Kbps = 2 Mbps
voice
20%
video
Default
3.6 Mbps
Video queue: 18.7 Mbps (L3
40%
bandwidth)
Video endpoints: 1.2 Mbps * 2 calls = 2.4 Mbps
4 - 2.4 = 1.6 Mbps for Jabber video
1 Jabber video calls @ 720p or 2 @ 576p or
5 @ 288p (plus any leftover bandwidth)
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 152
Example Enterprise Deployment
Provisioning Micro Branch
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 153
Example Enterprise Deployment
CAC for Video Considerations
In branch sites with lower-speed WAN links over-provisioning the video queue is
not feasible
E-LCAC will be applied also to video streams in these sites
Use site-specific region configuration to limit maximum bandwidth used by video
endpoints and Jabber clients
Device mobility needed if Jabber users roam across sites
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 154
Example Enterprise Deployment
Provisioning Large Branch with Constrained WAN Link (CAC for video)
Voice queue (PQ): 2 Mbps (L3 bandwidth)
50 users:
Voice 25 calls @ G.711/G.722
50 Jabber clients 2 Mbps
30 IP phones
4 video endpoints
Unified Location link bandwidth for the
(room + desktop)
Video WAN voice pool:
4 Mbps Link
25 * 80 Kbps = 2 Mbps
10
voice
Mbps Video queue: 4 Mbps (L3 bandwidth)
20%
Default Possible breakdown:
video 3.6 Mbps
40% 1 call @ 720p (1,220 kbps) + 3 calls @ 576p (810
kbps) = 3,650 kbps
Or 2 calls @ 576p (768 kbps) + 5 calls @ 288p
(320 kbps) = 3136 kbps
CUCM Location link bandwidth for video
calls: 3.2 Mbps (L3 bandwidth)
Leaves room for L2 overhead and burstiness
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 155
Conclusion
Combine QoS tools, media resilience and dynamic adaptation to build a self-
regulating system that makes optimal use of available network resources
Use CAC when and where needed
When managing bandwidth with Media Resilience and Rate Adaptation techniques is
not an option (i.e. extreme contention on WAN bandwidth)
Future:
Leverage SDN approach to simplify QoS deployment and enable dynamic QoS
policies for media from untrusted devices
Further enhancements of media resilience and rate adaptation techniques
BRKCOL-2616 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 156
Complete Your Online Session Evaluation
Please complete your Online
Session Evaluations after each
session
Complete 4 Session Evaluations &
the Overall Conference Evaluation
(available from Thursday) to receive
your Cisco Live T-shirt
All surveys can be completed via
the Cisco Live Mobile App or the
Dont forget: Cisco Live sessions will be available
Communication Stations for viewing on-demand after the event at
CiscoLive.com/Online
BRKCOL-2614 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 157
Continue Your Education
Demos in the Cisco campus
Walk-in Self-Paced Labs
Lunch & Learn
Meet the Engineer 1:1 meetings
Related sessions
BRKCOL-2614 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 158
Collaboration Cisco Education Offerings
Course Description Cisco Certification
CCIE Collaboration Advanced Workshop (CIEC) Gain expert-level skills to integrate, configure, and troubleshoot complex CCIE Collaboration
collaboration networks
Implementing Cisco Collaboration Applications Understand how to implement the full suite of Cisco collaboration CCNP Collaboration
(CAPPS) applications including Jabber, Cisco Unified IM and Presence, and Cisco
Unity Connection.
Implementing Cisco IP Telephony and Video Learn how to implement Cisco Unified Communications Manager, CUBE, CCNP Collaboration
Part 1 (CIPTV1) and audio and videoconferences in a single-site voice and video network.
Implementing Cisco IP Telephony and Video Obtain the skills to implement Cisco Unified Communications Manager in a
Part 2 (CIPTV2) modern, multisite collaboration environment.
Troubleshooting Cisco IP Telephony and Video Troubleshoot complex integrated voice and video infrastructures
(CTCOLLAB)
Implementing Cisco Collaboration Devices Acquire a basic understanding of collaboration technologies like Cisco Call CCNA Collaboration
(CICD) Manager and Cisco Unified Communications Manager.
Implementing Cisco Video Network Devices Learn how to evaluate requirements for video deployments, and implement
(CIVND) Cisco Collaboration endpoints in converged Cisco infrastructures.
BRKCOL-2614 2017 Cisco and/or its affiliates. All rights reserved. Cisco Public 159
Thank You