Configuring Dscp Maps - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Chapter 32
Configuring QoS
Command
Step 11
show mls qos aggregate-policer
[aggregate-policer-name]
Step 12
copy running-config startup-config
To remove the specified aggregate policer from a policy map, use the no police aggregate
aggregate-policer-name policy map configuration mode. To delete an aggregate policer and its
parameters, use the no mls qos aggregate-policer aggregate-policer-name global configuration
command.
This example shows how to create an aggregate policer and attach it to multiple classes within a policy
map. In the configuration, the IP ACLs permit traffic from network 10.1.0.0 and from host 11.3.1.1. For
traffic coming from network 10.1.0.0, the DSCP in the incoming packets is trusted. For traffic coming
from host 11.3.1.1, the DSCP in the packet is changed to 56. The traffic rate from the 10.1.0.0 network
and from host 11.3.1.1 is policed. If the traffic exceeds an average rate of 48000 bps and a normal burst
size of 8000 bytes, its DSCP is marked down (based on the policed-DSCP map) and sent. The policy
map is attached to an ingress port.
Switch(config)# access-list 1 permit 10.1.0.0 0.0.255.255
Switch(config)# access-list 2 permit 11.3.1.1
Switch(config)# mls qos aggregate-police transmit1 48000 8000 exceed-action
policed-dscp-transmit
Switch(config)# class-map ipclass1
Switch(config-cmap)# match access-group 1
Switch(config-cmap)# exit
Switch(config)# class-map ipclass2
Switch(config-cmap)# match access-group 2
Switch(config-cmap)# exit
Switch(config)# policy-map aggflow1
Switch(config-pmap)# class ipclass1
Switch(config-pmap-c)# trust dscp
Switch(config-pmap-c)# police aggregate transmit1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class ipclass2
Switch(config-pmap-c)# set ip dscp 56
Switch(config-pmap-c)# police aggregate transmit1
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# service-policy input aggflow1
Switch(config-if)# exit

Configuring DSCP Maps

These sections describe how to configure the DSCP maps:
All the maps, except the DSCP-to-DSCP-mutation map, are globally defined and are applied to all ports.
78-16180-02
Configuring the CoS-to-DSCP Map, page 32-50
Configuring the IP-Precedence-to-DSCP Map, page 32-50
Configuring the Policed-DSCP Map, page 32-51
not appropriate)
Configuring the DSCP-to-CoS Map, page 32-52
Configuring the DSCP-to-DSCP-Mutation Map, page 32-53
map are not appropriate)
Purpose
Verify your entries.
(Optional) Save your entries in the configuration file.
(optional)
(optional, unless the null settings in the map are
(optional)
Catalyst 3750 Switch Software Configuration Guide
Configuring Standard QoS
(optional)
(optional, unless the null settings in the
32-49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents