2-18
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
auto qos voip
To disable auto-QoS on a port, use the
no auto qos voip
interface configuration command. Only the
auto-QoS-generated interface configuration commands for this port are removed. If this is the last port
on which auto-QoS is enabled and you enter the
no auto qos voip
command, auto-QoS is considered
disabled even though the auto-QoS-generated global configuration commands remain (to avoid
disrupting traffic on other ports affected by the global configuration). You can use the
no mls qos
global
configuration command to disable the auto-QoS-generated global configuration commands. With QoS
disabled, there is no concept of trusted or untrusted ports because the packets are not modified (the CoS,
DSCP, and IP precedence values in the packet are not changed). Traffic is switched in pass-through mode
(packets are switched without any rewrites and classified as best effort without any policing).
On a port on which the
auto qos voip
command is enabled, the queue-set ID that is generated depends
on the interface:
•
For a Fast Ethernet interface, auto-QoS generates queue-set 1 (which is the default).
•
For a Gigabit Ethernet interface, auto-QoS generates queue-set 2.
Examples
This example shows how to enable auto-QoS on a port and to trust the QoS labels received in inbound
packets when the switch or router connected to a port is a trusted device:
Switch(config)#
interface gigabitethernet1/0/1
Switch(config-if)#
auto qos voip trust
You can verify your settings by entering the
show auto qos interface
interface-id
privileged EXEC
command.
Related Commands
Command
Description
Enables debugging of the auto-QoS feature.
Defines the default CoS value of a port or assigns the default
CoS to all inbound packets on the port.
{
cos-dscp
dscp1 ... dscp8
|
dscp-cos
dscp-list
to
cos
}
Defines the CoS-to-DSCP map or the DSCP-to-CoS map.
mls qos queue-set output buffers
Allocates buffers to a queue-set.
mls qos srr-queue input bandwidth
Assigns SRR weights to an ingress queue.
mls qos srr-queue input buffers
Allocates the buffers between the ingress queues.
mls qos srr-queue input cos-map
Maps CoS values to an ingress queue or maps CoS values to
a queue and to a threshold ID.
mls qos srr-queue input dscp-map
Maps DSCP values to an ingress queue or maps DSCP values
to a queue and to a threshold ID.
mls qos srr-queue input
priority-queue
Configures the ingress priority queue and guarantees
bandwidth.
mls qos srr-queue output cos-map
Maps CoS values to an egress queue or maps CoS values to
a queue and to a threshold ID.
mls qos srr-queue output dscp-map
Maps DSCP values to an egress queue or maps DSCP values
to a queue and to a threshold ID.
Configures the port trust state.
Maps a port to a queue-set.
Displays the initial configuration that is generated by the
auto-QoS feature.