Command Reference NFPP Commands
Description
dhcp-guard attack-threshold
Use this command to set the global attack threshold. When the packet rate exceeds the attack
threshold, the attack occurs.
dhcp-guard attack-threshold { per-src-mac | per-port } pps
Parameter
Description
Parameter Description
per-src-mac
Set the attack threshold for each source MAC address.
per-port
Set the attack threshold for each port.
pps
Set the attack threshold, in pps. The valid range is 1 to 9999.
Defaults
By default, the attack threshold for each source MAC address is 10pps; and the attack threshold for
each port is 300pps.
Command
Mode
NFPP configuration mode.
Usage Guide
N/A.
Configuration
Examples
Ruijie(config)# nfpp
Ruijie(config-nfpp)# dhcp-guard attack-threshold per-src-mac 15
Ruijie(config-nfpp)# dhcp-guard attack-threshold per-port 200
Related
Commands
Command Description
nfpp dhcp-guard policy
Show the rate-limit threshold and attack
threshold.
show nfpp dhcp-guard summary
Show the configurations.
show nfpp dhcp-guard hosts
Show the monitored host list.
clear nfpp dhcp-guard hosts
Clear the monitored host.
Platform
Description
N/A
dhcp-guard enable
Use this command to enable the DHCP anti-attack function.
dhcp-guard enable
Parameter
Parameter Description