Re: Net-SNMP (ASAP)

Umesh Kamath <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OFBA4783BF.BBD4FC0C-ON86257420.004A3DA6-86257420.004A62F7@in.ibm.com>
Dave,


Dave,
 
I am Using version 5.4.1. 
$ snmptrap -V
NET-SNMP version: 5.4.1
 
I have one more question.
While running snmpgetnext  command i got "Encryption support not enabled" 
Error. We  have  OpenSSL 0.9.8b 04 version  in my system and during config 
we used --with-openssl=/opt/perl_modules/bin/openssl also. Eventhough we 
are getting "Encryption support not enabled" error.
 
 
$ snmpgetnext -v 3 -n "" -u uk1577 -a MD5 -A "mypassphrase" -x DES -X 
"mypassphrase" -l authPriv localhost system
Encryption support not enabled.
snmpgetnext: USM encryption error (Sub-id not found: (top) -> system)
 
snmpd -H 2>&1 | grep defPrivType
DES
 
opt/perl_modules/bin/openssl  version
OpenSSL 0.9.8b 04 May 2006
 
Please let me know how to overcome from this.






Umesh Kamath <[email protected]> 
04/01/2008 11:55

To
Dave Shield <[email protected]>
cc
Umesh Kamath/India/IBM@IBMIN
Subject
Re: Net-SNMP (ASAP)






Dave,
 
I am Using version 5.4.1. 
$ snmptrap -V
NET-SNMP version: 5.4.1
 
I have one more question.
While running snmpgetnext  command i got "Encryption support not enabled" 
Error. We  have  OpenSSL 0.9.8b 04 version  in my system and during config 
we used --with-openssl=/opt/perl_modules/bin/openssl also. Eventhough we 
are getting "Encryption support not enabled" error.
 
 
$ snmpgetnext -v 3 -n "" -u uk1577 -a MD5 -A "mypassphrase" -x DES -X 
"mypassphrase" -l authPriv localhost system
Encryption support not enabled.
snmpgetnext: USM encryption error (Sub-id not found: (top) -> system)
 
snmpd -H 2>&1 | grep defPrivType
DES
 
opt/perl_modules/bin/openssl  version
OpenSSL 0.9.8b 04 May 2006
 
Please let me know how to overcome from this.

Dave Shield <[email protected]> wrote:
On 31/03/2008, Umesh Kamath 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;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
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


 Why delete messages? Unlimited storage is just a click away.

-------------------------------------------------------------------------
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;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
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
(unnamed) (image/gif, 5.5 KB) - not displayed
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.