Configuring global car, Overview, Configuring aggregate car – H3C Technologies H3C S12500 Series Switches User Manual

Page 78: Configuration procedure, Configuration example

Advertising
background image

69

Configuring global CAR

Overview

Global committed access rate (CAR) is an approach to policing traffic flows globally. It adds flexibility to

common CAR where traffic policing is performed only on a per-class or per-interface basis. In this
approach, CAR actions are created in system view and each can be referenced to police multiple traffic

flows as a whole. Only aggregate CAR is supported.
An aggregate CAR action is created globally and can be directly applied to interfaces or referenced in

the traffic behaviors associated with different traffic classes to police multiple traffic flows as a whole. The
total rate of the traffic flows must conform to the traffic policing specifications set in the aggregate CAR

action.

Configuring aggregate CAR

Configuration procedure

To configure aggregate CAR:

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Configure an aggregate
CAR action.

qos car car-name aggregative cir
committed-information-rate [ cbs

committed-burst-size [ ebs excess-burst-size ] ]
[ pir peek-information-rate ] [ red action ]

N/A

3.

Enter behavior view.

traffic behavior behavior-name

N/A

4.

Reference the aggregate
CAR in the traffic

behavior.

car name car-name

N/A

5.

Display the traffic
behavior configuration

information.

display traffic behavior user-defined
[ behavior-name ] [ | { begin | exclude |

include } regular-expression ]

Optional.
Available in any view.

6.

Display the configuration
and statistics for the

specified aggregate CAR.

display qos car name [ car-name ] [ | { begin
| exclude | include } regular-expression ]

Optional.
Available in any view.

Configuration example

# Create an aggregate CAR action named aggcar-1, and configure the following parameters for it: CIR

200, CBS 2000, and dropping red packets. Reference aggregate CAR aggcar-1 in behavior be1.

<Sysname> system-view

[Sysname] qos car aggcar-1 aggregative cir 200 cbs 2000 red discard

Advertising