The anti-ddos np-rule drop sample-rate command specifies the sampling ratio of first packets discarded by the hardware chip.
The undo anti-ddos np-rule drop sample-rate command restores the default sampling ratio.
| Parameter | Description | Value |
|---|---|---|
sample-rate-value |
Specifies the sampling ratio of first packets discarded by the hardware chip. |
The value is an integer ranging from 0 to 15. The default value is 7. |
Only the USG6610E/6620E, USG6630E/6650E, USG6635E/6655E support this command.
If sample-rate indicating the sampling coefficient is configured, the sampling ratio is 2sample-rate:1, which means one out of every 2sample-rate packets is sampled. For example, if sample-rate is set to 2, the sampling ratio is 4:1, which means one out of every four packets is sampled.