4-8 
View 
System view 
Default Level 
2: System level 
Parameters 
None 
Description 
Use the gratuitous-arp-learning enable command to enable the gratuitous ARP packet learning 
function. 
Use the undo gratuitous-arp-learning enable command to disable the function. 
By default, the function is enabled. 
With this function enabled, an AP receiving a gratuitous ARP packet can add the source IP and MAC 
addresses carried in the packet to its own dynamic ARP table if it finds no ARP entry in the cache 
corresponding to the source IP address of the ARP packet exists; if the corresponding ARP entry exists 
in the cache, the AP updates the ARP entry regardless of whether this function is enabled. 
Examples 
# Enable the gratuitous ARP packet learning function. 
<Sysname> system-view 
[Sysname] gratuitous-arp-learning enable