343
E
ES4710BD 10 Slots L2/L3/L4 Chassis Switch
according to
policed-dscp
mapping when specified speed is exceeded.
Default:
There is no policy by default.
Command mode:
Policy class map configuration Mode
Usage Guide:
The ranges of
<
rate-kbps>
and
<burst-kbyte>
are quite large, if the setting exceeds
the actual speed of the port, the policy map applying this policy will not bind to
switch ports.
Example: Setting the bandwidth for packets that matching c1 class rule to 20 Mbps, with a burst
value of 2 MB, all packets exceed this bandwidth setting will be dropped.
Switch(Config)#policy-map p1
Switch(Config-PolicyMap)#class c1
Switch(Config--Policy-Class)#police 20000 2000 exceed-action drop
Switch(Config--Policy-Class)#exit
Switch(Config-PolicyMap)#exit
16.2.2.8 mls qos aggregate-policer
Command: mls qos aggregate-policer <
aggregate-policer-name> <rate-kbps> <burst-kbyte>
exceed-action {drop |policed-dscp-transmit}
no mls qos aggregate-policer <
aggregate-policer-name>
Function:
Defines a policy set that can be used in one policy map by several classes; the “
no mls
qos aggregate-policer <
aggregate-policer-name>
” command deletes the specified policy
set.
Parameters:
<
aggregate-policer-name>
is the name of the policy set;
<
rate-kbps>
is the average
baud rate (in kb/s) of classified traffic, range from 1,000 to 10,000,000;
<burst-kbyte>
is the burst value (in kb/s) for classified traffic, range from 1 to 1,000,000;
exceed-action drop
means drop packets when specified speed is exceeded;
exceed-action policed-dscp-transmit
specifies to mark down packet DSCP value
according to
policed-dscp
mapping when specified speed is exceeded.
Default:
No policy set is configured by default.
Command mode:
Global Mode
Usage Guide:
If a policy set is using by a policy map, it cannot be deleted unless the reference to
the policy set is cleared in the appropriate policy map with “
no police aggregate
<
aggregate-policer-name>
” command. The delete should be performed in Global
Mode with “
no mls qos aggregate-policer <
aggregate-policer-name>
” command.
Example:
Setting a policy set named “agg1”, the policy set defines the bandwidth for packets of up
to 20 Mbps, with a burst value of 2 MB. All packets exceeding this bandwidth setting will
be dropped.
Switch(Config)#mls qos aggregate-policer agg1 20000 2000 exceed-action drop