![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/fa/ffa63819-0092-4e25-b43b-b3dd7442913c/ffa63819-0092-4e25-b43b-b3dd7442913c-bg1a6.png)
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
418
config flow_meter profile_id
• permit – Enter this parameter to allow packet flows that are in the yellow flow.
• replace_dscp <value 0-63> − Packets that are in the yellow flow may have their
DSCP field rewritten using this parameter and entering the DSCP value to
replace.
• drop – Enter this parameter to drop packets that are in the yellow flow.
• counter [enable | disable] – Use this parameter to enable or disable the packet
counter for the specified ACL entry in the yellow flow.
violate − This field denotes the red packet flow. Red packet flows may have excess packets
permitted through or dropped. Users may replace the DSCP field of these packets by
checking its radio button and entering a new DSCP value in the allotted field.
• permit – Enter this parameter to allow packet flows that are in the red flow.
• replace_dscp <value 0-63> − Packets that are in the red flow may have their
DSCP field rewritten using this parameter and entering the DSCP value to
replace.
• drop – Enter this parameter to drop packets that are in the red flow.
• counter [enable | disable] – Use this parameter to enable or disable the packet
counter for the specified ACL entry in the red flow.
delete – Use this parameter to delete the specified flow meter.
Restrictions Only Administrator and Operator-level users can issue this command. Only two counters
may be enabled at any given time.
Example usage:
To enable ACL flow metering:
DGS-3426:5#config flow
meter profile
id 1 access
id 1 tr
tcm cir 1000 cbs 200
pir 2000 pbs 200 exceed replace_dscp 21 violate drop
Command: config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pi
2000 pbs 200 exceed replace_dscp 21 violate drop
Success.
DGS-3426:5#
show flow_meter
Purpose Used to display the ACL flow meter parameters set on the switch.
Syntax
show flow_meter {profile_id <value 1-6> {access_id <value 1-128>}}
Description This command is used to display the flow meter parameters set on the Switch.
Parameters
profile_id <value 1-6> − Enter the profile ID of the ACL entry to be viewed for flow
metering.
access_id <value 1-128> − Enter the access ID corresponding to the ACL entry to be
viewed.
Restrictions None.