44-35
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
 
Chapter 44      Configuring Quality of Service
Configuring VSS QoS
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 average-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 entering the show policy-map interface command:
Switch# show policy-map interface gigabitEthernet 1/1
 GigabitEthernet1/1
  Service-policy output: queuing-policy
    Class-map: queuing-class (match-all)
      1833956 packets
      Match: cos  1 
      Queueing
      (total drops)  1006239
      (bytes output) 56284756
      shape (average) cir 320000000, bc 1280000, be 1280000
      target shape rate 320000000
    Class-map: class-default (match-any)
      1 packets
      Match: any 
 
      (total drops)  0
      (bytes output) 2104
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