Specifications

2-10
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
auto qos voip
Examples This example shows how to enable auto-QoS and to trust the QoS labels received in incoming packets
when the switch or router connected to Gigabit Ethernet interface 0/1 is a trusted device:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# auto qos voip trust
This example shows how to enable auto-QoS and to trust the QoS labels received in incoming packets
when the device connected to Fast Ethernet interface 0/1 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 display the QoS configuration that is automatically generated when
auto-QoS is enabled:
Switch# debug autoqos
AutoQoS debugging is on
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fastethernet0/10
Switch(config-if)# auto qos voip cisco-phone
00:02:54:wrr-queue bandwidth 20 1 80 0
00:02:55:no wrr-queue cos-map
00:02:55:wrr-queue cos-map 1 0 1 2 4
00:02:56:wrr-queue cos-map 3 3 6 7
00:02:58:wrr-queue cos-map 4 5
00:02:59:mls qos map cos-dscp 0 8 16 26 32 46 48 56
00:03:00:interface FastEthernet0/10
00:03:00: mls qos trust device cisco-phone
00:03:00: mls qos trust cos
Switch(config-if)# interface fastethernet0/12
Switch(config-if)# auto qos voip trust
00:03:15:interface FastEthernet0/12
00:03:15: mls qos trust cos
Switch(config-if)#
You can verify your settings by entering the show auto qos interface interface-id privileged EXEC
command.
Related Commands Command Description
debug autoqos Enable debugging of the auto-QoS feature.
mls qos map Defines the CoS-to-DSCP map or the DSCP-to-CoS map.
mls qos trust Configures the port trust state.
show auto qos Displays auto-QoS information.
show mls qos maps Displays QoS mapping information.
show mls qos interface Displays QoS information at the interface level.