Introduced
This tool displays and modifies the ip/Physical Address table (ARP table) like the Windows command-line tool Arp.exe.
The tool will do two things:
1) Display ARP table
2) Add, delete, modify ARP table
These two tasks are accomplished through the SNMP (Simple Network Management Protocol) extension library.
Handling IP and MAC addresses via SNMP
You can read or modify the ARP table through SNMP to get or set object information through SNMP. The request and response of SNMP commands are based on the MIB (Management information Base).
MIB is a tree-mounted structure, MIB has all the manageable objects for us, more information can refer to RFC1213 (http://www.ietf.org/rfc/rfc1213.txt),
You can also view files:%systemroot%\system32\*.mib, which you can use Notepad.exe to open and view all entries in the%systemroot%\system32\mib_ii.mib.
The following is the MIB Ipnettomediaentry entry
ipNetToMediaEntry OBJECT-TYPE
SYNTAX IpNetToMediaEntry
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"Each entry contains one IpAddress to 'physical'
address equivalence."
INDEX { ipNetToMediaIfIndex,
ipNetToMediaNetAddress }
::= { ipNetToMediaTable 1 }