xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
87
config flow_meter profile_id
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 the sFlow function:
DGS-3627:admin# 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 pir 2000 pbs
200 exceed replace_dscp 21 violate drop
Success.
DGS-3627:admin#
show flow_meter
Purpose
Used to display the ACL flow meter parameters set on the switch.
Syntax
show flow_meter {profile_id <value 1-14> {access_id <value 1-128>}}
Description
This command will display the flow meter parameters set on the switch.
Parameters
profile_id <value 1-14>
−
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.
Example usage:
To enable the sFlow function: