In this article we will discuss The arp Command, will make brief discussion on The arp Command, In last article we discuss about The ipconfig Command.
The “arp” Command. arp displays and modifies entries in the Address Resolution Protocol (ARP) cache, which contains one or more tables that are used to store IP addresses and their resolved Ethernet or Token Ring physical addresses.
The arp command is executed from the Windows command prompt. Arp –a command lists all devices currently in the ARP cache of the host, which includes the IPv4 address, physical address, and the type of addressing (static/dynamic), for each device.
The cache can be cleared by using the arp -d*command in the event the network administrator wants to repopulate the cache with updated information.
The ARP cache contains information only from devices that have been recently accessed. To ensure that the ARP cache is populated, ping a device so that it will have an entry in the ARP table.
A switch connected to five PCs and a router. The output of the Windows command, “arp -a” is shown displaying the IP address and MAC address pairs that the PC knows about.