30-15
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter30 Configuring QoS Displaying Auto-QoS Information
To disable auto-QoS on the switch and return to the default port trust state set (untrusted), follow these
steps:
1. Use the no auto qos voip interface configuration command on all interfaces on which auto-QoS is
enabled. To disable auto-QoS on multiple interfaces at the same time, you can use the interface
range global configuration command.
2. After disabling auto-QoS on all interfaces on which auto-QoS was enabled, return the egress queues
and CoS-to-DSCP map to the default settings by using these global configuration commands:
no wrr-queue bandwidth
no wrr-queue cos-map
no mls qos map cos-dscp
To display the QoS commands that are automatically generated when auto-QoS is enabled or disabled,
enter the debug auto qos privileged EXEC command before enabling auto-QoS. For more inform ation,
see the Using the debug auto qos Command section on page 32-21.
This example shows how to enable auto-QoS and to trust the QoS labels in incoming packets when the
device connected to the interface is detected as a Cisco IP Phone:
Switch(config)# interface fastethernet0/1
Switch(config-if)# auto qos voip cisco-phone
This example shows how to enable auto-QoS and to trust the QoS labels in incoming packets when the
switch or router connected to the interface is a trusted device:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# auto qos voip trust
Displaying Auto-QoS Information
To display the initial auto-QoS configuration, use the show auto qos [interface [interface-id]]
privileged EXEC command. To display any user changes to that configuration, use the show
running-config privileged EXEC command. You can compare the show auto qos and the show
running-config command output to identify the user-defined QoS settings.
To display information about the QoS configuratio n that might be af fect ed by auto-Q oS, use one of th ese
commands:
show mls qos
show mls qos map cos-dscp
show wrr-queue bandwidth
show wrr-queue cos-map
For more information about these commands, refer to the command reference for this release.