You are on page 1of 95

2012 Cisco and/or its affiliates. All rights reserved.

BRKCRS-2501 Cisco Public


Cisco Catalyst and Nexus
Campus QoS Design
BRKCRS-2501
1
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
QoS Design Strategy Review
! By 2015
! Global IP traffic will increase 8-fold
! The number of IP devices will be more than twice the global population
! Wireless traffic will exceed wired
! Non-PC traffic (smartphones, tablets etc.) will account for 15% of all traffic
! 90% of consumer internet traffic will be video
Trends In Internet Usage
http://www.cisco.com/en/US/solutions/collateral/ns341/ns525/ns537/ns705/ns827/
white_paper_c11-481360_ns827_Networking_Solutions_White_Paper.html

2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
QoS Design Strategy
Trends in Voice, Video and Data Media Applications
Data
Connecnv|ty
Web
Lmall
Messaglng
Convergence
Leverag|ng
Investment
uaLa
Apps
- App Shar|ng
- Web]Internet
- Messag|ng
- Lma||
volce
- I 1e|ephony
vldeo
- I V|deo Conf
Med|a Lxp|os|on
Co-Lx|stence
uaLa
Apps
- App Shar|ng
- Web]Internet
- Messag|ng
- Lma||
volce
- I 1e|ephony
- nD Aud|o
- Sohphone
- Cther VoI
vldeo
- I V|deo Conf
- Surve|||ance
- V|deo 1e|ephony
- nD V|deo Conf
- VoD Stream|ng
Unmanaged
- Internet Stream|ng
- Internet VoI
- ou1ube
- MySpace
- Cther
Co||aboranve Med|a
Lxper|ence
Assurance
A
d
-
n
o
c

A
p
p

1
e
|
e

r
e
s
e
n
c
e

W
e
b
L
x

2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
QoS Design Strategy Review
RFC 4594-Based Strategic QoS Recommendations
Application
Class
Per-Hop
Behavior
Admission
Control
Queuing &
Dropping
Application
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
Realtime Interactive CS4 Required (Optional) PQ Cisco TelePresence
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)
Network Control CS6 BW Queue EIGRP, OSPF, BGP, HSRP, IKE
Call-Signaling CS3 BW Queue SCCP, SIP, H.323
Ops / Admin / Mgmt (OAM) CS2 BW Queue SNMP, SSH, Syslog
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
Best Effort DF Default Queue + RED Default Class
Scavenger CS1 Min BW Queue (Deferential) YouTube, iTunes, BitTorent, Xbox Live
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
QoS Design Strategy Review
Business Requirements Will Evolve and Expand over Time
1|me
Cr|nca| Data
kea|nme
4-C|ass Mode|
8est Lort
S|gna||ng ] Contro| Ca|| S|gna||ng
Cr|nca| Data
Interacnve V|deo
Vo|ce
8-C|ass Mode|
Scavenger
8est Lort
Stream|ng V|deo
Network Contro|
Network Management
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
Vo|ce
12-C|ass Mode|
8u|k Data
Scavenger
8est Lort
Mu|nmed|a Stream|ng
Network Contro|
8roadcast V|deo
Ca|| S|gna||ng
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qosmrn.pdf
QoS Design Strategy At-A-Glance

2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations &
Recommendations
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations
! 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.
! Medianet applicationsparticularly HD video applicationsare extremely
sensitive to packet drops, to the point where even 1 packet dropped in
10,000 is discernable by the end-user.
The Case for Campus QoS
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
1
0
8
0

l
i
n
e
s

o
f

H
o
r
i
z
o
n
t
a
l

R
e
s
o
l
u
t
i
o
n

1920 lines of Vertical Resolution (Widescreen Aspect Ratio is 16:9)
1080 x 1920 lines =

2,073,600 pixels per frame

x 3 colors per pixel

x 1 Byte (8 bits) per color

x 30 frames per second

= 1,492,992,000 bps

or 1.5 Gbps Uncompressed


Cisco H.264-based HD Codecs transmit 3-5 Mbps per 1080p image
which represents over 99.67% compression (300:1)
Therefore packet loss is proportionally magnified in overall video quality
Users can notice a single packet lost in 10,000Making HD Video
One Hundred Times More Sensitive to Packet Loss than VoIP!
Campus QoS Design Considerations
Implications of Video Compression on Packet Loss Tolerance
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
20 msec
Vo|ce ackets
8ytes
200
600
1000
Aud|o
Samp|es
1400
1|me
200
600
1000
1400
33 msec
V|deo ackets
V|deo
Irame
V|deo
Irame
V|deo
Irame
Campus QoS Design Overview
VoIP vs. HD VideoAt the Packet Level
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
0
20
40
60
80
100
120
140
1
0

3
0

5
0

7
0

9
0

1
1
0

1
3
0

1
5
0

1
7
0

1
9
0

2
1
0

2
3
0

2
5
0

2
7
0

2
9
0

3
1
0

3
3
0

3
5
0

3
7
0

3
9
0

4
1
0

4
3
0

4
5
0

4
7
0

4
9
0

5
1
0

5
3
0

5
5
0

5
7
0

5
9
0

6
1
0

6
3
0

6
5
0

6
7
0

6
9
0

7
1
0

7
3
0

7
5
0

7
7
0

7
9
0

8
1
0

8
3
0

8
5
0

8
7
0

8
9
0

9
1
0

9
3
0

9
5
0

9
7
0

9
9
0

8
y
L
e
s

e
r

m
s

Gbps L|ne kate
Campus QoS Design Considerations
How Long Can Queue-Buffers Accommodate Line-Rate Bursts?
Gbps Linecard Example (WS-X6148A-GE-TX)
Cbps Llne 8aLe: 1 Cbps = 123 M8/s
or 123 k8/ms

1oLal er-orL 8uer: 3.4 M8

1oLal er-Cueue 8uer*: 1.33 M8

1oLal er-Cueue 8uerlng CapaclLy: 10.8 ms
*Assumlng (4) equal-slzed queues
ms
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
8
y
L
e
s

e
r

m
s

10 Gbps L|ne kate
Campus QoS Design Considerations
How Long Can Queue-Buffers Accommodate Line-Rate Bursts?
10 Gbps Linecard Example (WS=X6716-10GE)
Cbps Llne 8aLe: 10 Cbps = 1.23 C8/s
or 1.23 M8/ms

1oLal er-orL 8uer: 90 M8

1oLal er-Cueue 8uer*: 11.23 M8

1oLal er-Cueue 8uerlng CapaclLy: 9.0 ms
*Assumlng (8) equal-slzed queues
0
200
400
600
800
1000
1200
1400
1
0

3
0

5
0

7
0

9
0

1
1
0

1
3
0

1
5
0

1
7
0

1
9
0

2
1
0

2
3
0

2
5
0

2
7
0

2
9
0

3
1
0

3
3
0

3
5
0

3
7
0

3
9
0

4
1
0

4
3
0

4
5
0

4
7
0

4
9
0

5
1
0

5
3
0

5
5
0

5
7
0

5
9
0

6
1
0

6
3
0

6
5
0

6
7
0

6
9
0

7
1
0

7
3
0

7
5
0

7
7
0

7
9
0

8
1
0

8
3
0

8
5
0

8
7
0

8
9
0

9
1
0

9
3
0

9
5
0

9
7
0

9
9
0

ms
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations
! 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
Strategic QoS Design Principles
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations
! Global Default QoS Setting
! Trust States and Conditional Trust
! Per-Port QoS, Per-VLAN QoS, Per-Port/Per-VLAN QoS
! Ingress QoS Models
! Egress QoS Models
! EtherChannel QoS
! QoS Roles in a Medianet Campus
Campus QoS Tools and Options
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations

Trust States and Operations
CoS = S
DSC = 46
CoS = S
DSC = 46
Trust CoS
[mls] qos trust
cos
CoS = S
DSC = 46
Trust DSCP
[mls] qos trust dscp
Untrusted
no [mls] qos trust
Interna|
DSC = 0
ke-wr|te
CoS = 0
DSC = 0
Interna|
DSC = 40
ke-wr|te
CoS = S
DSC = 40
Interna|
DSC = 46
ke-wr|te
CoS = S
DSC = 46
CoS-to-DSC Mapp|ng 1ab|e
CoS 0 ! 0 CoS 4 ! 32
CoS 1 ! 8 CoS S ! 40
CoS 2 ! 16 CoS 6 ! 48
CoS 3 ! 24 CoS 7 ! S6
mls qos map cos-dscp 0 8 16 24 32 40 48 56
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations
Conditional Trust Operation
Cisco TelePresence Example
3
1e|eresence r|mary Codec: Vo|ce + V|deo " CoS 4 & DSC CS4
Ca||-S|gna||ng " CoS 3 & DSC CS3
CoS-to-DSC Map:
CoS S " DSC LI (46)
CoS 4 " DSC CS4 (32)
CoS 3 " DSC CS3 (24)
4
1rust 8oundary
1rust |s Dynam|ca||y Lxtended to C|sco 797SG I hone
Successfu| "Cond|non" Met (|.e. CD negonanon successfu|)
1
C|sco 797SG: Vo|ce " CoS S & DSC LI
Ca||-S|gna||ng " CoS 3 & DSC CS3
2
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations
Trust Boundaries
Access-Ldge Sw|tches
Cond|nona||y 1rusted Lndpo|nts
Lxamp|e: I hone + C
mls qos trust device cisco-phone
Secure Lndpo|nt
Lxamp|e: Sohware-protected C
W|th centra||y-adm|n|stered oS mark|ngs
mls qos trust dscp
Unsecure Lndpo|nt
no mls qos trust
1
r
u
s
t

8
o
u
n
d
a
r
y

1
r
u
s
t

8
o
u
n
d
a
r
y

2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations
Per-Port QoS vs. Per-VLAN QoS
o||cy map |s app||ed to the
phys|ca| sw|tch port
VLAN 10 VLAN 20
hys|ca| orts
VLAN Interfaces
o||cy map |s app||ed to the |og|ca|
VLAN |nterface
er-ort oS
er-VLAN oS
VLAN 10 VLAN 20
hys|ca| orts
VLAN Interfaces
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
DVLAN 10
DVLAN po||cy map |s app||ed
to the Data VLAN (on|y)
on a g|ven trunked sw|tch port
VVLAN 110
1runked hys|ca| orts
VLAN Interfaces
VVLAN po||cy map |s app||ed
to the Vo|ce VLAN (on|y)
on a g|ven trunked sw|tch port
Campus QoS Design Considerations
Per-Port/Per-VLAN QoS
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Recommendations
Ingress QoS Models
Trust CoS
Trust Device / Conditional Trust
No Trust (Untrusted)
I
n
g
r
e
s
s

Q
u
e
u
i
n
g

P
o
l
i
c
i
e
s

(
|
f

r
e
q
u
|
r
e
d

a
n
d

s
u
p
p
o
r
t
e
d
)
(Cpnona|) o||c|ng o||c|es
VoI o||cer (<128 kbps)
S|gna||ng o||cer (<32 kbps)
MM-Conf o||cer (<S Mbps)
S|gna||ng o||cer (<32 kbps)
1rans-Data o||cer (<10 Mbps)
8u|k Data o||cer (<10 Mbps)
8est Lort o||cer (<10 Mbps)
Scavenger o||cer (<10 Mbps)
Drop
Drop
kemark to CS1
kemark to CS1
kemark to CS1
Drop
Drop
Drop
?es
no
?es
no
?es
no
?es
no
?es
no
?es
no
?es
no
?es
no
Mark|ng o||c|es
VoI C|ass|her
Signaling Classifier
Multimedia Conferencing Classifier
Signaling Classifier
1ransacnona| Data C|ass|her
8u|k Data C|ass|her
Scavenger Classifier
Best Effort (Class-Default)
Mark LI
Mark CS3
Mark AI41
Mark CS3
Mark AI21
Mark AI11
Mark CS1
Mark DI
DVLAN
VVLAN

Trust DSCP
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! Catalyst Queuing is done in hardware and varies by platform/linecard and is
expressed as: 1PxQyT
Example: 1P3Q8T means: 1 PQ
3 non-priority queues, each with
8 drop-thresholds per queue
! Minimum queuing capabilities for medianet is 1P3QyT
! Realtime (PQ) should be less than 33% of link
! 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)
Campus QoS Design Recommendations
Queuing and Dropping Recommendations
kea|nme
s 33
Guaranteed 8W
Scavenger]8u|k
s S
8est Lort
z 2S
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Recommendations
EtherChannel QoS
! EtherChannels are comprised of logical (Port-Channel) interfaces and
physical (port-member) interfaces
! Sometimes EtherChannel ingress QoS policies are applied to the
logical interfaces (but not always)
! Egress policies (such as queuing) are always applied to the physical
port-member interfaces
Platform QoS Policies Applied to the
(Logical) Port-Channel
Interface
QoS Policies Applied to the
(Physical) Port-Member
Interfaces
Catalyst 2960/3560/3750 Ingress & Egress
Catalyst 4500 Ingress Egress
Catalyst 6500 Ingress Egress
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Recommendations
Campus Port QoS Roles
Core D|str|bunon Access
Untrusted Lndpo|nts
1rusted
Lndpo|nts
Cond|nona||y-
1rusted
Lndpo|nts
Sw|tch-to-Sw|tch]kouter ort oS
1rust DSC
13"1 or 17"1 ueu|ng
WAN]VN
8|ock
Untrusted Lndpo|nt ort oS:
No 1rust
[Cpnona| Ingress Mark|ng and]or o||c|ng]
13"1 ueu|ng
1rusted Lndpo|nt
ort oS:
1rust-DSC
[Cpnona| Ingress
Mark|ng and]or
o||c|ng]
13"1 ueu|ng
Cond|nona||y-1rusted Lndpo|nt ort oS
Cond|nona|-1rust w|th 1rust-CoS
[Cpnona| Ingress Mark|ng and]or o||c|ng]
13"1 ueu|ng
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampusaag.pdf
Campus QoS Design Considerations At-A-Glance
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750
Campus QoS Design
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 2960/3560/3750 Campus QoS Design
Catalyst 2960/3650/3750 Role in Campus Networks
Condluonal 1rusL

1rusL uSC
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 2960/3560/3750 Campus QoS Design
1. Enable QoS
2. Configure Ingress QoS Model(s):
" Trust DSCP Model
" Conditional Trust Model
" Service Policy Models
3. Configure Ingress Queuing
4. Configure Egress Queuing
QoS Design Steps
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
mls qos trust device cisco-phone [or]
mls qos trust device cts [or]
mls qos trust device ip-camera [or]
mls qos trust device media-player
Catalyst 2960/3560/3750 Campus QoS Design
Enabling QoS and Trust Model Examples
mls qos
Lnabllng CoS:
mls qos trust dscp
1rusL-uSC Model Lxample:
Condluonal-1rusL Model Lxample:
Shaded commands are global
Highlighted commands are interface specific
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
[class-maps omitted for brevity]
policy-map MARKING-POLICY
class VOIP
set dscp ef
class MULTIMEDIA-CONFERENCING
set dscp af41
class SIGNALING
set dscp cs3
class TRANSACTIONAL-DATA
set dscp af21
class BULK-DATA
set dscp af11
class SCAVENGER
set dscp cs1
class DEFAULT
set dscp default
Catalyst 2960/3560/3750 Campus QoS Design
Service Policy Model Example
Shaded commands are global
Highlighted commands are interface specific
service-policy input MARKING-POLICY
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 2960/3560/3750 Campus QoS Design
Ingress Queuing Model (1P1Q3T)
1131
2
r|or|ty ueue
CS6
CS7
LI
CS4
ueue 1
Non-r|or|ty
Defau|t ueue
Network Management
S|gna||ng
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
8u|k Data
AI2
CS3
CS4
AI4
CS2
AI1
Scavenger CS1
8est Lort DI
Mu|nmed|a Stream|ng AI3
8roadcast V|deo
VoI
App||canon
CSS
LI
Internetwork Contro| CS6
DSC
Network Contro| (CS7)
CSS
113


112

111
CS3
CS2
CS6
CS7
DI
AI1
CS1
AI4
AI3
AI2
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! 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

! This section configures the ingress CoS-to-Queue mappings
mls qos srr-queue input cos-map queue 1 threshold 1 0 1 2
mls qos srr-queue input cos-map queue 1 threshold 2 3
mls qos srr-queue input cos-map queue 1 threshold 3 6 7
mls qos srr-queue input cos-map queue 2 threshold 1 4 5

! This section configures ingress DSCP-to-Queue Mappings
mls qos srr-queue input dscp-map queue 1 threshold 1 0 8 10 12 14
mls qos srr-queue input dscp-map queue 1 threshold 1 16 18 20 22
mls qos srr-queue input dscp-map queue 1 threshold 1 26 28 30 34 36 38
mls qos srr-queue input dscp-map queue 1 threshold 2 24
mls qos srr-queue input dscp-map queue 1 threshold 3 48 56
mls qos srr-queue input dscp-map queue 2 threshold 3 32 40 46
Catalyst 2960/3560/3750 Campus QoS Design
Ingress Queuing Model (1P1Q3T) Example
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 2960/3560/3750 Campus QoS Design
Egress Queuing Model (1P3Q3T)
Network Management
S|gna||ng
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
8u|k Data
AI2
CS3
CS4
AI4
CS2
AI1
Scavenger CS1
8est Lort DI
Mu|nmed|a Stream|ng AI3
8roadcast V|deo
VoI
App||canon
CSS
LI
Internetwork Contro| CS6
DSC
Network Contro| (CS7)
1
r|or|ty ueue
ueue 4
(S)
ueue 2
(30)
Defau|t ueue
ueue 3 (3S)
213
212
412
411
211
CS6
CS7
LI
CS4
CS3
CS2
DI
CS1
AI1
AI4
AI3
AI2
1331
CSS
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures egress buffers and thresholds
mls qos queue-set output 1 buffers 15 30 35 20
mls qos queue-set output 1 threshold 1 100 100 100 100
mls qos queue-set output 1 threshold 2 80 90 100 400
mls qos queue-set output 1 threshold 3 100 100 100 400
mls qos queue-set output 1 threshold 4 60 100 100 400

! This section configures egress CoS-to-Queue mappings
mls qos srr-queue output cos-map queue 1 threshold 3 4 5
mls qos srr-queue output cos-map queue 2 threshold 1 2
mls qos srr-queue output cos-map queue 2 threshold 2 3
mls qos srr-queue output cos-map queue 2 threshold 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 0
mls qos srr-queue output cos-map queue 4 threshold 3 1

Catalyst 2960/3560/3750 Campus QoS Design
Egress Queuing Model (1P3Q3T) ExamplePart 1 of 2
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures egress DSCP-to-Queue mappings
mls qos srr-queue output dscp-map queue 1 threshold 3 32 40 46
mls qos srr-queue output dscp-map queue 2 threshold 1 16 18 20 22
mls qos srr-queue output dscp-map queue 2 threshold 1 26 28 30 34 36 38
mls qos srr-queue output dscp-map queue 2 threshold 2 24
mls qos srr-queue output dscp-map queue 2 threshold 3 48 56
mls qos srr-queue output dscp-map queue 3 threshold 3 0
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
! This section configures interface egress queuing parameters
queue-set 1
srr-queue bandwidth share 1 30 35 5
priority-queue out
Shaded commands are global
Highlighted commands are interface specific
Catalyst 2960/3560/3750 Campus QoS Design
Egress Queuing Model (1P3Q3T) ExamplePart 2 of 2
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! All QoS policies are configured on the physical port-member
interfaces only
Catalyst 2960/3560/3750 Campus QoS Design
EtherChannel QoS Design
Platform QoS Policies Applied to the
(Logical) Port-Channel
Interface
QoS Policies Applied to the
(Physical) Port-Member
Interfaces
Catalyst 2960/3560/3750 Ingress & Egress
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat3xxxaag.pdf
Catalyst 2960/3560/3750 QoS Design At-A-Glance
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 4500Supervisor 7-E
Campus QoS Design
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 4500 Campus QoS Design
Catalyst 4500 Role in Campus Networks
Condluonal 1rusL
1rusL uSC
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 4500 Campus QoS Design
1. Configure Ingress QoS Model(s):
" Trust DSCP Model
" Conditional Trust Model
" Service Policy Models
2. Configure Egress Queuing
QoS Design Steps
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section applies conditional trust and the policy-map to the int(s)
qos trust device cisco-phone
service-policy input CISCO-IPPHONE
Catalyst 4500 Campus QoS Design
Conditional Trust Model Example
Shaded commands are global
Highlighted commands are interface specific
! 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

! This section defines the CoS-to-DSCP remarking policy-map
policy-map CISCO-IPPHONE
class VOICE
set dscp ef
class SIGNALING
set dscp cs3
class class-default
set dscp default
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
[class-maps omitted for brevity]
policy-map MARKING-POLICY
class VOIP
set dscp ef
class MULTIMEDIA-CONFERENCING
set dscp af41
class SIGNALING
set dscp cs3
class TRANSACTIONAL-DATA
set dscp af21
class BULK-DATA
set dscp af11
class SCAVENGER
set dscp cs1
class DEFAULT
set dscp default
Catalyst 4500 Campus QoS Design
Service Policy Model Example
Shaded commands are global
Highlighted commands are interface specific
service-policy input MARKING-POLICY
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 4500 Campus QoS Design
Egress Queuing (1P7Q1T+DBL) Model

Network Management
S|gna||ng
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
8u|k Data
AI2
CS3
CS4
AI4
CS2
AI1
Scavenger CS1
8est Lort DI
Mu|nmed|a Stream|ng AI3
8roadcast V|deo
VoI
App||canon
CSS
LI
Internetwork Contro| CS6
DSC
Network Contro| (CS7)
1711 (+D8L)

LI
CSS
CS4
7
(8Wk 10)
CS7 & CS6
CS3 & CS2
6
(8Wk 10)
S
(8Wk 10)
4
(8Wk 10)
3
(8Wk 4)
2 (8Wk 1)
1 (2S) DI
AI1
CS1
AI2
AI3
AI4
8Wk = 8andw|dth kema|n|ng
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures the class-maps for the egress queuing policy
class-map match-any PRIORITY-QUEUE
match dscp ef cs4 cs4
class-map match-any CONTROL-MGMT-QUEUE
match dscp cs7 cs6 cs3 cs2
class-map match-all MULTIMEDIA-CONFERENCING-QUEUE
match dscp af41 af42 af43
class-map match-all MULTIMEDIA-STREAMING-QUEUE
match dscp af31 af32 af33
class-map match-all TRANSACTIONAL-DATA-QUEUE
match dscp af21 af22 af23
class-map match-all BULK-DATA-QUEUE
match dscp af11 af12 af13
class-map match-all SCAVENGER-QUEUE
match dscp cs1
Catalyst 4500 Campus QoS Design
Lgress Cueulng (17C11+u8L) Lxample-arL 1 of 2
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures the egress queuing policy-map
policy-map 1P7Q1T
class PRIORITY-QUEUE
priority
class CONTROL-MGMT-QUEUE
bandwidth remaining percent 10
class MULTIMEDIA-CONFERENCING-QUEUE
bandwidth remaining percent 10
class MULTIMEDIA-STREAMING-QUEUE
bandwidth remaining percent 10
class TRANSACTIONAL-DATA-QUEUE
bandwidth remaining percent 10
dbl
class BULK-DATA-QUEUE
bandwidth remaining percent 4
dbl
class SCAVENGER-QUEUE
bandwidth remaining percent 1
class class-default
bandwidth remaining percent 25
dbl
service-policy output 1P7Q1T
Catalyst 4500 Campus QoS Design
Lgress Cueulng (17C11+u8L) Lxample-arL 2 of 2
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 4500 Campus QoS Design
EtherChannel QoS Design
! Ingress QoS policies are configured on the logical Port-Channel interface
Typically these are simply to enable DSCP trust
(which requires no explicit configuration)
! Egress QoS policies are configured on the physical port-member
interfaces
Platform QoS Policies Applied to the
(Logical) Port-Channel
Interface
QoS Policies Applied to the
(Physical) Port-Member
Interfaces
Catalyst 4500 Ingress Egress
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat4500aag.html
Catalyst 4500 Campus QoS Design At-A-Glance
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Catalyst 6500Supervisor 2T
Campus QoS Design
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 6500 Campus QoS Design
Catalyst 6500 Role in Campus Networks
1rusL uSC
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 6500 Campus QoS Design
1. Configure Ingress Queuing
2. Configure Egress Queuing
QoS Design StepsCisco Catalyst 6500 Supervisor 2T
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 6500 Campus QoS Design
lngress Cueulng (8C41) Model
Network Management
S|gna||ng
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
8u|k Data
AI2
CS3
CS4
AI4
CS2
AI1
Scavenger CS1
8est Lort DI
Mu|nmed|a Stream|ng AI3
8roadcast V|deo
VoI
App||canon
CSS
LI
Internetwork Contro| CS6
DSC
Network Contro| (CS7)
841
8 (30)
LI
CSS
7 (10)
6 (10)
S (10)
4 (10)
3 (4)
2 (1)
1 (2S)
DI
AI1
CS1
AI2
AI3
AI4
CS7
CS6
CS3
CS2
CS4
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures the Ingress Queuing Class-Maps
class-map type lan-queuing QUEUE-8
match dscp cs4 cs5 ef
class-map type lan-queuing QUEUE-7
match dscp cs2 cs3 cs6 cs7
class-map type lan-queuing QUEUE-6
match dscp af41 af42 af43
class-map type lan-queuing QUEUE-5
match dscp af31 af32 af33
class-map type lan-queuing QUEUE-4
match dscp af21 af22 af23
class-map type lan-queuing QUEUE-3
match dscp af11 af12 af13
class-map type lan-queuing QUEUE-2
match dscp cs1
Cisco Catalyst 6500 Campus QoS Design
lngress Cueulng (8C41) Lxample-arL 1 of 2
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures the Ingress Queuing Policy-Map
policy-map type lan-queuing INGRESS-8Q4T
class QUEUE-8
bandwidth percent 30
class QUEUE-7
bandwidth percent 10
class QUEUE-6
bandwidth percent 10
class QUEUE-5
bandwidth percent 10
class QUEUE-4
bandwidth percent 10
class QUEUE-3
bandwidth percent 4
class QUEUE-2
bandwidth percent 1
Cisco Catalyst 6500 Campus QoS Design
lngress Cueulng (8C41) Lxample-arL 2 of 2
Shaded commands are global
Highlighted commands are interface specific
service-policy type lan-queuing input INGRESS-8Q4T
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 6500 Campus QoS Design
Lgress Cueulng (17C21) Model
Network Management
S|gna||ng
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
8u|k Data
AI2
CS3
CS4
AI4
CS2
AI1
Scavenger CS1
8est Lort DI
Mu|nmed|a Stream|ng AI3
8roadcast V|deo
VoI
App||canon
CSS
LI
Internetwork Contro| CS6
DSC
Network Contro| (CS7)
1721

LI
CSS
7
(8Wk 10)
6
(8Wk 10)
S
(8Wk 10)
4
(8Wk 10)
3
(8Wk 4)
2 (8Wk 1)
1
(8Wk 2S)
DI
AI1
CS1
AI2
AI3
AI4
CS7
CS6
CS3
CS2
CS4
8Wk = 8andw|dth kema|n|ng
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! Ingress Queuing Class-Maps can be re-used for Egress Queuing
! This section configures the Egress Queuing Policy-Map
policy-map type lan-queuing EGRESS-1P7Q2T
class QUEUE-8
priority
class QUEUE-7
bandwidth remaining percent 10
class QUEUE-6
bandwidth remaining percent 10
class QUEUE-5
bandwidth remaining percent 10
class QUEUE-4
bandwidth remaining percent 10
class QUEUE-3
bandwidth remaining percent 4
class QUEUE-2
bandwidth remaining percent 1
Cisco Catalyst 6500 Campus QoS Design
Lgress Cueulng (17C21) Lxample
Shaded commands are global
Highlighted commands are interface specific
service-policy type lan-queuing output EGRESS-1P7Q2T
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! Ingress QoS policies are configured on the logical Port-Channel
interface
! No ingress policies typically needed for C6500-Sup2T EtherChannels
(as all ports trust DSCP & CoS by default)
! Egress QoS policies are configured on the physical port-member
interfaces
Cisco Catalyst 6500 Campus QoS Design
Lgress Cueulng (17C41 uSC-Lo-Cueue) Lxample-arL 3 of 3
Platform QoS Policies Applied to the
(Logical) Port-Channel
Interface
QoS Policies Applied to the
(Physical) Port-Member
Interfaces
Catalyst 6500 Ingress Egress
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat6500aag.pdf
Cisco Catalyst 6500 Campus QoS Design At-A-Glance
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000
Campus QoS Design
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
1. Configure Ingress Queuing
2. Configure Egress Queuing
QoS Design Steps
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
M1 10GE (8Q4T) Ingress Queuing Model Example
ICCL ] S|gna||ng
1ransacnona| Data
V|deo
8u|k Data
8est Lort
Vo|ce
App||canon C|ass
Network Contro|
CAM ] VM Contro|
CoS 3
CoS 2
CoS 4
CoS 1
CoS 0
CoS S
CoS
CoS 6
CoS 7
S
8W:13
6
8W:13
4
8W:13
7
8W:13
-Defau|t
8W:23
3
8W:3
841
2
8W:3
1
8W:3
CoS S
CoS 7
CoS 6
CoS 4
CoS 3
CoS 1
CoS 2
CoS 0
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
M1 10GE (8Q4T) Ingress Queuing Model Configuration ExamplePart 1 of 2
class-map type queuing match-any 8q2t-in-q1
match cos 5
class-map type queuing match-any 8q2t-in-q2
match cos 7
class-map type queuing match-any 8q2t-in-q3
match cos 6
class-map type queuing match-any 8q2t-in-q4
match cos 4
class-map type queuing match-any 8q2t-in-q5
match cos 3
class-map type queuing match-any 8q2t-in-q6
match cos 2
class-map type queuing match-any 8q2t-in-q7
match cos 1
class-map type queuing match-any 8q2t-in-q-default
match cos 0
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
M1 10GE (8Q4T) Ingress Queuing Model Configuration ExamplePart 2 of 2
policy-map type queuing 8Q4T-INGRESS
class type queuing 8q2t-in-q1
bandwidth percent 5
class type queuing 8q2t-in-q2
bandwidth percent 5
class type queuing 8q2t-in-q3
bandwidth percent 5
class type queuing 8q2t-in-q4
bandwidth percent 15
class type queuing 8q2t-in-q5
bandwidth percent 15
class type queuing 8q2t-in-q6
bandwidth percent 15
class type queuing 8q2t-in-q7
bandwidth percent 15
class type queuing 8q2t-in-q-default
bandwidth percent 25
service-policy type queuing input 8Q4T-INGRESS
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
M1 10GE (1P7Q4T) Egress Queuing Model Example
ICCL ] S|gna||ng
1ransacnona| Data
V|deo
8u|k Data
8est Lort
Vo|ce
App||canon C|ass
Network Contro|
CAM ] VM Contro|
CoS 3
CoS 2
CoS 4
CoS 1
CoS 0
CoS S
CoS
CoS 6
CoS 7
S
CL:13 8W8:13
6
CL:13 8W8:13 W8Lu
4
CL:13 8W8:13 W8Lu
7
CL:13 8W8:13 W8Lu
-Defau|t
CL:13 8W8:30 W8Lu
3
CL:3 / 8W8:3
1741
2
CL:3 / 8W8:3
1
CL:3
CoS S
CoS 7
CoS 6
CoS 4
CoS 3
CoS 1
CoS 2
CoS 0
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
M1 10GE (1P7Q4T) Egress Queuing Model Configuration ExamplePart 1 of 3
class-map type queuing match-any 1p7q4t-out-pq1
match cos 5
class-map type queuing match-any 1p7q4t-out-q2
match cos 7
class-map type queuing match-any 1p7q4t-out-q3
match cos 6
class-map type queuing match-any 1p7q4t-out-q4
match cos 4
class-map type queuing match-any 1p7q4t-out-q5
match cos 3
class-map type queuing match-any 1p7q4t-out-q6
match cos 2
class-map type queuing match-any 1p7q4t-out-q7
match cos 1
class-map type queuing match-any 1p7q4t-out-q-default
match cos 0
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
M1 10GE (1P7Q4T) Egress Queuing Model Configuration ExamplePart 2 of 3
policy-map type queuing 1P7Q4T-EGRESS
class type queuing 1p7q4t-out-pq1
priority
queue-limit percent 5
class type queuing 1p7q4t-out-q2
queue-limit percent 5
bandwidth remaining percent 5
class type queuing 1p7q4t-out-q3
queue-limit percent 5
bandwidth remaining percent 5
class type queuing 1p7q4t-out-q4
queue-limit percent 15
bandwidth remaining percent 15
random-detect cos-based
random-detect cos 4 minimum-threshold percent 80 maximum-threshold percent 100

[policy-map continued on following slide]
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Nexus 7000 Campus QoS Design
M1 10GE (1P7Q4T) Egress Queuing Model Configuration ExamplePart 3 of 3
[policy-map continued]
class type queuing 1p7q4t-out-q5
queue-limit percent 15
bandwidth remaining percent 15
class type queuing 1p7q4t-out-q6
queue-limit percent 15
bandwidth remaining percent 15
random-detect cos-based
random-detect cos 2 minimum-threshold percent 80 maximum-threshold percent 100
class type queuing 1p7q4t-out-q7
queue-limit percent 15
bandwidth remaining percent 15
random-detect cos-based
random-detect cos 1 minimum-threshold percent 80 maximum-threshold percent 100
class type queuing 1p7q4t-out-q-default
queue-limit percent 25
bandwidth remaining percent 30
random-detect cos-based
random-detect cos 1 minimum-threshold percent 80 maximum-threshold percent 100

service-policy type queuing output 1P7Q4T-EGRESS
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Summary and References
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Summary
! 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 4500
Key Takeaways
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design 4.0At-A-Glance
Quick Start Guides
! QoS Design Strategy At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qosmrn.pdf
! Campus QoS Design At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampusaag.html
! Cisco Catalyst 3560/3750 QoS Design At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat3xxxaag.html
! Cisco Catalyst 4500 QoS Design At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat4500aag.html
! Cisco Catalyst 6500 QoS Design At-A-Glance
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/qoscampuscat6500aag.html



2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! Enterprise Quality of Service Design 4.0
http://www.cisco.com/en/US/docs/solutions/Enterprise/
WAN_and_MAN/QoS_SRND_40/QoSIntro_40.html
! Campus QoS Design 4.0
http://www.cisco.com/en/US/docs/solutions/Enterprise/
WAN_and_MAN/QoS_SRND_40/QoSCampus_40.html
Campus QoS Design 4.0At-A-Glance
Comprehensive Design Chapters
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Appendix: AutoQoS for Medianet
Catalyst 2960/3560/3750 Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst and Nexus Campus QoS Design
Agenda
! End-to-End QoS Design Strategy Review
! Campus QoS Design Considerations & Recommendations
! Cisco Catalyst 2960/3560/3750 QoS Design
! Cisco Catalyst 4500 QoS Design
! Cisco Catalyst 6500 QoS Design
! Cisco Nexus 7000 QoS Design
! Summary and References
! Appendix: AutoQoS for Medianet
! Catalyst 3560/3750 AutoQoS Feature
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
auto qos v|deo [ cts | |p-camera ]
1

3
1

L
g
r
e
s
s

u
e
u
|
n
g

o
|
|
c
|
e
s

auto qos c|ass|fy { po||ce }
MM-Conf o||cer (<S Mbps)
S|gna||ng o||cer (<32 kbps)
1rans-Data o||cer (<10 Mbps)
8u|k Data o||cer (<10 Mbps)
8est Lort o||cer (<10 Mbps)
Scavenger o||cer (<10 Mbps)
kemark to CS1
kemark to CS1
kemark to CS1
Drop
Drop
Drop
?es
no
?es
no
?es
no
?es
no
?es
no
?es
no
1

3
1

I
n
g
r
e
s
s

u
e
u
|
n
g

o
|
|
c
|
e
s

auto qos vo|p [ c|sco-phone | c|sco-sohphone | trust ]
auto qos trust { cos | dscp }
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSCampus_40.html#wp1144082
auto qos c|ass|fy
Mu|nmed|a Conferenc|ng C|ass|her
S|gna||ng C|ass|her
1ransacnona| Data C|ass|her
8u|k Data C|ass|her
Scavenger C|ass|her
8est Lort (C|ass-Defau|t)
Mark AI41
Mark CS3
Mark AI21
Mark AI11
Mark CS1
Mark DI
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 Models
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 auto qos trust { cos | dscp }
interface GigabitEthernet1/0/1
description L2-ACCESS-PORT
switchport access vlan 10
switchport voice vlan 110

mls qos trust cos
! AutoQoS has configured the port to static CoS-trust
auto qos trust
spanning-tree portfast
Layer 2 Switch Port Example:
C3750(config-if)#auto qos trust
Layer 3 Routed Interface Example:
C3750(config-if)#auto qos trust
interface GigabitEthernet1/0/48
description L3-ROUTED-INTERFACE
no switchport
ip address 10.0.1.103 255.255.255.0

mls qos trust dscp
! AutoQoS has configured the port to static DSCP-trust
auto qos trust
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSCampus_40.html#wp1144096
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 auto qos video [ cts | ip-camera ]
interface GigabitEthernet1/0/1
description L2-ACCESS-PORT-TO-CTS
switchport access vlan 10
switchport voice vlan 110

mls qos trust device cts
! AutoQoS has configured a conditional-trust policy for cts devices
mls qos trust cos
! AutoQoS has configured CoS-trust to be dynamically extended
auto qos video cts
C3750(config-if)#auto qos video cts
C3750(config-if)#auto qos video ip-camera
interface GigabitEthernet1/0/1
description L2-ACCESS-PORT-TO-IPVS-CAMERA
switchport access vlan 10
switchport voice vlan 110

mls qos trust device ip-camera
! AutoQoS has configured a conditional-trust policy for ip-camera devices
mls qos trust dscp
! AutoQoS has configured DSCP-trust to be dynamically extended
auto qos video ip-camera
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSCampus_40.html#wp1144284
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 auto qos classify
! This section defines the policy-map for AutoQoS-Classify
policy-map AUTOQOS-SRND4-CLASSIFY-POLICY
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
! Marks Multimedia Conferencing traffic to AF41
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
! Marks Bulk Data traffic to AF11
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
! Marks Transactional Data traffic to AF21
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
! Marks Scavenger traffic to CS1
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
! Marks Signaling traffic to CS3
class AUTOQOS_DEFAULT_CLASS
set dscp default
! An explicit default class marks Best Effort traffic to DF
C3750(config-if)#auto qos classify
C|ass-maps and I ACLs om|ued for brev|ty
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSCampus_40.html#wp1144464
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 auto qos classify police
policy-map AUTOQOS-SRND4-CLASSIFY-POLICE-POLICY
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
police 5000000 8000 exceed-action drop
! Multimedia-conferencing is marked AF41 and policed to drop at 5 Mbps
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
police 10000000 8000 exceed-action policed-dscp-transmit
! Bulk-data is marked AF11 and policed to remark (to CS1) at 10 Mbps
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
police 10000000 8000 exceed-action policed-dscp-transmit
! Transactional data is marked AF21 and policed to remark (to CS1) at 10 Mbps
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
police 10000000 8000 exceed-action drop
! Scavenger traffic is marked CS1 and policed to drop at 10 Mbps
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
police 32000 8000 exceed-action drop
! Signaling is marked CS3 and policed to drop at 32 kbps
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
! An explicit default class marks all other IP traffic to DF
! and polices all other IP traffic to remark (to CS1) at 10 Mbps
C3750(config-if)#auto qos classify police
C|ass-maps and I ACLs om|ued for brev|ty
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
auto qos vo|p trust
1

3
1

L
g
r
e
s
s

u
e
u
|
n
g

o
|
|
c
|
e
s

1

3
1

I
n
g
r
e
s
s

u
e
u
|
n
g

o
|
|
c
|
e
s

auto qos vo|p c|sco-phone
VoI C|ass|her
S|gna||ng C|ass|her
Mark LI
Mark CS3
VoI o||cer (<128 kbps)
S|gna||ng o||cer (<32 kbps)
kemark to CS1
kemark to CS1
?es
no
?es
no
8est Lort (C|ass-Defau|t) Mark DI 8est Lort o||cer (<10 Mbps)
kemark to CS1
?es
no
auto qos vo|p c|sco-sohphone
VoI C|ass|her
S|gna||ng C|ass|her
Mu|nmed|a Conferenc|ng C|ass|her
S|gna||ng C|ass|her
1ransacnona| Data C|ass|her
8u|k Data C|ass|her
Scavenger C|ass|her
8est Lort (C|ass-Defau|t)
Mark LI
Mark CS3
Mark AI41
Mark CS3
Mark AI21
Mark AI11
Mark CS1
Mark DI
VoI o||cer (<128 kbps)
S|gna||ng o||cer (<32 kbps)
MM-Conf o||cer (<S Mbps)
S|gna||ng o||cer (<32 kbps)
1rans-Data o||cer (<10 Mbps)
8u|k Data o||cer (<10 Mbps)
8est Lort o||cer (<10 Mbps)
Scavenger o||cer (<10 Mbps)
kemark to CS1
kemark to CS1
kemark to CS1
kemark to CS1
kemark to CS1
Drop
Drop
Drop
?es
no
?es
no
?es
no
?es
no
?es
no
?es
no
?es
no
?es
no
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS VoIP (SRND4) Models
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 auto qos voip cisco-phone
! This section defines the AutoQoS-VoIP-Cisco-Phone (SRND4) Policy-Map
policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
set dscp ef
police 128000 8000 exceed-action policed-dscp-transmit
! Voice is marked to DSCP EF and policed (to remark) if exceeding 128 kbps
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
! Signaling is marked to DSCP CS3 and policed (to remark) if exceeding 32 kbps
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
! An explicit default class marks all other IP traffic to DF
! and polices all other IP traffic to remark (to CS1) at 10 Mbps
!
C3750(config-if)#auto qos voip cisco-phone
http://www.cisco.com/en/US/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND_40/QoSCampus_40.html#wp1144685
C|ass-maps om|ued for brev|ty
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
AutoQoS SRND4 auto qos voip cisco-softphone
policy-map AUTOQOS-SRND4-SOFTPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
set dscp ef
police 128000 8000 exceed-action policed-dscp-transmit
! Voice is marked to DSCP EF and policed (to remark) if exceeding 128 kbps
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
! Signaling is marked to DSCP CS3 and policed (to remark) if exceeding 32 kbps
class AUTOQOS_MULTIENHANCED_CONF_CLASS
set dscp af41
police 5000000 8000 exceed-action drop
! MM-Conf is marked to DSCP AF41 and policed (to drop) if exceeding 5 Mbps
class AUTOQOS_BULK_DATA_CLASS
set dscp af11
police 10000000 8000 exceed-action policed-dscp-transmit
! Bulk Data is marked to DSCP AF11 and policed (to remark) if exceeding 10 Mbps
class AUTOQOS_TRANSACTION_CLASS
set dscp af21
police 10000000 8000 exceed-action policed-dscp-transmit
! Trans-Data is marked to DSCP AF21 and policed (to remark) if exceeding 10 Mbps
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
police 10000000 8000 exceed-action drop
! Scavenger is marked to DSCP CS1 and policed (to drop) if exceeding 10 Mbps
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
police 32000 8000 exceed-action drop
! Signaling is marked to DSCP CS3 and policed (to drop) if exceeding 32 kbps
class AUTOQOS_DEFAULT_CLASS
set dscp default
! An explicit default class marks all other IP traffic to DF
C|ass-maps and I ACLs om|ued for brev|ty
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
Ingress Queuing Model (1P1Q3T)
1131
2
r|or|ty ueue
CS6
CS7
LI
CS4
ueue 1
Non-r|or|ty
Defau|t ueue
Network Management
S|gna||ng
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
8u|k Data
AI2
CS3
CS4
AI4
CS2
AI1
Scavenger CS1
8est Lort DI
Mu|nmed|a Stream|ng AI3
8roadcast V|deo
VoI
App||canon
CSS
LI
Internetwork Contro| CS6
DSC
Network Contro| (CS7)
CSS
113


112

111
CS3
CS2
CS6
CS7
DI
AI1
CS1
AI4
AI3
AI2
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! 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

! This section configures the ingress CoS-to-Queue mappings
mls qos srr-queue input cos-map queue 1 threshold 1 0 1 2
mls qos srr-queue input cos-map queue 1 threshold 2 3
mls qos srr-queue input cos-map queue 1 threshold 3 6 7
mls qos srr-queue input cos-map queue 2 threshold 1 4 5

! This section configures ingress DSCP-to-Queue Mappings
mls qos srr-queue input dscp-map queue 1 threshold 1 0 8 10 12 14
mls qos srr-queue input dscp-map queue 1 threshold 1 16 18 20 22
mls qos srr-queue input dscp-map queue 1 threshold 1 26 28 30 34 36 38
mls qos srr-queue input dscp-map queue 1 threshold 2 24
mls qos srr-queue input dscp-map queue 1 threshold 3 48 56
mls qos srr-queue input dscp-map queue 2 threshold 3 32 40 46
Cisco Catalyst 2960/3560/3750 AutoQoS
Ingress Queuing Model (1P1Q3T) Example
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS
Egress Queuing Model (1P3Q3T)
Network Management
S|gna||ng
kea|nme Interacnve
1ransacnona| Data
Mu|nmed|a Conferenc|ng
8u|k Data
AI2
CS3
CS4
AI4
CS2
AI1
Scavenger CS1
8est Lort DI
Mu|nmed|a Stream|ng AI3
8roadcast V|deo
VoI
App||canon
CSS
LI
Internetwork Contro| CS6
DSC
Network Contro| (CS7)
1
r|or|ty ueue
ueue 4
(S)
ueue 2
(30)
Defau|t ueue
ueue 3 (3S)
213
212
412
411
211
CS6
CS7
LI
CS4
CS3
CS2
DI
AI1
CS1
AI4
AI3
AI2
1331
CSS
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures egress buffers and thresholds
C3750-X(config)# mls qos queue-set output 1 buffers 15 30 35 20
C3750-X(config)# mls qos queue-set output 1 threshold 1 100 100 100 100
C3750-X(config)# mls qos queue-set output 1 threshold 2 80 90 100 400
C3750-X(config)# mls qos queue-set output 1 threshold 3 100 100 100 400
C3750-X(config)# mls qos queue-set output 1 threshold 4 60 100 100 400

! This section configures egress CoS-to-Queue mappings
C3750-E(config)#mls qos srr-queue output cos-map queue 1 threshold 3 4 5
C3750-E(config)#mls qos srr-queue output cos-map queue 2 threshold 1 2
C3750-E(config)#mls qos srr-queue output cos-map queue 2 threshold 2 3
C3750-E(config)#mls qos srr-queue output cos-map queue 2 threshold 3 6 7
C3750-E(config)#mls qos srr-queue output cos-map queue 3 threshold 3 0
C3750-E(config)#mls qos srr-queue output cos-map queue 4 threshold 3 1

Cisco Catalyst 2960/3560/3750 AutoQoS
Egress Queuing Model (1P3Q3T) ExamplePart 1 of 2
Shaded commands are global
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
! This section configures egress DSCP-to-Queue mappings
mls qos srr-queue output dscp-map queue 1 threshold 3 32 40 46
mls qos srr-queue output dscp-map queue 2 threshold 1 16 18 20 22
mls qos srr-queue output dscp-map queue 2 threshold 1 26 28 30 34 36 38
mls qos srr-queue output dscp-map queue 2 threshold 2 24
mls qos srr-queue output dscp-map queue 2 threshold 3 48 56
mls qos srr-queue output dscp-map queue 3 threshold 3 0
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
! This section configures interface egress queuing parameters
queue-set 1
srr-queue bandwidth share 1 30 35 5
priority-queue out
Cisco Catalyst 2960/3560/3750 AutoQoS
Egress Queuing Model (1P3Q3T) ExamplePart 2 of 2
Shaded commands are global
Highlighted commands are interface specific
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
http://www.cisco.com/en/US/docs/solutions/Enterprise/Video/autoqosmediacampus.pdf
Cisco Catalyst 2960/3560/3750 AutoQoS At-A-Glance
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Thank You.
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Complete Your Online
Session Evaluation
! Receive Passport points for each
session evaluation you complete.
! Gives your feedback and redeem
your points @ the onsite Cisco
Store.
! Complete your session evaluation
online now:

Look for the QR and/or URL
outside the room


uon'L forgeL Lo acuvaLe your
Clsco Llve vlrLual accounL for access Lo
all sesslon maLerlal, communlues, and
on-demand and llve
acuvlues LhroughouL
Lhe year. AcuvaLe your accounL aL Lhe
Clsco booLh ln Lhe World of Soluuons or
vlslL www.clscollve.com.

94
2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public 2012 Cisco and/or its affiliates. All rights reserved. Presentation_ID Cisco Public

You might also like