xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
273
Command Parameters
config flow_meter profile_id
<value 1-14> 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]
show flow_meter
{profile_id <value 1-14> {access_id <value 1-128>}}
Each command is listed, in detail, in the following sections.
config flow_meter profile_id
Purpose
Used to configure the flow metering function for ACL..
Syntax
config flow_meter profile_id <value 1-14> 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-14>
−
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