Difference between revisions of "Talk:TUT:snmpget"

From Net-SNMP Wiki
Jump to: navigation, search
 
Line 7: Line 7:
  
 
[[User:Designatevoid|Designatevoid]] 20:46, 20 October 2007 (PDT)
 
[[User:Designatevoid|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.<BR>
 +
Try this<BR>
 +
If you are within a network with a DHCP router, start a command prompt and issue an ipconfig dos command<br>
 +
it should respond something like this<br>
 +
<br>
 +
Ethernet adapter Local Area Connection 1:<br>
 +
<br>
 +
        Connection-specific DNS Suffix  . : jollyroger.internal<br>
 +
        IP Address. . . . . . . . . . . . : 134.171.264.60<br>
 +
        Subnet Mask . . . . . . . . . . . : 255.255.248.0<br>
 +
        Default Gateway . . . . . . . . . : 134.171.264.1<br>
 +
<br>
 +
Try snmpget -v 1 -c public 134.171.264.1 SNMPv2-MIB::sysUpTime.0<BR>

Revision as of 11:42, 15 January 2008

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