Using Debug Commands
Using the debug autoqos Command
You can use the debug autoqos privileged EXEC command to display quality of service (QoS)
commands that are automatically generated when automatic-QoS (auto-QoS) is enabled.
Beginning in privileged EXEC mode, follow these steps to display the QoS commands and enable
auto-QoS for voice over IP (VoIP) within a QoS domain:
Command
Step 1
debug autoqos
Step 2
configure terminal
Step 3
interface interface-id
Step 4
auto qos voip {cisco-phone | trust}
Step 5
end
Step 6
show auto qos interface interface-id
For more information about auto-QoS, see the
This example shows how to display the QoS commands that are automatically generated when auto-QoS
is enabled:
Switch# debug autoqos
AutoQoS debugging is on
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# auto qos voip cisco-phone
Catalyst 3550 Multilayer Switch Software Configuration Guide
37-18
Purpose
Enable debugging for auto-QoS. When debugging is enabled, the
switch displays the QoS commands that are automatically generated
when auto-QoS is enabled or disabled.
Enter global configuration mode.
Enter interface configuration mode, and specify the interface that is
connected to a Cisco IP Phone. You also can specify the uplink
interface that is connected to another switch or router in the interior of
the network.
Enable auto-QoS.
The keywords have these meanings:
•
cisco-phone—If the interface is connected to a Cisco IP Phone,
the QoS labels of incoming packets are trusted only when the IP
phone is detected.
•
trust—The uplink interface is connected to a trusted switch or
router, and the VoIP classification in the ingress packet is trusted.
Return to privileged EXEC mode.
Verify your entries.
This command displays the auto-QoS configuration that was initially
applied; it does not display any user changes to the configuration that
might be in effect.
"Configuring Auto-QoS" section on page
End with CNTL/Z.
Chapter 37
Troubleshooting
29-17.
78-11194-09