Cisco ME 3400 Command Reference Manual page 346

Ethernet access switch
Table of Contents

Advertisement

police
When you define the policer and press Enter, you enter policy-map class police configuration mode, in
which you can configure multiple policing actions:
Examples
This example shows how to configure a policer with a 1-Mb/s 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.
Related Commands
Command
class
conform-action
exceed-action
policy-map
show policy-map
Cisco ME 3400 Ethernet Access Switch Command Reference
2-318
conform-action: the action to be taken on packets that conform to (are less than or equal to) the
CIR. The default action is to transmit the packet. For more information, see the
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
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: negates or sets the default values of a command.
Chapter 2
Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
exceed-action
Description
Defines a traffic classification match criteria for the specified
class-map name.
Defines multiple actions for a policy-map class for packets that meet
the CIR.
Defines multiple actions for a policy-map class for packets that
exceed the CIR.
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
Displays QoS policy maps.
conform-action
policy-map class police
OL-9640-10

Advertisement

Table of Contents
loading

Table of Contents