CLI Reference NFPP Configuration Commands
Ruijie(config)# interface G 0/1
Ruijie(config-if)# nfpp define tcp isolate-period 180
Set the global isolate period.
nfpp define name policy
Use this command to set the local rate-limit threshold and the attack threshold.
nfpp define name policy {per-src-ip | per-src-mac | per-port} rate-limit-pps
attack-threshold-pps
Set the attack threshold for each
source IP address.
Set the attack threshold for each
port.
Set the rate-limit threshold with the
valid range of [1, 9999].
Set the attack threshold with the
valid range of [1, 9999].
By default, the rate-limit threshold and the attack threshold are not
configured.
Interface configuration mode.
The attack threshold value shall be equal to or greater
than the rate-limit threshold.
Ruijie(config)# interface G 0/1
Ruijie(config-if)# nfpp define tcp policy per-src-ip 2 10