DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
100
replace_dscp
- 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) Specifies 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
- Specifies that the ACL counter option will be enabled.
disable
- Specifies that the ACL counter option will be disabled.
violate
- Specifies the action when a packet is mapped to the “red” color.
permit
- Permits the packet.
replace_dscp
- 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) Specifies 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
- Specifies that the ACL counter option will be enabled.
disable
- Specifies that the ACL counter option will be disabled.
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:
DWS-3160-24PC: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.
DWS-3160-24PC:admin#
6-6
show flow_meter
Description
This command is used to display the flow-based metering (ACL Flow Metering) configuration.
Format
show flow_meter {[profile_id <value 1-6> | profile_name <name 1-32>] {access_id <value 1-
256>}}
Parameters
profile_id
- (Optional) Specifies the profile ID.
<value 1-6>
- Enter the profile ID used here. This value must be between 1 and 6.
profile_name
- (Optional) Specifies the name of the profile. The maximum length is 32
characters.
<name 1-32>
- Enter the profile name used here.