Cisco Systems ME3400G2CSA Switch User Manual


 
30-36
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
78-17058-01
Chapter 30 Configuring 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 switching eligible traffic and not on
routing eligible traffic.
On an IEEE 802.1Q tunnel port, you can use only an input policy map with Layer 2 classification
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 queuing. 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 policer 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
Step 1
configure terminal Enter global configuration mode.
Step 2
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.
Step 3
class class-map-name Enter a class-map name and enter policy-map class configuration
mode.
You must have already created the class map by using the class-map
global configuration command.