R21xx-HP FlexFabric 11900 Layer 3 IP Services Command Reference

11
Gratuitous ARP commands
arp send-gratuitous-arp
Use arp send-gratuitous-arp to enable periodic sending of gratuitous ARP packets on an interface.
Use undo arp send-gratuitous-arp to disable the interface from periodically sending gratuitous ARP
packets.
Syntax
arp send-gratuitous-arp
undo arp send-gratuitous-arp
Default
Periodic sending of gratuitous ARP is disabled.
Views
Layer 3 Ethernet interface view, VLAN interface view
Predefined user roles
network-admin
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.
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 VLAN-interface 2 to send gratuitous ARP packets periodically.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] arp send-gratuitous-arp
arp send-gratuitous-arp interval
Use arp send-gratuitous-arp interval to set the interval for sending gratuitous ARP packets.
Syntax
arp send-gratuitous-arp interval milliseconds
Default
The sending interval is 2000 milliseconds.