- Preface
- Using the Command-Line Interface
-
- Configuring Spanning Tree Protocol
- Configuring Multiple Spanning-Tree Protocol
- Configuring Optional Spanning-Tree Features
- Configuring EtherChannels
- Configuring Link-State Tracking
- Configuring Flex Links and the MAC Address-Table Move Update Feature
- Configuring UniDirectional Link Detection
- Configuring Resilient Ethernet Protocol
-
- Security Features Overview
- Preventing Unauthorized Access
- Controlling Switch Access with Passwords and Privilege Levels
- Configuring TACACS+
- Configuring RADIUS
- Configuring Kerberos
- Configuring Local Authentication and Authorization
- Configuring Secure Shell (SSH)
- Configuring Secure Socket Layer HTTP
- Configuring IPv4 ACLs
- Configuring IPv6 ACLs
- Configuring DHCP
- Configuring IP Source Guard
- Configuring Dynamic ARP Inspection
- Configuring IEEE 802.1x Port-Based Authentication
- Configuring Web-Based Authentication
- Configuring Port-Based Traffic Control
- Configuring IPv6 First Hop Security
- Configuring Cisco TrustSec
- Configuring FIPS
- Index
Configuring Auto-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
- Configuration Examples for Auto-Qos
- Where to Go Next for Auto-QoS
- Additional References
- Feature History and Information for Auto-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
Before configuring standard QoS or auto-QoS, you must have a thorough understanding of these items:
Auto-QoS VoIP Considerations
Before configuring auto-QoS for VoIP, you should be aware of this information:
-
Auto-QoS configures the switch for VoIP with Cisco IP Phones on nonrouted and routed ports. Auto-QoS also configures the switch for VoIP with devices running the Cisco SoftPhone application.
Note
When a device running Cisco SoftPhone is connected to a nonrouted or routed port, the switch supports only one Cisco SoftPhone application per port.
-
When enabling auto-QoS with a Cisco IP Phone on a routed port, you must assign a static IP address to the IP phone.
-
This release supports only Cisco IP SoftPhone Version 1.3(3) or later.
-
Connected devices must use Cisco Call Manager Version 4 or later.
-
Auto-Qos VoIP uses the priority-queue interface configuration command for an egress interface. You can also configure a policy-map and trust device on the same interface for Cisco IP phones.
Auto-QoS Enhanced Considerations
Auto-QoS is enhanced to support video. Automatic configurations are generated that classify and trust traffic from Cisco TelePresence systems and Cisco IP cameras.
Before configuring auto-QoS enhanced, you should be aware of this information:
Restrictions for Auto-QoS
The following are restrictions for automatic QoS (auto-QoS):
After auto-QoS is enabled, do not modify a policy map or aggregate policer that includes AutoQoS in its name. If you need to modify the policy map or aggregate policer, make a copy of it, and change the copied policy map or policer. To use this new policy map instead of the generated one, remove the generated policy map from the interface, and apply the new policy map to the interface.
To take advantage of the auto-QoS defaults, you should enable auto-QoS before you configure other QoS commands. If necessary, you can fine-tune the QoS configuration, but we recommend that you do so only after the auto-QoS configuration is completed.
By default, the CDP is enabled on all ports. For auto-QoS to function properly, do not disable CDP.
Note | You can enable auto-QoS on static, dynamic-access, voice VLAN access, and trunk ports. |
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. It uses the egress queues instead of using the default (disabled) QoS behavior. The switch offers best-effort service to each packet, regardless of the packet contents or size, and sends it from a single queue.
When you enable auto-QoS, it automatically classifies traffic based on the traffic type and ingress packet label. The switch uses the classification results to choose the appropriate egress queue.
You can use auto-QoS commands to identify ports connected to the following Cisco devices:
You also use the auto-QoS commands to identify ports that receive trusted traffic through an uplink. Auto-QoS then performs these functions:
Generated Auto-QoS Configuration
By default, auto-QoS is disabled on all ports. Packets are not modified--the CoS, DSCP and IP precedence values in the packet are not changed.
When you enable the auto-QoS feature on the first port of the interface:
Ingress packet label is used to categorize traffic, to assign packet labels, and to configure the ingress and egress queues.
QoS is globally enabled (mls qos global configuration command), and other global configuration commands are automatically generated. (See Examples: Global Auto-QoS Configuration).
Switch enables the trusted boundary feature and uses the Cisco Discovery Protocol (CDP) to detect the presence of a supported device.
Policing is used to determine whether a packet is in or out of profile and specifies the action on the packet.
VoIP Device Specifics
The following actions occur when you issue these auto-QoS commands on a port:
auto qos voip cisco-phone—When you enter this command on a port at the network edge connected to a Cisco IP Phone, the switch enables the trusted boundary feature. If the packet does not have a DSCP value of 24, 26, or 46 or is out of profile, the switch changes the DSCP value to 0. When there is no Cisco IP Phone, the ingress classification is set to not trust the QoS label in the packet. The policing is applied to the traffic matching the policy-map classification before the switch enables the trust boundary feature.
auto qos voip cisco-softphone —When you enter this interface configuration command on a port at the network edge that is connected to a device running the Cisco SoftPhone, the switch uses policing to determine whether a packet is in or out of profile and to specify the action on the packet. If the packet does not have a DSCP value of 24, 26, or 46 or is out of profile, the switch changes the DSCP value to 0.
auto qos voip trust—When you enter this interface configuration command on a port connected to the network interior, the switch trusts the CoS value for nonrouted ports or the DSCP value for routed ports in ingress packets (the assumption is that traffic has already been classified by other edge devices).
The switch configures egress queues on the port according to the settings in the following tables.
Egress Queue |
Queue Number |
CoS-to-Queue Map |
Queue Weight (Bandwidth) |
Queue (Buffer) Size for Gigabit-Capable Ports |
Queue (Buffer) Size for 10/100 Ethernet Ports |
---|---|---|---|---|---|
Priority |
1 |
4, 5 |
Up to 100 percent |
25 percent |
15 percent |
SRR shared |
2 |
2, 3, 6, 7 |
10 percent |
25 percent |
25 percent |
SRR shared |
3 |
0 |
60 percent |
25 percent |
40 percent |
SRR shared |
4 |
1 |
20 percent |
25 percent |
20 percent |
When you enable auto-QoS by using the auto qos voip cisco-phone, the auto qos voip cisco-softphone, or the auto qos voip trust interface configuration command, the switch automatically generates a QoS configuration based on the traffic type and ingress packet label and applies the commands listed in Examples: Global Auto-QoS Configuration to the port.
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.
How to Configure Auto-QoS
Configuring Auto-QoS
Enabling Auto-QoS
For optimum QoS performance, enable auto-QoS on all the devices in your network.
DETAILED STEPS
Troubleshooting Auto-QoS
To display the QoS commands that are automatically generated when auto-QoS is enabled or disabled, enter the debug auto qos privileged EXEC command before you enable auto-QoS. 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.
Note | Auto-QoS generated global commands can also be removed manually if desired. |
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).
You can use the no mls qos global configuration command to disable the auto-QoS-generated global configuration commands. With QoS disabled, there is no concept of trusted or untrusted ports because the packets are not modified (the CoS, DSCP, and IP precedence values in the packet are not changed). Traffic is switched in pass-through mode (packets are switched without any rewrites and classified as best effort without any policing).
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. |
|
show mls qos [ aggregate policer | interface | maps | queue-set | stack-port | stack-qset | vlan ] |
Displays information about the QoS configuration that might be affected by auto-QoS. |
show mls qos aggregate policer policer_name |
Displays information about the QoS aggregate policer configuration that might be affected by auto-QoS. |
show mls qos interface [interface-type | buffers | policers | queueing | statistics ] |
Displays information about the QoS interface configuration that might be affected by auto-QoS. |
show mls qos maps [cos-dscp | cos-output-q | dscp-cos | dscp-mutation | dscp-output-q | ip-prec-dscp | policed-dscp ] |
Displays information about the QoS maps configuration that might be affected by auto-QoS. |
Displays information about the QoS queue-set configuration that might be affected by auto-QoS. |
|
show mls qos stack-port buffers |
Displays information about the QoS stack port buffer configuration that might be affected by auto-QoS. |
show mls qos stack-qset |
Displays information about the QoS stack queue set configuration that might be affected by auto-QoS. |
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. |
Configuration Examples for Auto-Qos
Examples: Global Auto-QoS Configuration
Enhanced Automatically Generated Command {Video|Trust|Classify} |
||
---|---|---|
The switch automatically enables standard QoS and configures the CoS-to-DSCP map (maps CoS values in incoming packets to a DSCP value). |
Switch(config)# mls qos Switch(config)# mls qos map cos-dscp 0 8 16 26 32 46 48 56 |
Switch(config)# mls qos Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56 |
The switch automatically maps CoS values to an egress queue and to a threshold ID. |
Switch(config)# no mls qos srr-queue output cos-map Switch(config)# mls qos srr-queue output cos-map queue 1 threshold 3 5 Switch(config)# mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7 Switch(config)# mls qos srr-queue output cos-map queue 3 threshold 3 2 4 Switch(config)# mls qos srr-queue output cos-map queue 4 threshold 2 1 Switch(config)# mls qos srr-queue output cos-map queue 4 threshold 3 0 |
Switch(config)# no mls qos srr-queue output cos-map Switch(config)# mls qos srr-queue output cos-map queue 1 threshold 3 4 5 Switch(config)# mls qos srr-queue output cos-map queue 2 threshold 3 6 7 Switch(config)# mls qos srr-queue output cos-map queue 2 threshold 1 2 Switch(config)# mls qos srr-queue output cos-map queue 2 threshold 2 3 Switch(config)# mls qos srr-queue output cos-map queue 3 threshold 3 0 Switch(config)# mls qos srr-queue output cos-map queue 4 threshold 3 1 |
The switch automatically maps DSCP values to an egress queue and to a threshold ID. |
Switch(config)# no mls qos srr-queue output dscp-map Switch(config)# mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63 Switch(config)# mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23 Switch(config)# mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39 Switch(config)# mls qos srr-queue output dscp-map queue 4 threshold 1 8 Switch(config)# mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15 Switch(config)# mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7 |
Switch(config)# no mls qos srr-queue output dscp-map Switch(config)# mls qos srr-queue output dscp-map queue 1 threshold 3 32 33 40 41 42 43 44 45 46 47 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 1 26 27 28 29 30 31 34 35 36 37 38 39 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 2 24 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55 56 Switch(config)# mls qos srr-queue output dscp-map queue 2 threshold 3 57 58 59 60 61 62 63 Switch(config)# mls qos srr-queue output dscp-map queue 3 threshold 3 0 1 2 3 4 5 6 7 Switch(config)# mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 11 13 15 Switch(config)# mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14 |
The switch automatically configures the egress queue buffer sizes. It configures the bandwidth and the SRR mode (shaped or shared) on the egress queues mapped to the port. |
Switch(config)# mls qos queue-set output 1 threshold 1 138 138 92 138 Switch(config)# mls qos queue-set output 1 threshold 2 138 138 92 400 Switch(config)# mls qos queue-set output 1 threshold 3 36 77 100 318 Switch(config)# mls qos queue-set output 1 threshold 4 20 50 67 400 Switch(config)# mls qos queue-set output 2 threshold 1 149 149 100 149 Switch(config)# mls qos queue-set output 2 threshold 2 118 118 100 235 Switch(config)# mls qos queue-set output 2 threshold 3 41 68 100 272 Switch(config)# mls qos queue-set output 2 threshold 4 42 72 100 242 Switch(config)# mls qos queue-set output 1 buffers 10 10 26 54 Switch(config)# mls qos queue-set output 2 buffers 16 6 17 61 Switch(config-if)# priority-queue out Switch(config-if)# srr-queue bandwidth share 10 10 60 20 |
Switch(config)# mls qos queue-set output 1 threshold 2 100 100 50 200 Switch(config)# mls qos queue-set output 1 threshold 2 125 125 100 400 Switch(config)# mls qos queue-set output 1 threshold 3 100 100 100 400 Switch(config)# mls qos queue-set output 1 threshold 4 60 150 50 200 Switch(config)# mls qos queue-set output 1 buffers 15 25 40 20 |
Examples: Auto-QoS Generated Configuration for VoIP Devices
If you entered the auto qos voip cisco-phone command, the switch automatically enables the trusted boundary feature, which uses the CDP to detect the presence or absence of a Cisco IP Phone.
Switch(config-if)# mls qos trust device cisco-phone
If you entered the auto qos voip cisco-softphone command, the switch automatically creates class maps and policy maps.
Switch(config)# mls qos map policed-dscp 24 26 46 to 0 Switch(config)# class-map match-all AutoQoS-VoIP-RTP-Trust Switch(config-cmap)# match ip dscp ef Switch(config)# class-map match-all AutoQoS-VoIP-Control-Trust Switch(config-cmap)# match ip dscp cs3 af31 Switch(config)# policy-map AutoQoS-Police-SoftPhone Switch(config-pmap)# class AutoQoS-VoIP-RTP-Trust Switch(config-pmap-c)# set dscp ef Switch(config-pmap-c)# police 320000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AutoQoS-VoIP-Control-Trust Switch(config-pmap-c)# set dscp cs3 Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit
After creating the class maps and policy maps, the switch automatically applies the policy map called AutoQoS-Police-SoftPhone to an ingress interface on which auto-QoS with the Cisco SoftPhone feature is enabled.
Switch(config-if)# service-policy input AutoQoS-Police-SoftPhone
If you entered the auto qos voip cisco-phone command, the switch automatically creates class maps and policy maps.
Switch(config-if)# mls qos trust device cisco-phone
If you entered the auto qos voip cisco-softphone command, the switch automatically creates class maps and policy maps.
Switch(config)# mls qos map policed-dscp 24 26 46 to 0 Switch(config)# class-map match-all AutoQoS-VoIP-RTP-Trust Switch(config-cmap)# match ip dscp ef Switch(config)# class-map match-all AutoQoS-VoIP-Control-Trust Switch(config-cmap)# match ip dscp cs3 af31 Switch(config)# policy-map AutoQoS-Police-CiscoPhone Switch(config-pmap)# class AutoQoS-VoIP-RTP-Trust Switch(config-pmap-c)# set dscp ef Switch(config-pmap-c)# police 320000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AutoQoS-VoIP-Control-Trust Switch(config-pmap-c)# set dscp cs3 Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit
After creating the class maps and policy maps, the switch automatically applies the policy map called AutoQoS-Police-SoftPhone to an ingress interface on which auto-QoS with the Cisco SoftPhone feature is enabled.
Switch(config-if)# service-policy input AutoQoS-Police-SoftPhone
Examples: Auto-QoS Generated Configuration For Enhanced Video, Trust, and Classify Devices
If you entered the following enhanced auto-QoS commands, the switch configures a CoS-to-DSCP map (maps CoS values in incoming packets to a DSCP value):
-
The following command is initiated after entering one of the above auto-QoS commands:
Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56
NoteNo class maps and policy maps are configured.
If you entered the auto qos classify command, the switch automatically creates class maps and policy maps (as shown below).
Switch(config)# mls qos map policed-dscp 0 10 18 24 26 46 to 8 Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56 Switch(config)# class-map match-all AUTOQOS_MULTIENHANCED_CONF_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-MULTIENHANCED-CONF Switch(config)# class-map match-all AUTOQOS_DEFAULT_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-DEFAULT Switch(config)# class-map match-all AUTOQOS_TRANSACTION_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-TRANSACTIONAL-DATA Switch(config)# class-map match-all AUTOQOS_SIGNALING_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-SIGNALING Switch(config)# class-map match-all AUTOQOS_BULK_DATA_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-BULK-DATA Switch(config)# class-map match-all AUTOQOS_SCAVANGER_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-SCAVANGER Switch(config)# policy-map AUTOQOS-SRND4-CLASSIFY-POLICY Switch(config-pmap)# class AUTOQOS_MULTIENHANCED_CONF_CLASS Switch(config-pmap-c)# set dscp af41 Switch(config-pmap)# class AUTOQOS_BULK_DATA_CLASS Switch(config-pmap-c)# set dscp af11 Switch(config-pmap)# class AUTOQOS_TRANSACTION_CLASS Switch(config-pmap-c)# set dscp af21 Switch(config-pmap)# class AUTOQOS_SCAVANGER_CLASS Switch(config-pmap-c)# set dscp cs1 Switch(config-pmap)# class AUTOQOS_SIGNALING_CLASS Switch(config-pmap-c)# set dscp cs3 Switch(config-pmap)# class AUTOQOS_DEFAULT_CLASS Switch(config-pmap-c)# set dscp default ; Switch(config-if)# service-policy input AUTOQOS-SRND4-CLASSIFY-POLICY
If you entered the auto qos classify police command, the switch automatically creates class maps and policy maps (as shown below).
Switch(config)# mls qos map policed-dscp 0 10 18 24 26 46 to 8 Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56 Switch(config)# class-map match-all AUTOQOS_MULTIENHANCED_CONF_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-MULTIENHANCED-CONF Switch(config)# class-map match-all AUTOQOS_DEFAULT_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-DEFAULT Switch(config)# class-map match-all AUTOQOS_TRANSACTION_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-TRANSACTIONAL-DATA Switch(config)# class-map match-all AUTOQOS_SIGNALING_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-SIGNALING Switch(config)# class-map match-all AUTOQOS_BULK_DATA_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-BULK-DATA Switch(config)# class-map match-all AUTOQOS_SCAVANGER_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-SCAVANGER Switch(config)# policy-map AUTOQOS-SRND4-CLASSIFY-POLICE-POLICY Switch(config-pmap)# class AUTOQOS_MULTIENHANCED_CONF_CLASS Switch(config-pmap-c)# set dscp af41 Switch(config-pmap-c)# police 5000000 8000 exceed-action drop Switch(config-pmap)# class AUTOQOS_BULK_DATA_CLASS Switch(config-pmap-c)# set dscp af11 Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AUTOQOS_TRANSACTION_CLASS Switch(config-pmap-c)# set dscp af21 Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AUTOQOS_SCAVANGER_CLASS Switch(config-pmap-c)# set dscp cs1 Switch(config-pmap-c)# police 10000000 8000 exceed-action drop Switch(config-pmap)# class AUTOQOS_SIGNALING_CLASS Switch(config-pmap-c)# set dscp cs3 Switch(config-pmap-c)# police 32000 8000 exceed-action drop Switch(config-pmap)# class AUTOQOS_DEFAULT_CLASS Switch(config-pmap-c)# set dscp default Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit ; Switch(config-if)# service-policy input AUTOQOS-SRND4-CLASSIFY-POLICE-POLICY
This is the enhanced configuration for the auto qos voip cisco-phone command:
Switch(config)# mls qos map policed-dscp 0 10 18 24 26 46 to 8 Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56 Switch(config)# class-map match-all AUTOQOS_VOIP_DATA_CLASS Switch(config-cmap)# match ip dscp ef Switch(config)# class-map match-all AUTOQOS_DEFAULT_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-DEFAULT Switch(config)# class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS Switch(config-cmap)# match ip dscp cs3 Switch(config)# policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY Switch(config-pmap)# class AUTOQOS_VOIP_DATA_CLASS Switch(config-pmap-c)# set dscp ef Switch(config-pmap-c)# police 128000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AUTOQOS_VOIP_SIGNAL_CLASS Switch(config-pmap-c)# set dscp cs3 Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AUTOQOS_DEFAULT_CLASS Switch(config-pmap-c)# set dscp default Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit ; Switch(config-if)# service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
This is the enhanced configuration for the auto qos voip cisco-softphone command:
Switch(config)# mls qos map policed-dscp 0 10 18 24 26 46 to 8 Switch(config)# mls qos map cos-dscp 0 8 16 24 32 46 48 56 Switch(config)# class-map match-all AUTOQOS_MULTIENHANCED_CONF_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-MULTIENHANCED-CONF Switch(config)# class-map match-all AUTOQOS_VOIP_DATA_CLASS Switch(config-cmap)# match ip dscp ef Switch(config)# class-map match-all AUTOQOS_DEFAULT_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-DEFAULT Switch(config)# class-map match-all AUTOQOS_TRANSACTION_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-TRANSACTIONAL-DATA Switch(config)# class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS Switch(config-cmap)# match ip dscp cs3 Switch(config)# class-map match-all AUTOQOS_SIGNALING_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-SIGNALING Switch(config)# class-map match-all AUTOQOS_BULK_DATA_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-BULK-DATA Switch(config)# class-map match-all AUTOQOS_SCAVANGER_CLASS Switch(config-cmap)# match access-group name AUTOQOS-ACL-SCAVANGER Switch(config)# policy-map AUTOQOS-SRND4-SOFTPHONE-POLICY Switch(config-pmap)# class AUTOQOS_VOIP_DATA_CLASS Switch(config-pmap-c)# set dscp ef Switch(config-pmap-c)# police 128000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AUTOQOS_VOIP_SIGNAL_CLASS Switch(config-pmap-c)# set dscp cs3 Switch(config-pmap-c)# police 32000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)#class AUTOQOS_MULTIENHANCED_CONF_CLASS Switch(config-pmap-c)#set dscp af41 Switch(config-pmap-c)# police 5000000 8000 exceed-action drop Switch(config-pmap)# class AUTOQOS_BULK_DATA_CLASS Switch(config-pmap-c)# set dscp af11 Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AUTOQOS_TRANSACTION_CLASS Switch(config-pmap-c)# set dscp af21 Switch(config-pmap-c)# police 10000000 8000 exceed-action policed-dscp-transmit Switch(config-pmap)# class AUTOQOS_SCAVANGER_CLASS Switch(config-pmap-c)# set dscp cs1 Switch(config-pmap-c)# police 10000000 8000 exceed-action drop Switch(config-pmap)# class AUTOQOS_SIGNALING_CLASS Switch(config-pmap-c)# set dscp cs3 Switch(config-pmap-c)# police 32000 8000 exceed-action drop Switch(config-pmap)# class AUTOQOS_DEFAULT_CLASS Switch(config-pmap-c)# set dscp default ; Switch(config-if)# service-policy input AUTOQOS-SRND4-SOFTPHONE-POLICY
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
Related Documents
Related Topic | Document Title |
---|---|
For complete syntax and usage information for the commands used in this book. |
Catalyst 2960-XR Switch Quality of Service Command Reference |
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 15.0(2)EX1 |
This feature was introduced. |