Cisco 3750G - Catalyst Integrated Wireless LAN Controller Configuration Manual page 772

Software configuration guide
Hide thumbs Also See for 3750G - Catalyst Integrated Wireless LAN Controller:
Table of Contents

Advertisement

Configuring Standard QoS
Command
Step 3
class-map [match-all | match-any]
class-map-name
Step 4
policy-map policy-map-name
Step 5
class class-map-name
Step 6
police aggregate aggregate-policer-name
Step 7
exit
Step 8
interface interface-id
Step 9
service-policy input policy-map-name
Step 10
end
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
Catalyst 3750 Switch Software Configuration Guide
33-60
Purpose
Create a class map to classify traffic as necessary. For more
information, see the
"Classifying Traffic by Using Class Maps"
section on page
33-47.
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
For more information, see the
Traffic on Physical Ports by Using Policy Maps" section on
page
33-49.
Define a traffic classification, and enter policy-map class
configuration mode.
For more information, see the
Traffic on Physical Ports by Using Policy Maps" section on
page
33-49.
Apply an aggregate policer to multiple classes in the same policy
map.
For aggregate-policer-name, enter the name specified in Step 2.
Return to global configuration mode.
Specify the port to attach to the policy map, and enter interface
configuration mode.
Valid interfaces include physical ports.
Specify the policy-map name, and apply it to an ingress port.
Only one policy map per ingress port is supported.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Chapter 33
Configuring QoS
"Classifying, Policing, and Marking
"Classifying, Policing, and Marking
OL-8550-02

Advertisement

Table of Contents
loading

Table of Contents