< Home

reset auto-port-defend statistics

Function

The reset auto-port-defend statistics command deletes packet statistics on port attack defense.

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S5735-L, S5735S-L, S5735S-L-M, S5735-S, S5735S-S, S5735-S-I, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

reset auto-port-defend statistics [ all | slot slot-id ]

Parameters

Parameter Description Value

all

Deletes packet statistics of port attack defense on the interfaces of all stacked switches in a stack environment or on all interfaces of the local switch in a non-stack environment.

If all or slot slot-id is not specified, packet statistics on the master device (stack configured) or local device (stack not configured) are deleted.

-

slot slot-id

  • The value indicates the slot ID if stacking is not configured.
  • The value indicates the stack ID when stack is configured.

The value depends on the device configuration.

Views

All views

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Before viewing packet statistics of port attack defense in a certain period, delete existing packet statistics, and then run the display auto-port-defend statistics command to collect the latest statistics.

Precautions

The deleted packet statistics cannot be restored.

Example

# Delete packet statistics on the interfaces of the device.

<HUAWEI> reset auto-port-defend statistics
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >