Specifications

2-198
Cisco ME 2400 Ethernet Access Switch Command Reference
OL-9643-03
Chapter 2 Cisco ME 2400 Ethernet Access Switch Cisco IOS Commands
policy-map
Follow these guidelines when configuring input policy maps:
The total number of input policy maps that can be attached to interfaces on the switch is limited by
the availability of hardware resources. If you attempt to attach an input policy map that would
exceed any hardware resource limitation, the configuration fails.
An input policy map can contain a maximum of 32 class maps, one of which is class-default.
You cannot configure an IP (IP standard and extended ACL, DSCP or IP precedence) and a non-IP
(MAC ACL or CoS) classification within the same policy map, either within a single class map or
across class maps within the policy map.
After you use the service-policy input policy-map configuration command to attach an input policy
map to an interface, you can modify the policy without detaching it from the interface. You can add
or delete classification criteria, classes, or actions, or change the parameters of the configured
actions (policers, rates, mapping, marking, and so on).
These commands are not supported on input policy maps: match qos-group command, bandwidth
command for Class-Based-Weighting-Queuing (CBWFQ), priority command for class-based
priority queueing, queue-limit command for Weighted Tail Drop (WTD), shape average command
for port shaping, or class-based traffic shaping.
Follow these guidelines when configuring output policy maps:
Output policy maps can have a maximum of four classes, one of which is the class-default.
Beginning with Cisco IOS Release 12.2(35)SE, the switch supports configuration and attachment of
a unique output policy map for each port on the switch. However, these output policy maps can
contain only three configurations of queue limits. You can include these three unique queue-limit
configurations in as many output policy maps as there are switch ports. If you try to attach an output
policy map that has a fourth queue-limit configuration, you see an error message, and the attachment
is not allowed. There are no limitations on the configurations of bandwidth, priority, or shaping.
All output policy maps must include the same number of class maps (one to three) and the same
classification (that is, the same class maps).
After you have attached a output policy map to an interface by using the service-policy output
interface configuration command, you can only change the parameters of the configured actions
(rates, percentages, and so on) or add or delete classification criteria of the class map while the
policy map is attached to the interface. To add or delete a class or an action, you must detach the
policy map from all interfaces, change it, and then reattach it to interfaces.
These commands are not supported on output policy maps: match access-group command, set
command for marking, and police command for policing without including the priority command.
For more information about policy maps, see the software configuration guide for this release.
Examples This example shows how to create an input policy map for three classes:
Switch(config)# policy-map input-all
Switch(config-pmap)# class gold
Switch(config-pmap-c)# set dscp af43
Switch(config-pmap-c)# exit
Switch(config-pmap)# class silver
Switch(config-pmap-c)# police 50000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class bronze
Switch(config-pmap-c)# police 20000000
Switch(config-pmap-c)# exit