Huawei v200r001 Network Router User Manual


 
User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform
Chapter 2
Traffic Classification and Policing
2-4
Set the corresponding CAR based on one of the following features:
z IP
z IP precedence
z MAC address
z IP Access Control List (including Standard Access Control List or Extended
Access Control list)
Multiple CAR rules can be applied on an interface to process different types of packets
(i.e., restrict the speed of low precedence communication to lower than that of high
precedence communication). The router will check the CAR rules in configuration order
until the packet matches a certain rule. If the matched rule is not found, the
transmission will be performed in the default way. CAR rules can be
independent(different CAR rules process different types of packets) or overlapped(one
packet can match multiple CAR rules).
2.2 CAR Configuration
2.2.1 CAR Configuration Task List
CAR configuration task include:
z Set up CAR rules
z Apply CAR rules on the interface
z Monitoring and maintenance of CAR
2.2.2 Specify CAR rules
Classification of the packets is needed on the network border. The classification
criterion can be designed for the packets received on a specified interface or a group of
packets defined by the
access-list
command. The packets will be set to different
precedence levels on the interface that will serve as classification criterion within the
network. The packets exceeding the traffic limit in the unit time can be processed
differently with those which do not exceed the limit.
Perform the following configuration in global configuration mode.
Table QC-2-1 Specify the CAR rules
Operation Command
Specify the CAR rule based on precedence level
rate-limit-list precedence-rate-limit-number { precedence |
mask prec-mask }
Delete the CAR rule based on precedence level
no rate-limit-list precedence-rate-limit-number { precedence |
mask prec-mask ]
Specify the CAR rule based on MAC address rate-limit-list macaddress-rate-limit-number mac-address
Delete the CAR rule based on MAC address no rate-limit-list macaddress-rate-limit-number mac-address
No CAR rule is specified by default.
Notes:
For one
precedence
-
rate-limit-number
or
macaddress-rate-limit-number
, only one CAR
rule can be defined. The subsequent CAR rule will cover the original one. But for