![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/c/f9/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4-bg55.png)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
81
config flow_meter profile_id
The unit is Kbytes.
The max set value is 16*1024.
conform - Specify the action when packet is in “green color”.
permit - Permit the packet.
replace_dscp - Change the dscp of packet.
exceed - Specify the action when packet is in “yellow color”.
permit - Permit the packet.
replace_dscp - Change the dscp of packet.
drop - Drop the packet.
violate - Specify the action when packet is in “red color”.
permit - Permit the packet.
replace_dscp - Change the dscp of packet.
counter - Specify the counter.
This is optional. The default is “disable”.
The resource may be limited such that counter can not be turned on. The limitation is project
dependent.
counter will be cleared when the function is disabled.
delete - Delete the specified flow_meter.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configure a two rates thress color flow meter:
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.
show flow_meter
Purpose To configure packet flow-based metering based on an access profile and rule.
Syntax
show flow_meter {profile_id <value 1-14> {access_id <value 1-128>}}
Description This command displays the flow meter configuration.
Parameters
profile_id - Specifies the profile_ID.
access_id - Specifies the access_ID.
Restrictions None.
Example usage:
To display the flow meter configuration: