EasyManuals Logo
Home>Cisco>Switch>Catalyst 3750-X

Cisco Catalyst 3750-X User Manual

Cisco Catalyst 3750-X
1438 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #949 background imageLoading...
Page #949 background image
39-69
Catalyst 3750-X and 3560-X Switch Software Configuration Guide
OL-21521-01
Chapter 39 Configuring QoS
Configuring Standard QoS
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
t
raffic 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
an
d from host 11.3.1.1 is policed. If the traffic exceeds an average rate of 48000 b/s and a normal burst
si
ze 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 perm
it 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 aggflow
1
Switch(config-pmap)# class ipclass
1
Switch(config-pmap-c)# trust dscp
Switch(config-pmap-c)# police aggr
egate transmit1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class ipclass
2
Switch(config-pmap-c)# set dscp 56
Switch(config-pmap-c)# police aggr
egate transmit1
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabite
thernet2/0/1
Switch(config-if)# service-policy input
aggflow1
Switch(config-if)# exit
Configuring DSCP Maps
• Configuring the CoS-to-DSCP Map, page 39-70 (optional)
• Configuring the IP-Precedence-to-DSCP Map, page 39-71 (optional)
• Configuring the Policed-DSCP Map, page 39-72 (optional, unless the null settings in the map are
not appropriate)
• Configuring the DSCP-to-CoS Map, page 39-73 (optional)
• Configuring the DSCP-to-DSCP-Mutation Map, page 39-74 (optional, unless the null settings in the
map are not appropriate)
All the maps, except the DSCP-to-DSCP-mutation map, are globally defined and are applied to all ports.
Step 10
end Return to privileged EXEC mode.
Step 11
show mls qos aggregate-policer
[aggregate-policer-name]
Verify your entries.
Step 12
copy running-config startup-config (Optional) Save your entries in the configuration file.
Command Purpose

Table of Contents

Other manuals for Cisco Catalyst 3750-X

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 3750-X and is the answer not in the manual?

Cisco Catalyst 3750-X Specifications

General IconGeneral
BrandCisco
ModelCatalyst 3750-X
CategorySwitch
LanguageEnglish

Related product manuals