37-85
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 37 Configuring Quality of Service Configuring QoS on Supervisor Engine 6-E, Supervisor Engine 6L-E, Catalyst 4900M, and Catalyst 4948E
To delete an existing policy map, use the no policy-map policy-map-name global configuration
command. To delete an existing class, use the no class class-name policy-map configuration command.
To disable DBL on the associated queue, use the no dbl policy-map class configuration command.
The following example shows how to configure class-level, DBL action along with a verage-rate shaping .
It enables DBL on the queue associated with traffic-class class1.
Switch# configure terminal
Switch(config)# policy-map policy1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# shape average 256000
Switch(config-pmap-c)# dbl
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet1/1
Switch(config-if)# service-policy output policy1
Switch(config-if)# end
Switch#
Switch# show policy-map policy1
Policy Map policy1
Class class1
shape average 256000
dbl
Transmit Queue Statistics
Transmit queue statistics are visible by using the show policy-map interface command.
Policy Associations
Catalyst 4900M, Catalyst 4948E, Supervisor Engine 6-E, and Supervisor Engine 6L-E support per-port,
per-VLAN policies. The associated policies are attached to the interface, VLAN, and a specific VLAN
on a given port, respectively.
A policy can be associated with a variety of objects. Table 37-8 lists the objects and the actions allowed.
Step 7 Switch(config-pmap)# exit Returns to global configuration mode.
Step 8 Switch(config)# interface interface-id Specifies a physical port and enter interface configuration mode.
Step 9 Switch(config-interface)#
service-policy output policy-map-name Specifies the policy-map name, and apply it a physical interface.
Step 10 Switch(config-interface)# end Returns to privileged EXEC mode.
Step 11 Switch# show policy-map
[policy-map-name [class
class-map-name]]
or
Switch# show policy-map interface
interface-id
Verifies your entries.
Step 12 Switch# copy running-config
startup-config (Optional) Saves your entries in the configuration file.
Command Purpose