Re: snmp over tcp

Les Mikesell <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thorsten Frank wrote:
> if I am not wrong, I can start the snmpd like this: "snmpd.exe -f -d -c 
> c:\usr\bin\snmpd.conf tcp:4711" to tell the agent that it should listen 
> on the tcp-port 4711.
> When I now try to query some information, doing something like this: 
> "snmpwalk.exe -v1 -c public localhost:4711" I got a timeout.
> 
> When I am doing the same thing, using snmp-over-udp: "snmpd.exe  -f -d 
> -c c:\usr\bin\snmpd.conf udp:4711", the query works fine.
> 
> Does anybody know, what I am doing wrong?

Don't you have to use:
snmpwalk.exe -v1 -c public TCP:localhost:4711
on the client side?  (per "man snmpcmd").

And is there some particular reason you'd want to do this?  Seems like a 
bad idea if your network is unreliable and not needed if it is.

-- 
   Les Mikesell
    [email protected]

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
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.