Displaying Auto-QoS Information
Beginning in privileged EXEC mode, follow these steps to configure the switch at the edge of the QoS
domain to prioritize the VoIP traffic over all other traffic:
Command
Step 1
debug auto qos
Step 2
configure terminal
Step 3
cdp enable
Step 4
interface interface-id
Step 5
auto qos voip cisco-phone
Step 6
exit
Step 7
Step 8
interface interface-id
Step 9
auto qos voip trust
Step 10
end
Step 11
show auto qos
Step 12
copy running-config
startup-config
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 configuration that might be affected by auto-QoS, use one of these
commands:
•
•
•
Cisco IE 3000 Switch Software Configuration Guide
32-26
Purpose
Enable debugging for auto-QoS. When debugging is enabled, the switch
displays the QoS configuration that is automatically generated when auto-QoS
is enabled.
Enter global configuration mode.
Enable CDP globally. By default, it is enabled.
Specify the switch port connected to the Cisco IP Phone, and enter interface
configuration mode.
Enable auto-QoS on the port, and specify that the port is connected to a Cisco
IP Phone.
The QoS labels of incoming packets are trusted only when the Cisco IP Phone
is detected.
Return to global configuration mode.
Repeat Steps 4 to 6 for as many ports as are connected to the Cisco IP Phone.
Specify the switch port identified as connected to a trusted switch or router, and
enter interface configuration mode. See
Enable auto-QoS on the port, and specify that the port is connected to a trusted
router or switch.
Return to privileged EXEC mode.
Verify 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.
For information about the QoS configuration that might be affected by
auto-QoS, see the "Displaying Auto-QoS Information" section on page 26-12.
Save the auto qos voip interface configuration commands and the generated
auto-QoS configuration in the configuration file.
show mls qos
show mls qos maps cos-dscp
show mls qos interface [interface-id] [buffers | queueing]
Chapter 32
Configuring QoS
Figure
32-10.
OL-13018-01