Cisco Systems 2950 Network Router User Manual


 
30-14
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
78-11380-10
Chapter 30 Configuring QoS
Configuring Auto-QoS
Upgrading from a Previous Software Release
In Cisco IOS Release 12.2(20)EA2, the implementation for auto-QoS changed from the previous release.
The generated auto-QoS configuration was changed and support for the Cisco SoftPhone feature was
added.
If auto-QoS is configured on the switch, your switch is running a release earlier than Cisco IOS
Release 12.2(20)EA2, and you upgrade to Cisco IOS Release 12.2(20)EA2 or later, the configuration file
will not contain the new configuration, and auto-QoS will not operate. Follow these steps to update the
auto-QoS settings in your configuration file:
1. Upgrade your switch to Cisco IOS Release 12.2(20)EA2 or later.
2. Disable auto-QoS on all ports on which auto-QoS was enabled.
3. Return all the global auto-QoS settings to their default values by using the no commands.
4. Re-enable auto-QoS on the ports on which auto-QoS was disabled in Step 2. Configure the ports
with the same auto-QoS settings as the previous ones.
Enabling Auto-QoS for VoIP
Beginning in privileged EXEC mode, follow these steps to enable auto-QoS for VoIP within a QoS
domain:
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
interface interface-id Specify the interface that is connected to a Cisco IP Phone, and enter
interface configuration mode. You also can specify the uplink interface
that is connected to another trusted witch or router in the interior of the
network.
Step 3
auto qos voip {cisco-phone |
cisco-softphone | trust}
Enable auto-QoS.
The keywords have these meanings:
cisco-phoneIf the interface is connected to a Cisco IP Phone,
the QoS labels of incoming packets are trusted only when the IP
phone is detected.
cisco-softphoneThe port is connected to device running the
Cisco SoftPhone feature.
Note The cisco-softphone keyword is supported only in Cisco IOS
Release 12.2(20)EA2 or later.
trustThe uplink interface is connected to a trusted switch or
router, and the VoIP classification in the ingress packet is trusted.
Step 4
end Return to privileged EXEC mode.
Step 5
show auto qos interface interface-id 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.