EasyManua.ls Logo

Cisco ME 3400 - Page 346

Cisco ME 3400
950 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-318
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-10
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
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:
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
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: negates or sets the default values of a command.
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 Description
class Defines a traffic classification match criteria for the specified
class-map name.
conform-action Defines multiple actions for a policy-map class for packets that meet
the CIR.
exceed-action Defines multiple actions for a policy-map class for packets that
exceed the CIR.
policy-map Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
show policy-map Displays QoS policy maps.

Table of Contents

Other manuals for Cisco ME 3400

Related product manuals