DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
116
[enable | disable]}} exceed [permit {replace_dscp <value 0-63>} | drop] {counter [enable |
disable]} violate [permit {replace_dscp <value 0-63>} | drop] {counter [enable | disable]} |
sr_tcm cir <value> cbs <value> ebs <value> {[color_blind | color_aware]} {conform [permit |
replace_dscp <value 0-63>] {counter [enable | disable]}} exceed [permit {replace_dscp
<value 0-63>} | drop] {counter [enable | disable]} violate [permit {replace_dscp <value 0-63>}
| drop] {counter [enable | disable]} | delete]
Parameters
profile_id
- Specifies the profile ID.
<value 1-4>
- Enter the profile ID used here. This value must be between 1 and 4.
profile_name
- Specifies the name of the profile. The maximum length is 32 characters.
<name>
- Enter the profile name used here.
access_id
- Specifies the access ID.
<value 1-128>
- Enter the access ID used here. This value must be between 1 and 128.
rate
- This specifies the rate for single rate two-color mode. Specifies the committed bandwidth in
Kbps for the flow.
<value>
- Enter the rate for single rate two-color mode here.
burst_size
- (Optional) This specifies the burst size for the single rate “two color” mode. The unit
is Kbytes.
<value>
- Enter the burst size value here.
rate_exceed
- This specifies the action for packets that exceed the committed rate in single rate
“two color” mode. The action can be specified as one of the following:
drop_packet
- Drop the packet immediately.
remark_dscp
- Mark the packet with a specified DSCP. The packet is set to have the higher
drop precedence.
<value 0-63>
- Enter the remark DSCP value here. This value must be between 0 and 63.
tr_tcm
- Specifies the “two rate three color mode”.
<value>
- Enter the two rate three color mode value here.
cbs
- (Optional) Specifies the “Committed Burst Size”. The unit is Kbytes. That is to say, 1 means
1Kbytes. This parameter is an optional parameter. The default value is 4*1024.
<value>
- Enter the committed burst size value here.
pir
- Specifies the “Peak Information Rate”. The unit is in Kbps. PIR should always be equal to or
greater than CIR.
<value>
- Enter the peak information rate value here.
pbs
- (Optional) Specifies the “Peak Burst Size”. The unit is in Kbytes.
<value>
- Enter the peak burst size value here.
color_blind
- (Optional) Specifies the meter mode to be color-blind. The default is color-blind
mode.
color_aware
- (Optional) Specifies the meter mode to be color-aware. When this code is
specified, user could set the “in-coming packet color” by using command “config color_aware”.
The final color of packet is determined by the initial color of packet and the metering result.
conform
- (Optional) Specifies the action when packet is in “green color”.
permit
- Permit 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.
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 parameter will be enabled.
disable
- Specifies that the ACL counter parameter will be disabled.
exceed
- Specifies the action when packet is in “yellow color”.
permit
- (Optional) Permit the packet.
replace_dscp
- Changes the DSCP of the packet.
<value 0-63>
- Enter the DSCP replace 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