Specifications

2-60
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.3.0XO(15.1(1)XO)
OL_28738-01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
auto qos voip
To display the QoS configuration that is automatically generated when auto-QoS is enabled, enable
debugging (before you enabl e auto-QoS) with the debug auto qos privileged EXEC command.
To disable auto-QoS on an int erface, use th e no auto qos voip interface configuration command. When
you enter this command, the switch e nables standard QoS and changes the auto-QoS s ettings to the
standard QoS default settings for that interface. This action will not change any global configuration
performed by auto-QoS; the global configuration remains the same.
Examples This example shows how to enable auto-QoS and to trust the CoS and DSCP labels that are received in
the incoming packets when the switch or router that is connected to Gigabit Ethernet interface 1/1 is a
trusted device:
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# auto qos voip trust
This example shows how to enable auto-QoS and to trust the CoS labels that are received in incoming
packets when the device connecte d to Fast Ethernet interf ace 2/1 is detected as a Cisco IP phon e:
Switch(config)# interface fastethernet2/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 on an interface:
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface gigabitethernet3/10
Switch(config-if)#auto qos voip trust
Switch(config-if)#
1d03h: service-policy input AutoQos-VoIP-Input-Cos-Policy
1d03h: service-policy output AutoQos-VoIP-Output-Policy
Switch(config-if)#intface gigabitethernet3/11
Switch(config-if)#auto qos voip
cisco-phone
Switch(config-if)#
1d03h: qos trust device cisco-phone
1d03h: service-policy input AutoQos-VoIP-Input-Cos-Policy
1d03h: service-policy output AutoQos-VoIP-Output-Policy
Switch(config-if)#end
Switch#
You can verify your settings by entering the sh ow auto qo s interf ace c ommand.
Related Commands Command Description
debug auto qos (refer to Cisco
IOS documentation)
Debugs Auto QoS.
qos trus t Sets the trusted state of an interface.
show auto qos Displays the automatic quality of service (auto-QoS)
configuration that is applied.
show qos Displays QoS information.
show qos inter face Displays queueing information.
show qos maps Displays QoS map information.