User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Traffic Classification and Policing

Set the corresponding CAR based on one of the following features:

zIP

zIP precedence

zMAC address

zIP 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:

zSet up CAR rules

zApply CAR rules on the interface

zMonitoring and maintenance of CAR

2.2.2Specify 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-listcommand. 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-1Specify the CAR rules

Operation

Command

 

 

Specify the CAR rule based on precedence level

rate-limit-listprecedence-rate-limit-number { precedence

mask prec-mask }

 

Delete the CAR rule based on precedence level

no rate-limit-listprecedence-rate-limit-number { precedence

mask prec-mask ]

 

Specify the CAR rule based on MAC address

rate-limit-listmacaddress-rate-limit-number mac-address

Delete the CAR rule based on MAC address

no rate-limit-listmacaddress-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

2-4

Page 76
Image 76
Huawei v200r001 user manual CAR Configuration Task List, Specify CAR rules, No CAR rule is specified by default