Specifications
2-189
Cisco ME 2400 Ethernet Access Switch Command Reference
OL-9643-03
Chapter 2 Cisco ME 2400 Ethernet Access Switch Cisco IOS Commands
police
provides the ability to modify a QoS marking based on any incoming QoS marking and table maps. This
release also added support for the ability to mark multiple QoS parameters for the same class, and
configure conform-action marking and exceed-action marking simultaneously.
The switch supports a maximum of 229 policer instances on the switch (228 user-configurable policers
and 1 policer reserved for internal use). You can configure up to 46 policers on a port.
Policing is only supported in input policies or in output policies that were configured with the priority
policy-map class configuration command to reduce bandwidth in the priority queue.
Note When used with the priority command in an output policy, the police rate range is 64000 to
1000000000 bps, even though the range that appears in the command-line interface help is 8000 to
1000000000. You cannot attach an output service policy with an out-of-range rate.
An output policy map should match only the modified values of the out-of-profile traffic and not the
original values.
To configure multiple conform-actions or multiple exceed-actions, enter policy-map class police
configuration mode, and use the conform-action and exceed-action policy-map class police
configuration commands.
When you define the policer and enter a carriage return, you enter policy-map class police configuration
mode, which allows you to configure multiple policing actions. In this mode, these configuration
commands are available:
• conform-action: the action to be taken on packets that conform to the CIR. The default action is to
transmit the packet. For more information, see the conform-action policy-map class police
command.
• exceed-action: the action to be taken on packets that do not conform to the CIR. The default action
is to drop the packet. For more information, see the exceed-action policy-map class police
command.
• exit: exits from QoS policy-map class police configuration mode. If you do not want to set multiple
actions, you can enter exit without entering any other policy-map class police commands.
• no: negate or set the default values of a command.
Examples This example shows how to configure a policer with a 1-Mbps average rate with a burst size of 20 KB.
The policer sets a new DSCP precedence value if the packets conform to the rate and drops the packet if
traffic exceeds the rate.
Switch(config)# policy-map policy1
Switch(config-pmap)# class inclass1
Switch(config-pmap-c)# police cir 1000000 20000 conform-action set-dscp-transmit 46
exceed-action drop
Switch(config-pmap-c)# exit
This example shows how to configure a policer with default actions.
Switch(config)# policy-map policy2
Switch(config-pmap)# class class2
Switch(config-pmap-c)# police 1000000 20000 conform-action transmit exceed-action drop
Switch(config-pmap-c)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.