xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
73
DGS-3450:admin# show access_profile
Command: show access_profile
Access Profile Table
Total Unused Rule Entries: 765
Total Used Rule Entries : 3
Access Profile ID: 1 TYPE : Packet Content
================================================================================
Owner : ACL
MASK Option :
-------------------------------------
Offset_chunk_1: 1 value:FFFFFFFF
Offset_chunk_2: 2 value:EEEEEEEE
Offset_chunk_3: 3 value:DDDDDDDD
Offset_chunk_4: 4 value:CCCCCCCC
Access ID : 1 Mode: Permit priority: 3
Port: 1:1
-------------------------------------
Offset_chunk_1: 1 value:11111111
Offset_chunk_2: 2 value:22222222
Offset_chunk_3: 3 value:11111111
Offset_chunk_4: 4 value:44444444
================================================================================
Unused rule entries: 127
DGS-3450:admin#
config flow_meter profile_id
Purpose
To configure packet flow-based metering based on an access profile and rule.
Syntax
config flow_meter profile_id <value 1-6> access_id <value 1-128>[ [ tr_tcm cir <value
0-156249> {cbs <value 0-16384>} pir <value 0-156249> {pbs <value 0-16384>} | sr_tcm
cir <value 0-156249> cbs <value 0-16384> ebs <value 0-16384> ] {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]
Description
This command is used to configure the flow-based metering function. The metering function
support three modes, single rate two colors, single rate three color, and two rate three color.
The access rule must first 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, overflow packets will be either dropped or
be set to a drop precedence, depending on user configuration. The drop precedence will be
used by RED. With RED, the packet with higher drop precedence will be dropped with higher
probability.
For the single rate three color mode, users need to specify the committed rate in Kbps, the
commited burst size and the excess burst size.
For the two rate three color mode, users need to specify the committed rate in Kbps, the
commited burst size, the peak rate and the peak burst size.
There can be two cases to map the color of packet, color blind mode and color aware mode.
In the color-blind case, the determination for the color of packet is based on metering result.
In the color-aware case, the determination for the color of packet is based metering result
and the ingress DSCP.
When the color blind or color aware is not specified, color blind is the default mode.
The green color packet will be treated the conforming action, the yellow color packet will be