F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
263
carl carl-index: Limits the rate of packets matching a CAR list. The carl-index argument is the index of a
CAR list and ranges from 1 to 199.
cir committed-information-rate: Sets the CIR in kbps.
cbs committed-burst-size: Sets the CBS in bytes, which specifies the size of bursty traffic when the actual
average rate is not greater than the CIR.
ebs excess-burst-size: Sets the EBS in bytes. The default is 0.
green: Sets the action conducted to packets when the traffic rate conforms to CIR. The default is pass.
red: Sets the action conducted to packets when the traffic rate exceeds CIR. The default is discard.
action: Sets the action conducted to packets:
continue: Continues to process the packet using the next CAR policy.
discard: Drops the packet.
pass: Permits the packet to pass through.
remark-dscp-continue new-dscp: Remarks the packet with a new DSCP value and hands it over to
the next CAR policy. The value range is 0 to 63. Alternatively, you can specify the new-dscp
argument with af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3,
cs4, cs5, cs6, cs7, default, or ef.
remark-dscp-pass new-dscp: Remarks the packet with a new DSCP value and permits the packet to
pass through. The value range is 0 to 63. Alternatively, you can specify the new-dscp argument with
af11, af1
2, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, cs6,
cs7, default, or ef.
remark-mpls-exp-continue new-exp: Sets the EXP field value of the MPLS packet to new-exp and
continues to process the packet using the next CAR policy. The new-exp argument ranges from 0 to
7.
remark-mpls-exp-pass new-exp: Sets the EXP field value of the MPLS packet to new-exp and permits
the packet to pass through. The new-exp argument ranges from 0 to 7.
remark-prec-continue new-precedence: Remarks the packet with a new IP precedence and hands
it over to the next CAR policy. The value range is 0 to 7.
remark-prec-pass new-precedence: Remarks the packet with a new IP precedence and permits the
packet to pass through. The value range is 0 to 7.
Usage guidelines
You can execute this command multiple times to configure multiple CAR policies on an interface. The
policies are applied in the order they are configured.
Examples
# Perform CAR for packets matching CAR list 1 in the outbound direction of GigabitEthernet 0/1. The
CAR parameters are as follows: CIR is 200 kbps, CBS is 50000 bytes and EBS is 0. Conforming packets
are transmitted, and excess packets are set with an IP precedence of 0 and transmitted.
<Sysname> system-view
[Sysname] interface gigabitethernet0/1
[Sysname-GigabitEthernet0/1] qos car outbound carl 1 cir 200 cbs 50000 ebs 0 green pass
red remark-prec-pass 0
qos carl
Use qos carl to create or modify a CAR list.