RE: trapsess -e <Engine-Id>

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Thomas,

Thanks for the reply.

I tested trapsess directive with EngineId less than 19 bytes, I think you know that snmpTargetParamsTable will have the values popualted with corresponding trapsess directives in snmpd.conf

If I use the length of Engine-Id less than 20 (-e option) then there are no entries for snmpTargetParamsTable. 

The following are the details for my environment. I tested this on Linux/Fedora platforms.

snmpd.conf has the following entries.

*********************************************************************************
trapsess -e 0x900003ddf15414344452 -v 3 -u admin -a SHA -x AES -l noAuthNoPriv 10.201.114.135 -Ci

trapsess -e 0x000000a1030020ED0DD2 -v 3 -u myuser -a MD5 -A mypassword -l noAuthNoPriv 10.201.114.137 -Ci
*********************************************************************************
Some sample O/P for snmpTargetParamsTable query.

[root@mahesh snmp]# snmptable -v2c -c wimax 10.201.114.135 snmpTargetParamsTable
SNMP table: SNMP-TARGET-MIB::snmpTargetParamsTable

 snmpTargetParamsMPModel snmpTargetParamsSecurityModel snmpTargetParamsSecurityName snmpTargetParamsSecurityLevel snmpTargetParamsStorageType snmpTargetParamsRowStatus
                       3                             3                        admin                  noAuthNoPriv    readOnly                    active
                       3                             3                       myuser                  noAuthNoPriv    readOnly                    active
*********************************************************************************

Thanks in advance,

Mahesh


-----Original Message-----
From: [email protected] on behalf of Thomas Anders
Sent: Tue 3/28/2006 4:08 PM
To: [email protected]
Subject: Re: trapsess -e <Engine-Id>
 
[email protected] wrote:
> Should this usmUserEngine-Id length be 20 bytes always? Less than 20 
> bytes, I don't see the entries for trapsess in snmpTargetParamsTable.
> 
> trapsess -e 0x<usmUserEngine-Id> ....

RFC 3411 specifies SnmpEngineID as

   SYNTAX       OCTET STRING (SIZE(5..32))

so there shouldn't be a requirement for a 20 byte minimum.


+Thomas

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
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.