Campus QoS Design Simplified



Similar documents
AutoQoS for Medianet

Configuring Auto-QoS

The Basics. Configuring Campus Switches to Support Voice

Here is a summary of the recommendations that have been reviewed and approved by NETS engineers:

Configuring QoS CHAPTER

Cisco VoIP CME QoS Labs by Michael T. Durham

Implementing Cisco Quality of Service QOS v2.5; 5 days, Instructor-led

"Charting the Course to Your Success!" QOS - Implementing Cisco Quality of Service 2.5 Course Summary

AutoQoS. Prerequisites for AutoQoS CHAPTER

IMPLEMENTING CISCO QUALITY OF SERVICE V2.5 (QOS)

Configuring QoS and Per Port Per VLAN QoS

Lab 7-1 Configuring Switches for IP Telephony Support

Optimizing Converged Cisco Networks (ONT)

Description: To participate in the hands-on labs in this class, you need to bring a laptop computer with the following:

Configuring Quality of Service

Best Practice Recommendations for VLANs and QoS with ShoreTel

Configuring Quality of Service

PC-over-IP Protocol Virtual Desktop Network Design Checklist. TER Issue 2

Cisco - Catalyst 2950 Series Switches Quality of Service (QoS) FAQ

Chapter 7 Lab 7-1, Configuring Switches for IP Telephony Support

This topic describes the basic purpose and function of AutoQoS. One command per interface to enable and configure QoS

AlliedWare Plus TM OS How To. Configure QoS to Conform to Standard Marking Schemes. Introduction. Contents

- QoS Classification and Marking -

Configuring QoS. Understanding QoS CHAPTER

Configuring QoS. Finding Feature Information. Prerequisites for QoS

QoS Design and Validation for Enterprise Networks

Configuring QoS in a Wireless Environment

Quality of Service. Traditional Nonconverged Network. Traditional data traffic characteristics:

Improving Quality of Service

This topic lists the key mechanisms use to implement QoS in an IP network.

Routing. Static Routing. Fairness. Adaptive Routing. Shortest Path First. Flooding, Flow routing. Distance Vector

How to Keep Video From Blowing Up Your Network

ILTA HAND 8 QoS/CoS. Agenda. What is it?

PCoIP Protocol Network Design Checklist. TER Issue 3

End-to-End QoS Network Design

Configuring MPLS QoS

- QoS and Queuing - Queuing Overview

CCNP: Optimizing Converged Networks

Configuring QoS in a Wireless Environment

QoS Queuing on Cisco Nexus 1000V Class-Based Weighted Fair Queuing for Virtualized Data Centers and Cloud Environments

Cisco CCNP Optimizing Converged Cisco Networks (ONT)

IBM. Tivoli. Netcool Performance Manager. Cisco Class-Based QoS Technology Pack. User Guide. Document Revision R2E1

Lab Introduction to the Modular QoS Command-Line Interface

QoS: Color-Aware Policer

Abstract. SZ; Reviewed: SPOC 10/15/2007. Solution & Interoperability Test Lab Application Notes 2007 Avaya Inc. All Rights Reserved.

Cisco Virtual Office: Secure Voice and Video

Configure QoS on x900-24, x900-12, and SwitchBlade x908 Series Switches

Carrier Ethernet Service, Release 4 Swinog #18. Martin Gysi Network Development Engineer

Application Note. Configuring WAN Quality of Service for ShoreTel. Quality of Service Overview. Quality of Service Mechanisms. WAN QoS for ShoreTel 5

Quality of Service (QoS) for Enterprise Networks. Learn How to Configure QoS on Cisco Routers. Share:

Data Network Best Practices for ShoreTel VoIP

Lab 3.3 Configuring QoS with SDM

Requirements of Voice in an IP Internetwork

Monitoring and analyzing audio, video, and multimedia traffic on the network

Understanding Quality of Service on the Catalyst 6500 Switch

Quality of Service Analysis of site to site for IPSec VPNs for realtime multimedia traffic.

QOS - Implementing Cisco Quality of Service

Network Best Practices for ShoreTel Connect CLOUD

Extended Reach: Implementing TelePresence over Cisco Virtual Office

Cisco Performance Monitor Commands

Optimizing Converged Cisco Networks (ONT)

Catalyst 6500 Sup2T System QOS Architecture

Data Network Best Practices for ShoreTel VoIP

Chapter 5 Configuring QoS

Schools Configuration Files Guide

Configuring an efficient QoS Map

Quality of Service (QoS) on Netgear switches

VoIP Quality of Service - Basic Theory

DEPLOYING QUALITY OF SERVICE FOR CONVERGED NETWORKS

How To Improve Quality Of Service (Qos) On A Network

Can PowerConnect Switches Be Used in VoIP Deployments?

Compatibility with IP Precedence

DS3 Performance Scaling on ISRs

Catalyst 2960-X Switch QoS Configuration Guide, Cisco IOS Release 15.0(2)EX

Verizon LTE Mobile Private Network Cisco Jabber

Secure Network Foundation 1.1 Design Guide for Single Site Deployments

Ethernet Overhead Accounting

AlliedWare Plus OS How To. Configure QoS to prioritize SSH, Multicast, and VoIP Traffic. Introduction

Certes Networks Layer 4 Encryption. Network Services Impact Test Results

How To Lower Data Rate On A Network On A 2Ghz Network On An Ipnet 2 (Net 2) On A Pnet 2 On A Router On A Gbnet 2.5 (Net 1) On An Uniden Network On

Implementing Quality of Service

MS Series: VolP Deployment Guide

Lab QoS Classification and Policing Using CAR

Combining Voice over IP with Policy-Based Quality of Service

Technology Overview. Class of Service Overview. Published: Copyright 2014, Juniper Networks, Inc.

Quality of Service (QoS)) in IP networks

NETWORK ISSUES: COSTS & OPTIONS

VoIP Bandwidth Considerations - design decisions

Bandwidth Security and QoS Considerations

VoIP QoS. Version 1.0. September 4, AdvancedVoIP.com. Phone:

Curso de Telefonía IP para el MTC. Sesión 1 Introducción. Mg. Antonio Ocampo Zúñiga

IP Telephony Deployment Models

Cisco Catalyst 3850 Switch

Course Contents CCNP (CISco certified network professional)

Chapter 4 Rate Limiting

This chapter covers four comprehensive scenarios that draw on several design topics covered in this book:

Transcription:

Campus QoS Design Simplified Tim Szigeti, CCIE#9794 Senior Technical Leader

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet 3

Session Abstract This session discusses strategic factors driving network QoS designs, including: new applications and business requirements, new industry guidance and best practices and new platforms and technologies Cisco QoS strategy for rich media networks will be presented and campus-specific design considerations will be discussed. Then platform-specific designs for classification, policing and ingress & egress queuing policies will be detailed for the: Cisco Catalyst 2960/3560/3750 G/E/X series switches Cisco Catalyst 3850 series switches (wired-only) Cisco Catalyst 4500 (Supervisor 7-E) and 4500-X series switches Cisco Catalyst 6500 (Supervisor 2T) series switches 4

QoS Design Strategy Review Macro Trends in Internet Usage By 2016 Global IP traffic will increase 3-fold Even after having increased 8-fold in the past 5 years The number of IP devices will be more than triple the global population Wireless traffic will exceed wired by 2014 and will be over 60% by 2016 Non-PC traffic (smartphones, tablets etc.) will account for 31% of all traffic 86% of consumer internet traffic will be video http://www.cisco.com/en/us/solutions/collateral/ns341/ns525/ns537/ns705/ns827/white_paper_c11-481360.pdf 5

QoS Design Strategy Review Trends in Voice, Video and Data Media Applications Data Convergence Media Explosion Collaborative Media Unmanaged Internet Streaming Internet VoIP YouTube MySpace Other Ad-Hoc App Video Voice IP Video Conf IP Telephony Video Voice IP Video Conf Surveillance Video Telephony HD Video Conf VoD Streaming IP Telephony HD Audio Softphone Other VoIP TelePresence Web Email Messaging Data Apps App Sharing Web/Internet Messaging Email Data Apps App Sharing Web/Internet Messaging Email WebEx Connectivity Leveraging Investment Co-Existence Experience Assurance 6

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 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 7

QoS Design Strategy Review Business Requirements Will Continue to Evolve and Expand over Time 4-Class Model 8-Class Model 12-Class Model Voice Voice Realtime Interactive Video Realtime Interactive Multimedia Conferencing Streaming Video Broadcast Video Multimedia Streaming Signaling / Control Call Signaling Call Signaling Network Control Network Control Critical Data Critical Data Network Management Transactional Data Best Effort Time Best Effort Scavenger Bulk Data Best Effort Scavenger 8

QoS Design Strategy At-A-Glance http://www.cisco.com/en/us/docs/solutions/enterprise/video/qosmrn.pdf 9

Campus QoS Design: Considerations & Recommendations

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet 11

Campus QoS Design Considerations The Case for Campus QoS The primary role of QoS in medianet campus networks is not to control latency or jitter (as it is in the WAN/VPN), but to manage packet loss. In GE/10GE campus networks, it takes only a few milliseconds of congestion to cause instantaneous buffer overruns resulting in packet drops. Rich media applications particularly HD video applications are extremely sensitive to packet drops, to the point where even 1 packet dropped in 10,000 is discernable by the end-user. 12

1080 lines of Horizontal Resolution Campus QoS Design Considerations Implications of Video Compression on Packet Loss Tolerance 1920 lines of Vertical Resolution (Widescreen Aspect Ratio is 16:9) 1080 x 1920 lines = 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! 13

Campus QoS Design Overview VoIP vs. HD Video At the Packet Level 1400 Voice Packets 1400 Video Frame Video Packets Video Frame Video Frame 1000 1000 Bytes 600 Audio Samples 600 200 200 Time 20 msec 33 msec 14

10 50 90 130 170 210 250 290 330 370 410 450 490 530 570 610 650 690 730 770 810 850 890 930 970 KBytes Per ms Campus QoS Design Considerations How Long Can Queue-Buffers Accommodate Line-Rate Bursts? Gbps Linecard Example (WS-X6148A-GE-TX) GE Linecard Example (WS-X6148) 140 120 100 Gbps Line Rate Gbps Line Rate: 1 Gbps = 125 MB/s or 125 KB/ms 80 60 Total Per-Port Buffer: 5.4 MB 40 20 Total Per-Queue Buffer*: 1.35 MB 0 Total Per-Queue Buffering Capacity: 10.8 ms ms *Assuming (4) equal-sized queues 15

10 50 90 130 170 210 250 290 330 370 410 450 490 530 570 610 650 690 730 770 810 850 890 930 970 KBytes Per ms Campus QoS Design Considerations How Long Can Queue-Buffers Accommodate Line-Rate Bursts? Gbps Linecard Example (WS-X6148A-GE-TX) 10 GE Linecard Example (WS-X6904) 1400 1200 1000 800 600 400 200 0 10 Gbps Line Rate ms Gbps Line Rate: 10 Gbps = 1.25 GB/s or 1250 KB/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 16

Campus QoS Design Considerations Strategic QoS Design Principles Always perform QoS in hardware rather than software when a choice exists Classify and mark applications as close to their sources as technically and administratively feasible Police unwanted traffic flows as close to their sources as possible Enable queuing policies at every node where the potential for congestion exists 17

Campus QoS Design Considerations Campus QoS Tools and Options MLS QoS vs. MQC QoS vs. C3PL QoS 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 18

Campus QoS Design Considerations MLS QoS vs. MQC QoS vs. C3PL QoS Catalyst 2960 / 3650 / 3750 are the last platforms to use Multilayer Switch QoS (MLS QoS) syntax QoS is disabled by default and must be globally enabled with mls qos command Once enabled, all ports are set to an untrusted port-state Catalyst 3850 and 4500 are using IOS MQC QoS (like router platforms) QoS is enabled by default All ports trust at layer 2 and layer 3 by default Catalyst 6500 is using Cisco Common Classification Policy Language (C3PL) QoS QoS is enabled by default (Sup2T) Disabled by default (Sup720) All ports trust at layer 2 and layer 3 by default C3PL presents queuing policies similar to MQC 19

Campus QoS Design Considerations Trust States and Operations CoS = 5 DSCP = 46 Untrusted no [mls] qos trust Internal DSCP = 0 CoS = 0 DSCP = 0 CoS = 5 DSCP = 46 Trust CoS [mls] qos trust cos 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 Internal DSCP = 40 CoS = 5 DSCP = 40 CoS = 5 DSCP = 46 Trust DSCP [mls] qos trust dscp Internal DSCP = 46 CoS = 5 DSCP = 46 20

Campus QoS Design Considerations Conditional Trust Operation Cisco TelePresence System (CTS) Endpoint Example Trust Boundary 2 Successful Condition Met (i.e. CDP negotiation successful) Trust is Dynamically Extended to Cisco CTS Primary Codec Cisco 7975G IP Phone: Voice CoS 5 & DSCP EF Signaling CoS 3 & DSCP CS3 1 3 CTS Primary Codec: Voice + Video CoS 4 & DSCP CS4 Call-Signaling CoS 3 & DSCP CS3 4 CoS-to-DSCP Map: CoS 5 DSCP EF (46) CoS 4 DSCP CS4 (32) CoS 3 DSCP CS3 (24) 21

Trust Boundary Trust Boundary Campus QoS Design Considerations Trust Boundaries Access-Edge Switches Conditionally Trusted Endpoints Example: IP Phone + PC mls qos trust device cisco-phone Secure Endpoint Example: Software-protected PC With centrally-administered QoS markings mls qos trust dscp Unsecure Endpoint no mls qos trust 22

Campus QoS Design Considerations Per-Port QoS vs. Per-VLAN QoS Per-Port QoS VLAN Interfaces VLAN 10 VLAN 20 Per-VLAN QoS Policy map is applied to the logical VLAN interface VLAN Interfaces VLAN 10 VLAN 20 Policy map is applied to the physical switch port Physical Ports Physical Ports 23

Campus QoS Design Considerations Per-Port/Per-VLAN QoS VLAN Interfaces DVLAN 10 VVLAN 110 DVLAN policy map is applied to the Data VLAN (only) on a given trunked switch port Trunked Physical Ports VVLAN policy map is applied to the Voice VLAN (only) on a given trunked switch port 24

Campus Ingress QoS Models Ingress Queuing Policies (if required and supported) No Trust (Untrusted) Trust CoS Trust DSCP Trust Device / Conditional Trust Marking Policies (Optional) Policing Policies VoIP Classifier Mark EF VVLAN VoIP Policer (<128 kbps) Yes No Drop Signaling Classifier Mark CS3 Signaling Policer (<32 kbps) Yes No Drop Multimedia Conferencing Classifier Signaling Classifier Mark AF41 Mark CS3 DVLAN MM-Conf Policer (<5 Mbps) Signaling Policer (<32 kbps) Yes No Yes No Drop Drop Transactional Data Classifier Mark AF21 Trans-Data Policer (<10 Mbps) Yes No Remark to CS1 Bulk Data Classifier Mark AF11 Bulk Data Policer (<10 Mbps) Yes No Remark to CS1 Scavenger Classifier Mark CS1 Scavenger Policer (<10 Mbps) Yes No Drop Best Effort (Class-Default) Mark DF Best Effort Policer (<10 Mbps) Yes No Remark to CS1 25

Campus QoS Design Recommendations Queuing and Dropping Recommendations Catalyst Queuing is done in hardware and varies by platform/linecard and can be expressed as: xpyqzt For Example: 1P3Q8T means: 1 PQ 3 non-priority queues, each with 8 drop-thresholds per queue Minimum queuing capabilities for medianet is 1P3QyT Realtime (PQ) should be no more than 33% of link Best-Effort Queue should be guaranteed at 25% of link Best Effort 25% Scavenger/Bulk 5% Guaranteed BW Realtime 33% Scavenger/Bulk queue should be minimally provisioned Enable congestion-avoidance on non-priority queues (WRED, WTD, DBL) 26

Campus QoS Design Recommendations EtherChannel QoS EtherChannels are comprised of logical (Port-Channel) interfaces and physical (port-member) interfaces Ingress QoS policies are sometimes applied to the logical interfaces but not always Egress QoS policies (such as queuing) are always applied to the physical portmember 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 3850 Ingress Egress Catalyst 4500 Ingress Egress Catalyst 6500 Ingress Egress 27

Campus QoS Design Port QoS Roles Untrusted Endpoints Untrusted Endpoint Port QoS: No Trust [Optional Ingress Marking and/or Policing] 1P3QyT Queuing Access Distribution Core Trusted Endpoint Port QoS: Trust-DSCP [Optional Ingress Marking and/or Policing] 1P3QyT Queuing Trusted Endpoints Conditionally- Trusted Endpoints WAN/VPN Block Conditionally-Trusted Endpoint Port QoS Conditional-Trust with Trust-CoS [Optional Ingress Marking and/or Policing] 1P3QyT Queuing Switch-to-Switch/Router Port QoS Trust DSCP 1P3QyT or 1P7QyT Queuing 28

Campus QoS Design At-A-Glance http://www.cisco.com/en/us/docs/solutions/enterprise/video/qoscampusaag.pdf 29

Cisco Catalyst 2960/3560/3750 QoS Design

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet 31

Catalyst 2960/3560/3750 Campus QoS Design Catalyst 2960/3650/3750 QoS Roles in Campus Networks No Trust + Ingress Queuing + Egress Queuing Trust DSCP + Ingress Queuing + Egress Queuing C2960/ C3560/ C3750 Access Switch Distribution Switches Conditional Trust + Ingress Queuing + Egress Queuing Classification/Marking + [Optional Policing] + Ingress Queuing + Egress Queuing 32

Catalyst 2960/3560/3750 Campus QoS Design QoS Design Steps 1. Enable QoS 2. Configure Ingress QoS Model(s): Trust Models Conditional Trust Model Service Policy Models 3. Configure Ingress Queuing 4. Configure Egress Queuing 33

Catalyst 2960/3560/3750 Campus QoS Design Enabling QoS and Trust Model Examples Enabling QoS: mls qos Trust-CoS Model Example: mls qos map cos-dscp 0 8 16 24 32 46 48 56 mls qos trust cos Shaded commands are global Highlighted commands are interface specific Trust-DSCP Model Example: mls qos trust dscp Conditional-Trust Model Example: mls qos trust device cisco-phone mls qos trust device cts mls qos trust device ip-camera mls qos trust device media-player [or] [or] [or] 34

Catalyst 2960/3560/3750 Campus QoS Design Conditional Trust to a Cisco IP Phone Example Conditional Trust Policy to a Cisco IP Phone: mls qos map cos-dscp 0 8 16 24 32 46 48 56 mls qos trust device cisco-phone mls qos trust cos 35

Catalyst 2960/3560/3750 Campus QoS Design Service Policy Model Example Marking Policy [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 Note: While the Catalyst 3750-E MQC syntax includes an implicit class-default, any policy actions assigned to this class are not enforced. Therefore, an explicit class DEFAULT is configured in to enforce a marking policy to DSCP 0 for all other IP traffic. service-policy input MARKING-POLICY 36

Catalyst 2960/3560/3750 Campus QoS Design Service Policy Model Example Marking & Policing Policy mls qos map policed-dscp 0 10 18 to 8 [class-maps omitted for brevity] policy-map MARKING&POLICING class VVLAN-VOIP set dscp ef police 128k 8000 exceed-action drop class VVLAN-SIGNALING set dscp cs3 police 32k 8000 exceed-action drop class MULTIMEDIA-CONFERENCING set dscp af41 police 5m 8000 exceed-action drop class SIGNALING set dscp cs3 police 32k 8000 exceed-action drop class TRANSACTIONAL-DATA set dscp af21 police 10m 8000 exceed-action policed-dscp-transmit Note: Remarking is performed by configuring a policed-dscp map with the global configuration command mls qos map policed-dscp, which specifies which DSCP values are subject to remarking if out-of-profile and what value these should be remarked as. In this example exceeding data classes are remarked to Scavenger (CS1/DSCP 8). (continued) class BULK-DATA set dscp af11 police 10m 8000 exceed-action policed-dscp-transmit class SCAVENGER set dscp cs1 police 10m 8000 exceed-action drop class DEFAULT set dscp default police 10m 8000 exceed-action policed-dscp-transmit service-policy input MARKING&POLICING 37

Catalyst 2960/3560/3750 Campus QoS Design Per-VLAN QoS Design Interface [range] GigabitEthernet: mls qos vlan-based Interface VLAN: service-policy input MARKING 38

Catalyst 2960/3560/3750 Campus QoS Design Ingress Queuing Model (1P1Q3T) Application DSCP 1P1Q3T Network Control Internetwork Control VoIP Broadcast Video (CS7) CS6 EF CS5 EF CS5 CS4 CS7 CS6 Q2 Priority Queue Q1T3 Multimedia Conferencing AF4 CS3 Q1T2 Realtime Interactive CS4 AF4 Q1T1 Multimedia Streaming AF3 AF3 Signaling Transactional Data CS3 AF2 AF2 Queue 1 Non-Priority Default Queue Network Management CS2 CS2 Bulk Data AF1 AF1 Scavenger CS1 CS1 Best Effort DF DF 39

Catalyst 2960/3560/3750 Campus QoS Design Ingress Queuing Model (1P1Q3T) Example! This section configures the ingress queues and thresholds mls qos srr-queue input priority-queue 2 bandwidth 30 mls qos srr-queue input bandwidth 70 30 mls qos srr-queue input buffers 90 10 mls qos srr-queue input threshold 1 80 90! 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 40

Catalyst 2960/3560/3750 Campus QoS Design Egress Queuing Model (1P3Q3T) Application DSCP 1P3Q3T Network Control Internetwork Control (CS7) CS6 AF1 CS1 Queue 4 (5%) Q4T2 Q4T1 VoIP Broadcast Video EF CS5 DF Default Queue Queue 3 (35%) Multimedia Conferencing AF4 CS7 Q2T3 Realtime Interactive CS4 CS6 Multimedia Streaming Signaling AF3 CS3 CS3 AF4 Queue 2 (30%) Q2T2 Q2T1 Transactional Data AF2 AF3 Network Management Bulk Data CS2 AF1 AF2 CS2 Scavenger Best Effort CS1 DF EF CS5 CS4 Q1 Priority Queue 41

Catalyst 2960/3560/3750 Campus QoS Design Egress Queuing Model (1P3Q3T) Example Part 1 of 2! 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 42

Catalyst 2960/3560/3750 Campus QoS Design Egress Queuing Model (1P3Q3T) Example Part 2 of 2! 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 43

Catalyst 2960/3560/3750 Campus QoS Design EtherChannel QoS Design All QoS policies are configured on the physical port-member interfaces only 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 44

Catalyst 2960/3560/3750 QoS Design At-A-Glance http://www.cisco.com/en/us/docs/solutions/enterprise/video/qoscampuscat3xxxaag.pdf 45

Cisco Catalyst 3850 (Wired) QoS Design

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet

Catalyst 3850 Campus QoS Design Catalyst 3850 QoS Roles in Campus Networks No Trust + Ingress Queuing + Egress Queuing Trust DSCP + Ingress Queuing + Egress Queuing C3850 Access Switch Distribution Switches Conditional Trust + Ingress Queuing + Egress Queuing Classification/Marking + [Optional Policing] + Ingress Queuing + Egress Queuing 48

Catalyst 3850 Campus QoS Design QoS Design Steps 1. Configure Ingress QoS Model(s): DSCP-Trust Model* Conditional Trust Models Service Policy Models 2. Configure Egress Queuing *Catalyst 3850 IOS MQC will trust DSCP by default (therefore no explicit policy is required for DSCP trust) 49

Catalyst 3850 Campus QoS Design Conditional Trust Models Cisco IP Phone Conditional Trust Example Conditional-Trust Models: trust device cisco-phone trust device cts trust device ip-camera trust device media-player [or] [or] [or]! 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! This section applies conditional trust! and the policy-map to the interface(s) trust device cisco-phone service-policy input CISCO-IPPHONE 50

Catalyst 3850 Campus QoS Design Service Policy Model Example Marking Policy [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 service-policy input MARKING-POLICY 51

http://www.cisco.com/en/us/docs/switches/lan/catalyst3850/software/release/3.2_0_se/qos/configuration_guide/b_mqc_qos_32se_3850_chapter_010.html#reference_bc97692d1f1 E4F8A8A335878B5F612D0 Catalyst 3850 Campus QoS Design Service Policy Model Example Marking & Policing Policy policy-map MARKING&POLICING class VVLAN-VOIP set dscp ef police 128k burst? conform-action transmit exceed-action drop class VVLAN-SIGNALING set dscp cs3 police 32k conform-action transmit exceed-action drop class MULTIMEDIA-CONFERENCING set dscp af41 police 5m conform-action transmit exceed-action drop class SIGNALING set dscp cs3 police 32k conform-action transmit exceed-action drop [continued] [continued] class TRANSACTIONAL-DATA set dscp af21 police 10m conform-action transmit exceed-action TABLE-MAP class BULK-DATA set dscp af11 police 10m conform-action transmit exceed-action TABLE-MAP class SCAVENGER set dscp cs1 police 10m conform-action transmit exceed-action drop class class-default set dscp default police 10m conform-action transmit exceed-action TABLE-MAP service-policy input MARKING&POLICING Reference table-map construct from IOS 52

Catalyst 3850 Campus QoS Design Service Policy Model Example Per-Port/Per-VLAN QoS (IP Phone Example) Interface [range] GigabitEthernet (in this example VLAN 10 is the Data VLAN and VLAN 110 is the VVLAN) class-map VVLAN match vlan 110 class-map DVLAN match vlan 10 policy-map VLAN-POLICERS class VVLAN police 192k burst? conform-action transmit exceed-action drop class DVLAN police 50m conform-action transmit exceed-action drop service-policy input VLAN-POLICERS 53

Catalyst 3850 Campus QoS Design Egress Queuing (1P7Q3T with WTD) Model Application Network Control Internetwork Control VoIP Broadcast Video Multimedia Conferencing Realtime Interactive DSCP (CS7) CS6 EF CS5 AF4 CS4 EF CS5 CS4 CS7 & CS6 CS3 & CS2 AF4 1P7Q3T PQ Q7 (BW 10%) Q6 (BW 10% + WTD) WTD = Weighted Tail Drop Multimedia Streaming Signaling Transactional Data Network Management Bulk Data AF3 CS3 AF2 CS2 AF1 AF3 AF2 AF1 Q5 (BW 10% + DSCP-Based WTD) Q4 (BW 10% + DSCP-Based WTD) Q3 (BW 4% + DSCP-Based WTD) Scavenger CS1 CS1 Q2 (BWR 1%) Best Effort DF DF Q1 (25%) 54

Catalyst 3850 Campus QoS Design Egress Queuing (1P7Q3T) Example Part 1 (Class-Maps)! This section configures the class-maps class-map match-any PRIORITY-QUEUE match dscp cs4 cs5 ef 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 55

Catalyst 3850 Campus QoS Design Egress Queuing (1P7Q3T) Example Part 2 (Policy-Map)! This section configures policy-map policy-map 1P7Q3T class PRIORITY-QUEUE priority level 1 (video = priority l2) class CONTROL-MGMT-QUEUE bandwidth percent 10 class MULTIMEDIA-CONFERENCING-QUEUE bandwidth percent 10 queue-limit dscp af43 percent 80 queue-limit dscp af42 percent 90 queue-limit dscp af41 percent 100 class MULTIMEDIA-STREAMING-QUEUE bandwidth percent 10 queue-limit dscp af33 percent 80 queue-limit dscp af32 percent 90 queue-limit dscp af31 percent 100 [continued] class TRANSACTIONAL-DATA-QUEUE bandwidth percent 10 queue-limit dscp af23 percent 80 queue-limit dscp af22 percent 90 queue-limit dscp af21 percent 100 class BULK-DATA-QUEUE bandwidth percent 4 queue-limit dscp af13 percent 80 queue-limit dscp af12 percent 90 queue-limit dscp af11 percent 100 class SCAVENGER-QUEUE bandwidth percent 1 class class-default bandwidth remaining percent 25! This section attaches the policy to the int(s) service-policy output 1P7Q3T 56

Catalyst 3850 Campus QoS Design Hierarchical Policies: Queuing within Shaped Rate Example! This section configures Shaping policy-map policy-map 50MBPS-SHAPER class class-default shape average 50000000 service-policy 2P6Q3T! Nested service-policy statement invokes queuing policy within the shaped rate! This section attaches the H-QoS policy to the int(s) service-policy output 50MBPS-SHAPER 57

Catalyst 3850 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 3850 Ingress Egress 58

Cisco Catalyst 4500 (Supervisor 7-E) and 4500-X QoS Design

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet 60

Catalyst 4500 Campus QoS Design Catalyst 4500 QoS Role in Campus Networks Trust DSCP + Egress Queuing Access Switches Catalyst 4500 Distribution Switches Core Switches 61

Catalyst 4500 Campus QoS Design QoS Design Steps 1. Configure Ingress QoS Model(s): DSCP-Trust Model* Conditional Trust Model Service Policy Models 2. Configure Egress Queuing *Catalyst 4500 IOS MQC will trust DSCP by default (therefore no explicit policy is required for DSCP trust) 62

Catalyst 4500 Campus QoS Design Conditional Trust Model Cisco IP Phone Example! This section defines the class-maps to match Voice and Signaling class-map match-all VOICE match cos 5 class-map match-all SIGNALING match cos 3! 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! This section applies conditional trust and the policy-map to the interface(s) qos trust device cisco-phone service-policy input CISCO-IPPHONE 63

Catalyst 4500 Campus QoS Design Service Policy Model Example Marking Policy [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 service-policy input MARKING-POLICY 64

Catalyst 4500 Campus QoS Design Service Policy Model Example Marking & Policing Policy policy-map MARKING&POLICING class VVLAN-VOIP set dscp ef police 128k bc 8000 conform-action transmit exceed-action drop class VVLAN-SIGNALING set dscp cs3 police 32k bc 8000 conform-action transmit exceed-action drop class MULTIMEDIA-CONFERENCING set dscp af41 police 5m bc 8000 conform-action transmit exceed-action drop class SIGNALING set dscp cs3 police 32k bc 8000 conform-action transmit exceed-action drop [continued] [continued] class TRANSACTIONAL-DATA set dscp af21 police 10m bc 8000 conform-action transmit exceed-action set-dscp-transmit af22 class BULK-DATA set dscp af11 police 10m bc 8000 conform-action transmit exceed-action set-dscp-transmit af12 class SCAVENGER set dscp cs1 police 10m bc 8000 conform-action transmit exceed-action drop class class-default set dscp default police 10m bc 8000 conform-action transmit exceed-action set-dscp-transmit cs1 service-policy input MARKING&POLICING 65

Catalyst 4500 Campus QoS Design Service Policy Model Example Medianet Metadata (NBAR2) Classification metadata flow class-map match-any REALTIME match application cisco-phone match application rtp class-map match-all REALTIME-INTERACTIVE match application telepresence-media class-map match-any MULTIMEDIA-CONFERENCING match application webex-video match application webex-voice match application jabber class-map match-any SIGNALING match application h323 match application sip match application telepresence-control match application rtsp class-map match-any TRANSACTIONAL-DATA match application telepresence-data match application webex-meeting match application citrix match application vmware-view match application wyze-zero-client match application xmpp-client 66

Catalyst 4500 Campus QoS Design Service Policy Model Example Per-Port/Per-VLAN QoS (IP Phone Example) Interface [range] GigabitEthernet (in this example VLAN 10 is the Data VLAN and VLAN 110 is the VVLAN) qos trust device cisco-phone vlan 10 service-policy input DVLAN-POLICERS vlan 110 service-policy input VVLAN-POLICERS 67

Catalyst 4500 Campus QoS Design Egress Queuing (1P7Q1T+DBL) Model Application Network Control Internetwork Control VoIP Broadcast Video Multimedia Conferencing Realtime Interactive DSCP (CS7) CS6 EF CS5 AF4 CS4 EF CS5 CS4 CS7 & CS6 CS3 & CS2 AF4 1P7Q1T (+DBL) PQ Q7 (BWR 10%) Q6 (BWR 10%) Multimedia Streaming Signaling Transactional Data Network Management Bulk Data Scavenger AF3 CS3 AF2 CS2 AF1 CS1 AF3 AF2 AF1 CS1 Q5 (BWR 10%) Q4 (BWR 10%) Q3 (BWR 4%) Q2 (BWR 1%) BWR = Bandwidth Remaining Best Effort DF DF Q1 (25%) 68

Catalyst 4500 Campus QoS Design Egress Queuing (1P7Q1T+DBL) Example! This section configures the class-maps class-map match-all PRIORITY-QUEUE match dscp cs4 cs5 ef class-map match-all 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! This section attaches the policy to the int(s) service-policy output 1P7Q1T! This section configures 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 69

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 70

Catalyst 4500 Campus QoS Design At-A-Glance http://www.cisco.com/en/us/docs/solutions/enterprise/video/qoscampuscat4500aag.html 71

Cisco Catalyst 6500 (Supervisor-2T) QoS Design

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet 73

Cisco Catalyst 6500 Campus QoS Design Catalyst 6500 Role in Campus Networks Catalyst 6500 Core/Distribution Switches Trust DSCP + Ingress Queuing + Egress Queuing 74

Cisco Catalyst 6500 Campus QoS Design QoS Design Steps Cisco Catalyst 6500 Supervisor 2T 1. Configure Ingress Queuing 2. Configure Egress Queuing Catalyst 6500 IOS C3PL will trust DSCP by default (therefore no explicit policy is required for DSCP trust) 75

Cisco Catalyst 6500 Campus QoS Design 8Q4T (Ingress) & 1P7Q4T (Egress) Queuing Model Examples Application-Class DSCP 8Q4T/1P7Q4T Network Control Internetwork Control VoIP Broadcast Video Multimedia Conferencing Realtime Interactive Multimedia Streaming Signaling Transactional Data Network Management Bulk Data Scavenger Best Effort (CS7) CS6 EF CS5 AF4 CS4 AF3 CS3 AF2 CS2 AF1 CS1 DF EF CS5 CS4 CS7 & CS6 CS3 & CS2 AF4 AF3 AF2 AF1 CS1 DF Realtime-Queue (10% BW/Priority) Control Queue (10% BW/BWR) Multimedia-Conferencing Queue (10% BW/BWR + DSCP-WRED) Multimedia-Streaming Queue (10% BW/BWR + DSCP-based WRED) Transactional Data (10% BW/BWR + DSCP-based WRED) Bulk Data (4% BW/BWR +DSCP-based WRED) Scavenger (1% BW/BWR) Default Queue (25% BW/BWR + WRED) BWR = Bandwidth Remaining 76

Cisco Catalyst 6500 Campus QoS Design Queuing Policies: Part 1 of 3 (Common Ingress & Egress Queuing Class-Maps) class-map type lan-queuing REALTIME-QUEUE match dscp cs4 cs5 ef class-map type lan-queuing CONTROL-QUEUE match dscp cs2 cs3 cs6 cs7 class-map type lan-queuing MULTIMEDIA-CONFERENCING-QUEUE match dscp af41 af42 af43 class-map type lan-queuing MULTIMEDIA-STREAMING-QUEUE match dscp af31 af32 af33 class-map type lan-queuing TRANSACTIONAL-DATA-QUEUE match dscp af21 af22 af23 class-map type lan-queuing BULK-DATA-QUEUE match dscp af11 af12 af13 class-map type lan-queuing SCAVENGER-QUEUE match dscp cs1 77

Cisco Catalyst 6500 Campus QoS Design Queuing Policies: Part 2 of 3 (8Q4T Ingress Queuing Policy-Map) policy-map type lan-queuing INGRESS-8Q4T class REALTIME-QUEUE bandwidth percent 10 class CONTROL-QUEUE bandwidth percent 10 class MULTIMEDIA-CONFERENCING-QUEUE bandwidth percent 10 random-detect dscp-based random-detect dscp af41 percent 80 100 random-detect dscp af42 percent 70 100 random-detect dscp af43 percent 60 100 class MULTIMEDIA-STREAMING-QUEUE bandwidth percent 10 random-detect dscp-based random-detect dscp af31 percent 80 100 random-detect dscp af32 percent 70 100 random-detect dscp af33 percent 60 100 [continued] class TRANSACTIONAL-DATA-QUEUE bandwidth percent 10 random-detect dscp-based random-detect dscp af21 percent 80 100 random-detect dscp af22 percent 70 100 random-detect dscp af23 percent 60 100 class BULK-DATA-QUEUE bandwidth percent 4 random-detect dscp-based random-detect dscp af11 percent 80 100 random-detect dscp af12 percent 70 100 random-detect dscp af13 percent 60 100 class SCAVENGER-QUEUE bandwidth percent 1 class class-default random-detect dscp-based random-detect dscp default percent 80 100 service-policy type lan-queuing input INGRESS-8Q4T 78

Cisco Catalyst 6500 Campus QoS Design Queuing Policies: Part 3 of 3 (1P7Q4T Egress Queuing Policy-Map) policy-map type lan-queuing EGRESS-1P7Q4T [continued] class REALTIME-QUEUE class TRANSACTIONAL-DATA-QUEUE priority bandwidth remaining percent 10 class CONTROL-QUEUE random-detect dscp-based bandwidth remaining percent 10 random-detect dscp af21 percent 80 100 class MULTIMEDIA-CONFERENCING-QUEUE random-detect dscp af22 percent 70 100 bandwidth remaining percent 10 random-detect dscp af23 percent 60 100 random-detect dscp-based class BULK-DATA-QUEUE random-detect dscp af41 percent 80 100 bandwidth remaining percent 4 random-detect dscp af42 percent 70 100 random-detect dscp-based random-detect dscp af43 percent 60 100 random-detect dscp af11 percent 80 100 class MULTIMEDIA-STREAMING-QUEUE random-detect dscp af12 percent 70 100 bandwidth remaining percent 10 random-detect dscp af13 percent 60 100 random-detect dscp-based class SCAVENGER-QUEUE random-detect dscp af31 percent 80 100 bandwidth remaining percent 1 random-detect dscp af32 percent 70 100 class class-default random-detect dscp af33 percent 60 100 random-detect dscp-based random-detect dscp default percent 80 100 service-policy type lan-queuing output EGRESS-1P7Q4T 79

Cisco Catalyst 6500 Campus QoS Design EtherChannel QoS Design 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 Platform QoS Policies Applied to the (Logical) Port-Channel Interface QoS Policies Applied to the (Physical) Port-Member Interfaces Catalyst 6500 Ingress Egress 80

Cisco Catalyst 6500 QoS Design At-A-Glance http://www.cisco.com/en/us/docs/solutions/enterprise/video/qoscampuscat6500sup2taag.html 81

Summary & References

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet 83

Summary Key Takeaways The explosion of rich media applications requires network architects to reevaluate current QoS designs RFC 4594 provides an industry best-practice QoS strategy Campus QoS is needed primarily to control packet drops Some rich media applications require fewer than 1 drop per 10,000 packets QoS architects need to know how trust-states, Port-based QoS, VLAN-based QoS and EtherChannel QoS can impact designs Hardware queuing (both ingress and egress) vary by platform & linecard Cisco provides many At-A-Glance guides to get up and running quickly As well as comprehensive in-depth design chapters for additional design reference AutoQoS for Medianet Feature is available on Catalyst 2960/3560/3750 and Catalyst 3850 and 4500 84

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/qoscampuscat6500sup2taag.html 85

Campus QoS Design 4.0 In-Depth Comprehensive Design Chapters 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 86

Additional Sessions BRKCRS-2890 - Converged Access Quality of Service BRKRST-2513 - QoS Design For IPSec VPNs BRKRST-2509 - Mastering Data Center QoS BRKDCT-3346 - QoS Implementation and Operation in a Nexus 7000 environment BRKRST-2511 - Implementing in QoS for Enablement of Cloud Services using AVC BRKRST-2512 - Validating QoS using Medianet Media Awareness TECRST-2501 - Enterprise QoS Design Strategy 87

Recommended Reading Expected Release Date: Nov 2013 Comprehensive QoS design guidance for PINs and platforms: Campus Catalyst 3750/4500/6500 WLAN WLC 5508 / Catalyst 3850 NGWC Data Center Nexus 1000V/2000/5500/7000 WAN & Branch Cisco ASR 1000 / ISR G2 MPLS VPN Cisco ASR 9000 / CRS-3 IPSec VPNs Cisco ISR G2 ISBN: 1-58714-369-0 Ken Briley http://www.amazon.com/end---end-qos-network-design/dp/1587143690/ 88

Complete Your Online Session Evaluation Give us your feedback and you could win fabulous prizes. Winners announced daily. Receive 20 Cisco Daily Challenge points for each session evaluation you complete. Complete your session evaluation online now through either the mobile app or internet kiosk stations. Maximize your Cisco Live experience with your free Cisco Live 365 account. Download session PDFs, view sessions on-demand and participate in live activities throughout the year. Click the Enter Cisco Live 365 button in your Cisco Live portal to log in. 89

Agenda QoS Design Strategy Review Campus QoS Design Considerations & Recommendations Cisco Catalyst 2960/3560/3750 QoS Design Cisco Catalyst 3850 QoS Design Cisco Catalyst 4500 QoS Design Cisco Catalyst 6500 QoS Design Summary and References Appendix: AutoQoS for Medianet 90

APPENDIX 91

AutoQoS for Medianet

1P1Q3T Ingress Queuing Policies 1P3Q3T Egress Queuing Policies Cisco Catalyst 2960/3560/3750 AutoQoS AutoQoS SRND4 Models auto qos voip [ cisco-phone cisco-softphone trust ] auto qos trust { cos dscp } auto qos video [ cts ip-camera ] auto qos classify Multimedia Conferencing Classifier Signaling Classifier Transactional Data Classifier Bulk Data Classifier Scavenger Classifier Best Effort (Class-Default) Mark AF41 Mark CS3 Mark AF21 Mark AF11 Mark CS1 Mark DF auto qos classify { police } MM-Conf Policer (<5 Mbps) Signaling Policer (<32 kbps) Trans-Data Policer (<10 Mbps) Bulk Data Policer (<10 Mbps) Scavenger Policer (<10 Mbps) Best Effort Policer (<10 Mbps) Yes No Yes No Yes No Yes No Yes No Yes No Drop Drop Remark to CS1 Remark to CS1 Drop Remark to CS1 93

Cisco Catalyst 2960/3560/3750 AutoQoS AutoQoS SRND4 auto qos trust { cos dscp } Layer 2 Switch Port Example: C3750(config-if)# auto qos trust interface GigabitEthernet1/0/1 description L2-ACCESS-PORT switchport access vlan 10 switchport voice vlan 110 mls qos trust cos! AutoQoS has configured static CoS-trust 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 static DSCP-trust auto qos trust 94

Cisco Catalyst 2960/3560/3750 AutoQoS AutoQoS SRND4 auto qos video [ cts ip-camera ] C3750(config-if)# auto qos video cts 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 conditional-trust! for Cisco TelePresence Systems mls qos trust cos! AutoQoS has configured CoS-trust! to be dynamically extended 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! for Cisco for IPVS cameras mls qos trust dscp! AutoQoS has configured DSCP-trust! to be dynamically extended auto qos video ip-camera 95

Cisco Catalyst 2960/3560/3750 AutoQoS AutoQoS SRND4 auto qos classify C3750(config-if)# auto qos classify policy-map AUTOQOS-SRND4-CLASSIFY-POLICY class AUTOQOS_MULTIENHANCED_CONF_CLASS set dscp af41 class AUTOQOS_BULK_DATA_CLASS set dscp af11 class AUTOQOS_TRANSACTION_CLASS set dscp af21 class AUTOQOS_SCAVANGER_CLASS set dscp cs1 class AUTOQOS_SIGNALING_CLASS set dscp cs3 class AUTOQOS_DEFAULT_CLASS set dscp default 96

Cisco Catalyst 2960/3560/3750 AutoQoS AutoQoS SRND4 auto qos classify police C3750(config-if)# 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 class AUTOQOS_BULK_DATA_CLASS set dscp af11 police 10000000 8000 exceed-action policed-dscp-transmit class AUTOQOS_TRANSACTION_CLASS set dscp af21 police 10000000 8000 exceed-action policed-dscp-transmit class AUTOQOS_SCAVANGER_CLASS set dscp cs1 police 10000000 8000 exceed-action drop class AUTOQOS_SIGNALING_CLASS set dscp cs3 police 32000 8000 exceed-action drop class AUTOQOS_DEFAULT_CLASS set dscp default police 10000000 8000 exceed-action policed-dscp-transmit Note: Class-maps and IP ACLs omitted for brevity 97

1P1Q3T Ingress Queuing Policies 1P3Q3T Egress Queuing Policies AutoQoS VoIP (SRND4) Models VoIP Classifier Signaling Classifier auto qos voip trust auto qos voip cisco-phone Mark EF Mark CS3 VoIP Policer (<128 kbps) Signaling Policer (<32 kbps) Yes No Yes No Remark to CS1 Remark to CS1 Best Effort (Class-Default) Mark DF Best Effort Policer (<10 Mbps) No Remark to CS1 Yes VoIP Classifier auto qos voip cisco-softphone Mark EF VoIP Policer (<128 kbps) Yes No Remark to CS1 Signaling Classifier Mark CS3 Signaling Policer (<32 kbps) Yes No Remark to CS1 Multimedia Conferencing Classifier Signaling Classifier Mark AF41 Mark CS3 MM-Conf Policer (<5 Mbps) Signaling Policer (<32 kbps) Yes No Yes No Drop Drop Transactional Data Classifier Mark AF21 Trans-Data Policer (<10 Mbps) Yes No Remark to CS1 Bulk Data Classifier Mark AF11 Bulk Data Policer (<10 Mbps) Yes No Remark to CS1 Scavenger Classifier Mark CS1 Scavenger Policer (<10 Mbps) Yes No Drop Best Effort (Class-Default) Mark DF Best Effort Policer (<10 Mbps) Yes No Remark to CS1 98

Cisco Catalyst 2960/3560/3750 AutoQoS AutoQoS SRND4 auto qos voip cisco-phone C3750(config-if)# auto qos voip cisco-phone policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY class AUTOQOS_VOIP_DATA_CLASS set dscp ef police 128000 8000 exceed-action policed-dscp-transmit class AUTOQOS_VOIP_SIGNAL_CLASS set dscp cs3 police 32000 8000 exceed-action policed-dscp-transmit class AUTOQOS_DEFAULT_CLASS set dscp default police 10000000 8000 exceed-action policed-dscp-transmit Note: Class-maps omitted for brevity 99

Cisco Catalyst 2960/3560/3750 AutoQoS AutoQoS SRND4 auto qos voip cisco-softphone policy-map AUTOQOS-SRND4-SOFTPHONE-POLICY class AUTOQOS_VOIP_DATA_CLASS set dscp ef police 128000 8000 exceed-action policed-dscp-transmit class AUTOQOS_VOIP_SIGNAL_CLASS set dscp cs3 police 32000 8000 exceed-action policed-dscp-transmit class AUTOQOS_MULTIENHANCED_CONF_CLASS set dscp af41 police 5000000 8000 exceed-action drop class AUTOQOS_BULK_DATA_CLASS set dscp af11 police 10000000 8000 exceed-action policed-dscp-transmit class AUTOQOS_TRANSACTION_CLASS set dscp af21 police 10000000 8000 exceed-action policed-dscp-transmit class AUTOQOS_SCAVANGER_CLASS set dscp cs1 police 10000000 8000 exceed-action drop class AUTOQOS_SIGNALING_CLASS set dscp cs3 police 32000 8000 exceed-action drop class AUTOQOS_DEFAULT_CLASS set dscp default Note: Class-maps and IP ACLs omitted for brevity 100

Cisco Catalyst 2960/3560/3750 AutoQoS Ingress Queuing Model (1P1Q3T) Application DSCP 1P1Q3T Network Control Internetwork Control VoIP Broadcast Video Multimedia Conferencing Realtime Interactive Multimedia Streaming Signaling Transactional Data (CS7) CS6 EF CS5 AF4 CS4 AF3 CS3 AF2 EF CS5 CS4 CS7 CS6 CS3 AF4 AF3 AF2 Q2 Priority Queue Queue 1 Non-Priority Default Queue Q1T3 Q1T2 Q1T1 Network Management CS2 CS2 Bulk Data AF1 AF1 Scavenger CS1 CS1 Best Effort DF DF 101

Cisco Catalyst 2960/3560/3750 AutoQoS Ingress Queuing Model (1P1Q3T)! This section configures the ingress queues and thresholds mls qos srr-queue input priority-queue 2 bandwidth 30 mls qos srr-queue input bandwidth 70 30 mls qos srr-queue input buffers 90 10 mls qos srr-queue input threshold 1 80 90! 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 102

Cisco Catalyst 2960/3560/3750 AutoQoS Egress Queuing Model (1P3Q3T) Application Network Control Internetwork Control VoIP Broadcast Video Multimedia Conferencing Realtime Interactive Multimedia Streaming Signaling Transactional Data Network Management Bulk Data Scavenger Best Effort DSCP (CS7) CS6 EF CS5 AF4 CS4 AF3 CS3 AF2 CS2 AF1 CS1 DF CS1 AF1 DF CS7 CS6 CS3 AF4 AF3 AF2 CS2 EF CS5 CS4 1P3Q3T Queue 4 (5%) Default Queue Queue 3 (35%) Queue 2 (30%) Q1 Priority Queue Q4T2 Q4T1 Q2T3 Q2T2 Q2T1 103

Cisco Catalyst 2960/3560/3750 AutoQoS Egress Queuing Model (1P3Q3T) Example Part 1 of 2! 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 104

Cisco Catalyst 2960/3560/3750 AutoQoS Egress Queuing Model (1P3Q3T) Example Part 2 of 2! 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 105

AutoQoS for Medianet At-A-Glance http://www.cisco.com/en/us/docs/solutions/enterprise/video/autoqosmediacampus.pdf 106