D-Link DES-3200 Series Washer/Dryer User Manual


 
xStack
®
DES-3200 Series Layer 2 Managed Fast Ethernet Switch CLI Reference Guide
95
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.
There are two cases for mapping the color of a packet: Color-blind mode and Color-aware mode.
In the Color-blind case, the determination for the packet’s color is based on the metering result. In
the Color-aware case, the determination for the packet’s color is based on the metering result and
the ingress DSCP.
When color-blind or color-aware is not specified, color-blind is the default mode.
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.
Format
config flow_meter [profile_id <value 1-4> | profile_name <name 32>] access_id <value 1-
256> [rate [<value 1-1048576>] {burst_size [<value 1-262144>]} rate_exceed [drop_packet |
remark_dscp <value 0-63>] | tr_tcm cir <value 1-1048576> {cbs <value 1-262144>} pir <value
1-1048576> {pbs <value 1-262144>} {[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 1-1048576> cbs <value 1-262144> ebs
<value 1-262144> {[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-4> - Enter the profile ID here. This value must be between 1 and 4.
profile_name - Specify the name of the profile. The maximum length is 32 characters.
<name 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 1-1048576> - Enter the rate for single rate two color mode here. This value must be
between 1 and 1048576.
burst_size - (Optional) This specifies the burst size for the single rate two color mode. The unit is
Kbytes.
<value 1-262144> - Enter the burst size value here. This value must be between 1 and
262144.
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”.