Command Reference NFPP Commands
show nfpp ip-guard summary
Show the configurations.
Platform
Description
N/A
nfpp ip-guard policy
Use this command to set the rate-limit threshold and the attack threshold.
nfpp ip-guard policy { per-src-ip | per-port
} rate-limit-pps attack-threshold-pps
Parameter
Description
Parameter Description
per-src-ip
Set the rate-limit threshold and the attack threshold for each source
IP address.
per-port
Set the rate-limit threshold and the attack threshold for each port.
rate-limit-pps
Set the rate-limit threshold with the valid range of [1, 9999].
attack-threshold-pps
Set the attack threshold with the valid range of [1, 9999].
Defaults
By default, the rate-limit threshold and the attack threshold are not configured.
Command
Mode
Interface configuration mode.
Usage Guide
The attack threshold value shall be equal to or greater than the rate-limit threshold.
Configuration
Examples
Ruijie(config)# interface G 0/1
Ruijie(config-if)# nfpp ip-guard policy per-src-ip 2 10
Ruijie(config-if)# nfpp ip-guard policy per-port 50 100
Related
Commands
Command Description
ip-guard attack-threshold
Set the global attack threshold.
ip-guard rate-limit
Set the global rate-limit threshold.
show nfpp ip-guard summary
Show the configurations.
show nfpp ip-guard hosts
Show the monitored host.
clear nfpp ip-guard hosts
Clear the isolated host.
Platform
Description
N/A
nfpp dhcp-guard policy
Use this command to set the rate-limit threshold and the attack threshold