37-57
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service Configuring Auto-QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
When you enable auto-QoS, it automatically classifies traffic based on ingress packet label. The switch
uses the resulting classification to choose the appropriate egress queue.
You use auto-QoS commands to identify ports connected to Cisco IP phones and to identify ports that
receive trusted voice over IP (VoIP) traffic through an uplink. Auto-QoS then performs these functions:
Detects the presence or absence of a Cisco IP phones
Configures QoS classification
Configures egress queues
These sections describe how to configure auto-QoS on your switch:
Generated Auto-QoS Configuration, page 37-57
Effects of Auto-QoS on the Configuration, page 37-58
Configuration Guidelines, page 37-58
Enabling Auto-QoS for VoIP, page 37-59
Generated Auto-QoS Configuration
By default, auto-QoS is disabled on all interfaces.
When you enable the auto-QoS feature on the first interface, these automatic actions occur:
QoS is globally enabled (qos global configuration command).
DBL is enabled globally (qos dbl global configuration command)
When you enter the auto qos voip trust interface configuration command, the ingress classification
on the specified interface is set to trust the CoS label received in the packet if the specified interface
is configured as Layer 2 (and is set to trust DSCP if the interface is configured as Layer 3). See
Table 37-5.
When you enter the auto qos voip cisco-phone interface configuration command, the trusted
boundary feature is enabled. It uses the Cisco Discovery Protocol (CDP) to detect the presence or
absence of a Cisco IP phone. When a Cisco IP phone is detected, the ingress classification on the
interface is set to trust the CoS label received in the packet, if the interface is configured as Layer
2. (The classification is set to trust DSCP if the interface is configured as Layer 3.) When a Cisco
IP phone is absent, the ingress classification is set to not trust the CoS label in the packet.
Note On a given port, the Cisco IP phone discovery information is not maintained on the standby
supervisor engine. When the standby supervisor engine becomes active, it rediscovers the Cisco
IP phone thru CDP. For a short time, the port are not in the trust state after the SSO switchover.
For information about the trusted boundary feature, see the “Configuring a Trusted Boundary to
Ensure Port Security” section on page 37-21.
When you enable auto-QoS by using the auto qos voip cisco-phone or the auto qos voip trust interface
configuration commands, the switch automatically generates a QoS configuration based on the traffic
type and ingress packet label and applies the commands listed in Table 3 7-5 to the interface.