B Qos 3se 3850 CG
B Qos 3se 3850 CG
Switches)
First Published: January 29, 2013
Last Modified: October 07, 2013
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version
of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
Preface Preface ix
Document Conventions ix
Related Documentation xi
Obtaining Documentation and Submitting a Service Request xi
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 iii
Contents
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
iv OL-26764-02
Contents
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 v
Contents
Queue Buffer 51
Queue Buffer Allocation 52
Dynamic Threshold and Scaling 52
Queuing in Wireless 52
Trust Behavior 53
Trust Behavior for Wired and Wireless Ports 53
Port Security on a Trusted Boundary for Cisco IP Phones 54
Wireless QoS Mobility 55
Inter-Switch Roaming 55
Intra-Switch Roaming 56
Precious Metal Policies for Wireless QoS 56
Standard QoS Default Settings 57
Default Wired QoS Configuration 57
DSCP Maps 57
Default CoS-to-DSCP Map 57
Default IP-Precedence-to-DSCP Map 57
Default DSCP-to-CoS Map 58
Default Wireless QoS Configuration 58
Restrictions for QoS on Wired Targets 59
Restrictions for QoS on Wireless Targets 61
How to Configure QoS 64
Configuring Class, Policy, and Table Maps 64
Creating a Traffic Class (CLI) 64
Creating a Traffic Policy (CLI) 67
Configuring Client Policies (GUI) 71
Configuring Class-Based Packet Marking (CLI) 73
Configuring Class Maps for Voice and Video (CLI) 78
Attaching a Traffic Policy to an Interface (CLI) 79
Configuring SSID Policies (GUI) 81
Applying an SSID or Client Policy on a WLAN (CLI) 82
Classifying, Policing, and Marking Traffic on Physical Ports by Using Policy Maps
(CLI) 83
Classifying, Policing, and Marking Traffic on SVIs by Using Policy Maps (CLI) 87
Configuring Table Maps (CLI) 90
Configuring Trust 93
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
vi OL-26764-02
Contents
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 vii
Contents
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
viii OL-26764-02
Preface
• Document Conventions, page ix
• Related Documentation, page xi
• Obtaining Documentation and Submitting a Service Request, page xi
Document Conventions
This document uses the following conventions:
Convention Description
^ or Ctrl Both the ^ symbol and Ctrl represent the Control (Ctrl) key on a keyboard. For
example, the key combination ^D or Ctrl-D means that you hold down the Control
key while you press the D key. (Keys are indicated in capital letters but are not
case sensitive.)
bold font Commands and keywords and user-entered text appear in bold font.
Italic font Document titles, new or emphasized terms, and arguments for which you supply
values are in italic font.
Courier font Terminal sessions and information the system displays appear in courier font.
Bold Courier font Bold Courier font indicates text that the user must enter.
... An ellipsis (three consecutive nonbolded periods without spaces) after a syntax
element indicates that the element can be repeated.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 ix
Preface
Document Conventions
Convention Description
{x | y} Required alternative keywords are grouped in braces and separated by vertical
bars.
[x {y | z}] Nested set of square brackets or braces indicate optional or required choices
within optional or required elements. Braces and a vertical bar within square
brackets indicate a required choice within an optional element.
string A nonquoted set of characters. Do not use quotation marks around the string or
the string will include the quotation marks.
!, # An exclamation point (!) or a pound sign (#) at the beginning of a line of code
indicates a comment line.
Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the
manual.
Tip Means the following information will help you solve a problem.
Caution Means reader be careful. In this situation, you might do something that could result in equipment damage
or loss of data.
Timesaver Means the described action saves time. You can save time by performing the action described in the
paragraph.
Warning Means reader be warned. In this situation, you might perform an action that could result in bodily
injury.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
x OL-26764-02
Preface
Related Documentation
Related Documentation
Note Before installing or upgrading the switch, refer to the switch release notes.
• Cisco SFP and SFP+ modules documentation, including compatibility matrixes, located at:
http://www.cisco.com/en/US/products/hw/modules/ps5455/tsd_products_support_series_home.html
• Cisco Validated Designs documents, located at:
http://www.cisco.com/go/designzone
• Error Message Decoder, located at:
https://www.cisco.com/cgi-bin/Support/Errordecoder/index.cgi
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 xi
Preface
Obtaining Documentation and Submitting a Service Request
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
xii OL-26764-02
CHAPTER 1
Using the Command-Line Interface
• Information About Using the Command-Line Interface, page 1
• How to Use the CLI to Configure Features, page 5
Command Modes
The Cisco IOS user interface is divided into many different modes. The commands available to you depend
on which mode you are currently in. Enter a question mark (?) at the system prompt to obtain a list of commands
available for each command mode.
You can start a CLI session through a console connection, through Telnet, a SSH, or by using the browser.
When you start a session, you begin in user mode, often called user EXEC mode. Only a limited subset of
the commands are available in user EXEC mode. For example, most of the user EXEC commands are one-time
commands, such as show commands, which show the current configuration status, and clear commands,
which clear counters or interfaces. The user EXEC commands are not saved when the switch reboots.
To have access to all commands, you must enter privileged EXEC mode. Normally, you must enter a password
to enter privileged EXEC mode. From this mode, you can enter any privileged EXEC command or enter
global configuration mode.
Using the configuration modes (global, interface, and line), you can make changes to the running configuration.
If you save the configuration, these commands are stored and used when the switch reboots. To access the
various configuration modes, you must start at global configuration mode. From global configuration mode,
you can enter interface configuration mode and line configuration mode.
This table describes the main command modes, how to access each one, the prompt you see in that mode, and
how to exit the mode.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 1
Using the Command-Line Interface
Command Modes
Privileged EXEC While in user EXEC Enter disable to Use this mode to
Switch#
mode, enter the exit. verify commands
enable command. that you have
entered. Use a
password to protect
access to this mode.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
2 OL-26764-02
Using the Command-Line Interface
Using the Help System
SUMMARY STEPS
1. help
2. abbreviated-command-entry ?
3. abbreviated-command-entry <Tab>
4. ?
5. command ?
6. command keyword ?
DETAILED STEPS
Example:
Switch# sh conf<tab>
Switch# show configuration
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 3
Using the Command-Line Interface
Understanding Abbreviated Commands
Example:
Switch> show ?
Example:
Switch(config)# cdp holdtime ?
<10-255> Length of time (in sec) that receiver
must keep this packet
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
4 OL-26764-02
Using the Command-Line Interface
Configuration Logging
% Incomplete command. You did not enter all of the Reenter the command followed by
keywords or values required by this a question mark (?) with a space
command. between the command and the
question mark.
The possible keywords that you can
enter with the command appear.
% Invalid input detected at You entered the command Enter a question mark (?) to display
‘^’ marker.
incorrectly. The caret (^) marks the all of the commands that are
point of the error. available in this command mode.
The possible keywords that you can
enter with the command appear.
Configuration Logging
You can log and view changes to the switch configuration. You can use the Configuration Change Logging
and Notification feature to track changes on a per-session and per-user basis. The logger tracks each
configuration command that is applied, the user who entered the command, the time that the command was
entered, and the parser return code for the command. This feature includes a mechanism for asynchronous
notification to registered applications whenever the configuration changes. You can choose to have the
notifications sent to the syslog.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 5
Using the Command-Line Interface
Configuring the Command History
SUMMARY STEPS
DETAILED STEPS
Recalling Commands
To recall commands from the history buffer, perform one of the actions listed in this table. These actions are
optional.
Note The arrow keys function only on ANSI-compatible terminals such as VT100s.
SUMMARY STEPS
DETAILED STEPS
Step 2 Ctrl-N or use the down arrow key Returns to more recent commands in the history buffer after recalling commands
with Ctrl-P or the up arrow key. Repeat the key sequence to recall successively
more recent commands.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
6 OL-26764-02
Using the Command-Line Interface
Enabling and Disabling Editing Features
SUMMARY STEPS
1. terminal no history
DETAILED STEPS
SUMMARY STEPS
1. terminal editing
2. terminal no editing
DETAILED STEPS
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 7
Using the Command-Line Interface
Enabling and Disabling Editing Features
Note The arrow keys function only on ANSI-compatible terminals such as VT100s.
Ctrl-B or use the left arrow key Moves the cursor back one character.
Ctrl-F or use the right arrow key Moves the cursor forward one character.
Delete or Backspace key Erases the character to the left of the cursor.
Ctrl-U or Ctrl-X Deletes all characters from the cursor to the beginning
of the command line.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
8 OL-26764-02
Using the Command-Line Interface
Enabling and Disabling Editing Features
Note The arrow keys function only on ANSI-compatible terminals such as VT100s.
The following example shows how to wrap a command line that extends beyond a single line on the screen.
SUMMARY STEPS
1. access-list
2. Ctrl-A
3. Return key
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 9
Using the Command-Line Interface
Searching and Filtering Output of show and more Commands
DETAILED STEPS
SUMMARY STEPS
DETAILED STEPS
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
10 OL-26764-02
Using the Command-Line Interface
Accessing the CLI on a Switch Stack
Note We recommend using one CLI session when managing the switch stack.
If you want to configure a specific stack member port, you must include the stack member number in the CLI
command interface notation.
To debug the standby switch, use the session standby ios privileged EXEC command from the active switch
to access the IOS console of the standby switch. To debug a specific stack member, use the session switch
stack-member-number privileged EXEC command from the active switch to access the diagnostic shell of
the stack member. For more information about these commands, see the switch command reference.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 11
Using the Command-Line Interface
Accessing the CLI Through a Console Connection or Through Telnet
• The switch supports up to 16 simultaneous Telnet sessions. Changes made by one Telnet user are
reflected in all other Telnet sessions.
• The switch supports up to five simultaneous secure SSH sessions.
After you connect through the console port, through the Ethernet management port, through a Telnet
session or through an SSH session, the user EXEC prompt appears on the management station.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
12 OL-26764-02
CHAPTER 2
Using the Web Graphical User Interface
• Prerequisites for Using the Web GUI, page 13
• Information About Using The Web GUI, page 13
• Connecting the Console Port of the Switch , page 15
• Logging On to the Web GUI, page 15
• Enabling Web and Secure Web Modes , page 15
• Configuring the Switch Web GUI, page 16
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 13
Using the Web Graphical User Interface
Web GUI Features
wireless configuration. Start the wizard through Configuration -> Wizard and follow the nine-step process to
configure the following:
• Admin Users
• SNMP System Summary
• Management Port
• Wireless Management
• RF Mobility and Country code
• Mobility configuration
• WLANs
• 802.11 Configuration
• Set Time
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
14 OL-26764-02
Using the Web Graphical User Interface
Connecting the Console Port of the Switch
Step 1 Connect one end of a null-modem serial cable to the switch's RJ-45 console port and the other end to your PC's serial
port.
Step 2 Plug the AC power cord into the switch and a grounded 100 to 240 VAC, 50/60-Hz electrical outlet. Turn on the power
supply. The bootup script displays operating system software initialization (code download and power-on self-test
verification) and basic configuration. If the switch passes the power-on self-test, the bootup script runs the configuration
wizard, which prompts you for basic configuration input.
Step 3 Enter yes. Proceed with basic initial setup configuration parameters in the CLI setup wizard. Specify the IP address for
the service port which is the gigabitethernet 0/0 interface.
After entering the configuration parameters in the configuration wizard, you can access the Web GUI. Now, the switch
is configured with the IP address for service port.
Step 1 Enter the switch IP address in your browser’s address line. For a secure connection, enter https://ip-address. For a less
secure connection, enter http://ip-address.
Step 2 The Accessing Cisco AIR-CT3850 page appears.
Step 1 Choose Configuration > Management > Protocol Management > HTTP-HTTPS.
The HTTP-HTTPS Configuration page appears.
Step 2 To enable web mode, which allows users to access the switch GUI using “http://ip-address,” choose Enabled from the
HTTP Access drop-down list. Otherwise, choose Disabled. Web mode (HTTP) is not a secure connection.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 15
Using the Web Graphical User Interface
Configuring the Switch Web GUI
Step 3 To enable secure web mode, which allows users to access the switch GUI using “https://ip-address,” choose Enabled
from the HTTPS Access drop-down list. Otherwise, choose Disabled. Secure web mode (HTTPS) is a secure connection.
Step 4 Choose to track the device in the IP Device Tracking check box.
Step 5 Choose to enable the trust point in the Enable check box.
Step 6 Choose the trustpoints from the Trustpoints drop-down list.
Step 7 Enter the amount of time, in seconds, before the web session times out due to inactivity in the HTTP Timeout-policy (1
to 600 sec) text box.
The valid range is from 1 to 600 seconds.
Step 8 Enter the server life time in the Server Life Time (1 to 86400 sec) text box.
The valid range is from1 to 86400 seconds.
Step 9 Enter the maximum number of connection requests that the server can accept in the Maximum number of Requests (1
to 86400) text box.
The valid range is from 1 to 86400 connections.
Step 1 Connect your PC to the service port and configure an IPv4 address to use the same subnet as the switch. The switch is
loaded with IOS XE image and the service port interface is configured as gigabitethernet 0/0.
Step 2 Start Internet Explorer 10 (or later), Firefox 2.0.0.11 (or later), or Google Chrome on your PC and enter the management
interface IP address on the browser window. The management interface IP address is same as the gigabitethernet 0/0
(also known as service port interface). When you log in for the first time, you need to enter HTTP username and password.
By default, the username is admin and the password is cisco.
You can use both HTTP and HTTPS when using the service port interface. HTTPS is enabled by default and HTTP can
also be enabled.
When you log in for the first time, the <Model Number> <Hostname> page appears.
Step 3 On the page, click the Wireless Web GUI link to access switch web GUI Home page.
Step 4 Choose Configuration > Wizard to perform all steps that you need to configure the switch initially.
The Admin Users page appears.
Step 5 On the Admin Users page, enter the administrative username to be assigned to this switch in the User Name text box
and the administrative password to be assigned to this switch in the Password and Confirm Password text boxes. Click
Next.
The default username is admin and the default password is cisco. You can also create a new administrator user for the
switch. You can enter up to 24 ASCII characters for username and password.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
16 OL-26764-02
Using the Web Graphical User Interface
Configuring the Switch Web GUI
Step 6 On the SNMP System Summary page, enter the following SNMP system parameters for the switch, and click Next:
• Customer-definable switch location in the Location text box.
• Customer-definable contact details such as phone number with names in the Contact text box.
• Choose enabled to send SNMP notifications for various SNMP traps or disabled not to send SNMP notifications
for various SNMP traps from the SNMP Global Trap drop-down list.
• Choose enabled to send system log messages or disabled not to send system log messages from the SNMP Logging
drop-down list.
Note The SNMP trap server, must be reachable through the distribution ports (and not through the gigabitethernet0/0
service or management interface).
The Management Port page appears.
Step 7 In the Management Port page, enter the following parameters for the management port interface (gigabitethernet 0/0)
and click Next.
• Interface IP address that you assigned for the service port in the IP Address text box.
• Network mask address of the management port interface in the Netmask text box.
• The IPv4 Dynamic Host Configuration Protocol (DHCP) address for the selected port in the IPv4 DHCP Server
text box.
Step 8 In the Wireless Management page, enter the following wireless interface management details, and click Next.
• Choose the interface—VLAN, or Ten Gigabit Ethernet from the Select Interface drop-down list.
• VLAN tag identifier, or 0 for no VLAN tag in the VLAN id text box.
• IP address of wireless management interface where access points are connected in the IP Address text box.
• Network mask address of the wireless management interface in the Netmask text box.
• DHCP IPv4 IP address in the IPv4 DHCP Server text box.
When selecting VLAN as interface, you can specify the ports as –Trunk or Access ports from the selected list displayed
in the Switch Port Configuration text box.
The RF Mobility and Country Code page appears.
Step 9 In the RF Mobility and Country Code page, enter the RF mobility domain name in the RF Mobility text box, choose
current country code from the Country Code drop-down list, and click Next. From the GUI, you can select only one
country code.
Note Before configuring RF grouping parameters and mobility configuration, ensure that you refer to the relevant
conceptual content and then proceed with the configuration.
The Mobility Configuration page with mobility global configuration settings appears.
Step 10 In the Mobility Configuration page, view and enter the following mobility global configuration settings, and click Next.
• Choose Mobility Controller or Mobility Agent from the Mobility Role drop-down list:
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 17
Using the Web Graphical User Interface
Configuring the Switch Web GUI
• If Mobility Agent is chosen, enter the mobility controller IP address in the Mobility Controller IP Address
text box and mobility controller IP address in the Mobility Controller Public IP Address text box.
• If Mobility Controller is chosen, then the mobility controller IP address and mobility controller public IP
address are displayed in the respective text boxes.
• Displays mobility protocol port number in the Mobility Protocol Port text box.
• Displays the mobility switch peer group name in the Mobility Switch Peer Group Name text box.
• Displays whether DTLS is enabled in the DTLS Mode text box.
DTLS is a standards-track Internet Engineering Task Force (IETF) protocol based on TLS.
• Displays mobility domain identifier for 802.11 radios in the Mobility Domain ID for 802.11 radios text box.
• The amount of time (in seconds) between each ping request sent to an peer switch in the Mobility Keepalive Interval
(1-30)sec text box.
Valid range is from 1 to 30 seconds, and the default value is 10 seconds.
• Number of times a ping request is sent to an peer switch before the peer is considered to be unreachable in the
Mobility Keepalive Count (3-20) text box.
The valid range is from 3 to 20, and the default value is 3.
• The DSCP value that you can set for the mobility switch in the Mobility Control Message DSCP Value (0-63) text
box.
The valid range is 0 to 63, and the default value is 0.
• Displays the number of mobility switch peer group member configured in the Switch Peer Group Members
Configured text box.
Step 11 In the WLANs page, enter the following WLAN configuration parameters, and click Next.
• WLAN identifier in the WLAN ID text box.
• SSID of the WLAN that the client is associated with in the SSID text box.
• Name of the WLAN used by the client in the Profile Name text box.
Step 12 In the 802.11 Configuration page, check either one or both 802.11a/n/ac and 802.11b/g/n check boxes to enable the
802.11 radios, and click Next.
The Set Time page appears.
Step 13 In the Set Time page, you can configure the time and date on the switch based on the following parameters, and click
Next.
• Displays current timestamp on the switch in the Current Time text box.
• Choose either Manual or NTP from the Mode drop-down list.
On using the NTP server, all access points connected to the switch, synchronizes its time based on the NTP server
settings available.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
18 OL-26764-02
Using the Web Graphical User Interface
Configuring the Switch Web GUI
• Choose date on the switch from the Year, Month, and Day drop-down list.
• Choose time from the Hours, Minutes, and Seconds drop-down list.
• Enter the time zone in the Zone text box and select the off setting required when compared to the current time
configured on the switch from the Offset drop-down list.
Step 14 In the Save Wizard page, you can review the configuration settings performed on the switch using these steps, and if
you wish to change any configuration value, click Previous and navigate to that page.
You can save the switch configuration created using the wizard only if a success message is displayed for all the wizards.
If the Save Wizard page displays errors, you must recreate the wizard for initial configuration of the switch.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 19
Using the Web Graphical User Interface
Configuring the Switch Web GUI
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
20 OL-26764-02
CHAPTER 3
Configuring QoS
• Finding Feature Information, page 21
• Prerequisites for QoS, page 21
• QoS Components, page 22
• QoS Terminology, page 22
• Information About QoS, page 23
• Restrictions for QoS on Wired Targets, page 59
• Restrictions for QoS on Wireless Targets, page 61
• How to Configure QoS, page 64
• Monitoring QoS, page 119
• Configuration Examples for QoS, page 121
• Where to Go Next, page 134
• Additional References for QoS, page 134
• Feature History and Information for QoS, page 136
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 21
Configuring QoS
QoS Components
Related Topics
Restrictions for QoS on Wired Targets, on page 59
Restrictions for QoS on Wireless Targets, on page 61
QoS Components
QoS consists of the following key components:
• Classification— Classification is the process of distinguishing one type of traffic from another based
upon ACLs, Differentiated Services Code Point (DSCP), Class of Service (CoS), and other factors.
• Marking and mutation— Marking is used on traffic to convey specific information to a downstream
device in the network, or to carry information from one interface in a switch to another. When traffic is
marked, QoS operations on that traffic can be applied. This can be accomplished directly using the set
command or through a table map, which takes input values and translates them directly to values on
output.
• Shaping and policing— Shaping is the process of imposing a maximum rate of traffic, while regulating
the traffic rate in such a way that downstream devices are not subjected to congestion. Shaping in the
most common form is used to limit the traffic sent from a physical or logical interface. Policing is used
to impose a maximum rate on a traffic class. If the rate is exceeded, then a specific action is taken as
soon as the event occurs.
• Queuing — Queueing is used to prevent traffic congestion. Traffic is sent to specific queues for servicing
and scheduling based upon bandwidth allocation. Traffic is then scheduled or sent out through the port.
• Bandwidth—Bandwidth allocation determines the available capacity for traffic that is subject to QoS
policies.
• Trust— Trust enables traffic to pass through the switch, and the DSCP, precedence, or CoS values
coming in from the end points are retained in the absence of any explicit policy configuration.
QoS Terminology
The following terms are used interchangeably in this QoS configuration guide:
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
22 OL-26764-02
Configuring QoS
Information About QoS
Note Upstream is wireless to wired. Downstream is wired to wireless. Wireless to wireless has no specific term.
Related Topics
Restrictions for QoS on Wired Targets, on page 59
Restrictions for QoS on Wireless Targets, on page 61
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 23
Configuring QoS
QoS Overview
• Radio
• SSID (applicable on a per-radio, per-AP, and per-SSID)
• Client
The following table displays how policies are supported for the wireless targets.
Note Additional polices that are user configured include multi-destination policers and VLANs.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
24 OL-26764-02
Configuring QoS
QoS Overview
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 25
Configuring QoS
QoS Overview
Related Topics
Port Policy Format, on page 28
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
26 OL-26764-02
Configuring QoS
QoS Overview
Related Topics
Applying a QoS Policy on a WLAN (GUI), on page 117
Port Policies, on page 27
Port Policy Format, on page 28
Radio Policies, on page 29
Applying an SSID or Client Policy on a WLAN (CLI), on page 82
Configuring SSID Policies (GUI), on page 81
Applying a QoS Policy on a WLAN (GUI), on page 117
SSID Policies, on page 30
Configuring Client Policies (CLI)
Configuring Client Policies (GUI), on page 71
Applying a QoS Policy on a WLAN (GUI), on page 117
Client Policies, on page 30
Port Policies
The switch supports port-based policies. The port policies includes port shaper and a child policy
(port_child_policy).
Note Port child policies only apply to wireless ports and not to wired ports on the switch. A wireless port is
defined as a port to which APs join. A default port child policy is applied on the switch to the wireless
ports at start up.The port shaper rate is limited to 1G
Port shaper specifies the traffic policy applicable between the device and the AP. This is the sum of the radio
rates supported on the access point.
The child policy determines the mapping between packets and queues defined by the port-child policy. The
child policy can be configured to include voice, video, class-default, and non-client-nrt classes where voice
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 27
Configuring QoS
QoS Overview
and video are based on DSCP value (which is the outer CAPWAP header DSCP value). The definition of
class-default is known to the system as any value other than voice and video DSCP.
The DSCP value is assigned when the packet reaches the port. Before the packet arrives at the port, the SSID
policies are applied on the packet. Port child policy also includes multicast percentage for a given port traffic.
By default, the port child policy allocates up to 10 percent of the available rate.
Related Topics
Applying a QoS Policy on a WLAN (GUI), on page 117
Restrictions for QoS on Wireless Targets, on page 61
Supported QoS Features on Wireless Targets, on page 26
Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic, on page 125
Note The class map and policy map listed are system-defined policies and cannot be changed.
The following is the system-defined policy map available on the ports on which wireless devices are associated.
The format consists of a parent policy and a service child policy (port_child_policy). To customize the policies
to suite your network needs, you must configure the port child policy.
Policy-map policy_map_name
Class class-default
Shape average average_rate
Service-policy port_child_policy
Note The parent policy is system generated and cannot be changed. You must configure the port_child_policy
policy to suit the QoS requirements on your network.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
28 OL-26764-02
Configuring QoS
QoS Overview
Depending on the type of traffic in your network, you can configure the port child policy. For example, in a
typical wireless network deployment, you can assign specific priorities to voice and video traffic. Here is an
example:
Policy-map port_child_policy
Class voice-policy-name (match dscp ef)
Priority level 1
Police (multicast-policer-name-voice) Multicast Policer
Class video-policy-name (match dscp af41)
Priority level 2
Police (multicast-policer-name-video) Multicast Policer
Class non-client-nrt-class traffic(match non-client-nrt)
Bandwidth remaining ratio (brr-value-nrt-q2)
Class class-default (NRT Data)
Bandwidth remaining ratio (brr-value-q3)
In the above sample configuration, all voice and video traffic is directed to the Q0 and Q1 queues, respectively.
These queues maintain a strict priority. The packets in Q0 and Q1 are processed in that order. The bandwidth
remaining ratios brr-value-nrt-q2 and brr-value-q3 are directed to the Q2 and Q3 respectively specified by
the class maps and class-default and non-client-nrt. The processing of packets on Q2 and Q3 are based on a
weighted round-robin approach. For example, if the brr-value-nrtq2 has a value of 90 and brr-value-nrtq3 is
10, the packets in queue 2 and queue 3 are processed in the ratio of 9:1.
Related Topics
Applying a QoS Policy on a WLAN (GUI), on page 117
Restrictions for QoS on Wireless Targets, on page 61
Supported QoS Features on Wireless Targets, on page 26
Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic, on page 125
Wired and Wireless Access Supported Features, on page 24
Policy Maps, on page 40
Radio Policies
The radio policies are system defined and are not user configurable. Radio wireless targets are only applicable
in the downstream direction.
Radio policies are applicable on a per-radio, per-access point basis. The rate limit on the radios is the practical
limit of the AP radio rate. This value is equivalent to the sum of the radios supported by the access point.
The following radios are supported:
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 29
Configuring QoS
QoS Overview
• 802.11 a/n
• 802.11 b/n
• 802.11 a/c
Related Topics
Restrictions for QoS on Wireless Targets, on page 61
Supported QoS Features on Wireless Targets, on page 26
SSID Policies
You can create QoS policies on SSID BSSID (Basic Service Set Identification) in both the upstream and
downstream directions. By default, there is no SSID policy. You can configure an SSID policy based on the
SSID name. The policy is applicable on a per BSSID.
The types of policies you can create on SSID include marking by using table maps (table-maps), shape rate,
and RT1 (Real Time 1) and RT2 (Real Time 2) policiers. If traffic is upstream, you usually configure a marking
policy on the SSID. If traffic is downstream, you can configure marking and queuing.
There should be a one-to-one mapping between the policies configured on a port and an SSID. For example,
if you configure class voice and class video on the port, you can have a similar policy on the SSID.
SSID priorities can be specified by configuring bandwidth remaining ratio. Queuing SSID policies are applied
in the downstream direction.
Related Topics
Applying an SSID or Client Policy on a WLAN (CLI), on page 82
Configuring SSID Policies (GUI), on page 81
Applying a QoS Policy on a WLAN (GUI), on page 117
Supported QoS Features on Wireless Targets, on page 26
Examples: SSID Policy
Examples: Configuring Downstream SSID Policy, on page 125
Client Policies
Client policies are applicable in the upstream and downstream direction. The wireless control module of the
switch applies the default client policies when admission control is enabled for WMM clients. When admission
control is disabled, there is no default client policy. You can configure policing and marking policies on
clients.
Note A client policy can have both IPv4 and IPv6 filters.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
30 OL-26764-02
Configuring QoS
QoS Overview
• Using the Cisco IOS MQC CLI—You can use a combination of CLI and TCLAS and CLI and SIP
snooping.
• Using the default configuration
Note When applying client policies on a WLAN, you must disable the WLAN before modifying the client
policy. SSID policies can be modified even if the WLAN is enabled.
Note If you configured AAA by configuring the unified wireless controller procedure, and using the MQC QoS
commands, the policy configuration performed through the MQC QoS commands takes precedence.
Related Topics
Configuring Client Policies (CLI)
Configuring Client Policies (GUI), on page 71
Applying a QoS Policy on a WLAN (GUI), on page 117
Supported QoS Features on Wireless Targets, on page 26
Examples: Client Policies, on page 126
Hierarchical QoS
The switch supports hierarchical QoS (HQoS). HQoS allows you to perform:
• Hierarchical classification— Traffic classification is based upon other classes.
• Hierarchical policing—The process of having the policing configuration at multiple levels in a hierarchical
policy.
• Hierarchical shaping—Shaping can also be configured at multiple levels in the hierarchy.
Note Hierarchical shaping is only supported for the port shaper, where for the parent you only
have a configuration for the class default, and the only action for the class default is
shaping.
Related Topics
Examples: Hierarchical Classification, on page 123
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 31
Configuring QoS
QoS Overview
This figure shows the various targets available on a wireless network, as well as a hierarchal wireless
configuration. Wireless QoS is applied per-radio constraint, per-WLAN, and per-client constraint.
Figure 1: Hierarchical QoS
This figure displays the wireless packet flow and encapsulation used in hierarchical wireless QoS. The incoming
packet enters the switch. The switch encapsulates this incoming packet and adds the 802.11e and CAPWAP
headers.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
32 OL-26764-02
Configuring QoS
QoS Implementation
Figure 2: Wireless Packet Path in the Egress Direction during First Pass
Hierarchical AFD
Approximate Fair Dropping (AFD) is a feature provided by the QoS infrastructure in Cisco IOS. For wireless
targets, AFD can be configured on SSID (via shaping) and clients (via policing). AFD shaping rate is only
applicable for downstream direction. Unicast real-time traffic is not subjected to AFD drops.
QoS Implementation
Typically, networks operate on a best-effort delivery basis, which means that all traffic has equal priority and
an equal chance of being delivered in a timely manner. When congestion occurs, all traffic has an equal chance
of being dropped.
When you configure the QoS feature, you can select specific network traffic, prioritize it according to its
relative importance, and use congestion-management and congestion-avoidance techniques to provide
preferential treatment. Implementing QoS in your network makes network performance more predictable and
bandwidth utilization more effective.
The QoS implementation is based on the Differentiated Services (Diff-Serv) architecture, a standard from the
Internet Engineering Task Force (IETF). This architecture specifies that each packet is classified upon entry
into the network.
The classification is carried in the IP packet header, using 6 bits from the deprecated IP type of service (ToS)
field to carry the classification (class) information. Classification can also be carried in the Layer 2 frame.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 33
Configuring QoS
QoS Implementation
The special bits in the Layer 2 frame or a Layer 3 packet are shown in the following figure:
Figure 3: QoS Classification Layers in Frames and Packets
Related Topics
Restrictions for QoS on Wired Targets, on page 59
Restrictions for QoS on Wireless Targets, on page 61
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
34 OL-26764-02
Configuring QoS
QoS Implementation
Packet Classification
Packet classification is the process of identifying a packet as belonging to one of several classes in a defined
policy, based on certain criteria. The Modular QoS CLI (MQC) is a policy-class based language. The policy
class language is used to define the following:
• Class-map template with one or several match criteria
• Policy-map template with one or several classes associated to the policy map
The policy map template is then associated to one or several interfaces on the switch.
Packet classification is the process of identifying a packet as belonging to one of the classes defined in the
policy map. The process of classification will exit when the packet being processed matches a specific filter
in a class. This is referred to as first-match exit. If a packet matches multiple classes in a policy, irrespective
of the order of classes in the policy map, it would still exit the classification process after matching the first
class.
If a packet does not match any of the classes in the policy, it would be classified into the default class in the
policy. Every policy map has a default class, which is a system-defined class to match packets that do not
match any of the user-defined classes.
Packet classification can be categorized into the following types:
• Classification based on information that is propagated with the packet
• Classification based on information that is switch specific
• Hierarchical classification
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 35
Configuring QoS
QoS Implementation
1 001 Priority
2 010 Immediate
3 011 Flash
5 101 Critical
Note All routing control traffic in the network uses IP precedence value 6 by default. IP precedence value 7
also is reserved for network control traffic. Therefore, the use of IP precedence values 6 and 7 is not
recommended for user traffic.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
36 OL-26764-02
Configuring QoS
QoS Implementation
The DSCP field is made up of 6 bits in the IP header and is being standardized by the Internet Engineering
Task Force (IETF) Differentiated Services Working Group. The original ToS byte contained the DSCP bits
has been renamed the DSCP byte. The DSCP field is part of the IP header, similar to IP precedence. The
DSCP field is a super set of the IP precedence field. Therefore, the DSCP field is used and is set in ways
similar to what was described with respect to IP precedence.
Note The DSCP field definition is backward-compatible with the IP precedence values.
Note Some of these fields in the Layer 2 header can also be set using a policy.
Hierarchical Classification
The switch permits you to perform a classification based on other classes. Typically, this action may be
required when there is a need to combine the classification mechanisms (that is, filters) from two or more
classes into a single class map.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 37
Configuring QoS
QoS Wired Model
Note Applying polices on the wireless ingress port is not supported on the switch.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
38 OL-26764-02
Configuring QoS
Classification
Classification
Classification is the process of distinguishing one kind of traffic from another by examining the fields in the
packet. Classification is enabled only if QoS is enabled on the switch. By default, QoS is enabled on the
switch.
During classification, the switch performs a lookup and assigns a QoS label to the packet. The QoS label
identifies all QoS actions to be performed on the packet and from which queue the packet is sent.
Note When creating an access list, note that by default the end of the access list contains an
implicit deny statement for everything if it did not find a match before reaching the end.
After a traffic class has been defined with the ACL, you can attach a policy to it. A policy might contain
multiple classes with actions specified for each one of them. A policy might include commands to classify
the class as a particular aggregate (for example, assign a DSCP) or rate-limit the class. This policy is then
attached to a particular port on which it becomes effective.
You implement IP ACLs to classify IP traffic by using the access-list global configuration command; you
implement Layer 2 MAC ACLs to classify non-IP traffic by using the mac access-list extended global
configuration command.
Class Maps
A class map is a mechanism that you use to name a specific traffic flow (or class) and isolate it from all other
traffic. The class map defines the criteria used to match against a specific traffic flow to further classify it.
The criteria can include matching the access group defined by the ACL or matching a specific list of DSCP
or IP precedence values. If you have more than one type of traffic that you want to classify, you can create
another class map and use a different name. After a packet is matched against the class-map criteria, you
further classify it through the use of a policy map.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 39
Configuring QoS
Classification
You create a class map by using the class-map global configuration command or the class policy-map
configuration command. You should use the class-map command when the map is shared among many ports.
When you enter the class-map command, the switch enters the class-map configuration mode. In this mode,
you define the match criterion for the traffic by using the match class-map configuration command.
You can create a default class by using the class class-default policy-map configuration command. The default
class is system-defined and cannot be configured. Unclassified traffic (traffic that does not meet the match
criteria specified in the traffic classes) is treated as default traffic.
Related Topics
Creating a Traffic Class (CLI), on page 64
Examples: Classification by Access Control Lists, on page 121
Policy Maps
A policy map specifies which traffic class to act on. Actions can include the following:
• Setting a specific DSCP or IP precedence value in the traffic class
• Setting a CoS value in the traffic class
• Setting a QoS group
• Setting a wireless LAN (WLAN) value in the traffic class
• Specifying the traffic bandwidth limitations and the action to take when the traffic is out of profile
Related Topics
Creating a Traffic Policy (CLI), on page 67
Port Policy Format, on page 28
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
40 OL-26764-02
Configuring QoS
Classification
• A policy map can contain multiple class statements, each with different match criteria and policers.
• A policy map can contain a predefined default traffic class explicitly placed at the end of the map.
When you configure a default traffic class by using the class class-default policy-map configuration
command, unclassified traffic (traffic that does not meet the match criteria specified in the traffic classes)
is treated as the default traffic class (class-default).
• A separate policy-map class can exist for each type of traffic received through a port.
Related Topics
Attaching a Traffic Policy to an Interface (CLI), on page 79
Related Topics
Classifying, Policing, and Marking Traffic on SVIs by Using Policy Maps (CLI), on page 87
Examples: Policer VLAN Configuration, on page 131
Note For client policy, the voice and video rate limits are applied at the same time.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 41
Configuring QoS
Policing
Related Topics
Configuring QoS Policies for Multicast Traffic (CLI), on page 116
Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic, on page 125
Policing
After a packet is classified and has a DSCP-based, CoS-based, or QoS-group label assigned to it, the policing
and marking process can begin.
Policing involves creating a policer that specifies the bandwidth limits for the traffic. Packets that exceed the
limits are out of profile or nonconforming. Each policer decides on a packet-by-packet basis whether the
packet is in or out of profile and specifies the actions on the packet. These actions, carried out by the marker,
include passing through the packet without modification, dropping the packet, or modifying (marking down)
the assigned DSCP or CoS value of the packet and allowing the packet to pass through.
To avoid out-of-order packets, both conform and nonconforming traffic typically exit the same queue.
Note All traffic, regardless of whether it is bridged or routed, is subjected to a policer, if one is configured. As
a result, bridged packets might be dropped or might have their DSCP or CoS fields modified when they
are policed and marked.
Related Topics
Configuring Police (CLI), on page 103
Examples: Policing Action Configuration, on page 130
Token-Bucket Algorithm
Policing uses a token-bucket algorithm. As each frame is received by the switch, a token is added to the bucket.
The bucket has a hole in it and leaks at a rate that you specify as the average traffic rate in bits per second.
Each time a token is added to the bucket, the switch verifies that there is enough room in the bucket. If there
is not enough room, the packet is marked as nonconforming, and the specified policer action is taken (dropped
or marked down).
How quickly the bucket fills is a function of the bucket depth (burst-byte), the rate at which the tokens are
removed (rate-bps), and the duration of the burst above the average rate. The size of the bucket imposes an
upper limit on the burst length and limits the number of frames that can be transmitted back-to-back. If the
burst is short, the bucket does not overflow, and no action is taken against the traffic flow. However, if a burst
is long and at a higher rate, the bucket overflows, and the policing actions are taken against the frames in that
burst.
You configure the bucket depth (the maximum burst that is tolerated before the bucket overflows) by using
the burst-byte option of the police policy-map class configuration command. You configure how fast (the
average rate) that the tokens are removed from the bucket by using the rate option of the police policy-map
class configuration command.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
42 OL-26764-02
Configuring QoS
Marking
Related Topics
Configuring Police (CLI), on page 103
Examples: Policing Action Configuration, on page 130
Configuring Police (CLI), on page 103
Examples: Policing Units, on page 131
Marking
Marking is used to convey specific information to a downstream device in the network, or to carry information
from one interface in a switch to another.
Marking can be used to set certain field/bits in the packet headers, or marking can also be used to set certain
fields in the packet structure that is internal to the switch. Additionally, the marking feature can be used to
define mapping between fields. The following marking methods are available for QoS:
• Packet header
• Device (switch) specific information
• Table maps
The marking feature at the IP level is used to set the precedence or the DSCP in the IP header to a specific
value to get a specific per-hop behavior at the downstream device (switch or router), or it can also be used to
aggregate traffic from different input interfaces into a single class in the output interface. The functionality
is currently supported on both the IPv4 and IPv6 headers.
Marking in the Layer 2 headers is typically used to influence dropping behavior in the downstream devices
(switch or router). It works in tandem with the match on the Layer 2 headers. The bits in the Layer 2 header
that can be set using a policy map are class of service.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 43
Configuring QoS
Marking
Note The switch stack supports a total of 14 table maps. Only one table map is supported per wired port, per
direction.
As an example, a table map can be used to map the Layer 2 CoS setting to a precedence value in Layer 3.
This feature enables combining multiple set commands into a single table, which indicates the method to
perform the mapping. This table can be referenced in multiple policies, or multiple times in the same policy.
The following table shows the currently supported forms of mapping:
DSCP CoS
CoS Precedence
CoS DSCP
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
44 OL-26764-02
Configuring QoS
Traffic Conditioning
1 Define the table map—Use the table-map global configuration command to map the values. The table
does not know of the policies or classes within which it will be used. The default command in the table
map is used to indicate the value to be copied into the to field when there is no matching from field.
2 Define the policy map—You must define the policy map where the table map will be used.
3 Associate the policy to an interface.
Note A table map policy on an input port changes the trust setting of that port to the from type of qos-marking.
Related Topics
Configuring Table Maps (CLI), on page 90
Examples: Table Map Marking Configuration, on page 133
Traffic Conditioning
To support QoS in a network, traffic entering the service provider network needs to be policed on the network
boundary routers to ensure that the traffic rate stays within the service limit. Even if a few routers at the
network boundary start sending more traffic than what the network core is provisioned to handle, the increased
traffic load leads to network congestion. The degraded performance in the network makes it difficult to deliver
QoS for all the network traffic.
Traffic policing functions (using the police feature) and shaping functions (using the traffic shaping feature)
manage the traffic rate, but differ in how they treat traffic when tokens are exhausted. The concept of tokens
comes from the token bucket scheme, a traffic metering function.
Note When running QoS tests on network traffic, you may see different results for the shaper and policing data.
Network traffic data from shaping provides more accurate results.
When tokens are exhausted, action is taken When tokens are exhausted, it buffers packets and
immediately. sends them out later, when tokens are available. A
class with shaping has a queue associated with it
which will be used to buffer the packets.
Policing has multiple units of configuration – in bits Shaping has only one unit of configuration - in bits
per second, packets per second and cells per second. per second.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 45
Configuring QoS
Traffic Conditioning
Works for both input and output traffic. Implemented for output traffic only.
Transmission Control Protocol (TCP) detects the line TCP can detect that it has a lower speed line and adapt
at line speed but adapts to the configured rate when its retransmission timer accordingly. This results in
a packet drop occurs by lowering its window size. less scope of retransmissions and is TCP-friendly.
Policing
The QoS policing feature is used to impose a maximum rate on a traffic class. The QoS policing feature can
also be used with the priority feature to restrict priority traffic. If the rate is exceeded, then a specific action
is taken as soon as the event occurs. The rate (committed information rate [CIR] and peak information rate
[PIR] ) and the burst parameters (conformed burst size [ Bc ] and extended burst size [Be] ) are all configured
in bytes per second.
The following policing forms or policers are supported for QoS:
• Single-rate two-color policing
• Dual-rate three-color policing
Note For information about the token-bucket algorithm, see Token-Bucket Algorithm, on page 42.
Related Topics
Configuring Police (CLI), on page 103
Examples: Single-Rate Two-Color Policing Configuration, on page 132
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
46 OL-26764-02
Configuring QoS
Traffic Conditioning
Note For information about the token-bucket algorithm, see Token-Bucket Algorithm, on page 42.
In the color-blind mode, the incoming packet is first checked against the peak rate bucket. If there are not
enough tokens available, the packet is said to violate the rate. If there are enough tokens available, then the
tokens in the conformed rate buckets are checked to determine if there are enough tokens available. The tokens
in the peak rate bucket are decremented by the size of the packet. If it does not have enough tokens available,
the packet is said to have exceeded the configured rate. If there are enough tokens available, then the packet
is said to conform, and the tokens in both the buckets are decremented by the size of the packet.
The rate at which tokens are replenished depends on the packet arrival. Assume that a packet comes in at time
T1 and the next one comes in at time T2. The time interval between T1 and T2 determines the number of
tokens that need to be added to the token bucket. This is calculated as:
Time interval between packets (T2-T1) * CIR)/8 bytes
Related Topics
Configuring Police (CLI), on page 103
Examples: Dual-Rate Three-Color Policing Configuration, on page 132
Shaping
Shaping is the process of imposing a maximum rate of traffic, while regulating the traffic rate in such a way
that the downstream switches and routers are not subjected to congestion. Shaping in the most common form
is used to limit the traffic sent from a physical or logical interface.
Shaping has a buffer associated with it that ensures that packets which do not have enough tokens are buffered
as opposed to being immediately dropped. The number of buffers available to the subset of traffic being shaped
is limited and is computed based on a variety of factors. The number of buffers available can also be tuned
using specific QoS commands. Packets are buffered as buffers are available, beyond which they are dropped.
Shaping is implemented using a token bucket. The values of CIR, Bc and Be determine the rate at which the
packets are sent out and the rate at which the tokens are replenished.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 47
Configuring QoS
Queueing and Scheduling
Note For information about the token-bucket algorithm, see Token-Bucket Algorithm, on page 42.
Related Topics
Configuring Shaping (CLI), on page 113
Examples: Average Rate Shaping Configuration, on page 128
Hierarchical Shaping
Shaping can also be configured at multiple levels in a hierarchy. This is accomplished by creating a parent
policy with shaping configured, and then attaching child policies with additional shaping configurations to
the parent policy.
There are two supported types of hierarchical shaping:
• Port shaper
• User-configured shaping
The port shaper uses the class default and the only action permitted in the parent is shaping. The queueing
action is in the child with the port shaper. With the user configured shaping, you cannot have queueing action
in the child.
Related Topics
Configuring Shaping (CLI), on page 113
Bandwidth
The switch supports the following bandwidth configurations:
• Bandwidth percent
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
48 OL-26764-02
Configuring QoS
Queueing and Scheduling
Related Topics
Configuring Bandwidth (CLI), on page 101
Bandwidth Percent
You can use the bandwidth percent policy-map class command to allocate a minimum bandwidth to a
particular class. The total sum cannot exceed 100 percent and in case the total sum is less than 100 percent,
then the rest of the bandwidth is divided equally among all bandwidth queues.
Note A queue can oversubscribe bandwidth in case the other queues do not utilize the entire port bandwidth.
You cannot mix bandwidth types on a policy map. For example, you cannot configure bandwidth in a single
policy map using both a bandwidth percent and in kilobits per second.
The following figure shows an example of WTD operating on a queue whose size is 1000 frames. Three drop
percentages are configured: 40 percent (400 frames), 60 percent (600 frames), and 100 percent (1000 frames).
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 49
Configuring QoS
Queueing and Scheduling
These percentages indicate that up to 400 frames can be queued at the 40-percent threshold, up to 600 frames
at the 60-percent threshold, and up to 1000 frames at the 100-percent threshold.
Figure 4: WTD and Queue Operation
In the example, CoS value 6 has a greater importance than the other CoS values, and is assigned to the
100-percent drop threshold (queue-full state). CoS values 4 is assigned to the 60-percent threshold, and CoS
values 3 is assigned to the 40-percent threshold. All of these threshold values are assigned using the queue-limit
cos command.
Assuming the queue is already filled with 600 frames, and a new frame arrives. It contains CoS value 4 and
is subjected to the 60-percent threshold. If this frame is added to the queue, the threshold will be exceeded,
so the switch drops it.
Related Topics
Configuring Queue Limits (CLI), on page 111
Examples: Queue-limit Configuration, on page 129
1 90
2 400
• If 3 different WTD thresholds are configured, then the queues are programmed as configured.
• If 2 WTD thresholds are configured, then the maximum value percentage will be 400.
• If a WTD single threshold is configured as x, then the maximum value percentage will be 400.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
50 OL-26764-02
Configuring QoS
Queueing and Scheduling
◦If the value of x is less than 90, then threshold1=90 and threshold 0= x.
◦If the value of x equals 90, then threshold1=90, threshold 0=80.
◦If the value x is greater than 90, then threshold1=x, threshold 0=80.
Priority Queues
Each port supports eight egress queues, of which two can be given a priority.
You use the priority level policy class-map command to configure the priority for two classes. One of the
classes has to be configured with a priority queue level 1, and the other class has to be configured with a
priority queue level 2. Packets on these two queues are subjected to less latency with respect to other queues.
Related Topics
Configuring Priority (CLI), on page 106
Queue Buffer
Each 1-gigabit port on the switch is allocated 168 buffers for a wireless port and 300 buffers for a wired port.
Each 10-gigabit port is allocated 1800 buffers. At boot time, when there is no policy map enabled on the wired
port, there are two queues created by default. Wired ports can have a maximum of 8 queues configured using
MQC-based policies. The following table shows which packets go into which one of the queues:
Table 11: DSCP, Precedence, and CoS - Queue Threshold Mapping Table
Rest of Packets 1 2
Note You can guarantee the availability of buffers, set drop thresholds, and configure the maximum memory
allocation for a queue. You use the queue-buffers policy-map class command to configure the queue
buffers. You use the queue-limit policy-map class command to configure the maximum thresholds.
There are two types of buffer allocations: hard buffers, which are explicitly reserved for the queue, and soft
buffers, which are available for other ports when unused by a given port.
For the wireless port default, Queue 0 will be given 40 percent of the buffers that are available for the interface
as hard buffers, that is 67 buffers are allocated for Queue 0 in the context of 1-gigabit ports. The soft maximum
for this queue is set to 268 (calculated as 67 * 400/100) for 1-gigabit ports, where 400 is the default maximum
threshold that is configured for any queue.
For the wired port default, Queue 0 will be given 40 percent of the buffers that are available for the interface
as hard buffers, that is 120 buffers are allocated for Queue 0 in the context of 1-gigabit ports, and 720 buffers
in the context of 10-gigabit ports. The soft maximum for this queue is set to 480 (calculated as 120 * 400/100)
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 51
Configuring QoS
Queueing and Scheduling
for 1-gigabit ports and 2880 for 10-gigabit ports, where 400 is the default maximum threshold that is configured
for any queue.
Queue 1 does not have any hard buffers allocated. The default soft buffer limit is set to 400 (which is the
maximum threshold). The threshold would determine the maximum number of soft buffers that can be borrowed
from the common pool.
Related Topics
Configuring Queue Buffers (CLI), on page 108
Examples: Queue Buffers Configuration, on page 130
Queuing in Wireless
Queuing in the wireless component is performed based on the port policy and is applicable only in the
downstream direction. The wireless module supports the following four queues:
• Voice—This is a strict priority queue. Represented by Q0, this queue processes control traffic and
multicast or unicast voice traffic. All control traffic (such as CAPWAP packets) is processed through
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
52 OL-26764-02
Configuring QoS
Trust Behavior
the voice queue. The QoS module uses a different threshold within the voice queue to process control
and voice packets to ensure that control packets get higher priority over other non-control packets.
• Video—This is a strict priority queue. Represented by Q1, this queue processes multicast or unicast
video traffic.
• Data NRT—Represented by Q2, this queue processes all non-real-time unicast traffic.
• Multicast NRT—Represented by Q3, this queue processes Multicast NRT traffic. Any traffic that does
not match the traffic in Q0, Q1, or Q2 is processed through Q3.
Note A weighted round-robin policy is applied for traffic in the queues Q2 and Q3.
For upstream direction only one queue is available. Port and radio policies are applicable only in the downstream
direction.
Trust Behavior
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 53
Configuring QoS
Trust Behavior
Tagged Tagged Preserve DSCP and CoS Based on DSCP (trust DSCP
takes precedence)
The Cisco IOS XE 3.2 Release supported different trust defaults for wired and wireless ports. The trust default
for wired ports was the same as for this software release. For wireless ports, the default system behavior was
non-trust, which meant that when the switch came up, all markings for the wireless ports were defaulted to
zero and no traffic received priority treatment. For compatibility with an existing wired switch, all traffic went
to the best-effort queue by default. The access point performed priority queuing by default. In the downstream
direction, the access point maintained voice, video, best-effort, and background queues for queuing. The
access selected the queuing strategy based on the 11e tag information. By default, the access point treated all
wireless packets as best effort.
The default trust behavior in the case of wireless ports could be changed by using the qos wireless default
untrust command.
Note If you upgrade from Cisco IOS XE 3.2 SE Release to a later release, the default behavior of the wireless
traffic is still untrusted. In this situation, you can use the no qos wireless-default untrust command to
enable trust behavior for wireless traffic. However, if you install Cisco IOS XE 3.3 SE or a later release
on the switch, the default QoS behavior for wireless traffic is trust. Starting with Cisco IOS XE 3.3 SE
Release and later, the packet markings are preserved in both egress and ingress directions for new
installations (not upgrades) for wireless traffic.
Related Topics
Configuring Trust Behavior for Wireless Traffic (CLI), on page 93
Example: Table Map Configuration to Retain CoS Markings, on page 134
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
54 OL-26764-02
Configuring QoS
Wireless QoS Mobility
Note The trust device device_type interface configuration command is only supported in an auto-QoS
configuration, and not as a stand-alone command on the switch. When using the trust device device_type
interface configuration command in an auto-QoS configuration, if the connected peer device is not a
corresponding device (defined as a device matching your trust policy), both CoS and DSCP values are
set to "0" and any input policy will not take effect.
With the trusted setting, you also can use the trusted boundary feature to prevent misuse of a high-priority
queue if a user bypasses the telephone and connects the PC directly to the switch. Without trusted boundary,
the CoS labels generated by the PC are trusted by the switch (because of the trusted CoS setting). By contrast,
trusted boundary uses CDP to detect the presence of a Cisco IP Phone (such as the Cisco IP Phone 7910,
7935, 7940, and 7960) on a switch port. If the telephone is not detected, the trusted boundary feature disables
the trusted setting on the switch port and prevents misuse of a high-priority queue. Note that the trusted
boundary feature is not effective if the PC and Cisco IP Phone are connected to a hub that is connected to the
switch.
Note The client policies must be available on all of the switches in the mobility group. The same SSID and port
policy must be applied to all switches in the mobility group so that the clients get consistent treatment.
Inter-Switch Roaming
When a client roams from one location to another, the client can get associated to access points either associated
to the same switch (anchor switch) or a different switch (foreign switch). Inter-switch roaming refers to the
scenario where the client gets associated to an access point that is not associated to the same device before
the client roamed. The host device is now foreign to the device to which the client was initially anchored.
In the case of inter-switch roaming, the client QoS policy is always executed on the foreign controller. When
a client roams from anchor switch to foreign switch, the QoS policy is uninstalled on the anchor switch and
installed on the foreign switch. In the mobility handoff message, the anchor device passes the name of the
policy to the foreign switch. The foreign switch should have a policy with the same name configured for the
QoS policy to be applied correctly.
In the case of inter-switch roaming, all of the QoS policies are moved from the anchor device to the foreign
device. While the QoS policies are in transition from the anchor device to the foreign device, the traffic on
the foreign device is provided the default treatment. This is comparable to a new policy installation on the
client target.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 55
Configuring QoS
Precious Metal Policies for Wireless QoS
Note If the foreign device is not configured with the user-defined physical port policy, the default port policy
is applicable to all traffic is routed through the NRT queue, except the control traffic which goes through
RT1 queue. The network administrator must configure the same physical port policy on both the anchor
and foreign devices symmetrically.
Intra-Switch Roaming
With intra-switch roaming, the client gets associated to an access point that is associated to the same switch
before the client roamed, but this association to the device occurs through a different access point.
These policies (also known as profiles) can be applied to a WLAN based on the traffic. We recommend the
configuration using the Cisco IOS MQC configuration. The policies are available in the system based on the
precious metal policy required.
Based on the policies applied, the 802.1p, 802.11e (WMM), and DSCP fields in the packets are affected.
These values are preconfigured and installed when the switch is booted.
Note Unlike the precious metal policies that were applicable in the Cisco Unified Wireless controllers, the
attributes rt-average-rate, nrt-average-rate, and peak rates are not applicable for the precious metal policies
configured on this switch platform.
Related Topics
Configuring Precious Metal Policies (CLI), on page 115
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
56 OL-26764-02
Configuring QoS
Standard QoS Default Settings
DSCP Maps
1 8
2 16
3 24
4 32
5 40
6 48
7 56
1 8
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 57
Configuring QoS
Standard QoS Default Settings
3 24
4 32
5 40
6 48
7 56
8–15 1
16–23 2
24–31 3
32–39 4
40–47 5
48–55 6
56–63 7
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
58 OL-26764-02
Configuring QoS
Restrictions for QoS on Wired Targets
Note The queue-limit percent is not supported on the switch because the queue-buffer
command handles this functionality. Queue limit is only supported with the DSCP and
CoS extensions.
• The classification sequence for all wired queuing-based policies should be the same across all wired
upstream ports (10-Gigabit Ethernet), and the same for all downstream wired ports (1-Gigabit Ethernet).
• Empty classes are not supported.
• Class-maps with empty actions are not supported.
• A maximum of 256 classes are supported per policy on the wired port for the wired target.
• The actions under a policer within a policy map have the following restrictions:
◦The conform action must be transmit.
◦The exceed/violate action for markdown type can only be cos2cos, prec2prec, dscp2dscp.
◦The markdown types must be the same within a policy.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 59
Configuring QoS
Restrictions for QoS on Wired Targets
◦The classification counter is not port based. This means that the classification counter aggregates
all packets belonging to the same class of the same policy which attach to different interfaces.
◦As long as there is policing or marking action in the policy, the class-default will have classification
counters.
◦When there are multiple match statements in a class, then the classification counter only shows
the traffic counter for one of the match statements.
• For ports with wired targets, these are the only supported hierarchical policies:
◦Police chaining in the same policy is unsupported, except for wireless client.
◦Hierarchical queueing is unsupported in the same policy (port shaper is the exception).
◦In a parent class, all filters must have the same type. The child filter type must match the parent
filter type with the following exceptions:
• If the parent class is configured to match IP, then the child class can be configured to match
the ACL.
• If the parent class is configured to match CoS, then the child class can be configured to match
the ACL.
• The trust device device_type interface configuration command is only supported in an auto-QoS
configuration, and not as a stand-alone command on the switch. When using the trust device device_type
interface configuration command in an auto-QoS configuration, if the connected peer device is not a
corresponding device (defined as a device matching your trust policy), both CoS and DSCP values are
set to "0" and any input policy will not take effect.
The following are restrictions for applying QoS features on the VLAN to the wired target:
• For a flat or nonhierarchical policy, only marking or a table map is supported.
The following are restrictions and considerations for applying QoS features on EtherChannel and channel
member interfaces:
• QoS is not supported on an EtherChannel interface.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
60 OL-26764-02
Configuring QoS
Restrictions for QoS on Wireless Targets
• QoS is supported on EtherChannel member interfaces in both ingress and egression directions. All
EtherChannel members must have the same QoS policy applied. If the QoS policy is not the same, each
individual policy on the different link acts independently.
• On attaching a service policy to channel members, the following warning message appears to remind
the user to make sure the same policy is attached to all ports in the EtherChannel: ' Warning: add service
policy will cause inconsistency with port xxx in ether channel xxx. '.
• Auto QoS is not supported on EtherChannel members.
Note On attaching a service policy to an EtherChannel, the following message appears on the console: ' Warning:
add service policy will cause inconsistency with port xxx in ether channel xxx. '. This warning message
should be expected. This warning message is a reminder to attach the same policy to other ports in the
same EtherChannel. The same message will be seen during boot up. This message does not mean there
is a discrepancy between the EtherChannel member ports.
Related Topics
Restrictions for QoS on Wireless Targets, on page 61
Prerequisites for QoS, on page 21
QoS Overview, on page 23
QoS Implementation, on page 33
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 61
Configuring QoS
Restrictions for QoS on Wireless Targets
• All wireless ports have similar parent policy with one class-default and one action shape under
class-default. Shape rates are dependent on the 802.11a/b/g/ac bands.
• You can create a maximum of four classes in a child policy by modifying the port_chlid_policy.
• If there are four classes in the port_child_policy at the port level, one must be a non-client-nrt class
and one must be class-default.
• No two classes can have the same priority level. Only priority level 1 (for voice traffic and control traffic)
and 2 (for video) are supported.
• Priority is not supported in the multicast NRT class (non-client-nrt class) and class-default.
• If four classes are configured, two of them have to be priority classes. If only three classes are configured,
at least one of them should be a priority class. If three classes are configured and there is no non-client-nrt
class, both priority levels must be present.
• Only match DSCP is supported.
• The port policy applied by the wireless control module cannot be removed using the CLI.
• Both priority rate and police CIR (using MQC) in the same class is unsupported.
• Queue limit (which is used to configure Weighted Tail Drop) is unsupported.
• If a wireless port has a default policy with only two queues (one for multicast-NRT, one for class-default),
the policy at SSID level cannot have voice and video class in the egress direction.
• Policing without priority is not supported in the egress direction.
• Priority configuration at the SSID level is used only to configure the RT1 and RT2 policers (AFD for
policer). Priority configuration does not include the shape rate. Therefore, priority is restricted for SSID
policies without police.
• The mapping in the DSCP2DSCP and COS2COS table should be based on the classification function
for the voice and video classes in the port level policy.
• No action is allowed under the class-default of a child policy.
• For a flat policy (non hierarchical), in the ingress direction, the policy configuration must be a set (table
map) or policing or both.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
62 OL-26764-02
Configuring QoS
Restrictions for QoS on Wireless Targets
policy-map foo
class class-default
police X
set dscp Y
• Child policy is not supported under class-default if the parent policy contains other user-defined class
maps in it.
• Hierarchical client polies are only supported in the egress direction.
• For flat egress client policy, policing in class-default and marking action in other classes are not supported.
• Restrictions for ACLs:
◦All the filters in classes in a policy map for client policy must have the same attributes. Filters
matching on protocol-specific attributes such as IPv4 or IPv6 addresses are considered as different
attribute sets.
◦For filters matching on ACLs, all ACEs (Access Control Entry) in the access list should have the
same type and number of attributes. For example, the following is an invalid access list as they
match on different attributes:
◦For filters matching on marking attributes, all filters in the policy-map must match on the same
marking attribute. For example, If filter matches on DSCP, then all filters in the policy must match
on DSCP.
◦ACL matching on port ranges and subnet are only supported in ingress direction.
• If an ingress SSID policy is configured along with an ingress client policy matching ACLs with port
ranges, the SSID policy takes precedence over the client policy. As a result, the client policy will not
take effect.
Related Topics
Applying a QoS Policy on a WLAN (GUI), on page 117
Port Policies, on page 27
Port Policy Format, on page 28
Radio Policies, on page 29
Restrictions for QoS on Wired Targets, on page 59
Prerequisites for QoS, on page 21
QoS Overview, on page 23
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 63
Configuring QoS
How to Configure QoS
SUMMARY STEPS
1. configure terminal
2. class-map {class-map name | match-any}
3. match access-group {index number | name}
4. match class-map class-map name
5. match cos cos value
6. match dscp dscp value
7. match ip {dscp dscp value | precedence precedence value }
8. match non-client-nrt
9. match qos-group qos group value
10. match vlan vlan value
11. match wlan user-priority wlan value
12. end
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 class-map {class-map name | match-any} Enters class map configuration mode.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
64 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Switch(config)# class-map test_1000 • If you specify match-any, one of the match criteria must
Switch(config-cmap)# be met for traffic entering the traffic class to be classified
as part of the traffic class. This is the default.
Step 3 match access-group {index number | name} The following parameters are available for this command:
• access-group
Example:
• class-map
Switch(config-cmap)# match access-group 100
Switch(config-cmap)# • cos
• dscp
• ip
• non-client-nrt
• precedence
• qos-group
• vlan
• wlan user priority
Step 4 match class-map class-map name (Optional) Matches to another class-map name.
Example:
Switch(config-cmap)# match class-map
test_2000
Switch(config-cmap)#
Step 5 match cos cos value (Optional) Matches IEEE 802.1Q or ISL class of service (user)
priority values.
Example: • Enters up to 4 CoS values separated by spaces (0 to 7).
Switch(config-cmap)# match cos 2 3 4 5
Switch(config-cmap)#
Step 6 match dscp dscp value (Optional) Matches the DSCP values in IPv4 and IPv6 packets.
Example:
Switch(config-cmap)# match dscp af11 af12
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 65
Configuring QoS
Configuring Class, Policy, and Table Maps
Step 7 match ip {dscp dscp value | precedence precedence (Optional) Matches IP values including the following:
value }
• dscp—Matches IP DSCP (DiffServ codepoints).
Example: • precedence—Matches IP precedence (0 to 7).
Switch(config-cmap)# match ip dscp af11 af12
Switch(config-cmap)#
Step 9 match qos-group qos group value (Optional) Matches QoS group value (from 0 to 31).
Example:
Switch(config-cmap)# match qos-group 10
Switch(config-cmap)#
Step 10 match vlan vlan value (Optional) Matches a VLAN ID (from 1 to 4095).
Example:
Switch(config-cmap)# match vlan 210
Switch(config-cmap)#
Step 11 match wlan user-priority wlan value (Optional) Matches 802.11e specific values. Enter the user
priority 802.11e user priority (0 to 7).
Example:
Switch(config-cmap)# match wlan user priority
7
Switch(config-cmap)#
Example:
Switch(config-cmap)# end
What to Do Next
Configure the policy map.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
66 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Related Topics
Class Maps, on page 39
Examples: Classification by Access Control Lists, on page 121
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 67
Configuring QoS
Configuring Class, Policy, and Table Maps
SUMMARY STEPS
1. configure terminal
2. policy-map policy-map name
3. class {class-name | class-default}
4. admit
5. bandwidth {kb/s kb/s value | percent percentage | remaining {percent | ratio}}
6. exit
7. no
8. police {target_bit_rate | cir | rate}
9. priority {kb/s | level level value | percent percentage value}
10. queue-buffers ratio ratio limit
11. queue-limit {packets | cos | dscp | percent}
12. service-policy policy-map name
13. set {cos | dscp | ip | precedence | qos-group | wlan}
14. shape average {target _bit_rate | percent}
15. end
DETAILED STEPS
Example:
Switch# configure terminal
Step 3 class {class-name | class-default} Specifies the name of the class whose policy you want to create or
change.
Example: You can also create a system default class for unclassified packets.
Switch(config-pmap)# class test_1000
Switch(config-pmap-c)#
Step 4 admit (Optional) Admits the request for Call Admission Control (CAC). For
a more detailed example of this command and its usage, see Configuring
Example: Call Admission Control (CLI), on page 94.
Switch(config-pmap-c)# admit cac Note This command only configures CAC for wireless
QoS.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
68 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Step 5 bandwidth {kb/s kb/s value | percent (Optional) Sets the bandwidth using one of the following:
percentage | remaining {percent | ratio}}
• kb/s—Kilobits per second, enter a value between 20000 and
10000000 for Kb/s.
Example:
• percent—Enter the percentage of the total bandwidth to be used
Switch(config-pmap-c)# bandwidth 50
Switch(config-pmap-c)# for this policy map.
• remaining—Enter the percentage ratio of the remaining bandwidth.
For a more detailed example of this command and its usage, see
Configuring Bandwidth (CLI), on page 101.
Step 6 exit (Optional) Exits from QoS class action configuration mode.
Example:
Switch(config-pmap-c)# exit
Switch(config-pmap-c)#
Example:
Switch(config-pmap-c)# no
Switch(config-pmap-c)#
For a more detailed example of this command and its usage, see
Configuring Police (CLI), on page 103.
Step 9 priority {kb/s | level level value | percent (Optional) Sets the strict scheduling priority for this class. Command
percentage value} options include:
• kb/s—Kilobits per second, enter a value between 1 and 2000000.
Example:
• level—Establishes a multi-level priority queue. Enter a value (1
Switch(config-pmap-c)# priority percent
50 or 2).
Switch(config-pmap-c)#
• percent—Enter a percent of the total bandwidth for this priority.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 69
Configuring QoS
Configuring Class, Policy, and Table Maps
Step 10 queue-buffers ratio ratio limit (Optional) Configures the queue buffer for the class. Enter the queue
buffers ratio limit (0 to 100).
Example: For a more detailed example of this command and its usage, see
Switch(config-pmap-c)# queue-buffers Configuring Queue Buffers (CLI), on page 108.
ratio 10
Switch(config-pmap-c)#
Step 11 queue-limit {packets | cos | dscp | percent} (Optional) Specifies the queue maximum threshold for the tail drop:
• packets—Packets by default, enter a value between 1 to 2000000.
Example:
• cos—Enter the parameters for each COS value.
Switch(config-pmap-c)# queue-limit cos
7 percent 50 • dscp—Enter the parameters for each DSCP value.
Switch(config-pmap-c)#
• percent—Enter the percentage for the threshold.
For a more detailed example of this command and its usage, see
Configuring Queue Limits (CLI), on page 111.
Step 12 service-policy policy-map name (Optional) Configures the QoS service policy.
Example:
Switch(config-pmap-c)# service-policy
test_2000
Switch(config-pmap-c)#
Step 13 set {cos | dscp | ip | precedence | qos-group | (Optional) Sets the QoS values. Possible QoS configuration values
wlan} include:
• cos—Sets the IEEE 802.1Q/ISL class of service/user priority.
Example:
• dscp—Sets DSCP in IP(v4) and IPv6 packets.
Switch(config-pmap-c)# set cos 7
Switch(config-pmap-c)# • ip—Sets IP specific values.
• precedence—Sets precedence in IP(v4) and IPv6 packet.
• qos-group—Sets the QoS Group.
• wlan—Sets the WLAN user-priority.
Step 14 shape average {target _bit_rate | percent} (Optional) Sets the traffic shaping. Command parameters include:
• target_bit_rate—Target bit rate.
Example:
• percent—Percentage of interface bandwidth for Committed
Switch(config-pmap-c) #shape average
percent 50 Information Rate.
Switch(config-pmap-c) #
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
70 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Example:
Switch(config-pmap-c) #end
Switch(config-pmap-c) #
What to Do Next
Configure the interface.
Related Topics
Policy Maps, on page 40
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 71
Configuring QoS
Configuring Class, Policy, and Table Maps
◦User Priority—This option is available when the Policy Direction is ingress. Enter the 802.11e user priority.
The range is from 0 to 7.
◦COS—This option is available when the Policy Direction is egress. Matches IEEE 802.1Q class of service.
The range is from 0 to 7.
• Mark—Specify the marking label for each packet. The following options are available:
◦DSCP—Assigns a label to indicate the given quality of service. The range is from 0 to 63.
◦CoS—Matches IEEE 802.1Q class of service. The range is from 0 to 7.
◦User Priority—Enter the 802.11e user priority. The range is from 0 to 7.
• Police (kbps)—This option is available when the Policy Direction is egress. This option Specify the policing rate
in kbps.
Step 10 (Optional) To configure user defined classes, check the User Defined Classes checkbox.
The following options are available:
• Trust—Specify the classification type behavior on this policy.
◦DSCP—Assigns a label to indicate the given quality of service. The range is from 0 to 63.
◦User Priority—This option is available when the Policy Direction is ingress. Enter the 802.11e user priority.
The range is from 0 to 7.
◦COS—This option is available when the Policy Direction is egress. Matches IEEE 802.1Q class of service.
The range is from 0 to 7.
• Mark—Specify the marking label for each packet. The following options are available:
◦DSCP—Assigns a label to indicate the given quality of service. The range is from 0 to 63.
◦CoS—Matches IEEE 802.1Q class of service. The range is from 0 to 7.
◦User Priority—Enter the 802.11e user priority. The range is from 0 to 7.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
72 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
• Police (kbps)—This option is available when the Policy Direction is egress. This option Specify the policing rate
in kbps.
Related Topics
Client Policies, on page 30
Supported QoS Features on Wireless Targets, on page 26
Examples: Client Policies, on page 126
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 73
Configuring QoS
Configuring Class, Policy, and Table Maps
SUMMARY STEPS
1. configure terminal
2. policy-map policy name
3. class class name
4. set cos {cos value | cos table table-map name | dscp table table-map name | precedence table table-map
name | qos-group table table-map name | wlan user-priority table table-map name}
5. set dscp {dscp value | default | dscp table table-map name | ef | precedence table table-map name |
qos-group table table-map name | wlan user-priority table table-map name}
6. set ip {dscp | precedence}
7. set precedence {precedence value | cos table table-map name | dscp table table-map name | precedence
table table-map name | qos-group table table-map name}
8. set qos-group {qos-group value | dscp table table-map name | precedence table table-map name}
9. set wlan user-priority {wlan user-priority value | cos table table-map name | dscp table table-map name
| qos-group table table-map name | wlan table table-map name}
10. end
11. show policy-map
DETAILED STEPS
Example:
Switch# configure terminal
Step 3 class class name Enters policy class map configuration mode. Specifies the name of the class
whose policy you want to create or change.
Example: Command options for policy class map configuration mode include the following:
Switch(config-pmap)# class class1 • admit—Admits the request for Call Admission Control (CAC).
Switch(config-pmap-c)#
• bandwidth—Bandwidth configuration options.
• exit—Exits from the QoS class action configuration mode.
• no—Negates or sets default values for the command.
• police—Policer configuration options.
• priority—Strict scheduling priority configuration options for this class.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
74 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Note This procedure describes the available configurations using set command
options. The other command options (admit, bandwidth, etc.) are
described in other sections of this guide. Although this task lists all of
the possible set commands, only one set command is supported per
class.
Step 4 set cos {cos value | cos table table-map (Optional) Sets the specific IEEE 802.1Q Layer 2 CoS value of an outgoing
name | dscp table table-map name | packet. Values are from 0 to7.
precedence table table-map name | You can also set the following values using the set cos command:
qos-group table table-map name | wlan
user-priority table table-map name} • cos table—Sets the CoS value based on a table map.
• dscp table—Sets the code point value based on a table map.
Example:
• precedence table—Sets the code point value based on a table map.
Switch(config-pmap)# set cos 5
Switch(config-pmap)# • qos-group table—Sets the CoS value from QoS group based on a table
map.
• wlan user-priority table—Sets the CoS value from the WLAN user priority
based on a table map.
Step 5 set dscp {dscp value | default | dscp table (Optional) Sets the DSCP value.
table-map name | ef | precedence table In addition to setting specific DSCP values, you can also set the following using
table-map name | qos-group table the set dscp command:
table-map name | wlan user-priority
table table-map name} • default—Matches packets with default DSCP value (000000).
• dscp table—Sets the packet DSCP value from DSCP based on a table map.
Example:
• ef—Matches packets with EF DSCP value (101110).
Switch(config-pmap)# set dscp af11
Switch(config-pmap)# • precedence table—Sets the packet DSCP value from precedence based
on a table map.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 75
Configuring QoS
Configuring Class, Policy, and Table Maps
Step 6 set ip {dscp | precedence} (Optional) Sets IP specific values. These values are either IP DSCP or IP
precedence values.
Example: You can set the following values using the set ip dscp command:
Switch(config-pmap)# set ip dscp c3 • dscp value—Sets a specific DSCP value.
Switch(config-pmap)#
• default—Matches packets with default DSCP value (000000).
• dscp table—Sets the packet DSCP value from DSCP based on a table map.
• ef—Matches packets with EF DSCP value (101110).
• precedence table—Sets the packet DSCP value from precedence based
on a table map.
• qos-group table—Sets the packet DSCP value from a QoS group based
upon a table map.
• wlan user-priority table—Sets the packet DSCP value based upon a
WLAN user-priority based upon a table map.
You can set the following values using the set ip precedence command:
• precedence value—Sets the precedence value (from 0 to 7) .
• cos table—Sets the packet precedence value from Layer 2 CoS based on
a table map.
• dscp table—Sets the packet precedence from DSCP value based on a table
map.
• precedence table—Sets the precedence value from precedence based on
a table map
• qos-group table—Sets the precedence value from a QoS group based upon
a table map.
Step 7 set precedence {precedence value | cos (Optional) Sets precedence values in IPv4 and IPv6 packets.
table table-map name | dscp table You can set the following values using the set precedence command:
table-map name | precedence table
table-map name | qos-group table • precedence value—Sets the precedence value (from 0 to 7) .
table-map name}
• cos table—Sets the packet precedence value from Layer 2 CoS on a table
map.
Example:
• dscp table—Sets the packet precedence from DSCP value on a table map.
Switch(config-pmap)# set precedence
5
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
76 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Step 8 set qos-group {qos-group value | dscp (Optional) Sets QoS group values. You can set the following values using this
table table-map name | precedence table command:
table-map name}
• qos-group value—A number from 1 to 31.
Example: • dscp table—Sets the code point value from DSCP based on a table map.
Switch(config-pmap)# set qos-group • precedence table—Sets the code point value from precedence based on
10 a table map.
Switch(config-pmap)#
Step 9 set wlan user-priority {wlan user-priority (Optional) Sets the WLAN user priority value. You can set the following values
value | cos table table-map name | dscp using this command:
table table-map name | qos-group table
table-map name | wlan table table-map • wlan user-priority value—A value between 0 to 7.
name} • cos table—Sets the WLAN user priority value from CoS based on a table
map.
Example:
• dscp table—Sets the WLAN user priority value from DSCP based on a
Switch(config-pmap)# set wlan table map.
user-priority 1
Switch(config-pmap)# • qos-group table—Sets the WLAN user priority value from QoS group
based on a table map.
• wlan table—Sets the WLAN user priority value from the WLAN user
priority based on a table map.
Example:
Switch(config-pmap)# end
Switch#
Step 11 show policy-map (Optional) Displays policy configuration information for all classes configured
for all service policies.
Example:
Switch# show policy-map
What to Do Next
Attach the traffic policy to an interface using the service-policy command.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 77
Configuring QoS
Configuring Class, Policy, and Table Maps
SUMMARY STEPS
1. configure terminal
2. class-map class-map-name
3. match dscp dscp-value-for-voice
4. end
5. configure terminal
6. class-map class-map-name
7. match dscp dscp-value-for-video
8. end
DETAILED STEPS
Example:
Switch# configure terminal
Example:
Switch(config)# class-map voice
Step 3 match dscp dscp-value-for-voice Matches the DSCP value in the IPv4 and IPv6 packets.
Set this value to 46.
Example:
Switch(config-cmap)# match dscp 46
Example:
Switch# configure terminal
Example:
Switch(config)# class-map video
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
78 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
SUMMARY STEPS
1. configure terminal
2. interface type
3. service-policy {input policy-map | output policy-map }
4. end
5. show policy map
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 interface type Enters interface configuration mode and configures an interface.
Command parameters for the interface configuration include:
Example:
• Auto Template— Auto-template interface
Switch(config)# interface
GigabitEthernet1/0/1 • Capwap—CAPWAP tunnel interface
Switch(config-if)#
• GigabitEthernet—Gigabit Ethernet IEEE 802
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 79
Configuring QoS
Configuring Class, Policy, and Table Maps
Step 3 service-policy {input policy-map | output Attaches a policy map to an input or output interface. This policy map
policy-map } is then used as the service policy for that interface.
In this example, the traffic policy evaluates all traffic leaving that
Example: interface.
Switch(config-if)# service-policy
output policy_map_01
Switch(config-if)#
Example:
Switch(config-if)# end
Switch#
Step 5 show policy map (Optional) Displays statistics for the policy on the specified interface.
Example:
Switch# show policy map
What to Do Next
Proceed to attach any other traffic policy to an interface, and to specify the direction in which the policy should
be applied.
Related Topics
Policy Map on Physical Port, on page 40
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
80 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Note Voice and video configurations are available only in the egress
direction.
Note When creating an egress SSID policy for voice and video classes, if the port_child_policy is already configured
with voice and video classes having priority level, the existing port_child_policy is used. If a port_child_policy
does not exist with voice and video classes, the switch will create voice and video classes with priority levels
1 and 2 under port_child_policy for voice and video traffic.
Step 6 Specify a policy name in the Policy Name text box.
Step 7 Provide a description to the policy in the Description text box.
Step 8 Select the trust parameter from the Trust drop-down list.
The following options are available:
• DSCP— Assigns a label to indicate the given quality of service as DSCP.
• COS—Matches IEEE 802.1Q class of service. This option is not available when the Policy Direction is engres.
• User Priority—Enter the 802.11e user priority. This option is not available when the Policy Direction is engres.
• None—This option is available when the Policy Direction is egress. This option is available only for egress policies.
Step 9 If you chose Egress policy above, the following options are available:
• Bandwidth—Specifies the bandwidth rate. The following options are available:
◦Rate—Specifies the bandwidth in kbps. Enter a value in kbps in the Value field.
◦Remaining Ratio—Specifies the bandwidth in BRR (bandwidth remaining ratio). Enter the percentage in
the Percent field.
Note If you choose the Rate option for the Bandwidth parameter, this value must be greater than the sum of
the policing values for voice and video traffic.
.
• Enable Voice—Click on the Enable Voice checkbox to enable voice traffic on this policy. Specify the following
properties:
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 81
Configuring QoS
Configuring Class, Policy, and Table Maps
◦Priority—Sets the priority for this policy for strict scheduling. The priority level is set to 1.
◦Police (kbps)—Specifies the police rate in Kilobits per second.
◦CAC—Enables or disables CAC. If CAC is enabled, you must specify the following options:
◦User priorityThis option is available when the Policy Direction is ingress. Enter the 802.11e user
priority. The range is from 0 to 7. By default, a value of 6 is assigned.
◦Rate(kbps)
Note The CAC rate must be less than the police
rate.
• Enable Video—Check the Enable Video checkbox to enable video traffic on this policy. Specify the following
properties:
Related Topics
SSID Policies, on page 30
Supported QoS Features on Wireless Targets, on page 26
Examples: SSID Policy
Examples: Configuring Downstream SSID Policy, on page 125
SUMMARY STEPS
1. configure terminal
2. wlan profile-name
3. service-policy [ input | output ] policy-name
4. service-policy client [ input | output ] policy-name
5. end
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
82 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 wlan profile-name Enters the WLAN configuration submode. The profile-name is the
profile name of the configured WLAN.
Example:
Switch# wlan test4
Step 3 service-policy [ input | output ] policy-name Applies the policy. The following options are available:
• input— Assigns the policy map to WLAN ingress traffic.
Example:
Switch(config-wlan)# service-policy input • output— Assigns the policy map to WLAN egress traffic.
policy-map-ssid
Step 4 service-policy client [ input | output ] Applies the policy. The following options are available:
policy-name
• input— Assigns the client policy for ingress direction on the
WLAN.
Example:
Switch(config-wlan)# service-policy client • output— Assigns the client policy for egress direction on
input policy-map-client
the WLAN.
Step 5 end Returns to privileged EXEC mode. Alternatively, you can also
press Ctrl-Z to exit global configuration mode.
Example:
Switch(config)# end
Related Topics
SSID Policies, on page 30
Supported QoS Features on Wireless Targets, on page 26
Examples: SSID Policy
Examples: Configuring Downstream SSID Policy, on page 125
Classifying, Policing, and Marking Traffic on Physical Ports by Using Policy Maps (CLI)
You can configure a nonhierarchical policy map on a physical port that specifies which traffic class to act on.
Actions supported are remarking and policing.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 83
Configuring QoS
Configuring Class, Policy, and Table Maps
SUMMARY STEPS
1. configure terminal
2. class-map {class-map name | match-any }
3. match access-group { access list index | access list name }
4. policy-map policy-map-name
5. class {class-map-name | class-default}
6. set {cos | dscp | ip | precedence | qos-group | wlan user-priority}
7. police {target_bit_rate | cir | rate }
8. exit
9. exit
10. interface interface-id
11. service-policy input policy-map-name
12. end
13. show policy-map [policy-map-name [class class-map-name]]
14. copy running-config startup-config
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 class-map {class-map name | match-any } Enters class map configuration mode.
• Creates a class map to be used for matching packets to the class
Example: whose name you specify.
Switch(config)# class-map ipclass1
Switch(config-cmap)# exit • If you specify match-any, one of the match criteria must be met
Switch(config)# for traffic entering the traffic class to be classified as part of the
traffic class. This is the default.
Step 3 match access-group { access list index | Specifies the classification criteria to match to the class map. You can
access list name } match on the following criteria:
• access-group—Matches to access group.
Example:
• class-map—Matches to another class map.
Switch(config-cmap)# match access-group
1000 • cos—Matches to a CoS value.
Switch(config-cmap)# exit
Switch(config)#
• dscp—Matches to a DSCP value.
• ip—Matches to a specific IP value.
• non-client-nrt—Matches non-client NRT.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
84 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
Step 4 policy-map policy-map-name Creates a policy map by entering the policy map name, and enters
policy-map configuration mode.
Example: By default, no policy maps are defined.
Switch(config)# policy-map flowit
Switch(config-pmap)#
Step 5 class {class-map-name | class-default} Defines a traffic classification, and enter policy-map class configuration
mode.
Example: By default, no policy map class-maps are defined.
Switch(config-pmap)# class ipclass1 If a traffic class has already been defined by using the class-map global
Switch(config-pmap-c)#
configuration command, specify its name for class-map-name in this
command.
A class-default traffic class is predefined and can be added to any policy.
It is always placed at the end of a policy map. With an implied match
any included in the class-default class, all packets that have not already
matched the other traffic classes will match class-default.
Step 6 set {cos | dscp | ip | precedence | qos-group (Optional) Sets the QoS values. Possible QoS configuration values
| wlan user-priority} include:
• cos—Sets the IEEE 802.1Q/ISL class of service/user priority.
Example:
• dscp—Sets DSCP in IP(v4) and IPv6 packets.
Switch(config-pmap-c)# set dscp 45
Switch(config-pmap-c)# • ip—Sets IP specific values.
• precedence—Sets precedence in IP(v4) and IPv6 packet.
• qos-group—Sets QoS group.
• wlan user-priority—Sets WLAN user priority.
In this example, the set dscp command classifies the IP traffic by setting
a new DSCP value in the packet.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 85
Configuring QoS
Configuring Class, Policy, and Table Maps
Example:
Switch(config-pmap-c)# exit
Example:
Switch(config-pmap)# exit
Step 10 interface interface-id Specifies the port to attach to the policy map, and enters interface
configuration mode.
Example: Valid interfaces include physical ports.
Switch(config)# interface
gigabitethernet 2/0/1
Step 11 service-policy input policy-map-name Specifies the policy-map name, and applies it to an ingress port. Only
one policy map per ingress port is supported.
Example:
Switch(config-if)# service-policy
input flowit
Example:
Switch(config-if)# end
Example:
Switch# show policy-map
Step 14 copy running-config startup-config (Optional) Saves your entries in the configuration file.
Example:
Switch# copy-running-config
startup-config
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
86 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
What to Do Next
If applicable to your QoS configuration, configure classification, policing, and marking of traffic on SVIs by
using policy maps.
Classifying, Policing, and Marking Traffic on SVIs by Using Policy Maps (CLI)
Before You Begin
You should have already decided upon the classification, policing, and marking of your network traffic by
using policy maps prior to beginning this procedure.
SUMMARY STEPS
1. configure terminal
2. class-map {class-map name | match-any }
3. match vlan vlan number
4. policy-map policy-map-name
5. description description
6. class {class-map-name | class-default}
7. set {cos | dscp | ip | precedence | qos-group | wlan user-priority}
8. police {target_bit_rate | cir | rate}
9. exit
10. exit
11. interface interface-id
12. service-policy input policy-map-name
13. end
14. show policy-map [policy-map-name [class class-map-name]]
15. copy running-config startup-config
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 class-map {class-map name | match-any } Enters class map configuration mode.
• Creates a class map to be used for matching packets to the class
Example: whose name you specify.
Switch(config)# class-map class_vlan100
• If you specify match-any, one of the match criteria must be
met for traffic entering the traffic class to be classified as part
of the traffic class. This is the default.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 87
Configuring QoS
Configuring Class, Policy, and Table Maps
Example:
Switch(config-cmap)# match vlan 100
Switch(config-cmap)# exit
Switch(config)#
Step 4 policy-map policy-map-name Creates a policy map by entering the policy map name, and enters
policy-map configuration mode.
Example: By default, no policy maps are defined.
Switch(config)# policy-map policy_vlan100
Switch(config-pmap)#
Example:
Switch(config-pmap)# description vlan
100
Step 6 class {class-map-name | class-default} Defines a traffic classification, and enters the policy-map class
configuration mode.
Example: By default, no policy map class-maps are defined.
Switch(config-pmap)# class class_vlan100 If a traffic class has already been defined by using the class-map
Switch(config-pmap-c)#
global configuration command, specify its name for class-map-name
in this command.
A class-default traffic class is predefined and can be added to any
policy. It is always placed at the end of a policy map. With an implied
match any included in the class-default class, all packets that have
not already matched the other traffic classes will match class-default.
Step 7 set {cos | dscp | ip | precedence | qos-group | (Optional) Sets the QoS values. Possible QoS configuration values
wlan user-priority} include:
• cos—Sets the IEEE 802.1Q/ISL class of service/user priority.
Example:
• dscp—Sets DSCP in IP(v4) and IPv6 packets.
Switch(config-pmap-c)# set dscp af23
Switch(config-pmap-c)# • ip—Sets IP specific values.
• precedence—Sets precedence in IP(v4) and IPv6 packet.
• qos-group—Sets QoS group.
• wlan user-priority—Sets WLAN user-priority.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
88 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
In this example, the police command adds a policer to the class where
any traffic beyond the 200000 set target bit rate is dropped.
Example:
Switch(config-pmap-c)# exit
Example:
Switch(config-pmap)# exit
Step 11 interface interface-id Specifies the port to attach to the policy map, and enters interface
configuration mode.
Example: Valid interfaces include physical ports.
Switch(config)# interface
gigabitethernet 1/0/3
Step 12 service-policy input policy-map-name Specifies the policy-map name, and applies it to an ingress port. Only
one policy map per ingress port is supported.
Example:
Switch(config-if)# service-policy
input policy_vlan100
Example:
Switch(config-if)# end
Example:
Switch# show policy-map
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 89
Configuring QoS
Configuring Class, Policy, and Table Maps
Example:
Switch# copy-running-config
startup-config
Related Topics
Policy Map on VLANs, on page 41
Examples: Policer VLAN Configuration, on page 131
Note A table map can be referenced in multiple policies or multiple times in the same policy.
SUMMARY STEPS
1. configure terminal
2. table-map name {default {default value | copy | ignore} | exit | map {from from value to to value } |
no}
3. map from value to value
4. exit
5. exit
6. show table-map
7. configure terminal
8. policy-map
9. class class-default
10. set cos dscp table table map name
11. end
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
90 OL-26764-02
Configuring QoS
Configuring Class, Policy, and Table Maps
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 table-map name {default {default value | copy | Creates a table map and enters the table map configuration
ignore} | exit | map {from from value to to value } | mode. In table map configuration mode, you can perform the
no} following tasks:
• default—Configures the table map default value, or sets
Example: the default behavior for a value not found in the table
Switch(config)# table-map table01 map to copy or ignore.
Switch(config-tablemap)#
• exit—Exits from the table map configuration mode.
• map—Maps a from to a to value in the table map.
• no—Negates or sets the default values of the command.
Step 3 map from value to value In this step, packets with DSCP values 0 are marked to the
CoS value 2, DSCP value 1 to the CoS value 4, DSCP value
Example: 24 to the CoS value 3, DSCP value 40 to the CoS value 6 and
all others to the CoS value 0.
Switch(config-tablemap)# map from 0 to 2
Switch(config-tablemap)# map from 1 to 4 Note The mapping from CoS values to DSCP values in this
Switch(config-tablemap)# map from 24 to 3 example is configured by using the set policy map
Switch(config-tablemap)# map from 40 to 6
Switch(config-tablemap)# default 0 class configuration command as described in a later
Switch(config-tablemap)# step in this procedure.
Example:
Switch(config-tablemap)# exit
Switch(config)#
Example:
Switch(config) exit
Switch#
Example:
Switch# show table-map
Table Map table01
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 91
Configuring QoS
Configuring Class, Policy, and Table Maps
Example:
Switch# configure terminal
Switch(config)#
Step 8 policy-map Configures the policy map for the table map.
Example:
Switch(config)# policy-map table-policy
Switch(config-pmap)#
Example:
Switch(config-pmap)# class class-default
Switch(config-pmap-c)#
Step 10 set cos dscp table table map name If this policy is applied on input port, that port will have trust
DSCP enabled on that port and marking will take place
Example: depending upon the specified table map.
Example:
Switch(config-pmap-c)# end
Switch#
What to Do Next
Configure any additional policy maps for QoS for your network. After creating your policy maps, attach the
traffic policy or polices to an interface using the service-policy command.
Related Topics
Table Map Marking, on page 44
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
92 OL-26764-02
Configuring QoS
Configuring Trust
Configuring Trust
SUMMARY STEPS
1. configure terminal
2. qos wireless-default-untrust
3. end
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 qos wireless-default-untrust Configures the behavior of the switch to untrust wireless traffic.
To configure the switch to trust wireless traffic by default, use the
Example: no form of the command.
Switch (config)# qos
wireless-default-untrust
Step 3 end Returns to privileged EXEC mode. Alternatively, you can also
press Ctrl-Z to exit global configuration mode.
Example:
Switch(config)# end
Related Topics
Trust Behavior for Wired and Wireless Ports, on page 53
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 93
Configuring QoS
Configuring QoS Features and Functionality
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
94 OL-26764-02
Configuring QoS
Configuring QoS Features and Functionality
SUMMARY STEPS
1. configure terminal
2. class-map class name
3. match dscp dscp value
4. exit
5. class-map class name
6. match dscp dscp value
7. exit
8. table-map name
9. default copy
10. exit
11. table-map name
12. default copy
13. exit
14. policy-map policy name
15. class class-map-name
16. priority level level_value
17. police [target_bit_rate | cir | rate ]
18. admit cac wmm-tspec
19. rate value
20. wlan-up value
21. exit
22. exit
23. class class name
24. priority level level_value
25. police [target_bit_rate | cir | rate ]
26. admit cac wmm-tspec
27. rate value
28. wlan-up value
29. exit
30. exit
31. policy-map policy name
32. class class-map-name
33. set dscp dscp table table_map_name
34. set wlan user-priority dscp table table_map_name
35. shape average {target bit rate | percent percentage}
36. queue-buffers {ratio ratio value}
37. service-policy policy_map_name
38. end
39. show policy-map
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 95
Configuring QoS
Configuring QoS Features and Functionality
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 class-map class name Enters policy class map configuration mode. Specifies the name
of the class whose policy you want to create or change. Command
Example: options for policy class map configuration mode include the
following:
Switch(config)# class-map voice
Switch(config-cmap)# • word—Class map name.
• class-default—System default class matching any otherwise
unclassified packets.
Step 3 match dscp dscp value (Optional) Matches the DSCP values in IPv4 and IPv6 packets.
Example:
Switch(config-cmap)# match dscp 46
Example:
Switch(config-cmap)# exit
Switch(config)#
Step 5 class-map class name Enters policy class map configuration mode. Specifies the name
of the class whose policy you want to create or change. Command
Example: options for policy class map configuration mode include the
following:
Switch(config)# class-map video
Switch(config-cmap)# • word—Class map name.
• class-default—System default class matching any otherwise
unclassified packets.
Step 6 match dscp dscp value (Optional) Matches the DSCP values in IPv4 and IPv6 packets.
Example:
Switch(config-cmap)# match dscp 34
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
96 OL-26764-02
Configuring QoS
Configuring QoS Features and Functionality
Example:
Switch(config-cmap)# exit
Switch(config)#
Step 8 table-map name Creates a table map and enters the table map configuration mode.
Example:
Switch(config)# table-map dscp2dscp
Switch(config-tablemap)#
Step 9 default copy Sets the default behavior for value not found in the table map to
copy.
Example: Note This is the default option. You can also do a mapping of
Switch(config-tablemap)# default copy values for DSCP to DSCP.
Example:
Switch(config-tablemap)# exit
Switch(config)#
Step 11 table-map name Creates a new table map and enters the table map configuration
mode.
Example:
Switch(config)# table-map dscp2up
Switch(config-tablemap)#
Step 12 default copy Sets the default behavior for value not found in the table map to
copy.
Example: Note This is the default option. You can also do a mapping of
Switch(config-tablemap)# default copy values for DSCP to UP.
Example:
Switch(config-tablemap)# exit
Switch(config)#
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 97
Configuring QoS
Configuring QoS Features and Functionality
Step 16 priority level level_value The priority command assigns a strict scheduling priority for the
class.
Example: Note Priority level 1 is more important than priority level 2.
Switch(config-pmap-c)# priority level 1 Priority level 1 reserves bandwidth that is processed first
for QoS, so its latency is very low. Both priority level 1
and 2 reserve bandwidth.
Step 18 admit cac wmm-tspec Configures call admission control for the policy map.
Note This command only configures CAC for wireless
Example: QoS.
Switch(config-pmap-c)# admit cac wmm-tspec
Switch(config-pmap-cac-wmm)#
Step 19 rate value Configures the target bit rate (Kilo Bits per second). Enter a value
from 8 to 10000000.
Example:
Switch(config-pmap-admit-cac-wmm)# rate
5000
Step 20 wlan-up value Configures the WLAN UP value. Enter a value from 0 to 7.
Example:
Switch(config-pmap-admit-cac-wmm)# wlan-up
6 7
Example:
Switch(config-pmap-admit-cac-wmm)# exit
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
98 OL-26764-02
Configuring QoS
Configuring QoS Features and Functionality
Example:
Switch(config-pmap-c)# exit
Switch(config-pmap)#
Step 23 class class name Enters policy class map configuration mode. Specifies the name
of the class whose policy you want to create or change. Command
Example: options for policy class map configuration mode include the
following:
Switch(config-pmap)# class video
Switch(config-pmap-c)# • word—Class map name.
• class-default—System default class matching any otherwise
unclassified packets.
Step 24 priority level level_value The priority command assigns a strict scheduling priority for the
class.
Example: Note Priority level 1 is more important than priority level 2.
Switch(config-pmap-c)# priority level 2 Priority level 1 reserves bandwidth that is processed first
for QoS, so its latency is very low. Both priority level 1
and 2 reserve bandwidth.
Step 26 admit cac wmm-tspec Configures call admission control for the policy map.
Note This command only configures CAC for wireless
Example: QoS.
Switch(config-pmap-c)# admit cac wmm-tspec
Switch(config-pmap-admit-cac-wmm)#
Step 27 rate value Configures the target bit rate (Kilo Bits per second). Enter a value
from 8 to 10000000.
Example:
Switch(config-pmap-admit-cac-wmm)# rate
5000
Step 28 wlan-up value Configures the WLAN UP value. Enter a value from 0 to 7.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 99
Configuring QoS
Configuring QoS Features and Functionality
Example:
Switch(config-pmap-admit-cac-wmm)# wlan-up
4 5
Example:
Switch(config-pmap-cac-wmm)# exit
Switch(config-pmap)#
Example:
Switch(config-pmap)# exit
Switch(config)#
Step 33 set dscp dscp table table_map_name (Optional) Sets the QoS values. In this example, the set dscp dscp
table command creates a table map and sets its values.
Example:
Switch(config-pmap-c)# set dscp dscp
table dscp2dscp
Step 34 set wlan user-priority dscp table (Optional) Sets the QoS values. In this example, the set wlan
table_map_name user-priority dscp table command sets the WLAN user priority.
Example:
Switch(config-pmap-c)# set wlan
user-priority dscp table dscp2up
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
100 OL-26764-02
Configuring QoS
Configuring QoS Features and Functionality
Step 36 queue-buffers {ratio ratio value} Configures the relative buffer size for the queue.
Note The sum of all configured buffers in a policy must be less
Example: than or equal to 100 percent. Unallocated buffers are
Switch(config-pmap-c)# queue-buffers ratio evenly distributed to all the remaining queues.
0
Step 37 service-policy policy_map_name Specifies the policy map for the service policy.
Example:
Switch(config-pmap-c)# service-policy
ssid_child_cac
Example:
Switch(config-pmap)# end
Switch#
Step 39 show policy-map (Optional) Displays policy configuration information for all classes
configured for all service policies.
Example:
Switch# show policy-map
What to Do Next
Configure any additional policy maps for QoS for your network. After creating your policy maps, attach the
traffic policy or polices to an interface using the service-policy command.
For additional information about CAC, refer to the System Management Configuration Guide, Cisco IOS XE
Release 3SE (Catalyst 3850 Switches).
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 101
Configuring QoS
Configuring QoS Features and Functionality
SUMMARY STEPS
1. configure terminal
2. policy-map policy name
3. class class name
4. bandwidth {Kb/s | percent percentage | remaining { ratio ratio }}
5. end
6. show policy-map
DETAILED STEPS
Example:
Switch# configure terminal
Step 3 class class name Enters policy class map configuration mode. Specifies the name of the class
whose policy you want to create or change. Command options for policy class
Example: map configuration mode include the following:
Step 4 bandwidth {Kb/s | percent percentage Configures the bandwidth for the policy map. The parameters include:
| remaining { ratio ratio }}
• Kb/s—Configures a specific value in kilobits per second (from 20000 to
10000000).
Example:
• percent-—Allocates minimum bandwidth to a particular class based on a
Switch(config-pmap-c)# bandwidth
200000 percentage. The queue can oversubscribe bandwidth in case other queues
Switch(config-pmap-c)# do not utilize the entire port bandwidth. The total sum cannot exceed 100
percent, and in case it is less than 100 percent, the rest of the bandwidth is
equally divided along all bandwidth queues.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
102 OL-26764-02
Configuring QoS
Configuring QoS Features and Functionality
Note You cannot mix bandwidth types on a policy map. For example, you
cannot configure bandwidth in a single policy map using both a
bandwidth percent and in kilobits per second.
Example:
Switch(config-pmap-c)# end
Switch#
Step 6 show policy-map (Optional) Displays policy configuration information for all classes configured
for all service policies.
Example:
Switch# show policy-map
What to Do Next
Configure any additional policy maps for QoS for your network. After creating the policy maps, attach the
traffic policy or polices to an interface using the service-policy command.
Related Topics
Bandwidth, on page 48
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 103
Configuring QoS
Configuring QoS Features and Functionality
SUMMARY STEPS
1. configure terminal
2. policy-map policy name
3. class class name
4. police {target_bit_rate [burst bytes | bc | conform-action | pir ] | cir {target_bit_rate | percent percentage}
| rate {target_bit_rate | percent percentage} conform-action transmit exceed-action {drop [violate
action] | set-cos-transmit | set-dscp-transmit | set-prec-transmit | transmit [violate action] }}
5. end
6. show policy-map
DETAILED STEPS
Example:
Switch# configure terminal
Step 3 class class name Enters policy class map configuration mode. Specifies the name of the
class whose policy you want to create or change. Command options for
Example: policy class map configuration mode include the following:
Step 4 police {target_bit_rate [burst bytes | bc | The following police subcommand options are available:
conform-action | pir ] | cir {target_bit_rate |
percent percentage} | rate {target_bit_rate | • target_bit_rate—Bits per second (from 8000 to 10000000000).
percent percentage} conform-action transmit ◦burst bytes—Enter a value from 1000 to 512000000.
exceed-action {drop [violate action] |
set-cos-transmit | set-dscp-transmit | ◦bc—Conform burst.
set-prec-transmit | transmit [violate action] ◦conform-action—Action taken when rate is less than conform
}} burst.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
104 OL-26764-02
Configuring QoS
Configuring QoS Features and Functionality
Example:
Switch(config-pmap-c)# end
Switch#
Step 6 show policy-map (Optional) Displays policy configuration information for all classes
configured for all service policies.
Example:
Switch# show policy-map
What to Do Next
Configure any additional policy maps for QoS for your network. After creating your policy maps, attach the
traffic policy or polices to an interface using the service-policy command.
Related Topics
Single-Rate Two-Color Policing, on page 46
Examples: Single-Rate Two-Color Policing Configuration, on page 132
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 105
Configuring QoS
Configuring QoS Features and Functionality
Note Queues supporting voice and video should be assigned a priority level of 1.
SUMMARY STEPS
1. configure terminal
2. policy-map policy name
3. class class name
4. priority [Kb/s [burst_in_bytes] | level level_value [Kb/s [burst_in_bytes] | percent percentage
[burst_in_bytes] ] | percent percentage [burst_in_bytes] ]
5. end
6. show policy-map
DETAILED STEPS
Example:
Switch# configure terminal
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
106 OL-26764-02
Configuring QoS
Configuring QoS Features and Functionality
Step 3 class class name Enters policy class map configuration mode. Specifies the name of the class
whose policy you want to create or change. Command options for policy
Example: class map configuration mode include the following:
Step 4 priority [Kb/s [burst_in_bytes] | level The priority command assigns a strict scheduling priority for the class.
level_value [Kb/s [burst_in_bytes] | percent The command options include:
percentage [burst_in_bytes] ] | percent
percentage [burst_in_bytes] ] • Kb/s—Specifies the kilobits per second (from 1 to 2000000).
◦burst_in_bytes—Specifies the burst in bytes (from 32 to
Example:
2000000).
Switch(config-pmap-c)# priority level
1 • level level_value—Specifies the multilevel (1-2) priority queue.
Switch(config-pmap-c)#
◦Kb/s—Specifies the kilobits per second (from 1 to 2000000).
◦burst_in_bytes—Specifies the burst in bytes (from 32 to
2000000).
Example:
Switch(config-pmap-c)# end
Switch#
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 107
Configuring QoS
Configuring Queues and Shaping
What to Do Next
Configure any additional policy maps for QoS for your network. After creating your policy maps, attach the
traffic policy or polices to an interface using the service-policy command.
Related Topics
Priority Queues, on page 51
Note You can only configure the egress queues on the switch.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
108 OL-26764-02
Configuring QoS
Configuring Queues and Shaping
Note The queue-buffer ratio is supported on both wired and wireless ports, but the queue-buffer ratio cannot
be configured with a queue-limit.
SUMMARY STEPS
1. configure terminal
2. policy-map policy name
3. class class name
4. bandwidth {Kb/s | percent percentage | remaining { ratio ratio value }}
5. queue-buffers {ratio ratio value}
6. end
7. show policy-map
DETAILED STEPS
Example:
Switch# configure terminal
Step 3 class class name Enters policy class map configuration mode. Specifies the name of the class
whose policy you want to create or change. Command options for policy class
Example: map configuration mode include the following:
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 109
Configuring QoS
Configuring Queues and Shaping
Step 5 queue-buffers {ratio ratio value} Configures the relative buffer size for the queue.
Note The sum of all configured buffers in a policy must be less than or
Example: equal to 100 percent. Unallocated buffers are are evenly distributed
Switch(config-pmap-c)# to all the remaining queues.
queue-buffers ratio 10
Switch(config-pmap-c)#
Example:
Switch(config-pmap-c)# end
Switch#
Step 7 show policy-map (Optional) Displays policy configuration information for all classes configured
for all service policies.
Example:
Switch# show policy-map
What to Do Next
Configure any additional policy maps for QoS for your network. After creating your policy maps, attach the
traffic policy or polices to an interface using the service-policy command.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
110 OL-26764-02
Configuring QoS
Configuring Queues and Shaping
Related Topics
Queue Buffer Allocation, on page 52
Examples: Queue Buffers Configuration, on page 130
Note You can only configure queue limits on the switch egress queues on wired ports.
SUMMARY STEPS
1. configure terminal
2. policy-map policy name
3. class class name
4. bandwidth {Kb/s | percent percentage | remaining { ratio ratio value }}
5. queue-limit {packets packets | cos {cos value { maximum threshold value | percent percentage } | values
{cos value | percent percentage } } | dscp {dscp value {maximum threshold value | percent percentage}
| match packet {maximum threshold value | percent percentage} | default {maximum threshold value |
percent percentage} | ef {maximum threshold value | percent percentage} | dscp values dscp value} |
percent percentage }}
6. end
7. show policy-map
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 111
Configuring QoS
Configuring Queues and Shaping
DETAILED STEPS
Example:
Switch# configure terminal
Step 3 class class name Enters policy class map configuration mode. Specifies the name of the
class whose policy you want to create or change. Command options for
Example: policy class map configuration mode include the following:
Step 4 bandwidth {Kb/s | percent percentage | Configures the bandwidth for the policy map. The parameters include:
remaining { ratio ratio value }}
• Kb/s—Use this command to configure a specific value. The range
is 20000 to 10000000.
Example:
• percent—Allocates a minimum bandwidth to a particular class. The
Switch(config-pmap-c)# bandwidth 500000
Switch(config-pmap-c)# queue can oversubscribe bandwidth in case other queues do not
utilize the entire port bandwidth. The total sum cannot exceed 100
percent, and in case it is less than 100 percent, the rest of the
bandwidth is equally divided along all bandwidth queues.
• remaining—Allocates a minimum bandwidth to a particular class.
The queue can oversubscribe bandwidth in case other queues do not
utilize entire port bandwidth. The total sum cannot exceed 100
percent. It is preferred to use this command when the priority
command is used for certain queues in the policy. You can also
assign ratios rather than a percentage to each queue; the queues will
be assigned certain weights that are inline with these ratios. Ratios
can range from 0 to 100. Total bandwidth ratio allocation for the
policy in this case can exceed 100.
Step 5 queue-limit {packets packets | cos {cos value Sets the queue limit threshold percentage values.
{ maximum threshold value | percent percentage
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
112 OL-26764-02
Configuring QoS
Configuring Queues and Shaping
Example:
Switch(config-pmap-c)# end
Switch#
Step 7 show policy-map (Optional) Displays policy configuration information for all classes
configured for all service policies.
Example:
Switch# show policy-map
What to Do Next
Proceed to configure any additional policy maps for QoS for your network. After creating your policy maps,
proceed to attach the traffic policy or polices to an interface using the service-policy command.
Related Topics
Weighted Tail Drop, on page 49
Examples: Queue-limit Configuration, on page 129
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 113
Configuring QoS
Configuring Queues and Shaping
SUMMARY STEPS
1. configure terminal
2. policy-map policy name
3. class class name
4. shape average {target bit rate | percent percentage}
5. end
6. show policy-map
DETAILED STEPS
Example:
Switch# configure terminal
Step 3 class class name Enters policy class map configuration mode. Specifies the name of
the class whose policy you want to create or change. Command
Example: options for policy class map configuration mode include the
following:
Switch(config-pmap)# class class_shaping01
Switch(config-pmap-c)# • word—Class map name.
• class-default—System default class matching any otherwise
unclassified packets.
Step 4 shape average {target bit rate | percent Configures the average shape rate. You can configure the average
percentage} shape rate by target bit rates (bits per second) or by percentage of
interface bandwidth for the Committed Information Rate (CIR).
Example:
Switch(config-pmap-c)# shape average
percent 50
Switch(config-pmap-c)#
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
114 OL-26764-02
Configuring QoS
Configuring Precious Metal Policies (CLI)
Example:
Switch(config-pmap-c)# end
Switch#
Step 6 show policy-map (Optional) Displays policy configuration information for all classes
configured for all service policies.
Example:
Switch# show policy-map
What to Do Next
Configure any additional policy maps for QoS for your network. After creating your policy maps, attach the
traffic policy or polices to an interface using the service-policy command.
Related Topics
Average Rate Shaping, on page 48
Examples: Average Rate Shaping Configuration, on page 128
Hierarchical Shaping, on page 48
SUMMARY STEPS
1. configure terminal
2. wlan wlan-name
3. service-policy output policy-name
4. end
5. show wlan {wlan-id | wlan-name}
DETAILED STEPS
Example:
Switch# configure terminal
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 115
Configuring QoS
Configuring QoS Policies for Multicast Traffic (CLI)
Example:
Switchwlan test4
Step 3 service-policy output policy-name Configures the WLAN with the QoS policy. To configure the WLAN
with precious metal policies, you must enter one of the following
Example: keywords: platinum, gold, silver, or bronze. The upstream policy is
specified with the keyword platinum-up as shown in the example.
Switch(config-wlan)# service-policy
output platinum Note Upstream policies differ from downstream policies. The upstream
policies have a suffix of -up.
Example:
Switch(config-wlan)# service-policy
input platinum-up
Step 4 end Returns to privileged EXEC mode. Alternatively, you can also press
Ctrl-Z to exit the global configuration mode.
Example:
Switch(config)# end
Step 5 show wlan {wlan-id | wlan-name} Verifies the configured QoS policy on the WLAN.
Switch# show wlan name qos-wlan
Example: . . .
Switch# show wlan name qos-wlan . . .
. . .
. . .
Related Topics
Precious Metal Policies for Wireless QoS, on page 56
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
116 OL-26764-02
Configuring QoS
Applying a QoS Policy on a WLAN (GUI)
SUMMARY STEPS
1. configure terminal
2. ap capwap multicast service-policy output service-policy-name
3. end
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 ap capwap multicast service-policy output Applies the configured multicast policy.
service-policy-name
Example:
Switch(config)#ap capwap multicast service-policy
output service-policy-mcast
Related Topics
Wireless QoS Multicast, on page 41
Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic, on page 125
Step 3 Select the WLAN for which you want to configure the QoS policies by clicking on the WLAN Profile.
Step 4 Click the QoS tab to configure the QoS policies on the WLAN.
The following options are available:
Parameter Description
QoS SSID Policy
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 117
Configuring QoS
Applying a QoS Policy on a WLAN (GUI)
Parameter Description
Downstream QoS QoS downstream policy configuration.
Policy The Existing Policy column displays the current applied policy. To change the existing policy,
select the policy from the drop-down list in the Assign Policy column.
WMM
WMM Policy WMM Policy. Values are the following:
• Disabled—Disables this WMM policy.
• Allowed—Allows the clients to communicate with the WLAN.
• Required—Ensures that it is mandatory for the clients to have WMM features enabled
on them to communicate with the WLAN.
Related Topics
Port Policies, on page 27
Port Policy Format, on page 28
Restrictions for QoS on Wireless Targets, on page 61
Supported QoS Features on Wireless Targets, on page 26
Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic, on page 125
SSID Policies, on page 30
Supported QoS Features on Wireless Targets, on page 26
Examples: SSID Policy
Examples: Configuring Downstream SSID Policy, on page 125
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
118 OL-26764-02
Configuring QoS
Monitoring QoS
Monitoring QoS
The following commands can be used to monitor QoS on the switch.
Note Classification counters and statistics are not supported for any wireless
targets.
Command Description
show class-map [class_map_name] Displays a list of all class maps
configured.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 119
Configuring QoS
Monitoring QoS
Command Description
show policy-map interface { Auto-template | Capwap | Shows the runtime representation
GigabitEthernet | GroupVI | InternalInterface | Loopback | Null | and statistics of all the policies
Port-channel | TenGigabitEthernet | Tunnel | Vlan | Brief | class | configured on the switch. Command
input | output | wireless } parameters include:
• Auto-template—Auto-Template
interface
• Capwap—CAPWAP tunnel
interface
• GigabitEthernet—Gigabit
Ethernet IEEE.802.3z
• GroupVI—Group virtual
interface
• InternalInterface—Internal
interface
• Loopback—Loopback
interface
• Null—Null interface
• Port-channel—Ethernet
channel of interfaces
• TenGigabitEthernet—10-Gigabit
Ethernet
• Tunnel—Tunnel interface
• Vlan—Catalyst VLANs
• Brief—Brief description of
policy maps
• Class—Show statistics for
individual class
• Input—Input policy
• Output—Output policy
• Wireless—wireless
show policy-map interface wireless ap [access point] Shows the runtime representation
and statistics for all the wireless APs
on the switch.
show policy-map interface wireless ssid [ssid] Shows the runtime representation
and statistics for all the SSID targets
on the switch.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
120 OL-26764-02
Configuring QoS
Configuration Examples for QoS
Command Description
show policy-map interface wireless client [client] Shows the runtime representation
and statistics for all the client targets
on the switch.
show policy-map session [ input | output | uid UUID ] Shows the session QoS policy.
Command parameters include:
• input—Input policy
• output—Output policy
• uid—Policy based on SSS
unique identification.
show policy-map interface wireless ssid name ssid-name radio type Displays SSID policy configuration
{24ghz | 5ghz} ap name ap-name on an access point.
After creating a class map by using an ACL, you then create a policy map for the class, and apply the policy
map to an interface for QoS.
Related Topics
Creating a Traffic Class (CLI), on page 64
Class Maps, on page 39
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 121
Configuring QoS
Examples: Class of Service DSCP Classification
After creating a class map by using a CoS Layer 2 classification, you then create a policy map for the class,
and apply the policy map to an interface for QoS.
After creating a class map by using a DSCP classification, you then create a policy map for the class, and
apply the policy map to an interface for QoS.
After creating a class map by using a VLAN Layer 2 classification, you then create a policy map for the class,
and apply the policy map to an interface for QoS.
After creating a class map by using a DSCP or precedence values, you then create a policy map for the class,
and apply the policy map to an interface for QoS.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
122 OL-26764-02
Configuring QoS
Examples: Hierarchical Classification
After creating the parent class map, you then create a policy map for the class, and apply the policy map to
an interface for QoS.
Related Topics
Hierarchical QoS, on page 31
Switch(config)# class-map c2
Switch(config-cmap)# match precedence 4
Switch(config-cmap)# exit
Switch(config)# class-map c3
Switch(config-cmap)# exit
Switch(config-pmap)# class c2
Switch(config-pmap-c)# bandwidth 20000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# bandwidth 20000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 123
Configuring QoS
Examples: Classification for Voice and Video
Related Topics
Hierarchical QoS, on page 31
Switch(config)#
Switch(config)# class-map voice-interface-1
Switch(config-cmap)# match ip precedence 5
Switch(config-cmap)# exit
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
124 OL-26764-02
Configuring QoS
Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic
Policy-map port_child_policy
Class voice (match dscp ef)
Priority level 1
Police Multicast Policer
Class video (match dscp af41)
Priority level 2
Police Multicast Policer
Class mcast-data (match non-client-nrt)
Bandwidth remaining ratio <>
Class class-default (NRT Data)
Bandwidth remaining ratio <>
Note Multicast Policer in the example above is not a keyword. It refers to the policing policy configured.
Two class maps with name voice and video are configured with DSCP assignments of 46 and 34. The voice
traffic is assigned the priority of 1 and the video traffic is assigned the priority level 2 and is processed using
Q0 and Q1. If your network receives multicast voice and video traffic, you can configure multicast policers.
The non-client NRT data and NRT data are processed using the Q2 and Q3 queues.
Related Topics
Applying a QoS Policy on a WLAN (GUI), on page 117
Port Policies, on page 27
Port Policy Format, on page 28
Configuring QoS Policies for Multicast Traffic (CLI), on page 116
Wireless QoS Multicast, on page 41
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 125
Configuring QoS
Examples: Client Policies
policy-map port_child_policy
class voice
priority level 1 20000
class video
priority level 2 10000
class non-client-nrt-class
bandwidth remaining ratio 10
class class-default
bandwidth remaining ratio 15
policy-map bssid-policer
queue-buffer ratio 0
class class-default
shape average 30000000
set dscp dscp table dscp2dscp
set wlan user-priority dscp table dscp2up
service-policy ssid_child_qos
Related Topics
Applying an SSID or Client Policy on a WLAN (CLI), on page 82
Configuring SSID Policies (GUI), on page 81
Applying a QoS Policy on a WLAN (GUI), on page 117
SSID Policies, on page 30
Note The default client policy is enabled only on WMM clients that are ACM-enabled.
Policy-map client-def-down
class class-default
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
126 OL-26764-02
Configuring QoS
Examples: Client Policies
The following example shows the default client policy in the upstream direction. Any traffic that is sent to
the wired network from wireless network will result in the DSCP value being set to 0.
Note The default client policy is enabled only on WMM clients that are ACM-enabled.
Policy-map client-def-up
class class-default
set dscp 0
The following examples shows client policies that are generated automatically and applied to the WMM client
when the client authenticates to a profile in AAA with a QoS-level attribute configured.
Any traffic matching class voice1 the user priority is set to a pre-defined value. The class can be set to assign
a DSCP or ACL.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 127
Configuring QoS
Examples: Average Rate Shaping Configuration
The following is an example of a client policy for voice and video for traffic in the downstream direction:
Related Topics
Configuring Client Policies (CLI)
Configuring Client Policies (GUI), on page 71
Applying a QoS Policy on a WLAN (GUI), on page 117
Client Policies, on page 30
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
128 OL-26764-02
Configuring QoS
Examples: Queue-limit Configuration
After configuring the class maps, policy map, and shape averages for your configuration, proceed to then
apply the policy map to the interface for QoS.
Related Topics
Configuring Shaping (CLI), on page 113
Average Rate Shaping, on page 48
After finishing with the above policy map queue-limit configuration, you can then proceed to apply the policy
map to an interface for QoS.
Related Topics
Configuring Queue Limits (CLI), on page 111
Weighted Tail Drop, on page 49
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 129
Configuring QoS
Examples: Queue Buffers Configuration
Related Topics
Configuring Queue Buffers (CLI), on page 108
Queue Buffer Allocation, on page 52
Note The Layer 2 fields can be marked to include the CoS fields, and the Layer 3 fields can be marked to include
the precedence and the DSCP fields.
One useful feature is the ability to associate multiple actions with an event. For example, you could set the
precedence bit and the CoS for all conforming packets. A submode for an action configuration could then be
provided by the policing feature.
This is an example of a policing action configuration:
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
130 OL-26764-02
Configuring QoS
Examples: Policer VLAN Configuration
Note Policer-based markdown actions are only supported using table maps. Only one markdown table map is
allowed for each marking field in the switch.
Related Topics
Configuring Police (CLI), on page 103
Policing, on page 42
Token-Bucket Algorithm, on page 42
Related Topics
Classifying, Policing, and Marking Traffic on SVIs by Using Policy Maps (CLI), on page 87
Policy Map on VLANs, on page 41
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 131
Configuring QoS
Examples: Single-Rate Two-Color Policing Configuration
The following is an example of a policer configuration in packets per second. In this configuration, a dual-rate
three-color policer is configured where the units of measurement is packet. The burst and peak burst are all
specified in packets.
Related Topics
Configuring Police (CLI), on page 103
Token-Bucket Algorithm, on page 42
Related Topics
Configuring Police (CLI), on page 103
Single-Rate Two-Color Policing, on page 46
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
132 OL-26764-02
Configuring QoS
Examples: Table Map Marking Configuration
Note Policer based markdown actions are only supported using table maps. Only one markdown table map is
allowed for each marking field in the switch.
Related Topics
Configuring Police (CLI), on page 103
Dual-Rate Three-Color Policing, on page 47
2 Define the policy map where the table map will be used.
In the example, the incoming CoS is mapped to the DSCP based on the mapping specified in the table
table-map1. For this example, if the incoming packet has a DSCP of 0, the CoS in the packet is set 1. If
no table map name is specified the command assumes a default behavior where the value is copied as is
from the ‘from’ field (DSCP in this case) to the ‘to’ field (CoS in this case). Note however, that while the
CoS is a 3-bit field, the DSCP is a 6-bit field, which implies that the CoS is copied to the first three bits
in the DSCP.
Related Topics
Configuring Table Maps (CLI), on page 90
Table Map Marking, on page 44
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 133
Configuring QoS
Example: Table Map Configuration to Retain CoS Markings
Related Topics
Trust Behavior for Wired and Wireless Ports, on page 53
Where to Go Next
Review the auto-QoS documentation to see if you can use these automated capabilities for your QoS
configuration.
Multicast Shaping and Policing Rate IP Multicast Routing Configuration Guide (Catalyst
3850 Switches)
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
134 OL-26764-02
Configuring QoS
Additional References for QoS
Description Link
To help you research and resolve system error https://www.cisco.com/cgi-bin/Support/Errordecoder/
messages in this release, use the Error Message index.cgi
Decoder tool.
Standard/RFC Title
—
MIBs
Technical Assistance
Description Link
The Cisco Support website provides extensive online http://www.cisco.com/support
resources, including documentation and tools for
troubleshooting and resolving technical issues with
Cisco products and technologies.
To receive security and technical information about
your products, you can subscribe to various services,
such as the Product Alert Tool (accessed from Field
Notices), the Cisco Technical Services Newsletter,
and Really Simple Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website
requires a Cisco.com user ID and password.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 135
Configuring QoS
Feature History and Information for QoS
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
136 OL-26764-02
CHAPTER 4
Configuring Auto-QoS
• Finding Feature Information, page 137
• Prerequisites for Auto-QoS, page 137
• Restrictions for Auto-QoS, page 138
• Information About Configuring Auto-QoS, page 138
• How to Configure Auto-QoS, page 139
• Monitoring Auto-QoS, page 144
• Troubleshooting Auto-QoS, page 144
• Configuration Examples for Auto-QoS, page 145
• Where to Go Next for Auto-QoS, page 171
• Additional References for Auto-QoS, page 171
• Feature History and Information for Auto-QoS, page 172
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 137
Configuring Auto-QoS
Restrictions for Auto-QoS
Related Topics
Upgrading Auto-QoS (CLI), on page 142
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
138 OL-26764-02
Configuring Auto-QoS
Auto-QoS Policy and Class Maps
because all auto-QoS commands rely on the same eight queue models, which have already been generated
from the first time a new auto-QoS command was used.
Related Topics
Configuring Auto-QoS (CLI), on page 139
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 139
Configuring Auto-QoS
Configuring Auto-QoS (CLI)
SUMMARY STEPS
1. configure terminal
2. interface interface-id
3. Depending on your auto-Qos configuration, use one of the following commands:
• 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}
4. end
5. show auto qos interface interface-id
DETAILED STEPS
Example:
Switch# configure terminal
Step 2 interface interface-id Specifies the port that is connected to a VoIP port, video device, or the uplink port
that is connected to another trusted switch or router in the network interior, and
Example: enters the interface configuration mode.
Switch(config)# interface
gigabitethernet 3/0/1
Step 3 Depending on your auto-Qos The following commands enable auto-QoS for VoIP:
configuration, use one of the following
commands: • auto qos voip cisco-phone—If the port is connected to a Cisco IP Phone, the
QoS labels of incoming packets are only trusted (conditional trust through
• auto qos voip {cisco-phone | CDP) when the telephone is detected.
cisco-softphone | trust}
• auto qos voip cisco-softphone—The port is connected to device running the
• auto qos video {cts | ip-camera Cisco SoftPhone feature. This command generates a QoS configuration for
| media-player} interfaces connected to PCs running the Cisco IP SoftPhone application and
mark, as well as police traffic coming from such interfaces. Ports configured
• auto qos classify [police]
with this command are considered untrusted.
• auto qos trust {cos | dscp}
• auto qos voip trust—The uplink port is connected to a trusted switch or router,
and the VoIP traffic classification in the ingress packet is trusted.
Example: The following commands enable auto-QoS for the specified video device (system,
Switch(config-if)# auto qos camera, or media player):
trust dscp
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
140 OL-26764-02
Configuring Auto-QoS
Configuring Auto-QoS (CLI)
Example:
Switch(config-if)# end
Step 5 show auto qos interface interface-id (Optional) Verifies your entries.
This command displays the auto-QoS command on the interface on which auto-QoS
Example: was enabled. You can use the show running-config privileged EXEC command to
Switch# show auto qos interface display the auto-QoS configuration and the user modifications.
gigabitethernet 3/0/1
Related Topics
Auto-QoS Policy and Class Maps, on page 139
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 141
Configuring Auto-QoS
Upgrading Auto-QoS (CLI)
SUMMARY STEPS
DETAILED STEPS
Example:
Switch# show auto qos
GigabitEthernet2/0/3
auto qos voip cisco-phone
GigabitEthernet2/0/27
auto qos voip cisco-softphone
In privileged EXEC mode, record all current auto QoS configurations by entering this command.
Example:
Switch(config-if)#no auto qos
In interface configuration mode, run the appropriate no auto qos command on each interface that has an auto QoS
configuration.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
142 OL-26764-02
Configuring Auto-QoS
Upgrading Auto-QoS (CLI)
Example:
Switch# show running-config | i autoQos
Return to privileged EXEC mode, and record any remaining auto QoS maps class maps, policy maps, access lists, table
maps, or other configurations by entering this command.
Example:
Switch)config# no policy-map pmap_101
Switch)config# no class-map cmap_101
Switch)config# no ip access-list extended AutoQos-101
Switch)config# no table-map 101
Switch)config# no table-map policed-dscp
In global configuration mode, remove the QoS class maps, policy maps, table maps, and any other auto QoS configurations
by entering these commands:
• no policy-map policy-map-name
• no class-map class-map-name
• no ip access-list extended Auto-QoS-x
• no table-map table-map-name
• no table-map policed-dscp
Example:
Switch# show running-config | i AutoQos
Return to privileged EXEC mode, run this command again to ensure that no auto-QoS configuration or remaining parts
of the auto-QoS configuration exists
Example:
Switch# show auto qos
Run this command to ensure that no auto-QoS configuration or remaining parts of the configuration exists.
Example:
Switch# write memory
Write the changes to the auto QoS configuration to NV memory by entering the write memory command.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 143
Configuring Auto-QoS
Monitoring Auto-QoS
What to Do Next
Reboot the switch with the new or upgraded software image.
After rebooting with the new or upgraded software image, re-configure auto-QoS for the appropriate switch
interfaces as determined by running the show auto qos command described in step 1.
Note There is only one table-map for exceed and another table-map for violate markdown per switch or stack.
If the switch already has a table-map under the exceed action, then the auto-qos policy cannot be applied.
Related Topics
Restrictions for Auto-QoS, on page 138
Monitoring Auto-QoS
Table 17: Commands for Monitoring Auto-QoS
Command Description
show auto qos [interface [interface-id]] Displays the initial auto-QoS configuration.
You can compare the show auto qos and the show
running-config command output to identify the
user-defined QoS settings.
Troubleshooting Auto-QoS
To troubleshoot auto-QoS, use the debug auto qos privileged EXEC command. For more information, see
the debug auto qos command in the command reference for this release.
To disable auto-QoS on a port, use the no form of the auto qos command interface configuration command,
such as no auto qos voip. Only the auto-QoS-generated interface configuration commands for this port are
removed. If this is the last port on which auto-QoS is enabled and you enter the no auto qos voip command,
auto-QoS is considered disabled even though the auto-QoS-generated global configuration commands remain
(to avoid disrupting traffic on other ports affected by the global configuration).
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
144 OL-26764-02
Configuring Auto-QoS
Configuration Examples for Auto-QoS
The following class maps are created and applied when running this command:
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
GigabitEthernet1/0/17
(total drops) 0
(bytes output) 0
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 145
Configuring Auto-QoS
Example: auto qos trust cos
0 packets, 0 bytes
5 minute rate 0 bps
Priority: 30% (300000 kbps), burst bytes 7500000,
Priority Level: 1
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
146 OL-26764-02
Configuring Auto-QoS
Example: auto qos trust dscp
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
The following class maps are created and applied when running this command:
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 147
Configuring Auto-QoS
Example: auto qos trust dscp
GigabitEthernet1/0/18
(total drops) 0
(bytes output) 0
Priority Level: 1
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
148 OL-26764-02
Configuring Auto-QoS
Example: auto qos trust dscp
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 149
Configuring Auto-QoS
Example: auto qos video cts
The following class maps are created and applied when running this command:
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
GigabitEthernet1/0/12
(total drops) 0
(bytes output) 0
Priority Level: 1
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
150 OL-26764-02
Configuring Auto-QoS
Example: auto qos video cts
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 151
Configuring Auto-QoS
Example: auto qos video ip-camera
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
The following class maps are created and applied when running this command:
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
152 OL-26764-02
Configuring Auto-QoS
Example: auto qos video ip-camera
GigabitEthernet1/0/9
(total drops) 0
(bytes output) 0
Priority Level: 1
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 153
Configuring Auto-QoS
Example: auto qos video media-player
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
154 OL-26764-02
Configuring Auto-QoS
Example: auto qos video media-player
The following policy maps are created and applied when running this command:
• AutoQos-4.0-Trust-Dscp-Input-Policy
• AutoQos-4.0-Output-Policy
The following class maps are created and applied when running this command:
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
GigabitEthernet1/0/7
(total drops) 0
(bytes output) 0
Priority Level: 1
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 155
Configuring Auto-QoS
Example: auto qos video media-player
Match: cos 3
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
queue-limit dscp 16 percent 80
queue-limit dscp 24 percent 90
queue-limit dscp 48 percent 100
queue-limit dscp 56 percent 100
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
156 OL-26764-02
Configuring Auto-QoS
Example: auto qos voip trust
0 packets
Match: dscp af31 (26) af32 (28) af33 (30)
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
The following class maps are created and applied when running this command:
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
GigabitEthernet1/0/31
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 157
Configuring Auto-QoS
Example: auto qos voip trust
0 packets, 0 bytes
5 minute rate 0 bps
QoS Set
cos cos table AutoQos-4.0-Trust-Cos-Table
(total drops) 0
(bytes output) 0
Priority Level: 1
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
158 OL-26764-02
Configuring Auto-QoS
Example: auto qos voip cisco-phone
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 159
Configuring Auto-QoS
Example: auto qos voip cisco-phone
The following class maps are created and applied when running this command:
• AutoQos-4.0-Voip-Data-CiscoPhone-Class (match-any)
• AutoQos-4.0-Voip-Signal-CiscoPhone-Class (match-any)
• AutoQos-4.0-Default-Class (match-any)
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
GigabitEthernet1/0/5
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
160 OL-26764-02
Configuring Auto-QoS
Example: auto qos voip cisco-phone
dscp default
(total drops) 0
(bytes output) 0
Priority Level: 1
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 161
Configuring Auto-QoS
Example: auto qos voip cisco-softphone
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
162 OL-26764-02
Configuring Auto-QoS
Example: auto qos voip cisco-softphone
• AutoQos-4.0-Output-Policy
The following class maps are created and applied when running this command:
• AutoQos-4.0-Voip-Data-Class (match-any)
• AutoQos-4.0-Voip-Signal-Class (match-any)
• AutoQos-4.0-Multimedia-Conf-Class (match-any)
• AutoQos-4.0-Bulk-Data-Class (match-any)
• AutoQos-4.0-Transaction-Class (match-any)
• AutoQos-4.0-Scavanger-Class (match-any)
• AutoQos-4.0-Signaling-Class (match-any)
• AutoQos-4.0-Default-Class (match-any)
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
GigabitEthernet1/0/20
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 163
Configuring Auto-QoS
Example: auto qos voip cisco-softphone
0 packets, 0 bytes
5 minute rate 0 bps
Match: cos 3
0 packets, 0 bytes
5 minute rate 0 bps
QoS Set
dscp cs3
police:
cir 32000 bps, bc 8000 bytes
conformed 0 bytes; actions:
transmit
exceeded 0 bytes; actions:
set-dscp-transmit dscp table policed-dscp
conformed 0000 bps, exceed 0000 bps
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
164 OL-26764-02
Configuring Auto-QoS
Example: auto qos voip cisco-softphone
(total drops) 0
(bytes output) 0
Priority Level: 1
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 165
Configuring Auto-QoS
Example: auto qos voip cisco-softphone
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
166 OL-26764-02
Configuring Auto-QoS
auto qos classify police
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
queue-buffers ratio 25
The following class maps are created and applied when running this command:
• AutoQos-4.0-Multimedia-Conf-Class (match-any)
• AutoQos-4.0-Bulk-Data-Class (match-any)
• AutoQos-4.0-Transaction-Class (match-any)
• AutoQos-4.0-Scavanger-Class (match-any)
• AutoQos-4.0-Signaling-Class (match-any)
• AutoQos-4.0-Default-Class (match-any)
• class-default (match-any)
• AutoQos-4.0-Output-Priority-Queue (match-any)
• AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
• AutoQos-4.0-Output-Trans-Data-Queue (match-any)
• AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
• AutoQos-4.0-Output-Scavenger-Queue (match-any)
• AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
GigabitEthernet1/0/6
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 167
Configuring Auto-QoS
auto qos classify police
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
168 OL-26764-02
Configuring Auto-QoS
auto qos classify police
transmit
exceeded 0 bytes; actions:
drop
conformed 0000 bps, exceed 0000 bps
(total drops) 0
(bytes output) 0
Priority Level: 1
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 169
Configuring Auto-QoS
auto qos classify police
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 4%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 1%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 10%
queue-buffers ratio 10
(total drops) 0
(bytes output) 0
bandwidth remaining 25%
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
170 OL-26764-02
Configuring Auto-QoS
Where to Go Next for Auto-QoS
queue-buffers ratio 25
Description Link
To help you research and resolve system error https://www.cisco.com/cgi-bin/Support/Errordecoder/
messages in this release, use the Error Message index.cgi
Decoder tool.
Standard/RFC Title
—
MIBs
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 171
Configuring Auto-QoS
Feature History and Information for Auto-QoS
Technical Assistance
Description Link
The Cisco Support website provides extensive online http://www.cisco.com/support
resources, including documentation and tools for
troubleshooting and resolving technical issues with
Cisco products and technologies.
To receive security and technical information about
your products, you can subscribe to various services,
such as the Product Alert Tool (accessed from Field
Notices), the Cisco Technical Services Newsletter,
and Really Simple Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website
requires a Cisco.com user ID and password.
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
172 OL-26764-02
INDEX
D
default wireless QoS configuration 58
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 IN-1
Index
H P
hierarchical classification 37 police 103
hierarchical policies 123 policer allocation for VLAN 131
Hierarchical QoS 31 policing 38, 42, 46
hierarchical shaping 47, 48 described 38
physical ports 42
token-bucket algorithm 42
policy 67, 79
I interface attachment 79
input, output parameters 83 policy map 67
IP ACLs 39 policy maps 87
for QoS classification 39 configuring 87
IP phones 54 policy maps for QoS 40, 83, 87
ensuring port security with QoS 54 characteristics of 40
trusted boundary for QoS 54 nonhierarchical on physical ports 83
IP precedence 35 configuring 83
IP-precedence-to-DSCP map for QoS 57 on SVIs 87
IPv6 24 configuring 87
preferential treatment of traffic 23
See QoS 23
prerequisites 21, 137
L auto-QoS 137
Layer 2 37 QoS 21
Layer 3 36 prioritization 33
Layer 3 packets, classification methods 35 priority 106
Layer 4 36
Q
M QoS 35, 38, 39, 40, 42, 48, 49, 54, 57, 58, 83, 87, 108, 139, 144
mapping tables for QoS 57, 58 auto-QoS 139, 144
configuring 57, 58 disabling 144
CoS-to-DSCP 57 effects on running configuration 139
DSCP-to-CoS 58 basic model 38
IP-precedence-to-DSCP 57 egress port 38
marking 43, 44, 83 ingress port 38
action in policy map 83 classification 35, 38, 39, 40
packet header 43 class maps, described 39, 40
router specific information 43 defined 38
table map 44 forwarding treatment 35
Modular QoS CLI 35 IP ACLs, described 39
monitoring 119 MAC ACLs, described 39
QoS 119 configuring 83, 87, 108
MQC 23 egress queue characteristics 108
policy maps on physical ports 83
policy maps, VLANs 87
egress queues 38
N described 38
implicit deny 39
nonhierarchical policy maps 83 IP phones 54
configuring 83 detection and trusted settings 54
mapping tables 57, 58
CoS-to-DSCP 57
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
IN-2 OL-26764-02
Index
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
OL-26764-02 IN-3
Index
QoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)
IN-4 OL-26764-02