User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Traffic Classification and Policing

2.3.3Configure CAR Rules Based on the Priority Level

I.Requirements

z Matching CAR based on the priority level to the packets entering serial 0 of router A, forwarding the packets according with the qualification, discarding those unqualified ones.

z Matching CAR based on the priority level to the packets outing serial 1 of router A, forwarding the packets according with the qualification, discarding those unqualified ones.

II.Networking diagram

 

 

S0

 

 

 

10.0.0.2

 

 

 

 

 

Router C

 

 

S0

 

 

 

 

 

 

10.0.0.1

 

Router A

S1

11.0.0.1

S0

11.0.0.2

Router B

Figure QC-2-4Networking diagram of configuring CAR rules based on the priority level

III. Configuration

Configure router A:

!Matching CAR based on the priority level to the packets entering serial 0 of router A. Quidway(config)# rate-limit-list 1 1

Quidway(config-if-Serial0)# ip address 10.0.0.1 255.255.255.0

Quidway(config-if-Serial0)# rate-limit input rate-limit-group 1 8000 8000 8000 conform transmit exceed drop

!Matching CAR based on the priority level to the packets outing serial 1 of router A. Quidway(config)# rate-limit-list 1 2

Quidway(config-if-Serial0)# ip address 11.0.0.1 255.255.255.0

Quidway(config-if-Serial0)# rate-limit output rate-limit-group 1 8000 8000 8000 conform transmit exceed drop

2.3.4Configure CAR Rules Based on the MAC Address

I.Requirements

z Matching CAR based on MAC address to the packets entering serial 0 of router A (packets from source address 00e0.34b0.7676), modify the priority level value of the packet according with the qualification into 7, discarding those unqualified packets.

2-8

Page 80
Image 80
Huawei v200r001 user manual Configure CAR Rules Based on the Priority Level, Configure CAR Rules Based on the MAC Address