HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

13
Parameters
interval milliseconds: Sets the interval at which gratuitous ARP packets are sent, in the range of 200 to
200000 milliseconds. The default value is 2000 milliseconds.
Usage guidelines
This function takes effect only when the enabled interface is up and an IP address has been assigned to
the interface.
This function can send gratuitous ARP requests only for a VRRP virtual IP address, or the sending
interface's primary IP address or manually configured secondary IP address. The primary IP address can
be configured manually or automatically, whereas the secondary IP address must be configured
manually.
If you change the interval for sending gratuitous ARP packets, the configuration takes effect at the next
sending interval.
The frequency of sending gratuitous ARP packets might be much lower than expected if this function is
enabled on multiple interfaces, or each interface is configured with multiple secondary IP addresses, or
a small sending interval is configured in the preceding cases.
Examples
# Enable Ethernet 1/1 to send gratuitous ARP packets every 300 milliseconds.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] arp send-gratuitous-arp interval 300
gratuitous-arp-learning enable
Use gratuitous-arp-learning enable to enable learning of gratuitous ARP packets.
Use undo gratuitous-arp-learning enable to disable learning of gratuitous ARP packets.
Syntax
gratuitous-arp-learning enable
undo gratuitous-arp-learning enable
Default
Learning of gratuitous ARP packets is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
When learning of gratuitous ARP packets is enabled, a device adds an ARP entry that contains the
sender IP and MAC addresses in a gratuitous ARP packet to its ARP table. If the corresponding ARP entry
exists, the device updates the ARP entry.
When learning of gratuitous ARP packets is disabled, the device uses the received gratuitous ARP
packets to update existing ARP entries, but not to create new ARP entries. You can disable this function
to save ARP entry resources.