mode, all hosts on this subnet can receive the request, but only the requested host (namely, Host B)will process the request.3) Host B compares its own IP address with the destination IP address in the ARP request. If they arethe same, Host B saves the source IP address and source MAC address into its ARP mappingtable, encapsulates its MAC address into an ARP reply, and unicasts the reply to Host A.4) After receiving the ARP reply, Host A adds the MAC address of Host B into its ARP mapping tablefor subsequent packet forwarding. Meanwhile, Host A encapsulates the IP packet and sends it out.Usually ARP dynamically implements and automatically seeks mappings from IP addresses to MACaddresses, without manual intervention.Introduction to Gratuitous ARPThe following are the characteristics of gratuitous ARP packets:z Both source and destination IP addresses carried in a gratuitous ARP packet are the localaddresses, and the source MAC address carried in it is the local MAC addresses.z If a device finds that the IP addresses carried in a received gratuitous packet conflict with those ofits own, it returns an ARP response to the sending device to notify of the IP address conflict.By sending gratuitous ARP packets, a network device can:z Determine whether or not IP address conflicts exist between it and other network devices.z Trigger other network devices to update its hardware address stored in their caches.With the gratuitous ARP packet learning function enabled:A device receiving a gratuitous ARP packet adds the information carried in the packet to its owndynamic ARP table if it finds no corresponding ARP entry for the ARP packet exists in the cache.Periodical sending of gratuitous ARP packetsIn an actual network, when the network load or the CPU occupancy of the receiving host is high, ARPpackets may be lost or the host may be unable to timely process the ARP packets received. In such acase, the dynamic ARP entries on the receiving host may age out, and the traffic between the host andthe sending device will get interrupted before the host learns the MAC address of the sending deviceagain and installs a corresponding entry in the ARP table.To address this issue, by default, the S4500 series allow VLAN interfaces to send gratuitous ARPpackets periodically. That is, as long as a VLAN interface is in the Up state, it sends gratuitous ARPpackets at an interval of 30 seconds so that the receiving host can refresh the MAC address of theswitch in the ARP table timely, thereby preventing traffic interruption mentioned above.Configuring ARPFollow these steps to configure ARP basic functions:To do… Use the command… RemarksEnter system view system-view —Add a static ARP entryarp static ip-addressmac-address [ vlan-idinterface-typeinterface-number ]OptionalBy default, the ARP mappingtable is empty, and entries arecreated dynamically by ARP.Configure the ARP aging timer arp timer aging aging-time Optional20 minutes by default.36-4