DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
112
DSCP field rewritten to a value stated in this field. Users may also choose to count green
packets by using counter parameter.
permit
- Enter this parameter to allow packet flows that are in the green flow.
replace_dscp
- Packets that are in the green flow may have their DSCP field rewritten using
this parameter and entering the DSCP value to replace.
<value 0-63>
- Specifies the value between 0 and 63.
counter
- (Optional) Use this parameter to enable or disable the packet counter for the
specified ACL entry in the green flow.
enable
- Enable the packet counter for the specified ACL entry in the green flow.
disable
- Disable the packet counter for the specified ACL entry in the green flow.
exceed
- This field denotes the yellow packet flow. Yellow packet flows may have excess packets
permitted through or dropped.
permit
- Enter this parameter to allow packet flows that are in the yellow flow.
replace_dscp
- Packets that are in the green flow may have their DSCP field rewritten using
this parameter and entering the DSCP value to replace.
<value 0-63>
- Specifies the value between 0 and 63.
drop
- Enter this parameter to drop packets that are in the yellow flow.
counter
- (Optional) Use this parameter to enable or disable the packet counter for the
specified ACL entry in the green flow.
enable
- Enable the packet counter for the specified ACL entry in the green flow.
disable
- Disable the packet counter for the specified ACL entry in the green flow.
violate
- This field denotes the red packet flow. Red packet flows may have excess packets
permitted through or dropped.
permit
- Enter this parameter to allow packet flows that are in the red flow.
replace_dscp
- Packets that are in the green flow may have their DSCP field rewritten using
this parameter and entering the DSCP value to replace.
<value 0-63>
- Specifies the value between 0 and 63.
drop
- Enter this parameter to drop packets that are in the red flow.
counter
- (Optional) Use this parameter to enable or disable the packet counter for the
specified ACL entry in the green flow.
enable
- Enable the packet counter for the specified ACL entry in the green flow.
disable
- Disable the packet counter for the specified ACL entry in the green flow.
delete
- Use this parameter to delete the specified flow meter.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure a two rate, three color flow meter:
DGS-3710-12C:admin#config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000
cbs 200 pir 2000 pbs 200 conform replace_dscp 21 exceed drop violate permit
Command: config flow_meter profile_id 1 access_id 1 tr_tcm cir 1000 cbs 200 pir
2000 pbs 200 conform replace_dscp 21 exceed drop violate permit
Success.
DGS-3710-12C:admin#
To configure flow meter to identify conformed (green), exceeded (yellow), and violated (red)
packets: