< Home

car (user group view)

Function

The car command enables traffic control for users in a user group.

The undo car command disables traffic control for users in a user group.

By default, traffic control is disabled for users in a user group.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H,?S5731S-H, S5731-S, S5731S-S, S6720-HI, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI support this command, and the user group CAR can only be applied in the interface outbound direction (outbound) on the S5720-EI, S6720-EI, and S6720S-EI.

Format

car { outbound | inbound } cir cir-value [ pir pir-value | cbs cbs-value | pbs pbs-value ] *

undo car { outbound | inbound }

Parameters

Parameter Description Value

outbound

Applies the user group CAR to the outgoing packets on an interface to restrict the outgoing packet rate.

-

inbound

Applies the user group CAR to the incoming packets on an interface to restrict the incoming packet rate.

-

cir cir-value

Specifies the committed information rate (CIR), which is the average rate of traffic that can pass through an interface.

The value is an integer that ranges from 64 to 4294967295, in kbit/s.

pir pir-value

Specifies the peak information rate (PIR), which is the maximum rate of traffic that can pass through an interface.

The value is an integer that ranges from 64 to 4294967295, in kbit/s.

The PIR value must be greater than or equal to the CIR value. The default PIR value is equal to the CIR value.

cbs cbs-value

Specifies the committed burst size (CBS), which is the average volume of burst traffic that can pass through an interface.

The value is an integer that ranges from 10000 to 4294967295, in bytes.

The default value of cbs-value is 188 x cir-value.

pbs pbs-value

Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through an interface.

The value is an integer that ranges from 10000 to 4294967295, in bytes.

The value of pbs-value must be larger than that of cbs-value and is equal to 188 times of the value of pir-value by default.

Views

User group view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After user groups are created using the user-group command, you can run the car outbound command to configure traffic control for users in a user group so that users in different groups are allocated different bandwidths.

Precautions

  • The car command takes effect on each user in a user group.

  • This function takes effect only for users who go online after this function is successfully configured.

Example

# Set the CIR to 10000 Kbit/s and the CBS to 50000 bytes for outgoing packets of users in a user group.

<HUAWEI> system-view
[HUAWEI] user-group huawei
[HUAWEI-user-group-huawei] car outbound cir 10000 cbs 50000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >