1-13Use 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 willtimely update the ARP entry corresponding to the VLAN interface’s IP address, thus preventing it frombeing aged out. However, this function generates a large amount of ARP packets on the network; youcan disable the VLAN interface from sending gratuitous ARP packets if receiving hosts can update adynamic 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. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] interface Vlan-interface 1[Sysname-Vlan-interface1] undo gratuitous-arp period-resending enablegratuitous-arp-learning enableSyntaxgratuitous-arp-learning enableundo gratuitous-arp-learning enableViewSystem viewParametersNoneDescriptionUse the gratuitous-arp-learning enable command to enable the gratuitous ARP packet learningfunction. Then, a switch receiving a gratuitous ARP packet can add the IP and MAC addresses carriedin the packet to its own dynamic ARP table if it finds no corresponding ARP entry for the ARP packet inthe cache.Use the undo gratuitous-arp-learning enable command to disable the gratuitous ARP packetlearning function.By default, the gratuitous ARP packet learning function is enabled.Examples# Enable the gratuitous ARP packet learning function on a switch. system-viewSystem View: return to User View with Ctrl+Z.[Sysname] gratuitous-arp-learning enablereset arpSyntaxreset arp [ dynamic | static | interface interface-type interface-number ]