RE: [tkined] How to get the engineID?

From: Sanapoori, Hari (
Date: Tue Apr 04 2000 - 18:19:25 MET DST


        Here is the output of my try....

% Tnm::snmp generator -version SNMPv3 -address
% snmp0 getnext 1.3
noResponse 0 {}
% snmp0 configure
-address -port 161 -version SNMPv3 -user root -context {}
-engineID {} -authPassWord public -privPassWord privat -readSecurity
noAuth/noPriv -writeSecurity md5/des -transport udp -timeout 5 -retries 3
-window 10 -delay 0 -tags {}

I am not seeing engineID in the configure.....

Thanks and let me know how to get it....


-----Original Message-----
From: Juergen Schoenwaelder []
Sent: Tuesday, April 04, 2000 11:46 AM
To: Sanapoori, Hari
Subject: Re: [tkined] How to get the engineID?

>>>>> Sanapoori, Hari writes:

Hari> I tried the way you mentioned in your email. The output of the
Hari> catch {$s getnext 1.3} is

Hari> noResponse 0 {}

Hari> But, According to books, we need to send an empty request with
Hari> no user name, no variable bindings and noAuth/noPriv. Then the
Hari> agent will return the report with engineID and other stuff.

The session handle should contain the correct engineID after the
"noResponse" timeout. Please check. (You can do engineID discovery
without sending an empty request with no user name since you will get
back a report on any message which does not have the right engineID in

Hari> How to do that....? I am stuck at this level.... I want to
Hari> know whether the latest scotty package supports the discover of
Hari> SNMPv3 Engine ID. If not what is the possible date we can get
Hari> the package.

I think it does the discovery, but it returns a noResponse since it
caches the packet with the unknown engineID value for retransmissions.
This is what IMHO needs to get fixed - or we do explicit engineID
discovery. However, the strategy currently implemented will work with
any engineID which does not match, which is a bit friendlier in cases
where you have an existing session handle and you just change the
target IP address.


Juergen Schoenwaelder      Technical University Braunschweig
<>  Dept. Operating Systems & Computer Networks
Phone: +49 531 391 3289    Bueltenweg 74/75, 38106 Braunschweig, Germany
Fax:   +49 531 391 5936    <URL:>

-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <>. !! See for more information.

This archive was generated by hypermail 2b29 : Mon Jan 08 2001 - 15:27:39 MET