37-46
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service
Configuring QoS on Supervisor Engines II-Plus, II+10GE, IV, V, V-10GE, 4924, 4948, and 4948-10GE
police: Per-interface
Conform: 0 bytes Exceed: 0 bytes
GigabitEthernet6/1 vlan 400
Service-policy input: p1
Class-map: class-default (match-any)
0 packets
Match: any
0 packets
police: Per-interface
Conform: 0 bytes Exceed: 0 bytes
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:
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:
Vl5
<...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. For more information, see the “Attaching a Policy
Map to an Interface” section on page 37-35.
To configure VLAN-based QoS on a Layer 2 interface, perform this task:
Command Purpose
Step 1 Switch(config)# interface {vlan vlan_ID |
{fastethernet | gigabitethernet} slot/interface |
Port-channel number}
Selects the interface to configure.
Step 2 Switch(config-if)# [no] qos Enables QoS on the interface.
Use the no keyword to disable QoS on an interface.
Step 3 Switch(config-if)# end Exits configuration mode.
Step 4 Switch# show qos interface Verifies the configuration.