Thread: snmp on router
View Single Post

  #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