DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
102
permit - Permits the packet.
replace_dscp - (Optional) Changes the DSCP of the packet.
<value 0-63> - Enter the replace DSCP value here. This value must be between 0 and
63.
drop - Drops the packet.
counter - (Optional) Specify the ACL counter. This is optional. The default is “disable”. The
resource may be limited so that a counter cannot be turned on. Counters will be cleared
when the function is disabled.
enable - Enables the ACL counter option.
disable - Disables the ACL counter option.
violate - Specify the action when a packet is mapped to the “red” color.
permit - Permits the packet.
replace_dscp - (Optional) Changes the DSCP of the packet.
<value 0-63> - Enter the replace DSCP value here. This value must be between 0 and
63.
drop - Drops the packet.
counter - (Optional) Specify the ACL counter. This is optional. The default is disable. The
resource may be limited so that a counter cannot be turned on. Counters will be cleared
when the function is disabled.
enable - Enables the ACL counter option.
disable - Disables the ACL counter option.
delete - Deletes the specified flow_meter.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Example
To configure a “two rate, three color” flow meter:
DGS-3000-26TC:admin#config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000
cbs 2000 pir 2000 pbs 2000 color_blind conform permit counter enable exceed
permit replace_dscp 60 counter enable violate drop
Command: config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 2000
pir 2000 pbs 2000 color_blind conform permit counter enable exceed permit
replace_dscp 60 counter enable violate drop
Success.
show flow_meter 6-6
Description
This command is used to display the flow-based metering (ACL Flow Metering) configuration.
Format
show flow_meter {[profile_id <value 1-512> | profile_name <name 32>] {access_id <value 1-
256>}}
Parameters
profile_id - (Optional) Specify the profile ID.