reset cpu-defend http-hostcar statistics

Function

The reset cpu-defend http-hostcar statistics command clears statistics about packets controlled by HTTP-Host-CAR.

This command is supported only on the NetEngine 8000 F1A.

Format

reset cpu-defend http-hostcar { car-id | all | auto-adjust | dropped | non-dropped } statistics slot slot-id

Parameters

Parameter Description Value
car-id

Clears statistics about packets controlled by an HTTP Host CAR rule with a specified CAR ID.

The value is an integer that ranges from 0 to 4095.

all

Clears statistics about all packets controlled by HTTP-Host-CAR.

-

auto-adjust

Clears the IDs of CAR rules in which the bandwidth values are automatically adjusted.

-

dropped

Clears statistics about packets in which some bytes are dropped.

-

non-dropped

Clears statistics in which the passed packet traffic is not 0 and the discarded packet traffic is 0.

-

slot slot-id

Specifies the slot ID.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
cpu-defend write

Usage Guidelines

Usage Scenario

If the CAR ID parameter is specified, the command clears statistics about the packets controlled by an HTTP-Host-CAR rule with a specified CAR ID. If the all parameters are specified, the command clears statistics about all packets.

Precautions

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

Example

# Clear statistics about packets controlled by an HTTP Host CAR rule with CAR ID 0 on slot 1.
<HUAWEI> reset cpu-defend http-hostcar 0 statistics slot 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >