xStack
®
DGS-3120 Series Managed Switch CLI Reference Guide
98
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.
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
profile_id
- Specify the profile ID.
<value 1-6>
- Enter the profile ID here. This value must be between 1 and 6.
profile_name
- Specify the name of the profile. The maximum length is 32 characters.
<name 1-32>
- Enter the profile name used here.
access_id
- Specify the access ID.
<value 1-256>
- Enter the access ID used here. This value must be between 1 and 256.
rate
- This specifies the rate for single rate two color mode. Specify the committed bandwidth in
Kbps for the flow. The value m and n are determined by the project.
<value 0-1048576>
- Enter the rate for single rate two color mode here. This value must be
between 0 and 1048576.
burst_size
- (Optional) This specifies the burst size for the single rate two color mode. The unit is
Kbytes.
<value 0-131072>
- Enter the burst size value here. This value must be between 0 and
131072.
rate_exceed
- This specifies the action for packets that exceeds the committed rate in single
rate, two color mode.
drop_packet
- Drop the packet immediately.
remark_dscp
- Mark the packet with a specified DSCP. The packet is set to have a high drop
precedence.
<value 0-63>
- Enter the remark DSCP value here. This value must be between 0 and 63.
tr_tcm
- Specify the “two rate three color mode”.
cir
- Specify the Committed Information Rate. The unit is in Kbps. CIR should always be equal
or less than PIR.
<value 0-1048576>
- Enter the commited information rate value here. This value must be
between 0 and 1048576.
cbs
- (Optional) 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.
<value 0-1048576>
- Enter the commited burst size value here. This value must be
between 0 and 1048576.
pir
- Specify the “Peak Information Rate”. The unit is in Kbps. PIR should always be equal to
or greater than CIR.
<value 0-1048576>
- Enter the peak information rate value here. This value must be
between 0 and 1048576.
pbs
- (Optional) Specify the “Peak Burst Size”. The unit is in Kbytes. This parameter is an
optional parameter. The default value is 4*1024.
<value 0-131072>
- Enter the peak burst size value here. This value must be between 0