> I used net-snmp 5.1.1, have set up it successfully. When I want use > snmpget to get AT table's information. But I can't get result , I can use > snmpwalk and get the result like this: > > snmpwalk -v 2c -c public 127.0.0.1 at > > RFC1213-MIB::atIfIndex.2.1.192.168.4.65 = INTEGER: 2 > > RFC1213-MIB::atPhysAddress.2.1.192.168.4.65 = Hex-STRING: 00 0F E2 13 0D > 86 > > RFC1213-MIB::atNetAddress.2.1.192.168.4.65 = Network Address: > C0:A8:04:41:00:00:00:00 > > > So, I want to know how to use snmpget, can you give me a sample, please?
You can do: snmpget -v 2c -c public 127.0.0.1 atIfIndex.2.1.192.168.4.65 to get a specific element on the table. Or you can do snmptable -v 2c -c public 127.0.0.1 at and get the results in a nice tabular format. Bye, Fernickk ____________________________________________________________________ Internet | Banda Ancha | Hosting | Redes | Servicios | Desarrollo http://www.internet.com.uy | [EMAIL PROTECTED] | Tel: (02)7074252 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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
