74Using the command repeatedly with different CAR list indexes creates multiple CAR lists. Using thecommand repeatedly with the same carl-index modifies the parameters for the CAR list.You can configure up to eight precedence values for a CAR list. If the same precedence value is specifiedmultiple times, the system considers them as one value by default. If a packet matches a precedencevalue on the CAR list, it matches the CAR list.You can configure up to eight MPLS EXP values for a CAR list. If you specify an MPLS EXP value multipletimes, the system counts them as one value by default. If a packet matches an MPLS EXP value on the CARlist, it matches the CAR list.You can configure up to eight DSCP values for a CAR list. If a DSCP value is specified multiple times, thesystem counts them as one value by default. If a packet matches a DSCP value on the CAR list, it matchesthe CAR list.To perform rate limiting for a single IP address, use the qos car acl command in interface view.NOTE:When you apply an IP network segment-based CAR list to an interface with the qos car command, the CIRyou defined takes different meanings depending on the configuration of the per-address keyword and theshared-bandwidth keyword for the CAR list.If the per-address keyword is not specified, the CIR specifies the total bandwidth for the networksegment and will be allocated to each IP address based on its traffic size.If the per-address keyword is specified but the shared-bandwidth keyword is not specified, the CIRspecifies the bandwidth of each IP address, and the bandwidth cannot be shared by the other IPaddresses within the network segment.If both the per-address keyword and the shared-bandwidth keyword are specified, the CIR specifies thetotal shared bandwidth for the network segment, and will be dynamically and evenly allocated to thetraffic by IP address.For example, apply a CAR list to an interface with 10 Mbps of total bandwidth to perform per-addressrate limiting for the network segment 192.168.0.1 to 192.168.0.100. If the shared-bandwidth keywordis specified for the CAR list, you can set the CIR to 10 Mbps at maximum; if the shared-bandwidthkeyword is specified for the CAR list, you can set the CIR to 100 kbps at maximum.Examples# Configure precedence 7 for CAR list 1. system-view[Sysname] qos carl 1 precedence 7# Apply CAR list 1 to the outbound direction of GigabitEthernet1/0/1. CAR list 1 limits the rate of eachPC on the subnet 1.1.1.0/24 to 100 kbps, and traffic of IP addresses in the subnet does not share theremaining bandwidth. system-view[Sysname] qos carl 1 source-ip-address subnet 1.1.1.0 24 per-address[Sysname] interface gigabitethernet1/0/1[Sysname-GigabitEthernet1/0/1] qos car outbound carl 1 cir 100 cbs 6250 ebs 0 green passred discard# Apply CAR list 1 to the outbound direction of GigabitEthernet 2/0/1. CAR list 2 limits the rate of eachPC on the network segment 1.1.2.100 through 1.1.2.199 to 5 Mbps, and traffic of IP addresses in thesubnet share the remaining bandwidth. system-view