BRKCRS 2501
BRKCRS 2501
BRKCRS 2501
Simplified
BRKCRS-2501
Cisco Webex Teams
Questions?
Use Cisco Webex Teams to chat
with the speaker after the session
How
1 Find this session in the Cisco Events Mobile App
2 Click “Join the Discussion”
3 Install Webex Teams or go directly to the team space
4 Enter messages/questions in the team space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 4
Campus QoS
Design
Considerations
and Best Practices
What Do You Consider First?
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Where to Begin?
• Always, Always, Always Start with Defining Your Business Goals of QoS
• Guaranteeing voice quality meets enterprise standards
• Ensuring a high Quality of Experience (QoE) for video applications
• Improving user productivity by minimizing network response times
• Managing business applications that are “bandwidth hogs”
• Identifying and de-prioritizing non-business applications
• Improving network availability by protecting the control planes
• Hardening the network infrastructure to deal with abnormal events
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Determining Business Relevance
How Important is an Application to Your Business?
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 8
Translating Business-Relevance to QoS Policies
Apply RFC 4594-based Marking / Queuing / Dropping
Application Per-Hop Queuing & Application
Class Behavior Dropping Examples
VoIP Telephony EF Priority Queue (PQ) Cisco IP Phones (G.711, G.729)
Multimedia Conferencing AF4 BW Queue + DSCP WRED Cisco Jabber, Cisco WebEx
Multimedia Streaming AF3 BW Queue + DSCP WRED Cisco Digital Media System (VoDs)
Relevant
Network Control CS6 BW Queue EIGRP, OSPF, BGP, HSRP, IKE
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
Irrelevant Scavenger CS1 Min BW Queue (Deferential) YouTube, Netflix, iTunes, BitTorrent, Xbox Live
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Translating Business-Relevance to QoS Policies
Apply RFC 4594-based Marking / Queuing / Dropping
Application Per-Hop Queuing & Application
Class Behavior Dropping Examples
VoIP Telephony EF Priority Queue (PQ) Cisco IP Phones (G.711, G.729)
Multimedia Conferencing AF4 BW Queue + DSCP WRED Cisco Jabber, Cisco WebEx
Multimedia Streaming AF3 BW Queue + DSCP WRED Cisco Digital Media System (VoDs)
Relevant
Network Control CS6 BW Queue EIGRP, OSPF, BGP, HSRP, IKE
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
Irrelevant Scavenger CS1 Min BW Queue (Deferential) YouTube, Netflix, iTunes, BitTorrent, Xbox Live
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Start by Defining Your QoS Strategy
Articulate Your Business Intent, Relevant Applications and End-to-End Strategy
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
The Case for Campus QoS
• The secondary role of QoS in campus networks is to condition traffic at the access
edge, which can include any of the following:
• Trust
• Classify and Mark
• Police
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Why Is Video So Sensitive to Packet Loss?
1920 lines of Vertical Resolution (Widescreen Aspect Ratio is 16:9)
1080p60
1080 lines of Horizontal Resolution
1080 x 1920 lines =
= 2,985,984,000 bps
or 3 Gbps Uncompressed!
Cisco (H264/H.265) codecs transmit 3-5 Mbps per 1080p60 video stream
which represents over 99.8% compression (~ 1000:1)
Packet loss is proportionally magnified by compression ratios. Users can notice a single packet lost in 10,000
— Making HD Video One Hundred Times More Sensitive to Packet Loss than VoIP!
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
VoIP vs. HD Video—At the Packet Level
Voice Packets Video Packets
1400 1400
Video Video Video
Frame Frame Frame
1000 1000
Bytes
600 Audio 600
Samples
200 200
1200
1000
Total Per-Port Buffer: 90 MB
800
600
Total Per-Queue Buffer*: 11.25 MB
400
200
Gbps Line Rate: 10 Gbps = 1.25 GB/s
0
or 1.25 MB/ms
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
Total Per-Queue Buffering Capacity: 9.0 ms
ms
GE Link
10GE Link
40GE Link
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Oversubscription in the Campus
GE Link
10GE Link
40GE Link
x 11
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Oversubscription in the Campus
GE Link
10GE Link
40GE Link
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
Oversubscription in the Campus
GE Link
10GE Link
40GE Link
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Know Your Tools
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Economy
Hardware Varies
Utility
Performance
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Software and Syntax Variations
• Catalyst 2960-X/3560-X/3750-X are the last platforms to use Multilayer Switch QoS (MLS QoS)
• QoS is disabled by default and must be globally enabled with the mls qos command
• Once enabled, all ports are set to an untrusted port-state
• Catalyst 9000, Catalyst 3650/3850, and Catalyst 4500E use IOS Modular QoS Command Line
Interface (MQC)
• QoS is enabled by default
• All ports trust at layer 2 and layer 3 by default
• Catalyst 6500-E/6800 (Sup6T & Sup2T) use Cisco Common Classification Policy Language
(C3PL) QoS
• QoS is enabled by default
• All ports trust at layer 2 and layer 3 by default
• C3PL presents queuing policies similar to MQC, but as a defined “type” of policy
Trust Boundaries
Untrusted / User-Administered Devices
no mls qos trust*
The trust boundary is the edge where
• Layer 2 (CoS / UP) and/or
• Layer 3 (DSCP) Trust Boundary
QoS markings are accepted or rejected
Trust Boundary
Centrally-Administered &
*MLS QoS syntax Conditionally-Trusted Devices
mls qos trust device*
• cisco-phone
• cts
• ip-camera
• media-player
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
Conditional Trust
Trust Boundary Extension to Cisco Devices
If a Cisco IP Phone is detected then the
trust boundary extends to the IP Phone
Access Switch CoS-to-DSCP
Mapping Table
CoS 7 DSCP CS7 (56) The IP Phone sets CoS for Voice and
CoS 6 DSCP CS6 (48) Signaling and resets all else to 0
IP Phone CoS 5 DSCP EF (46)*
CoS Mapping Table CoS 4 DSCP CS4 (32)
The access switch maps CoS-to-DSCP
CoS 6-7 CoS 0 CoS 3 DSCP CS3 (24)
Voice CoS 5 CoS 2 DSCP CS2 (16)
Signaling CoS 3 CoS 1 DSCP CS1 (8)
CoS 0-4 CoS 0 CoS 0 DSCP DF (0)
* Non-Default Mapping
Trust Boundary
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Policy Enforcement Points (PEPs)
• The Policy Enforcement Point (PEP) is the edge where classification and
marking policies are enforced
• The PEP may or may not be the same as the trust boundary
• Multiple PEPs may exist for different types of network devices
• e.g. switch PEP vs. router PEP
Note: For the sake of simplification, in this deck PEP will refer to
Trust Boundary
classification and marking policy enforcement points (only)
Switch Router and will not include other policy enforcement points (e.g. queuing).
PEP PEP
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Per-Port QoS vs. Per-VLAN QoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
NBAR2 in Hardware—Today
• UADP-based platforms:
• Catalyst 3650 and Catalyst 3850 (UADP 1.0 or 1.5)
• Catalyst 9000 Series (UADP 2.0 or 3.0)
• Supports 1400+ protocols
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Catalyst Hardware Queuing
1P3Q1T Example
3 Non-Priority
Queues
1P3Q1T BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 32
Catalyst Hardware Queuing
1P3Q1T Example
Interrupt
Resume
Scheduling
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Weighted Tail Drop (WTD) Operation
3T WTD Example
Tail of Front of
Queue Queue
Direction
of
Packet
Flow
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Weighted Random Early Detect (WRED) Operation
3T WRED Example
Tail of Front of
Queue Queue
Direction
of
Packet
Flow
AF13 Minimum WRED Threshold:
Begin randomly dropping AF13 Packets
Maximum WRED Thresholds for AF11, AF12 and AF13 are set to the tail of the queue in this example
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
Auto QoS
• Auto QoS is a macro which provisions pre-defined ingress classification & marking
and queuing (egress and/or ingress) policies to switch ports
• Eleven forms of the interface-level Auto QoS command QoS Policies for all
• auto qos voip {cisco-phone | cisco-softphone | trust} Auto QoS commands
• auto qos video {cts | ip-camera | media-player}
for MLS QoS and MQC
platforms are included
• auto qos classify [police]
Appendices D & E
• auto qos trust [cos | dscp]
• To remove Auto QoS on an interface preface the command with a “no” (i.e. no auto
qos voip cisco-phone)
• It is not recommended to modify the configuration provisioned by the Auto QoS commands
because it may affect the ability of the switch to remove the configuration at the interface-level
or globally when removing Auto QoS
• The global command “auto qos srnd4” must be configured to use the current version
of Auto QoS on Catalyst 3750-X / 3560-X / 2960-X platforms.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
QoS Policies Applied to EtherChannels
Applied to the (Logical) Applied to (Physical) Port-
Platform
Port-Channel Interface* Member Interfaces
Catalyst 2960- Ingress Classification &
X/3560-X/3750-X Marking and Egress Queuing
Catalyst Ingress Classification &
9000/3850/3650 Marking and Egress Queuing
Ingress Classification &
Catalyst 4500E Egress Queuing
Marking
Ingress Classification &
Catalyst 6800/6500-E Ingress and Egress Queuing
Marking
Ingress Classification &
Nexus 7700/7000 Marking and Egress
Queuing
*EtherChannels are comprised of logical (Port-Channel) interfaces and physical (port-member) interfaces
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Campus QoS Design Best Practices
• 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
• Establish the QoS trust boundary at the access-edge of the network
• Trust QoS within the distribution and core layers of the network
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
Campus Port QoS Roles
Untrusted Endpoint: Untrusted Endpoint:
• Ingress Classification and Marking • Port Set to Untrusted State
• [Optional Policing] (or Explicit Policy to Mark to DSCP 0)
• [Ingress and] Egress Queuing • [Optional Policing]
• [Ingress and] Egress Queuing
Trusted Port
Conditionally-Trusted Endpoint • Trust DSCP
• Conditional-Trust with Trust-CoS or DSCP (Default on all non-MLS QoS platforms)
• [Optional Ingress Classification, Marking and/or Policing] • [Ingress and] Egress Queuing
• [Ingress and] Egress Queuing
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
Campus QoS Design—At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Cisco Catalyst 2960-X /
3560-X / 3750-X QoS
Design
Catalyst 2960-X / 3560-X / 3750-X
QoS Roles in the Campus Access
No Trust +
Ingress Queuing +
Catalyst 2960-X Egress Queuing
/ 3560-X /
Trust DSCP +
3750-X Ingress Queuing +
Access-Layer Egress Queuing
Switch
Conditional Trust +
Ingress Queuing +
Egress Queuing
Distribution-Layer Classification/Marking +
Switch [Optional Policing] +
Ingress Queuing +
Egress Queuing
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Catalyst 2960-X / 3560-X / 3750-X
QoS Design Steps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Catalyst 2960-X / 3560-X / 3750-X
Enabling QoS and Trust Models
Enabling QoS:
mls qos Grey shaded commands are global
mls qos trust cos Yellow shaded commands are interface specific
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Catalyst 2960-X / 3560-X / 3750-X
Conditional Trust Model Example
Trust Boundary
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
Catalyst 2960-X / 3560-X / 3750-X
Ingress Classification & Marking Policy Example – Policy-Map
The policy-map policy-map MARKING-POLICY [continued]
definition specifies class VOIP-TELEPHONY class BULK-DATA
an ordered list of set dscp ef set dscp af11
classes, each with class BROADCAST-VIDEO class SCAVENGER
an action, with a set dscp cs5 set dscp cs1
default class at the class REALTIME-INTERACTIVE class class-default
bottom set dscp cs4 set dscp default
class MULTIMEDIA-CONFERENCING
set dscp af41 service-policy input MARKING-POLICY
class MULTIMEDIA-STREAMING
set dscp af31
The service-policy is applied inbound
class SIGNALING
(ingress classification & marking policy)
set dscp cs3
and references a policy-map definition
class OAM
set dscp cs2 Switch PEP
class TRANSACTIONAL-DATA
set dscp af21
…
Trust Boundary
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
Catalyst 2960-X / 3560-X / 3750-X
Ingress Classification & Marking Policy Example – Class-Maps
class-map match-all VOIP-TELEPHONY
The class-map definitions
match access-group name VOIP-TELEPHONY
specify the classes. ‘match-all’
class-map match-all BROADCAST-VIDEO
matches all (logical AND) match
match access-group name BROADCAST-VIDEO
statements under a class.
class-map match-all REALTIME-INTERACTIVE
‘match-any’ matches any
match access-group name REALTIME-INTERACTIVE
(logical OR) match statements
class-map match-all MULTIMEDIA-CONFERENCING
under a class.
match access-group name MULTIMEDIA-CONFERENCING
class-map match-all MULTIMEDIA-STREAMING
match access-group name MULTIMEDIA-STREAMING
class-map match-all SIGNALING
match access-group name SIGNALING ‘match access-group’ matches
class-map match-all OAM on an access-list definition
match access-group name OAM
class-map match-all TRANSACTIONAL-DATA
match access-group name TRANSACTIONAL-DATA Switch PEP
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Catalyst 2960-X / 3560-X / 3750-X
Ingress Classification & Marking Policy Model Example – Access Control List
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Note: Remarking is performed by configuring a
Catalyst 2960-X policed-DSCP map with the global configuration
command mls qos map policed-dscp, which specifies
Marking & Policing Policy Example which DSCP values are subject to remarking if out-of-
profile and what value these should be remarked as.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
Catalyst 2960-X / 3560-X / 3750-X
1P3Q3T Egress Queuing Model
Application DSCP 1P3Q3T
AF1 Q4T2
Network Control (CS7) Queue 4
CS1 (5%) Q4T1
Internetwork Control CS6
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
Catalyst 2960-X / 3560-X / 3750-X Note: The Catalyst 2960-X
can also be configured to use
an 8-queue model; however
1P3Q3T Egress Queuing Model Config—Part 1 of 2 this model is NOT supported
in a stack, nor is it supported
if AutoQoS is enabled.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Catalyst 2960-X / 3560-X / 3750-X
1P3Q3T Egress Queuing Model Config—Part 2 of 2
If the packet enters the switch on a port
that is set to trust dscp then these
! This section configures egress DSCP-to-Queue mappings DSCP-to-Queue mappings will be used
to determine how the packet is queued
mls qos srr-queue output dscp-map queue 1 threshold 3 32 40 46 on egress
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
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
Catalyst 2960-X QoS Design At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Catalyst 3560-X/3750-X QoS Design At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 58
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Cisco Catalyst
9000 / 3850 /
3650 Series QoS
Design
Catalyst 9000 / 3850 / 3650 Series
QoS Roles in the Campus
Classification/Marking +
[Optional Policing] +
Ingress Queuing +
Cisco Catalyst Egress Queuing
9600 / 9500 / 9400
Campus
Distribution-Layer
Switch
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Catalyst 9000 / 3850 / 3650 Series
QoS Design Steps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Catalyst 9000 / 3850 / 3650 Series As of IOS XE 16.5.1 and higher
match-all is also supported on
Conditional Trust Models Catalyst 3850 and 3650 Series
switches. Both match-any and
match-all are supported on
Catalyst 9000 Series switches.
Conditional-Trust Models:
interface GigabitEthernet 1/0/1 Conditional-Trust (Cisco IP Phone) Example:
trust device cisco-phone [or] class-map match-any VOICE CoS must be
trust device cts [or] match cos 5 CoS must be
matched as
trust device ip-camera [or] class-map match-any SIGNALING matched as Cisco
Cisco IP Phones
trust device media-player match cos 3 IP Phones only
only remark at
remark at Layer 2
Layer 2
policy-map CISCO-IPPHONE
Only one type of device can be class VOICE
configured for conditional trust set dscp ef
on an interface at a given time class SIGNALING
set dscp cs3
Switch PEP class class-default
set dscp default
interface GigabitEthernet 1/0/1
trust device cisco-phone
service-policy input CISCO-IPPHONE
Trust Boundary
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Catalyst 9000 / 3850 / 3650 Series
Classification Options
• ACL-based classification: match access-group
• Syntax is identical to Catalyst 2960-X / 3560-X / 3750-X ACL-based classification & marking
examples
• NBAR2 classification: match protocol
• Catalyst 3850 / 3650 IOS XE 16.3.1 and higher
• Catalyst 9300 IOS XE 16.5.1 and higher
• Catalyst 9400 IOS XE 16.9.1 and higher
• Catalyst 9200 IOS XE 16.11.1 and higher
• NBAR2 classification: match protocol attribute business-relevance and match protocol
attribute traffic-class
• Catalyst 9300 / 3850 / 3650 Series running IOS XE 16.8.1 and higher
• Catalyst 9400 Series running IOS XE 16.9.1 or higher
• Catalyst 9200 Series running IOS XE 16.11.1 or higher
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Catalyst 9000 / 3850 / 3650 Series
Configuring NBAR2 QoS Policies
match protocol enables NBAR2 classification
Note: Up to 16 match protocol statements are
supported per class-map and up to 255
class-map match-any VOICE match protocol statements in all policies.
match protocol cisco-phone policy-map NBAR-MARKING
match protocol cisco-jabber-audio class VOICE
match protocol ms-lync-audio set dscp ef
match protocol citrix-audio class BROADCAST-VIDEO
class-map match-any BROADCAST-VIDEO set dscp cs5
match protocol cisco-ip-camera class REAL-TIME-INTERACTIVE
class-map match-any REAL-TIME-INTERACTIVE set dscp cs4
match protocol telepresence-media class CALL-SIGNALING
class-map match-any CALL-SIGNALING set dscp cs3
match protocol skinny class TRANSACTIONAL-DATA
match protocol telepresence-control set dscp af21
class-map match-any TRANSACTIONAL-DATA class BULK-DATA
match protocol citrix set dscp af11
match protocol sap NBAR2 based match class SCAVENGER
… protocol is allowed only set dscp cs1
with marking or policing class class-default
actions - not queuing. set dscp default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Holy Grail QoS Config: NBAR2 1400+ App / 12-Class Model
class-map match-all VOICE
match protocol attribute traffic-class voip-telephony policy-map MARKING
match protocol attribute business-relevance business-relevant class VOICE
class-map match-all BROADCAST-VIDEO set dscp ef
match protocol attribute traffic-class broadcast-video class BROADCAST-VIDEO
match protocol attribute business-relevance business-relevant set dscp cs5
class-map match-all REAL-TIME-INTERACTIVE class REAL-TIME-INTERACTIVE
match protocol attribute traffic-class real-time-interactive set dscp cs4
match protocol attribute business-relevance business-relevant class MULTIMEDIA-CONFERENCING
class-map match-all MULTIMEDIA-CONFERENCING set dscp af41
match protocol attribute traffic-class multimedia-conferencing class MULTIMEDIA-STREAMING
match protocol attribute business-relevance business-relevant set dscp af31
class-map match-all MULTIMEDIA-STREAMING class SIGNALING
match protocol attribute traffic-class multimedia-streaming set dscp cs3
match protocol attribute business-relevance business-relevant class NETWORK-CONTROL
class-map match-all SIGNALING set dscp cs6
match protocol attribute traffic-class signaling class NETWORK-MANAGEMENT
match protocol attribute business-relevance business-relevant set dscp cs2
class-map match-all NETWORK-CONTROL class TRANSACTIONAL-DATA
match protocol attribute traffic-class network-control set dscp af21
match protocol attribute business-relevance business-relevant class BULK-DATA
class-map match-all NETWORK-MANAGEMENT set dscp af11
match protocol attribute traffic-class ops-admin-mgmt class SCAVENGER
match protocol attribute business-relevance business-relevant set dscp cs1
class-map match-all TRANSACTIONAL-DATA class class-default
match protocol attribute traffic-class transactional-data set dscp default
match protocol attribute business-relevance business-relevant
class-map match-all BULK-DATA Provisioned with Cisco DNA Center 1.2.8+ Application
match protocol attribute traffic-class bulk-data Policy on Catalyst 9000 Series access-layer switches
match protocol attribute business-relevance business-relevant
class-map match-all SCAVENGER
with IOS XE 16.10+ (Switch must support “traffic-
match protocol attribute business-relevance business-irrelevant class” and “business-relevance” attributes).
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Catalyst 9000 / 3850 / 3650
All markdown and/or
mapping operations
are configured
Marking & Policing Policy Example Policers can may be through table-maps
set to either remark or
policy-map MARKING&POLICING
drop excess traffic
class VVLAN-VOIP
set dscp ef table-map TABLE-MAP
police 128K conform-action transmit exceed-action drop map from 0 to 8
class VVLAN-SIGNALING map from 10 to 8
set dscp cs3 map from 18 to 8
police 32K conform-action transmit exceed-action drop
class MULTIMEDIA-CONFERENCING Policing to remark traffic
set dscp af41
police 5M conform-action transmit exceed-action drop
is done by referencing
class SIGNALING the previously-
[continued]
set dscp cs3class TRANSACTIONAL-DATA configured table-map
police 32K conform-action
set dscp af21transmit exceed-action drop
… police 10M conform-action transmit exceed-action set-dscp-transmit dscp table TABLE-MAP
class BULK-DATA
set dscp af11
police 100K conform-action transmit exceed-action set-dscp-transmit dscp table 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 set-dscp-transmit dscp table TABLE-MAP
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
Catalyst Hardware Queuing
2P6Q3T Example PQ1
PQ2
Interrupt
Interrupt
Scheduling
Scheduling
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Catalyst 9000 / 3850 / 3650
2P6Q3T with WTD or WRED: Wired Port Egress Queuing Model
2P6Q3T BWR = Bandwidth
Application DSCP
Remaining
Network Control (CS7) EF PQ Level 1 (10%)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Catalyst 9000 / 3850 / 3650
2P6Q3T with WTD or WRED: Wired Port Egress Queuing Class Maps
class-map match-any VOICE-PQ1
match dscp ef
class-map match-any VIDEO-PQ2
match dscp cs4
match dscp cs5
class-map match-any CONTROL-MGMT-QUEUE
[continued]
match dscp cs7
class-map match-any MULTIMEDIA-STREAMING-QUEUE
match dscp cs6
match dscp af31
match dscp cs3
match dscp af32
match dscp cs2
match dscp af33
class-map match-any MULTIMEDIA-CONFERENCING-QUEUE
class-map match-any TRANSACTIONAL-DATA-QUEUE
match dscp af41
match dscp af21
match dscp af42
match dscp af22
match dscp af43
match dscp af23
…
class-map match-any SCAVENGER-BULK-DATA-QUEUE
match dscp af11
match dscp af12
match dscp af13
match dscp cs1
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
If a PQ is enabled
Catalyst 9000 / 3850 / 3650 then non-PQs must
use bandwidth
2P6Q3T with WTD: Wired Port Egress Queuing – Policy Map remaining
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Catalyst 9000 (ONLY)
2P6Q3T with DSCP-Based WRED: Wired Port Egress Queuing – Policy Map
policy-map 2P6Q3T-WRED class TRANSACTIONAL-DATA-QUEUE
class VOICE-PQ1 bandwidth remaining percent 15 Enables DSCP-based
priority level 1 queue-buffers ratio 10 WRED for the queue
police rate percent 10 random-detect dscp-based
queue-buffers ratio 5 random-detect dscp af21 percent 80 100
class VIDEO-PQ2 random-detect dscp af22 percent 70 100
priority level 2 random-detect dscp af23 percent 60 100
police rate percent 23 class SCAVENGER-BULK-DATA-QUEUE Tunes min and max
queue-buffers ratio 5 bandwidth remaining percent 7
values of the three
class CONTROL-MGMT-QUEUE queue-buffers ratio 10
bandwidth remaining percent 10
drop thresholds to
random-detect dscp-based
queue-buffers ratio 5 random-detect dscp 8 percent 60 100 align to AF PHBs
class MULTIMEDIA-CONFERENCING-QUEUE random-detect dscp 10 percent 80 100
bandwidth remaining percent 15 random-detect dscp 12 percent 70 100
queue-buffers ratio 15 random-detect dscp 14 percent 60 100
queue-limit dscp af43 percent 80 class class-default
queue-limit dscp af42 percent 90 bandwidth remaining percent 38
class MULTIMEDIA-STREAMING-QUEUE queue-buffers ratio 25
bandwidth remaining percent 15 random-detect dscp-based
queue-buffers ratio 10 random-detect dscp default percent 80 100
queue-limit dscp af33 percent 80
queue-limit dscp af32 percent 90 interface GigabitEthernet 1/0/3
service-policy output 2P6Q3T-WRED
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Catalyst 9000 Series Per-port Policy Allocation
• Catalyst 3850 / 3650 Series supports
two egress policies
• All built-in front panel ports need to
share the same egress queueing
policy
Egress Egress Egress Egress Egress Egress
Policy Policy Policy Policy Policy Policy • All ports on network modules need
to share the same egress queueing
policy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
QoS Policy via the Catalyst 9000 Series Web UI
Navigate to Configuration > Services > QoS
WEBUI-MARKING-IN is a pre-
configured NBAR2 policy based on
Add new traffic-class and business-relevance
QoS policies attributes. Automatically appears
when you enable AVC via the Web UI.
WEBUI-QUEUING-OUT
is a pre-configured
egress queuing policy.
Automatically appears
when you enable AVC
via the Web UI. Custom QoS policies – Additional slides showing QoS
Auto QoS AVC/NBAR2 or User
policies configuration using the Catalyst 9000
Defined (DSCP or ACL)
Series Web UI are in Appendix F
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Catalyst 9000 Series QoS Design—At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 75
Catalyst 3650 / 3850 QoS Design—At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Cisco Catalyst
6800 & 6500-E
QoS Design
Cisco Catalyst 6800 / 6500-E
QoS Roles in the Campus
Catalyst 6800 /
6500-E Series
Core-Layer
Switch Trust DSCP
+ Ingress Queuing
+ Egress Queuing
Catalyst 6800 /
6500-E Series
Distribution-Layer
Switch
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Cisco Catalyst 6800 / 6500-E
QoS Design Steps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Additional Catalyst 6800 / 6500-E
Cisco Catalyst 6800 / 6500-E Sup2T/6T queuing models are
detailed in Appendix A.
2P6Q4T Ingress & Egress Queuing Models—DSCP-to-Queue
Application-Class DSCP 2P6Q4T Ingress and egress queuing
Network Control (CS7)
models varies by line card /
Voice-PQ1
EF (Priority Level 1)
module.
Internetwork Control CS6 (10%)
VoIP EF Video-PQ2
CS5 Refer to the 6500-E / 6800
(Priority Level 2)
Broadcast Video CS5 CS4 (20%) QoS Configuration Guide or
CS6 & CS7 Control/Mgmt Queue
data sheets to ensure that you
Multimedia Conferencing AF4
CS2 & CS3 (10% BWR) use the proper queuing
Realtime Interactive CS4 module for a given line card.
Multimedia-Conferencing Queue
Multimedia Streaming AF3 AF4 (15% BWR + DSCP-WRED)
AF4
Signaling CS3 Multimedia-Streaming Queue
WS-X6904-40G-2T
AF3
(15% BWR + DSCP-WRED) WS-X6904-40G-2TXL
Transactional Data AF2
C6800-8P10G
Transactional Data Queue
Network Management CS2 AF2
(15% BWR + DSCP-WRED)
C6800-8P10G-XL
Bulk Data AF1
C6800-16P10G
AF1 Bulk Data Queue C6800-16P10G-XL
Scavenger CS1 CS1 (10% BWR + DSCP-WRED)
C6800-32P10G
Default Queue C6800-32P10G-XL
Best Effort DF DF (WRED)
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/15-1SY/config_guide/sup2T/15_1_sy_swcg_2T/qos_policy_based_queueing.html
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Cisco Catalyst 6800 / 6500-E —2P6Q4T Model
Part 1 of 3—Common Ingress & Egress Queuing Class-Maps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Cisco Catalyst 6800 / 6500-E —2P6Q4T Model
Part 2 of 3—2P6Q4T Queuing Policy-Map
Policy-map must be defined as type lan-queuing
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Cisco Catalyst 6800 / 6500-E —2P6Q4T Model
Part 3 of 3—2P6Q4T Queuing Policy-Map (continued)
[continued]
class TRANSACTIONAL-DATA-QUEUE
bandwidth remaining percent 15
random-detect dscp-based
random-detect dscp af21 percent 80 100 type lan-queuing must also be
random-detect dscp af22 percent 70 100 specified in the service-policy
random-detect dscp af23 percent 60 100 statement
class BULK-DATA-QUEUE
bandwidth remaining percent 10
random-detect dscp-based
random-detect dscp af11 percent 80 100 Generally Catalyst 6800 /
random-detect dscp af12 percent 70 100 6500-E Series linecards which
random-detect dscp cs1 percent 50 100 support the 2P6Q4T queuing
class class-default structure also support both
random-detect dscp-based ingress and egress queuing
random-detect dscp default percent 80 100
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Catalyst 6800/6500-E Sup 6T/2T QoS Design
At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Meraki MS Series
Switch QoS
Design
Meraki MS Series Switches
QoS Role in the Campus
QoS on Meraki switches
is configured at the
Network level, and
applies to all switches
Meraki MS in the Meraki Network
Series
Switches
No Trust
Ingress Classification/Marking
Trust DSCP
Egress Queuing
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
Meraki MS Series Switch QoS
DSCP to CoS Map
Switch > Configure > Switch Settings
• DSCP markings of incoming
packets are mapped to one of the
six configurable CoS queues on
the switch for forwarding
0
• Multiple DSCP values can be 1
mapped to the same CoS queue 2
https://documentation.meraki.com/MS/Other_Topics/MS_Switch_Quality_of_Service_Defined
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Meraki MS Series Switch QoS
• Each CoS queue is assigned a weight which
determines the ratio of bandwidth assigned to the
queue
• QoS guarantees a certain fraction of the uplink to
each configured queue when the link is congested
• If a queue is not fully utilized, the bandwidth will be
used by other queues
• Note: Meraki MS Series switches do not support
strict priority queuing
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
Meraki MS Series Switch QoS
Dashboard QoS Rules for the Network
• A rule can apply to any combination of VLAN, protocol, source port, or destination port
• Meraki MS120 Series switches support QoS rules based on IP range only
• Each rule has one of the following actions – Trust or Set the DSCP marking
• As soon as the first QoS rule is added, the switch will trust DSCP markings on incoming
packets that have DSCP to CoS mappings. This rule is invisible and processed last.
• If an incoming packet has a DSCP marking set but no matching QoS rule or DSCP to
CoS mapping, it will be placed in the default queue
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Campus WLAN QoS
Design Considerations
and Best Practices
The Case for Wireless QoS
© 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public
Wireless QoS-Specific Limitations
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Know Your Tools
• IEEE 802.11
• User Priorities (UP)
• Access Categories (AC)
• Arbitration Inter-frame Spacing (AIFS)
• Contention Windows (CW)
• Enhanced Distributed Coordination Function (EDCF)
• DSCPUP Mapping
• Trust Boundaries
• Policy-Enforcement Points
• Application Visibility and Control (AVC)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
IEEE 802.11 User Priority (UP)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
IEEE 802.11 UP Values and Access Categories
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
IEEE 802.11 Arbitration Inter-Frame Spacing
(AIFS) and Contention Windows (CW)
• Due to the nature of wireless as a shared media, a Congestion Avoidance algorithm (CSMA/CA) must be utilized
• Wireless senders have to wait a fixed amount of time (the AIFS)
• Wireless senders also have to wait a random amount of time (the Contention Window)
• AIFS and Contention Window timers vary by Access Category
Video 2 Video 7 15
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Downstream DSCP-to-UP Default Mapping
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Downstream DSCP-to-UP Mapping Model
Ratified Cisco Consensus Model (June 2015)
RFC 4594-Based Model DSCP IEEE 802.11 Model
Remark /
Network Control (CS7) Drop
if not in UP 7 Voice
• Provides distinction Internetwork Control CS6
between elastic and
use Access
inelastic video classes
Voice + DSCP-Admit EF + 44 UP 6 Category
Broadcast Video CS5
• Aligns RFC 4594 Multimedia Conferencing AF4 UP 5 Video
recommendations into
the IEEE 802.11 model Realtime Interactive CS4 Access
UP 4 Category
Multimedia Streaming AF3
• Requires several custom
DSCP-to-UP mappings Signaling CS3
UP 3 Best Effort
Transactional Data AF2 Access
OAM CS2 UP 0 Category
Bulk Data AF1
Key Point:
Radio Upstream
QoS requires the
device to set UP
markings correctly 3-Bit UP 6-Bit DSCP
Last 3 Bits are zeroed-out First 3 Bits are copied
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Upstream DSCP Trust Model
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
RFC 8325 - Mapping
DiffServ to IEEE 802.11
• Reconciles RFC 4594 with IEEE
802.11
• Summarizes our internal consensus
on DSCP-to-UP mapping
• Advocates DSCP-trust in the
upstream direction
(vs. UP-to-DSCP mapping)
https://tools.ietf.org/html/rfc8325
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Cisco WLAN QoS Design At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Cisco AireOS WLC
AVC/QoS Design
Cisco AireOS WLC
QoS Roles in the Wireless LAN – Centralized Mode
• Customizable DSCPUP Mappings (AireOS 8.1MR and higher) modify the QoS
Roles of the AP and WLC:
• Trust Boundary moves to the AP
• PEP remains at the WLC
CAPWAP Tunnel
AireOS WLC
Trust Boundary
PEP
With AireOS 8.1MR and higher the trust-
boundary can be extended to the AP
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Cisco AireOS WLC
QoS Design Steps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
AireOS – EDCA Profiles
EDCA Profiles control access to the wireless media
through differentiated contention window (aCWmin &
aCWmax), arbitrated interframe space (AIFS), and
transmit opportunity (TXOP) settings for each of the
• Tunable for each radio (5 GHz & 2.4 GHz) access categories (AC_VO, AC_VI, AC_BE, AC_BK)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
AireOS – CAC
• Supported for Voice, Video, & Media
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
AireOS – QoS Profiles (Precious Metals)
• Platinum, Gold, Silver or Bronze templates
which can be applied to WLANs
• The main purpose of the QoS profile is to
limit the maximum DSCP allowed and thus
limit the 802.11 UP value.
• Per-User or Per-SSID rate limiting
• Real-Time (UDP) & non-Real-Time (TCP)
flows
• Upstream & Downstream Rates
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
AireOS AVC & FlexConnect AVC Profiles
• NBAR-based policies
• NBAR versions are generally different between the
WLC (AVC Profiles) and the AP (FlexConnect
Profiles)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
AireOS – Applying QoS & AVC Profiles to WLANs
• Navigate to WLANs, select the
WLAN ID, and select the QoS tab
• Select the QoS Profile to apply to
the WLAN
• Enable Application Visibility and
select the AVC Profile to apply to
the WLAN
• You can override per-user and per-
SSID rate limiting for the WLAN if
you choose
• Set the WMM Policy on the WLAN
• Disabled
• Allowed
• Required
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
AireOS – DSCP-to-UP Mapping & DSCP Trust
• Disable the QoS Map to
change the mappings
• Upstream configuration
• Trust DSCP UpStream
(recommended)
• UP to DSCP Map
• A table will appear allowing you to
choose the mappings
• Downstream configuration
• Configure the DSCP to UP Map
ranges
• Add DSCP Exceptions to the
map
• Re-enable the QoS Map
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Cisco AirOS QoS Design At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
Cisco AirOS QoS Mapping At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
Cisco Catalyst 9800
WLC QoS Design
Cisco Catalyst 9800 WLC
QoS Design Steps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
Catalyst 9800 – EDCA Profiles
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
Catalyst 9800 CAC
• Only supported for Voice & Media (no
Video CAC)
• Tune for each radio (5 GHz & 2.4
GHz)
• Radio must be disabled before
changing CAC settings
• Navigate to Configuration > Media
Parameters > 5 GHz Band or 2.4 GHz
Band
• Load Based CAC takes into account
channel loading impact due to
interference, other APs, etc. as well
as client traffic
• SIP CAC Support is for wireless
stations that do not support TSPEC-
based admission control
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 123
1 of 4
Catalyst 9800 – QoS Policy (Web-UI)
• Navigate to Configuration >
Services > QoS
• Click +Add to add a new QoS
policy
• Disable Auto QoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 124
2 of 4
Catalyst 9800 – AVC Class-maps (Web-UI)
• For NBAR-based policies, select AVC
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 125
3 of 4
Catalyst 9800- ACL Class-maps (Web-UI)
• For ACL-based policies, select
User Defined
• Currently supported match types for
User Defined class-maps
• DSCP or ACL
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 126
4 of 4
Catalyst 9800 – QoS Policy (Web-UI)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 127
Apply QoS Policies to Policy Profiles
• Navigate to Configuration > Tags & Profiles > Policy • Click the Update & Apply to Device button to
save the Policy Tag
• Click on the Policy Profile to edit and then select QoS and AVC
• Apply QoS
policies per SSID
• Precious Metals
• Custom Policy
• Apply QoS
policies per client
• Custom Policy
• Optionally apply
Auto QoS policy
• Enterprise
• Fastlane
• Guest
• Voice
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 128
Catalyst 9800 - Apply Policy Profile to Policy Tag
• Navigate to Configuration > Tags & Profiles > Tags
• Under the Policy tab select the Policy Tag to which you want to apply the QoS Policy Profile
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 131
Catalyst 9800 - Apply the Policy Tag to APs
• One of the way is to use
the static method, under
the AP tab select the Static
tab
• Click +Add to assign a
Policy Tag, Site Tag, and
RF Tag to an AP. Type in
the MAC Address of the AP
• Select the Policy Tag, Site
Tag, and RF Tag from the
drop-down menus
• Click the Save & Apply to
Device button to save the
tag assignments
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 132
Catalyst 9800 – DSCP-to-UP Mapping & DSCP
Trust
IETF DiffServ Service Class DSCP 802.11 User 801.11 Access
Priority Category
• DSCP-to-UP mapping in Network Control CS6, (CS7) 0 AC_BE
the downstream direction IP Telephony EF 6 AC_VO
are statically defined on VOICE-ADMIT 44 6 AC_VO
the Catalyst 9800 WLC Signaling CS5 5 AC_VI
Multimedia Conferencing AF4x 4 AV_VI
• DSCP Trust is enabled by
Real-Time Interactive CS4 5 AC_VI
default in the upstream
direction Multimedia Streaming AF3x 4 AC_VI
Broadcast Video CS3 4 AC_VI
Low-Latency Data (Transactional AF2x 3 AC_BE
Data)
OAM CS2 0 AC_BE
High-Throughput Data (Bulk Data) AF1x 2 AC_BK
Low-Priority Data (Scavenger) CS1 1 AC_BK
Remaining Remaining 0 AC_BE
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 133
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 136
Meraki MR Series
AP QoS Design
Meraki MR Series AP QoS
Bandwidth Shaping - Configure > Firewall and Traffic shaping
https://documentation.meraki.com/MR/Firewall_and_Traffic_Shaping/Traffic_and_Bandwidth_Shaping
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 138
Meraki MR Series AP QoS
Traffic Shaping – Configure > Firewall and Traffic shaping
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 139
Meraki MR Series AP QoS
Upstream and Downstream QoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 140
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 141
What are we doing
to make this
simpler?
How Are We Simplifying Campus QoS?
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 143
Cisco DNA Center Application Policy &
Application Assurance Demo
Cisco DNA Center - Application Policy & Assurance
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 146
Agenda
• Campus QoS Design Considerations and Best Practices
• Cisco Catalyst 2960-X / 3560-X / 3750-X QoS Design
• Cisco Catalyst 9000 / 3850 / 3650 Series QoS Design
• Cisco Catalyst 6800 / 6500-E QoS Design
• Meraki MS Series Switch QoS Design
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 147
Summary and
References
Key Takeaways
• Start by identifying the business objectives behind implementing QoS
• QoS on the wired side of the campus is needed primarily to control packet drops
• WLAN QoS is needed to control both jitter and packet drops
• Know your QoS toolset, as this varies platform-to-platform
• Cisco provides many At-A-Glance guides to get you up and running quickly and
design guides for more detail
• Cisco is continuing to simplify QoS—both in hardware and software
• Cisco DNA Center Application Policy delivers simplicity for Campus QoS through
intent-based QoS policy
• Cisco DNA Assurance provides visibility into applications and application
performance on the network
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 149
Your Choice
Manual QoS Policy Intent-Based Application Policy
ip access-list extended APIC_EM-MM_STREAM-ACL
remark citrix - Citrix
permit tcp any any eq 1494
permit udp any any eq 1494
permit tcp any any eq 2598
permit udp any any eq 2598
remark citrix-static - Citrix-Static
permit tcp any any eq 1604
permit udp any any eq 1604
permit tcp any any range 2512 2513
permit udp any any range 2512 2513
remark pcoip - PCoIP
permit tcp any any eq 4172
permit udp any any eq 4172
permit tcp any any eq 5172
permit udp any any eq 5172
remark timbuktu - Timbuktu
permit tcp any any eq 407
permit udp any any eq 407
remark xwindows - XWindows
permit tcp any any range 6000 6003
remark vnc - VNC
permit tcp any any eq 5800
permit udp any any eq 5800
permit tcp any any range 5900 5901
permit udp any any range 5900 5901
exit
ip access-list extended APIC_EM-SIGNALING-ACL
remark h323 - H.323
permit tcp any any eq 1300
permit udp any any eq 1300
permit tcp any any range 1718 1720 BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 150
Recommended Reading
Cisco Catalyst 9000 Switching Platforms: QoS and Queuing
https://www.cisco.com/c/en/us/products/collateral/switches/
catalyst-9000/white-paper-c11-742388.pdf
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 151
Campus QoS Design 4.0—In-Depth
Comprehensive Design Chapters
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 152
Recommended Reading
End-to-End QoS (v2)
• Release Date: Jan 2014
http://www.amazon.com/End---End-QoS-Network-Design/dp/1587143690/
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 153
Recommended Reading
APIC-EM EasyQoS Solution Design Guide
https://www.cisco.com/c/en/us/td/docs/solutions/CVD/Dec2017/APIC-EM-EasyQoS-DesignGuide-Dec2017.pdf
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 154
Complete your
online session
survey • Please complete your session survey
after each session. Your feedback
is very important.
• Complete a minimum of 4 session
surveys and the Overall Conference
survey (starting on Thursday) to
receive your Cisco Live t-shirt.
• All surveys can be taken in the Cisco Events
Mobile App or by logging in to the Content
Catalog on ciscolive.com/emea.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 155
Continue your education
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 156
Thank you
Appendix: A
Catalyst 6500-E / 6800
Queuing Models
Catalyst 6500-E / 6807-XL with Sup2T/6T
Ingress & Egress Queueing Models
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 160
1Q8T – Ingress Queueing
CoS to Queue Mapping
CoS-based Tail-Drop
1Q8T Ingress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 162
Catalyst 6500-E/6807-XL with Sup2T/6T
1Q8T Ingress Queuing Models—CoS-to-Queue Mapping w/ COS-based Tail-Drop
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 163
Catalyst 6500-E/6807-XL—1Q8T Ingress Model
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 164
2Q4T – Ingress Queueing
CoS to Queue Mapping
CoS-based Tail-Drop
2Q4T Ingress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 166
Catalyst 6500-E/6807-XL with Sup2T
2Q4T Ingress Queuing Models—CoS-to-Queue Mapping
Application-Class DSCP CoS 2Q4T
VoIP EF CoS 6
CoS 5
Broadcast Video CS5
CoS 5
Multimedia Conferencing AF4
CoS 4
Realtime Interactive CS4
CoS 4
Multimedia Streaming AF3
CoS 3
Signaling CS3 CoS 3 Q1 60% BW
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 167
Catalyst 6500-E/6807-XL with Sup2T
2Q4T Ingress Queuing Models—CoS-to-Queue Mapping w/ CoS-based Tail-Drop
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 168
Catalyst 6500-E/6807-XL—2Q4T Ingress Model
interface GigabitEthernet1/3/1
service-policy type lan-queuing input APIC_EM-QUEUING-2Q4T-IN
interface TenGigabitEthernet1/3/4
service-policy type lan-queuing input APIC_EM-QUEUING-2Q4T-IN
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 169
2Q8T – Ingress Queueing
CoS to Queue Mapping
CoS-based Tail-Drop
2Q8T Ingress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 171
Cisco Catalyst 6500-E/6807-XL with Sup2T
2Q8T Ingress Queuing Models—CoS-to-Queue Mapping
Application-Class DSCP CoS 2Q8T
VoIP EF CoS 6
CoS 5
Broadcast Video CS5
CoS 5
Multimedia Conferencing AF4
CoS 4
Realtime Interactive CS4
CoS 4
Multimedia Streaming AF3
CoS 3
Signaling CS3 CoS 3 Q1 60% BW
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 172
Cisco Catalyst 6500-E/6807-XL with Sup2T
2Q8T Ingress Queuing Models—CoS-to-Queue Mapping w/ CoS-based Tail-Drop
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 173
Catalyst 6500-E/6807-XL—2Q8T Ingress Model
class-map type lan-queuing match-all APIC_EM-Q2-2Q8T-QUEUE
match cos 7 6 5 4
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 174
8Q4T – Ingress Queueing
DSCP to Queue Mapping
DSCP-based WRED
8Q4T Ingress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 176
How to Disable or Display the State of
GigabitEthernet Interfaces on the Sup2T
o23-6500-1(config)#platform qos 10g-only Global command disables GigabitEthernet interfaces on the
Sup2T.
o23-6500-1#show platform qos module 3
QoS is enabled globally
Port QoS is enabled globally
QoS serial policing mode enabled globally Exec-level command to show whether the
Distributed Policing is Disabled GigabitEthernet interfaces on the Sup2T
Secondary PUPs are enabled are enabled or disabled
QoS Trust state is DSCP on the following interface:
EO0/2 Gi1/1 Gi1/2 Gi1/3 Gi1/4 Gi1/5 Gi1/6 Gi1/7 Gi1/8 Gi1/9
Gi1/10 Gi1/11 Gi1/12 Gi1/13 Gi1/14 Gi1/15 Gi1/16 Gi1/17 Gi1/18 Gi1/19
Gi1/20 Gi1/21 Gi1/22 Gi1/23 Gi1/24 Gi1/25 Gi1/26 Gi1/27 Gi1/28 Gi1/29
Gi1/30 Gi1/31 Gi1/32 Gi1/33 Gi1/34 Gi1/35 Gi1/36 Gi1/37 Gi1/38 Gi1/39
Gi1/40 Gi1/41 Gi1/42 Gi1/43 Gi1/44 Gi1/45 Gi1/46 Gi1/47 Gi1/48 Te2/1
Te2/2 Te2/3 Te2/4 Te2/5 Te2/6 Te2/7 Te2/8 Gi3/1 Gi3/2 Gi3/3
Te3/4 Te3/5 Te5/1 Te5/2 Te5/3 Te5/4 Te5/5 Te5/6 Te5/7 Te5/8
Te5/9 Te5/10 Te5/11 Te5/12 Te5/13 Te5/14 Te5/15 Te5/16 Te6/1 Te6/2
Te6/3 Te6/4 CPP CPP.1 Vl1
QoS 10g-only mode supported: Yes [Current mode: Off]
GigabitEthernet interfaces on the
Global Policy-map: ingress[] Sup2T are currently enabled
…
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 177
How to Enable or Display Performance Mode on
Linecards
Global command enables
performance mode on a port
o23-6500-1(config)#no hw-module slot 5 oversubscription port-group 4 group of a linecard
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 178
Cisco Catalyst 6500-E/6807-XL with Sup2T
8Q4T Ingress Queuing Models—DSCP-to-Queue Mapping
8Q4T
Application-Class DSCP
EF Realtime Queue
Network Control (CS7) CS5 (10% BW)
Internetwork Control CS6 CS4
CS7
VoIP EF
CS6 Control Queue
Broadcast Video CS5 CS3 (10% BW)
CS2
Multimedia Conferencing AF4
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 179
Cisco Catalyst 6500-E/6807-XL with Sup2T
8Q4T Ingress Queuing Models—DSCP-to- 8Q4T
EF
Queue with DSCP-WRED CS5 Realtime Queue
All noted thresholds are
(10% BW) Min WRED thresholds
Application-Class DSCP CS4
CS7
Network Control (CS7) All max WRED thresholds
CS6 Control-Plane Queue
Are set to 100%
Internetwork Control CS6 CS3 (10% BW)
CS2
VoIP EF
AF41 Q6T3—80%
Broadcast Video CS5 AF42 Q6T2—70% Multimedia-Conferencing Queue
AF43 (20% BW + DSCP-WRED)
Multimedia Conferencing AF4 Q6T1—60%
Q5T3—80%
Realtime Interactive CS4 AF31
AF32 Q5T2—70%
Multimedia-Streaming Queue (20%
Multimedia Streaming AF3 BW + DSCP-WRED)
AF33 Q5T1—60%
Signaling CS3
AF21 Q4T3—80%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 181
Catalyst 6500-E/6807-XL —8Q4T Ingress Model
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 182
Catalyst 6500-E/6807-XL —8Q4T Ingress Model
[continued]
class APIC_EM-TRANS_DATA-8Q4T-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 APIC_EM-BULK_DATA-8Q4T-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 APIC_EM-SCAVENGER-8Q4T-QUEUE
bandwidth percent 1
class class-default
random-detect dscp-based
random-detect dscp default percent 80 100
interface TenGigabitEthernet1/3/4
service-policy type lan-queuing input APIC_EM-QUEUEING-8Q4T-IN
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 183
8Q8T – Ingress Queueing
CoS to Queue Mapping
CoS-based Tail-Drop
8Q8T Ingress Queueing Linecards
WS-X6704-10GE supported with a DFC4/DFC4XL upgrade (WS-F6k-
DFC4-A, WS-F6k-DFC4-AXL)
o23-6500-1#show module
Mod Ports Card Type Model Serial No.
--- ----- -------------------------------------- ------------------ -----------
1 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX SAL10478SWP
2 8 DCEF2T 8 port 10GE WS-X6908-10G SAL172682AK
3 5 Supervisor Engine 2T 10GE w/ CTS (Acti VS-SUP2T-10G SAL1702WNR0
5 16 CEF720 16 port 10GE WS-X6716-10GE SAL1228WYB7
6 4 CEF720 4 port 10-Gigabit Ethernet WS-X6704-10GE SAL15013XBH
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 185
Cisco Catalyst 6500-E/6807-XL with Sup2T
8Q8T Ingress Queuing Models—CoS-to-Queue Mapping CoS-based WRED
Application-Class DSCP CoS
8Q8T
Network Control (CS7) CoS 7
Q8-VoIP-Broadcast Queue
Internetwork Control CS6 CoS 6 CoS 5 (10% BW )
Q1-Default Queue
Best Effort DF CoS 0 CoS 0 (25% BW)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 186
Catalyst 6500-E/6807-XL —8Q8T Ingress Model
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 187
Catalyst 6500-E/6807-XL —8Q8T Ingress Model
interface TenGigabitEthernet1/3/4
service-policy type lan-queuing input APIC_EM-QUEUEING-8Q8T-IN
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 188
1P7Q2T – Ingress Queueing
DSCP to Queue Mapping
DSCP-based WRED
1P7Q2T Ingress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 190
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P7Q2T Ingress Queuing Models—DSCP-to-Queue Mapping
1P7Q2T
Application-Class DSCP
EF
Network Control (CS7) CS5 Realtime Queue
(Priority)
Internetwork Control CS6 CS4
VoIP EF CS7
CS6 Control Plane Queue
Broadcast Video CS5 (10% BWR)
CS3
Multimedia Conferencing AF4 CS2
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 191
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P7Q2T Ingress Queuing —DSCP-to- 1P7Q2T
EF
Queue Mapping (DSCP-WRED) CS5
Realtime Queue
(Priority)
All noted thresholds are
Min WRED thresholds
Application-Class DSCP CS4 All max WRED thresholds
CS7 Are set to 100%
Network Control (CS7)
CS6 Control Plane Queue
Internetwork Control CS6 CS3 (10% BWR)
CS2
VoIP EF
AF41 Q6T2—80%
Broadcast Video CS5 Multimedia-Conferencing Queue
AF42 (20% BWR + DSCP-WRED)
AF43 Q6T1—70%
Multimedia Conferencing AF4
Realtime Interactive CS4 Q5T2—80%
AF31 Multimedia-Streaming Queue (15%
Multimedia Streaming AF3 AF32 BWR + DSCP-WRED)
AF33 Q5T1—70%
Signaling CS3
AF21 Q4T2—80%
Transactional Data AF2 AF22 Q4T1—70% Transactional Data Queue
Network Management CS2 AF23 (15% BWR + DSCP-WRED)
AF11 Q3T2—80%
Bulk Data AF1
AF12 Q3T1—70%
AF13 Bulk Data Queue
Scavenger CS1
(9% BWR + DSCP-WRED)
CS1 Scavenger Queue (1% BW)
Best Effort DF
DF Default Queue
(30% BWR + DSCP-WRED)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 192
Cisco Catalyst 6500-E/6807-XL - 1P7Q2T
Ingress Model
class-map type lan-queuing match-all APIC_EM-REALTIME-1P7Q2T-QUEUE
match dscp cs4 cs5 ef
class-map type lan-queuing match-all APIC_EM-CONTROL-1P7Q2T-QUEUE
match dscp cs2 cs3 cs6 cs7
class-map type lan-queuing match-all APIC_EM-MM_CONF-1P7Q2T-QUEUE
match dscp af41 af42 af43
class-map type lan-queuing match-all APIC_EM-MM_STREAM-1P7Q2T-QUEUE
match dscp af31 af32 af33
class-map type lan-queuing match-all APIC_EM-TRANS_DATA-1P7Q2T-QUEU
match dscp af21 af22 af23
class-map type lan-queuing match-all APIC_EM-BULK_DATA-1P7Q2T-QUEUE
match dscp af11 af12 af13
class-map type lan-queuing match-all APIC_EM-SCAVENGER-1P7Q2T-QUEUE
match dscp cs1
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 193
Catalyst 6500-E/6807-XL —1P7Q2T Ingress
Model
policy-map type lan-queuing APIC_EM-QUEUEING-1P7Q2T-IN
class APIC_EM-REALTIME-1P7Q2T-QUEUE
priority
class APIC_EM-CONTROL-1P7Q2T-QUEUE
bandwidth remaining percent 10
class APIC_EM-MM_CONF-1P7Q2T-QUEUE
bandwidth remaining percent 20
class APIC_EM-MM_STREAM-1P7Q2T-QUEUE
bandwidth remaining percent 15
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 194
Catalyst 6500-E/6807-XL - 1P7Q2T Ingress
Model
[continued]
class APIC_EM-TRANS_DATA-1P7Q2T-QUEU
bandwidth remaining percent 15
class APIC_EM-BULK_DATA-1P7Q2T-QUEUE
bandwidth remaining percent 9
class APIC_EM-SCAVENGER-1P7Q2T-QUEUE
bandwidth remaining percent 1
class class-default
interface TenGigabitEthernet1/3/4
service-policy type lan-queuing input APIC_EM-QUEUEING-1P7Q2T-IN
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 195
2P6Q4T Ingress & Egress
Queueing
DSCP to Queue Mapping
DSCP-based WRED
2P6Q4T Ingress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 197
Cisco Catalyst 6500-E/6807-XL with Sup2T
2P6Q4T (Ingress & Egress Queuing Models—DSCP-to-Queue)
Application-Class DSCP 2P6Q4T
Network Control (CS7) Voice-PQ1
EF (Priority Level 1)
Internetwork Control CS6
CS4
VoIP EF CS5 Video-PQ2
(Priority Level 2)
Broadcast Video CS5 AF4
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 198
Cisco Catalyst 6500-E/6807-XL with Sup2T
2P6Q4T (Ingress & Egress Queuing
2P6Q4T
Models—DSCP-to-Queue with DSCP WRED Voice-PQ1
Application-Class DSCP EF (Priority Level 1)
CS4
Network Control (CS7)
CS5 Video-PQ2
Internetwork Control CS6 (Priority Level 2)
AF4
VoIP EF
CS7 & CS6 Control Plane Queue
Broadcast Video CS5 (10% BWR)
CS3 & CS2
Multimedia Conferencing AF4 Q4T3—80%
AF31
Realtime Interactive CS4 AF32 Q4T2—70%
AF33
Multimedia Streaming AF3 Q4T1—60%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 200
Cisco Catalyst 6500-E/6807-XL—2P6Q4T Model
Part 2 of 3—2P6Q4T Queuing Policy-Map
policy-map type lan-queuing APIC_EM-QUEUING-2P6Q4T
class APIC_EM-VOICE-2P6Q4T-PQ1
priority level 1
class APIC_EM-VIDEO-2P6Q4T-PQ2
priority level 2
class APIC_EM-CONTROL-2P6Q4T-QUEUE
bandwidth remaining percent 10
class APIC_EM-MM_STREAM-2P6Q4T-QUEUE
bandwidth remaining percent 20
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
class APIC_EM-TRANS_DATA-2P6Q4T-QUEUE
bandwidth remaining percent 20
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
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 201
Cisco Catalyst 6500-E/6807-XL—2P6Q4T Model
Part 3 of 3—2P6Q4T Queuing Policy-Map (continued)
[continued]
class APIC_EM-BULK_DATA-2P6Q4T-QUEUE
bandwidth remaining percent 14
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 APIC_EM-SCAVENGER-2P6Q4T-QUEUE
bandwidth remaining percent 1
class class-default
random-detect dscp-based
random-detect dscp default percent 80 100
interface TenGigabitEthernet1/1/13
service-policy type lan-queuing input APIC_EM-QUEUEING-2P6Q4T
service-policy type lan-queuing output APIC_EM-QUEUEING-2P6Q4T
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 202
1P3Q8T – Egress Queueing
CoS to Queue Mapping
CoS-based Tail-Drop
1P3Q8T Egress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 204
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P3Q8T Egress Queuing Models—CoS-to-Queue Mapping
1P3Q8T
Application-Class DSCP CoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 205
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P3Q8T Egress Queuing Models—CoS-to-Queue Mapping with CoS-WRED
1P3Q8T
Application-Class DSCP CoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 206
Catalyst 6500-E/6807-XL—1P3Q8T Egress
Model
class-map type lan-queuing match-all APIC_EM-REALTIME-1P3Q8T-QUEUE
match cos 4 5
class-map type lan-queuing match-all APIC_EM-CONTROL-1P3Q8T-QUEUE
match cos 6 7
class-map type lan-queuing match-all APIC_EM-TRANS_DATA-1P3Q8T-QUEUE
match cos 2 3
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 207
Cisco Catalyst 6500-E/6807-XL —1P3Q8T
Egress Model
policy-map type lan-queuing APIC_EM-QUEUING-1P3Q8T-OUT
class APIC_EM-REALTIME-1P3Q8T-QUEUE
priority
class APIC_EM-CONTROL-1P3Q8T-QUEUE
bandwidth remaining percent 5
class APIC_EM-TRANS_DATA-1P3Q8T-QUEUE
bandwidth remaining percent 45
random-detect cos-based
random-detect cos 3 percent 80 100
random-detect cos 2 percent 70 100
class class-default
random-detect cos-based
random-detect cos 0 percent 80 100
random-detect cos 1 percent 70 100
interface GigabitEthernet1/3/2
service-policy type lan-queuing output APIC_EM-QUEUING-1P3Q8T-OUT
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 208
1P3Q4T – Egress
Queueing
CoS to Queue
Mapping
CoS-based Tail-
Drop
1P3Q4T Egress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 210
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P3Q4T Egress Queuing Models—CoS-to-Queue Mapping
1P3Q4T
Application-Class DSCP CoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 211
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P3Q4T Egress Queuing Models—CoS-to-Queue Mapping with CoS WRED
1P3Q4T
Application-Class DSCP CoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 212
Catalyst 6500-E/6807-XL —1P3Q4T Egress
Model
class-map type lan-queuing match-all APIC_EM-REALTIME-1P3Q4T-QUEUE
match cos 4 5
class-map type lan-queuing match-all APIC_EM-CONTROL-1P3Q4T-QUEUE
match cos 6 7
class-map type lan-queuing match-all APIC_EM-TRANS_DATA-1P3Q4T-QUEUE
match cos 2 3
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 213
Catalyst 6500-E/6807-XL —1P3Q4T Egress
Model
policy-map type lan-queuing APIC_EM-QUEUING-1P3Q4T-OUT
class APIC_EM-REALTIME-1P3Q4T-QUEUE
priority
class APIC_EM-CONTROL-1P3Q4T-QUEUE
bandwidth remaining percent 5
class APIC_EM-TRANS_DATA-1P3Q4T-QUEUE
bandwidth remaining percent 45
random-detect cos-based
random-detect cos 3 percent 80 100
random-detect cos 2 percent 70 100
class class-default
random-detect cos-based
random-detect cos 0 percent 80 100
random-detect cos 1 percent 70 100
interface GigabitEthernet1/3/1
service-policy type lan-queuing output APIC_EM-QUEUING-1P3Q4T-OUT
interface TenGigabitEthernet1/3/4
service-policy type lan-queuing output APIC_EM-QUEUING-1P3Q4T-OUT
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 214
1P7Q4T –Egress
Queueing
DSCP to Queue
Mapping
DSCP-based
WRED
1P7Q4T Egress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 216
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P7Q4T Egress Queuing Models—DSCP-to-Queue Mapping
1P7Q4T
Application-Class DSCP
EF
Network Control (CS7) CS5
Realtime Queue
(Priority)
Internetwork Control CS6 CS4
VoIP EF CS7
CS6 Control Plane Queue
Broadcast Video CS5 CS3 (10% BWR)
CS2
Multimedia Conferencing AF4
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 217
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P7Q4T Egress Queuing Models—DSCP- 1P7Q4T
EF
to-Queue with DSCP-WRED CS5 Realtime Queue All noted thresholds are
(Priority)
Application-Class DSCP CS4 Min WRED thresholds
AF31 Q5T3—80%
Realtime Interactive CS4 Multimedia-Streaming Queue
AF32 Q5T2—70% (15% BWR + DSCP-WRED)
Multimedia Streaming AF3 AF33 Q5T1—60%
Signaling CS3 AF21 Q4T3—80%
AF22 Q4T2—70% Transactional Data Queue
Transactional Data AF2 AF23
(15% BWR + DSCP-WRED)
Q4T1—60%
Network Management CS2 AF11 Q3T3—80%
Bulk Data Queue
Bulk Data AF1 AF12 Q3T2—70%
(9% BWR + DSCP-WRED)
AF13 Q3T1—60%
Scavenger CS1
CS1 Scavenger Queue (1% BWR)
Best Effort DF DF Default Queue
(30% BWR + DSCP-WRED)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 218
Catalyst 6500-E/6807-XL —1P7Q4T Egress
Model
class-map type lan-queuing match-all APIC_EM-REALTIME-1P7Q4T-QUEUE
match dscp cs4 cs5 ef
class-map type lan-queuing match-all APIC_EM-CONTROL-1P7Q4T-QUEUE
match dscp cs2 cs3 cs6 cs7
class-map type lan-queuing match-all APIC_EM-MM_CONF-1P7Q4T-QUEUE
match dscp af41 af42 af43
class-map type lan-queuing match-all APIC_EM-MM_STREAM-1P7Q4T-QUEUE
match dscp af31 af32 af33
class-map type lan-queuing match-all APIC_EM_TRANS_DATA-1P7Q4T-QUEUE
match dscp af21 af22 af23
class-map type lan-queuing match-all APIC_EM_BULK_DATA-1P7Q4T-QUEUE
match dscp af11 af12 af13
class-map type lan-queuing match-all APIC_EM_SCAVENGER-1P7Q4T-QUEUE
match dscp cs1
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 219
Cisco Catalyst 6500-E/6807-XL —1P7Q4T
Egress Model
policy-map type lan-queuing APIC_EM-QUEUING-1P7Q4T-OUT
class APIC_EM-REALTIME-1P7Q4T-QUEUE
priority
class APIC_EM-CONTROL-1P7Q4T-QUEUE
bandwidth remaining percent 10
class APIC_EM-MM_CONF-1P7Q4T-QUEUE
bandwidth remaining percent 20
random-detect dscp-based
random-detect dscp af41 percent 80 100
random-detect dscp af42 percent 70 100
random-detect dscp af42 percent 60 100
class APIC_EM-MM_STREAM-1P7Q4T-QUEUE
bandwidth remaining percent 15
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
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 220
Cisco Catalyst 6500-E/6807-XL —1P7Q4T
Egress Model
[continued]
class APIC_EM_TRANS_DATA-1P7Q4T-QUEUE
bandwidth remaining percent 15
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 APIC_EM_BULK_DATA-1P7Q4T-QUEUE
bandwidth remaining percent 9
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 APIC_EM_SCAVENGER-1P7Q4T-QUEUE
bandwidth remaining percent 1
class class-default
random-detect dscp-based
random-detect dscp default percent 80 100
interface TenGigabitEthernet1/3/4
service-policy type lan-queuing output APIC_EM-QUEUING-1P7Q4T-OUT
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 221
1P7Q8T – Egress
Queueing
CoS to Queue
Mapping
CoS-based Tail-
Drop
1P7Q8T Egress Queueing Linecards
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 223
Cisco Catalyst 6500-E/6807-XL with Sup2T
1P7Q8T Egress Queuing Models—CoS-to-Queue Mapping CoS-based WRED
VoIP EF
CoS 5 CoS 7 Q7 - Network Control Queue
(5% BWR)
Broadcast Video CS5
Q6 - Internetwork Control Queue
Multimedia Conferencing AF4 (5% BWR)
CoS 4 CoS 6
Realtime Interactive CS4
Q5 - Multimedia-Realtime Queue
(20% BWR)
Multimedia Streaming AF3 CoS 4
CoS 3
Signaling CS3 Q4 - Streaming-Signaling Queue
CoS 3 (20% BWR)
Transactional Data AF2
CoS 2 Q3-Transactional-Management Queue
Network Management CS2 CoS 2 (10% BWR)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 224
Catalyst 6500-E/6807-XL —1P7Q8T Egress
Model
class-map type lan-queuing match-all APIC_EM-Q8-1P7Q8T-QUEUE
match cos 7
class-map type lan-queuing match-all APIC_EM-Q7-1P7Q8T-QUEUE
match cos 6
class-map type lan-queuing match-all APIC_EM-Q6-1P7Q8T-QUEUE
match cos 5
class-map type lan-queuing match-all APIC_EM-Q5-1P7Q8T-QUEUE
match cos 4
class-map type lan-queuing match-all APIC_EM-Q4-1P7Q8T-QUEUE
match cos 3
class-map type lan-queuing match-all APIC_EM-Q3-1P7Q8T-QUEUE
match cos 2
class-map type lan-queuing match-all APIC_EM-Q2-1P7Q8T-QUEUE
match cos 1
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 225
Catalyst 6500-E/6807-XL —1P7Q8T Egress
Model
policy-map type lan-queuing APIC_EM-QUEUING-1P7Q8T-OUT
class APIC_EM-Q8-1P7Q8T-QUEUE
priority
class APIC_EM-Q7-1P7Q8T-QUEUE
bandwidth remaining percent 5
class APIC_EM-Q6-1P7Q8T-QUEUE
bandwidth remaining percent 5
class APIC_EM-Q5-1P7Q8T-QUEUE
bandwidth remaining percent 20
class APIC_EM-Q4-1P7Q8T-QUEUE
bandwidth remaining percent 20
class APIC_EM-Q3-1P7Q8T-QUEUE
bandwidth remaining percent 10
class APIC_EM-Q2-1P7Q8T-QUEUE
bandwidth remaining percent 10
class class-default
interface TenGigabitEthernet1/3/4
service-policy type lan-queuing output APIC_EM-QUEUING-1P7Q8T-OUT
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 226
Appendix B:
Cisco Catalyst
4500E QoS Design
Catalyst 4500E
QoS Roles in the Campus The primary role of the Catalyst 4500E
Series switch is as a distribution-layer
switch. However, it is also sometimes
deployed as an access-layer switch.
No Trust +
Ingress Queuing +
Catalyst 4500E Egress Queuing
Campus
Access-Layer Trust DSCP +
Ingress Queuing +
Switch
Egress Queuing
Conditional Trust +
Ingress Queuing +
Egress Queuing
Classification/Marking +
Catalyst 4500E [Optional Policing] +
Campus Ingress Queuing +
Distribution-Layer Egress Queuing
Switch
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 228
Catalyst 4500E
QoS Design Steps (Access-Layer Switch)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 229
Catalyst 4500E
Conditional Trust Example
class-map match-all VOICE
match cos 5
Catalyst 4500E supports both class-map match-all SIGNALING
match-all (logical AND) and match cos 3
match-any (logical OR) operators !
policy-map CISCO-IPPHONE
class VOICE
Conditional trust command set dscp ef
(trust device) must be prefaced class SIGNALING
by qos on the Catalyst 4500E set dscp cs3
class class-default
set dscp default
Switch PEP
interface GigabitEthernet 3/1
qos trust device cisco-phone
service-policy input CISCO-IPPHONE
Trust Boundary
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 230
Catalyst 4500E
Classification Options
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 231
DNS-Authoritative Source (DNS-AS)
What is DNS-AS?
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 232
DNS Lookup:
DNS-AS Operation DNS mail.timco.com
Lookup + TXT Record Request:
1) Client requests a DNS Lookup mail.timco.com
DNS A-Record:
TXT Record:
2) Access Switch examines the DNS request mail.timco.com is 172.16.0.7
172.16.0.7
DNS
3) Internal DNS Server returns a DNS response (A- Server
mail.timco.com
App ID = 378
Record)
App Class: BULK-DATA
4) Access Switch requests application metadata Business Relevance: YES
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 233
Catalyst 4500E
AVC with DNS-AS Classification & Marking Policy Example
!
avc dns-as client enable Enables DNS-AS
!
avc dns-as client trusted-domains
IOS 15.2(5)E
Identifies domains from which
domain ^.*f1.*$
domain ^.*cisco.*$ metadata may be received and
IOS XE 3.9.0E
domain *.toocoolforyou.net trusted for policy-purposes and Higher
domain *.sontowski.de
domain *.pension-solutions.de
domain *.bav-spezialist.de
domain *.sontowski-immobilien.de
Configures basic
domain *.pegasus-cp.de DNS lookup-info
domain *.via-vorsorge.de
domain *.blackberry.net
domain *.eu.blackberry.net ip domain round-robin
domain *.evorsorge.de ip domain-list toocoolforyou.net
domain *.dns-as.org ip domain-lookup source-interface Loopback0
domain *.nbar2web.org ip domain-name toocoolforyou.net
domain *.f1-consult.com ip name-server 192.168.167.244
domain *.f1-consult.de ip name-server 192.168.168.244
domain *.f1-online.net
domain *.f1v4.net
domain *.f1v6.net
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 234
Catalyst 4500E AVC with DNS-AS Classification & Marking Example
class-map match-all VOICE
match protocol attribute traffic-class voip-telephony
match protocol attribute business-relevance business-relevant
IOS 15.2(5)E
class-map match-all BROADCAST-VIDEO policy-map MARKING IOS XE 3.9.0E
match protocol attribute traffic-class broadcast-video class VOICE and Higher
match protocol attribute business-relevance business-relevant set dscp ef
class-map match-all REAL-TIME-INTERACTIVE class BROADCAST-VIDEO
match protocol attribute traffic-class real-time-interactive set dscp cs5
match protocol attribute business-relevance business-relevant class REAL-TIME-INTERACTIVE
class-map match-all MULTIMEDIA-CONFERENCING set dscp cs4
match protocol attribute traffic-class multimedia-conferencing class MULTIMEDIA-CONFERENCING
match protocol attribute business-relevance business-relevant set dscp af41
class-map match-all MULTIMEDIA-STREAMING class MULTIMEDIA-STREAMING
match protocol attribute traffic-class multimedia-streaming set dscp af31
match protocol attribute business-relevance business-relevant class SIGNALING
class-map match-all SIGNALING set dscp cs3
match protocol attribute traffic-class signaling class NETWORK-CONTROL
match protocol attribute business-relevance business-relevant set dscp cs6
class-map match-all NETWORK-CONTROL class NETWORK-MANAGEMENT
match protocol attribute traffic-class network-control set dscp cs2
match protocol attribute business-relevance business-relevant class TRANSACTIONAL-DATA
class-map match-all NETWORK-MANAGEMENT set dscp af21
match protocol attribute traffic-class ops-admin-mgmt class BULK-DATA
match protocol attribute business-relevance business-relevant set dscp af11
class-map match-all TRANSACTIONAL-DATA class SCAVENGER
match protocol attribute traffic-class transactional-data set dscp cs1
match protocol attribute business-relevance business-relevant class class-default
class-map match-all BULK-DATA set dscp default
match protocol attribute traffic-class bulk-data
match protocol attribute business-relevance business-relevant Same ‘Holy Grail’ classification policy
class-map match-all SCAVENGER
match protocol attribute business-relevance business-irrelevant as on other router/switch platforms
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 235
Catalyst 4500E
Marking & Policing Policy Example
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 236
Catalyst 4500E
1P7Q1T+Dynamic Buffer Limiting (DBL) Egress Queuing Model
Application DSCP 1P7Q1T (+DBL) BWR =
Bandwidth
Network Control (CS7) EF Remaining
Internetwork Control CS6 CS5 PQ
CS4
VoIP EF
CS7 & CS6 Q7
Broadcast Video CS5
CS3 & CS2 (BWR 10%)
Multimedia Conferencing AF4
Q6
AF4
Realtime Interactive CS4 (BWR 15%)
Multimedia Streaming AF3 AF3 Q5
(BWR 15%)
Signaling CS3
Q4
Transactional Data AF2 AF2
(BWR 15%)
Network Management CS2
Q3
AF1
Bulk Data AF1 (BWR 6%)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 237
If PQ is enabled then
Catalyst 4500E bandwidth remaining
must be used
1P7Q1T+DBL Egress Queuing Config policy-map 1P7Q1T
class PRIORITY-QUEUE
class-map match-all PRIORITY-QUEUE Enables the PQ priority
match dscp cs4 cs5 ef class CONTROL-MGMT-QUEUE
class-map match-all CONTROL-MGMT-QUEUE bandwidth remaining percent 10
match dscp cs7 cs6 cs3 cs2 class MULTIMEDIA-CONFERENCING-QUEUE
class-map match-all MULTIMEDIA-CONFERENCING-QUEUE bandwidth remaining percent 15
match dscp af41 af42 af43 class MULTIMEDIA-STREAMING-QUEUE
class-map match-all MULTIMEDIA-STREAMING-QUEUE bandwidth remaining percent 15
match dscp af31 af32 af33 class TRANSACTIONAL-DATA-QUEUE
class-map match-all TRANSACTIONAL-DATA-QUEUE bandwidth remaining percent 15
match dscp af21 af22 af23 dbl
class-map match-all BULK-DATA-QUEUE class BULK-DATA-QUEUE
match dscp af11 af12 af13 bandwidth remaining percent 6
class-map match-all SCAVENGER-QUEUE dbl
match dscp cs1 class SCAVENGER-QUEUE
bandwidth remaining percent 1
DBL can be enabled on a per-class class class-default
basis, but should not be enabled on bandwidth remaining percent 38
the PQ or Control traffic queues. dbl
Enabling DBL on UDP-based queues
and/or Scavenger queue is optional. service-policy output 1P7Q1T
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 238
Catalyst 4500E Campus QoS Design At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 239
DNS-AS At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 240
Appendix B:
Cisco Nexus
7000/7700 QoS
Design
Cisco Nexus 7000/7700
QoS Roles in the Campus Core
Trust DSCP
+ Ingress Queuing
+ Egress Queuing
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 242
Cisco Nexus 7000/7700
QoS Design Steps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 243
Nexus 7700 with
F2E, F3, and M3
Cisco Nexus 7700 (F2E, F3, M3 Modules)
4Q1T Ingress Queuing (CoS-to-Queue) Model
Application DSCP CoS 4Q1T
Network Control (CS7) CoS 7
CoS 7 8e-4q8q-in-q1
Internetwork Control CS6 CoS 6
CoS 6 Bandwidth 30%
VoIP EF Queue-Limit 10%
CoS 5 CoS 5
Broadcast Video CS5
Multimedia Conferencing AF4 8e-4q8q-in-q-default
CoS 4 Bandwidth 25%
Realtime Interactive CS4 CoS 0
Queue-Limit 30%
Multimedia Streaming AF3
CoS 3
Signaling CS3
CoS 4 8e-4q8q-in-q3
Transactional Data AF2
CoS 2 CoS 3 Bandwidth 40%
Network Management CS2 Queue-Limit 30%
CoS 2
Bulk Data AF1
CoS 1
Scavenger CS1 8e-4q8q-in-q4
Best Effort DF DF CoS 1 Bandwidth 5%
Queue-Limit 30%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 245
Cisco Nexus 7700 (F2E, F3, M3 Modules)
4Q1T Ingress Queuing (DSCP-to-Queue) Model
Application DSCP 4Q1T
Network Control (CS7) CS7
CS6 8e-4q8q-in-q1
Internetwork Control CS6
EF Bandwidth 30%
VoIP EF CS5 Queue-Limit 10%
CS4
Broadcast Video CS5
Multimedia Conferencing AF4 8e-4q8q-in-q-default
Realtime Interactive CS4 DF Bandwidth 25%
Queue-Limit 30%
Multimedia Streaming AF3
Signaling CS3 AF4
AF3 8e-4q8q-in-q3
Transactional Data AF2
CS3 Bandwidth 40%
Network Management CS2 Queue-Limit 30%
AF2
Bulk Data AF1 CS2
Scavenger CS1 8e-4q8q-in-q4
AF1
Best Effort DF Bandwidth 5%
CS1
Queue-Limit 30%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 246
Nexus 7700 with F2E, F3, and M3 Series QoS Design Steps
Specify the System Network-QoS Policy
Verification:
N7706-1# show policy-map system
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 248
Cisco Nexus 7700 (F2E, F3, M3 Modules)
Part 2 of 2: 4Q1T-Ingress Queuing Policy-Map
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 249
Cisco Nexus 7700 (F2E, F3, M3 Modules)
1P7Q1T Egress Queuing (CoS-to-Queue) Model
Application DSCP CoS 1P7Q1T
VoIP EF CoS 4
CoS 5 CoS 3 8e-4q8q-out-q2
Broadcast Video CS5 BWR 55%
CoS 2
Multimedia Conferencing AF4
CoS 4 CoS 1 8e-4q8q-out-q3
Realtime Interactive CS4 BWR 10%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 250
Cisco Nexus 7700 (F2E, F3, M3 Modules)
Part 1 of 2: 1P7Q1T Egress Queuing Class-Maps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 251
Cisco Nexus 7700 (F2E, F3, M3 Modules)
Part 2 of 2: 1P7Q1T Egress Queuing Policy-Map
Note: Indicates the
policy-map type queuing APIC_EM-1P7Q1T-OUT
class type queuing 8e-4q8q-out-q1
Priority Queue
priority level 1
shape average percent 30
class type queuing 8e-4q8q-out-q2
bandwidth remaining percent 55
class type queuing 8e-4q8q-out-q3 Note: Queue-Limits
bandwidth remaining percent 10 are not supported
class type queuing 8e-4q8q-out-q4 in egress direction
bandwidth remaining percent 1
class type queuing 8e-4q8q-out-q5
bandwidth remaining percent 1
class type queuing 8e-4q8q-out-q6
bandwidth remaining percent 1
class type queuing 8e-4q8q-out-q7
bandwidth remaining percent 1
class type queuing 8e-4q8q-out-q-default
bandwidth remaining percent 31
interface Ethernet 1/1-24
service-policy type queuing output CAMPUS-F3-1P3Q1T-EGRESS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 252
Cisco Nexus 7700 QoS Design At-A-Glance
Uploaded to the BRKCRS-2501 Campus QoS Design Simplified - Webex Teams Space
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 253
Nexus 7000 with
F2, F2E, and F3
Cisco Nexus 7000 (F-Series)
4Q1T Ingress Queuing (CoS-to-Queue) Model
Application DSCP CoS 4Q1T
Network Control (CS7) CoS 7
CoS 7 8e-4q4q-in-q1
Internetwork Control CS6 CoS 6
CoS 6 Bandwidth 30%
VoIP EF Queue-Limit 10%
CoS 5 CoS 5
Broadcast Video CS5
Multimedia Conferencing AF4 8e-4q4q-in-q-default
CoS 4 Bandwidth 25%
Realtime Interactive CS4 CoS 0
Queue-Limit 30%
Multimedia Streaming AF3
CoS 3
Signaling CS3
CoS 4 8e-4q4q-in-q3
Transactional Data AF2
CoS 2 CoS 3 Bandwidth 40%
Network Management CS2 Queue-Limit 30%
CoS 2
Bulk Data AF1
CoS 1
Scavenger CS1 8e-4q4q-in-q4
Best Effort DF DF CoS 1 Bandwidth 5%
Queue-Limit 30%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 255
Cisco Nexus 7000 (F-Series)
4Q1T Ingress Queuing (DSCP-to-Queue) Model
Application DSCP 4Q1T
Network Control (CS7) CS7
CS6 8e-4q4q-in-q1
Internetwork Control CS6
EF Bandwidth 30%
VoIP EF CS5 Queue-Limit 10%
CS4
Broadcast Video CS5
Multimedia Conferencing AF4 8e-4q4q-in-q-default
Realtime Interactive CS4 DF Bandwidth 25%
Queue-Limit 30%
Multimedia Streaming AF3
Signaling CS3 AF4
AF3 8e-4q4q-in-q3
Transactional Data AF2
CS3 Bandwidth 40%
Network Management CS2 Queue-Limit 30%
AF2
Bulk Data AF1 CS2
Scavenger CS1 8e-4q4q-in-q4
AF1
Best Effort DF Bandwidth 5%
CS1
Queue-Limit 30%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 256
Nexus 7000 with F2, F2E, and F3 Series QoS Design Steps
Step 1: Specify the System Network-QoS Policy
Verification:
DC-7010-2# show policy-map system
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 258
Nexus 7000 with F2, F2E, and F3 Series QoS Design Steps
Step 2: Configure Ingress Queuing Class-Maps (2 of 2)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 259
Nexus 7000 with F2, F2E, and F3 Series QoS Design Steps
Step 3: Create and Apply the Ingress Queuing Policy-Map
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 260
Cisco Nexus 7000 (F-Series)
Egress Queuing Model (1P3Q1T) – CoS-to-Queue Mapping
Application DSCP CoS 1P3Q1T
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 261
Nexus 7000 with F2, F2E, and F3 Series QoS Design Steps
Step 4: Configure Egress Queuing Class-Maps
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 262
Nexus 7000 with F2, F2E, and F3 Series QoS Design Steps
Step 5: Create and Apply the Egress Queuing Policy-Map
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 263
Nexus 7000 with
M2 Modules
Cisco Nexus 7000 (M2 Module)
Ingress Queuing Model (8Q2T) – CoS-to-Queue Mapping
Application DSCP CoS 8Q2T
Network Control (CS7) CoS 7 CoS 7
8q2t-in-q1
Internetwork Control CS6 CoS 6 CoS 6
BW 30% / QL 10%
CoS 5
VoIP EF CoS 4
CoS 5 8q2t-in-q2
Broadcast Video CS5 CoS 3
BW 40% / QL 30%
CoS 2
Multimedia Conferencing AF4 8q2t-in-q3
CoS 4 CoS 1
Realtime Interactive CS4 BW 5% / QL 30%
8q2t-in-q4
Multimedia Streaming AF3 These
CoS 3 BW 1% / QL 1%
Signaling CS3
8q2t-in-q5 queues are
Transactional Data AF2 BW 1% / QL1% unused
Network Management CS2
CoS 2
8q2t-in-q6 due to only
BW 1% / QL1% 4 queues
Bulk Data AF1
CoS 1 8q2t-in-q7 in fabric
BW 1% / QL 1%
Scavenger CS1 QoS
8q2t-in-q-default
Best Effort DF DF CoS 0 BW 21% / QL 26%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 265
Cisco Nexus 7000 (M2 Module)
Ingress Queuing Model (8Q2T) – DSCP-to-Queue Mapping
8Q2T
Application DSCP
CS7
Network Control (CS7) CS6 8q2t-in-q1
EF
Internetwork Control CS6 CS5 BW 30% / QL 10%
CS4
VoIP EF AF4
AF3 8q2t-in-q2
Broadcast Video CS5 CS3
AF2 BW 40% / QL 30% + DSCP-WRED
Multimedia Conferencing AF4 CS2
Realtime Interactive CS4 AF1 8q2t-in-q3
CS1 BW 5% / QL 30% + DSCP-WRED
Multimedia Streaming AF3
8q2t-in-q4
Signaling CS3 BW 1% / QL 1% These
8q2t-in-q5 queues are
Transactional Data AF2
BW 1% / QL1% unused
Network Management CS2 due to only
8q2t-in-q6
Bulk Data AF1 BW 1% / QL1% 4 queues
Scavenger CS1 8q2t-in-q7 in fabric
BW 1% / QL 1%
QoS
Best Effort DF
8q2t-in-q-default
DF
BW 21% / QL 26% + DSCP-WRED
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 266
Nexus 7000 (M2)—Ingress Queuing Design
Part 1 of 4: 8Q2T-Ingress Queuing (CoS-to-Queue & DSCP-to-Queue)
Enables DSCP-to-Queue
Mapping (ingress only)
class-map type queuing match-any 8q2t-in-q1
no match dscp 0-63
hardware qos dscp-to-queue ingress module-type all no match cos 0-7
class-map type queuing match-any 8q2t-in-q2
no match dscp 0-63
no match cos 0-7
From NX-OS 6.2.2 on class-map type queuing match-any 8q2t-in-q3
no match dscp 0-63
Class-maps will have no match cos 0-7
default/non-default CoS and/or class-map type queuing match-any 8q2t-in-q4
DSCP values to them. These can no match dscp 0-63
be reset with “no match” no match cos 0-7
commands. This results in all class-map type queuing match-any 8q2t-in-q5
CoS and DSCP values mapped no match dscp 0-63
to the default queue no match cos 0-7
class-map type queuing match-any 8q2t-in-q6
no match dscp 0-63
no match cos 0-7
NX-OS provides system-defined class-map type queuing match-any 8q2t-in-q7
class-map names (which cannot no match dscp 0-63
be renamed) no match cos 0-7
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 267
Nexus 7000 (M2)—Ingress Queuing Design
Part 1 of 4: 8Q2T-Ingress Queuing (CoS-to-Queue & DSCP-to-Queue)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 268
Nexus 7000 (M2)—Ingress Queuing Design
Part 2 of 4: 8Q2T-Ingress Queuing Policy-Map with DSCP-Based WRED
AF4x, AF3x, and AF2x traffic set for WRED min threshold of 80% and max threshold of 100%
CS3 and CS2 traffic implicitly set for WRED min and max threshold of 100%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 269
Nexus 7000 (M2)—Ingress Queuing Design
Part 4 of 4: 8Q2T-Ingress Queuing Policy-Map with DSCP-Based WRED
[continued]
class type queuing 8q2t-in-q3
bandwidth percent 5
queue-limit percent 30
random-detect dscp-based
AF1x random-detect dscp 10,12,14 minimum-threshold percent 80 maximum-threshold percent 100
CS1 random-detect dscp 8 minimum-threshold percent 80 maximum-threshold percent 100
class type queuing 8q2t-in-q4
bandwidth percent 1
queue-limit percent 1
class type queuing 8q2t-in-q5
bandwidth percent 1
queue-limit percent 1
class type queuing 8q2t-in-q6
bandwidth percent 1
queue-limit percent 1
…
AF1x and CS1 traffic set
for WRED min threshold
of 80% and max
threshold of 100%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 270
Nexus 7000 (M2)—Ingress Queuing Design
Part 4 of 4: 8Q2T-Ingress Queuing Policy-Map with DSCP-Based WRED
[continued]
class type queuing 8q2t-in-q7 Default traffic set for WRED min
bandwidth percent 1 threshold of 80% and max threshold of
queue-limit percent 1 100%
class type queuing 8q2t-in-q-default All non-standard DSCP values implicitly
bandwidth percent 21 set to min and max thresholds of 100%.
queue-limit percent 26
random-detect dscp-based
Default random-detect dscp 0 minimum-threshold percent 80 maximum-threshold percent 100
Queuing policy is
interface Ethernet x/x-x
applied to
service-policy type queuing input APIC_EM-QUEUING-8Q2T-IN
physical interfaces
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 271
Cisco Nexus 7000 (M2 Module)
1P7Q4T Egress Queuing (CoS-to-Queue) Model
Application DSCP CoS 1P7Q1T
VoIP EF CoS 4
CoS 5 CoS 3 8e-4q8q-out-q2
Broadcast Video CS5 BWR 55%
CoS 2
Multimedia Conferencing AF4
CoS 4 CoS 1 8e-4q8q-out-q3
Realtime Interactive CS4 BWR 10%
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 272
Nexus 7000 (M2)—Egress Queuing Design
Part 1 of 4: 1P7Q4T-Egress Queuing Class-Maps (CoS-to-Queue)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 273
Nexus 7000 (M2)—Egress Queuing Design
Part 2 of 4: 1P7Q4T-Egress Queuing Class-Maps (CoS-to-Queue)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 274
Nexus 7000 (M2)—Egress Queuing Design
Part 3 of 4: 1P7Q4T-Egress Queuing Policy-Map with CoS-Based WRED
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 275
Nexus 7000 (M2)—Egress Queuing Design
Part 4 of 4: 1P7Q4T-Egress Queuing Policy-Map with CoS-Based WRED
class type queuing 1p7q4t-out-q4
bandwidth remaining percent 1
queue-limit percent 1
class type queuing 1p7q4t-out-q5
bandwidth remaining percent 1
queue-limit percent 1
class type queuing 1p7q4t-out-q6
bandwidth remaining percent 1
queue-limit percent 1
class type queuing 1p7q4t-out-q7
bandwidth remaining percent 1
Queuing policy is applied to
queue-limit percent 1
class type queuing 1p7q4t-out-q-default
physical interfaces
bandwidth remaining percent 31
queue-limit percent 26
random-detect cos-based
random-detect cos 0 minimum-threshold percent 80 maximum-threshold percent 100
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 277
Configure CoS-Queue and Bandwidth Ratios for Fabric QoS
Step 2: Configuring Cos2q Fabric Mapping
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 278
Configure CoS-Queue and Bandwidth Ratios for Fabric QoS
Step 3: Configuring Ingress Buffer Policy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 279
Configure CoS-Queue and Bandwidth Ratios for Fabric QoS
Step 4: Configuring Egress Queue Bandwidth Allocation
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 280
Configure CoS-Queue and Bandwidth Ratios for Fabric QoS
Step1: Configuring the New User-defined Policies on the Fabric
system fabric
service-policy type queuing input APIC_EM-system-in-policy
service-policy type queuing output APIC_EM-system-out-policy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 281
Appendix C: Per-
Port / Per-VLAN
QoS
Campus QoS Design Considerations
Per-Port/Per-VLAN QoS
VLAN Interfaces
Data Vlan10
Voice Vlan110
Data VLAN policy map is applied
to the Data VLAN (only)
on a given trunked switch port
Trunked Physical Ports
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 283
Catalyst 9000 / 3850 / 3650
Per-Port/Per-VLAN Policy
class-map VVLAN
match vlan 110 Individual
Individual (trunked)
(trunked) VLANs
VLANs are
are
class-map DVLAN matched
matched by by the
the match
match vlan
vlan command
command
match vlan 10
policy-map VLAN-POLICERS
class VVLAN Policers
Policersare
police 192000 conform-action transmit exceed-action drop applied
are applied
on a
class DVLAN Per-VLAN
on a per-
police 50000000 conform-action transmit exceed-action drop basis
VLAN basis
interface GigabitEthernet 1/0/1 Per-VLAN policers are then applied on a Per-Port
service-policy input VLAN-POLICERS basis
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 284
Catalyst 4500
Per-Port/Per-VLAN QoS Policy Example
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 285
Appendix D:
AutoQoS
Configurations -
Catalyst 3750-X /
3560-X / 2960-X
Auto QoS - Catalyst 3750-X / 3560-X / 2960-X
• Auto QoS is a macro which provisions a pre-defined ingress classification & marking
policy and an egress (and/or ingress) queueing policy
• Eleven forms of the interface-level Auto QoS command (“auto qos voip trust” and
“auto qos trust” generate the same configuration)
• auto qos voip {cisco-phone | cisco-softphone | trust}
• auto qos video {cts | ip-camera | media-player}
• auto qos classify [police]
• auto qos trust [cos | dscp]
• To remove Auto QoS on an interface (run another macro to remove Auto QoS)
preface the command with a “no” (i.e. no auto qos voip cisco-phone)
• It is not recommended to modify the configuration provisioned by the Auto QoS commands
because it may affect the ability of the switch to remove the configuration on the interface or
globally when removing Auto QoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 287
Auto QoS Versions and Compact
• Two versions of Auto QoS configurations are supported on older MLS QoS platforms
• The older version is deprecated, and not recommended to be used
• The global command “auto qos srnd4” must be configured to use the current
version of Auto QoS on Catalyst 3750-X / 3560-X / 2960-X platforms.
• For all switches, the global configuration-level command “auto qos global compact”
resets all generated global configuration commands for Auto QoS
• All global configuration-level QoS commands are hidden. They do not show up in the
configuration with a “show running-configuration” command
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 288
Egress Queuing
Policy for All Auto
QoS Commands
Egress Queuing & Map Commands Generated
Same for all “auto qos” commands
mls qos map cos-dscp 0 8 16 24 32 46 48 56 CoS-to-DSCP map
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 CoS to egress queue / threshold mapping
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
mls qos srr-queue output dscp-map queue 1 threshold 3 32 33 40 41 42 43 44 45
mls qos srr-queue output dscp-map queue 1 threshold 3 46 47
mls qos srr-queue output dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 2 threshold 1 26 27 28 29 30 31 34 35
mls qos srr-queue output dscp-map queue 2 threshold 1 36 37 38 39 DSCP to egress queue / threshold
mls qos srr-queue output dscp-map queue 2 threshold 2 24 mapping
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 11 13 15
mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
mls qos queue-set output 1 threshold 1 100 100 50 200
mls qos queue-set output 1 threshold 2 125 125 100 400
mls qos queue-set output 1 threshold 3 100 100 100 400 WTD thresholds and buffer allocation for queues
mls qos queue-set output 1 threshold 4 60 150 50 200
mls qos queue-set output 1 buffers 15 25 40 20
mls qos Globally enables QoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 290
Ingress Queuing & Map Commands Generated
Same for all “auto qos” commands
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 291
auto qos voip
cisco-phone
Ingress Classification & Marking Policy – Global
Configuration Commands Generated
auto qos voip cisco-phone Class-map definition
class-map match-all AUTOQOS_VOIP_DATA_CLASS
match ip dscp ef
class-map match-all AUTOQOS_VOIP_VIDEO_CLASS
match ip dscp af41
class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS
ACL definition match ip dscp cs3
class-map match-all AUTOQOS_DEFAULT_CLASS
ip access-list extended AUTOQOS-ACL-DEFAULT match access-group name AUTOQOS-ACL-DEFAULT
permit ip any any
Policy-map definition
policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
set dscp ef
Table-map definition police 128000 8000 exceed-action policed-dscp-transmit
for policer mark-down class AUTOQOS_VOIP_VIDEO_CLASS
set dscp af41
mls qos map policed-dscp 0 10 18 24 46 to 8 police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 293
Interface-Level Configuration Commands
Generated
auto qos voip cisco-phone
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 294
auto qos voip
cisco-softphone
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (1 of 2)
auto qos voip cisco-softphone
ip access-list extended AUTOQOS-ACL-BULK-DATA
permit tcp any any eq 22
ACL definitions permit tcp any any eq 465
ip access-list extended AUTOQOS-ACL-DEFAULT permit tcp any any eq 143
permit ip any any permit tcp any any eq 993 Next page for
ip access-list extended AUTOQOS-ACL-MULTIENHANCED-CONF permit tcp any any eq 995 class-map and
permit udp any any range 16384 32767 permit tcp any any eq 1914
ip access-list extended AUTOQOS-ACL-SCAVANGER permit tcp any any eq ftp
policy-map
permit tcp any any range 2300 2400 permit tcp any any eq ftp-data definitions
permit udp any any range 2300 2400 permit tcp any any eq smtp
permit tcp any any range 6881 6999 permit tcp any any eq pop3
permit tcp any any range 28800 29100 ip access-list extended AUTOQOS-ACL-TRANSACTIONAL-DATA
permit tcp any any eq 1214 permit tcp any any eq 443
permit udp any any eq 1214 permit tcp any any eq 1521
permit tcp any any eq 3689 permit udp any any eq 1521
permit udp any any eq 3689 permit tcp any any eq 1526
permit tcp any any eq 11999 permit udp any any eq 1526
ip access-list extended AUTOQOS-ACL-SIGNALING permit tcp any any eq 1575
permit tcp any any range 2000 2002 permit udp any any eq 1575
permit tcp any any range 5060 5061 permit tcp any any eq 1630
permit udp any any range 5060 5061 permit udp any any eq 1630
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 296
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (2 of 2)
auto qos voip cisco-softphone Policy-map definition
policy-map AUTOQOS-SRND4-SOFTPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
Class-map definition
set dscp ef
class-map match-all AUTOQOS_VOIP_VIDEO_CLASS police 128000 8000 exceed-action policed-dscp-transmit
match ip dscp af41 class AUTOQOS_MULTIENHANCED_CONF_CLASS
class-map match-all AUTOQOS_MULTIENHANCED_CONF_CLASS set dscp af41
police 5000000 8000 exceed-action drop
match access-group name AUTOQOS-ACL-MULTIENHANCED-CONF
class AUTOQOS_BULK_DATA_CLASS
class-map match-all AUTOQOS_VOIP_DATA_CLASS set dscp af11
match ip dscp ef police 10000000 8000 exceed-action policed-dscp-transmit
class-map match-all AUTOQOS_DEFAULT_CLASS class AUTOQOS_TRANSACTION_CLASS
match access-group name AUTOQOS-ACL-DEFAULT set dscp af21
class-map match-all AUTOQOS_TRANSACTION_CLASS police 10000000 8000 exceed-action policed-dscp-transmit
match access-group name AUTOQOS-ACL-TRANSACTIONAL-DATA class AUTOQOS_SCAVANGER_CLASS
class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS set dscp cs1
match ip dscp cs3 police 10000000 8000 exceed-action drop
class AUTOQOS_SIGNALING_CLASS
class-map match-all AUTOQOS_SIGNALING_CLASS
set dscp cs3
match access-group name AUTOQOS-ACL-SIGNALING police 32000 8000 exceed-action drop
class-map match-all AUTOQOS_BULK_DATA_CLASS class AUTOQOS_DEFAULT_CLASS
match access-group name AUTOQOS-ACL-BULK-DATA set dscp default
class-map match-all AUTOQOS_SCAVANGER_CLASS police 10000000 8000 exceed-action policed-dscp-transmit
match access-group name AUTOQOS-ACL-SCAVANGER
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 298
auto qos video cts
Interface-Level Configuration Commands
Generated
auto qos video cts
interface GigabitEthernet1/0/4
auto qos video ip-camera When the "auto qos global compact" command is
enabled the "auto qos video ip-camera" command is
the only command that appears in the interface-level
configuration.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 302
auto qos video
media-player
Interface-Level Configuration Commands
Generated
auto qos video media-player
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 304
auto qos classify
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (1 of 2)
auto qos classify
ip access-list extended AUTOQOS-ACL-BULK-DATA
permit tcp any any eq 22
ACL definitions permit tcp any any eq 465
ip access-list extended AUTOQOS-ACL-DEFAULT permit tcp any any eq 143
permit ip any any permit tcp any any eq 993 Next page for
ip access-list extended AUTOQOS-ACL-MULTIENHANCED-CONF permit tcp any any eq 995 class-map &
permit udp any any range 16384 32767 permit tcp any any eq 1914 policy-map
ip access-list extended AUTOQOS-ACL-SCAVANGER permit tcp any any eq ftp definitions
permit tcp any any range 2300 2400 permit tcp any any eq ftp-data
permit udp any any range 2300 2400 permit tcp any any eq smtp
permit tcp any any range 6881 6999 permit tcp any any eq pop3
permit tcp any any range 28800 29100 ip access-list extended AUTOQOS-ACL-TRANSACTIONAL-DATA
permit tcp any any eq 1214 permit tcp any any eq 443
permit udp any any eq 1214 permit tcp any any eq 1521
permit tcp any any eq 3689 permit udp any any eq 1521
permit udp any any eq 3689 permit tcp any any eq 1526
permit tcp any any eq 11999 permit udp any any eq 1526
ip access-list extended AUTOQOS-ACL-SIGNALING permit tcp any any eq 1575
permit tcp any any range 2000 2002 permit udp any any eq 1575
permit tcp any any range 5060 5061 permit tcp any any eq 1630
permit udp any any range 5060 5061 permit udp any any eq 1630
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 306
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (2 of 2)
auto qos classify
Policy-map definition
Class-map definitions
policy-map AUTOQOS-SRND4-CLASSIFY-POLICY
class-map match-all AUTOQOS_MULTIENHANCED_CONF_CLASS class AUTOQOS_MULTIENHANCED_CONF_CLASS
match access-group name AUTOQOS-ACL-MULTIENHANCED-CONF set dscp af41
class-map match-all AUTOQOS_DEFAULT_CLASS class AUTOQOS_BULK_DATA_CLASS
match access-group name AUTOQOS-ACL-DEFAULT set dscp af11
class-map match-all AUTOQOS_TRANSACTION_CLASS class AUTOQOS_TRANSACTION_CLASS
match access-group name AUTOQOS-ACL-TRANSACTIONAL-DATA set dscp af21
class-map match-all AUTOQOS_SIGNALING_CLASS class AUTOQOS_SCAVANGER_CLASS
match access-group name AUTOQOS-ACL-SIGNALING set dscp cs1
class-map match-all AUTOQOS_BULK_DATA_CLASS class AUTOQOS_SIGNALING_CLASS
match access-group name AUTOQOS-ACL-BULK-DATA set dscp cs3
class-map match-all AUTOQOS_SCAVANGER_CLASS class AUTOQOS_DEFAULT_CLASS
match access-group name AUTOQOS-ACL-SCAVANGER set dscp default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 307
Interface-Level Configuration Commands
Generated
auto qos classify
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 308
auto qos classify
police
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (1 of 2)
auto qos classify police
ip access-list extended AUTOQOS-ACL-BULK-DATA
permit tcp any any eq 22
ACL definitions permit tcp any any eq 465
ip access-list extended AUTOQOS-ACL-DEFAULT permit tcp any any eq 143
permit ip any any permit tcp any any eq 993 Next page for
ip access-list extended AUTOQOS-ACL-MULTIENHANCED-CONF permit tcp any any eq 995 class-map &
permit udp any any range 16384 32767 permit tcp any any eq 1914 policy-map
ip access-list extended AUTOQOS-ACL-SCAVANGER permit tcp any any eq ftp definitions
permit tcp any any range 2300 2400 permit tcp any any eq ftp-data
permit udp any any range 2300 2400 permit tcp any any eq smtp
permit tcp any any range 6881 6999 permit tcp any any eq pop3
permit tcp any any range 28800 29100 ip access-list extended AUTOQOS-ACL-TRANSACTIONAL-DATA
permit tcp any any eq 1214 permit tcp any any eq 443
permit udp any any eq 1214 permit tcp any any eq 1521
permit tcp any any eq 3689 permit udp any any eq 1521
permit udp any any eq 3689 permit tcp any any eq 1526
permit tcp any any eq 11999 permit udp any any eq 1526
ip access-list extended AUTOQOS-ACL-SIGNALING permit tcp any any eq 1575
permit tcp any any range 2000 2002 permit udp any any eq 1575
permit tcp any any range 5060 5061 permit tcp any any eq 1630
permit udp any any range 5060 5061 permit udp any any eq 1630
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 310
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (2 of 2)
auto qos classify police
Class-map definitions
class-map match-all AUTOQOS_MULTIENHANCED_CONF_CLASS
Policy-map definition
match access-group name AUTOQOS-ACL-MULTIENHANCED-CONF
class-map match-all AUTOQOS_DEFAULT_CLASS policy-map AUTOQOS-SRND4-CLASSIFY-POLICE-POLICY
match access-group name AUTOQOS-ACL-DEFAULT class AUTOQOS_MULTIENHANCED_CONF_CLASS
class-map match-all AUTOQOS_TRANSACTION_CLASS set dscp af41
match access-group name AUTOQOS-ACL-TRANSACTIONAL-DATA police 5000000 8000 exceed-action drop
class-map match-all AUTOQOS_SIGNALING_CLASS class AUTOQOS_BULK_DATA_CLASS
match access-group name AUTOQOS-ACL-SIGNALING set dscp af11
class-map match-all AUTOQOS_BULK_DATA_CLASS police 10000000 8000 exceed-action policed-dscp-transmit
match access-group name AUTOQOS-ACL-BULK-DATA class AUTOQOS_TRANSACTION_CLASS
class-map match-all AUTOQOS_SCAVANGER_CLASS set dscp af21
match access-group name AUTOQOS-ACL-SCAVANGER police 10000000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_SCAVANGER_CLASS
set dscp cs1
police 10000000 8000 exceed-action drop
class AUTOQOS_SIGNALING_CLASS
set dscp cs3
police 32000 8000 exceed-action drop
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 311
Interface-Level Configuration Commands Generated
auto qos classify police
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 312
auto qos trust and
auto qos voip trust
Interface-Level Configuration Commands Generated
auto qos trust
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 314
auto qos trust cos
Interface-Level Configuration Commands Generated
auto qos trust cos
interface GigabitEthernet1/0/11
srr-queue bandwidth share 1 30 35 5
This is the only command to enable “auto qos trust
priority-queue out cos” at the interface-level and to generate all
mls qos trust cos global commands. All other commands are
auto qos trust cos
generated.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 316
auto qos trust
dscp
Interface-Level Configuration Commands Generated
auto qos trust dscp
• To remove Auto QoS on an interface (run another macro to remove Auto QoS)
preface the command with a “no” (i.e. no auto qos voip cisco-phone)
• It is not recommended to modify the configuration provisioned by the Auto QoS commands
because it may affect the ability of the switch to remove the configuration on the interface or
globally when removing Auto QoS
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 320
Hiding Auto QoS Generated Configuration
• The global configuration-level command “auto qos global compact” resets all
generated global configuration commands for Auto QoS
• All global configuration-level commands are hidden (other than the “auto qos global
compact” command). They do not show up in the configuration with a “show running-
configuration” command
Only indication within the global running configuration that
auto qos global compact Auto QoS global configurations have been generated
• When auto qos global compact is enabled and auto qos is enabled on an interface,
only the command which enabled auto qos on the interface appears within the
configuration.
• Service policies which are generated and applied to the interface are also hidden
interface GigabitEthernet1/0/15 Only indication within the interface-level running
auto qos voip cisco-phone configuration that Auto QoS interface-level
configurations have been generated
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 321
Egress Queuing
Policy for All Auto
QoS Commands
Egress Queuing Policy – Global Configuration
Commands Generated Policy-map definition
policy-map AutoQos-4.0-Output-Policy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 323
auto qos voip
cisco-phone
Ingress Classification & Marking Policy – Global
Configuration Commands Generated
auto qos voip cisco-phone Class-map definition
class-map match-any AutoQos-4.0-Voip-Data-CiscoPhone-Class
match cos 5
class-map match-any AutoQos-4.0-Voip-Signal-CiscoPhone-Class
match cos 3
ACL definition class-map match-any AutoQos-4.0-Default-Class
ip access-list extended AutoQos-4.0-Acl-Default match access-group name AutoQos-4.0-Acl-Default
permit ip any any
Policy-map definition
policy-map AutoQos-4.0-CiscoPhone-Input-Policy
class AutoQos-4.0-Voip-Data-CiscoPhone-Class
set dscp ef
Table-map definition police cir 128000 bc 8000
conform-action transmit
for policer mark-down
exceed-action set-dscp-transmit dscp table policed-dscp
table-map policed-dscp class AutoQos-4.0-Voip-Signal-CiscoPhone-Class
map from 0 to 8 set dscp cs3
map from 10 to 8 police cir 32000 bc 8000
map from 18 to 8 conform-action transmit
map from 24 to 8 exceed-action set-dscp-transmit dscp table policed-dscp
map from 46 to 8 class AutoQos-4.0-Default-Class
default copy set dscp default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 325
Interface-Level Configuration Commands
Generated
auto qos voip cisco-phone
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 326
auto qos voip
cisco-softphone
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (1 of 3)
auto qos voip cisco-softphone
ip access-list extended AutoQos-4.0-Acl-Bulk-Data
permit tcp any any eq 22
permit tcp any any eq 465
ACL definitions permit tcp any any eq 143
permit tcp any any eq 993
ip access-list extended AutoQos-4.0-Acl-MultiEnhanced-Conf permit tcp any any eq 995
permit udp any any range 16384 32767 permit tcp any any eq 1914
permit tcp any any range 50000 59999 permit tcp any any eq ftp
permit tcp any any eq ftp-data
ip access-list extended AutoQos-4.0-Acl-Scavanger permit tcp any any eq smtp
permit tcp any any range 2300 2400 permit tcp any any eq pop3
permit udp any any range 2300 2400
permit tcp any any range 6881 6999 ip access-list extended AutoQos-4.0-Acl-Transactional-Data
permit tcp any any range 28800 29100 permit tcp any any eq 443 Next page for
permit tcp any any eq 1214 permit tcp any any eq 1521 class-map
permit udp any any eq 1214 permit udp any any eq 1521
permit tcp any any eq 3689 permit tcp any any eq 1526 definitions
permit udp any any eq 3689 permit udp any any eq 1526
permit tcp any any eq 11999 permit tcp any any eq 1575
permit udp any any eq 1575
ip access-list extended AutoQos-4.0-Acl-Signaling permit tcp any any eq 1630
permit tcp any any range 2000 2002 permit udp any any eq 1630
permit tcp any any range 5060 5061 permit tcp any any eq 1527
permit udp any any range 5060 5061 permit tcp any any eq 6200
permit tcp any any eq 3389
ip access-list extended AutoQos-4.0-Acl-Default permit tcp any any eq 5985
permit ip any any permit tcp any any eq 8080
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 328
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (2 of 3)
auto qos voip cisco-softphone
Table-map definition
Class-map definition for policer mark-down
class-map match-any AutoQos-4.0-Voip-Data-Class table-map policed-dscp
match dscp ef map from 0 to 8
match cos 5 map from 10 to 8
class-map match-any AutoQos-4.0-Voip-Signal-Class map from 18 to 8
match dscp cs3 map from 24 to 8
match cos 3 map from 46 to 8 Next page for
class-map match-any AutoQos-4.0-Multimedia-Conf-Class default copy policy-map
match access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf definition
class-map match-any AutoQos-4.0-Bulk-Data-Class
match access-group name AutoQos-4.0-Acl-Bulk-Data
class-map match-any AutoQos-4.0-Transaction-Class
match access-group name AutoQos-4.0-Acl-Transactional-Data
class-map match-any AutoQos-4.0-Scavanger-Class
match access-group name AutoQos-4.0-Acl-Scavanger
class-map match-any AutoQos-4.0-Signaling-Class
match access-group name AutoQos-4.0-Acl-Signaling
class-map match-any AutoQos-4.0-Default-Class
match access-group name AutoQos-4.0-Acl-Default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 329
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (3 of 3)
auto qos voip cisco-softphone
Policy-map definition
policy-map AutoQos-4.0-CiscoSoftPhone-Input-Policy class AutoQos-4.0-Transaction-Class
class AutoQos-4.0-Voip-Data-Class set dscp af21
set dscp ef police cir 10000000
conform-action transmit
police cir 128000 bc 8000
exceed-action set-dscp-transmit dscp table policed-dscp
conform-action transmit class AutoQos-4.0-Scavanger-Class
exceed-action set-dscp-transmit dscp table policed-dscp set dscp cs1
class AutoQos-4.0-Voip-Signal-Class police cir 10000000
set dscp cs3 conform-action transmit
police cir 32000 bc 8000 exceed-action drop
conform-action transmit class AutoQos-4.0-Signaling-Class
exceed-action set-dscp-transmit dscp table policed-dscp set dscp cs3
police cir 32000 bc 8000
class AutoQos-4.0-Multimedia-Conf-Class
conform-action transmit
set dscp af41 exceed-action drop
police cir 5000000 class AutoQos-4.0-Default-Class
conform-action transmit set dscp default
exceed-action drop police cir 10000000
class AutoQos-4.0-Bulk-Data-Class conform-action transmit
set dscp af11 exceed-action set-dscp-transmit dscp table policed-dscp
police cir 10000000
conform-action transmit
exceed-action set-dscp-transmit dscp table policed-dscp
[continued]
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 330
Interface-Level Configuration Commands
Generated
auto qos voip cisco-softphone
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 331
auto qos video cts
Ingress Classification & Marking Policy – Global
Configuration Commands Generated
auto qos video cts
Policy-map definition
policy-map AutoQos-4.0-Trust-Cos-Input-Policy
Table-map definition for trust CoS class class-default
Table Map AutoQos-4.0-Trust-Cos-Table set cos cos table AutoQos-4.0-Trust-Cos-Table
default copy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 333
Interface-Level Configuration Commands
Generated
auto qos video cts
Policy-map definition
policy-map AutoQos-4.0-Trust-Dscp-Input-Policy
Table-map definition for trust CoS class class-default
Table Map AutoQos-4.0-Trust-Dscp-Table set cos cos table AutoQos-4.0-Trust-Dscp-Table
default copy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 336
Interface-Level Configuration Commands
Generated
auto qos video ip-camera
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 337
auto qos video
media-player
Ingress Classification & Marking Policy – Global
Configuration Commands Generated
auto qos video media-player
Policy-map definition
policy-map AutoQos-4.0-Trust-Dscp-Input-Policy
Table-map definition for trust CoS class class-default
Table Map AutoQos-4.0-Trust-Dscp-Table set cos cos table AutoQos-4.0-Trust-Dscp-Table
default copy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 339
Interface-Level Configuration Commands
Generated
auto qos video media-player
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 340
auto qos classify
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (1 of 2)
auto qos classify ip access-list extended AutoQos-4.0-Acl-Bulk-Data
permit tcp any any eq 22
permit tcp any any eq 465
ACL definitions permit tcp any any eq 143
permit tcp any any eq 993
ip access-list extended AutoQos-4.0-Acl-MultiEnhanced-Conf permit tcp any any eq 995
permit udp any any range 16384 32767 permit tcp any any eq 1914
permit tcp any any range 50000 59999 permit tcp any any eq ftp
permit tcp any any eq ftp-data
ip access-list extended AutoQos-4.0-Acl-Scavanger permit tcp any any eq smtp
permit tcp any any range 2300 2400 permit tcp any any eq pop3
permit udp any any range 2300 2400
permit tcp any any range 6881 6999 ip access-list extended AutoQos-4.0-Acl-Transactional-Data
permit tcp any any range 28800 29100 permit tcp any any eq 443 Next page for
permit tcp any any eq 1214 permit tcp any any eq 1521 class-map &
permit udp any any eq 1214 permit udp any any eq 1521
permit tcp any any eq 3689 permit tcp any any eq 1526 policy-map
permit udp any any eq 3689 permit udp any any eq 1526 definitions
permit tcp any any eq 11999 permit tcp any any eq 1575
permit udp any any eq 1575
ip access-list extended AutoQos-4.0-Acl-Signaling permit tcp any any eq 1630
permit tcp any any range 2000 2002 permit udp any any eq 1630
permit tcp any any range 5060 5061 permit tcp any any eq 1527
permit udp any any range 5060 5061 permit tcp any any eq 6200
permit tcp any any eq 3389
ip access-list extended AutoQos-4.0-Acl-Default permit tcp any any eq 5985
permit ip any any permit tcp any any eq 8080
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 342
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (2 of 2)
auto qos classify
Class-map definitions Policy-map definition
class-map match-any AutoQos-4.0-Multimedia-Conf-Class policy-map AutoQos-4.0-Classify-Input-Policy
match access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf class AutoQos-4.0-Multimedia-Conf-Class
class-map match-any AutoQos-4.0-Bulk-Data-Class set dscp af41
match access-group name AutoQos-4.0-Acl-Bulk-Data class AutoQos-4.0-Bulk-Data-Class
class-map match-any AutoQos-4.0-Transaction-Class set dscp af11
match access-group name AutoQos-4.0-Acl-Transactional-Data class AutoQos-4.0-Transaction-Class
Class-map match-any AutoQos-4.0-Scavanger-Class set dscp af21
match access-group name AutoQos-4.0-Acl-Scavanger class AutoQos-4.0-Scavanger-Class
class-map match-any AutoQos-4.0-Signaling-Class set dscp cs1
match access-group name AutoQos-4.0-Acl-Signaling class AutoQos-4.0-Signaling-Class
class-map match-any AutoQos-4.0-Default-Class set dscp cs3
match access-group name AutoQos-4.0-Acl-Default class AutoQos-4.0-Default-Class
set dscp default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 343
Interface-Level Configuration Commands
Generated
auto qos classify
Interface-level configuration without “auto qos global compact” configured
interface GigabitEthernetx/x/x
auto qos classify
This is the only command to enable “auto qos
service-policy input AutoQos-4.0-Classify-Input-Policy classify” at the interface-level and to generate all
service-policy output AutoQos-4.0-Output-Policy global commands. All other commands are
generated.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 344
auto qos classify
police
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (1 of 3)
auto qos classify police ip access-list extended AutoQos-4.0-Acl-Bulk-Data
permit tcp any any eq 22
permit tcp any any eq 465
ACL definitions permit tcp any any eq 143
permit tcp any any eq 993
ip access-list extended AutoQos-4.0-Acl-MultiEnhanced-Conf permit tcp any any eq 995
permit udp any any range 16384 32767 permit tcp any any eq 1914
permit tcp any any range 50000 59999 permit tcp any any eq ftp
permit tcp any any eq ftp-data
ip access-list extended AutoQos-4.0-Acl-Scavanger permit tcp any any eq smtp
permit tcp any any range 2300 2400 permit tcp any any eq pop3
permit udp any any range 2300 2400
permit tcp any any range 6881 6999 ip access-list extended AutoQos-4.0-Acl-Transactional-Data
permit tcp any any range 28800 29100 permit tcp any any eq 443 Next page for
permit tcp any any eq 1214 permit tcp any any eq 1521 class-map &
permit udp any any eq 1214 permit udp any any eq 1521
permit tcp any any eq 3689 permit tcp any any eq 1526 policy-map
permit udp any any eq 3689 permit udp any any eq 1526 definitions
permit tcp any any eq 11999 permit tcp any any eq 1575
permit udp any any eq 1575
ip access-list extended AutoQos-4.0-Acl-Signaling permit tcp any any eq 1630
permit tcp any any range 2000 2002 permit udp any any eq 1630
permit tcp any any range 5060 5061 permit tcp any any eq 1527
permit udp any any range 5060 5061 permit tcp any any eq 6200
permit tcp any any eq 3389
ip access-list extended AutoQos-4.0-Acl-Default permit tcp any any eq 5985
permit ip any any permit tcp any any eq 8080
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 346
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (2 of 3)
auto qos classify police Table-map definition for
Class-map definitions policer mark-down
class-map match-any AutoQos-4.0-Multimedia-Conf-Class table-map policed-dscp
match access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf map from 0 to 8
class-map match-any AutoQos-4.0-Bulk-Data-Class map from 10 to 8
match access-group name AutoQos-4.0-Acl-Bulk-Data map from 18 to 8
class-map match-any AutoQos-4.0-Transaction-Class map from 24 to 8
match access-group name AutoQos-4.0-Acl-Transactional-Data map from 46 to 8 Next page for
class-map match-any AutoQos-4.0-Scavanger-Class default copy policy-map
match access-group name AutoQos-4.0-Acl-Scavanger definition
class-map match-any AutoQos-4.0-Signaling-Class
match access-group name AutoQos-4.0-Acl-Signaling
class-map match-any AutoQos-4.0-Default-Class
match access-group name AutoQos-4.0-Acl-Default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 347
Ingress Classification & Marking Policy – Global
Configuration Commands Generated (3 of 3)
auto qos classify police
Policy-map definition
policy-map AutoQos-4.0-Classify-Police-Input-Policy [Continued]
class AutoQos-4.0-Multimedia-Conf-Class class AutoQos-4.0-Scavanger-Class
set dscp af41 set dscp cs1
police cir 5000000 police cir 10000000
conform-action transmit conform-action transmit
exceed-action drop exceed-action drop
class AutoQos-4.0-Bulk-Data-Class class AutoQos-4.0-Signaling-Class
set dscp af11 set dscp cs3
police cir 10000000 police cir 32000 bc 8000
conform-action transmit conform-action transmit
exceed-action set-dscp-transmit dscp table policed-dscp exceed-action drop
class AutoQos-4.0-Transaction-Class class AutoQos-4.0-Default-Class
set dscp af21 set dscp default
police cir 10000000 police cir 10000000
conform-action transmit conform-action transmit
exceed-action set-dscp-transmit dscp table policed-dscp exceed-action set-dscp-transmit dscp table policed-dscp
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 348
Interface-Level Configuration Commands
Generated
auto qos classify police
Interface-level configuration without “auto qos global compact” configured
interface GigabitEthernetx/x/x This is the only command to enable “auto qos
auto qos classify police
service-policy input AutoQos-4.0-Classify-Police-Input-Policy classify police” at the interface-level and to
service-policy output AutoQos-4.0-Output-Policy generate all global commands. All other
commands are generated.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 349
auto qos trust and
auto qos voip trust
Ingress Classification & Marking Policy – Global
Configuration Commands Generated
auto qos trust
Policy-map definition
policy-map AutoQos-4.0-Trust-Cos-Input-Policy
Table-map definition for trust CoS class class-default
Table Map AutoQos-4.0-Trust-Cos-Table set cos cos table AutoQos-4.0-Trust-Cos-Table
default copy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 351
Interface-Level Configuration Commands
Generated
auto qos trust
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 352
auto qos trust cos
Ingress Classification & Marking Policy – Global
Configuration Commands Generated
auto qos trust cos
Policy-map definition
policy-map AutoQos-4.0-Trust-Cos-Input-Policy
Table-map definition for trust CoS class class-default
Table Map AutoQos-4.0-Trust-Cos-Table set cos cos table AutoQos-4.0-Trust-Cos-Table
default copy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 354
Interface-Level Configuration Commands
Generated
auto qos trust cos
Policy-map definition
policy-map AutoQos-4.0-Trust-Dscp-Input-Policy
Table-map definition for trust dscp class class-default
Table Map AutoQos-4.0-Trust-Dscp-Table set dscp dscp table AutoQos-4.0-Trust-Dscp-Table
default copy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 357
Interface-Level Configuration Commands
Generated
auto qos trust dscp
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 360
QoS Policy via the Catalyst 9000 Series Web UI
Custom Policy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 362
QoS Policy via the Catalyst 9000 Series Web UI
Add Class-Map – User Defined (non AVC)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 363
QoS Policy via the Catalyst 9000 Series Web UI
Custom Policy – Applying the Service-Policy to Interfaces
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 364
QoS Policy via the Catalyst 9000 Series Web UI
WEBUI-MARKING-IN Policy
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 365
QoS Policy via the Catalyst 9000 Series Web UI
WEBUI-MARKING-IN Policy (continued)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 366
QoS Policy via the Catalyst 9000 Series Web UI
WEBUI-QUEUING-OUT Policy
• Pre-configured egress
queuing policy which
appears when you enable
AVC via the Web UI
• Navigate to Configuration >
Services > QoS
• Click on WEBUI-QUEUING-
OUT to expose the side
panel
• Implements a 2P6Q3T
egress queuing policy with
Cisco best-practice
recommendations
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 367
QoS Policy via the Catalyst 9000 Series Web UI
WEBUI-MARKING-IN Policy (continued)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 368
QoS Policy via the Catalyst 9000 Series Web UI
WEBUI-QUEUING-OUT Policy-Map
policy-map WEBUI-QUEUING-OUT Two priority [continued]
class WEBUI-VOICE-DSCP queues class WEBUI-TRANSACTIONAL_DATA-DSCP
priority level 1 percent 1 bandwidth remaining percent 20 Allocates buffers
queue-buffers ratio 5 queue-buffers ratio 10 to all queues
class WEBUI-BROADCAST_VIDEO-DSCP queue-limit dscp af23 percent 80
priority level 2 percent 30 queue-limit dscp af22 percent 90
queue-buffers ratio 5 queue-limit dscp af21 percent 100
class WEBUI-NETWORK_CONTROL-DSCP class WEBUI-BULK_DATA-DSCP
Enables DSCP-
bandwidth remaining percent 10 bandwidth remaining percent 14
based WTD and
queue-buffers ratio 5 queue-buffers ratio 20
tunes tail-drop
class WEBUI-MULTIMEDIA_STREAMING-DSCP queue-limit dscp af13 percent 80
percentages to
bandwidth remaining percent 20 queue-limit dscp af12 percent 90
align to AF PHBs
queue-buffers ratio 10 queue-limit dscp af11 percent 100
queue-limit dscp af33 percent 80 class WEBUI-SCAVENGER-DSCP
queue-limit dscp af32 percent 90 bandwidth remaining percent 1
queue-limit dscp af31 percent 100 queue-buffers ratio 5 Configures bandwidth
… class class-default remaining for non-
Implements separate bandwidth remaining percent 35 priority queues
Bulk-Data and queue-buffers ratio 40
Scavenger queues
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 369
QoS Policy via the Catalyst 9000 Series Web UI
WEBUI-QUEUING-OUT Class-Maps
class-map match-any WEBUI-VOICE-DSCP
match dscp ef
class-map match-any WEBUI-BROADCAST_VIDEO-DSCP
match dscp cs4
match dscp af41
match dscp af42
match dscp af43
match dscp cs5
class-map match-any WEBUI-MULTIMEDIA_STREAMING-DSCP
match dscp af31
match dscp af32 [continued]
match dscp af33 class-map match-any WEBUI-TRANSACTIONAL_DATA-DSCP
class-map match-any WEBUI-NETWORK_CONTROL-DSCP match dscp af21
match dscp cs2 match dscp af22
match dscp cs3 match dscp af23
match dscp cs6 class-map match-any WEBUI-BULK_DATA-DSCP
match dscp cs7 match dscp af11
… match dscp af12
match dscp af13
class-map match-any WEBUI-SCAVENGER-DSCP
match dscp cs1
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 370
Backup: Catalyst
9800 Auto QoS
Configurations
Wireless Ingress Policy – Global Configuration
Commands Generated
Auto Qos Mode Enterprise Class-map definitions
class-map match-any AutoQos-4.0-wlan-Voip-Data-Class class-map match-any AutoQos-4.0-wlan-Scavanger-Class
match dscp ef match protocol netflix
class-map match-any AutoQos-4.0-wlan-Voip-Signal-Class match protocol youtube
match protocol skinny match protocol skype
match protocol cisco-jabber-control match protocol bittorrent
match protocol sip
match protocol sip-tls Policy-map definition
class-map match-any AutoQos-4.0-wlan-Multimedia-Conf-Class
match protocol cisco-phone-video policy-map AutoQos-4.0-wlan-ET-SSID-Input-AVC-Policy
match protocol cisco-jabber-video class AutoQos-4.0-wlan-Voip-Data-Class
match protocol ms-lync-video set dscp ef
match protocol webex-media class AutoQos-4.0-wlan-Voip-Signal-Class
class-map match-any AutoQos-4.0-wlan-Transaction-Class set dscp cs3
match protocol cisco-jabber-im class AutoQos-4.0-wlan-Multimedia-Conf-Class
match protocol ms-office-web-apps set dscp af41
match protocol salesforce class AutoQos-4.0-wlan-Transaction-Class
match protocol sap set dscp af21
class-map match-any AutoQos-4.0-wlan-Bulk-Data-Class class AutoQos-4.0-wlan-Bulk-Data-Class
match protocol ftp set dscp af11
match protocol ftp-data class AutoQos-4.0-wlan-Scavanger-Class
match protocol ftps-data set dscp cs1
match protocol cifs class class-default
set dscp default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 372
Wireless Egress Policy – Global Configuration
Commands Generated
Auto QoS Mode Enterprise
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 373
Wireless Policy Profile Configuration Commands
Generated
Auto QoS Mode Enterprise
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 374
Egress Port-level Queuing Policy – Commands
Generated
Auto Qos Mode Enterprise
ACL definition Class-map definitions
ip access-list extended AutoQos-4.0-Output-Acl-CAPWAP-C class-map match-any AutoQos-4.0-Output-CAPWAP-C-Class
10 permit udp any eq 5246 16666 any match access-group name AutoQos-4.0-Output-Acl-CAPWAP-C
class-map match-any AutoQos-4.0-Output-Voice-Class
match dscp ef
Interface definition
Policy-map definition
interface TenGigabitEthernet0/0/0
service-policy output AutoQos-4.0-wlan-Port-Output-Policy policy-map AutoQos-4.0-wlan-Port-Output-Policy
class AutoQos-4.0-Output-CAPWAP-C-Class
priority level 1
class AutoQos-4.0-Output-Voice-Class
priority level 2
class class-default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 375
Wireless Ingress & Egress Policy Global
Configuration Commands Generated
Auto Qos Mode Enterprise
Ingress policy-map definition
policy-map AutoQos-4.0-wlan-GT-SSID-Input-Policy
class class-default
set dscp default Wireless policy profile definition
wireless profile policy default-policy-profile
autoqos mode guest
All traffic set to best effort description "default policy profile"
service-policy input AutoQos-4.0-wlan-GT-SSID-Input-Policy
service-policy output AutoQos-4.0-wlan-GT-SSID-Output-Policy
no shutdown
Egress policy-map definition
policy-map AutoQos-4.0-wlan-GT-SSID-Output-Policy
class class-default
set dscp default
Ingress and egress service-policies applied to
the wireless default-policy-profile.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 376
Egress Port-level Queuing Policy – Commands
Generated
Auto Qos Mode Enterprise
ACL definition Class-map definitions
ip access-list extended AutoQos-4.0-Output-Acl-CAPWAP-C class-map match-any AutoQos-4.0-Output-CAPWAP-C-Class
10 permit udp any eq 5246 16666 any match access-group name AutoQos-4.0-Output-Acl-CAPWAP-C
class-map match-any AutoQos-4.0-Output-Voice-Class
match dscp ef
Interface definition
Policy-map definition
interface TenGigabitEthernet0/0/0
service-policy output AutoQos-4.0-wlan-Port-Output-Policy policy-map AutoQos-4.0-wlan-Port-Output-Policy
class AutoQos-4.0-Output-CAPWAP-C-Class
priority level 1
class AutoQos-4.0-Output-Voice-Class
priority level 2
class class-default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 377
Appendix G:
Catalyst 9800
Auto QoS
Configurations
Catalyst 9800 Auto QoS Configuration
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 379
Auto QoS Mode
Enterprise
Wireless Ingress Policy – Global Configuration
Commands Generated
Auto Qos Mode Enterprise Class-map definitions
class-map match-any AutoQos-4.0-wlan-Voip-Data-Class class-map match-any AutoQos-4.0-wlan-Scavanger-Class
match dscp ef match protocol netflix
class-map match-any AutoQos-4.0-wlan-Voip-Signal-Class match protocol youtube
match protocol skinny match protocol skype
match protocol cisco-jabber-control match protocol bittorrent
match protocol sip
match protocol sip-tls Policy-map definition
class-map match-any AutoQos-4.0-wlan-Multimedia-Conf-Class
match protocol cisco-phone-video policy-map AutoQos-4.0-wlan-ET-SSID-Input-AVC-Policy
match protocol cisco-jabber-video class AutoQos-4.0-wlan-Voip-Data-Class
match protocol ms-lync-video set dscp ef
match protocol webex-media class AutoQos-4.0-wlan-Voip-Signal-Class
class-map match-any AutoQos-4.0-wlan-Transaction-Class set dscp cs3
match protocol cisco-jabber-im class AutoQos-4.0-wlan-Multimedia-Conf-Class
match protocol ms-office-web-apps set dscp af41
match protocol salesforce class AutoQos-4.0-wlan-Transaction-Class
match protocol sap set dscp af21
class-map match-any AutoQos-4.0-wlan-Bulk-Data-Class class AutoQos-4.0-wlan-Bulk-Data-Class
match protocol ftp set dscp af11
match protocol ftp-data class AutoQos-4.0-wlan-Scavanger-Class
match protocol ftps-data set dscp cs1
match protocol cifs class class-default
set dscp default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 381
Wireless Egress Policy – Global Configuration
Commands Generated
Auto QoS Mode Enterprise
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 382
Wireless Policy Profile Configuration Commands
Generated
Auto QoS Mode Enterprise
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 383
Egress Port-level Queuing Policy – Commands
Generated
Auto Qos Mode Enterprise
ACL definition Class-map definitions
ip access-list extended AutoQos-4.0-Output-Acl-CAPWAP-C class-map match-any AutoQos-4.0-Output-CAPWAP-C-Class
10 permit udp any eq 5246 16666 any match access-group name AutoQos-4.0-Output-Acl-CAPWAP-C
class-map match-any AutoQos-4.0-Output-Voice-Class
match dscp ef
Interface definition
Policy-map definition
interface TenGigabitEthernet0/0/0
service-policy output AutoQos-4.0-wlan-Port-Output-Policy policy-map AutoQos-4.0-wlan-Port-Output-Policy
class AutoQos-4.0-Output-CAPWAP-C-Class
priority level 1
class AutoQos-4.0-Output-Voice-Class
priority level 2
class class-default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 384
Auto QoS Mode
Guest
Wireless Ingress & Egress Policy Global
Configuration Commands Generated
Auto Qos Mode Enterprise
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 386
Egress Port-level Queuing Policy – Commands
Generated
Auto Qos Mode Enterprise
Interface definition
Policy-map definition
interface TenGigabitEthernet0/0/0
service-policy output AutoQos-4.0-wlan-Port-Output-Policy policy-map AutoQos-4.0-wlan-Port-Output-Policy
class AutoQos-4.0-Output-CAPWAP-C-Class
priority level 1
class AutoQos-4.0-Output-Voice-Class
priority level 2
class class-default
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 387
Appendix H:
Catalyst 9000
Series / 3850 /
3650 Hierarchical
QoS
Catalyst 9000 / 3850 / 3650
Hierarchical QoS Policies—Queuing within Shaped Rate Example
policy-map 50MBPS-SHAPER
class class-default Defines the sub-line rate (CIR)
shape average 50000000
service-policy 2P6Q3T
Provides back-pressure to the system to
interface GigabitEthernet 1/0/1 engage the (previously-defined) queuing
service-policy output 50MBPS-SHAPER policy, so that packets are properly
prioritized within the sub-line rate
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 389
Appendix I: Cisco
DNA Center
Application Policy
& Application
Assurance
Cisco DNA Center Application Policy
Network Operators express high-level
business-intent through Cisco DNA
Center Application Policy
Cisco DNA Center Southbound APIs translate business-intent
to platform-specific configurations
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 392
Cisco DNA Assurance - Application Health
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 393
Device 360—Application Experience (ISR Router)
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 394
Application 360—SSH
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 395
Client 360 – Application Experience
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 396
Calculating Jitter and Loss for RTP Apps
Gaps in
Jitter is calculated
subsequent RTP
by comparing the
packet sequence
timestamps of RTP
numbers identifies
packets with
lost packets
subsequent
sequence
numbers
RTP Header Format
https://tools.ietf.org/html/rfc3550#section-5.1
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 397
Calculating Latency and Loss for TCP Apps
Application Response Time (ART) SND = Server Network Delay
Client Server
CND = Client Network Delay
ART
SYN
SND
SYN-ACK Network Delay ND = ( CND + SND ) /2
CND
(ND)
ACK
Request 1
Request
ACK Response t(First response pkt)
Request 1 (Cont)
Time (RT) – t(Last request pkt)
RT
DATA 1
DATA 2 Application AD = RT – SND
DATA 3 Delay (AD)
X
ACK 3 DATA 4
X DATA 5
DATA 3 Response
Packet Loss Loss ≈ Retransmissions
DATA 4 (95%+ accuracy)
Retransmission
ACK 6
DATA 6
Request 2
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 398
Complete your
online session
survey • Please complete your session survey
after each session. Your feedback
is very important.
• Complete a minimum of 4 session
surveys and the Overall Conference
survey (starting on Thursday) to
receive your Cisco Live t-shirt.
• All surveys can be taken in the Cisco Events
Mobile App or by logging in to the Content
Catalog on ciscolive.com/emea.
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 399
Continue your education
Demos in the
Walk-In Labs
Cisco Showcase
BRKCRS-2501 © 2020 Cisco and/or its affiliates. All rights reserved. Cisco Public 400
Thank you