Command Reference ARP Commands
arp cache interface-limit limit
no arp cache interface-limit
Sets the maximum number of ARP learned on the interface,
including static and dynamic ARPs, in the range from 0 to the
number supported on the interface. 0 indicates that the number is
not limited.
Interface configuration mode
This function can prevent ARP attacks from generating ARP entries to consume memory. limit must
be no smaller than the number of ARPs learned on the interface. Otherwise, the configuration does
not take effect.
The following example sets the maximum number of ARP learned on the interface to 300.
Ruijie(config)# interface gi 0/0
Ruijie(config-if-GigabitEthernet 0/0)# arp cache interface-limit 300
The following example restores the default setting.
Ruijie(config)# interface gi 0/0
Ruijie(config-if-GigabitEthernet 0/0)# no arp any-ip
2.4 arp gratuitous-send interval
Use this command to set the interval of sending the free ARP request message on the
interface. Use theno form of this command to restore the default setting.
arp gratuitous-send interval seconds
The time interval to send the free ARP request message in
the range from 1 to 3600 in the unit of seconds.