snmp on router

This is a discussion on snmp on router within the Linux General forums, part of the Linux Forums category; Hi all! I have a router that has snmp so I'm trying to use it, but I never get ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2003
tudor
 
Posts: n/a
Default snmp on router

Hi all!
I have a router that has snmp so I'm trying to use it, but I never get a
response from the router. Also, there is no snmp port opened, so does that
mean the router simply doesen't listen to a snmp request?
How ca I tell if snmp works on the router? Configuration lets me choose its
comunity.

Thanx!
Reply With Quote
  #2 (permalink)  
Old 06-27-2003
Neil Cherry
 
Posts: n/a
Default Re: snmp on router

On Fri, 27 Jun 2003 21:14:32 GMT, tudor wrote:
>Hi all!
>I have a router that has snmp so I'm trying to use it, but I never get a
>response from the router. Also, there is no snmp port opened, so does that
>mean the router simply doesen't listen to a snmp request?
>How ca I tell if snmp works on the router? Configuration lets me choose its
>comunity.


What programs are you using, what router are you using? Have you
configured the router to accept snmp requests? Here's a smaple of an
snmp request (every device supports this one, I think):

$ snmpget router public system.sysUpTime.0
system.sysUpTime.0 = Timeticks: (44188600) 5 days, 2:44:46.00

OR

$ snmpget router public .1.3.6.1.2.1.1.3.0
system.sysUpTime.0 = Timeticks: (44216400) 5 days, 2:49:24.00

where router is the name or ip address of the router and public is the
SNMP community string (public is the default read-only string).

--
Linux Home Automation Neil Cherry ncherry@comcast.net
http://mywebpages.comcast.net/ncherry/ (Text only)
http://linuxha.sourceforge.net/ (SourceForge)
http://hcs.sourceforge.net/ (HCS II)
Reply With Quote
  #3 (permalink)  
Old 06-28-2003
Neil Cherry
 
Posts: n/a
Default Re: snmp on router

On Sat, 28 Jun 2003 00:02:25 GMT, tudor wrote:
>Neil Cherry wrote:
>
>> On Fri, 27 Jun 2003 21:14:32 GMT, tudor wrote:
>>>Hi all!
>>>I have a router that has snmp so I'm trying to use it, but I never get a
>>>response from the router. Also, there is no snmp port opened, so does that
>>>mean the router simply doesen't listen to a snmp request?
>>>How ca I tell if snmp works on the router? Configuration lets me choose
>>>its comunity.

>>
>> What programs are you using, what router are you using? Have you
>> configured the router to accept snmp requests? Here's a smaple of an
>> snmp request (every device supports this one, I think):
>>
>> $ snmpget router public system.sysUpTime.0
>> system.sysUpTime.0 = Timeticks: (44188600) 5 days, 2:44:46.00
>>
>> OR
>>
>> $ snmpget router public .1.3.6.1.2.1.1.3.0
>> system.sysUpTime.0 = Timeticks: (44216400) 5 days, 2:49:24.00
>>
>> where router is the name or ip address of the router and public is the
>> SNMP community string (public is the default read-only string).
>>

>snmpget: Timeout
>that's what I get. I also tried mrtg in windows. The router (usr 8022)
>doesen't seem to respond. Snmp is enabled on the router.
>Anyway, shouldn't it be listening on some port for that snmp requests? If I
>do a port scan from inside (LAN - where the snmp is opened) I should find
>something opened, right? Udp 161, right?


When I try using snmpget with the wrong password (mine is not set to
public) I get:

$ snmpget ng public system.sysUpTime.0
Timeout: No Response from ng.

You are correct that snmp is on 161 (snmp-trap is 162 and that's stuff
that get sent to logs not the snp requests and responses). Double
check your password (same case et al) and make sure that the USR is
setup to allow snmp requests from your local LAN (usually a
192.168.x.x addr). Good Luck.

Oh, have you checked with USR?

--
Linux Home Automation Neil Cherry ncherry@comcast.net
http://mywebpages.comcast.net/ncherry/ (Text only)
http://linuxha.sourceforge.net/ (SourceForge)
http://hcs.sourceforge.net/ (HCS II)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:29 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0