D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
102
Example
To disable CPU interface filtering:
DGS-3420-28SC:admin#disable cpu_interface_filtering
Command: disable cpu_interface_filtering
Success.
DGS-3420-28SC:admin#
5-14 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 remarked DSCP,
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. 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. The color mapping for both “single rate three color” and “two rate three
color” mode follow RFC 2697 and RFC 2698 in the color-blind situation.
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 index of the access list profile.
<value 1-6>
- Specify the value between 1 and 6.
profile_name - Specify the name of the profile.
<name 1-32> - Specify the name of the profile. The maximum length is 32 characters.
access_id - Specify the index of the access list entry.
<value 1-256> - Specify the value between 1 and 256.