To use ARP command we need to open the CMD:
Run -> CMD -> now we can use the ARP commands
First if it’s the first time you use the Arp Syntax you can see all options that ARP has to offer:
C:\ ARP -> now you will see the Arp HELP Manuel.
-a = this switch display the ARP cache tables for all interfaces. If we want to display the ARP on specific IP address all we need to do is to type:
C:\arp –a -N xx.xxx.xxx.x
Note!-N is case sensitive!!!!
-S = this switch adds static entry to our Arp table that resolves the IP address to the Physical address , example for use :
IP : 10.10.10.2
Now we want to add entry to our cache that resolved the IP address to this MAC address :
Arp –s 10.10.10.2 00-bb-vv-cd
-d = when we use this switch we deleted specific IP entry that saved on our cache or to delete all cache enters saved in our cache
To delete all entry in cache :
To delete specific IP entery :
C:\arp –d xxx.xxx.xxx.xxx