Re: Net-snmp-users Digest, Vol 18, Issue 12

"Fernando Pardo" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
>    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
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.