30-36
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter30 Co nf iguring QoS
Configuring QoS
When an input policy map with only Layer 2 classification is attached to a routed port or a switch
port containing a routed SVI, the service policy acts only on sw itch ing eli gibl e t raffic and no t on
routing eligible traffic.
On an IEEE 802.1Q tunnel port, you can use only an input policy m ap wi th L aye r 2 cl assificat ion
based on MAC ACLs to classify traffic. Input policy maps with Layer 3 classification or match
Layer 2 CoS classification are not supported on tunnel ports.
Input policy maps support policing and marking, not scheduling or qu eu ing. You cannot configure
bandwidth, priority, queue-limit, or shape average in input policy maps.
These sections describe how to configure different types of input policy maps:
Configuring Input Policy Maps with Individual Policing, page 30-36
Configuring Input Policy Maps with Aggregate Policing, page 30-39
Configuring Input Policy Maps with Marking, page 30-41
Configuring Input Policy Maps with Individual Policing
You use the police policy-map class configuration command to configure individual policers to define
the committed rate limitations, committed burst size limitations of the traffic, and the action to take for
a class of traffic.
Follow these guidelines when configuring individual policers:
Policing is supported only on input policy maps.
The maximum number of policers per port is 48. The maximum number of po lic er instances on the
switch is 229.
You cannot configure individual policing for the class class-default.
You can configure only one exceed-action police markdown table map of each type (CoS, DSCP, or
IP precedence) on the switch. You can reference that table map in multiple policers.
You cannot configure marking simultaneously for both conform-action and exceed-action for the
same policer instance.
When you use a table map for police exceed-action in an input policy map , the protocol type of the
map from type of action must be the same as the protocol type of the associated classification. For
example, if the associated class map represents an IP classification, the map from type of action
that references the table map must be dscp or precedence. If the associated class map represents a
non-IP classification, the map from type of action that references the table map must be cos.
Beginning in privileged EXEC mode, follow these steps to create an input policy map with individual
policing:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 policy-map policy-map-name Create a policy map by entering the policy map name, and enter
policy-map configuration mode. By default, no class maps are
defined.
Step3 class class-map-name Enter a class-map name and enter policy-map class configuratio n
mode.
You must have already created the class map by using the class-map
global configuration command.