Re: Net-SNMP (ASAP)

This is a discussion on Re: Net-SNMP (ASAP) within the SNMP Users forums, part of the Networking and Network Related category; On 31/03/2008, Umesh Kamath <umkamath@in.ibm.com> wrote: > I am able to generate Traps ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-31-2008
Dave Shield
 
Posts: n/a
Default Re: Net-SNMP (ASAP)

On 31/03/2008, Umesh Kamath <umkamath@in.ibm.com> wrote:
> I am able to generate Traps messages by specifying the port number 162
> in command as below.
>
> snmptrap -v 1 -c public localhost:162 "" "" 2 0 ""
>
>
> Why we need to mention port number 162 ?, By default it should bind to port 162.


Which version of the "snmptrap" command are you using?
("snmptrap -V")

There was a problem with the default trap port on some versions,
but I thought this had been fixed on all current releases.


> I have verified my config files to check whether i have mentioned default
> port number other then 162, i found one entry in snmp.conf file. In that i
> have mentioned default port number 161 and i did it because by assuming
> this config file ment for agent hence i have given default port number 161 .


Port 161 is the standard port for SNMP *requests* (GET, GETNEXT, SET).
Port 162 is the standard port for SNMP *notifications* (TRAP, INFORM)

Dave

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB 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 10:59 PM.


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