-
- IP Multicast Routing Technology Overview
- Configuring IGMP
- Configuring IGMP Proxy
- Constraining IP Multicast in Switched Ethernet
- Configuring Protocol Independent Multicast (PIM)
- Configuring PIM MIB Extension for IP Multicast
- Configuring MSDP
- Configuring Wireless Multicast
- Configuring SSM
- Configuring Multicast Routing over GRE Tunnel
- Configuring the Service Discovery Gateway
- IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment
- IP Multicast Optimization: Multicast Subsecond Convergence
- IP Multicast Optimization: IP Multicast Load Splitting across Equal-Cost Paths
- IP Multicast Optimization: SSM Channel Based Filtering for Multicast
- IP Multicast Optimization: PIM Dense Mode State Refresh
- IP Multicast Optimization: IGMP State Limit
-
- Configuring the Device for Access Point Discovery
- Configuring Data Encryption
- Configuring Retransmission Interval and Retry Count
- Configuring Adaptive Wireless Intrusion Prevention System
- Configuring Authentication for Access Points
- Converting Autonomous Access Points to Lightweight Mode
- Using Cisco Workgroup Bridges
- Configuring Probe Request Forwarding
- Optimizing RFID Tracking
- Country Codes
- Configuring Link Latency
- Configuring Power over Ethernet
-
- Configuring Autoconf
- Configuring Cisco IOS Configuration Engine
- Configuring the Cisco Discovery Protocol
- Configuring Simple Network Management Protocol
- Configuring Service Level Agreements
- Configuring Local Policies
- Configuring SPAN and RSPAN
- Configuring ERSPAN
- Configuring Packet Capture
- Configuring Flexible NetFlow
-
- Preventing Unauthorized Access
- Controlling Switch Access with Passwords and Privilege Levels
- Configuring TACACS+
- MACsec Encryption
- Configuring RADIUS
- Configuring RADIUS over DTLS
- Configuring Kerberos
- Configuring Local Authentication and Authorization
- Configuring Secure Shell
- X.509v3 Certificates for SSH Authentication
- Configuring Secure Socket Layer HTTP
- IPv4 ACLs
- IPv6 ACLs
- Configuring DHCP
- Configuring IP Source Guard
- Configuring Dynamic ARP Inspection
- Configuring IEEE 802.1x Port-Based Authentication
- Configuring Device Sensor
- Web-Based Authentication
- Configuring Port-Based Traffic Control
- Configuring IPv6 First Hop Security
- Configuring SISF-Based Device Tracking
- Configuring Cisco TrustSec
- Configuring Control Plane Policing
- Configuring Wireless Guest Access
- Managing Rogue Devices
- Classifying Rogue Access Points
- Configuring wIPS
- Configuring Intrusion Detection System
-
- Administering the Switch
- Boot Integrity Visibility
- Performing Device Setup Configuration
- Configuring Autonomic Networking
- Configuring Right-To-Use Licenses
- Configuring Administrator Usernames and Passwords
- 802.11 parameters and Band Selection
- Configuring Aggressive Load Balancing
- Configuring Client Roaming
- Configuring Application Visibility and Control in a Wired Network
- Configuring Application Visibility and Control in a Wireless Network
- Configuring Location Settings
- Configuring Voice and Video Parameters
- Configuring RFID Tag Tracking
- Configuring Location Settings
- Cisco Hyperlocation
- Monitoring Flow Control
- Configuring SDM Templates
- Configuring System Message Logs
- Configuring Online Diagnostics
- Managing Configuration Files
- Configuration Replace and Configuration Rollback
- Working with the Flash File System
- Upgrading the Switch Software
- Conditional Debug and Radioactive Tracing
- Troubleshooting the Software Configuration
- Finding Feature Information
- Prerequisites for Auto-QoS
- Restrictions for Auto-QoS
- Information About Configuring Auto-QoS
- How to Configure Auto-QoS
- Monitoring Auto-QoS
- Troubleshooting Auto-QoS
- Configuration Examples for Auto-QoS
- Example: auto qos trust cos
- Example: auto qos trust dscp
- Example: auto qos video cts
- Example: auto qos video ip-camera
- Example: auto qos video media-player
- Example: auto qos voip trust
- Example: auto qos voip cisco-phone
- Example: auto qos voip cisco-softphone
- auto qos classify police
- auto qos global compact
- Where to Go Next for Auto-QoS
- Additional References for Auto-QoS
- Feature History and Information for Auto-QoS
- Finding Feature Information
- Prerequisites for Quality of Service
- QoS Components
- QoS Terminology
- Information About QoS
- QoS Implementation
- Configuring Class, Policy, and Table Maps
- Creating a Traffic Class (CLI)
- Creating a Traffic Policy (CLI)
- Configuring Client Policies
- Configuring Class-Based Packet Marking (CLI)
- Configuring Class Maps for Voice and Video (CLI)
- Attaching a Traffic Policy to an Interface (CLI)
- Applying an SSID or Client Policy on a WLAN (CLI)
- Classifying, Policing, and Marking Traffic on Physical Ports by Using Policy Maps (CLI)
- Classifying, Policing, and Marking Traffic on SVIs by Using Policy Maps (CLI)
- Configuring Table Maps (CLI)
- Configuring Trust
- Configuring QoS Features and Functionality
- Configuring Queues and Shaping
- Configuring Precious Metal Policies (CLI)
- Examples: Classification by Access Control Lists
- Examples: Class of Service Layer 2 Classification
- Examples: Class of Service DSCP Classification
- Examples: VLAN ID Layer 2 Classification
- Examples: Classification by DSCP or Precedence Values
- Examples: Hierarchical Classification
- Examples: Hierarchical Policy Configuration
- Examples: Classification for Voice and Video
- Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic
- Examples: Configuring Downstream SSID Policy
- Examples: Ingress SSID Policies
- Examples: Client Policies
- Examples: Average Rate Shaping Configuration
- Examples: Queue-limit Configuration
- Examples: Queue Buffers Configuration
- Examples: Policing Action Configuration
- Examples: Policer VLAN Configuration
- Examples: Policing Units
- Examples: Single-Rate Two-Color Policing Configuration
- Examples: Dual-Rate Three-Color Policing Configuration
- Examples: Table Map Marking Configuration
- Example: Table Map Configuration to Retain CoS Markings
Configuring QoS
- Finding Feature Information
- Prerequisites for Auto-QoS
- Restrictions for Auto-QoS
- Information About Configuring Auto-QoS
- How to Configure Auto-QoS
- Monitoring Auto-QoS
- Troubleshooting Auto-QoS
- Configuration Examples for Auto-QoS
- Where to Go Next for Auto-QoS
- Additional References for Auto-QoS
- Feature History and Information for Auto-QoS
- Finding Feature Information
- Prerequisites for Quality of Service
- QoS Components
- QoS Terminology
- Information About QoS
- Guidelines for QoS Policies
- Restrictions for QoS on Wired Targets
- Restrictions for QoS on Wireless Targets
- How to Configure QoS
- Monitoring QoS
- Configuration Examples for QoS
- Where to Go Next
- Additional References for QoS
- Feature History and Information for QoS
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Auto-QoS
The prerequisites for auto-QoS are the same as the prerequisites for standard QoS.
Restrictions for Auto-QoS
The following are restrictions for auto-QoS:
-
Auto-qos is not supported on SVI interfaces.
-
Auto-QoS is not supported on an Etherchannel interface. When applied on member ports, all port-channel interfaces should share the same Auto-QoS policy.
- The trust device device_type command available in interface configuration mode is a stand-alone command on the switch. When using this command, 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. If the connected peer device is a corresponding device, input policy will take effect.
-
When upgrading your software release from a pre- 3.2.2 software version to a 3.2.2 or later software version, you must follow the auto-QoS upgrade procedure described in this chapter.
-
Do not configure the auto qos voip cisco-phone option for IP phones that support video. This option causes DSCP markings of video packets to get overwritten, because these packets do not have Expedited Forwarding priority, which results in these packets getting classified in the class-default class.
-
Auto-QoS does not generate configuration when it is pushed from the startup-configuration using the auto qos voip cisco-phone command to the running-configuration. This is expected behavior and this is to prevent overwriting of user-created customized QoS policies by the default configuration, if any, every time the command auto qos voip cisco-phone is pushed from the startup-config.
You can use any of the following workarounds for this limitation: -
Configure the auto qos voip cisco-phone command manually on the switch interfaces.
-
For new switches, if you push auto-QoS commands through startup-config, the command should include each of the following as part of the standard template
-
If the auto qos voip cisco-phone command is already configured on an interface but policies are not being generated, disable the command from all the interfaces and reconfigure the command on each interface manually.
-
Information About Configuring Auto-QoS
Auto-QoS Overview
You can use the auto-QoS feature to simplify the deployment of QoS features. Auto-QoS determines the network design and enables QoS configurations so that the switch can prioritize different traffic flows.
The switch employs the MQC model. This means that instead of using certain global configurations, auto-QoS applied to any interface on a switch configures several global class maps and policy maps.
Auto-QoS matches traffic and assigns each matched packet to qos-groups. This allows the output policy map to put specific qos-groups into specific queues, including into the priority queue.
QoS is needed in both directions, both on inbound and outbound. When inbound, the switch port needs to trust the DSCP in the packet (done by default). When outbound, the switch port needs to give voice packets "front of line" priority. If voice is delayed too long by waiting behind other packets in the outbound queue, the end host drops the packet because it arrives outside of the receive window for that packet.
Auto-QoS Compact Overview
When you enter an auto-QoS command, the switch displays all the generated commands as if the commands were entered from the CLI. You can use the auto-QoS compact feature to hide the auto-QoS generated commands from the running configuration. This would make it easier to comprehend the running-configuration and also help to increase efficient usage of memory.
Auto-QoS Global Configuration Templates
In general, an auto-QoS command generates a series of class maps that either match on ACLs or on DSCP and/or CoS values to differentiate traffic into application classes. An input policy is also generated, which matches the generated classes and in some cases, polices the classes to a set bandwidth. Eight egress-queue class maps are generated. The actual egress output policy assigns a queue to each one of these eight egress-queue class maps.
The auto-QoS commands only generate templates as needed. For example, the first time any new auto-QoS command is used, global configurations that define the eight queue egress service-policy are generated. From this point on, auto-QoS commands applied to other interfaces do not generate templates for egress queuing 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.
Auto-QoS Policy and Class Maps
After entering the appropriate auto-QoS command, the following actions occur:
Effects of Auto-QoS on Running Configuration
When auto-QoS is enabled, the auto qos interface configuration commands and the generated global configuration are added to the running configuration.
The switch applies the auto-QoS-generated commands as if the commands were entered from the CLI. An existing user configuration can cause the application of the generated commands to fail or to be overridden by the generated commands. These actions may occur without warning. If all the generated commands are successfully applied, any user-entered configuration that was not overridden remains in the running configuration. Any user-entered configuration that was overridden can be retrieved by reloading the switch without saving the current configuration to memory. If the generated commands are not applied, the previous running configuration is restored.
Effects of Auto-Qos Compact on Running Configuration
If auto-QoS compact is enabled:
-
Only the auto-QoS commands entered from the CLI are displayed in running-config.
-
The generated global and interface configurations are hidden.
-
When you save the configuration, only the auto-qos commands you have entered are saved (and not the hidden configuration).
-
When you reload the switch, the system detects and re-executes the saved auto-QoS commands and the AutoQoS SRND4.0 compliant config-set is generated .
![]() Note | Do not make changes to the auto-QoS-generated commands when auto-QoS compact is enabled, because user-modifications are overridden when the switch reloads. |
When auto-qos global compact is enabled:
-
show derived-config command can be used to view hidden AQC derived commands.
-
AQC commands will not be stored to memory. They will be regenerated every time the switch is reloaded.
-
When compaction is enabled, auto-qos generated commands should not be modified .
-
If the interface is configured with auto-QoS and if AQC needs to be disabled, auto-qos should be disabled at interface level first.
How to Configure Auto-QoS
Configuring Auto-QoS (CLI)
For optimum QoS performance, configure auto-QoS on all the devices in your network.
Upgrading Auto-QoS (CLI)
This procedure should only be followed when upgrading your software release from a pre- 3.2.2 software version to a 3.2.2 or later software version.
Prior to upgrading, you need to remove all auto-QoS configurations currently on the switch. This sample procedure describes that process.
After following this sample procedure, you must then reboot the switch with the new or upgraded software image and reconfigure auto-QoS.
Step 1 | show auto qos
Example:
Device# 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. |
Step 2 | no auto qos
Example:
Device(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. |
Step 3 | show running-config | i autoQos
Example:
Device# 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. |
Step 4 | no policy-map
policy-map_name
Example: Device)config# no policy-map pmap_101 Device)config# no class-map cmap_101 Device)config# no ip access-list extended AutoQos-101 Device)config# no table-map 101 Device)config# no table-map policed-dscp In global configuration mode, remove the QoS class maps, policy maps, access-lists, table maps, and any other auto QoS configurations by entering these commands: |
Step 5 | show running-config
| i
AutoQoS
Example:
Device# 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 |
Step 6 | show auto qos
Example:
Device# show auto qos
Run this command to ensure that no auto-QoS configuration or remaining parts of the configuration exists. |
Step 7 | write memory
Example:
Device# write memory
Write the changes to the auto QoS configuration to NV memory by entering the write memory command. |
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. |
Enabling Auto-Qos Compact
To enable auto-Qos compact, enter this command:
Command or Action | Purpose | |
---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |
Step 2 | auto qos global compact
Example: Device(config)# auto qos global compact |
Enables auto-Qos compact and generates (hidden) the global configurations for auto-QoS. You can then enter the auto-QoS command you want to configure in the interface configuration mode and the interface commands that the system generates are also hidden. To display the auto-QoS configuration that has been applied, use these the privileged EXEC commands:
These commands will have keyword "AutoQos-". |
To disable auto-QoS compact, remove auto-Qos instances from all interfaces by entering the no form of the corresponding auto-QoS commands and then enter the no auto qos global compact global configuration command.
Monitoring Auto-QoS
Command |
|
---|---|
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. |
|
Displays information about the QoS configuration that might be affected by auto-QoS. You can compare the show auto qos and the show running-config command output to identify the user-defined QoS settings. |
|
show derived-config |
Displays the hidden mls qos command which get configured along with the running configs because of auto-qos template. |
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).
Configuration Examples for Auto-QoS
Example: auto qos trust cos
The following is an example of the auto qos trust cos command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/17 Device(config-if)# auto qos trust cos Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/17 GigabitEthernet1/0/17 Service-policy input: AutoQos-4.0-Trust-Cos-Input-Policy Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps QoS Set cos cos table AutoQos-4.0-Trust-Cos-Table Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
Example: auto qos trust dscp
The following is an example of the auto qos trust dscp command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/18 Device(config-if)# auto qos trust dscp Device(config-if)# end Device#show policy-map interface GigabitEthernet1/0/18 GigabitEthernet1/0/18 Service-policy input: AutoQos-4.0-Trust-Dscp-Input-Policy Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp dscp table AutoQos-4.0-Trust-Dscp-Table Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
Example: auto qos video cts
The following is an example of the auto qos video cts command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/12 Device(config-if)# auto qos video cts Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/12 GigabitEthernet1/0/12 Service-policy input: AutoQos-4.0-Trust-Cos-Input-Policy Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps QoS Set cos cos table AutoQos-4.0-Trust-Cos-Table Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
Example: auto qos video ip-camera
The following is an example of the auto qos video ip-camera command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/9 Device(config-if)# auto qos video ip-camera Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/9 GigabitEthernet1/0/9 Service-policy input: AutoQos-4.0-Trust-Dscp-Input-Policy Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp dscp table AutoQos-4.0-Trust-Dscp-Table Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
Example: auto qos video media-player
The following is an example of the auto qos video media-player command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/7 Device(config-if)# auto qos video media-player Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/7 GigabitEthernet1/0/7 Service-policy input: AutoQos-4.0-Trust-Dscp-Input-Policy Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp dscp table AutoQos-4.0-Trust-Dscp-Table Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
Example: auto qos voip trust
The following is an example of the auto qos voip trust command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/31 Device(config-if)# auto qos voip trust Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/31 GigabitEthernet1/0/31 Service-policy input: AutoQos-4.0-Trust-Cos-Input-Policy Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps QoS Set cos cos table AutoQos-4.0-Trust-Cos-Table Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
Example: auto qos voip cisco-phone
The following is an example of the auto qos voip cisco-phone command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/5 Device(config-if)# auto qos voip cisco-phone Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/5 GigabitEthernet1/0/5 Service-policy input: AutoQos-4.0-CiscoPhone-Input-Policy Class-map: AutoQos-4.0-Voip-Data-CiscoPhone-Class (match-any) 0 packets Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp ef police: cir 128000 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 Class-map: AutoQos-4.0-Voip-Signal-CiscoPhone-Class (match-any) 0 packets 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 Class-map: AutoQos-4.0-Default-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Default 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp default Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
Example: auto qos voip cisco-softphone
The following is an example of the auto qos voip cisco-softphone command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/20 Device(config-if)# auto qos voip cisco-softphone Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/20 GigabitEthernet1/0/20 Service-policy input: AutoQos-4.0-CiscoSoftPhone-Input-Policy Class-map: AutoQos-4.0-Voip-Data-Class (match-any) 0 packets Match: dscp ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp ef police: cir 128000 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 Class-map: AutoQos-4.0-Voip-Signal-Class (match-any) 0 packets Match: dscp cs3 (24) 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 Class-map: AutoQos-4.0-Multimedia-Conf-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp af41 police: cir 5000000 bps, bc 156250 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: drop conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Bulk-Data-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Bulk-Data 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp af11 police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: set-dscp-transmit dscp table policed-dscp conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Transaction-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Transactional-Data 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp af21 police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: set-dscp-transmit dscp table policed-dscp conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Scavanger-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Scavanger 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp cs1 police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: drop conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Signaling-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Signaling 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: drop conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Default-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Default 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp default police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: set-dscp-transmit dscp table policed-dscp conformed 0000 bps, exceed 0000 bps Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
auto qos classify police
The following is an example of the auto qos classify police command and the applied policies and class maps.
The following policy maps are created and applied when running this command:
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)
Device(config)# interface GigabitEthernet1/0/6 Device(config-if)# auto qos classify police Device(config-if)# end Device# show policy-map interface GigabitEthernet1/0/6 GigabitEthernet1/0/6 Service-policy input: AutoQos-4.0-Classify-Police-Input-Policy Class-map: AutoQos-4.0-Multimedia-Conf-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp af41 police: cir 5000000 bps, bc 156250 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: drop conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Bulk-Data-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Bulk-Data 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp af11 police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: set-dscp-transmit dscp table policed-dscp conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Transaction-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Transactional-Data 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp af21 police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: set-dscp-transmit dscp table policed-dscp conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Scavanger-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Scavanger 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp cs1 police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: drop conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Signaling-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Signaling 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: drop conformed 0000 bps, exceed 0000 bps Class-map: AutoQos-4.0-Default-Class (match-any) 0 packets Match: access-group name AutoQos-4.0-Acl-Default 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp default police: cir 10000000 bps, bc 312500 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: set-dscp-transmit dscp table policed-dscp conformed 0000 bps, exceed 0000 bps Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Service-policy output: AutoQos-4.0-Output-Policy queue stats for all priority classes: Queueing priority level 1 (total drops) 0 (bytes output) 0 Class-map: AutoQos-4.0-Output-Priority-Queue (match-any) 0 packets Match: dscp cs4 (32) cs5 (40) ef (46) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 5 0 packets, 0 bytes 5 minute rate 0 bps Priority: 30% (300000 kbps), burst bytes 7500000, Priority Level: 1 Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any) 0 packets Match: dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56) 0 packets, 0 bytes 5 minute rate 0 bps 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 Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any) 0 packets Match: dscp af41 (34) af42 (36) af43 (38) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 4 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any) 0 packets Match: dscp af21 (18) af22 (20) af23 (22) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 2 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 10% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any) 0 packets Match: dscp af11 (10) af12 (12) af13 (14) 0 packets, 0 bytes 5 minute rate 0 bps Match: cos 1 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 4% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any) 0 packets Match: dscp cs1 (8) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 1% queue-buffers ratio 10 Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any) 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 Class-map: class-default (match-any) 0 packets Match: any 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth remaining 25% queue-buffers ratio 25
auto qos global compact
The following is an example of the auto qos global compact command.
Device# configure terminal Device(config)# auto qos global compact Device(config)# interface GigabitEthernet1/2 Device(config-if)# auto qos voip cisco-phone Device# show auto-qos GigabitEthernet1/2 auto qos voip cisco-phone Device# show running-config interface GigabitEthernet 1/0/2 interface GigabitEthernet1/0/2 auto qos voip cisco-phone end
Where to Go Next for Auto-QoS
Review the QoS documentation if you require any specific QoS changes to your auto-QoS configuration.
Additional References for Auto-QoS
Related Documents
Related Topic | Document Title |
---|---|
For complete syntax and usage information for the commands used in this chapter. |
QoS Command Reference (Catalyst 3850 Switches) Cisco IOS Quality of Service Solutions Command Reference |
Error Message Decoder
Description | Link |
---|---|
To help you research and resolve system error messages in this release, use the Error Message Decoder tool. |
https://www.cisco.com/cgi-bin/Support/Errordecoder/index.cgi |
Standards and RFCs
Standard/RFC | Title |
---|---|
— |
MIBs
MIB | MIBs Link |
---|---|
All supported MIBs for this release. |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
Technical Assistance
Description | Link |
---|---|
The Cisco Support website provides extensive online 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. |
Feature History and Information for Auto-QoS
Release |
Modification |
---|---|
Cisco IOS XE 3.2SE |
This feature was introduced. |
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Quality of Service
Before configuring standard QoS, you must have a thorough understanding of these items:
-
Standard QoS concepts.
-
Wireless concepts and network topologies.
-
Classic Cisco IOS QoS.
-
Modular QoS CLI (MQC).
-
Understanding of QoS implementation.
The types of applications used and the traffic patterns on your network.
Traffic characteristics and needs of your network. For example, is the traffic on your network bursty? Do you need to reserve bandwidth for voice and video streams?
QoS Components
Quality of service (QoS) consists of the following key components:
-
Classification— Classification is the process of distinguishing one type of traffic from another based upon access control lists (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 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 , and the Differentiated Services Code Point (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:
Upstream (direction towards the ) is the same as ingress.
Downstream (direction from the ) is the same as egress.
![]() Note | Upstream is wireless to wired. Downstream is wired to wireless. Wireless to wireless has no specific term. |
Information About QoS
QoS Overview
By configuring the quality of service (QoS), you can provide preferential treatment to specific types of traffic at the expense of other traffic types. Without QoS, the device offers best-effort service to each packet, regardless of the packet contents or size. The device sends the packets without any assurance of reliability, delay bounds, or throughput.
The following are specific features provided by QoS:
- Modular QoS Command-Line Interface
- Wireless QoS Overview
- QoS and IPv6 for Wireless
- Wired and Wireless Access Supported Features
- Supported QoS Features on Wireless Targets
- Port Policies
- Radio Policies
- SSID Policies
- Client Policies
- Hierarchical QoS
- Hierarchical Wireless QoS
Modular QoS Command-Line Interface
With the device, QoS features are enabled through the Modular QoS command-line interface (MQC). The MQC is a command-line interface (CLI) structure that allows you to create traffic policies and attach these policies to interfaces. A traffic policy contains a traffic class and one or more QoS features. A traffic class is used to classify traffic, while the QoS features in the traffic policy determine how to treat the classified traffic. One of the main goals of MQC is to provide a platform-independent interface for configuring QoS across Cisco platforms.
Wireless QoS Overview
Wireless QoS can be configured on the following wireless targets:
-
Wireless ports, including all physical ports to which an access point can be associated.
-
Radio
-
SSID (applicable on a per-radio, per-AP, and per-SSID)
-
Client
From Cisco IOS XE Release 3E, marking and policing actions for ingress SSID and client policies are applied at the access point. The SSID and client ingress policies that you configure in the are moved to the access point. The access point performs policing and marking actions for each packet. However, the selects the QoS policies. Marking and policing of egress SSID and client policies are applied at the .
The following table displays how policies are supported for the wireless targets.
Wireless Target |
Policies on Wireless Targets Supported |
Policies Supported Egress Direction |
Policies Supported Ingress Direction |
---|---|---|---|
Wireless port |
Yes |
Yes - user configurable |
No |
Radio |
Yes |
Yes - but not configurable by user |
No |
SSID |
Yes |
Yes - user configurable |
Yes - user configurable |
Client |
Yes |
Yes - user configurable |
Yes - user configurable |
![]() Note | Additional polices that are user configured include multidestination policers and VLANs. |
Wireless QoS supports the following features:
-
Queuing in the egress direction.
-
Policing of wireless traffic
- Marking of wireless traffic.
-
Shaping of wireless traffic in the egress direction.
-
Approximate Fair Drop (AFD) in the egress direction.
-
Mobility support for QoS.
-
Compatibility with precious metal QoS policies available on Cisco Unified Wireless Controllers.
-
Combination of CLI/Traffic Class (TCLAS) and CLI/snooping.
-
Application control (can drop or mark the data traffic) by configuring an AVC QoS client policy.
- Drop action for ingress policies.
- QoS statistics for client and SSID targets in the ingress direction.
- QoS attribute for local profiling policy.
- Hierarchical policies.
QoS and IPv6 for Wireless
The supports QoS for both IPv4 and IPv6 traffic, and client policies can now have IPv4 and IPv6 filters.
Wired and Wireless Access Supported Features
Feature |
Wired |
Wireless |
---|---|---|
Targets |
||
Configuration Sequence |
QoS policy installed using the service-policy command. |
|
Number of queues permitted at port level |
Up to 8 queues supported on a port. |
Only four queues supported. |
Classification mechanism |
Supported QoS Features on Wireless Targets
Target | Features | Traffic | Direction Where Policies Are Applicable | Comments |
---|---|---|---|---|
Port | Non-Real Time (NRT), Real Time (RT) | Egress | ||
Radio | Non-Real Time | Egress | Radio policies are not user configurable. | |
SSID | Non-Real Time, Real Time | Ingress and egress | ||
Shaping | Egress | |||
BRR | Egress | |||
Set actions | Ingress |
You can use set in both class-default and user-defined classes of SSID ingress policies. You can define table maps only in the class-default class of an SSID policy. |
||
Set actions | Egress | |||
Drop | Ingress | |||
Client | Police | Non-Real Time, Real time | Ingress and egress |
For client policies, the following filters are supported: |
Drop | Ingress | |||
Set actions | Ingress | |||
Set actions | Egress |
Port Policies
The device 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 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.
Port Policy Format
This section describes the behavior of the port policies on a switch. The ports on the switch do not distinguish between wired or wireless physical ports. Depending on the kind of device associated to the switch, the policies are applied. For example, when an access point is connected to a switch port, the switch detects it as a wireless device and applies the default hierarchical policy which is in the format of a parent-child policy. This policy is an hierarchical policy. The parent policy cannot be modified but the child policy (port-child policy) can be modified to suit the QoS configuration. The switch is pre configured with a default class map and a policy map.
Class Map match-any non-client-nrt-class Match non-client-nrt
The above port policy processes all network traffic to the Q3 queue. You can view the class map by executing the show class-map command.
Policy Map port_child_policy Class non-client-nrt-class bandwidth remaining ratio 10
![]() Note | The class map and policy map listed are system-defined policies and cannot be changed. |
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. |
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)
-
voice-policy-name— Refers to the name of the class that specifies rules for the traffic for voice packets. Here the DSCP value is mapped to a value of 46 (represented by the keyword ef). The voice traffic is assigned the highest priority of 1.
-
video-policy-name— Refers to the name of the class that specifies rules for the traffic for video packets. The DSCP value is mapped to a value of 34 (represented by the keyword af41).
-
multicast-policer-name-voice— If you need to configure multicast voice traffic, you can configure policing for the voice class map.
-
multicast-policer-name-video— If you need to configure multicast video traffic, you can configure policing for the video class map.
Radio Policies
The radio policies are system defined and are not user configurable. Radio wireless targets are only applicable in the egress 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.
SSID Policies
You can create QoS policies on SSID BSSID (Basic Service Set Identification) in both the ingress and egress directions. By default, there is no SSID policy. All traffic is transmitted as best effort because the wireless traffic in untrusted. 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 ingress, you usually configure a marking and policing 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 egress direction.
Client Policies
![]() Note | A client policy can have both IPv4 and IPv6 filters. |
You can configure client policies in the following ways:
-
Using AAA
-
Using the Cisco IOS MQC CLI
-
Using the default configuration
-
Using local policies (native profiling)
Use the show wireless client mac address mac_address service-policy command to display the source of the client policy (for example, local profiling policy, AAA, or CLI). The precedence order of client policies is AAA > local policy > WLAN service client policy CLI > default configuration.
![]() 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. |
![]() 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. |
The default client policy is enabled only on Wi-Fi Multimedia (WMM) clients that are admission control (ACM)-enabled.
Policy Chaining
Every packet has a maximum of two applicable policies, first at the client target and second at the SSID target. The client policing action is applied to the packet before the marking action that is specified in the client policy. After the client policing and marking actions are applied to the packet, the SSID policy action is applied to the updated packet. If no custom policies are specified, the system trust configuration is applied to the packet. Egress trust is based on DSCP, and ingress trust is based on WLAN user priority.
Hierarchical QoS
The 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.
NoteHierarchical 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.
Hierarchical Wireless QoS
![]() Note | For hierarchical client and SSID policies, you only configure marking either in the parent or child policy. |

Wireless Packet Format
This figure displays the wireless packet flow and encapsulation used in hierarchical wireless QoS. The incoming packet enters the device. The device encapsulates this incoming packet and adds the 802.11e and CAPWAP headers.

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.

- Layer 2 Frame Prioritization Bits
- Layer 3 Packet Prioritization Bits
- End-to-End QoS Solution Using Classification
- Packet Classification
Layer 2 Frame Prioritization Bits
Layer 2 Inter-Switch Link (ISL) frame headers have a 1-byte User field that carries an IEEE 802.1p class of service (CoS) value in the three least-significant bits. On ports configured as Layer 2 ISL trunks, all traffic is in ISL frames.
Layer 2 802.1Q frame headers have a 2-byte Tag Control Information field that carries the CoS value in the three most-significant bits, which are called the User Priority bits. On ports configured as Layer 2 802.1Q trunks, all traffic is in 802.1Q frames except for traffic in the native VLAN.
Other frame types cannot carry Layer 2 CoS values.
Layer 2 CoS values range from 0 for low priority to 7 for high priority.
Layer 3 Packet Prioritization Bits
Layer 3 IP packets can carry either an IP precedence value or a Differentiated Services Code Point (DSCP) value. QoS supports the use of either value because DSCP values are backward-compatible with IP precedence values.
IP precedence values range from 0 to 7. DSCP values range from 0 to 63.
End-to-End QoS Solution Using Classification
All switches and routers that access the Internet rely on the class information to provide the same forwarding treatment to packets with the same class information and different treatment to packets with different class information. The class information in the packet can be assigned by end hosts or by switches or routers along the way, based on a configured policy, detailed examination of the packet, or both. Detailed examination of the packet is expected to occur closer to the edge of the network, so that the core switches and routers are not overloaded with this task.
Switches and routers along the path can use the class information to limit the amount of resources allocated per traffic class. The behavior of an individual device when handling traffic in the Diff-Serv architecture is called per-hop behavior. If all devices along a path provide a consistent per-hop behavior, you can construct an end-to-end QoS solution.
Implementing QoS in your network can be a simple task or complex task and depends on the QoS features offered by your internetworking devices, the traffic types and patterns in your network, and the granularity of control that you need over incoming and outgoing traffic.
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 .
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 Device Specific (QoS Groups)
- Hierarchical Classification
Classification Based on Information That is Propagated with the Packet
Classification that is based on information that is part of the packet and propagated either end-to-end or between hops, typically includes the following:
Classification Based on Layer 3 or Layer 4 Header
This is the most common deployment scenario. Numerous fields in the Layer 3 and Layer 4 headers can be used for packet classification.
At the most granular level, this classification methodology can be used to match an entire flow. For this deployment type, an access control list (ACLs) can be used. ACLs can also be used to match based on various subsets of the flow (for example, source IP address only, or destination IP address only, or a combination of both).
Classification can also be done based on the precedence or DSCP values in the IP header. The IP precedence field is used to indicate the relative priority with which a particular packet needs to be handled. It is made up of three bits in the IP header's type of service (ToS) byte.
Note | IP precedence is not supported for wireless QoS. |
Table 5 IP Precedence Values and Names
IP Precedence Value
IP Precedence Bits
IP Precedence Names
0
000
Routine
1
001
Priority
2
010
Immediate
3
011
Flash
4
100
Flash Override
5
101
Critical
6
110
Internetwork control
7
111
Network control
![]() 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. |
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. |
Classification Based on Layer 2 Header
A variety of methods can be used to perform classification based on the Layer 2 header information. The most common methods include the following:
MAC address-based classification (only for access groups)—Classification is based upon the source MAC address (for policies in the input direction) and destination MAC address (for policies in the output direction).
Class-of-Service—Classification is based on the 3 bits in the Layer 2 header based on the IEEE 802.1p standard. This usually maps to the ToS byte in the IP header.
VLAN ID—Classification is based on the VLAN ID of the packet.
![]() Note | Some of these fields in the Layer 2 header can also be set using a policy. |
Classification Based on Information that is Device Specific (QoS Groups)
The also provides classification mechanisms that are available where classification is not based on information in the packet header or payload.
At times you might be required to aggregate traffic coming from multiple input interfaces into a specific class in the output interface. For example, multiple customer edge routers might be going into the same access on different interfaces. The service provider might want to police all the aggregate voice traffic going into the core to a specific rate. However, the voice traffic coming in from the different customers could have a different ToS settings. QoS group-based classification is a feature that is useful in these scenarios.
Policies configured on the input interfaces set the QoS group to a specific value, which can then be used to classify packets in the policy enabled on output interface.
The QoS group is a field in the packet data structure internal to the . It is important to note that a QoS group is an internal label to the and is not part of the packet header.
Hierarchical Classification
The 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 Wired Model
To implement QoS, the must perform the following tasks:
Traffic classification—Distinguishes packets or flows from one another.
Traffic marking and policing—Assigns a label to indicate the given quality of service as the packets move through the , and then make the packets comply with the configured resource usage limits.
Queuing and scheduling—Provides different treatment in all situations where resource contention exists.
Shaping—Ensures that traffic sent from the meets a specific traffic profile.
Ingress Port Activity
The following activities occur at the ingress port of the :
Classification—Classifying a distinct path for a packet by associating it with a QoS label. For example, the maps the CoS or DSCP in the packet to a QoS label to distinguish one type of traffic from another. The QoS label that is generated identifies all future QoS actions to be performed on this packet.
Policing—Policing determines whether a packet is in or out of profile by comparing the rate of the incoming traffic to the configured policer. The policer limits the bandwidth consumed by a flow of traffic. The result is passed to the marker.
Marking—Marking evaluates the policer and configuration information for the action to be taken when a packet is out of profile and determines what to do with the packet (pass through a packet without modification, mark down the QoS label in the packet, or drop the packet).
![]() Note | Applying polices on the wireless ingress port is not supported on the . |
Egress Port Activity
The following activities occur at the egress port of the :
Policing—Policing determines whether a packet is in or out of profile by comparing the rate of the incoming traffic to the configured policer. The policer limits the bandwidth consumed by a flow of traffic. The result is passed to the marker.
Marking—Marking evaluates the policer and configuration information for the action to be taken when a packet is out of profile and determines what to do with the packet (pass through a packet without modification, mark down the QoS label in the packet, or drop the packet).
Queueing—Queueing evaluates the QoS packet label and the corresponding DSCP or CoS value before selecting which of the egress queues to use. Because congestion can occur when multiple ingress ports simultaneously send data to an egress port, Weighted Tail Drop (WTD) differentiates traffic classes and subjects the packets to different thresholds based on the QoS label. If the threshold is exceeded, the packet is dropped.
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 . By default, QoS is enabled on the .
During classification, the 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.
Access Control Lists
You can use IP standard, IP extended, or Layer 2 MAC ACLs to define a group of packets with the same characteristics (class). You can also classify IP traffic based on IPv6 ACLs.
In the QoS context, the permit and deny actions in the access control entries (ACEs) have different meanings from security ACLs:
If a match with a permit action is encountered (first-match principle), the specified QoS-related action is taken.
If a match with a deny action is encountered, the ACL being processed is skipped, and the next ACL is processed.
If no match with a permit action is encountered and all the ACEs have been examined, no QoS processing occurs on the packet, and the offers best-effort service to the packet.
If multiple ACLs are configured on a port, the lookup stops after the packet matches the first ACL with a permit action, and QoS processing begins.
NoteWhen 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.
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 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.
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
Before a policy map can be effective, you must attach it to a port.
You create and name a policy map using the policy-map global configuration command. When you enter this command, the enters the policy-map configuration mode. In this mode, you specify the actions to take on a specific traffic class by using the class or set policy-map configuration and policy-map class configuration commands.
The policy map can also be configured using the police and bandwidth policy-map class configuration commands, which define the policer, the bandwidth limitations of the traffic, and the action to take if the limits are exceeded. In addition, the policy-map can further be configured using the priority policy-map class configuration command, to schedule priority for the class or the queueing policy-map class configuration commands, queue-buffers and queue-limit.
To enable the policy map, you attach it to a port by using the service-policy interface configuration command.
![]() Note | Switch# configure terminal Switch(config)# class-map cmap Switch(config-cmap)# exit Switch(config)# class-map classmap1 Switch(config-cmap)# exit Switch(config)# policy-map pmap Switch(config-pmap)# class cmap Switch(config-pmap-c)# priority Switch(config-pmap-c)# exit Switch(config-pmap)# class classmap1 Switch(config-pmap-c)# set Switch(config-pmap-c)# exit Switch(config-pmap)# exit Switch(config)# interface gigabitethernet 0/1/1 Switch(config-if)# service-policy output pmap Non-queuing action only is unsupported in a queuing policy!!! %QOS-6-POLICY_INST_FAILED: Service policy installation failed |
Policy Map on Physical Port
You can configure a nonhierarchical policy map on a physical port that specifies which traffic class to act on. Actions can include setting a specific DSCP or IP precedence value in the traffic class, specifying the traffic bandwidth limitations for each matched traffic class (policer), and taking action when the traffic is out of profile (marking).
A policy map also has these characteristics:
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.
Policy Map on VLANs
The supports a VLAN QoS feature that allows the user to perform QoS treatment at the VLAN level (classification and QoS actions) using the incoming frame’s VLAN information. In VLAN-based QoS, a service policy is applied to an SVI interface. All physical interfaces belonging to a VLAN policy map then need to be programmed to refer to the VLAN-based policy maps instead of the port-based policy map.
Although the policy map is applied to the VLAN SVI, any policing (rate-limiting) action can only be performed on a per-port basis. You cannot configure the policer to take account of the sum of traffic from a number of physical ports. Each port needs to have a separate policer governing the traffic coming into that port.
Wireless QoS Multicast
You can configure multicast policing rate at the port level.
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. |
You can only configure policing on a physical port.
After you configure the policy map and policing actions, attach the policy to an ingress port or SVI by using the service-policy interface configuration command.
Token-Bucket Algorithm
Policing uses a token-bucket algorithm. As each frame is received by the , 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 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.
Marking
Marking is used to convey specific information to a downstream device in the network, or to carry information from one interface in a 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 . Additionally, the marking feature can be used to define mapping between fields. The following marking methods are available for QoS:
Packet Header Marking
Marking on fields in the packet header can be classified into two general categories:
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.
Switch Specific Information Marking
This form of marking includes marking of fields in the packet data structure that are not part of the packets header, so that the marking can be used later in the data path. This is not propagated between the switches. Marking of QoS-group falls into this category. This form of marking is only supported in policies that are enabled on the input interfaces. The corresponding matching mechanism can be enabled on the output interfaces on the same switch and an appropriate QoS action can be applied.
Table Map Marking
Table map marking enables the mapping and conversion from one field to another using a conversion table. This conversion table is called a table map.
Depending upon the table map attached to an interface, CoS, DSCP, and UP values (UP specific to wireless packets) of the packet are rewritten. The allows configuring both ingress table map policies and egress table map policies.
![]() Note | The 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 To Packet-Marking Type |
The From Packet-Marking Type |
---|---|
Precedence |
CoS |
Precedence |
QoS Group |
DSCP |
CoS |
DSCP |
QoS Group |
CoS |
Precedence |
CoS |
DSCP |
QoS Group |
Precedence |
QoS Group |
DSCP |
A table map-based policy supports the following capabilities:
Mutation—You can have a table map that maps from one DSCP value set to another DSCP value set, and this can be attached to an egress port.
Rewrite—Packets coming in are rewritten depending upon the configured table map.
Mapping—Table map based policies can be used instead of set policies.
The following steps are required for table map marking:
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.
Define the policy map—You must define the policy map where the table map will be used.
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. |
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. |
Policing Function |
Shaping Function |
---|---|
Sends conforming traffic up to the line rate and allows bursts. |
Smooths traffic and sends it out at a constant rate. |
When tokens are exhausted, action is taken immediately. |
When tokens are exhausted, it buffers packets and 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 per second, packets per second and cells per second. |
Shaping has only one unit of configuration - in bits per second. |
Policing has multiple possible actions associated with an event, marking and dropping being example of such actions. |
Shaping does not have the provision to mark packets that do not meet the profile. |
Works for both input and output traffic. |
Implemented for output traffic only. |
Transmission Control Protocol (TCP) detects the line at line speed but adapts to the configured rate when a packet drop occurs by lowering its window size. |
TCP can detect that it has a lower speed line and adapt its retransmission timer accordingly. This results in 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:
![]() Note | Single-rate three-color policing is not supported. |
Single-Rate Two-Color Policing
Single-rate two-color policer is the mode in which you configure only a CIR and a Bc.
The Bc is an optional parameter, and if it is not specified it is computed by default. In this mode, when an incoming packet has enough tokens available, the packet is considered to be conforming. If at the time of packet arrival, enough tokens are not available within the bounds of Bc, the packet is considered to have exceeded the configured rate.
![]() Note | For information about the token-bucket algorithm, see Token-Bucket Algorithm. |
Dual-Rate Three-Color Policing
With the dual rate policer, the supports only color-blind mode. In this mode, you configure a committed information rate (CIR) and a peak information rate (PIR). As the name suggests, there are two token buckets in this case, one for the peak rate, and one for the conformed rate.
![]() Note | For information about the token-bucket algorithm, see Token-Bucket Algorithm. |
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
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.
Class-Based Traffic Shaping
The uses class-based traffic shaping. This shaping feature is enabled on a class in a policy that is associated to an interface. A class that has shaping configured is allocated a number of buffers to hold the packets that do not have tokens. The buffered packets are sent out from the class using FIFO. In the most common form of usage, class-based shaping is used to impose a maximum rate for an physical interface or logical interface as a whole. The following shaping forms are supported in a class:
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.
![]() Note | For information about the token-bucket algorithm, see Token-Bucket Algorithm. |
Average Rate Shaping
You use the shape average policy-map class command to configure average rate shaping.
This command configures a maximum bandwidth for a particular class. The queue bandwidth is restricted to this value even though the port has more bandwidth available. The supports configuring shape average by either a percentage or by a target bit rate value.
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:
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.
Queueing and Scheduling
The uses both queueing and scheduling to help prevent traffic congestion. The supports the following queueing and scheduling features:
-
Without a quality of service (QoS) policy—If no QoS policy is configured, control packets with DSCP values 16, 24, 48, and 56 are mapped to queue 0 with the highest threshold of threshold2.
-
With an user-defined policy—An user-defined queuing policy configured on egress ports can affect the default priority queue setting on control packets.
Control traffic is redirected to the best queue based on the following rules: -
If defined in a user policy, the highest- level priority queue is always chosen as the best queue.
-
In the absence of a priority queue, Cisco IOS software selects queue 0 as the best queue. When the software selects queue 0 as the best queue, you must define the highest bandwidth to this queue to get the best QoS treatment to the control plane traffic.
-
If thresholds are not configured on the best queue, Cisco IOS software assigns control packets with Differentiated Services Code Point (DSCP) values 16, 24, 48, and 56 are mapped to threshold2 and reassigns the rest of the control traffic in the best queue to threshold1.
If a policy is not configured explicitly for control traffic, the Cisco IOS software maps all unmatched control traffic to the best queue with threshold2, and the matched control traffic is mapped to the queue as configured in the policy.
Note
To provide proper QoS for Layer 3 packets, you must ensure that packets are explicitly classified into appropriate queues. When the software detects DSCP values in the default queue, then it automatically reassigns this queue as the best queue.
-
Bandwidth
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.
Bandwidth Remaining Ratio
You use the bandwidth remaining ratio policy-map class command to create a ratio for sharing unused bandwidth in specified queues. Any unused bandwidth will be used by these specific queues in the ratio that is specified by the configuration. Use this command when the priority command is also used for certain queues in the policy.
When you assign ratios, the queues will be assigned certain weights which are inline with these ratios.
You can specify ratios using a range from 0 to 100. For example, you can configure a bandwidth remaining ration of 2 on one class, and another queue with a bandwidth remaining ratio of 4 on another class. The bandwidth remaining ratio of 4 will be scheduled twice as often as the bandwidth remaining ratio of 2.
The total bandwidth ratio allocation for the policy can exceed 100. For example, you can configure a queue with a bandwidth remaining ratio of 50, and another queue with a bandwidth remaining ratio of 100.
Weighted Tail Drop
The egress queues use an enhanced version of the tail-drop congestion-avoidance mechanism called weighted tail drop (WTD). WTD is implemented on queues to manage the queue lengths and to provide drop precedences for different traffic classifications.
As a frame is enqueued to a particular queue, WTD uses the frame’s assigned QoS label to subject it to different thresholds. If the threshold is exceeded for that QoS label (the space available in the destination queue is less than the size of the frame), the drops the frame.
Each queue has three configurable threshold values. The QoS label determines which of the three threshold values is subjected to the frame.

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 drops it.
Weighted Tail Drop Default Values
The following are the Weighted Tail Drop (WTD) default values and the rules for configuring WTD threshold values.
If you configure less than three queue-limit percentages for WTD, then WTD default values are assigned to these thresholds.
The following are the WTD threshold default values:
Table 8 WTD Threshold Default ValuesThreshold
Default Value Percentage
0
80
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.
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.
![]() Note | You can configure a priority only with a level. Only one strict priority or a priority with levels is allowed in one policy map. Multiple priorities with the same priority levels without kbps/percent are allowed in a policy map only if all of them are configured with police. |
Queue Buffer
Each 1-gigabit port on the 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:
DSCP, Precedence or CoS |
Queue |
Threshold |
---|---|---|
Control Packets |
0 |
2 |
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) 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.
Queue Buffer Allocation
The buffer allocation to any queue can be tuned using the queue-buffers ratio policy-map class configuration command.
Dynamic Threshold and Scaling
Traditionally, reserved buffers are statically allocated for each queue. No matter whether the queue is active or not, its buffers are held up by the queue. In addition, as the number of queues increases, the portion of the reserved buffers allocated for each queue can become smaller and smaller. Eventually, a situation may occur where there are not enough reserved buffers to support a jumbo frame for all queues.
The supports Dynamic Thresholding and Scaling (DTS), which is a feature that provides a fair and efficient allocation of buffer resources. When congestion occurs, this DTS mechanism provides an elastic buffer allocation for the incoming data based on the occupancy of the global/port resources. Conceptually, DTS scales down the queue buffer allocation gradually as the resources are used up to leave room for other queues, and vice versa. This flexible method allows the buffers to be more efficiently and fairly utilized.
As mentioned in the previous sections, there are two limits configured on a queue—a hard limit and a soft limit.
Hard limits are not part of DTS. These buffers are available only for that queue. The sum of the hard limits should be less than the globally set up hard maximum limit. The global hard limit configured for egress queuing is currently set to 5705. In the default scenario when there are no MQC policies configured, the 24 1-gigabit ports would take up 24 * 67 = 1608, and the 4 10-gigabit ports would take up 4 * 720 = 2880, for a total of 4488 buffers, allowing room for more hard buffers to be allocated based upon the configuration.
Soft limit buffers participate in the DTS process. Additionally, some of the soft buffer allocations can exceed the global soft limit allocation. The global soft limit allocation for egress queuing is currently set to 7607. The sum of the hard and soft limits add up to 13312, which in turn translates to 3.4 MB. Because the sum of the soft buffer allocations can exceed the global limit, it allows a specific queue to use a large number of buffers when the system is lightly loaded. The DTS process dynamically adjusts the per-queue allocation as the system becomes more heavily loaded.
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 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 | By default, the queues Q0 and Q1 are not enabled. |
![]() 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.
![]() Note | The wired ports support eight queues. |
Trust Behavior
Trust Behavior for Wired and Wireless Ports
This trust behavior is applicable to both upstream and downstream QoS.
The packets are enqueued to the appropriate queue per the default initial configuration. No priority queuing at the is done by default. This is true for unicast and multicast packets.
Incoming Packet |
Outgoing Packet |
Trust Behavior |
Queuing Behavior |
---|---|---|---|
Layer 3 |
Layer 3 |
Preserve DSCP/Precedence |
Based on DSCP |
Layer 2 |
Layer 2 |
Not applicable |
Based on CoS |
Tagged |
Tagged |
Preserve DSCP and CoS |
Based on DSCP (trust DSCP takes precedence) |
Layer 3 |
Tagged |
Preserve DSCP, CoS is set to 0 |
Based on DSCP |
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 came up, all markings for the wireless ports were defaulted to zero and no traffic received priority treatment. For compatibility with an existing wired , 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.
Port Security on a Trusted Boundary for Cisco IP Phones
In a typical network, you connect a Cisco IP Phone to a port and cascade devices that generate data packets from the back of the telephone. The Cisco IP Phone guarantees the voice quality through a shared data link by marking the CoS level of the voice packets as high priority (CoS = 5) and by marking the data packets as low priority (CoS = 0). Traffic sent from the telephone to the is typically marked with a tag that uses the 802.1Q header. The header contains the VLAN information and the class of service (CoS) 3-bit field, which is the priority of the packet.
For most Cisco IP Phone configurations, the traffic sent from the telephone to the should be trusted to ensure that voice traffic is properly prioritized over other types of traffic in the network. By using the trust device interface configuration command, you configure the port to which the telephone is connected to trust the traffic received on that port.
![]() Note |
The trust device device_type command available in interface configuration mode is a stand-alone command on the device. When using this command in an AutoQoS 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. If the connected peer device is a corresponding device, input policy will 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 . Without trusted boundary, the CoS labels generated by the PC are trusted by the (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 port. If the telephone is not detected, the trusted boundary feature disables the trusted setting on the 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 .
Wireless QoS Mobility
![]() Note | The client policies must be available on all of the devices in the mobility group. The same SSID and port policy must be applied to all devices in the mobility group so that the clients get consistent treatment. |
Inter-Device Roaming
When a client roams from one location to another, the client can get associated to access points either associated to the same device (anchor device) or a different device (foreign device). Inter-device 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-device roaming, the client QoS policy is always executed on the foreign controller. When a client roams from anchor device to foreign device, the QoS policy is uninstalled on the anchor device and installed on the foreign device. In the mobility handoff message, the anchor device passes the name of the policy to the foreign device. The foreign device should have a policy with the same name configured for the QoS policy to be applied correctly.
![]() 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. |
During inter-device roaming, client and SSID policy statistics are collected only for the duration that the client is associated with the foreign device. Cumulative statistics for the whole roaming (anchor device and foreign device) are not collected.
Intra-Device Roaming
With intra-device roaming, the client gets associated to an access point that is associated to the same device before the client roamed, but this association to the device occurs through a different access point.
![]() Note | QoS policies remain intact in the case of intra-device roaming. |
Precious Metal Policies for Wireless QoS
Wireless QoS is backward compatible with the precious metal policies offered by the unified wireless controller platforms. The precious metal policies are system-defined policies that are available on the controller.
The following policies are available:
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. You can configure precious metal policies only for SSID ingress and egress policies.
![]() 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 device platform. |
Standard QoS Default Settings
Default Wired QoS Configuration
There are two queues configured by default on each wired interface on the . All control traffic traverses and is processed through queue 0. All other traffic traverses and is processed through queue 1.
DSCP Maps
Default CoS-to-DSCP Map
Default IP-Precedence-to-DSCP Map
Default DSCP-to-CoS Map
Default Wireless QoS Configuration
The ports on the switch do not distinguish between wired or wireless physical ports. Depending on the kind of device associated to the switch, the policies are applied. For example, when an access point is connected to a switch port, the switch detects it as a wireless device and applies the default hierarchical policy which is in the format of a parent-child policy. This policy is an hierarchical policy. The parent policy cannot be modified but the child policy (port-child policy) can be modified to suite the QoS configuration. The switch is preconfigured with a default class map and a policy map.
Guidelines for QoS Policies
Follow these guidelines to prevent clients from getting excluded due to malformed QoS policies:
-
When a new QoS policy is added to the device, a QoS policy with the same name should be added to other device within the same roam or mobility domain.
-
When a device is loaded with a software image of a later release, the new policy formats are supported. If you have upgraded the software image from an earlier release to a later release, you should save the configuration separately. When an earlier release image is loaded, some QoS policies might show as not supported, and you should restore those QoS policies to supported policy formats.
Restrictions for QoS on Wired Targets
A target is an entity where a policy is applied. You can apply a policy to either a wired or wireless target. A wired target can be either a port or VLAN. A wireless target can be either a port, radio, SSID, or client. Only port, SSID, and client policies are user configurable. Radio polices are not user configurable. Wireless QoS policies for port, radio, SSID, and client are applied in the downstream direction, and for upstream only SSID and client targets are supported. Downstream indicates that traffic is flowing from the device to the wireless client. Upstream indicates that traffic is flowing from wireless client to the device.
The following are restrictions for applying QoS features on the device for the wired target:
-
A maximum of 8 queuing classes are supported on the device port for the wired target.
-
A maximum of 63 policers are supported per policy on the wired port for the wired target.
-
In Cisco IOS XE Release 3.7.5E and later releases, by default all downlink ports are allocated 1 GB port buffer, even though the downlink port size is 10 GB. Prior to this change, all 1 GB downlink ports had 1 GB buffer and 10 GB downlink ports had 10 GB buffer.
-
No more than two levels are supported in a QoS hierarchy.
-
In a hierarchical policy, overlapping actions between parent and child are not allowed, except when a policy has the port shaper in the parent and queueing features in the child policy.
-
A QoS policy cannot be attached to any EtherChannel interface.
-
Policing in both the parent and child is not supported in a QoS hierarchy.
-
Marking in both the parent and child is not supported in a QoS hierarchy.
-
A mixture of queue limit and queue buffer in the same policy is not supported.
Note
The queue-limit percent is not supported on the device because the queue-buffer command handles this functionality. Queue limit is only supported with the DSCP and CoS extensions.
-
With shaping, there is an IPG overhead of 20Bytes for every packet that is accounted internally in the hardware. Shaping accuracy will be effected by this, specially for packets of small size.
-
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. If there are two policies with the same order of class-maps and if there are class-maps with no action in one of the policies, there may be traffic drops. As a workaround, allocate minimal bandwidth for all the classes in PRIORITY_QUEUE.
-
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:
-
A port-level input marking policy takes precedence over an SVI policy; however, if no port policy is configured, the SVI policy takes precedence. For a port policy to take precedence, define a port-level policy; so that the SVI policy is overwritten.
-
Classification counters have the following specific restrictions:
-
Classification counters count packets instead of bytes.
-
Filter-based classification counters are not supported
-
Only QoS configurations with marking or policing trigger the classification counter.
-
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.
-
-
Table maps have the following specific restrictions:
-
Hierarchical policies are required for the following:
-
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:
-
-
The trust device device_type command available in interface configuration mode is a stand-alone command on the device. When using this command in an AutoQoS 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. If the connected peer device is a corresponding device, input policy will take effect.
The following are restrictions for applying QoS features on the VLAN to the wired target:
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 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. |
Restrictions for QoS on Wireless Targets
General Restrictions
A target is an entity where a policy is applied. You can apply a policy to either a wired or wireless target. A wired target can be either a port or VLAN. A wireless target can be either a port, radio, SSID, or client. Only port, SSID, and client policies are user configurable. Radio polices are not user configurable. Wireless QoS policies for port, radio, SSID, and client are applied in the downstream direction, and for upstream only SSID and client targets are supported. Downstream indicates that traffic is flowing from the device to the wireless client. Upstream indicates that traffic is flowing from wireless client to the device.
-
Only port, SSID, and client (using AAA and Cisco IOS command-line interface) policies are user-configurable. Radio policies are set by the wireless control module and are not user-configurable.
-
Port and radio policies are applicable only in the egress direction.
-
SSID and client targets can be configured only with marking and policing policies.
-
One policy per target per direction is supported.
- For the egress class-default SSID policy, you must configure the queue buffer ratio as 0 after you configure the average shape rate.
- Class maps in a policy map can have different types of filters. However, only one marking action (either table map, or set dscp, or set cos) is supported in a map in egress direction.
- For hierarchical client and SSID ingress policies, you cannot configure marking in both the parent and child policies. You can only configure marking either in the parent or child policy.
- You cannot configure multiple set actions in the same class.
- For both SSID and client ingress policies, supported set actions are only for DSCP, and CoS values.
-
You cannot delete a group of WLANs or QoS policy.
Wireless QoS Restrictions on Ports
The following are restrictions for applying QoS features on a wireless port target:
-
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.
Wireless QoS Restrictions on SSID
-
One table map is supported at the ingress policy.
-
Table maps are supported for the parent class-default only. Up to two table maps are supported in the egress direction and three table-maps can be configured when a QoS group is involved.
Note
Table-maps are not supported at the client targets.
-
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.
-
If set is not enabled in class-default, the classification at the SSID for voice or video must be a subset of the classification for the voice or video class at the port level.
-
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 SSID ingress policies, only UP and DSCP filters (match criteria) are supported. ACL and protocol match criteria are not supported.
-
For a flat policy (non hierarchical), in the ingress direction, the policy configuration must be a set (table map) or policing or both.
Wireless QoS Restrictions on Clients
-
The default client policy is enabled only on WMM clients that are ACM-enabled.
-
Queuing is not supported.
-
Attaching, removing, or modifying client policies on a WLAN in the enabled state is not supported. You must shut down the WLAN to apply, remove, or modify a policy.
-
Table-map configuration is not supported for client targets.
-
Policing and set configured together in class-default is blocked in egress direction:
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.
-
For flat egress client policy, policing in class-default and marking action in other classes are not supported.
- Only set marking actions are supported in the client policies.
- For client ingress policies, only ACL, UP, DSCP, and protocol filters (match criteria) are supported.
-
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.
-
In client egress policies, all filters in the policy-map must match on the same marking attribute for filters matching on marking attributes. 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.
How to Configure QoS
Configuring Class, Policy, and Table Maps
Creating a Traffic Class (CLI)
To create a traffic class containing match criteria, use the class-map command to specify the traffic class name, and then use the following match commands in class-map configuration mode, as needed.
All match commands specified in this configuration task are considered optional, but you must configure at least one match criterion for a class.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | class-map
{class-map name |
match-any}
Example: Device(config)# class-map test_1000 Device(config-cmap)# |
Enters class map configuration mode. | ||
Step 3 | match
access-group {index number
|
name}
Example: Device(config-cmap)# match access-group 100 Device(config-cmap)# |
The following parameters are available for this command: (Optional) For this example, enter the access-group ID: | ||
Step 4 | match
class-map class-map name
Example: Device(config-cmap)# match class-map test_2000 Device(config-cmap)# |
(Optional) Matches to another class-map name. | ||
Step 5 | match
cos cos value
Example: Device(config-cmap)# match cos 2 3 4 5 Device(config-cmap)# |
(Optional) Matches IEEE 802.1Q or ISL class of service (user) priority values. | ||
Step 6 | match
dscp dscp value
Example: Device(config-cmap)# match dscp af11 af12 Device(config-cmap)# |
(Optional) Matches the DSCP values in IPv4 and IPv6 packets. | ||
Step 7 | match
ip
{dscp
dscp
value
| precedence
precedence value
}
Example: Device(config-cmap)# match ip dscp af11 af12 Device(config-cmap)# |
(Optional) Matches IP values including the following: | ||
Step 8 | match
non-client-nrt
Example: Device(config-cmap)# match non-client-nrt Device(config-cmap)# |
(Optional) Matches non-client NRT (Non-Real-Time).
| ||
Step 9 | match
qos-group qos group
value
Example: Device(config-cmap)# match qos-group 10 Device(config-cmap)# |
(Optional) Matches QoS group value (from 0 to 31). | ||
Step 10 | match
vlan vlan value
Example: Device(config-cmap)# match vlan 210 Device(config-cmap)# |
(Optional) Matches a VLAN ID (from 1 to 4095). | ||
Step 11 | match
wlan
user-priority
wlan value
Example: Device(config-cmap)# match wlan user priority 7 Device(config-cmap)# |
(Optional) Matches 802.11e specific values. Enter the user priority 802.11e user priority (0 to 7). | ||
Step 12 | end
Example:
Device(config-cmap)# end
|
Saves the configuration changes. |
Configure the policy map.
Creating a Traffic Policy (CLI)
To create a traffic policy, use the policy-map global configuration command to specify the traffic policy name.
The traffic class is associated with the traffic policy when the class command is used. The class command must be entered after you enter the policy map configuration mode. After entering the class command, the is automatically in policy map class configuration mode, which is where the QoS policies for the traffic policy are defined.
The following policy map class-actions are supported:
-
admit—Admits the request for Call Admission Control (CAC).
-
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.
-
queue-buffers—Queue buffer configuration options.
-
queue-limit—Queue maximum threshold for Weighted Tail Drop (WTD) configuration options.
-
service-policy—Configures the QoS service policy.
-
set—Sets QoS values using the following options:
-
shape—Traffic-shaping configuration options.
You should have first created a class map.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | policy-map
policy-map
name
Example: Device(config)# policy-map test_2000 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||
Step 3 | class
{class-name
|
class-default}
Example: Device(config-pmap)# class test_1000 Device(config-pmap-c)# |
Specifies the name of the class whose policy you want to create or change. You can also create a system default class for unclassified packets. | ||
Step 4 | admit
Example: Device(config-pmap-c)# admit cac wmm-tspec Device(config-pmap-c)# |
(Optional) Admits the request for Call Admission Control (CAC). For a more detailed example of this command and its usage, see Configuring Call Admission Control (CLI).
| ||
Step 5 | bandwidth
{kb/s
kb/s
value
|
percent
percentage |
remaining
{percent |
ratio}}
Example: Device(config-pmap-c)# bandwidth 50 Device(config-pmap-c)# |
(Optional) Sets the bandwidth using one of the following:
For a more detailed example of this command and its usage, see Configuring Bandwidth (CLI). | ||
Step 6 | exit
Example: Device(config-pmap-c)# exit Device(config-pmap-c)# |
(Optional) Exits from QoS class action configuration mode. | ||
Step 7 | no
Example: Device(config-pmap-c)# no Device(config-pmap-c)# |
(Optional) Negates the command. | ||
Step 8 | police {target_bit_rate
|
cir
| rate}
Example: Device(config-pmap-c)# police 100000 Device(config-pmap-c)# |
(Optional) Configures the policer:
For a more detailed example of this command and its usage, see Configuring Police (CLI). | ||
Step 9 | priority
{kb/s | level level value | percent
percentage value}
Example: Device(config-pmap-c)# priority percent 50 Device(config-pmap-c)# |
(Optional) Sets the strict scheduling priority for this class. Command options include:
For a more detailed example of this command and its usage, see Configuring Priority (CLI). | ||
Step 10 | queue-buffers
ratio ratio limit
Example: Device(config-pmap-c)# queue-buffers ratio 10 Device(config-pmap-c)# |
(Optional) Configures the queue buffer for the class. Enter the queue buffers ratio limit (0 to 100). For a more detailed example of this command and its usage, see Configuring Queue Buffers (CLI). | ||
Step 11 | queue-limit
{packets | cos
|
dscp | percent}
Example: Device(config-pmap-c)# queue-limit cos 7 percent 50 Device(config-pmap-c)# |
(Optional) Specifies the queue maximum threshold for the tail drop:
For a more detailed example of this command and its usage, see Configuring Queue Limits (CLI). | ||
Step 12 | service-policy
policy-map
name
Example: Device(config-pmap-c)# service-policy test_2000 Device(config-pmap-c)# |
(Optional) Configures the QoS service policy. | ||
Step 13 | set {cos |
dscp
|
ip
| precedence
|
qos-group |
wlan}
Example: Device(config-pmap-c)# set cos 7 Device(config-pmap-c)# |
(Optional) Sets the QoS values. Possible QoS configuration values include: | ||
Step 14 | shape average
{target _bit_rate
| percent}
Example: Device(config-pmap-c) #shape average percent 50 Device(config-pmap-c) # |
For a more detailed example of this command and its usage, see Configuring Shaping (CLI). | ||
Step 15 | end
Example: Device(config-pmap-c) #end Device(config-pmap-c) # |
Saves the configuration changes. |
Configure the interface.
Configuring Client Policies
Method |
Topic/ Details |
---|---|
Default client policies |
The wireless control module of the applies the default client policies when admission control (ACM) is enabled for WMM clients. When ACM is disabled, there is no default client policy. You can verify if ACM is enabled by using the show ap dot11 {5ghz | 24ghz} command. To enable ACM, use the ap dot11 {5ghz | 24ghz} cac voice acm command. |
Apply the client policy on the WLAN using the CLI. |
|
Apply the QoS attributes policy using a local profiling policy using the CLI. |
|
Apply policy map through a AAA server (ACS/ISE) |
Cisco Identity Services Engine User Guide Cisco Secure Access Control System User Guide |
Configuring Class-Based Packet Marking (CLI)
This procedure explains how to configure the following class-based packet marking features on your :
You should have created a class map and a policy map before beginning this procedure.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | policy-map
policy
name
Example: Device(config)# policy-map policy1 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||
Step 3 | class
class
name
Example: Device(config-pmap)# class class1 Device(config-pmap-c)# |
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 map configuration mode include the following:
| ||
Step 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}
Example: Device(config-pmap)# set cos 5 Device(config-pmap)# |
(Optional) Sets the specific IEEE 802.1Q Layer 2 CoS value of an outgoing packet. Values are from 0 to7. You can also set the following values using the set cos command:
| ||
Step 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}
Example: Device(config-pmap)# set dscp af11 Device(config-pmap)# |
(Optional) Sets the DSCP value. In addition to setting specific DSCP values, you can also set the following using the set dscp command:
| ||
Step 6 | set ip {dscp |
precedence}
Example: Device(config-pmap)# set ip dscp c3 Device(config-pmap)# |
(Optional) Sets IP specific values. These values are either IP DSCP or IP precedence values. You can set the following values using the set ip dscp command:
You can set the following values using the set ip precedence command:
| ||
Step 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}
Example: Device(config-pmap)# set precedence 5 Device(config-pmap)# |
(Optional) Sets precedence values in IPv4 and IPv6 packets. You can set the following values using the set precedence command:
| ||
Step 8 | set qos-group {qos-group value |
dscp
table table-map
name |
precedence
table
table-map
name}
Example: Device(config-pmap)# set qos-group 10 Device(config-pmap)# |
(Optional) Sets QoS group values. You can set the following values using this command: | ||
Step 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}
Example: Device(config-pmap)# set wlan user-priority 1 Device(config-pmap)# |
(Optional) Sets the WLAN user priority value. You can set the following values using this command:
| ||
Step 10 | end
Example: Device(config-pmap)# end Device# |
Saves configuration changes. | ||
Step 11 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies. |
Attach the traffic policy to an interface using the service-policy command.
Configuring Class Maps for Voice and Video (CLI)
To configure class maps for voice and video traffic, follow these steps:
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example: Device# configure terminal
|
Enters global configuration mode. |
Step 2 | class-map
class-map-name
Example: Device(config)# class-map voice
|
Creates a class map. |
Step 3 | match
dscp
dscp-value-for-voice
Example: Device(config-cmap)# match dscp 46
|
Matches the DSCP value in the IPv4 and IPv6 packets. Set this value to 46. |
Step 4 | end Example: Device(config)# end
| Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-Z to exit global configuration mode. |
Step 5 |
configure terminal Example: Device# configure terminal
|
Enters global configuration mode. |
Step 6 | class-map
class-map-name
Example: Device(config)# class-map video
|
Configures a class map. |
Step 7 | match
dscp
dscp-value-for-video
Example: Device(config-cmap)# match dscp 34
|
Matches the DSCP value in the IPv4 and IPv6 packets. Set this value to 34. |
Step 8 | end Example: Device(config)# end
| Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-Z to exit global configuration mode. |
Attaching a Traffic Policy to an Interface (CLI)
After the traffic class and traffic policy are created, you must use the service-policy interface configuration command to attach a traffic policy to an interface, and to specify the direction in which the policy should be applied (either on packets coming into the interface or packets leaving the interface).
A traffic class and traffic policy must be created before attaching a traffic policy to an interface.
Command or Action | Purpose | |
---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |
Step 2 | interface
type
Example: Device(config)# interface GigabitEthernet1/0/1 Device(config-if)# |
Enters interface configuration mode and configures an interface. Command parameters for the interface configuration include:
|
Step 3 | service-policy
{input
policy-map |
output
policy-map
}
Example: Device(config-if)# service-policy output policy_map_01 Device(config-if)# |
Attaches a policy map to an input or output interface. This policy map is then used as the service policy for that interface. In this example, the traffic policy evaluates all traffic leaving that interface. |
Step 4 | end
Example: Device(config-if)# end Device# |
Saves configuration changes. |
Step 5 | show policy map
Example:
Device# show policy map
|
(Optional) Displays statistics for the policy on the specified interface. |
Proceed to attach any other traffic policy to an interface, and to specify the direction in which the policy should be applied.
Applying an SSID or Client Policy on a WLAN (CLI)
You must have a service-policy map configured before applying it on an SSID.
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example: Device# configure terminal
|
Enters global configuration mode. |
Step 2 | wlan profile-name Example: Device# wlan test4
|
Enters the WLAN configuration submode. The profile-name is the profile name of the configured WLAN. |
Step 3 | service-policy
[
input
|
output
]
policy-name
Example: Device(config-wlan)# service-policy input policy-map-ssid
|
|
Step 4 | service-policy
client
[
input
|
output
]
policy-name
Example: Device(config-wlan)# service-policy client input policy-map-client
|
|
Step 5 | end Example: Device(config)# end
| Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-Z to exit global configuration mode. |
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.
You should have already decided upon the classification, policing, and marking of your network traffic by policy maps prior to beginning this procedure.
Command or Action | Purpose | |
---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |
Step 2 | class-map
{class-map name |
match-any
}
Example: Device(config)# class-map ipclass1 Device(config-cmap)# exit Device(config)# |
Enters class map configuration mode. |
Step 3 | match access-group {
access
list index |
access
list name }
Example: Device(config-cmap)# match access-group 1000 Device(config-cmap)# exit Device(config)# |
Specifies the classification criteria to match to the class map. You can match on the following criteria:
|
Step 4 | policy-map
policy-map-name
Example: Device(config)# policy-map flowit Device(config-pmap)# |
Creates a policy map by entering the policy map name, and enters policy-map configuration mode. |
Step 5 | class {class-map-name |
class-default}
Example: Device(config-pmap)# class ipclass1 Device(config-pmap-c)# |
Defines a traffic classification, and enter policy-map class configuration mode. By default, no policy map class-maps are defined. If a traffic class has already been defined by using the class-map 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 6 | set {cos |
dscp
|
ip
| precedence
|
qos-group |
wlan
user-priority}
Example: Device(config-pmap-c)# set dscp 45 Device(config-pmap-c)# |
(Optional) Sets the QoS values. Possible QoS configuration values include:
In this example, the set dscp command classifies the IP traffic by setting a new DSCP value in the packet. |
Step 7 | police {target_bit_rate
|
cir
| rate
}
Example: Device(config-pmap-c)# police 100000 conform-action transmit exceed-action drop Device(config-pmap-c)# |
(Optional) Configures the policer:
In this example, the police command adds a policer to the class where any traffic beyond the 100000 set target bit rate is dropped. |
Step 8 | exit
Example: Device(config-pmap-c)# exit | |
Step 9 | exit
Example: Device(config-pmap)# exit | |
Step 10 | interface
interface-id
Example: Device(config)# interface gigabitethernet 2/0/1 |
Specifies the port to attach to the policy map, and enters interface configuration mode. |
Step 11 | service-policy
input
policy-map-name
Example: Device(config-if)# service-policy input flowit |
Specifies the policy-map name, and applies it to an ingress port. Only one policy map per ingress port is supported. |
Step 12 | end
Example: Device(config-if)# end | |
Step 13 | show policy-map [policy-map-name [class
class-map-name]]
Example: Device# show policy-map | |
Step 14 | copy
running-config startup-config
Example: Device# copy-running-config startup-config |
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)
You should have already decided upon the classification, policing, and marking of your network traffic by using policy maps prior to beginning this procedure.
Command or Action | Purpose | |
---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |
Step 2 | class-map
{class-map name |
match-any
}
Example:
Device(config)# class-map class_vlan100
|
Enters class map configuration mode. |
Step 3 | match vlan
vlan
number
Example: Device(config-cmap)# match vlan 100 Device(config-cmap)# exit Device(config)# |
Specifies the VLAN to match to the class map. |
Step 4 | policy-map
policy-map-name
Example: Device(config)# policy-map policy_vlan100 Device(config-pmap)# |
Creates a policy map by entering the policy map name, and enters policy-map configuration mode. |
Step 5 | description
description
Example:
Device(config-pmap)# description vlan 100
|
(Optional) Enters a description of the policy map. |
Step 6 | class {class-map-name |
class-default}
Example: Device(config-pmap)# class class_vlan100 Device(config-pmap-c)# |
Defines a traffic classification, and enters the policy-map class configuration mode. By default, no policy map class-maps are defined. If a traffic class has already been defined by using the class-map 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 |
wlan
user-priority}
Example: Device(config-pmap-c)# set dscp af23 Device(config-pmap-c)# |
(Optional) Sets the QoS values. Possible QoS configuration values include:
In this example, the set dscp command classifies the IP traffic by matching the packets with a DSCP value of AF23 (010010). |
Step 8 | police {target_bit_rate
|
cir
| rate}
Example: Device(config-pmap-c)# police 200000 conform-action transmit exceed-action drop Device(config-pmap-c)# |
(Optional) Configures the policer:
In this example, the police command adds a policer to the class where any traffic beyond the 200000 set target bit rate is dropped. |
Step 9 | exit
Example: Device(config-pmap-c)# exit | |
Step 10 | exit
Example: Device(config-pmap)# exit | |
Step 11 | interface
interface-id
Example: Device(config)# interface gigabitethernet 1/0/3 |
Specifies the port to attach to the policy map, and enters interface configuration mode. |
Step 12 | service-policy
input
policy-map-name
Example: Device(config-if)# service-policy input policy_vlan100 |
Specifies the policy-map name, and applies it to an ingress port. Only one policy map per ingress port is supported. |
Step 13 | end
Example: Device(config-if)# end | |
Step 14 | show policy-map [policy-map-name [class
class-map-name]]
Example: Device# show policy-map | |
Step 15 | copy
running-config startup-config
Example: Device# copy-running-config startup-config |
Configuring Table Maps (CLI)
Table maps are a form of marking, and also enable the mapping and conversion of one field to another using a table. For example, a table map can be used to map and convert a Layer 2 CoS setting to a precedence value in Layer 3.
![]() Note | A table map can be referenced in multiple policies or multiple times in the same policy. |
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | table-map
name
{default {default value
|
copy |
ignore} |
exit |
map
{from
from
value
to
to
value } |
no}
Example: Device(config)# table-map table01 Device(config-tablemap)# |
Creates a table map and enters the table map configuration mode. In table map configuration mode, you can perform the following tasks: | ||
Step 3 | map
from
value
to
value
Example: Device(config-tablemap)# map from 0 to 2 Device(config-tablemap)# map from 1 to 4 Device(config-tablemap)# map from 24 to 3 Device(config-tablemap)# map from 40 to 6 Device(config-tablemap)# default 0 Device(config-tablemap)# |
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 24 to the CoS value 3, DSCP value 40 to the CoS value 6 and all others to the CoS value 0.
| ||
Step 4 | exit
Example: Device(config-tablemap)# exit Device(config)# |
Returns to global configuration mode. | ||
Step 5 | exit
Example: Device(config) exit Device# |
Returns to privileged EXEC mode. | ||
Step 6 | show table-map
Example:
Device# show table-map
Table Map table01
from 0 to 2
from 1 to 4
from 24 to 3
from 40 to 6
default 0
|
Displays the table map configuration. | ||
Step 7 | configure
terminal
Example: Device# configure terminal Device(config)# |
Enters global configuration mode. | ||
Step 8 | policy-map
Example: Device(config)# policy-map table-policy Device(config-pmap)# |
Configures the policy map for the table map. | ||
Step 9 | class class-default
Example: Device(config-pmap)# class class-default Device(config-pmap-c)# |
Matches the class to the system default. | ||
Step 10 | set cos dscp table
table map name
Example: Device(config-pmap-c)# set cos dscp table table01 Device(config-pmap-c)# |
If this policy is applied on input port, that port will have trust DSCP enabled on that port and marking will take place depending upon the specified table map. | ||
Step 11 | end
Example: Device(config-pmap-c)# end Device# |
Returns to privileged EXEC mode. |
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.
Configuring Trust
Configuring Trust Behavior for Wireless Traffic (CLI)
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 came up, all markings for the wireless ports were defaulted to zero and no traffic received priority treatment. For compatibility with an existing wired , 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.
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example: Device# configure terminal
|
Enters global configuration mode. |
Step 2 | qos
wireless-default-untrust
Example: Device (config)# qos wireless-default-untrust
|
Configures the behavior of the device to untrust wireless traffic. To configure the device to trust wireless traffic by default, use the no form of the command. |
Step 3 | end Example: Device(config)# end
| Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-Z to exit global configuration mode. |
Configuring QoS Features and Functionality
Configuring Call Admission Control (CLI)
This task explains how to configure class-based, unconditional packet marking features on your device for Call Admission Control (CAC).
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||||
Step 2 | class-map
class
name
Example: Device(config)# class-map voice Device(config-cmap)# |
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 map configuration mode include the following: | ||||
Step 3 | match
dscp dscp value
Example:
Device(config-cmap)# match dscp 46
|
(Optional) Matches the DSCP values in IPv4 and IPv6 packets. | ||||
Step 4 | exit
Example: Device(config-cmap)# exit Device(config)# |
Returns to global configuration mode. | ||||
Step 5 | class-map
class
name
Example: Device(config)# class-map video Device(config-cmap)# |
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 map configuration mode include the following: | ||||
Step 6 | match
dscp dscp value
Example:
Device(config-cmap)# match dscp 34
|
(Optional) Matches the DSCP values in IPv4 and IPv6 packets. | ||||
Step 7 | exit
Example: Device(config-cmap)# exit Device(config)# |
Returns to global configuration mode. | ||||
Step 8 | table-map
name
Example: Device(config)# table-map dscp2dscp Device(config-tablemap)# |
Creates a table map and enters the table map configuration mode. | ||||
Step 9 | default copy
Example:
Device(config-tablemap)# default copy
|
Sets the default behavior for value not found in the table map to copy.
| ||||
Step 10 | exit
Example: Device(config-tablemap)# exit Device(config)# |
Returns to global configuration mode. | ||||
Step 11 | table-map
name
Example: Device(config)# table-map dscp2up Device(config-tablemap)# |
Creates a new table map and enters the table map configuration mode. | ||||
Step 12 | default copy
Example:
Device(config-tablemap)# default copy
|
Sets the default behavior for value not found in the table map to copy.
| ||||
Step 13 | exit
Example: Device(config-tablemap)# exit Device(config)# |
Returns to global configuration mode. | ||||
Step 14 | policy-map
policy
name
Example: Device(config)# policy-map ssid_child_cac Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||||
Step 15 | class
class-map-name
Example: Device(config-pmap)# class voice |
Defines an interface-level traffic classification, and enters policy-map configuration mode. | ||||
Step 16 | priority
level
level_value
Example:
Device(config-pmap-c)# priority level 1
|
The priority command assigns a strict scheduling priority for the class.
| ||||
Step 17 | police [target_bit_rate
|
cir
| rate
]
Example: Device(config-pmap-c)# police cir 10m
|
(Optional) Configures the policer: | ||||
Step 18 | admit cac wmm-tspec
Example: Device(config-pmap-c)# admit cac wmm-tspec Device(config-pmap-cac-wmm)# |
Configures call admission control for the policy map.
| ||||
Step 19 | rate
value
Example:
Device(config-pmap-admit-cac-wmm)# rate 5000
|
Configures the target bit rate (Kilo Bits per second). Enter a value from 8 to 10000000. | ||||
Step 20 | wlan-up
value
Example:
Device(config-pmap-admit-cac-wmm)# wlan-up 6 7
|
Configures the WLAN UP value. Enter a value from 0 to 7. | ||||
Step 21 | exit
Example: Device(config-pmap-admit-cac-wmm)# exit Device(config-pmap-c)# |
Returns to policy map class configuration mode. | ||||
Step 22 | exit
Example: Device(config-pmap-c)# exit Device(config-pmap)# |
Returns to policy map configuration mode. | ||||
Step 23 | class
class
name
Example: Device(config-pmap)# class video Device(config-pmap-c)# |
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 map configuration mode include the following: | ||||
Step 24 | priority
level
level_value
Example:
Device(config-pmap-c)# priority level 2
|
The priority command assigns a strict scheduling priority for the class.
| ||||
Step 25 | police [target_bit_rate
|
cir
| rate
]
Example: Device(config-pmap-c)# police cir 20m
|
(Optional) Configures the policer: | ||||
Step 26 | admit cac wmm-tspec
Example: Device(config-pmap-c)# admit cac wmm-tspec Device(config-pmap-admit-cac-wmm)# |
Configures call admission control for the policy map.
| ||||
Step 27 | rate
value
Example:
Device(config-pmap-admit-cac-wmm)# rate 5000
|
Configures the target bit rate (Kilo Bits per second). Enter a value from 8 to 10000000. | ||||
Step 28 | wlan-up
value
Example:
Device(config-pmap-admit-cac-wmm)# wlan-up 4 5
|
Configures the WLAN UP value. Enter a value from 0 to 7. | ||||
Step 29 | exit
Example: Device(config-pmap-cac-wmm)# exit Device(config-pmap)# |
Returns to policy map configuration mode. | ||||
Step 30 | exit
Example: Device(config-pmap)# exit Device(config)# |
Returns to global configuration mode. | ||||
Step 31 | policy-map
policy
name
Example: Device(config)# policy-map ssid_cac Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||||
Step 32 | class
class-map-name
Example:
Device(config-pmap)# class default
|
Defines an interface-level traffic classification, and enters policy-map configuration mode. In this example, the class map is set to default. | ||||
Step 33 | set dscp dscp table
table_map_name
Example: Device(config-pmap-c)# set dscp dscp table dscp2dscp |
(Optional) Sets the QoS values. In this example, the set dscp dscp table command creates a table map and sets its values. | ||||
Step 34 | set wlan user-priority dscp table
table_map_name
Example:
Device(config-pmap-c)# set wlan user-priority dscp table dscp2up
|
(Optional) Sets the QoS values. In this example, the set wlan user-priority dscp table command sets the WLAN user priority. | ||||
Step 35 | shape
average {target bit rate
|
percent
percentage}
Example:
Device(config-pmap-c)# shape average 100000000
|
Configures the average shape rate. You can configure the average shape rate by target bit rates (bits per second) or by percentage of interface bandwidth for the Committed Information Rate (CIR). | ||||
Step 36 | queue-buffers {ratio
ratio
value}
Example:
Device(config-pmap-c)# queue-buffers ratio 0
|
Configures the relative buffer size for the queue.
| ||||
Step 37 | service-policy
policy_map_name
Example:
Device(config-pmap-c)# service-policy ssid_child_cac
|
Specifies the policy map for the service policy. | ||||
Step 38 | end
Example: Device(config-pmap)# end Device# |
Saves configuration changes. | ||||
Step 39 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies. |
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).
Configuring Bandwidth (CLI)
This procedure explains how to configure bandwidth on your .
You should have created a class map for bandwidth before beginning this procedure.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | policy-map
policy
name
Example: Device(config)# policy-map policy_bandwidth01 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||
Step 3 | class
class
name
Example: Device(config-pmap)# class class_bandwidth01 Device(config-pmap-c)# |
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 map configuration mode include the following: | ||
Step 4 | bandwidth {Kb/s |
percent
percentage |
remaining {
ratio
ratio
}}
Example: Device(config-pmap-c)# bandwidth 200000 Device(config-pmap-c)# |
Configures the bandwidth for the policy map. The parameters include:
| ||
Step 5 | end
Example: Device(config-pmap-c)# end Device# |
Saves configuration changes. | ||
Step 6 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies. |
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.
Configuring Police (CLI)
This procedure explains how to configure policing on your .
You should have created a class map for policing before beginning this procedure.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | policy-map
policy
name
Example: Device(config)# policy-map policy_police01 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||
Step 3 | class
class
name
Example: Device(config-pmap)# class class_police01 Device(config-pmap-c)# |
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 map configuration mode include the following: | ||
Step 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] }}
Example: Device(config-pmap-c)# police 8000 conform-action transmit exceed-action drop Device(config-pmap-c)# |
The following police subcommand options are available:
The following police conform-action transmit exceed-action subcommand options are available:
| ||
Step 5 | end
Example: Device(config-pmap-c)# end Device# |
Saves configuration changes. | ||
Step 6 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies.
|
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.
Configuring Priority (CLI)
This procedure explains how to configure priority on your .
The supports giving priority to specified queues. There are two priority levels available (1 and 2).![]() Note | Queues supporting voice and video should be assigned a priority level of 1. |
You should have created a class map for priority before beginning this procedure.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | policy-map
policy
name
Example: Device(config)# policy-map policy_priority01 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||
Step 3 | class
class
name
Example: Device(config-pmap)# class class_priority01 Device(config-pmap-c)# |
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 map configuration mode include the following: | ||
Step 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] ]
Example: Device(config-pmap-c)# priority level 1 Device(config-pmap-c)# |
(Optional) The priority command assigns a strict scheduling priority for the class. The command options include:
| ||
Step 5 | end
Example: Device(config-pmap-c)# end Device# |
Saves configuration changes. | ||
Step 6 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies. |
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.
Configuring Queues and Shaping
Configuring Egress Queue Characteristics
Depending on the complexity of your network and your QoS solution, you may need to perform all of the procedures in this section. You need to make decisions about these characteristics:
Which packets are mapped by DSCP, CoS, or QoS group value to each queue and threshold ID?
What drop percentage thresholds apply to the queues, and how much reserved and maximum memory is needed for the traffic type?
How much of the fixed buffer space is allocated to the queues?
How often should the egress queues be serviced and which technique (shaped, shared, or both) should be used?
![]() Note | You can only configure the egress queues on the . |
Configuring Queue Buffers (CLI)
The allows you to allocate buffers to queues. If there is no allocation made to buffers, then they are divided equally for all queues. You can use the queue-buffer ratio to divide it in a particular ratio. Since by default DTS (Dynamic Threshold and Scaling) is active on all queues, these are soft buffers.
![]() 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. |
The following are prerequisites for this procedure:
Command or Action | Purpose | |||||
---|---|---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||||
Step 2 | policy-map
policy
name
Example: Device(config)# policy-map policy_queuebuffer01 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||||
Step 3 | class
class
name
Example: Device(config-pmap)# class class_queuebuffer01 Device(config-pmap-c)# |
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 map configuration mode include the following: | ||||
Step 4 | bandwidth {Kb/s |
percent
percentage |
remaining {
ratio
ratio
value }}
Example: Device(config-pmap-c)# bandwidth percent 80 Device(config-pmap-c)# |
Configures the bandwidth for the policy map. The command parameters include:
| ||||
Step 5 | queue-buffers {ratio
ratio
value}
Example: Device(config-pmap-c)# queue-buffers ratio 10 Device(config-pmap-c)# |
Configures the relative buffer size for the queue.
| ||||
Step 6 | end
Example: Device(config-pmap-c)# end Device# |
Saves configuration changes. | ||||
Step 7 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies. |
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.
Configuring Queue Limits (CLI)
You use queue limits to configure Weighted Tail Drop (WTD). WTD ensures the configuration of more than one threshold per queue. Each class of service is dropped at a different threshold value to provide for QoS differentiation. With the , each queue has 3 explicit programmable threshold classes—0, 1, 2. Therefore, the enqueue/drop decision of each packet per queue is determined by the packet’s threshold class assignment, which is determined by the DSCP, CoS, or QoS group field of the frame header.
WTD also uses a soft limit, and therefore you are allowed to configure the queue limit to up to 400 percent (maximum four times the reserved buffer from common pool). This soft limit prevents overrunning the common pool without impacting other features.
![]() Note | You can only configure queue limits on the egress queues on wired ports. |
The following are prerequisites for this procedure:
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | policy-map
policy
name
Example: Device(config)# policy-map policy_queuelimit01 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||
Step 3 | class
class
name
Example: Device(config-pmap)# class class_queuelimit01 Device(config-pmap-c)# |
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 map configuration mode include the following: | ||
Step 4 | bandwidth {Kb/s |
percent
percentage |
remaining {
ratio
ratio
value }}
Example: Device(config-pmap-c)# bandwidth 500000 Device(config-pmap-c)# |
Configures the bandwidth for the policy map. The parameters include:
| ||
Step 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 }}
Example: Device(config-pmap-c)# queue-limit dscp 3 percent 20 Device(config-pmap-c)# queue-limit dscp 4 percent 30 Device(config-pmap-c)# queue-limit dscp 5 percent 40 |
Sets the queue limit threshold percentage values. With every queue, there are three thresholds (0,1,2), and there are default values for each of these thresholds. Use this command to change the default or any other queue limit threshold setting. For example, if DSCP 3, 4, and 5 packets are being sent into a specific queue in a configuration, then you can use this command to set the threshold percentages for these three DSCP values. For additional information about queue limit threshold values, see Weighted Tail Drop.
| ||
Step 6 | end
Example: Device(config-pmap-c)# end Device# |
Saves configuration changes. | ||
Step 7 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies. |
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.
Configuring Shaping (CLI)
You use the shape command to configure shaping (maximum bandwidth) for a particular class. The queue's bandwidth is restricted to this value even though the port has additional bandwidth left. You can configure shaping as an average percent, as well as a shape average value in bits per second.
You should have created a class map for shaping before beginning this procedure.
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 | configure
terminal
Example: Device# configure terminal | |||
Step 2 | policy-map
policy
name
Example: Device(config)# policy-map policy_shaping01 Device(config-pmap)# |
Enters policy map configuration mode. Creates or modifies a policy map that can be attached to one or more interfaces to specify a service policy. | ||
Step 3 | class
class
name
Example: Device(config-pmap)# class class_shaping01 Device(config-pmap-c)# |
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 map configuration mode include the following: | ||
Step 4 | shape
average {target bit rate
|
percent
percentage}
Example: Device(config-pmap-c)# shape average percent 50 Device(config-pmap-c)# |
Configures the average shape rate. You can configure the average shape rate by target bit rates (bits per second) or by percentage of interface bandwidth for the Committed Information Rate (CIR).
| ||
Step 5 | end
Example: Device(config-pmap-c)# end Device# |
Saves configuration changes. | ||
Step 6 | show policy-map
Example:
Device# show policy-map
|
(Optional) Displays policy configuration information for all classes configured for all service policies. |
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.
Configuring Precious Metal Policies (CLI)
Command or Action | Purpose | |||
---|---|---|---|---|
Step 1 |
configure terminal Example: Device# configure terminal
|
Enters global command mode. | ||
Step 2 | wlan wlan-name Example: Devicewlan test4
|
Enters the WLAN configuration submode. | ||
Step 3 | service-policy
{input |
output}
policy-name
Example:
Device(config-wlan)# service-policy output platinum
Example:
Device(config-wlan)# service-policy input platinum-up
|
Configures the WLAN with the QoS policy. To configure the WLAN with precious metal policies, you must enter one of the following keywords: platinum, gold, silver, or bronze. The upstream policy is specified with the keyword platinum-up as shown in the example.
| ||
Step 4 | end Example: Device(config)# end
| Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-Z to exit the global configuration mode. | ||
Step 5 | show
wlan
{wlan-id
|
wlan-name}
Example: Device# show wlan name qos-wlan
| Verifies the
configured QoS policy on the WLAN.
Device# show wlan name qos-wlan
. . .
. . .
. . .
QoS Service Policy - Input
Policy Name : platinum-up
Policy State : Validated
QoS Service Policy - Output
Policy Name : platinum
Policy State : Validated
. . .
. . .
|
Monitoring QoS
Command |
Description |
---|---|
show class-map type control subscriber {all | name } show class-map type control subscriber detail |
Displays control class map and statistics. |
Displays a list of all policy maps configured. Command parameters include: |
|
show policy-map interface { Auto-template | Capwap | GigabitEthernet | GroupVI | InternalInterface | Loopback | Lspvif | | Null | Port-channel | TenGigabitEthernet | Tunnel | Vlan | brief | class | input | output | wireless } |
Displays the runtime representation and statistics of all the policies configured on the . Command parameters include:
|
show policy-map interface wireless ap [access point] |
Displays the runtime representation and statistics for all the wireless APs on the . |
show policy-map interface wireless ssid [ssid] |
Displays the runtime representation and statistics for all the SSID targets on the . |
show policy-map interface wireless client mac [mac_address] |
Displays the runtime representation and statistics for all the client targets on the . |
show policy-map session [ input | output | uid UUID ] |
Displays the session QoS policy. Command parameters include: |
show policy-map type control subscriber { all | name } |
Displays the type QoS policy-map. |
show table-map |
Displays all the table maps and their configurations. |
show platform qos wireless {afd { client | ssid } | stats { bssid bssid-value | client name | ssid {ssid-value | all} client all}} |
Displays wireless targets. The following command parameters are supported: |
show policy-map interface wireless ssid name ssid-name [radio type {24ghz | 5ghz} ap name ap-name | ap name ap-name] |
Displays SSID policy configuration on an access point. |
show wireless client mac-address mac_address service-policy {input | output} |
Displays details of the client policy. |
show wlan qos service-policies |
Displays the SSID policies configured on all WLANs. |
show ap name ap_name service-policy |
Displays all the policies configured on the AP. |
Configuration Examples for QoS
Examples: Classification by Access Control Lists
This example shows how to classify packets for QoS by using access control lists (ACLs):
Device# configure terminal Device(config)# access-list 101 permit ip host 12.4.1.1 host 15.2.1.1 Device(config)# class-map acl-101 Device(config-cmap)# description match on access-list 101 Device(config-cmap)# match access-group 101 Device(config-cmap)#
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.
Examples: Class of Service Layer 2 Classification
This example shows how to classify packets for QoS using a class of service Layer 2 classification:
Device# configure terminal Device(config)# class-map cos Device(config-cmap)# match cos ? <0-7> Enter up to 4 class-of-service values separated by white-spaces Device(config-cmap)# match cos 3 4 5 Device(config-cmap)#
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.
Examples: Class of Service DSCP Classification
This example shows how to classify packets for QoS using a class of service DSCP classification:
Device# configure terminal Device(config)# class-map dscp Device(config-cmap)# match dscp af21 af22 af23 Device(config-cmap)#
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.
Examples: VLAN ID Layer 2 Classification
This example shows how to classify for QoS using a VLAN ID Layer 2 classification:
Device# configure terminal Device(config)# class-map vlan-120 Device(config-cmap)# match vlan ? <1-4095> VLAN id Device(config-cmap)# match vlan 120 Device(config-cmap)#
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.
Examples: Classification by DSCP or Precedence Values
This example shows how to classify packets by using DSCP or precedence values:
Device# configure terminal Device(config)# class-map prec2 Device(config-cmap)# description matching precedence 2 packets Device(config-cmap)# match ip precedence 2 Device(config-cmap)# exit Device(config)# class-map ef Device(config-cmap)# description EF traffic Device(config-cmap)# match ip dscp ef Device(config-cmap)#
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.
Examples: Hierarchical Classification
The following is an example of a hierarchical classification, where a class named parent is created, which matches another class named child. The class named child matches based on the IP precedence being set to 2.
Device# configure terminal Device(config)# class-map child Device(config-cmap)# match ip precedence 2 Device(config-cmap)# exit Device(config)# class-map parent Device(config-cmap)# match class child Device(config-cmap)#
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.
Examples: Hierarchical Policy Configuration
The following is an example of a configuration using hierarchical polices:
Device# configure terminal Device(config)# class-map c1 Device(config-cmap)# match dscp 30 Device(config-cmap)# exit Device(config)# class-map c2 Device(config-cmap)# match precedence 4 Device(config-cmap)# exit Device(config)# class-map c3 Device(config-cmap)# exit Device(config)# policy-map child Device(config-pmap)# class c1 Device(config-pmap-c)# priority level 1 Device(config-pmap-c)# police rate percent 20 conform-action transmit exceed action drop Device(config-pmap-c-police)# exit Device(config-pmap-c)# exit Device(config-pmap)# class c2 Device(config-pmap-c)# bandwidth 20000 Device(config-pmap-c)# exit Device(config-pmap)# class class-default Device(config-pmap-c)# bandwidth 20000 Device(config-pmap-c)# exit Device(config-pmap)# exit Device(config)# policy-map parent Device(config-pmap)# class class-default Device(config-pmap-c)# shape average 1000000 Device(config-pmap-c)# service-policy child Device(config-pmap-c)# end
Device(config)# table-map dscp2dscp Device(config-tablemap)# default copy Device(config)# table-map dscp2up Device(config-tablemap)# map from 46 to 6 Device(config-tablemap)# map from 34 to 5 Device(config-tablemap)# default copy Device(config)# policy-map ssid_child_policy Device(config-pmap)# class voice Device(config-pmap-c)# priority level 1 Device(config-pmap-c)# police 15000000 Device(config-pmap)# class video Device(config-pmap-c)# priority level 2 Device(config-pmap-c)# police 10000000 Device(config)# policy-map ssid_policy Device(config-pmap)# class class-default Device(config-pmap-c)# shape average 30000000 Device(config-pmap-c)# queue-buffer ratio 0 Device(config-pmap-c)# set dscp dscp table dscp2dscp Device(config-pmap-c)# service-policy ssid_child_policy
Examples: Classification for Voice and Video
This example describes how to classify packet streams for voice and video using device specific information.
In this example, voice and video are coming in from end-point A into GigabitEthernet1/0/1 on the device and have precedence values of 5 and 6, respectively. Additionally, voice and video are also coming from end-point B into GigabitEthernet1/0/2 on the device with DSCP values of EF and AF11, respectively.
Assume that all the packets from the both the interfaces are sent on the uplink interface, and there is a requirement to police voice to 100 Mbps and video to 150 Mbps.
To classify per the above requirements, a class to match voice packets coming in on GigabitEthernet1/0/1 is created, named voice-interface-1, which matches precedence 5. Similarly another class for voice is created, named voice-interface-2, which will match voice packets in GigabitEthernet1/0/2. These classes are associated to two separate policies named input-interface-1, which is attached to GigabitEthernet1/0/1, and input-interface-2, which is attached to GigabitEthernet1/0/2. The action for this class is to mark the qos-group to 10. To match packets with QoS-group 10 on the output interface, a class named voice is created which matches on QoS-group 10. This is then associated to another policy named output-interface, which is associated to the uplink interface. Video is handled in the same way, but matches on QoS-group 20.
The following example shows how classify using the above device specific information:
Device(config)# Device(config)# class-map voice-interface-1 Device(config-cmap)# match ip precedence 5 Device(config-cmap)# exit Device(config)# class-map video-interface-1 Device(config-cmap)# match ip precedence 6 Device(config-cmap)# exit Device(config)# class-map voice-interface-2 Device(config-cmap)# match ip dscp ef Device(config-cmap)# exit Device(config)# class-map video-interface-2 Device(config-cmap)# match ip dscp af11 Device(config-cmap)# exit Device(config)# policy-map input-interface-1 Device(config-pmap)# class voice-interface-1 Device(config-pmap-c)# set qos-group 10 Device(config-pmap-c)# exit Device(config-pmap)# class video-interface-1 Device(config-pmap-c)# set qos-group 20 Device(config-pmap-c)# policy-map input-interface-2 Device(config-pmap)# class voice-interface-2 Device(config-pmap-c)# set qos-group 10 Device(config-pmap-c)# class video-interface-2 Device(config-pmap-c)# set qos-group 20 Device(config-pmap-c)# exit Device(config-pmap)# exit Device(config)# class-map voice Device(config-cmap)# match qos-group 10 Device(config-cmap)# exit Device(config)# class-map video Device(config-cmap)# match qos-group 20 Device(config)# policy-map output-interface Device(config-pmap)# class voice Device(config-pmap-c)# police 256000 conform-action transmit exceed-action drop Device(config-pmap-c-police)# exit Device(config-pmap-c)# exit Device(config-pmap)# class video Device(config-pmap-c)# police 1024000 conform-action transmit exceed-action drop Device(config-pmap-c-police)# exit Device(config-pmap-c)# exit
Examples: Wireless QoS Policy Classified by Voice, Video, and Multicast Traffic
The following example provides a template for creating a port child policy for managing quality of service for voice and video 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.
Examples: Configuring Downstream SSID Policy
To configure a downstream BSSID policy, you must first configure a port child policy with priority level queuing.
Type of Policy | Example |
---|---|
User-defined port child policy |
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 |
Egress BSSID policy |
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 |
SSID Child QoS policy |
Policy Map ssid-child_qos Class voice priority level 1 police cir 5m admit cac wmm-tspec UP 6,7 / tells WCM allow ‘voice’ TSPEC\SIP snoop for this ssid rate 4000 / must be police rate value is in kbps) Class video priority level 2 police cir 60000 |
Examples: Ingress SSID Policies
Type of ingress SSID policies | Example |
---|---|
Ingress SSID hierarchical policies |
policy-map ssid-child-policy class voice //match dscp 46 police 3m class video //match dscp 34 police 4m policy-map ssid-in-policy class class-default set dscp wlan user-priority table up2dscp service-policy ssid-child-policy |
policy-map ssid_in_policy class dscp-40 set cos 1 police 10m class up-1 set dscp 34 police 12m class dscp-10 set dscp 20 police 15m class class-default set dscp wlan user-priority table up2dscp police 50m |
Examples: Client Policies
Type of Client Policy | Example/Details | ||
---|---|---|---|
Default egress client policy | Any incoming traffic contains the
user-priority as 0.
Policy-map client-def-down class class-default set wlan user-priority 0 |
||
Default ingress client policy | Any traffic that is sent to the wired
network from wireless network will result in the DSCP value being set to 0.
Policy-map client-def-up class class-default set dscp 0 |
||
Client policies generated automatically and applied to the WMM client when the client authenticates to a profile in AAA with a configured QoS-level attribute. |
Policy Map platinum-WMM Class voice-plat set wlan user-priority 6 Class video-plat set wlan user-priority 4 Class class-default set wlan user-priority 0 Policy Map gold-WMM Class voice-gold set wlan user-priority 4 Class video-gold set wlan user-priority 4 Class class-default set wlan user-priority 0 |
||
Non-WMM client precious metal policies |
Policy Map platinum set wlan user-priority 6 |
||
Egress client policy where 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. Policy Map client1-down Class voice1 //match dscp, cos set wlan user-priority <> Class voice2 //match acl set wlan user-priority <> Class voice3 set wlan user-priority <> Class class-default set wlan user-priority 0 |
||
Client policy based on AAA and TCLAS |
Policy Map client2-down[ AAA+ TCLAS pol example] Class voice\\match dscp police <> set <> Class class-default set <> Class voice1|| voice2 [match acls] police <> class voice1 set <> class voice2 set <> |
||
Client policy for voice and video for traffic in the egress direction |
Policy Map client3-down class voice \\match dscp, cos police X class video police Y class class-default police Z |
||
Client policy for voice and video for traffic in the ingress direction using policing |
Policy Map client1-up class voice \\match dscp, up, cos police X class video police Y class class-default police Z |
||
Client policy for voice and video based on DSCP |
Policy Map client2-up class voice \\match dscp, up, cos set dscp <> class video set dscp <> class class-default set dscp <> |
||
Client ingress policy with marking and policing |
policy-map client_in_policy class dscp-48 //match dscp 48 set cos 3 police 2m class up-4 //match wlan user-priority 4 set dscp 10 police 3m class acl //match acl set cos 2 police 5m class class-default set dscp 20 police 15m |
||
Hierarchical client ingress policy |
policy-map client-child-policy class voice //match dscp 46 set dscp 40 police 5m class video //match dscp 34 set dscp 30 police 7m policy-map client-in-policy class class-default police 15m service-policy client-child-policy |
Examples: Average Rate Shaping Configuration
The following example shows how to configure average rate shaping:
Device# configure terminal Device(config)# class-map prec1 Device(config-cmap)# description matching precedence 1 packets Device(config-cmap)# match ip precedence 1 Device(config-cmap)# end Device# configure terminal Device(config)# class-map prec2 Device(config-cmap)# description matching precedence 2 packets Device(config-cmap)# match ip precedence 2 Device(config-cmap)# exit Device(config)# policy-map shaper Device(config-pmap)# class prec1 Device(config-pmap-c)# shape average 512000 Device(config-pmap-c)# exit Device(config-pmap)# policy-map shaper Device(config-pmap)# class prec2 Device(config-pmap-c)# shape average 512000 Device(config-pmap-c)# exit Device(config-pmap)# class class-default Device(config-pmap-c)# shape average 1024000
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.
Examples: Queue-limit Configuration
The following example shows how to configure a queue-limit policy based upon DSCP values and percentages:
Device# configure terminal Device#(config)# policy-map port-queue Device#(config-pmap)# class dscp-1-2-3 Device#(config-pmap-c)# bandwidth percent 20 Device#(config-pmap-c)# queue-limit dscp 1 percent 80 Device#(config-pmap-c)# queue-limit dscp 2 percent 90 Device#(config-pmap-c)# queue-limit dscp 3 percent 100 Device#(config-pmap-c)# exit Device#(config-pmap)# class dscp-4-5-6 Device#(config-pmap-c)# bandwidth percent 20 Device#(config-pmap-c)# queue-limit dscp 4 percent 20 Device#(config-pmap-c)# queue-limit dscp 5 percent 30 Device#(config-pmap-c)# queue-limit dscp 6 percent 20 Device#(config-pmap-c)# exit Device#(config-pmap)# class dscp-7-8-9 Device#(config-pmap-c)# bandwidth percent 20 Device#(config-pmap-c)# queue-limit dscp 7 percent 20 Device#(config-pmap-c)# queue-limit dscp 8 percent 30 Device#(config-pmap-c)# queue-limit dscp 9 percent 20 Device#(config-pmap-c)# exit Device#(config-pmap)# class dscp-10-11-12 Device#(config-pmap-c)# bandwidth percent 20 Device#(config-pmap-c)# queue-limit dscp 10 percent 20 Device#(config-pmap-c)# queue-limit dscp 11 percent 30 Device#(config-pmap-c)# queue-limit dscp 12 percent 20 Device#(config-pmap-c)# exit Device#(config-pmap)# class dscp-13-14-15 Device#(config-pmap-c)# bandwidth percent 10 Device#(config-pmap-c)# queue-limit dscp 13 percent 20 Device#(config-pmap-c)# queue-limit dscp 14 percent 30 Device#(config-pmap-c)# queue-limit dscp 15 percent 20 Device#(config-pmap-c)# end Device#
After finishing with the above policy map queue-limit configuration, you can then proceed to apply the policy map to an interface for QoS.
Examples: Queue Buffers Configuration
The following example shows how configure a queue buffer policy and then apply it to an interface for QoS:
Device# configure terminal Device(config)# policy-map policy1001 Device(config-pmap)# class class1001 Device(config-pmap-c)# bandwidth remaining ratio 10 Device(config-pmap-c)# queue-buffer ratio ? <0-100> Queue-buffers ratio limit Device(config-pmap-c)# queue-buffer ratio 20 Device(config-pmap-c)# end Device# configure terminal Device(config)# interface gigabitEthernet2/0/3 Device(config-if)# service-policy output policy1001 Device(config-if)# end
Examples: Policing Action Configuration
The following example displays the various policing actions that can be associated to the policer. These actions are accomplished using the conforming, exceeding, or violating packet configurations. You have the flexibility to drop, mark and transmit, or transmit packets that have exceeded or violated a traffic profile.
For example, a common deployment scenario is one where the enterprise customer polices traffic exiting the network towards the service provider and marks the conforming, exceeding and violating packets with different DSCP values. The service provider could then choose to drop the packets marked with the exceeded and violated DSCP values under cases of congestion, but may choose to transmit them when bandwidth is available.
![]() 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:
Device# configure terminal Device(config)# policy-map police Device(config-pmap)# class class-default Device(config-pmap-c)# police cir 1000000 pir 2000000 Device(config-pmap-c-police)# conform-action transmit Device(config-pmap-c-police)# exceed-action set-dscp-transmit dscp table exceed-markdown-table Device(config-pmap-c-police)# violate-action set-dscp-transmit dscp table violate-markdown-table Device(config-pmap-c-police)# end
In this example, the exceed-markdown-table and violate-mark-down-table are table maps.
![]() Note | Policer-based markdown actions are only supported using table maps. Only one markdown table map is allowed for each marking field in the device. |
Examples: Policer VLAN Configuration
The following example displays a VLAN policer configuration. At the end of this configuration, the VLAN policy map is applied to an interface for QoS.
Device# configure terminal Device(config)# class-map vlan100 Device(config-cmap)# match vlan 100 Device(config-cmap)# exit Device(config)# policy-map vlan100 Device(config-pmap)# policy-map class vlan100 Device(config-pmap-c)# police 100000 bc conform-action transmit exceed-action drop Device(config-pmap-c-police)# end Device# configure terminal Device(config)# interface gigabitEthernet1/0/5 Device(config-if)# service-policy input vlan100
Examples: Policing Units
The following examples display the various units of policing that are supported for QoS. The policing unit is the basis on which the token bucket works .
The following units of policing are supported:
CIR and PIR are specified in bits per second. The burst parameters are specified in bytes. This is the default mode; it is the unit that is assumed when no units are specified. The CIR and PIR can also be configured in percent, in which case the burst parameters have to be configured in milliseconds.
CIR and PIR are specified in packets per second. In this case, the burst parameters are configured in packets as well.
The following is an example of a policer configuration in bits per second:
Device(config)# policy-map bps-policer Device(config-pmap)# class class-default Device(config-pmap-c) # police rate 256000 bps burst 1000 bytes conform-action transmit exceed-action drop
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.
Device(config)# policy-map pps-policer Device(config-pmap)# class class-default Device(config-pmap-c)# police rate 5000 pps burst 100 packets peak-rate 10000 pps peak-burst 200 packets conform-action transmit exceed-action drop violate-action drop
Examples: Single-Rate Two-Color Policing Configuration
The following example shows how to configure a single-rate two-color policer:
Device(config)# class-map match-any prec1 Device(config-cmap)# match ip precedence 1 Device(config-cmap)# exit Device(config)# policy-map policer Device(config-pmap)# class prec1 Device(config-pmap-c)# police cir 256000 conform-action transmit exceed-action drop Device(config-pmap-c-police)# exit Device(config-pmap-c)#
Examples: Dual-Rate Three-Color Policing Configuration
The following example shows how to configure a dual-rate three-color policer:
Device# configure terminal Device(config)# policy-Map dual-rate-3color-policer Device(config-pmap)# class class-default Device(config-pmap-c)# police cir 64000 bc 2000 pir 128000 be 2000 Device(config-pmap-c-police)# conform-action transmit Device(config-pmap-c-police)# exceed-action set-dscp-transmit dscp table exceed-markdown-table Device(config-pmap-c-police)# violate-action set-dscp-transmit dscp table violate-markdown-table Device(config-pmap-c-police)# exit Device(config-pmap-c)#
In this example, the exceed-markdown-table and violate-mark-down-table are table maps.
![]() Note | Policer based markdown actions are only supported using table maps. Only one markdown table map is allowed for each marking field in the device. |
Examples: Table Map Marking Configuration
The following steps and examples show how to use table map marking for your QoS configuration:
Define the table map.
Define the table-map using the table-map command and indicate the mapping of the values. This table does not know of the policies or classes within which it will be used. The default command in the table map indicates the value to be copied into the ‘to’ field when there is no matching ‘from’ field. In the example, a table map named table-map1 is created. The mapping defined is to convert the value from 0 to 1 and from 2 to 3, while setting the default value to 4.
Device(config)# table-map table-map1 Device(config-tablemap)# map from 0 to 1 Device(config-tablemap)# map from 2 to 3 Device(config-tablemap)# default 4 Device(config-tablemap)# exit
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.
Device(config)# policy map policy1 Device(config-pmap)# class class-default Device(config-pmap-c)# set cos dscp table table-map1 Device(config-pmap-c)# exit
Associate the policy to an interface.
Device(config)# interface GigabitEthernet1/0/1 Device(config-if)# service-policy output policy1 Device(config-if)# exit
Example: Table Map Configuration to Retain CoS Markings
The following example shows how to use table maps to retain CoS markings on an interface for your QoS configuration.
The cos-trust-policy policy (configured in the example) is enabled in the ingress direction to retain the CoS marking coming into the interface. If the policy is not enabled, only the DSCP is trusted by default. If a pure Layer 2 packet arrives at the interface, then the CoS value will be rewritten to 0 when there is no such policy in the ingress port for CoS.
Device# configure terminal Device(config)# table-map cos2cos Device(config-tablemap)# default copy Device(config-tablemap)# exit Device(config)# policy map cos-trust-policy Device(config-pmap)# class class-default Device(config-pmap-c)# set cos cos table cos2cos Device(config-pmap-c)# exit Device(config)# interface GigabitEthernet1/0/2 Device(config-if)# service-policy input cos-trust-policy Device(config-if)# exit
Where to Go Next
Review the auto-QoS documentation to see if you can use these automated capabilities for your QoS configuration.
Additional References for QoS
Related Documents
Related Topic | Document Title |
---|---|
For complete syntax and usage information for the commands used in this chapter. |
QoS Command Reference (Catalyst 3850 Switches) Cisco IOS Quality of Service Solutions Command Reference |
Call Admission Control (CAC) |
System Management
Configuration Guide (Catalyst 3850 Switches)
System Management Command Reference (Catalyst 3850 Switches) |
Multicast Shaping and Policing Rate |
IP Multicast Routing Configuration Guide (Catalyst 3850 Switches) |
Application Visibility and Control |
System Management Configuration Guide (Catalyst 3850
Switches)
System Management Command Reference (Catalyst 3850 Switches) |
Application Visibility and Control |
System Management Configuration Guide (Catalyst 3850
Switches)
System Management Command Reference (Catalyst 3850 Switches) |
Error Message Decoder
Description | Link |
---|---|
To help you research and resolve system error messages in this release, use the Error Message Decoder tool. |
https://www.cisco.com/cgi-bin/Support/Errordecoder/index.cgi |
Standards and RFCs
Standard/RFC | Title |
---|---|
— |
MIBs
MIB | MIBs Link |
---|---|
All supported MIBs for this release. |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
Technical Assistance
Description | Link |
---|---|
The Cisco Support website provides extensive online 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. |
Feature History and Information for QoS
Release |
Modification |
||
---|---|---|---|
Cisco IOS XE 3.3SE |
This feature was introduced. |
||
Cisco IOS XE 3.3SE |
Consistent system default trust behavior for both wired and wireless ports. 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 came up, all markings for the wireless ports were defaulted to zero and no traffic received priority treatment. For compatibility with an existing wired , all traffic went to the best-effort queue by default. The access point performed priority queuing by default. The default trust behavior in the case of wireless ports could be changed by using the no qos wireless default untrust command. |
||
Cisco IOS XE 3.3SE |
Support for IPv6 wireless clients. The Cisco IOS XE 3.2 software release did not support IPv6 for wireless clients. This is now supported. Client policies can now have IPv4 and IPv6 filters. |
||
Cisco IOS XE 3.3SE |
Support for 3 radios and 11ac. |
||
Cisco IOS XE 3.3SE |
New classification counters available in the show policy-map command.
|
||
Cisco IOS XE 3.6E |
Marking and policing actions for ingress SSID policies. Client policies are applied at the access point. |
||
Cisco IOS XE 3.6E |
New classification counters for wireless targets available in the show policy-map command. |
||
Cisco IOS XE 3.6E |
Statistics are supported only for ingress policies. |