R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101

242
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, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, cs1, cs2, cs3, cs4, cs5, cs
6,
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.
Description
Use qos car to configure a CAR policy on an interface.
Use undo qos car to delete a CAR policy on an interface.
You can execute this command repeatedly to configure multiple CAR policies on an interface. The
policies are applied in the order 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
Syntax
qos carl carl-index { destination-ip-address | source-ip-address } { subnet ip-address mask-length |
range start-ip-address to end-ip-address } [ per-address [ shared-bandwidth ] ]
undo qos carl carl-index
View
System view
Default level
2: System level