qos car

Use qos car to configure an aggregate CAR action.

Use undo qos car to remove an aggregate CAR action.

Syntax

qos car car-name aggregative cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ pir peek-information-rate ] [ red action ]

undo qos car car-name

Default

No aggregate CAR action is configured.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

car-name: Specifies the name of the global CAR action. This argument must start with a letter, and is a case-sensitive string of 1 to 31 characters.

aggregative: Specifies the global CAR action as an aggregate CAR action. Only this mode is supported.

cir committed-information-rate: Specifies the CIR in the range of 1 to 100000000 kbps.

cbs committed-burst-size: Specifies the CBS in bytes, the size of bursty traffic when the actual average rate is no greater than CIR. The value range for the committed-burst-size argument is 1553 to 2147450880. The specified CBS must be larger than the maximum packet length. By default, the CBS is the amount of traffic transmitted at the rate of CIR over 500 ms. If the traffic transmitted at the rate of CIR over 500 ms is smaller than 1553, the default CBS is 1553.

ebs excess-burst-size: Specifies the EBS in the range of 0 to 2147450880 bytes.

pir peak-information-rate: Specifies the PIR in the range of 1 to 100000000 kbps. If PIR is not configured, only one token bucket is configured for traffic policing. Otherwise, two token buckets are configured for traffic policing.

red action: Specifies the action to take on packets that conform to neither CIR nor PIR. The default setting is discard.

action: Specifies the action to take on packets:

Usage guidelines

An aggregate CAR action takes effect only after it is referenced in a QoS policy.

HP recommends that you set the committed-burst-size argument, if necessary, to be greater than 6.25 times the committed-information-rate argument to accommodate traffic bursts.

Examples

# Configure the aggregate CAR action aggcar-1, where CIR is 200, CBS is 2000, and red packets are dropped.

<Sysname> system-view
[Sysname] qos car aggcar-1 aggregative cir 200 cbs 2000 red discard

Related commands

display qos car name