HP VPN Firewall Appliances Network Management Command Reference
234
gratuitous-arp-learning enable
Use gratuitous-arp-learning enable to enable the gratuitous ARP packet learning function.
Use undo gratuitous-arp-learning enable to disable the function.
Syntax
gratuitous-arp-learning enable
undo gratuitous-arp-learning enable
Default
The function is enabled.
Views
System view
Default command level
2: System level
Usage guidelines
With this function enabled, a device creates a dynamic ARP entry by using the sender IP and MAC
addresses in a received gratuitous ARP packet if no matching ARP entry exists. If a matching ARP entry
exists, the device 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
gratuitous-arp-sending enable
Use gratuitous-arp-sending enable to enable sending gratuitous ARP packets upon receiving ARP
requests whose target IP address is on a different subnet.
Use undo gratuitous-arp-sending enable to restore the default.
Syntax
gratuitous-arp-sending enable
undo gratuitous-arp-sending enable
Default
A device does not send gratuitous ARP packets upon receiving ARP requests whose target IP address is
on a different subnet.
Views
System view
Default command level
2: System level