car

Use car to configure a CAR action in a traffic behavior.

Use undo car to delete a CAR action from a traffic behavior.

Syntax

car cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ pir peak-information-rate ] [ red action ]

undo car

Default

No CAR action is configured.

Views

Traffic behavior view

Predefined user roles

network-admin

mdc-admin

Parameters

cir committed-information-rate: Specifies the committed information rate (CIR), an average traffic rate. The value range for committed-information-rate is 1 to 100000000 kbps.

cbs committed-burst-size: Specifies the committed burst size (CBS) in bytes, in the range of 1553 to 2147450880. By default, the CBS is the amount of traffic transmitted at the rate of CIR over 500 ms. The CBS must be greater than the maximum packet length. 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 excess burst size (EBS) in bytes, in the range of 0 to 2147450880 and defaulting to 0.

pir peak-information-rate: Specifies the peak information rate (PIR) in kbps, in the range of 1 to 100000000.

red action: Specifies the action to take on the packet that conforms to neither CIR nor PIR. The default is discard.

action: Sets the action to take on the packet:

Usage guidelines

A QoS policy that references a CAR action can be applied to either the inbound or outbound direction of an interface.

If you configure the car command multiple times in the same traffic behavior, the most recent configuration takes effect.

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 a CAR action in traffic behavior database:

<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] car cir 200 cbs 50000 red discard