D-Link DGS-1510/ME Series Reference Manual page 87

Table of Contents

Advertisement

DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide
6-5
config flow_meter
Description
This command is used to configure the flow-based metering function. The metering function supports three modes:
single rate two color, single rate three color, and two rate three color. The access rule must 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, overflowing packets will either be dropped or have a drop precedence set,
depending on the user configuration.
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-512> | profile_name <name 32>] access_id <value 1-128> [rate
[<value 1-10485760>] {burst_size [<value 1-262144>]} rate_exceed [drop_packet | remark_dscp <value 0-
63>] | tr_tcm cir <value 1-10485760> {cbs <value 1-262144>} pir <value 1-10485760> {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-10485760> 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 - Specifies the profile ID.
<value 1-512> - Enter the profile ID here. This value must be between 1 and 512.
profile_name - Specifies the name of the profile. The maximum length is 32 characters.
<name 32> - Enter the profile name used here.
access_id - Specifies the access ID.
<value 1-128> - Enter the access ID used here. This value must be between 1 and 128.
rate - Specifies the rate for single rate two color mode. Specifies the committed bandwidth in Kbps for the flow.
<value 1-10485760> - Enter the rate for single rate two color mode here. This value must be between 1 and
10485760.
burst_size - (Optional) 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 - Specifies the action for packets that exceeds the committed rate in single rate, two color mode.
drop_packet - Specifies to drop the packet immediately.
remark_dscp - Specifies 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 - Specifies the "two rate three color mode".
83

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents