Chapter 29
Configuring QoS
Enabling or Disabling QoS on an Interface
The qos interface command reenables any previously configured QoS features. The qos interface
command does not affect the interface queueing configuration.
To enable or disable QoS features for traffic from an interface, perform this task:
Command
Step 1
Switch(config)# interface {vlan vlan_ID |
{fastethernet | gigabitethernet |
tengigabitethernet} slot/interface
number }
Step 2
Switch(config-if)# [no] qos
Step 3
Switch(config-if)# end
Step 4
Switch# show qos interface
This example shows how to disable QoS on interface VLAN 5:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface vlan 5
Switch(config-if)# no qos
Switch(config-if)# end
Switch#
This example shows how to verify the configuration:
Switch# show qos | begin QoS is disabled
QoS is disabled on the following interfaces:
<...Output Truncated...>
Switch#
Configuring VLAN-Based QoS on Layer 2 Interfaces
By default, QoS uses policy maps attached to physical interfaces. For Layer 2 interfaces, you can
configure QoS to use policy maps attached to a VLAN. (See the
section on page
To configure VLAN-based QoS on a Layer 2 interface, perform this task:
Command
Step 1
Switch(config)# interface {fastethernet |
gigabitethernet | tengigabitethernet}
slot/interface
Step 2
Switch(config-if)# [no] qos vlan-based
Step 3
Switch(config-if)# end
Step 4
Switch# show qos
OL-6696-01
|
Port-channel
Vl5
29-34.)
|
Port-channel number
Purpose
Selects the interface to configure.
Enables QoS on the interface.
Use the no keyword to disable QoS on an interface.
Exits configuration mode.
Verifies the configuration.
"Attaching a Policy Map to an Interface"
Purpose
Selects the interface to configure.
Configures VLAN-based QoS on a Layer 2 interface.
Use the no keyword to disable VLAN-based QoS on an
interface.
Exits configuration mode.
Verifies the configuration.
Software Configuration Guide—Release 12.2(25)EW
Configuring QoS
29-39