Talk:TUT:snmpget

From Net-SNMP Wiki
Revision as of 12:43, 10 October 2008 by Frakie (Talk | contribs) (How could it work?)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Hello. In the Failed Requests section, it has no entry for timeouts.

 snmpget -v 1 -c demopublic test.net-snmp.org SNMPv2-MIB::sysUpTime.0
 Timeout: No Response from test.net-snmp.org.

This is my response for the first example. I'm a new user to SNMP and have spent four hours with various SNMP agents and browsers with no results, just errors and timeouts.

Designatevoid 20:46, 20 October 2007 (PDT)

If this doesn't work you may be behind a firewall that blocks the responses from the internet.
Try this
If you are within a network with a DHCP router, start a command prompt and issue an ipconfig dos command
it should respond something like this

Ethernet adapter Local Area Connection 1:

       Connection-specific DNS Suffix  . : jollyroger.internal
IP Address. . . . . . . . . . . . : 134.171.264.60
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 134.171.264.1


Try snmpget -v 1 -c public 134.171.264.1 SNMPv2-MIB::sysUpTime.0

How could it work?

Do you really suppose every firewall has snmp service?

I want to know how to use this commands on my localhost...