gratuitous-arp period-resending enable
Syntax
gratuitous-arp period-resending enable
undo gratuitous-arp period-resending enable
View
VLAN interface view
Parameters
None
Description
Use the gratuitous-arp period-resending enable command to enable the VLAN interface to send
gratuitous ARP packets periodically.
Use the undo gratuitous-arp period-resending enable command to disable this function.
By default, this function is enabled, the gratuitous ARP packets are sent at an interval of 30 seconds.
After you enable a VLAN interface to send gratuitous ARP packets periodically, hosts on the network will
timely update the ARP entry corresponding to the VLAN interface's IP address, thus preventing it from
being aged out. However, this function generates a large amount of ARP packets on the network; you
can disable the VLAN interface from sending gratuitous ARP packets if receiving hosts can update a
dynamic ARP entry when half of the entry's aging time expires.
Examples
# Disable VLAN-interface 1 on the switch from periodically sending gratuitous ARP packets.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] undo gratuitous-arp period-resending enable
gratuitous-arp-learning enable
Syntax
gratuitous-arp-learning enable
undo gratuitous-arp-learning enable
View
System view
Parameters
None
Description
Use the gratuitous-arp-learning enable command to enable the gratuitous ARP packet learning
function. Then, a switch receiving a gratuitous ARP packet can add the IP and MAC addresses carried
1-7