Owners manual
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
483
Switch# configure terminal
Switch(config)# mls qos aggregate-policer agg_policer1 10000 16384 exceed-action drop
Switch(config)# policy-map policy2
Switch(config-pmap)# class class1
Switch(config-pmap-c)# police aggregate agg_policer1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class2
Switch(config-pmap-c)# police aggregate agg_policer1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class3
Switch(config-pmap-c)# police aggregate agg_policer1
Switch(config-pmap-c)#
53-15 police cir
This command is used to configure traffic policing for two rates, the committed information rate (CIR) and
the peak information rate (PIR). Use the no command to remove two-rate traffic policing.
police cir CIR [bc COMMITTED-BURST] pir PIR [be PEAK-BURST] [conform-action ACTION]
[exceed-action ACTION [violate-action ACTION]] [color-aware]
no police
Parameters
CIR
Specifies the committed information rate in kilobits per second. The
committed packet rate is the first token bucket for the two-rate
metering.
PIR
Specifies the peak information rate in kilobits per second. The peak
information rate is the second token bucket for the two-rate metering.
COMMITTED-BURST
(Optional) Specifies the burst size for the first token bucket in kilobytes.
PEAK-BURST
(Optional) Specifies the burst size for the second token bucket in
kilobytes.
confirm-action
(optional) Specifies the action to take on green color packets. If the
action is not specified, the default action is transmit.
exceed-action
(Optional) Specifies the action to take for those packets that conform
to PIR but not to CIR. These packets are referred to as yellow color
traffic. If the exceed-action is not specified, the default action is drop.
violate-action
(Optional) Specifies the action to take for those packets that did not
conform to both CIR and PIR. These packets are referred to as red
color traffic. If the violate-action is not specified, the default action is
equal to the exceed-action.
ACTION
Specifies the action to be taken. The actions can be:
drop - Packets will be dropped.
set-dscp-transmit VALUE - Sets the IP differentiated services code
point (DSCP) value and transmits the packet with the new IP DSCP
value.
set-1p-transmit - Sets the 802.1p value and transmits the packet with
the new value.
transmit - Transmits the packet. The packet is not altered.