hostcar drop-rate enable

Function

The hostcar drop-rate enable command enables a device to automatically adjust user bandwidth.

The undo hostcar drop-rate enable command disables a device from automatically adjusting user bandwidth.

The http-hostcar drop-rate enable command enables the HTTP-Host-CAR automatic bandwidth adjustment function.

The undo http-hostcar drop-rate enable command disables the function.

The vlan-host-car drop-rate enable command enables the VLAN-Host-CAR automatic bandwidth adjustment function.

The undo vlan-host-car drop-rate enable command disables the function.

By default, the Host-CAR and HTTP-Host-CAR automatic bandwidth adjustment function are enabled, the VLAN-Host-CAR automatic bandwidth adjustment function is disabled.

This command is supported only on the NetEngine 8000 F1A.

Format

{ hostcar | http-hostcar | vlan-host-car } drop-rate enable

undo { hostcar | http-hostcar | vlan-host-car } drop-rate enable

Parameters

Parameter Description Value
hostcar

Config Host-CAR.

-

http-hostcar

Config HTTP-Host-CAR.

-

vlan-host-car

Config VLAN-Host-CAR.

-

Views

Slot view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
soc write

Usage Guidelines

Usage Scenario

If a user sends excessive packets to the CPU, causing link congestion and affecting processing efficiency of the CPU, you can run the hostcar drop-rate enable command to enable the device to automatically adjust user bandwidth.

By default, a device automatically adjusts the bandwidth to 8 Kbit/s for a user.

The hostcar drop-rate enable command takes effect only for the bandwidth of users that send excessive packets to the CPU, whereas the hostcar command takes effect for the bandwidth of all users that send packets to the CPU on a board.

When a user sends a great number of web packets to the CPU, the link is congested, and the CPU efficiency is affected. To resolve this problem, run the http-hostcar drop-rate enable command to enable the automatic bandwidth adjustment function.

By default, if the packet loss rate of a CAR ID exceeds a specific threshold, the system adjusts the bandwidth of the CAR ID to 64 kbit/s.

The http-hostcar drop-rate enable command takes effect only for the bandwidth of users that send excessive packets to the CPU, whereas the http-hostcar command takes effect for the bandwidth of all users that send packets to the CPU.

When a user sends a great number of packets with the same VLAN ID to the CPU, the link is congested, and the CPU efficiency is affected. To resolve this problem, run the vlan-host-car drop-rate enable command to enable the automatic bandwidth adjustment function.

After the vlan-host-car drop-rate enable command is run, if the packet loss rate of a CAR ID exceeds a specific threshold, the system adjusts the bandwidth of the CAR ID to 128 kbit/s.

The vlan-host-car drop-rate enable command takes effect only for the bandwidth of users that send excessive packets to the CPU, whereas the vlan-host-car command takes effect for the bandwidth of all users that send packets to the CPU.

Precautions

After the hostcar drop-rate enable command is run, the hostcar drop-rate enable command configuration preferentially applies to users when the users send excessive packets to the CPU, regardless of whether the hostcar command is run. When the users no longer send excessive packets to the CPU, the hostcar command configuration applies to the users.

After the http-hostcar drop-rate enable command is run, the http-hostcar drop-rate enable command configuration preferentially applies to users when the users send excessive packets to the CPU, regardless of whether the http-hostcar command is run. When the users no longer send excessive packets to the CPU, the http-hostcar command configuration applies to the users.

After the vlan-host-car drop-rate enable command is run, the vlan-host-car drop-rate enable command configuration preferentially applies to users when the users send excessive packets to the CPU, regardless of whether the vlan-host-car command is run. When the users no longer send excessive packets to the CPU, the vlan-host-car command configuration applies to the users.

In VS mode, this command is supported only by the admin VS.

Example

# Enable the device to automatically adjust user bandwidth in slot 1.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot-1] hostcar drop-rate enable
# Enable theHTTP-Host-CAR automatic bandwidth adjustment function for slot 1.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot-1] http-hostcar drop-rate enable
# Enable the VLAN-Host-CAR automatic bandwidth adjustment function for slot 1.
<HUAWEI> system-view
[~HUAWEI] slot 1
[*HUAWEI-slot-1] vlan-host-car drop-rate enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >