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.
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 depends on the device configuration. |
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.