R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
187
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 the qos car command to configure a CAR policy on an interface.
Use the undo qos car command 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.
Settings in interface view take effect on the current interface. Settings in port group view take effect on all
ports in the port group.
Examples
# Perform CAR for packets matching CAR list 1 in the outbound direction of GigabitEthernet0/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 GigabitEthernet 0/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
Parameters
carl-index: CAR list number, which ranges from 1 to 199.
destination-ip-address: Configures a destination IP address-based CAR list.
source-ip-address: Configures a source IP address-based CAR list.
subnet ip-address mask-length: Specifies a subnet by the IP subnet address and IP subnet address mask
length. ranging from 22 to 31.
range start-ip-address end-ip-address: Specifies an IP address range by the start address and end
address. end-ip-address must be bigger than start-ip-address.
per-address: Performs per-IP address rate limiting within the network segment. If this keyword is not
specified, rate limiting is performed for the entire network segment.
shared-bandwidth: Specifies that traffic of all IP addresses within the network segment shares the
remaining bandwidth.