Command Reference NFPP Commands
nd-guard attack-threshold
Use this command to set the global attack threshold. When the packet rate exceeds the attack
threshold, the attack occurs.
nd-guard attack-threshold per-port { ns-na | rs | ra-redirect } pps
Parameter
Description
Parameter Description
ns-na
Set the neighbor request and neighbor advertisement.
rs
Set the router request.
ra-redirect
Set the router advertisement and the redirect packets.
pps
Set the attack threshold, in pps. The valid range is [1,9999].
Defaults
By default, the default attack threshold for the ns-na, rs and ra-redirect on each port is 30.
Command
Mode
NFPP configuration mode.
Usage Guide
The attack threshold shall be equal to or larger than the rate-limit threshold.
Configuration
Examples
Ruijie(config)# nfpp
Ruijie(config-nfpp)# nd-guard attack-threshold per-port ns-na 20
Ruijie(config-nfpp)# nd-guard attack-threshold per-port rs 10
Ruijie(config-nfpp)# nd-guard attack-threshold per-port ra-redirect 10
Related
Commands
Command Description
nfpp ip-guard policy
Show the rate-limit threshold and attack
threshold.
show nfpp ip-guard summary
Show the configurations.
Platform
Description
N/A
nd-guard enable
Use this command to enable the ND anti-attack function.
nd-guard enable
Parameter
Description
Parameter Description
N/A N/A