Hi,

If my table is indexed by three indexes: 
index 1: mac address(string)
index 2: ip address 
index 3: port number (integer)

How can I use CLI command to get some entry in the table?

ex: 
table oid: 1.3.6.1.4.100.100
index 1: aa:bb:cc:dd:ee:ff
index 2: 192.168.100.100 
index 3: 99

snmpget -v 2c -c public xxx.xxx.xxx.xxx 
1.3.6.1.4.100.100.column.aa:bb:cc:dd:ee:ff.192.168.100.100.99

Is this a correct CLI command to get some entry in the table?
My main question is how to represent string and integer index values in OID?

I am so new to net-snmp. Maybe my question is a little silly.
Your help will be appreciated.


Thanks,
                                                                                
                                 
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to