On Tue, 1 Jun 2004 15:02:05 +0600 (PKST) Fawad wrote:
FN> 1. $ snmpwalk -c public -v 1 10.10.0.1 .1.3.6.1.2.1.4.22.1.2
FN> 
FN> The above mentioned commands gets the MAC Address in the ARP cache.
FN> 
FN> 2. $ snmpwalk -c public -v 1 10.10.0.1 .1.3.6.1.2.1.4.22.1.2.1
FN> 
FN> In this commands i have added .1 in the end and it gives me the MAC
FN> address of static IP's in the ARP cache.
FN> 
FN> 3. $ snmpwalk -c public -v 1 10.10.0.1 .1.3.6.1.2.1.4.22.1.2.3
FN> 
FN> In this commands i have added .3 in the end and it gives me the MAC
FN> address of the local network IP's in the ARP cache.
FN> 
FN> My question is what does this .1 and .3 means which i am adding in the end
FN> in 2 & 3 respectively.

You are specifying a partial index for the row. The ipNetToMediaTable has two
indexes: ipNetToMediaIfIndex, ipNetToMediaNetAddress. You are specifying an
ipNetToMediaIfIndex of 1 and 3.


-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to