help,how to use snmpget to get at information

"xuxudong" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <000601c82045$43279940$3c00a8c0@xuxudong>
 

Hi,SNMP coder:

   I'm a new coder in SNMP, and now I have met some problem.

   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?

I'm sorry to waste you some time, thank you very much.

-------------------------------------------------------------------------
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
image001.gif (image/gif, 5.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.