PLANET WGSW-50040 User Manual
Page 189

ACTION} )
Dual Bucket Mode:
policy
ACTION }]
ACTION definition:
drop | transmit | set-dscp-transmit
| set-cos-transmit
no policy
Function:
The non-aggregation policer command supporting three colors. Determine whether the working
mode of token bucket is singe rage single bucket, single rate single bucket, single rate dual bucket
or dual rate dual bucket, set the corresponding action to the different color packets. The no
command will delete the mode configuration.
Parameters:
bits_per_second:The committed information rate – CIR (Committed Information Rate), in Kbps,
ranging from 1 to 10000000;
normal_burst_bytes:The committed burst size – CBS (Committed Burst Size), in byte, ranging
from 1 to 1000000. When the configured CBS value exceeds the max limit of the chip, configure the
hardware with max number supported by the chip without any CLI prompt;
maximum_burst_bytes:The peak burst size – PBS (Peak Burst Size), in byte, ranging from 1 to
10000000. When the configured PBS value exceeds the max limit of the chip, configure the
hardware with max number supported by the chip without any CLI prompt. Notice: this configuration
only exists in dual bucket mode;
pir peak_rate_bps:The peak information rate – PIR (Peak Information Rate), in kbps, ranging from
1 to 10000000. Without configuring PIR, the Police works in the single rate dual bucket mode;
otherwise in the dual rate dual bucket mode. Notice: this configuration only exists in dual bucket
mode;
conform-action:The action to take when the CIR is not exceeded, which means the messages are
green, the default as transmit;
exceed-action:The actions to take when the CIR is exceeded but PIR isn’t, which means the
messages are yellow, the default as drop;
violate-action:The actions to take when the PIR is exceeded, which means the messages are red,
the default as drop.
ACTION include:
Drop/transmit: Drop/transmit the packets
set-dscp-transmit sets DSCP, it is valid to IPv4 and IPv6 packets, only set-dscp-transmit or