SNMPv3: two request needed to get response(msgAuthorit ativeEngineTime)?

mike one <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization http://freemail.web.de/
Message-ID <[email protected]>
Hello, 
I am facing problem with SNMPv3 authentication on swithes. 

Linux with Net-SNMP 5.3.1.
When I run snmpget from the Linux console (eg. for Nagios) I get the correct response from the switch: 
snmpget -v3 -u snmpuser -l authpriv -a md5 -A abcd1234 -x des -X abcd1234 -e 800019560300E0B19BC33F 172.31.21.98 sysName.0
SNMPv2-MIB::sysName.0 = STRING: TestSwitch

But the switch sends a swnmp trap: Authentication failed

I've traced snmp with wireshark:
1. the first snmp request to the switch contained:
    msgAuthoritativeEngineID: 800019560300E0B19BC33F
    msgAuthoritativeEngineBoots: 0
    msgAuthoritativeEngineTime: 0
2. next cames from the switch snmp report with:
    msgAuthoritativeEngineID: 800019560300E0B19BC33F
    msgAuthoritativeEngineBoots: 1
    msgAuthoritativeEngineTime: 72848
3. second ??? snmp request to the switch contained:
    msgAuthoritativeEngineID: 800019560300E0B19BC33F 
    msgAuthoritativeEngineBoots: 1
    msgAuthoritativeEngineTime: 72848
4. snmp response from switch - OK

The only difference between 1. and 3 is msgAuthoritativeEngineBoots and msgAuthoritativeEngineTime .
How can I configure net-snmp for snmp v3 with auth. ? 

thanks

__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele 
ausländische Netze zum gleichen Preis! 
https://produkte.web.de/webde_sms/sms




------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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.