User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

 

Traffic Classification and Policing

< Input >

 

 

Matched: rate-limit-group 1

 

Params: rate

8000 bps, normal burst 8000 bytes, maximum burst 8000 bytes

From 2-00-00

0:00:00 to 257--50-07 8477:06:00

 

Conformed 0 packets, 0 bytes; action: continue

 

Exceeded 0 packets, 0 bytes; action: continue

 

Matched: rate-limit-group 1

 

Params: rate

8000 bps, normal burst 8000 bytes, maximum burst 8000 bytes

From 19-00-00 19:00:00 to 257--50-07 8477:06:00

 

Conformed 0 packets, 0 bytes; action: continue

 

Exceeded 0 packets, 0 bytes; action: drop

 

Matched: none

 

0 packets, 0

bytes; action: transmit

 

< Output >

 

 

Matched: none

 

0 packets, 0

bytes; action: transmit

 

2) Show the first CAR rule

Quidway# show rate-limit-list 1

Rate-limit access list 1 mask 3D

3) Show all of the access rules in CAR

Quidway# show rate-limit-list

Rate-limit access list 1 mask 3D

Rate-limit access list 100

7777.9999.1111

2.3 CAR Configuration Example

2.3.1Applying CAR Rules to All Packets

I.Requirements

zApply CAR to all the packets entering Ethernet interface 0 of router A, forwarding the packets according with the qualification, discarding those unqualified ones.

zApply CAR to all the packets outing Ethernet interface 1 of router A, forwarding the packets according with the qualification, discarding those unqualified ones.

II.Networking diagram

 

 

E0

 

E1

 

 

 

190.0.0.2

 

191.0.0.1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Router C

 

E0

Router A

E0

 

 

 

190.0.0.1

 

191.0.0.2

 

 

 

 

 

 

 

Router B

Figure QC-2-2Networking diagram of applying CAR rules to all packets

II.Configuration

Configure router A:

! Apply CAR to all the packets entering Ethernet interface 0 of router A.

2-6

Page 78
Image 78
Huawei v200r001 user manual CAR Configuration Example, Applying CAR Rules to All Packets, Requirements, II.Configuration