![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg1a5.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
417
config flow_meter profile_id
Purpose Used to configure the flow metering function for ACL..
Syntax
<value 1-6> access_id <value 1-128>[ [ tr_tcm cir <value 1-156249> {cbs <value 1-
16384>} pir <value 1-156249> {pbs <value 1-16384>} | sr_tcm cir <value 1-156249>
cbs <value 1-16384> ebs <value 1-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 parameters for the flow metering function for ACL
entries created on the switch.
Parameters
profile_id <value 1-6> − Enter the pre-configured Profile ID for which to configure the ACL
Flow Metering parameters.
access_id <value 1-128> − Enter the pre-configured Access ID for which to configure the
ACL Flow Metering parameters.
tr_tcm – Choosing this field will allow users to employ the Two Rate Three Color Mode and
set the following parameters to determine the color rate of the IP packet flow.
• cir <value 1-156249> – The Committed Information Rate can be set between 1
and 156249. IP flow rates at or below this level will be considered green. IP flow
rates that exceed this rate but not the PIR rate are considered yellow.
• cbs <value 1-16384> − The Committed Burst Size. Used to gauge packets that
are larger than the normal IP packets. This field does not have to be set for this
feature to function properly but is to be used in conjunction with the CIR setting.
The CBS should be configured to accept the biggest IP packet that is expected in
the IP flow.
• pir <value 1-16384> − The Peak information Rate. IP flow rates that exceed this
setting will be considered as red. This field must be set at an equal or higher value
than the CIR.
• pbs <value 1-16384> − The Peak Burst Size. This optional field is to be used in
conjunction with the PIR. The PBS should be configured to accept the biggest IP
packet that is expected in the IP flow.
sr_tcm − Choosing this field will allow users to employ the Single Rate Three Color Mode
and set the following parameters to determine the color rate of the IP packet flow.
• cir <value 1-156249> – The Committed Information Rate can be set between 1-
156249. The color rates are based on the following two fields which are used in
conjunction with the CIR.
• cbs <value 1-16384> − Committed Burst Size. Measured in bytes, the CBS is
associated with the CIR and is used to identify packets that exceed the normal
boundaries of packet size. The CBS should be configured to accept the biggest IP
packet that is expected in the IP flow. Packet flows which are lower than this
configured value are marked green. Packet flows which exceed this value but are
less than the EBS value are marked yellow.
• ebs <value 1-16384> − Excess Burst Size. Measured in bytes, the EBS is
associated with the CIR and is used to identify packets that exceed the
boundaries of the CBS packet size. The EBS is to be configured for an equal or
larger rate than the CBS. Packet flows that exceed this value are marked as red.
conform − This field denotes the green packet flow. Green packet flows may have their
DSCP field rewritten to a value stated in this field. Users may also choose to count green
packets by checking the Counter check box.
• permit – Enter this parameter to allow packet flows that are in the green flow.
• replace_dscp <value 0-63> − Packets that are in the green flow may have their
DSCP field rewritten using this parameter and entering the DSCP value to
replace.
• counter [enable | disable] – Use this parameter to enable or disable the packet
counter for the specified ACL entry in the green flow.
exceed − This field denotes the yellow packet flow. Yellow packet flows may have excess
packets permitted through or dropped. Users may replace the DSCP field of these packets
by checking its radio button and entering a new DSCP value in the allotted field.