The anti-ddos np-rule pass sample-rate command configures the sampling ratio of the packets permitted by the hardware-based defense function.
The undo anti-ddos np-rule pass sample-rate command restores the default sampling ratio.
| Parameter | Description | Value |
|---|---|---|
sample-rate-value |
Specifies the sampling ratio of the packets permitted by the hardware-based defense function. |
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 the sampling coefficient is the value of sample-rate, 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.