Configuration Guide Configuring ARP
GigabitEthernet 0/1 60
GigabitEthernet 0/2 3600
GigabitEthernet 0/4 3600
GigabitEthernet 0/5 3600
GigabitEthernet 0/7 3600
VLAN 100 3600
VLAN 111 3600
Mgmt 0 3600
Ruijie(config)# show running-config
arp unresolve 4096
arp retry times 4
arp retry interval 3
!
interface GigabitEthernet 0/1
arp cache interface-limit 300
2.4.3 Enabling Gratuitous ARP
Configuration Effect
The interface periodically sends gratuitous ARP packets.
Configuration Steps
Optional.
When a switch acts as the gateway, enable gratuitous ARP on an interface to prevent other users from learning
incorrect gateway MAC address in case of ARP spoofing.
Enable gratuitous ARP in interface configuration mode.
Verification
Run the show running-config interface <name> command to check whether the configuration is successful.
Related Commands
Enabling Gratuitous ARP
arp gratuitous-send interval seconds [number]
seconds: Indicates the interval for sending a gratuitous ARP request. The unit is second. The value ranges
from 1 to 3,600.
number: Indicates the number of gratuitous ARP requests that are sent. The default value is 1. The value
ranges from 1 to 100.