xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
122
depending on the user configuration. For single rate three color mode, users need to specify the
committed rate, in Kbps, the committed burst size, and the excess burst size. For the two rate
three color mode, users need to specify the committed rate in Kbps, the committed burst size, the
peak rate and the peak burst size. The green color packet will be treated as the conforming action,
the yellow color packet will be treated as the exceeding action, and the red color packet will be
treated as the violating action.
The replace DSCP action can be performed on packets that conform (GREEN) and packets that
do not conform (YELLOW and RED). If drop YELLOW/RED is selected, the action to replace the
DSCP will not take effect. The color mapping for both “single rate three color” and “two rate three
color” mode follow RFC 2697 and RFC 2698 in the color-blind situation.
Format
config flow_meter [profile_id <value 1-6> | profile_name <name 1-32>] access_id <value 1-
256> [rate [<value 0-1048576>] {burst_size [<value 0-131072>]} rate_exceed [drop_packet |
remark_dscp <value 0-63>] | tr_tcm cir <value 0-1048576> {cbs <value 0-131072>} pir <value
0-1048576> {pbs <value 0-131072>} {[color_blind | color_aware]} {conform [permit |
replace_dscp <value 0-63>] {counter [enable | disable]}} exceed [permit {replace_dscp
<value 0-63>} | drop] {counter [enable | disable]} violate [permit {replace_dscp <value 0-63>}
| drop] {counter [enable | disable]} | sr_tcm cir <value 0-1048576> cbs <value 0-131072> ebs
<value 0-131072> {[color_blind | color_aware]} {conform [permit | replace_dscp <value 0-
63>] {counter [enable | disable]}} exceed [permit {replace_dscp <value 0-63>} | drop]
{counter [enable | disable]} violate [permit {replace_dscp <value 0-63>} | drop] {counter
[enable | disable]} | delete]
Parameters
cir -Specify the Committed Information Rate. The unit is Kbps. CIR should always be equal or
less than PIR.
<value 0-1048576> - Enter the value between 0 and 1048576.
cbs - (Optional) Specify the Committed Burst Size. The unit is Kbyte.
<value 0-131072> - Enter the value between 0 and 131072.
pir - Specifies the Peak information Rate. The unit is Kbps. PIR should always be equal to or
greater than CIR.