A SERVICE OF

logo

xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
80
config flow_meter profile_id
Purpose To configure packet flow-based metering based on an access profile and rule.
Syntax
config flow_meter profile_id <value 1-14> access_id <value 1-128>[ [ tr_tcm cir <value
0-156249> {cbs <value 0-16384>} pir <value 0-156249> {pbs <value 0-16384>} | sr_tcm
cir <value 0-156249> cbs <value 0-16384> ebs <value 0-16384> ] {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]
Description This command is used to configure the flow-based metering function. The metering function
support three modes, single rate two colors, single rate three color, and two rate three color.
The access rule must first be created before the parameters of this function can be applied.
For the single rate two color mode, users may set the preferred bandwidth for this rule, in
Kbps and once the bandwidth has been exceeded, overflow packets will be either dropped or
be set to a drop precedence, depending on user configuration. The drop precedence will be
used by RED. With RED, the packet with higher drop precedence will be dropped with higher
probability.
For the single rate three color mode, users need to specify the committed rate in Kbps, the
commited burst size and the excess burst size.
For the two rate three color mode, users need to specify the committed rate in Kbps, the
commited burst size, the peak rate and the peak burst size.
There can be two cases to map the color of packet, color blind mode and color aware mode.
In the color-blind case, the determination for the color of packet is based on metering result.
In the color-aware case, the determination for the color of packet is based metering result
and the ingress DSCP.
When the color blind or color aware is not specified, color blind is the default mode.
The green color packet will be treated the conforming action, the yellow color packet will be
treated the exceeding action, and the red color packet will be treated the violating action.
Parameters
profile_id - Specifies the profile_ID.
access_id - Specifies the access_ID.
tr_tcm - Specify the “two rate three color mode”.
cir - Specify the “committed information rate”.
The unit is 64Kbps.
The max rate 156249*64Kbps
cbs - Specify the “committed burst size”.
The unit is Kbytes. That is to say, 1 means 1Kbytes.
This parameter is an optional parameter. The default value is 4*1024.
The max set value is 16*1024.
pir - Specify the “Peak Information Rate”.
The unit is 64Kbits.
The max rate is 156249*64Kbps
pbs - Specify the “peak burst size”.
The unit is Kbytes.
This parameter is an optional parameter.The default value is 4*1024.
The max set value is 16*1024.
sr_tcm - Specify the “single rate three color mode”.
cir - Specify the “committed information rate”.
The unit is 64Kbps.
The max rate is 156249*64Kbps
cbs - Specify the “committed burst size”.
The unit is Kbytes.
The max set value is 16*1024.
ebs - Specify the “Excess Burst Size”.