Chapter 29
Configuring QoS
To configure the switch at the edge of the QoS domain to prioritize the VoIP traffic over all other traffic,
perform this task:
Command
Step 1
Switch# debug auto qos
Step 2
Switch# configure terminal
Step 3
Switch(config)# cdp enable
Step 4
Switch(config)# interface
fastethernet2/3
Step 5
Switch(config-if)# auto qos
voip cisco-phone
Step 6
Switch(config)# interface
fastethernet2/5
Step 7
Switch(config)# auto qos voip
cisco-phone
Step 8
Switch(config)# interface
fastethernet2/7
Step 9
Switch(config)# auto qos voip
cisco-phone
Step 10
Switch(config)# interface
gigabit1/1
Step 11
Switch(config)# auto qos voip
trust
Step 12
Switch(config)# end
Step 13
Switch# show auto qos
Step 14
Switch# show auto qos
interface interface-id
Step 15
Switch# copy running-config
startup-config
OL-6696-01
Purpose
Enables debugging for auto-QoS. When debugging is enabled,
the switch displays the QoS configuration that is automatically
generated when auto-QoS is enabled.
Enters global configuration mode.
Enables CDP globally. By default, CDP is enabled.
Enters interface configuration mode.
Enables auto-QoS on the interface, and specifies that the interface
is connected to a Cisco IP phone.
The CoS labels of incoming packets are trusted only when the IP
phone is detected.
Enters interface configuration mode.
Enables auto-QoS on the interface, and specifies that the interface
is connected to a Cisco IP phone.
Enters interface configuration mode.
Enables auto-QoS on the interface, and specifies that the interface
is connected to a Cisco IP phone.
Enters interface configuration mode.
Enables auto-QoS on the interface, and specifies that the interface
is connected to a trusted router or switch.
Returns to privileged EXEC mode.
Verifies your entries.
This command displays the auto-QoS configuration that is
initially applied; it does not display any user changes to the
configuration that might be in effect.
For information about the QoS configuration that might be
affected by auto-QoS, see the
Information" section on page
Verifies 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.
Saves the auto qos voip interface configuration commands and
the generated auto-QoS configuration in the configuration file.
Software Configuration Guide—Release 12.2(25)EW
Configuring Auto-QoS
"Displaying Auto-QoS
29-19.
29-21