Configuring 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

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

Restrictions for Auto-QoS

The following are restrictions for auto-QoS:

  • Auto-qos is not supported on SVI interfaces.

  • Auto-qos is not supported on interfaces which are bundled in an EtherChannel.

  • The trust device device_type interface configuration command is only supported in an auto-QoS configuration, and not as a stand-alone command on the switch. When using the trust device device_type interface configuration command in an auto-QoS configuration, if the connected peer device is not a corresponding device (defined as a device matching your trust policy), both CoS and DSCP values are set to "0" and any input policy will not take effect.
  • You must exercise caution when copying a pre-3.2.2 software version to this switch. If you do copy a pre-3.2.2 software version to this switch, then you must follow the auto-QoS upgrade procedure described later in this chapter.

Related Tasks
Upgrading Auto-QoS (CLI)

Information About Configuring Auto-QoS

Auto-QoS Overview

You can use the auto-QoS feature to simplify the deployment of QoS features. Auto-QoS determines the network design and enables QoS configurations so that the switch can prioritize different traffic flows.

The switch employs the MQC model. This means that instead of using certain global configurations, auto-QoS applied to any interface on a switch configures several global class maps and policy maps.

Auto-QoS matches traffic and assigns each matched packet to qos-groups. This allows the output policy map to put specific qos-groups into specific queues, including into the priority queue.

QoS is needed in both directions, both on inbound and outbound. When inbound, the switch port needs to trust the DSCP in the packet (done by default). When outbound, the switch port needs to give voice packets "front of line" priority. If voice is delayed too long by waiting behind other packets in the outbound queue, the end host drops the packet because it arrives outside of the receive window for that packet.

Auto-QoS Compact Overview

When you enter an auto-QoS command, the switch displays all the generated commands as if the commands were entered from the CLI. You can use the auto-QoS compact feature to hide the auto-QoS generated commands from the running configuration. This would make it easier to comprehend the running-configuration and also help to increase efficient usage of memory.

Auto-QoS Global Configuration Templates

In general, an auto-QoS command generates a series of class maps that either match on ACLs or on DSCP and/or CoS values to differentiate traffic into application classes. An input policy is also generated, which matches the generated classes and in some cases, polices the classes to a set bandwidth. Eight egress-queue class maps are generated. The actual egress output policy assigns a queue to each one of these eight egress-queue class maps.

The auto-QoS commands only generate templates as needed. For example, the first time any new auto-QoS command is used, global configurations that define the eight queue egress service-policy are generated. From this point on, auto-QoS commands applied to other interfaces do not generate templates for egress queuing because all auto-QoS commands rely on the same eight queue models, which have already been generated from the first time a new auto-QoS command was used.

Auto-QoS Policy and Class Maps

After entering the appropriate auto-QoS command, the following actions occur:

  • 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.

Related Tasks
Configuring Auto-QoS (CLI)
Related References
Example: auto qos trust cos
Example: auto qos trust dscp
Example: auto qos video cts
Example: auto qos video ip-camera
Example: auto qos video media-player
Example: auto qos voip trust
Example: auto qos voip cisco-phone
Example: auto qos voip cisco-softphone
auto qos classify police

Effects of Auto-QoS on Running Configuration

When auto-QoS is enabled, the auto qos interface configuration commands and the generated global configuration are added to the running configuration.

The switch applies the auto-QoS-generated commands as if the commands were entered from the CLI. An existing user configuration can cause the application of the generated commands to fail or to be overridden by the generated commands. These actions may occur without warning. If all the generated commands are successfully applied, any user-entered configuration that was not overridden remains in the running configuration. Any user-entered configuration that was overridden can be retrieved by reloading the switch without saving the current configuration to memory. If the generated commands are not applied, the previous running configuration is restored.

Effects of Auto-Qos Compact on Running Configuration

If auto-QoS compact is enabled:

  • Only the auto-QoS commands entered from the CLI are displayed in running-config.

  • The generated global and interface configurations are hidden.

  • When you save the configuration, only the auto-qos commands you have entered are saved (and not the hidden configuration).

  • When you reload the switch, the system detects and re-executes the saved auto-QoS commands and the AutoQoS SRND4.0 compliant config-set is generated .


Note


Do not make changes to the auto-QoS-generated commands when auto-QoS compact is enabled, because user-modifications are overridden when the switch reloads.


When auto-qos global compact is enabled:

  • show derived-config command can be used to view hidden AQC derived commands.

  • AQC commands will not be stored to memory. They will be regenerated every time the switch is reloaded.

  • When compaction is enabled, auto-qos generated commands should not be modified .

  • If the interface is configured with auto-QoS and if AQC needs to be disabled, auto-qos should be disabled at interface level first.

How to Configure Auto-QoS

Configuring Auto-QoS (CLI)

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

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. The configuration places a service-policy on the interface to classify 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.

     
    Related Concepts
    Auto-QoS Policy and Class Maps
    Related References
    Example: auto qos trust cos
    Example: auto qos trust dscp
    Example: auto qos video cts
    Example: auto qos video ip-camera
    Example: auto qos video media-player
    Example: auto qos voip trust
    Example: auto qos voip cisco-phone
    Example: auto qos voip cisco-softphone
    auto qos classify police

    Upgrading Auto-QoS (CLI)

    This procedure should only be followed after copying a pre-3.2.2 software version to this switch. If you do copy a pre-3.2.2 software version to this switch, then you must follow this auto-QoS upgrade procedure.

    Before You Begin

    Prior to upgrading, you need to remove all auto-QoS configurations currently on the switch. This sample procedure describes that process.

    After following this sample procedure, you must then reboot the switch with the new or upgraded software image and reconfigure auto-QoS.

    SUMMARY STEPS

      1.    show auto qos

      2.    no auto qos

      3.    show running-config | i autoQos

      4.    no policy-map policy-map_name

      5.    show running-config | i AutoQoS

      6.    show auto qos

      7.    write memory


    DETAILED STEPS
      Step 1   show auto qos


      Example:
      Switch# show auto qos
      
      GigabitEthernet2/0/3
      auto qos voip cisco-phone
      
      GigabitEthernet2/0/27
      auto qos voip cisco-softphone
      
      

      In privileged EXEC mode, record all current auto QoS configurations by entering this command.

      Step 2   no auto qos


      Example:
      Switch(config-if)#no auto qos
      
      

      In interface configuration mode, run the appropriate no auto qos command on each interface that has an auto QoS configuration.

      Step 3   show running-config | i autoQos


      Example:
      Switch# show running-config | i autoQos
      
      

      Return to privileged EXEC mode, and record any remaining auto QoS maps class maps, policy maps, access lists, table maps, or other configurations by entering this command.

      Step 4   no policy-map policy-map_name


      Example:
      Switch)config# no policy-map pmap_101
      Switch)config# no class-map cmap_101
      Switch)config# no ip access-list extended AutoQos-101
      Switch)config# no table-map 101
      Switch)config# no table-map policed-dscp
      
      

      In global configuration mode, remove the QoS class maps, policy maps, access-lists, table maps, and any other auto QoS configurations by entering these commands:

      • no policy-map policy-map-name

      • no class-map class-map-name

      • no ip access-list extended Auto-QoS-x

      • no table-map table-map-name

      • no table-map policed-dscp

      Step 5   show running-config | i AutoQoS


      Example:
      Switch# show running-config | i AutoQos
      
      

      Return to privileged EXEC mode, run this command again to ensure that no auto-QoS configuration or remaining parts of the auto-QoS configuration exists

      Step 6   show auto qos


      Example:
      Switch# show auto qos
      
      

      Run this command to ensure that no auto-QoS configuration or remaining parts of the configuration exists.

      Step 7   write memory


      Example:
      Switch# write memory
      
      

      Write the changes to the auto QoS configuration to NV memory by entering the write memory command.


      What to Do Next

      Reboot the switch with the new or upgraded software image.

      After rebooting with the new or upgraded software image, re-configure auto-QoS for the appropriate switch interfaces as determined by running the show auto qos command described in step 1.


      Note


      There is only one table-map for exceed and another table-map for violate markdown per switch or stack. If the switch already has a table-map under the exceed action, then the auto-qos policy cannot be applied.


      Related References
      Restrictions for Auto-QoS

      Enabling Auto-Qos Compact

      To enable auto-Qos compact, enter this command:

      SUMMARY STEPS

        1.    configure terminal

        2.    auto qos global compact


      DETAILED STEPS
         Command or ActionPurpose
        Step 1configure terminal


        Example:
        
        Switch# configure terminal
        
        
         

        Enters the global configuration mode.

         
        Step 2auto qos global compact


        Example:
        
        Switch(config)# auto qos global compact
        
        
         

        Enables auto-Qos compact and generates (hidden) the global configurations for auto-QoS.

        You can then enter the auto-QoS command you want to configure in the interface configuration mode and the interface commands that the system generates are also hidden.

        To display the auto-QoS configuration that has been applied, use these the privileged EXEC commands:

        • show derived-config
        • show policy-map
        • show access-list
        • show class-map
        • show table-map
        • show auto-qos
        • show policy-map interface
        • show ip access-lists

        These commands will have keyword "AutoQos-".

         
        What to Do Next

        To disable auto-QoS compact, remove auto-Qos instances from all interfaces by entering the no form of the corresponding auto-QoS commands and then enter the no auto qos global compact global configuration command.

        Monitoring Auto-QoS

        Table 1 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.

        show derived-config

        Displays the hidden mls qos command which get configured along with the running configs because of auto-qos template.

        Troubleshooting Auto-QoS

        To troubleshoot auto-QoS, use the debug auto qos privileged EXEC command. For more information, see the debug auto qos command in the command reference for this release.

        To disable auto-QoS on a port, use the no form of the auto qos command interface configuration command, such as no auto qos voip. Only the auto-QoS-generated interface configuration commands for this port are removed. If this is the last port on which auto-QoS is enabled and you enter the no auto qos voip command, auto-QoS is considered disabled even though the auto-QoS-generated global configuration commands remain (to avoid disrupting traffic on other ports affected by the global configuration).

        Configuration Examples for Auto-QoS

        Example: auto qos trust cos

        The following is an example of the auto qos trust cos command and the applied policies and class maps.

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

        • 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/7
        
          Service-policy input: AutoQos-4.0-Trust-Cos-Input-Policy
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                cos cos table AutoQos-4.0-Trust-Cos-Table
        
          Service-policy output: AutoQos-4.0-Output-Policy
        
            queue stats for all priority classes:
              Queueing
              priority level 1
        
              (total drops) 0
              (bytes output) 0
        
            Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
              0 packets
              Match:  dscp cs4 (32) cs5 (40) ef (46)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              Priority: 30% (300000 kbps), burst bytes 7500000,
        
              Priority Level: 1
        
            Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
              0 packets
              Match:  dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
              queue-limit dscp 16 percent 80
              queue-limit dscp 24 percent 90
              queue-limit dscp 48 percent 100
              queue-limit dscp 56 percent 100
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
        
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
              0 packets
              Match:  dscp af41 (34) af42 (36) af43 (38)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  4
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
              0 packets
              Match:  dscp af21 (18) af22 (20) af23 (22)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  2
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
              0 packets
              Match:  dscp af11 (10) af12 (12) af13 (14)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  1
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 4%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
              0 packets
              Match:  dscp cs1 (8)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 1%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
              0 packets
              Match:  dscp af31 (26) af32 (28) af33 (30)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 25%
              queue-buffers ratio 25
        
        
        
        

        Example: auto qos trust dscp

        The following is an example of the auto qos trust dscp command and the applied policies and class maps.

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

        • 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)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp dscp table AutoQos-4.0-Trust-Dscp-Table
        
          Service-policy output: AutoQos-4.0-Output-Policy
        
            queue stats for all priority classes:
              Queueing
              priority level 1
        
              (total drops) 0
              (bytes output) 0
        
            Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
              0 packets
              Match:  dscp cs4 (32) cs5 (40) ef (46)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              Priority: 30% (300000 kbps), burst bytes 7500000,
        
              Priority Level: 1
        
            Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
              0 packets
              Match:  dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
              queue-limit dscp 16 percent 80
              queue-limit dscp 24 percent 90
              queue-limit dscp 48 percent 100
              queue-limit dscp 56 percent 100
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
        
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
              0 packets
              Match:  dscp af41 (34) af42 (36) af43 (38)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  4
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
              0 packets
              Match:  dscp af21 (18) af22 (20) af23 (22)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  2
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
              0 packets
              Match:  dscp af11 (10) af12 (12) af13 (14)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  1
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 4%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
              0 packets
              Match:  dscp cs1 (8)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 1%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
              0 packets
              Match:  dscp af31 (26) af32 (28) af33 (30)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 25%
              queue-buffers ratio 25
        
        
        

        Example: auto qos video cts

        The following is an example of the auto qos video cts command and the applied policies and class maps.

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

        • 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)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                cos cos table AutoQos-4.0-Trust-Cos-Table
        
          Service-policy output: AutoQos-4.0-Output-Policy
        
            queue stats for all priority classes:
              Queueing
              priority level 1
        
              (total drops) 0
              (bytes output) 0
        
            Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
              0 packets
              Match:  dscp cs4 (32) cs5 (40) ef (46)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              Priority: 30% (300000 kbps), burst bytes 7500000,
        
              Priority Level: 1
        
            Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
              0 packets
              Match:  dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
              queue-limit dscp 16 percent 80
              queue-limit dscp 24 percent 90
              queue-limit dscp 48 percent 100
              queue-limit dscp 56 percent 100
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
        
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
              0 packets
              Match:  dscp af41 (34) af42 (36) af43 (38)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  4
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
              0 packets
              Match:  dscp af21 (18) af22 (20) af23 (22)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  2
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
              0 packets
              Match:  dscp af11 (10) af12 (12) af13 (14)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  1
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 4%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
              0 packets
              Match:  dscp cs1 (8)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 1%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
              0 packets
              Match:  dscp af31 (26) af32 (28) af33 (30)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 25%
              queue-buffers ratio 25
        
        
        
        

        Example: auto qos video ip-camera

        The following is an example of the auto qos video ip-camera command and the applied policies and class maps.

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

        • 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)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp dscp table AutoQos-4.0-Trust-Dscp-Table
        
          Service-policy output: AutoQos-4.0-Output-Policy
        
            queue stats for all priority classes:
              Queueing
              priority level 1
        
              (total drops) 0
              (bytes output) 0
        
            Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
              0 packets
              Match:  dscp cs4 (32) cs5 (40) ef (46)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              Priority: 30% (300000 kbps), burst bytes 7500000,
        
              Priority Level: 1
        
            Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
              0 packets
              Match:  dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
              queue-limit dscp 16 percent 80
              queue-limit dscp 24 percent 90
              queue-limit dscp 48 percent 100
              queue-limit dscp 56 percent 100
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
        
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
              0 packets
              Match:  dscp af41 (34) af42 (36) af43 (38)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  4
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
              0 packets
              Match:  dscp af21 (18) af22 (20) af23 (22)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  2
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
              0 packets
              Match:  dscp af11 (10) af12 (12) af13 (14)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  1
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 4%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
              0 packets
              Match:  dscp cs1 (8)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 1%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
              0 packets
              Match:  dscp af31 (26) af32 (28) af33 (30)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 25%
              queue-buffers ratio 25
        
        
        
        

        Example: auto qos video media-player

        The following is an example of the auto qos video media-player command and the applied policies and class maps.

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

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

        Example: auto qos voip trust

        The following is an example of the auto qos voip trust command and the applied policies and class maps.

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

        • 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)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                cos cos table AutoQos-4.0-Trust-Cos-Table
        
          Service-policy output: AutoQos-4.0-Output-Policy
        
            queue stats for all priority classes:
              Queueing
              priority level 1
        
              (total drops) 0
              (bytes output) 0
        
            Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
              0 packets
              Match:  dscp cs4 (32) cs5 (40) ef (46)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              Priority: 30% (300000 kbps), burst bytes 7500000,
        
              Priority Level: 1
        
            Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
              0 packets
              Match:  dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
              queue-limit dscp 16 percent 80
              queue-limit dscp 24 percent 90
              queue-limit dscp 48 percent 100
              queue-limit dscp 56 percent 100
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
        
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any
              0 packets
              Match:  dscp af41 (34) af42 (36) af43 (38)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  4
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
              0 packets
              Match:  dscp af21 (18) af22 (20) af23 (22)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  2
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
              0 packets
              Match:  dscp af11 (10) af12 (12) af13 (14)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  1
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 4%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
              0 packets
              Match:  dscp cs1 (8)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 1%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any
              0 packets
              Match:  dscp af31 (26) af32 (28) af33 (30)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 25%
              queue-buffers ratio 25
        
        
        
        

        Example: auto qos voip cisco-phone

        The following is an example of the auto qos voip cisco-phone command and the applied policies and class maps.

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

        • 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-CiscoPhone-Class (match-any)

        • AutoQos-4.0-Voip-Signal-CiscoPhone-Class (match-any)

        • AutoQos-4.0-Default-Class (match-any)

        • class-default (match-any)

        • AutoQos-4.0-Output-Priority-Queue (match-any)

        • AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)

        • AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)

        • AutoQos-4.0-Output-Trans-Data-Queue (match-any)

        • AutoQos-4.0-Output-Bulk-Data-Queue (match-any)

        • AutoQos-4.0-Output-Scavenger-Queue (match-any)

        • AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)

        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-CiscoPhone-Class (match-any)
              0 packets
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp ef
              police:
                  cir 128000 bps, bc 8000 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  set-dscp-transmit dscp table policed-dscp
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: AutoQos-4.0-Voip-Signal-CiscoPhone-Class (match-any)
              0 packets
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp cs3
              police:
                  cir 32000 bps, bc 8000 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  set-dscp-transmit dscp table policed-dscp
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: AutoQos-4.0-Default-Class (match-any)
              0 packets
              Match: access-group name AutoQos-4.0-Acl-Default
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp default
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
        
          Service-policy output: AutoQos-4.0-Output-Policy
        
            queue stats for all priority classes:
              Queueing
              priority level 1
        
              (total drops) 0
              (bytes output) 0
        
            Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
              0 packets
              Match:  dscp cs4 (32) cs5 (40) ef (46)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              Priority: 30% (300000 kbps), burst bytes 7500000,
        
              Priority Level: 1
        
            Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
              0 packets
              Match:  dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
              queue-limit dscp 16 percent 80
              queue-limit dscp 24 percent 90
              queue-limit dscp 48 percent 100
              queue-limit dscp 56 percent 100
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
        
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
              0 packets
              Match:  dscp af41 (34) af42 (36) af43 (38)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  4
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
              0 packets
              Match:  dscp af21 (18) af22 (20) af23 (22)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  2
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
              0 packets
              Match:  dscp af11 (10) af12 (12) af13 (14)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  1
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 4%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
              0 packets
              Match:  dscp cs1 (8)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 1%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
              0 packets
              Match:  dscp af31 (26) af32 (28) af33 (30)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 25%
              queue-buffers ratio 25
        
        
        
        
        

        Example: auto qos voip cisco-softphone

        The following is an example of the auto qos voip cisco-softphone command and the applied policies and class maps.

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

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

        auto qos classify police

        The following is an example of the auto qos classify police command and the applied policies and class maps.

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

        • 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)
              0 packets
              Match: access-group name AutoQos-4.0-Acl-MultiEnhanced-Conf
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp af41
              police:
                  cir 5000000 bps, bc 156250 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  drop
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: AutoQos-4.0-Bulk-Data-Class (match-any)
              0 packets
              Match: access-group name AutoQos-4.0-Acl-Bulk-Data
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp af11
              police:
                  cir 10000000 bps, bc 312500 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  set-dscp-transmit dscp table policed-dscp
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: AutoQos-4.0-Transaction-Class (match-any)
              0 packets
              Match: access-group name AutoQos-4.0-Acl-Transactional-Data
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp af21
              police:
                  cir 10000000 bps, bc 312500 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  set-dscp-transmit dscp table policed-dscp
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: AutoQos-4.0-Scavanger-Class (match-any)
              0 packets
              Match: access-group name AutoQos-4.0-Acl-Scavanger
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp cs1
              police:
                  cir 10000000 bps, bc 312500 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  drop
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: AutoQos-4.0-Signaling-Class (match-any)
              0 packets
              Match: access-group name AutoQos-4.0-Acl-Signaling
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp cs3
              police:
                  cir 32000 bps, bc 8000 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  drop
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: AutoQos-4.0-Default-Class (match-any)
              0 packets
              Match: access-group name AutoQos-4.0-Acl-Default
                0 packets, 0 bytes
                5 minute rate 0 bps
              QoS Set
                dscp default
              police:
                  cir 10000000 bps, bc 312500 bytes
                conformed 0 bytes; actions:
                  transmit
                exceeded 0 bytes; actions:
                  set-dscp-transmit dscp table policed-dscp
                conformed 0000 bps, exceed 0000 bps
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
        
          Service-policy output: AutoQos-4.0-Output-Policy
        
            queue stats for all priority classes:
              Queueing
              priority level 1
        
              (total drops) 0
              (bytes output) 0
        
            Class-map: AutoQos-4.0-Output-Priority-Queue (match-any)
              0 packets
              Match:  dscp cs4 (32) cs5 (40) ef (46)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  5
                0 packets, 0 bytes
                5 minute rate 0 bps
              Priority: 30% (300000 kbps), burst bytes 7500000,
        
              Priority Level: 1
        
            Class-map: AutoQos-4.0-Output-Control-Mgmt-Queue (match-any)
              0 packets
              Match:  dscp cs2 (16) cs3 (24) cs6 (48) cs7 (56)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  3
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
              queue-limit dscp 16 percent 80
              queue-limit dscp 24 percent 90
              queue-limit dscp 48 percent 100
              queue-limit dscp 56 percent 100
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
        
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Conf-Queue (match-any)
              0 packets
              Match:  dscp af41 (34) af42 (36) af43 (38)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  4
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Trans-Data-Queue (match-any)
              0 packets
              Match:  dscp af21 (18) af22 (20) af23 (22)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  2
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Bulk-Data-Queue (match-any)
              0 packets
              Match:  dscp af11 (10) af12 (12) af13 (14)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Match: cos  1
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 4%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Scavenger-Queue (match-any)
              0 packets
              Match:  dscp cs1 (8)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 1%
              queue-buffers ratio 10
        
            Class-map: AutoQos-4.0-Output-Multimedia-Strm-Queue (match-any)
              0 packets
              Match:  dscp af31 (26) af32 (28) af33 (30)
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 10%
              queue-buffers ratio 10
        
            Class-map: class-default (match-any)
              0 packets
              Match: any
                0 packets, 0 bytes
                5 minute rate 0 bps
              Queueing
        
              (total drops) 0
              (bytes output) 0
              bandwidth remaining 25%
              queue-buffers ratio 25
        
        
        
        

        auto qos global compact

        The following is an example of the auto qos global compact command.

        Switch# configure terminal
        Switch(config)# auto qos global compact
        Switch(config)# interface GigabitEthernet1/2
        Switch(config-if)# auto qos voip cisco-phone
        
        Switch# show auto-qos
        
        GigabitEthernet1/2
        auto qos voip cisco-phone
        
        Switch# show running-config interface GigabitEthernet 1/0/2
        
        interface GigabitEthernet1/0/2
        auto qos voip cisco-phone
        end
        
        

        Where to Go Next for Auto-QoS

        Review the QoS documentation if you require any specific QoS changes to your auto-QoS configuration.

        Additional References for Auto-QoS

        Related Documents

        Related Topic Document Title

        For complete syntax and usage information for the commands used in this chapter.

        QoS Command Reference (Cisco WLC 5700 Series)QoS Command Reference (Catalyst 3650 Switches)

        Cisco IOS Quality of Service Solutions Command Reference

        Error Message Decoder

        Description Link

        To help you research and resolve system error messages in this release, use the Error Message Decoder tool.

        https:/​/​www.cisco.com/​cgi-bin/​Support/​Errordecoder/​index.cgi

        Standards and RFCs

        Standard/RFC Title

        MIBs

        MIB MIBs Link

        All supported MIBs for this release.

        To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:

        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

        Release

        Modification

        Cisco IOS XE 3.2SECisco IOS XE 3.3SE

        This feature was introduced.