cisco catalyst and nexus campus qos...
Post on 02-Oct-2020
7 Views
Preview:
TRANSCRIPT
© 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
Connec*vity
Web Email
Messaging
Convergence
Leveraging Investment
Data Apps
• App Sharing • Web/Internet • Messaging • Email
Voice
• IP Telephony
Video
• IP Video Conf
Media Explosion
Co-‐Existence
Data Apps
• App Sharing • Web/Internet • Messaging • Email
Voice
• IP Telephony • HD Audio • SoGphone • Other VoIP
Video
• IP Video Conf • Surveillance • Video Telephony • HD Video Conf • VoD Streaming
Unmanaged
• Internet Streaming • Internet VoIP • YouTube • MySpace • Other
Collabora*ve Media
Experience Assurance
Ad-‐Hoc App
TelePresence
WebEx
© 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
Time
Cri*cal Data
Real*me
4-‐Class Model
Best Effort
Signaling / Control Call Signaling
Cri*cal Data
Interac*ve Video
Voice
8-‐Class Model
Scavenger
Best Effort
Streaming Video
Network Control
Network Management
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Voice
12-‐Class Model
Bulk Data
Scavenger
Best Effort
Mul*media Streaming
Network Control
Broadcast Video
Call Signaling
© 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 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.
The Case for Campus QoS
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
1080
line
s of
Hor
izon
tal
Res
olut
ion
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,000—Making 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
Voice Packets
Bytes
200
600
1000
Audio Samples
1400
Time
200
600
1000
1400
33 msec
Video Packets Video Frame
Video Frame
Video Frame
Campus QoS Design Overview VoIP vs. HD Video—At the Packet Level
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
0
20
40
60
80
100
120
140
10
30
50
70
90
110
130
150
170
190
210
230
250
270
290
310
330
350
370
390
410
430
450
470
490
510
530
550
570
590
610
630
650
670
690
710
730
750
770
790
810
830
850
870
890
910
930
950
970
990
Bytes P
er m
s
Gbps Line Rate
Campus QoS Design Considerations How Long Can Queue-Buffers Accommodate Line-Rate Bursts? Gbps Linecard Example (WS-X6148A-GE-TX)
Gbps Line Rate: 1 Gbps = 125 MB/s or 125 KB/ms Total Per-‐Port Buffer: 5.4 MB Total Per-‐Queue Buffer*: 1.35 MB Total Per-‐Queue Buffering Capacity: 10.8 ms
*Assuming (4) equal-‐sized queues
ms
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Bytes P
er m
s
10 Gbps Line Rate
Campus QoS Design Considerations How Long Can Queue-Buffers Accommodate Line-Rate Bursts? 10 Gbps Linecard Example (WS=X6716-10GE)
Gbps Line Rate: 10 Gbps = 1.25 GB/s or 1.25 MB/ms Total Per-‐Port Buffer: 90 MB Total Per-‐Queue Buffer*: 11.25 MB Total Per-‐Queue Buffering Capacity: 9.0 ms
*Assuming (8) equal-‐sized queues
0
200
400
600
800
1000
1200
1400
10
30
50
70
90
110
130
150
170
190
210
230
250
270
290
310
330
350
370
390
410
430
450
470
490
510
530
550
570
590
610
630
650
670
690
710
730
750
770
790
810
830
850
870
890
910
930
950
970
990
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 = 5
DSCP = 46
CoS = 5
DSCP = 46
Trust CoS [mls] qos trust cos
CoS = 5
DSCP = 46 Trust DSCP [mls] qos trust dscp
Untrusted no [mls] qos trust
Internal DSCP = 0 Re-‐write
CoS = 0
DSCP = 0
Internal DSCP = 40 Re-‐write
CoS = 5
DSCP = 40
Internal DSCP = 46 Re-‐write
CoS = 5
DSCP = 46
CoS-‐to-‐DSCP Mapping Table CoS 0 à 0 CoS 4 à 32 CoS 1 à 8 CoS 5 à 40 CoS 2 à 16 CoS 6 à 48 CoS 3 à 24 CoS 7 à 56
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 TelePresence Primary Codec: Voice + Video è CoS 4 & DSCP CS4
Call-‐Signaling è CoS 3 & DSCP CS3
CoS-‐to-‐DSCP Map: CoS 5 è DSCP EF (46) CoS 4 è DSCP CS4 (32) CoS 3 è DSCP CS3 (24)
4
Trust Boundary
Trust is Dynamically Extended to Cisco 7975G IP Phone
Successful “Condi*on” Met (i.e. CDP nego*a*on successful)
1
Cisco 7975G: Voice è CoS 5 & DSCP EF Call-‐Signaling è CoS 3 & DSCP CS3
2
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations Trust Boundaries
Access-‐Edge Switches
Condi*onally Trusted Endpoints Example: IP Phone + PC
mls qos trust device cisco-phone
Secure Endpoint Example: SoGware-‐protected PC
With centrally-‐administered QoS markings mls qos trust dscp
Unsecure Endpoint no mls qos trust
Trust B
ound
ary
Trust B
ound
ary
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Campus QoS Design Considerations Per-Port QoS vs. Per-VLAN QoS
Policy map is applied to the physical switch port
VLAN 10 VLAN 20
Physical Ports
VLAN Interfaces
Policy map is applied to the logical VLAN interface
Per-‐Port QoS Per-‐VLAN QoS
VLAN 10 VLAN 20
Physical Ports
VLAN Interfaces
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
DVLAN 10
DVLAN policy map is applied to the Data VLAN (only)
on a given trunked switch port
VVLAN 110
Trunked Physical Ports
VLAN Interfaces
VVLAN policy map is applied to the Voice VLAN (only)
on a given trunked switch 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)
Ingr
ess
Que
uing
Pol
icie
s (if re
quire
d an
d supp
orted)
(Op*onal) Policing Policies
VoIP Policer (<128 kbps)
Signaling Policer (<32 kbps)
MM-‐Conf Policer (<5 Mbps)
Signaling Policer (<32 kbps)
Trans-‐Data Policer (<10 Mbps)
Bulk Data Policer (<10 Mbps)
Best Effort Policer (<10 Mbps)
Scavenger Policer (<10 Mbps)
Drop
Drop
Remark to CS1
Remark to CS1
Remark to CS1
Drop
Drop
Drop
Yes No
Yes No
Yes No
Yes No
Yes No
Yes No
Yes No
Yes No
Marking Policies
VoIP Classifier
Signaling Classifier
Multimedia Conferencing Classifier
Signaling Classifier
Transac*onal Data Classifier
Bulk Data Classifier
Scavenger Classifier
Best Effort (Class-Default)
Mark EF
Mark CS3
Mark AF41
Mark CS3
Mark AF21
Mark AF11
Mark CS1
Mark DF
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
Real*me ≤ 33%
Guaranteed BW
Scavenger/Bulk ≤ 5%
Best Effort ≥ 25%
© 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 Distribu*on Access
Untrusted Endpoints
Trusted Endpoints
Condi*onally-‐ Trusted Endpoints
Switch-‐to-‐Switch/Router Port QoS • Trust DSCP • 1P3QyT or 1P7QyT Queuing
WAN/VPN Block
Untrusted Endpoint Port QoS: • No Trust • [Op*onal Ingress Marking and/or Policing] • 1P3QyT Queuing
Trusted Endpoint Port QoS: • Trust-‐DSCP • [Op*onal Ingress Marking and/or Policing] • 1P3QyT Queuing
Condi*onally-‐Trusted Endpoint Port QoS • Condi*onal-‐Trust with Trust-‐CoS • [Op*onal Ingress Marking and/or Policing] • 1P3QyT Queuing
© 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
CondiXonal Trust Trust DSCP
© 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
Enabling QoS:
mls qos trust dscp Trust-‐DSCP Model Example:
CondiXonal-‐Trust Model Example:
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)
1P1Q3T
Q2 Priority Queue
CS6
CS7
EF
CS4
Queue 1 Non-‐Priority Default Queue
Network Management
Signaling
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Bulk Data
AF2
CS3
CS4
AF4
CS2
AF1
Scavenger CS1
Best Effort DF
Mul*media Streaming AF3
Broadcast Video
VoIP
Applica*on
CS5
EF
Internetwork Control CS6
DSCP
Network Control (CS7) CS5
Q1T3
Q1T2
Q1T1
CS3
CS2
CS6
CS7
DF
AF1
CS1
AF4
AF3
AF2
© 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
Signaling
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Bulk Data
AF2
CS3
CS4
AF4
CS2
AF1
Scavenger CS1
Best Effort DF
Mul*media Streaming AF3
Broadcast Video
VoIP
Applica*on
CS5
EF
Internetwork Control CS6
DSCP
Network Control (CS7)
Q1 Priority Queue
Queue 4 (5%)
Queue 2 (30%)
Default Queue Queue 3 (35%)
Q2T3
Q2T2
Q4T2 Q4T1
Q2T1
CS6
CS7
EF
CS4
CS3
CS2
DF
CS1
AF1
AF4
AF3
AF2
1P3Q3T
CS5
© 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) Example–Part 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) Example–Part 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 4500—Supervisor 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
CondiXonal Trust Trust DSCP
© 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
Signaling
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Bulk Data
AF2
CS3
CS4
AF4
CS2
AF1
Scavenger CS1
Best Effort DF
Mul*media Streaming AF3
Broadcast Video
VoIP
Applica*on
CS5
EF
Internetwork Control CS6
DSCP
Network Control (CS7)
1P7Q1T (+DBL)
PQ
EF
CS5
CS4
Q7 (BWR 10%)
CS7 & CS6
CS3 & CS2
Q6 (BWR 10%)
Q5 (BWR 10%)
Q4 (BWR 10%)
Q3 (BWR 4%)
Q2 (BWR 1%)
Q1 (25%) DF
AF1
CS1
AF2
AF3
AF4
BWR = Bandwidth Remaining
© 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 Egress Queuing (1P7Q1T+DBL) Example—Part 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 Egress Queuing (1P7Q1T+DBL) Example—Part 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 6500—Supervisor 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
Trust DSCP
© 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 Steps—Cisco Catalyst 6500 Supervisor 2T
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 6500 Campus QoS Design Ingress Queuing (8Q4T) Model
Network Management
Signaling
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Bulk Data
AF2
CS3
CS4
AF4
CS2
AF1
Scavenger CS1
Best Effort DF
Mul*media Streaming AF3
Broadcast Video
VoIP
Applica*on
CS5
EF
Internetwork Control CS6
DSCP
Network Control (CS7)
8Q4T
Q8 (30%) EF CS5
Q7 (10%)
Q6 (10%)
Q5 (10%)
Q4 (10%)
Q3 (4%)
Q2 (1%)
Q1 (25%) DF
AF1
CS1
AF2
AF3
AF4
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 Ingress Queuing (8Q4T) Example—Part 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 Ingress Queuing (8Q4T) Example—Part 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 Egress Queuing (1P7Q2T) Model
Network Management
Signaling
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Bulk Data
AF2
CS3
CS4
AF4
CS2
AF1
Scavenger CS1
Best Effort DF
Mul*media Streaming AF3
Broadcast Video
VoIP
Applica*on
CS5
EF
Internetwork Control CS6
DSCP
Network Control (CS7)
1P7Q2T
PQ EF CS5
Q7 (BWR 10%)
Q6 (BWR 10%)
Q5 (BWR 10%)
Q4 (BWR 10%)
Q3 (BWR 4%)
Q2 (BWR 1%)
Q1 (BWR 25%) DF
AF1
CS1
AF2
AF3
AF4
CS7 CS6 CS3 CS2
CS4
BWR = Bandwidth Remaining
© 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 Egress Queuing (1P7Q2T) Example
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 Egress Queuing (1P7Q4T DSCP-‐to-‐Queue) Example—Part 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
FCOE / Signaling
Transac*onal Data
Video
Bulk Data
Best Effort
Voice
Applica*on Class
Network Control
OAM / VM Control
CoS 3
CoS 2
CoS 4
CoS 1
CoS 0
CoS 5
CoS
CoS 6
CoS 7
Q5 BW:15%
Q6 BW:15%
Q4 BW:15%
Q7 BW:15%
Q-‐Default BW:25%
Q3 BW:5%
8Q4T
Q2 BW:5%
Q1 BW:5%
CoS 5
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 Example–Part 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 Example–Part 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
FCOE / Signaling
Transac*onal Data
Video
Bulk Data
Best Effort
Voice
Applica*on Class
Network Control
OAM / VM Control
CoS 3
CoS 2
CoS 4
CoS 1
CoS 0
CoS 5
CoS
CoS 6
CoS 7
Q5 QL:15% BWR:15%
Q6 QL:15% BWR:15% WRED
Q4 QL:15% BWR:15% WRED
Q7 QL:15% BWR:15% WRED
Q-‐Default QL:15% BWR:30% WRED
Q3 QL:5% / BWR:5%
1P7Q4T
Q2 QL:5% / BWR:5%
PQ1 QL:5%
CoS 5
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 Example—Part 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 Example—Part 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 Example—Part 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.0—At-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.0—At-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 video [ cts | ip-‐camera ]
1P3Q
3T Egress Q
ueuing Policies
auto qos classify { police } MM-‐Conf Policer (<5 Mbps)
Signaling Policer (<32 kbps)
Trans-‐Data Policer (<10 Mbps)
Bulk Data Policer (<10 Mbps)
Best Effort Policer (<10 Mbps)
Scavenger Policer (<10 Mbps)
Remark to CS1
Remark to CS1
Remark to CS1
Drop
Drop
Drop
Yes No
Yes No
Yes No
Yes No
Yes No
Yes No
1P1Q
3T In
gress Q
ueuing Policies
auto qos voip [ cisco-‐phone | cisco-‐soGphone | 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 classify Mul*media Conferencing Classifier
Signaling Classifier
Transac*onal Data Classifier
Bulk Data Classifier
Scavenger Classifier
Best Effort (Class-‐Default)
Mark AF41
Mark CS3
Mark AF21
Mark AF11
Mark CS1
Mark DF
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 Class-‐maps and IP ACLs omired for brevity
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 Class-‐maps and IP ACLs omired for brevity
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
auto qos voip trust
1P3Q
3T Egress Q
ueuing Policies
1P1Q
3T In
gress Q
ueuing Policies
auto qos voip cisco-‐phone VoIP Classifier
Signaling Classifier
Mark EF
Mark CS3
VoIP Policer (<128 kbps)
Signaling Policer (<32 kbps)
Remark to CS1
Remark to CS1
Yes No
Yes No
Best Effort (Class-‐Default) Mark DF Best Effort Policer (<10 Mbps) Remark to CS1
Yes No
auto qos voip cisco-‐soGphone VoIP Classifier
Signaling Classifier
Mul*media Conferencing Classifier
Signaling Classifier
Transac*onal Data Classifier
Bulk Data Classifier
Scavenger Classifier
Best Effort (Class-‐Default)
Mark EF
Mark CS3
Mark AF41
Mark CS3
Mark AF21
Mark AF11
Mark CS1
Mark DF
VoIP Policer (<128 kbps)
Signaling Policer (<32 kbps)
MM-‐Conf Policer (<5 Mbps)
Signaling Policer (<32 kbps)
Trans-‐Data Policer (<10 Mbps)
Bulk Data Policer (<10 Mbps)
Best Effort Policer (<10 Mbps)
Scavenger Policer (<10 Mbps)
Remark to CS1
Remark to CS1
Remark to CS1
Remark to CS1
Remark to CS1
Drop
Drop
Drop
Yes No
Yes No
Yes No
Yes No
Yes No
Yes No
Yes No
Yes 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
Class-‐maps omired for brevity
© 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
Class-‐maps and IP ACLs omired for brevity
© 2012 Cisco and/or its affiliates. All rights reserved. BRKCRS-2501 Cisco Public
Cisco Catalyst 2960/3560/3750 AutoQoS Ingress Queuing Model (1P1Q3T)
1P1Q3T
Q2 Priority Queue
CS6 CS7
EF
CS4
Queue 1 Non-‐Priority Default Queue
Network Management
Signaling
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Bulk Data
AF2
CS3
CS4
AF4
CS2
AF1
Scavenger CS1
Best Effort DF
Mul*media Streaming AF3
Broadcast Video
VoIP
Applica*on
CS5
EF
Internetwork Control CS6
DSCP
Network Control (CS7) CS5
Q1T3
Q1T2
Q1T1
CS3
CS2
CS6 CS7
DF
AF1
CS1
AF4
AF3
AF2
© 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
Signaling
Real*me Interac*ve
Transac*onal Data
Mul*media Conferencing
Bulk Data
AF2
CS3
CS4
AF4
CS2
AF1
Scavenger CS1
Best Effort DF
Mul*media Streaming AF3
Broadcast Video
VoIP
Applica*on
CS5
EF
Internetwork Control CS6
DSCP
Network Control (CS7)
Q1 Priority Queue
Queue 4 (5%)
Queue 2 (30%)
Default Queue Queue 3 (35%)
Q2T3
Q2T2
Q4T2 Q4T1
Q2T1
CS6
CS7
EF
CS4
CS3
CS2
DF
AF1
CS1
AF4
AF3
AF2
1P3Q3T
CS5
© 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) Example–Part 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) Example–Part 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
Don’t forget to acXvate your Cisco Live Virtual account for access to all session material, communiXes, and on-‐demand and live acXviXes throughout the year. AcXvate your account at the Cisco booth in the World of SoluXons or visit www.ciscolive.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
top related