Configuring Input Policy Maps With Marking - Cisco ME 3400 Software Configuration Manual

Ethernet access switch
Hide thumbs Also See for ME 3400:
Table of Contents

Advertisement

Configuring QoS
After you have created an aggregate policer, you attach it to an ingress port. See the
Policy to an Interface" section on page
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 policer aggregate 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. The policy map is attached to an ingress port.
Switch(config)# policer aggregate example 10900000 80000 conform-action transmit
exceed-action drop
Switch(config)# class-map testclass1
Switch(config-cmap)# match access-group 1
Switch(config-cmap)# exit
Switch(config)# class-map testclass2
Switch(config-cmap)# match access-group 2
Switch(config-cmap)# exit
Switch(config)# policy-map testexample
Switch(config-pmap)# class testclass
Switch(config-pmap-c)# police aggregate example
Switch(config-pmap-c)# exit
Switch(config-pmap)# class testclass2
Switch(config-pmap-c)# police aggregate example
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastethernet0/1
Switch(config-if)# service-policy input testexample
Switch(config-if)# exit

Configuring Input Policy Maps with Marking

You use the set policy-map class configuration command to set or modify the attributes for traffic
belonging to a specific class. Follow these guidelines when configuring marking in policy maps:
Beginning in privileged EXEC mode, follow these steps to create an input policy map that marks traffic:
Command
Step 1
configure terminal
Step 2
policy-map policy-map-name
Step 3
class {class-map-name | class-default}
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
33-46
You can configure a maximum of 100 QoS groups on the switch.
When you use a table map for marking 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 either 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.
Purpose
Enter global configuration mode.
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
Enter a class-map name, or class-default to match all unclassified
packets, and enter policy-map class configuration mode.
If you enter a class-map name, you must have already created the class
map by using the class-map global configuration command.
33-38.
Chapter 33
Configuring QoS
"Attaching a Traffic
OL-9639-07

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents