Re: snmpd port number

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Kurapati M-G19456 wrote:
> I am using net-snmp-5.2.2.  when I start the SNMPD with "./snmpd -x 705
> -I -interfaces", I am seeing the following as the netstat output. 
>  
> netstat -apn|grep snmpd
> tcp        0      0 0.0.0.0:705             0.0.0.0:*
> LISTEN      10231/snmpd
> udp        0      0 0.0.0.0:161             0.0.0.0:*
> 10231/snmpd
> udp        0      0 127.0.0.1:37161         0.0.0.0:*
> 10231/snmpd
>  
> I did not understand why snmpd is listening on 127.0.0.1:37161?  what
> could be the reason? 
>  
> Following is the cat o/p of /usr/share/snmp/snmpd.conf
[...]
> trap2sink localhost

The dynamic port 37161 is for sending the SNMPv2 traps according to the
"trap2sink" config.


+Thomas

-- 
Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.