xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
118
when the function is disabled.
enable
- Specify that the ACL counter option will be enabled.
disable
- Specify that the ACL counter option will be disabled.
exceed
- Specify the action when a packet is mapped to the “yellow” 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
- Specify that the ACL counter option will be enabled.
disable
- Specify that the ACL counter option will be disabled.
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
- Specify that the ACL counter option will be enabled.
disable
- Specify that the ACL counter option will be disabled.
delete
- Deletes the specified flow_meter.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To configure a “two rate, three color” flow meter:
DGS-3120-24TC: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.
DGS-3120-24TC: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>}}
Summary of Contents for xStack DGS-3120 Series
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051...