reset soc attack-defend statistics

Function

The reset soc attack-defend statistics command clears statistics on packets that match ACL rules and statistics on packets to which CAR is implemented after they match ACL rules on the attacked interfaces on the board in a specified slot.

Format

reset soc attack-defend statistics slot slot-id

Parameters

Parameter Description Value
slot slot-id

Specifies the slot ID.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
soc write

Usage Guidelines

Usage Scenario

Before collecting statistics on attacked interfaces over a specified period, run the reset soc attack-defend statistics command to clear the existing statistics.

Configuration Impact

SOC statistics cannot be restored after they are cleared. Exercise caution when running this command.

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

Example

# Clear statistics on packets that match ACL rules and statistics on packets to which CAR is implemented after they match ACL rules on the attacked interfaces on the board in slot 1.
<HUAWEI> reset soc attack-defend statistics slot 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >