Configuring Auto-QoS

Contents

Configuring Auto-QoS

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release.

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 restrictions for standard QoS.

Restrictions for Auto-QoS

The restrictions for auto-QoS are the same as the restrictions for standard QoS.

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. Inbound, the switch port needs to trust the DSCP in the packet (done by default). 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 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

The following tables display the auto-QoS policy and class maps. After entering the appropriate auto-QoS command, the following actions occur:

  • Specific class maps are created.
  • Specific policy maps (input and output) are created.
  • Policy maps are attached to the specified interface.
  • Trust level for the interface is configured.

auto qos classify command

This table summarizes the input directional policies that are generated based on the auto qos class classify command.

Table 1 auto qos classify Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Classify-Input-Policy
 class AutoQos-4.0-Multimedia-Conf-Class
   set dscp af41
 class AutoQos-4.0-Bulk-Data-Class
   set dscp af11
 class AutoQos-4.0-Transaction-Class
   set dscp af21
 class AutoQos-4.0-Scavanger-Class
   set dscp cs1
 class AutoQos-4.0-Signaling-Class
   set dscp cs3
 class AutoQos-4.0-Default-Class
   set dscp default

class-map match-all AutoQos-4.0-Multimedia-Conf-Class
  match access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf

class-map match-all AutoQos-4.0-Bulk-Data-Class
  match access-group name AutoQos-4.0-Acl-Bulk-Data

class-map match-all AutoQos-4.0-Transaction-Class
  match access-group name AutoQos-4.0-Acl-Transactional-Data

class-map match-all AutoQos-4.0-Scavanger-Class
  match access-group name AutoQos-4.0-Acl-Scavanger

class-map match-all AutoQos-4.0-Signaling-Class
  match access-group name AutoQos-4.0-Acl-Signaling

class-map match-all AutoQos-4.0-Default-Class
  match access-group name AutoQos-4.0-Acl-Default

This table summarizes the output directional policies that are generated based on the auto qos class classify command.

Table 2 auto qos classify Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos classify police command

This table summarizes the input directional policies that are generated based on the auto qos class classify police command.

Table 3 auto qos classify police Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Classify-Police-Input-Policy
 class AutoQos-4.0-Multimedia-Conf-Class
   set dscp af41
    police cir 5000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Bulk-Data-Class
   set dscp af11
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Transaction-Class
   set dscp af21
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Scavanger-Class
   set dscp cs1
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Signaling-Class
   set dscp cs3
    police cir 32000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Default-Class
   set dscp default
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop

class-map match-all AutoQos-4.0-Multimedia-Conf-Class
  match access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf

class-map match-all AutoQos-4.0-Bulk-Data-Class
  match access-group name AutoQos-4.0-Acl-Bulk-Data

class-map match-all AutoQos-4.0-Transaction-Class
  match access-group name AutoQos-4.0-Acl-Transactional-Data

class-map match-all AutoQos-4.0-Scavanger-Class
  match access-group name AutoQos-4.0-Acl-Scavanger

class-map match-all AutoQos-4.0-Signaling-Class
  match access-group name AutoQos-4.0-Acl-Signaling

class-map match-all AutoQos-4.0-Default-Class
  match access-group name AutoQos-4.0-Acl-Default

This table summarizes the output directional policies that are generated based on the auto qos class classify police command.

Table 4 auto qos classify police Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos trust command

This table summarizes the input directional policies that are generated based on the auto qos trust command.

Table 5 auto qos trust Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Trust-Cos-Input-Policy
 class class-default
   set cos cos table AutoQos-4.0-Trust-Cos-Table

 Table Map AutoQos-4.0-Trust-Cos-Table
    default copy

This table summarizes the output directional policies that are generated based on the auto qos trust command.

Table 6 auto qos trust command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos trust cos command

This table summarizes the input directional policies that are generated based on the auto qos trust cos command.

Table 7 auto qos trust cos Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Trust-Cos-Input-Policy
 class class-default
   set cos cos table AutoQos-4.0-Trust-Cos-Table

Table Map AutoQos-4.0-Trust-Cos-Table
    default copy

This table summarizes the output directional policies that are generated based on the auto qos trust cos command.

Table 8 auto qos trust cos Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos trust dscp command

This table summarizes the input directional policies that are generated based on the auto qos trust dscp command.

Table 9 auto qos trust dscp Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Trust-Dscp-Input-Policy
 class class-default
   set dscp dscp table AutoQos-4.0-Trust-Dscp-Table

Table Map AutoQos-4.0-Trust-Dscp-Table
    default copy

This table summarizes the output directional policies that are generated based on the auto qos trust dscp command.

Table 10 auto qos trust dscp Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos video cts command

This table summarizes the input directional policies that are generated based on the auto qos video cts command.

Table 11 auto qos video cts Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Trust-Cos-Input-Policy
 class class-default
   set cos cos table AutoQos-4.0-Trust-Cos-Table

 
Table Map AutoQos-4.0-Trust-Cos-Table
    default copy

This table summarizes the output directional policies that are generated based on the auto qos video cts command.

Table 12 auto qos video cts Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos video ip-camera command

This table summarizes the input directional policies that are generated based on the auto qos video ip-camera command.

Table 13 auto qos video ip-camera Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Trust-Dscp-Input-Policy
 class class-default
   set dscp dscp table AutoQos-4.0-Trust-Dscp-Table

Table Map AutoQos-4.0-Trust-Dscp-Table
    default copy

This table summarizes the output directional policies that are generated based on the auto qos video ip-camera command.

Table 14 auto qos video ip-camera Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos video media-player command

This table summarizes the input directional policies that are generated based on the auto qos video media-player command.

Table 15 auto qos video media-player Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Trust-Dscp-Input-Policy
 class class-default
   set dscp dscp table AutoQos-4.0-Trust-Dscp-Table

Table Map AutoQos-4.0-Trust-Dscp-Table
    default copy

This table summarizes the output directional policies that are generated based on the auto qos video media-player command.

Table 16 auto qos video media-player Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos voip cisco-phone command

This table summarizes the input directional policies that are generated based on the auto qos voip cisco-phone command.

Table 17 auto qos voip cisco-phone Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-CiscoPhone-Input-Policy
 class AutoQos-4.0-Voip-Data-Class
   set ip dscp ef
    police cir 128000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Voip-Signal-Class
   set ip dscp cs3
    police cir 32000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Default-Class
   set dscp default
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop

class-map match-all AutoQos-4.0-Voip-Data-Class
  match ip dscp ef

class-map match-all AutoQos-4.0-Voip-Signal-Class
  match ip dscp cs3

class-map match-all AutoQos-4.0-Default-Class
  match access-group name AutoQos-4.0-Acl-Default

This table summarizes the output directional policies that are generated based on the auto qos voip cisco-phone command.

Table 18 auto qos voip cisco-phone Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos voip cisco-softphone command

This table summarizes the input directional policies that are generated based on the auto qos voip cisco-softphone command.

Table 19 auto qos voip cisco-softphone Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-CiscoSoftPhone-Input-Policy
 class AutoQos-4.0-Voip-Data-Class
   set ip dscp ef
    police cir 128000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Voip-Signal-Class
   set ip dscp cs3
    police cir 32000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Multimedia-Conf-Class
   set dscp af41
    police cir 5000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Bulk-Data-Class
   set dscp af11
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Transaction-Class
   set dscp af21
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Scavanger-Class
   set dscp cs1
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Signaling-Class
   set dscp cs3
    police cir 32000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop
 class AutoQos-4.0-Default-Class
   set dscp default
    police cir 10000000 bc 8000
      conform-action transmit
      exceed-action set-dscp-transmit dscp table policed-dscp
      violate-action drop

class-map match-all AutoQos-4.0-Voip-Data-Class
  match ip dscp ef

class-map match-all AutoQos-4.0-Voip-Signal-Class
  match ip dscp cs3

class-map match-all AutoQos-4.0-Multimedia-Conf-Class
  match access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf

class-map match-all AutoQos-4.0-Bulk-Data-Class
  match access-group name AutoQos-4.0-Acl-Bulk-Data

class-map match-all AutoQos-4.0-Transaction-Class
  match access-group name AutoQos-4.0-Acl-Transactional-Data

class-map match-all AutoQos-4.0-Scavanger-Class
  match access-group name AutoQos-4.0-Acl-Scavanger

class-map match-all AutoQos-4.0-Signaling-Class
  match access-group name AutoQos-4.0-Acl-Signaling

class-map match-all AutoQos-4.0-Default-Class
  match access-group name AutoQos-4.0-Acl-Default

This table summarizes the output directional policies that are generated based on the auto qos voip cisco-softphone command.

Table 20 auto qos voip cisco-softphone Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

auto qos voip trust command

This table summarizes the input directional policies that are generated based on the auto qos voip trust command.

Table 21 auto qos voip trust Command - Input Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Trust-Cos-Input-Policy
 class class-default
   set cos cos table AutoQos-4.0-Trust-Cos-Table

 Table Map AutoQos-4.0-Trust-Cos-Table
    default copy

This table summarizes the output directional policies that are generated based on the auto qos voip trust command.

Table 22 auto qos voip trust Command - Output Direction

Policy Map Generated

Class Map Generated

policy-map AutoQos-4.0-Output-Policy
 class AutoQos-4.0-Output-Priority-Queue
    priority level 1 percent 30
 class AutoQos-4.0-Output-Control-Mgmt-Queue
    bandwidth remaining percent 10
    queue-limit dscp  cs2 percent 80
    queue-limit dscp  cs3 percent 90
    queue-limit dscp  cs6 percent 100
    queue-limit dscp  cs7 percent 100
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Conf-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Trans-Data-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Bulk-Data-Queue
    bandwidth remaining percent 4
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Scavenger-Queue
    bandwidth remaining percent 1
    queue-buffers ratio 10
 class AutoQos-4.0-Output-Multimedia-Strm-Queue
    bandwidth remaining percent 10
    queue-buffers ratio 10
 class class-default
    bandwidth remaining percent 25
    queue-buffers ratio 25

class-map match-any AutoQos-4.0-Output-Priority-Queue
  match  dscp cs4  cs5  ef
  match cos  5

class-map match-any AutoQos-4.0-Output-Control-Mgmt-Queue
  match  dscp cs3  cs6  cs7
  match cos  3

class-map match-any AutoQos-4.0-Output-Multimedia-Conf-Queue
  match  dscp af41  af42  af43
  match cos  4

class-map match-any AutoQos-4.0-Output-Trans-Data-Queue
  match  dscp af21  af22  af23
  match cos  2

class-map match-any AutoQos-4.0-Output-Bulk-Data-Queue
  match  dscp af11  af12  af13
  match cos  1

class-map match-any AutoQos-4.0-Output-Scavenger-Queue
  match  dscp cs1

class-map match-any AutoQos-4.0-Output-Multimedia-Strm-Queue
  match  dscp af31  af32  af33

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

For optimum QoS performance, configure auto-QoS on all the devices in your network.

SUMMARY STEPS

    1.    configure terminal

    2.    interface interface-id

    3.    Depending on your auto-Qos configuration, use one of the following commands:

    • auto qos voip {cisco-phone | cisco-softphone | trust}
    • auto qos video {cts | ip-camera | media-player}
    • auto qos classify [police]
    • auto qos trust {cos | dscp}

    4.    end

    5.    show auto qos interface interface-id


DETAILED STEPS
     Command or ActionPurpose
    Step 1configure terminal


    Example:
    
    Switch# configure terminal
    
    
     

    Enters the global configuration mode.

     
    Step 2interface interface-id


    Example:
    
    Switch(config)# interface 
    gigabitethernet 3/0/1
    
    
     

    Specifies the port that is connected to a VoIP port, video device, or the uplink port that is connected to another trusted switch or router in the network interior, and enters the interface configuration mode.

     
    Step 3Depending on your auto-Qos configuration, use one of the following commands:
    • auto qos voip {cisco-phone | cisco-softphone | trust}
    • auto qos video {cts | ip-camera | media-player}
    • auto qos classify [police]
    • auto qos trust {cos | dscp}


    Example:
    Switch(config-if)# auto qos trust dscp
    
    
     

    The following commands enable auto-QoS for VoIP:

    • auto qos voip cisco-phone—If the port is connected to a Cisco IP Phone, the QoS labels of incoming packets are only trusted (conditional trust through CDP) when the telephone is detected.
    • auto qos voip cisco-softphone—The port is connected to device running the Cisco SoftPhone feature. This command generates a QoS configuration for interfaces connected to PCs running the Cisco IP SoftPhone application and mark, as well as police traffic coming from such interfaces. Ports configured with this command are considered untrusted
    • auto qos voip trust—The uplink port is connected to a trusted switch or router, and the VoIP traffic classification in the ingress packet is trusted.

    The following commands enable auto-QoS for the specified video device (system, camera, or media player):

    • auto qos video cts—A port connected to a Cisco Telepresence system. QoS labels of incoming packets are only trusted (conditional trust through CDP) when a Cisco TelePresence is detected
    • auto qos video ip-camera—A port connected to a Cisco video surveillance camera. QoS labels of incoming packets are only trusted (conditional trust through CDP) when a Cisco camera is detected.
    • auto qos video media-player—A port connected to a CDP-capable Cisco digital media player. QoS labels of incoming packets are only trusted (conditional trust through CDP) when a digital media player is detected.

    The following command enables auto-QoS for classification:

    • auto qos classify police— This command generates a QoS configuration for untrusted interfaces. It will put a service-policy to classify the traffic coming from untrusted desktops/devices and mark them accordingly. The service-policies generated do police.

    The following commands enable auto-QoS for trusted interfaces:

    • auto qos trust cos—Class of service.
    • auto qos trust dscp—Differentiated Services Code Point.
    • <cr>—Trust interface.
     
    Step 4end


    Example:
    
    Switch(config-if)# end
    
    
     

    Returns to privileged EXEC mode.

     
    Step 5show auto qos interface interface-id


    Example:
    
    Switch# show auto qos interface 
    gigabitethernet 3/0/1
    
    
     

    (Optional) Verifies your entries.

    This command displays the auto-QoS command on the interface on which auto-QoS was enabled. You can use the show running-config privileged EXEC command to display the auto-QoS configuration and the user modifications.

     

    Monitoring Auto-QoS

    Table 23 Commands for Monitoring Auto-QoS

    Command

    Description

    show auto qos [interface [interface-id]]

    Displays the initial auto-QoS configuration.

    You can compare the show auto qos and the show running-config command output to identify the user-defined QoS settings.

    show running-config

    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.

    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:

    • AutoQos-4.0-Trust-Cos-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • class-default (match-any)
    • AutoQos-4.0-Output-Priority-Queue (match-any)
    • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
    • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
    • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
    • AutoQos-4.0-Output-Scavenger-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
    Switch(config)# interface gigabitEthernet1/0/17
    Switch(config-if)# auto qos trust cos
    Switch(config-if)# end
    Switch# 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)
          Match: any
          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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-Trust-Dscp-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • class-default (match-any)
    • AutoQos-4.0-Output-Priority-Queue (match-any)
    • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
    • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
    • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
    • AutoQos-4.0-Output-Scavenger-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
    Switch(config)# interface GigabitEthernet1/0/18
    Switch(config-if)# auto qos trust dscp
    Switch(config-if)# end
    Switch#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)
          Match: any
          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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-Trust-Cos-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • class-default (match-any)
    • AutoQos-4.0-Output-Priority-Queue (match-any)
    • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
    • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
    • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
    • AutoQos-4.0-Output-Scavenger-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
    
    Switch(config)# interface gigabitEthernet1/0/12
    Switch(config-if)# auto qos video cts
    Switch(config-if)# end
    Switch# 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)
          Match: any
          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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-Trust-Dscp-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • class-default (match-any)
    • AutoQos-4.0-Output-Priority-Queue (match-any)
    • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
    • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
    • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
    • AutoQos-4.0-Output-Scavenger-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
    Switch(config)# interface GigabitEthernet1/0/9
    Switch(config-if)# auto qos video ip-camera
    Switch(config-if)# end
    Switch# 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)
          Match: any
          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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-Trust-Dscp-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • class-default (match-any)
    • AutoQos-4.0-Output-Priority-Queue (match-any)
    • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
    • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
    • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
    • AutoQos-4.0-Output-Scavenger-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
    Switch(config)# interface GigabitEthernet1/0/7
    Switch(config-if)# auto qos video media-player
    Switch(config-if)# end
    Switch# 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)
          Match: any
          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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-Trust-Cos-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • class-default (match-any)
    • AutoQos-4.0-Output-Priority-Queue (match-any)
    • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
    • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
    • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
    • AutoQos-4.0-Output-Scavenger-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
    
    Switch(config)# interface gigabitEthernet1/0/31
    Switch(config-if)# auto qos voip trust
    Switch(config-if)# end
    Switch# 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)
          Match: any
          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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-CiscoPhone-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • AutoQos-4.0-Voip-Data-Class (match-any)
    • AutoQos-4.0-Voip-Signal-Class (match-any)
    • AutoQos-4.0-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)
    Switch(config)# interface gigabitEthernet1/0/5
    Switch(config-if)# auto qos voip cisco-phone
    Switch(config-if)# end
    Switch# 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-Class (match-any)
          Match: ip dscp ef (46)
          QoS Set
            ip dscp ef
          police:
              cir 128000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Voip-Signal-Class (match-any)
          Match: ip dscp cs3 (24)
          QoS Set
            ip dscp cs3
          police:
              cir 32000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Default-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Default
          QoS Set
            dscp default
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: class-default (match-any)
          Match: any
    
      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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-CiscoSoftPhone-Input-Policy
    • AutoQos-4.0-Output-Policy

    The following class maps are created and applied when running this command:

    • AutoQos-4.0-Voip-Data-Class (match-any)
    • AutoQos-4.0-Voip-Signal-Class (match-any)
    • AutoQos-4.0-Multimedia-Conf-Class (match-any)
    • AutoQos-4.0-Bulk-Data-Class (match-any)
    • AutoQos-4.0-Transaction-Class (match-any)
    • AutoQos-4.0-Scavanger-Class (match-any)
    • AutoQos-4.0-Signaling-Class (match-any)
    • AutoQos-4.0-Default-Class (match-any)
    • class-default (match-any)
    • AutoQos-4.0-Output-Priority-Queue (match-any)
    • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
    • AutoQos-4.0-Output-Trans-Data-Queue (match-any)
    • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
    • AutoQos-4.0-Output-Scavenger-Queue (match-any)
    • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
    Switch(config)# interface gigabitEthernet1/0/20
    Switch(config-if)# auto qos voip cisco-softphone
    Switch(config-if)# end
    Switch# 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)
          Match: ip dscp ef (46)
          QoS Set
            ip dscp ef
          police:
              cir 128000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Voip-Signal-Class (match-any)
          Match: ip dscp cs3 (24)
          QoS Set
            ip dscp cs3
          police:
              cir 32000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Multimedia-Conf-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf
          QoS Set
            dscp af41
          police:
              cir 5000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Bulk-Data-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Bulk-Data
          QoS Set
            dscp af11
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Transaction-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Transactional-Data
          QoS Set
            dscp af21
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Scavanger-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Scavanger
          QoS Set
            dscp cs1
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Signaling-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Signaling
          QoS Set
            dscp cs3
          police:
              cir 32000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Default-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Default
          QoS Set
            dscp default
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: class-default (match-any)
          Match: any
    
      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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          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:

    • AutoQos-4.0-Classify-Police-Input-Policy
    • AutoQos-4.0-Output-Policy

    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)
    Switch(config)# interface gigabitEthernet1/0/6
    Switch(config-if)# auto qos classify police
    Switch(config-if)# end
    Switch# 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)
          Match: access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf
          QoS Set
            dscp af41
          police:
              cir 5000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Bulk-Data-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Bulk-Data
          QoS Set
            dscp af11
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Transaction-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Transactional-Data
          QoS Set
            dscp af21
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Scavanger-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Scavanger
          QoS Set
            dscp cs1
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Signaling-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Signaling
          QoS Set
            dscp cs3
          police:
              cir 32000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: AutoQos-4.0-Default-Class (match-any)
          Match: access-group name AutoQos-4.0-Acl-Default
          QoS Set
            dscp default
          police:
              cir 10000000 bps, bc 8000 bytes, be 8000 bytes
            conformed 0 bytes; actions:
              transmit
            exceeded 0 bytes; actions:
              set-dscp-transmit dscp table policed-dscp
            violated 0 bytes; actions:
              drop
            conformed 0000 bps, exceed 0000 bps, violate 0000 bps
    
        Class-map: class-default (match-any)
          Match: any
    
      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)
          Match:  dscp cs4 (32) cs5 (40) ef (46)
          Match: cos  5
          Priority: 30% (300000 kbps), burst bytes 7500000,
    
          Priority Level: 1
    
        Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
          Match:  dscp cs3 (24) cs6 (48) cs7 (56)
          Match: cos  3
          Queueing
          queue-limit dscp 16 percent 80
          queue-limit dscp 24 percent 90
          queue-limit dscp 48 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)
          Match:  dscp af41 (34) af42 (36) af43 (38)
          Match: cos  4
          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)
          Match:  dscp af21 (18) af22 (20) af23 (22)
          Match: cos  2
          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)
          Match:  dscp af11 (10) af12 (12) af13 (14)
          Match: cos  1
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 4%
          queue-buffers ratio 10
    
        Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
          Match:  dscp cs1 (8)
          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)
          Match:  dscp af31 (26) af32 (28) af33 (30)
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 10%
          queue-buffers ratio 10
    
        Class-map: class-default (match-any)
          Match: any
          Queueing
    
          (total drops) 0
          (bytes output) 0
          bandwidth remaining 25%
          queue-buffers ratio 25
    
    
    

    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

    QoS CLI commands

    QoS Command Reference (Catalyst 3850 Switches)

    Platform-independent configuration information

    QoS: AutoQoS Configuration Guide, Cisco IOS XE Release 3SE (Catalyst 3850 Switches)

    Standards and RFCs

    Standard/RFC Title

    Not applicable

    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:

    http:/​/​www.cisco.com/​go/​mibs

    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.

    http:/​/​www.cisco.com/​support

    Feature History and Information for Auto-QoS

    This table lists the features in this module and provides links to specific configuration information.

    Table 24 Feature History and Information for Auto-QoS

    Feature Name

    Release

    Feature Information

    auto-QoS functionality

    Cisco IOS XE 3.2SE

    The following functionality is supported:

    • auto-QoS for wired targets
    • auto-QoS for wireless targets