DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
99
config flow_meter
6-5
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.
DGS-3000-26TC:admin#show access_profile profile_id 4
Command: show access_profile profile_id 4
Access Profile Table
Profile ID: 4 Profile name:4 Type: User Defined
MASK on
offset_chunk_1 : 3 value : 0x0000FFFF
offset_chunk_2 : 5 value : 0x0000FF00
offset_chunk_3 : 14 value : 0xFFFF0000
offset_chunk_4 : 16 value : 0xFF000000
Available HW Entries : 255
--------------------------------------------------------------------------------
Rule ID : 1 Ports: 1-2
Match on
offset_chunk_1 : 3 value : 0x000086DD
offset_chunk_2 : 5 value : 0x00003A00
offset_chunk_3 : 14 value : 0x86000000
Action:
Deny
DGS-3000-26TC:admin#
Summary of Contents for DGS-3000 series
Page 1: ......