CLI Reference NFPP Configuration Commands
nfpp arp-guard policy
Use this command to set the rate-limit threshold and the attack threshold.
nfpp arp-guard policy {per-src-ip | per-src-mac | per-port} rate-limit-pps
attack-threshold-pps
Set the rate-limit threshold and the
attack threshold for each source IP
address.
Set the rate-limit threshold and the
attack threshold for each source MAC
address.
Set the rate-limit threshold and 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 arp-guard policy per-src-ip 2 10
Ruijie(config-if)# nfpp arp-guard policy per-src-mac 3 10
Ruijie(config-if)# nfpp arp-guard policy per-port 50 100