Command Reference NFPP Commands
nfpp dhcp-guard policy { per-src-mac | per-port } rate-limit-pps attack-threshold-pps
Parameter
Description
Parameter Description
per-src-mac
Set the rate-limit threshold and the attack threshold for each source
MAC 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 dhcp-guard policy per-src-mac 3 10
Ruijie(config-if)# nfpp dhcp-guard policy per-port 50 100
Related
Commands
Command Description
dhcp-guard attack-threshold
Set the global attack threshold.
dhcp-guard rate-limit
Set the global rate-limit threshold.
show nfpp dhcp-guard summary
Show the configurations.
show nfpp dhcp-guard hosts
Show the monitored host.
clear nfpp dhcp-guard hosts
Clear the isolated host.
Platform
Description
N/A
nfpp ip-guard scan-threshold
Use this command to set the scan threshold.
nfpp ip-guard scan-threshold pkt-cnt
Parameter
Description
Parameter Description
pkt-cnt
Set the scan threshold with the valid range of [1, 9999].
Defaults
By default, the sport-based scan threshold is not configured.