Professional Documents
Culture Documents
BRKCRS-2501
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Session Abstract
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
QoS Design Strategy Review
Macro Trends in Internet Usage
By 2016…
Global IP traffic will increase 3-fold
• Even after having increased 8-fold in the past 5 years
The number of IP devices will be more than triple the global population
Wireless traffic will exceed wired by 2014 and will be over 60% by 2016
Non-PC traffic (smartphones, tablets etc.) will account for 31% of all traffic
86% of consumer internet traffic will be video
http://www.cisco.com/en/US/solutions/collateral/ns341/ns525/ns537/ns705/ns827/white_paper_c11-481360.pdf
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
QoS Design Strategy Review
Trends in Voice, Video and Data Media Applications
• Internet Streaming
• Internet VoIP
Ad-Hoc App
Unmanaged • YouTube
• MySpace
• Other
• IP Video Conf
• IP Video Conf
• Surveillance
TelePresence
Video Video • Video Telephony
• HD Video Conf
• VoD Streaming
• IP Telephony • IP Telephony
• HD Audio
Voice Voice • Softphone
• Other VoIP
WebEx
• App Sharing • App Sharing
Web • Web/Internet • Web/Internet
Data Data
Email • Messaging • Messaging
Apps •
Apps •
Messaging Email Email
Leveraging Experience
Connectivity Investment Co-Existence Assurance
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
QoS Design Strategy Review
RFC 4594-Based Strategic QoS Recommendations
Application Per-Hop Admission Queuing & Application
Class Behavior Control Dropping Examples
VoIP Telephony EF Required Priority Queue (PQ) Cisco IP Phones (G.711, G.729)
Broadcast Video CS5 Required (Optional) PQ Cisco IP Video Surveillance / Cisco Enterprise TV
Multimedia Conferencing AF4 Required BW Queue + DSCP WRED Cisco Unified Personal Communicator, WebEx
Multimedia Streaming AF3 Recommended BW Queue + DSCP WRED Cisco Digital Media System (VoDs)
Transactional Data AF2 BW Queue + DSCP WRED ERP Apps, CRM Apps, Database Apps
Bulk Data AF1 BW Queue + DSCP WRED E-mail, FTP, Backup Apps, Content Distribution
Scavenger CS1 Min BW Queue (Deferential) YouTube, iTunes, BitTorent, Xbox Live
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
QoS Design Strategy Review
Business Requirements Will Continue to Evolve and Expand over Time
4-Class Model 8-Class Model 12-Class Model
Voice Voice
Realtime Interactive
Interactive Video
Realtime Multimedia Conferencing
Broadcast Video
Streaming Video
Multimedia Streaming
Signaling / Control Call Signaling Call Signaling
Network Control Network Control
Network Management
Critical Data
Critical Data Transactional Data
Bulk Data
Best Effort Best Effort
Best Effort
Time Scavenger Scavenger
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
QoS Design Strategy—At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qosmrn.pdf
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Campus QoS Design:
Considerations & Recommendations
Agenda
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Campus QoS Design Considerations
The Case for Campus QoS
The primary role of QoS in medianet campus networks is not to control latency
or jitter (as it is in the WAN/VPN), but to manage packet loss.
In GE/10GE campus networks, it takes only a few milliseconds of congestion to
cause instantaneous buffer overruns resulting in packet drops.
Rich media applications—particularly HD video applications—are extremely
sensitive to packet drops, to the point where even 1 packet dropped in
10,000 is discernable by the end-user.
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Campus QoS Design Considerations
Implications of Video Compression on Packet Loss Tolerance
1920 lines of Vertical Resolution (Widescreen Aspect Ratio is 16:9) 1080 x 1920 lines =
= 1,492,992,000 bps
1400
Voice Packets 1400
Video Packets
Video Video Video
Frame Frame Frame
1000 1000
Bytes
Audio
600 600
Samples
200 200
140
Gbps Line Rate
Gbps Line Rate: 1 Gbps = 125 MB/s
KBytes Per ms
120
100 or 125 KB/ms
80
60 Total Per-Port Buffer: 5.4 MB
40
20
Total Per-Queue Buffer*: 1.35 MB
0
Total Per-Queue Buffering Capacity: 10.8 ms
330
650
970
130
170
210
250
290
370
410
450
490
530
570
610
690
730
770
810
850
890
930
10
50
90
ms
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Campus QoS Design Considerations
How Long Can Queue-Buffers Accommodate Line-Rate Bursts?
Gbps Linecard Example (WS-X6148A-GE-TX)
10 GE Linecard Example (WS-X6904)
1400
10 Gbps Line Rate
Gbps Line Rate: 10 Gbps = 1.25 GB/s
KBytes Per ms
1200
1000 or 1250 KB/ms
800
600 Total Per-Port Buffer: 90 MB
400
200 Total Per-Queue Buffer*: 11.25 MB
0
130
370
610
170
210
250
290
330
410
450
490
530
570
650
690
730
770
810
850
890
930
970
10
50
90
ms
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Campus QoS Design Considerations
Strategic QoS Design Principles
Always perform QoS in hardware rather than software when a choice exists
Classify and mark applications as close to their sources as technically and
administratively feasible
Police unwanted traffic flows as close to their sources as possible
Enable queuing policies at every node where the potential for congestion exists
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
Campus QoS Design Considerations
Campus QoS Tools and Options
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
Campus QoS Design Considerations
MLS QoS vs. MQC QoS vs. C3PL QoS
Catalyst 2960 / 3650 / 3750 are the last platforms to use Multilayer Switch QoS
(MLS QoS) syntax
• QoS is disabled by default and must be globally enabled with mls qos command
• Once enabled, all ports are set to an untrusted port-state
Catalyst 3850 and 4500 are using IOS MQC QoS (like router platforms)
• QoS is enabled by default
• All ports trust at layer 2 and layer 3 by default
Catalyst 6500 is using Cisco Common Classification Policy Language (C3PL)
QoS
• QoS is enabled by default (Sup2T) – Disabled by default (Sup720)
• All ports trust at layer 2 and layer 3 by default
• C3PL presents queuing policies similar to MQC
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
Campus QoS Design Considerations
Trust States and Operations
CoS = 5 CoS = 0
Untrusted Internal
DSCP = 46 no [mls] qos trust DSCP = 0 DSCP = 0
Internal CoS = 5
DSCP = 40
DSCP = 40
CoS = 5 CoS = 5
Trust DSCP Internal
DSCP = 46 [mls] qos trust dscp DSCP = 46 DSCP = 46
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Campus QoS Design Considerations
Conditional Trust Operation
Cisco TelePresence System (CTS) Endpoint Example
Trust Boundary
3
CTS Primary Codec: Voice + Video CoS 4 & DSCP CS4
Call-Signaling CoS 3 & DSCP CS3
4
CoS-to-DSCP Map:
CoS 5 DSCP EF (46)
CoS 4 DSCP CS4 (32)
CoS 3 DSCP CS3 (24)
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Campus QoS Design Considerations
Trust Boundaries
Trust Boundary
Access-Edge Switches
Secure Endpoint
Example: Software-protected PC
With centrally-administered QoS markings
mls qos trust dscp
Trust Boundary
Unsecure Endpoint
no mls qos trust
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Campus QoS Design Considerations
Per-Port QoS vs. Per-VLAN QoS
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Campus QoS Design Considerations
Per-Port/Per-VLAN QoS
VLAN Interfaces
DVLAN 10
VVLAN 110
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Campus Ingress QoS Models
No Trust (Untrusted)
Trust CoS
Trust DSCP
Trust Device / Conditional Trust
VVLAN Yes
VoIP Classifier Mark EF VoIP Policer (<128 kbps) No
Drop
Yes
Signaling Classifier Mark CS3 Signaling Policer (<32 kbps) No
Drop
Yes
Multimedia Conferencing Classifier
Mark AF41 MM-Conf Policer (<5 Mbps) No
Drop
DVLAN Yes
Signaling Classifier Mark CS3 Signaling Policer (<32 kbps) No
Drop
Yes
Transactional Data Classifier Mark AF21 Trans-Data Policer (<10 Mbps) No
Remark to CS1
Yes
Bulk Data Classifier Mark AF11 Bulk Data Policer (<10 Mbps) No
Remark to CS1
Yes
Scavenger Classifier Mark CS1 Scavenger Policer (<10 Mbps) No
Drop
Yes
Best Effort (Class-Default) Mark DF Best Effort Policer (<10 Mbps) No
Remark to CS1
25
Campus QoS Design Recommendations
Queuing and Dropping Recommendations
Catalyst Queuing is done in hardware and varies by platform/linecard and can be expressed as:
xPyQzT
For Example: 1P3Q8T means: 1 PQ
3 non-priority queues, each with
Best Effort
8 drop-thresholds per queue ≥ 25% Realtime
≤ 33%
Minimum queuing capabilities for medianet is 1P3QyT
Scavenger/Bulk
Realtime (PQ) should be no more than 33% of link ≤ 5%
Guaranteed BW
Best-Effort Queue should be guaranteed at 25% of link
Scavenger/Bulk queue should be minimally provisioned
Enable congestion-avoidance on non-priority queues (WRED, WTD, DBL)
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
Campus QoS Design Recommendations
EtherChannel QoS
EtherChannels are comprised of logical (Port-Channel) interfaces and physical
(port-member) interfaces
Ingress QoS policies are sometimes applied to the logical interfaces
– but not always
Egress QoS policies (such as queuing) are always applied to the physical port-
member interfaces
Platform QoS Policies Applied to the QoS Policies Applied to the
(Logical) Port-Channel (Physical) Port-Member
Interface Interfaces
Catalyst 2960/3560/3750 Ingress & Egress
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Campus QoS Design – Port QoS Roles
Untrusted Endpoint Port QoS:
Untrusted Endpoints • No Trust
• [Optional Ingress Marking and/or Policing]
• 1P3QyT Queuing
Access Distribution Core
WAN/VPN
Block
Conditionally-
Trusted
Endpoints
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Campus QoS Design—At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampusaag.pdf
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Cisco Catalyst 2960/3560/3750
QoS Design
Agenda
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Catalyst 2960/3560/3750 Campus QoS Design
Catalyst 2960/3650/3750 QoS Roles in Campus Networks
No Trust +
Ingress Queuing +
Egress Queuing
Trust DSCP +
Ingress Queuing +
Egress Queuing
Conditional Trust +
Ingress Queuing +
C2960/ Egress Queuing
C3560/
C3750 Classification/Marking +
Access [Optional Policing] +
Switch Distribution Ingress Queuing +
Switches Egress Queuing
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Catalyst 2960/3560/3750 Campus QoS Design
QoS Design Steps
1. Enable QoS
2. Configure Ingress QoS Model(s):
Trust Models
Conditional Trust Model
Service Policy Models
3. Configure Ingress Queuing
4. Configure Egress Queuing
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Catalyst 2960/3560/3750 Campus QoS Design
Enabling QoS and Trust Model Examples
Enabling QoS:
mls qos Shaded commands are global
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Catalyst 2960/3560/3750 Campus QoS Design
Conditional Trust to a Cisco IP Phone Example
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Catalyst 2960/3560/3750 Campus QoS Design
Service Policy Model Example—Marking Policy
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Note: Remarking is performed by configuring a
Catalyst 2960/3560/3750 Campus QoS Design policed-DSCP map with the global configuration
command mls qos map policed-dscp, which
specifies which DSCP values are subject to
Service Policy Model Example—Marking & Policing Policy remarking if out-of-profile and what value these
should be remarked as.
mls qos map policed-dscp 0 10 18 to 8 In this example exceeding data classes are
remarked to Scavenger (CS1/DSCP 8).
[class-maps omitted for brevity]
policy-map MARKING&POLICING
class VVLAN-VOIP … (continued)
set dscp ef class BULK-DATA
police 128k 8000 exceed-action drop set dscp af11
class VVLAN-SIGNALING police 10m 8000 exceed-action policed-dscp-transmit
set dscp cs3 class SCAVENGER
police 32k 8000 exceed-action drop set dscp cs1
class MULTIMEDIA-CONFERENCING police 10m 8000 exceed-action drop
set dscp af41 class DEFAULT
police 5m 8000 exceed-action drop set dscp default
class SIGNALING police 10m 8000 exceed-action policed-dscp-transmit
set dscp cs3 service-policy input MARKING&POLICING
police 32k 8000 exceed-action drop
class TRANSACTIONAL-DATA
set dscp af21
police 10m 8000 exceed-action policed-dscp-transmit
…
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Catalyst 2960/3560/3750 Campus QoS Design
Per-VLAN QoS Design
Interface VLAN:
service-policy input MARKING
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Catalyst 2960/3560/3750 Campus QoS Design
Ingress Queuing Model (1P1Q3T)
Application DSCP 1P1Q3T
Best Effort
BRKCRS-2501
DF © 2013 Cisco and/or its affiliates. All rights reserved.
DF Cisco Public 39
Catalyst 2960/3560/3750 Campus QoS Design
Ingress Queuing Model (1P1Q3T) Example
! This section configures the ingress queues and thresholds
mls qos srr-queue input priority-queue 2 bandwidth 30
mls qos srr-queue input bandwidth 70 30
mls qos srr-queue input buffers 90 10
mls qos srr-queue input threshold 1 80 90
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Catalyst 2960/3560/3750 Campus QoS Design
Egress Queuing Model (1P3Q3T)
Application DSCP 1P3Q3T
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Catalyst 2960/3560/3750 Campus QoS Design
Egress Queuing Model (1P3Q3T) Example–Part 2 of 2
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Catalyst 2960/3560/3750 Campus QoS Design
EtherChannel QoS Design
All QoS policies are configured on the physical port-member interfaces only
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Catalyst 2960/3560/3750 QoS Design—At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat3xxxaag.pdf
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Cisco Catalyst 3850 (Wired)
QoS Design
Agenda
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public
Catalyst 3850 Campus QoS Design
Catalyst 3850 QoS Roles in Campus Networks
No Trust +
Ingress Queuing +
Egress Queuing
Trust DSCP +
Ingress Queuing +
Egress Queuing
Conditional Trust +
Ingress Queuing +
C3850 Egress Queuing
Access
Switch Classification/Marking +
[Optional Policing] +
Distribution Ingress Queuing +
Switches Egress Queuing
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Catalyst 3850 Campus QoS Design
QoS Design Steps
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Catalyst 3850 Campus QoS Design
Conditional Trust Models Cisco IP Phone Conditional Trust Example
! This section defines the class-maps
Conditional-Trust Models: ! to match Voice and Signaling
trust device cisco-phone [or] class-map match-all VOICE
trust device cts [or] match cos 5
trust device ip-camera [or] class-map match-all SIGNALING
trust device media-player match cos 3
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
http://www.cisco.com/en/US/docs/switches/lan/catalyst3850/software/release/3.2_0_se/qos/configuration_guide/b_mqc_qos_32se_3850_chapter_010.html#reference_BC97692D1F1
E4F8A8A335878B5F612D0
policy-map VLAN-POLICERS
class VVLAN
police 192k burst ?
conform-action transmit
exceed-action drop
class DVLAN
police 50m
conform-action transmit
exceed-action drop
service-policy input VLAN-POLICERS
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Catalyst 3850 Campus QoS Design
Egress Queuing (1P7Q3T with WTD) Model
Application DSCP 1P7Q3T WTD =
Weighted
Network Control (CS7) EF Tail
CS5 Drop
Internetwork Control CS6 PQ
CS4
VoIP EF
CS7 & CS6 Q7
Broadcast Video CS5
CS3 & CS2 (BW 10%)
Multimedia Conferencing AF4
Q6
AF4
Realtime Interactive CS4 (BW 10% + WTD)
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Catalyst 3850 Campus QoS Design
Egress Queuing (1P7Q3T) Example – Part 2 (Policy-Map)
! This section configures policy-map [continued]
policy-map 1P7Q3T class TRANSACTIONAL-DATA-QUEUE
class PRIORITY-QUEUE bandwidth percent 10
priority level 1 queue-limit dscp af23 percent 80
(video = priority l2) queue-limit dscp af22 percent 90
class CONTROL-MGMT-QUEUE queue-limit dscp af21 percent 100
bandwidth percent 10 class BULK-DATA-QUEUE
class MULTIMEDIA-CONFERENCING-QUEUE bandwidth percent 4
bandwidth percent 10 queue-limit dscp af13 percent 80
queue-limit dscp af43 percent 80 queue-limit dscp af12 percent 90
queue-limit dscp af42 percent 90 queue-limit dscp af11 percent 100
queue-limit dscp af41 percent 100 class SCAVENGER-QUEUE
class MULTIMEDIA-STREAMING-QUEUE bandwidth percent 1
bandwidth percent 10 class class-default
queue-limit dscp af33 percent 80 bandwidth remaining percent 25
queue-limit dscp af32 percent 90
queue-limit dscp af31 percent 100 ! This section attaches the policy to the int(s)
… service-policy output 1P7Q3T
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Catalyst 3850 Campus QoS Design
Hierarchical Policies: Queuing within Shaped Rate Example
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Catalyst 3850 Campus QoS Design
EtherChannel QoS Design
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Cisco Catalyst 4500 (Supervisor 7-E) and 4500-X
QoS Design
Agenda
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Catalyst 4500 Campus QoS Design
Catalyst 4500 QoS Role in Campus Networks
Trust DSCP +
Egress Queuing
Access
Switches Catalyst 4500
Core Switches
Distribution
Switches
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Catalyst 4500 Campus QoS Design
QoS Design Steps
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Catalyst 4500 Campus QoS Design
Conditional Trust Model – Cisco IP Phone Example
! This section defines the class-maps to match Voice and Signaling
class-map match-all VOICE
match cos 5
class-map match-all SIGNALING
match cos 3
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Catalyst 4500 Campus QoS Design
Service Policy Model Example – Marking Policy
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Catalyst 4500 Campus QoS Design
Service Policy Model Example – Marking & Policing Policy
policy-map MARKING&POLICING …[continued]
class VVLAN-VOIP class TRANSACTIONAL-DATA
set dscp ef set dscp af21
police 128k bc 8000 police 10m bc 8000
conform-action transmit conform-action transmit
exceed-action drop exceed-action set-dscp-transmit af22
class VVLAN-SIGNALING class BULK-DATA
set dscp cs3 set dscp af11
police 32k bc 8000 police 10m bc 8000
conform-action transmit conform-action transmit
exceed-action drop exceed-action set-dscp-transmit af12
class MULTIMEDIA-CONFERENCING class SCAVENGER
set dscp af41 set dscp cs1
police 5m bc 8000 police 10m bc 8000
conform-action transmit conform-action transmit
exceed-action drop exceed-action drop
class SIGNALING class class-default
set dscp cs3 set dscp default
police 32k bc 8000 police 10m bc 8000
conform-action transmit conform-action transmit
exceed-action drop exceed-action set-dscp-transmit cs1
[continued]
service-policy input MARKING&POLICING
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Catalyst 4500 Campus QoS Design
Service Policy Model Example – Medianet Metadata (NBAR2) Classification
metadata flow
class-map match-any REALTIME
match application cisco-phone
match application rtp
class-map match-all REALTIME-INTERACTIVE
match application telepresence-media
class-map match-any MULTIMEDIA-CONFERENCING
match application webex-video
match application webex-voice
match application jabber
class-map match-any SIGNALING
match application h323
match application sip
match application telepresence-control
match application rtsp
class-map match-any TRANSACTIONAL-DATA
match application telepresence-data
match application webex-meeting
match application citrix
match application vmware-view
match application wyze-zero-client
match application xmpp-client
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Catalyst 4500 Campus QoS Design
Service Policy Model Example – Per-Port/Per-VLAN QoS (IP Phone Example)
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Catalyst 4500 Campus QoS Design
Egress Queuing (1P7Q1T+DBL) Model
Application DSCP 1P7Q1T (+DBL)
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
Catalyst 4500 Campus QoS Design—At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat4500aag.html
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Cisco Catalyst 6500 (Supervisor-2T)
QoS Design
Agenda
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Cisco Catalyst 6500 Campus QoS Design
Catalyst 6500 Role in Campus Networks
Catalyst 6500
Core/Distribution
Switches
Trust DSCP
+ Ingress Queuing
+ Egress Queuing
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Cisco Catalyst 6500 Campus QoS Design
QoS Design Steps—Cisco Catalyst 6500 Supervisor 2T
1. Configure Ingress Queuing Catalyst 6500 IOS C3PL will trust DSCP by default
(therefore no explicit policy is required for DSCP trust)
2. Configure Egress Queuing
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Cisco Catalyst 6500 Campus QoS Design
8Q4T (Ingress) & 1P7Q4T (Egress) Queuing Model Examples
Application-Class DSCP 8Q4T/1P7Q4T
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Cisco Catalyst 6500 Campus QoS Design
Queuing Policies: Part 2 of 3 (8Q4T Ingress Queuing Policy-Map)
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Cisco Catalyst 6500 QoS Design—At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat6500sup2taag.html
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Summary & References
Agenda
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Summary
Key Takeaways
The explosion of rich media applications requires network architects to
reevaluate current QoS designs
RFC 4594 provides an industry best-practice QoS strategy
Campus QoS is needed primarily to control packet drops
– Some rich media applications require fewer than 1 drop per 10,000 packets
– QoS architects need to know how trust-states, Port-based QoS, VLAN-based QoS and
EtherChannel QoS can impact designs
– Hardware queuing (both ingress and egress) vary by platform & linecard
Cisco provides many At-A-Glance guides to get up and running quickly
– As well as comprehensive in-depth design chapters for additional design reference
AutoQoS for Medianet Feature is available on Catalyst 2960/3560/3750 and
Catalyst 3850 and 4500
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Campus QoS Design 4.0—At-A-Glance
Quick Start Guides
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Campus QoS Design 4.0—In-Depth
Comprehensive Design Chapters
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Additional Sessions
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
Recommended Reading
Expected Release Date: Nov 2013
Comprehensive QoS design
guidance for PINs and platforms:
• Campus Catalyst 3750/4500/6500
• WLAN WLC 5508 / Catalyst 3850 NGWC
• Data Center Nexus 1000V/2000/5500/7000
• WAN & Branch Cisco ASR 1000 / ISR G2
• MPLS VPN Cisco ASR 9000 / CRS-3
• IPSec VPNs Cisco ISR G2
• ISBN: 1-58714-369-0
Ken Briley
http://www.amazon.com/End---End-QoS-Network-Design/dp/1587143690/
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Complete Your Online Session Evaluation
Give us your feedback and
you could win fabulous prizes.
Winners announced daily.
Receive 20 Cisco Daily Challenge
points for each session evaluation
you complete.
Complete your session evaluation
online now through either the mobile
app or internet kiosk stations.
Maximize your Cisco Live experience with your
free Cisco Live 365 account. Download session
PDFs, view sessions on-demand and participate in
live activities throughout the year. Click the Enter
Cisco Live 365 button in your Cisco Live portal to
log in.
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Agenda
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
APPENDIX
91
AutoQoS for Medianet
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 Models
auto qos voip [ cisco-phone | cisco-softphone | trust ]
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 – auto qos trust { cos | dscp }
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 – auto qos video [ cts | ip-camera ]
C3750(config-if)# auto qos video cts C3750(config-if)# auto qos video ip-camera
interface GigabitEthernet1/0/1 interface GigabitEthernet1/0/1
description L2-ACCESS-PORT-TO-CTS description L2-ACCESS-PORT-TO-IPVS-CAMERA
switchport access vlan 10 switchport access vlan 10
switchport voice vlan 110 switchport voice vlan 110
… …
mls qos trust device cts mls qos trust device ip-camera
! AutoQoS has configured conditional-trust ! AutoQoS has configured a conditional-trust
! for Cisco TelePresence Systems ! for Cisco for IPVS cameras
mls qos trust cos mls qos trust dscp
! AutoQoS has configured CoS-trust ! AutoQoS has configured DSCP-trust
! to be dynamically extended ! to be dynamically extended
auto qos video cts auto qos video ip-camera
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 – auto qos classify
C3750(config-if)# auto qos classify
policy-map AUTOQOS-SRND4-CLASSIFY-POLICY
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
class AUTOQOS_DEFAULT_CLASS
set dscp default
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 – auto qos classify police
C3750(config-if)# auto qos classify police
Note: Class-maps and IP ACLs
policy-map AUTOQOS-SRND4-CLASSIFY-POLICE-POLICY omitted for brevity
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
police 5000000 8000 exceed-action drop
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
police 10000000 8000 exceed-action drop
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
police 32000 8000 exceed-action drop
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
AutoQoS VoIP (SRND4) Models
auto qos voip trust
98
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 – auto qos voip cisco-phone
C3750(config-if)# auto qos voip cisco-phone
Note: Class-maps
policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY omitted for brevity
class AUTOQOS_VOIP_DATA_CLASS
set dscp ef
police 128000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 – auto qos voip cisco-softphone
policy-map AUTOQOS-SRND4-SOFTPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
Note: Class-maps and IP ACLs
set dscp ef omitted for brevity
police 128000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
police 5000000 8000 exceed-action drop
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
police 10000000 8000 exceed-action drop
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
police 32000 8000 exceed-action drop
class AUTOQOS_DEFAULT_CLASS
set dscp default
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Cisco Catalyst 2960/3560/3750 AutoQoS
Ingress Queuing Model (1P1Q3T)
Application DSCP 1P1Q3T
Best Effort DF DF
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Cisco Catalyst 2960/3560/3750 AutoQoS
Ingress Queuing Model (1P1Q3T)
! This section configures the ingress queues and thresholds
mls qos srr-queue input priority-queue 2 bandwidth 30
mls qos srr-queue input bandwidth 70 30
mls qos srr-queue input buffers 90 10
mls qos srr-queue input threshold 1 80 90
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Cisco Catalyst 2960/3560/3750 AutoQoS
Egress Queuing Model (1P3Q3T)
1P3Q3T
Application DSCP
CS1 Queue 4 Q4T2
Network Control (CS7)
AF1 (5%) Q4T1
Internetwork Control CS6
Default Queue
VoIP EF DF
Queue 3 (35%)
Broadcast Video CS5
CS7 Q2T3
Multimedia Conferencing AF4
CS6
Realtime Interactive CS4
CS3 Q2T2
Multimedia Streaming AF3 Queue 2
Signaling CS3 AF4 (30%) Q2T1
AF3
Transactional Data AF2
AF2
Network Management CS2
CS2
Bulk Data AF1
EF
Scavenger CS1 Q1
CS5
Priority Queue
CS4
Best Effort
BRKCRS-2501 DF© 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Cisco Catalyst 2960/3560/3750 AutoQoS
Egress Queuing Model (1P3Q3T) Example–Part 1 of 2
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Cisco Catalyst 2960/3560/3750 AutoQoS
Egress Queuing Model (1P3Q3T) Example–Part 2 of 2
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
AutoQoS for Medianet—At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/autoqosmediacampus.pdf
BRKCRS-2501 © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 106