Hi ,

Software Version : net-snmp-5.3.0.1
Operating System :  Linux ( Windriver linux)


Problem Description : snmp client  is  sending  Inform  with engineBoots
 31     and  snmp server is responding with report engineBoots 34 with
filed usmStatsNotInTimeWindows .
But snmp clinet is not using the engineBoots sent  in report from server
and  continue to send inform with old engineBoots and time as if there is
no report received.

Procedure : snmp client was up for more than 3 months and server went donw
& came up three times which cause the engineBoots to increase form 31 to 34
and after this the snmp communication is broken. This behaviour is observed
randomly but not consistent.


Below  pattern in repeated forever. Attached the
Repor_usmStatsNotInTimeWindows_Not-working.txt which is  text form of the
tcpdump at snmp  client.

No.     Time                       Source                Destination
    Protocol Length Info
      1 2013-03-27 12:57:08.481649 10.175.18.69          10.152.33.31
   SNMP     666    informRequest 1.3.6.1.2.1.1.3.0 1.3.6.1.6.3.1.1.4.1.0
1.3.6.1.4.1.161.2052.1.44.1.1.0 1.3.6.1.4.1.161.2052.1.44.1.2.0
1.3.6.1.4.1.161.2052.1.32.2.0 1.3.6.1.4.1.161.2052.1.32.4.0
1.3.6.1.4.1.161.2052.1.32.71.0 1.3.6.1.4.1.161.2052.1.32.5.0
1.3.6.1.4.1.161.2052.1.32.50.0 1.3.6.1.4.1.161.2052.1.32.69.0
1.3.6.1.4.1.161.2052.1.32.21.0

Frame 1: 666 bytes on wire (5328 bits), 666 bytes captured (5328 bits)
Ethernet II, Src: NokiaSie_62:97:a0 (00:0f:bb:62:97:a0), Dst:
All-HSRP-routers_11 (00:00:0c:07:ac:11)
Internet Protocol Version 4, Src: 10.175.18.69 (10.175.18.69), Dst:
10.152.33.31 (10.152.33.31)
User Datagram Protocol, Src Port: 49555 (49555), Dst Port: snmptrap (162)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 31
    msgAuthoritativeEngineTime: 1110242
    msgUserName: admin
    msgAuthenticationParameters: 4357fb675a74a1436142c129
    msgPrivacyParameters: cd69656c7948e205
    msgData: encryptedPDU (1)

No.     Time                       Source                Destination
    Protocol Length Info
      2 2013-03-27 12:57:08.492790 10.152.33.31          10.175.18.69
   SNMP     148    report 1.3.6.1.6.3.15.1.1.2.0

Frame 2: 148 bytes on wire (1184 bits), 148 bytes captured (1184 bits)
Ethernet II, Src: Cisco_4d:37:08 (b4:a4:e3:4d:37:08), Dst:
NokiaSie_62:97:a0 (00:0f:bb:62:97:a0)
Internet Protocol Version 4, Src: 10.152.33.31 (10.152.33.31), Dst:
10.175.18.69 (10.175.18.69)
User Datagram Protocol, Src Port: snmptrap (162), Dst Port: 49555 (49555)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 34
    msgAuthoritativeEngineTime: 19384
    msgUserName: admin
    msgAuthenticationParameters: 55cdd10f51ea71df12184605
    msgPrivacyParameters: <MISSING>
    msgData: plaintext (0)

No.     Time                       Source                Destination
    Protocol Length Info
      3 2013-03-27 12:57:18.482747 10.175.18.69          10.152.33.31
   SNMP     666    informRequest 1.3.6.1.2.1.1.3.0 1.3.6.1.6.3.1.1.4.1.0
1.3.6.1.4.1.161.2052.1.44.1.1.0 1.3.6.1.4.1.161.2052.1.44.1.2.0
1.3.6.1.4.1.161.2052.1.32.2.0 1.3.6.1.4.1.161.2052.1.32.4.0
1.3.6.1.4.1.161.2052.1.32.71.0 1.3.6.1.4.1.161.2052.1.32.5.0
1.3.6.1.4.1.161.2052.1.32.50.0 1.3.6.1.4.1.161.2052.1.32.69.0
1.3.6.1.4.1.161.2052.1.32.21.0

Frame 3: 666 bytes on wire (5328 bits), 666 bytes captured (5328 bits)
Ethernet II, Src: NokiaSie_62:97:a0 (00:0f:bb:62:97:a0), Dst:
All-HSRP-routers_11 (00:00:0c:07:ac:11)
Internet Protocol Version 4, Src: 10.175.18.69 (10.175.18.69), Dst:
10.152.33.31 (10.152.33.31)
User Datagram Protocol, Src Port: 49555 (49555), Dst Port: snmptrap (162)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 31
    msgAuthoritativeEngineTime: 1110252
    msgUserName: admin
    msgAuthenticationParameters: 43e5c5b76a4add6cee09e11b
    msgPrivacyParameters: cd69656c7948e206
    msgData: encryptedPDU (1).


Thanks,
Bhaskar
No.     Time                       Source                Destination           
Protocol Length Info
      1 2013-03-27 12:57:08.481649 10.175.18.69          10.152.33.31          
SNMP     666    informRequest 1.3.6.1.2.1.1.3.0 1.3.6.1.6.3.1.1.4.1.0 
1.3.6.1.4.1.161.2052.1.44.1.1.0 1.3.6.1.4.1.161.2052.1.44.1.2.0 
1.3.6.1.4.1.161.2052.1.32.2.0 1.3.6.1.4.1.161.2052.1.32.4.0 
1.3.6.1.4.1.161.2052.1.32.71.0 1.3.6.1.4.1.161.2052.1.32.5.0 
1.3.6.1.4.1.161.2052.1.32.50.0 1.3.6.1.4.1.161.2052.1.32.69.0 
1.3.6.1.4.1.161.2052.1.32.21.0

Frame 1: 666 bytes on wire (5328 bits), 666 bytes captured (5328 bits)
Ethernet II, Src: NokiaSie_62:97:a0 (00:0f:bb:62:97:a0), Dst: 
All-HSRP-routers_11 (00:00:0c:07:ac:11)
Internet Protocol Version 4, Src: 10.175.18.69 (10.175.18.69), Dst: 
10.152.33.31 (10.152.33.31)
User Datagram Protocol, Src Port: 49555 (49555), Dst Port: snmptrap (162)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 31
    msgAuthoritativeEngineTime: 1110242
    msgUserName: admin
    msgAuthenticationParameters: 4357fb675a74a1436142c129
    msgPrivacyParameters: cd69656c7948e205
    msgData: encryptedPDU (1)

No.     Time                       Source                Destination           
Protocol Length Info
      2 2013-03-27 12:57:08.492790 10.152.33.31          10.175.18.69          
SNMP     148    report 1.3.6.1.6.3.15.1.1.2.0

Frame 2: 148 bytes on wire (1184 bits), 148 bytes captured (1184 bits)
Ethernet II, Src: Cisco_4d:37:08 (b4:a4:e3:4d:37:08), Dst: NokiaSie_62:97:a0 
(00:0f:bb:62:97:a0)
Internet Protocol Version 4, Src: 10.152.33.31 (10.152.33.31), Dst: 
10.175.18.69 (10.175.18.69)
User Datagram Protocol, Src Port: snmptrap (162), Dst Port: 49555 (49555)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 34
    msgAuthoritativeEngineTime: 19384
    msgUserName: admin
    msgAuthenticationParameters: 55cdd10f51ea71df12184605
    msgPrivacyParameters: <MISSING>
    msgData: plaintext (0)

No.     Time                       Source                Destination           
Protocol Length Info
      3 2013-03-27 12:57:18.482747 10.175.18.69          10.152.33.31          
SNMP     666    informRequest 1.3.6.1.2.1.1.3.0 1.3.6.1.6.3.1.1.4.1.0 
1.3.6.1.4.1.161.2052.1.44.1.1.0 1.3.6.1.4.1.161.2052.1.44.1.2.0 
1.3.6.1.4.1.161.2052.1.32.2.0 1.3.6.1.4.1.161.2052.1.32.4.0 
1.3.6.1.4.1.161.2052.1.32.71.0 1.3.6.1.4.1.161.2052.1.32.5.0 
1.3.6.1.4.1.161.2052.1.32.50.0 1.3.6.1.4.1.161.2052.1.32.69.0 
1.3.6.1.4.1.161.2052.1.32.21.0

Frame 3: 666 bytes on wire (5328 bits), 666 bytes captured (5328 bits)
Ethernet II, Src: NokiaSie_62:97:a0 (00:0f:bb:62:97:a0), Dst: 
All-HSRP-routers_11 (00:00:0c:07:ac:11)
Internet Protocol Version 4, Src: 10.175.18.69 (10.175.18.69), Dst: 
10.152.33.31 (10.152.33.31)
User Datagram Protocol, Src Port: 49555 (49555), Dst Port: snmptrap (162)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 31
    msgAuthoritativeEngineTime: 1110252
    msgUserName: admin
    msgAuthenticationParameters: 43e5c5b76a4add6cee09e11b
    msgPrivacyParameters: cd69656c7948e206
    msgData: encryptedPDU (1)

No.     Time                       Source                Destination           
Protocol Length Info
      4 2013-03-27 12:57:18.494896 10.152.33.31          10.175.18.69          
SNMP     148    report 1.3.6.1.6.3.15.1.1.2.0

Frame 4: 148 bytes on wire (1184 bits), 148 bytes captured (1184 bits)
Ethernet II, Src: Cisco_4d:37:08 (b4:a4:e3:4d:37:08), Dst: NokiaSie_62:97:a0 
(00:0f:bb:62:97:a0)
Internet Protocol Version 4, Src: 10.152.33.31 (10.152.33.31), Dst: 
10.175.18.69 (10.175.18.69)
User Datagram Protocol, Src Port: snmptrap (162), Dst Port: 49555 (49555)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 34
    msgAuthoritativeEngineTime: 19394
    msgUserName: admin
    msgAuthenticationParameters: 05916e3ec5a615c7759facd6
    msgPrivacyParameters: <MISSING>
    msgData: plaintext (0)

No.     Time                       Source                Destination           
Protocol Length Info
      5 2013-03-27 12:57:29.621792 10.175.18.69          10.152.33.31          
SNMP     666    informRequest 1.3.6.1.2.1.1.3.0 1.3.6.1.6.3.1.1.4.1.0 
1.3.6.1.4.1.161.2052.1.44.1.1.0 1.3.6.1.4.1.161.2052.1.44.1.2.0 
1.3.6.1.4.1.161.2052.1.32.2.0 1.3.6.1.4.1.161.2052.1.32.4.0 
1.3.6.1.4.1.161.2052.1.32.71.0 1.3.6.1.4.1.161.2052.1.32.5.0 
1.3.6.1.4.1.161.2052.1.32.50.0 1.3.6.1.4.1.161.2052.1.32.69.0 
1.3.6.1.4.1.161.2052.1.32.21.0

Frame 5: 666 bytes on wire (5328 bits), 666 bytes captured (5328 bits)
Ethernet II, Src: NokiaSie_62:97:a0 (00:0f:bb:62:97:a0), Dst: 
All-HSRP-routers_11 (00:00:0c:07:ac:11)
Internet Protocol Version 4, Src: 10.175.18.69 (10.175.18.69), Dst: 
10.152.33.31 (10.152.33.31)
User Datagram Protocol, Src Port: 57271 (57271), Dst Port: snmptrap (162)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 31
    msgAuthoritativeEngineTime: 1110263
    msgUserName: admin
    msgAuthenticationParameters: 3d7fa74eafa729ea9846bd20
    msgPrivacyParameters: cd69656c7948e207
    msgData: encryptedPDU (1)

No.     Time                       Source                Destination           
Protocol Length Info
      6 2013-03-27 12:57:29.632415 10.152.33.31          10.175.18.69          
SNMP     148    report 1.3.6.1.6.3.15.1.1.2.0

Frame 6: 148 bytes on wire (1184 bits), 148 bytes captured (1184 bits)
Ethernet II, Src: Cisco_4d:37:08 (b4:a4:e3:4d:37:08), Dst: NokiaSie_62:97:a0 
(00:0f:bb:62:97:a0)
Internet Protocol Version 4, Src: 10.152.33.31 (10.152.33.31), Dst: 
10.175.18.69 (10.175.18.69)
User Datagram Protocol, Src Port: snmptrap (162), Dst Port: 57271 (57271)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 34
    msgAuthoritativeEngineTime: 19405
    msgUserName: admin
    msgAuthenticationParameters: 86b7816bf076e4cb7ceba10e
    msgPrivacyParameters: <MISSING>
    msgData: plaintext (0)

No.     Time                       Source                Destination           
Protocol Length Info
      7 2013-03-27 12:57:39.622765 10.175.18.69          10.152.33.31          
SNMP     666    informRequest 1.3.6.1.2.1.1.3.0 1.3.6.1.6.3.1.1.4.1.0 
1.3.6.1.4.1.161.2052.1.44.1.1.0 1.3.6.1.4.1.161.2052.1.44.1.2.0 
1.3.6.1.4.1.161.2052.1.32.2.0 1.3.6.1.4.1.161.2052.1.32.4.0 
1.3.6.1.4.1.161.2052.1.32.71.0 1.3.6.1.4.1.161.2052.1.32.5.0 
1.3.6.1.4.1.161.2052.1.32.50.0 1.3.6.1.4.1.161.2052.1.32.69.0 
1.3.6.1.4.1.161.2052.1.32.21.0

Frame 7: 666 bytes on wire (5328 bits), 666 bytes captured (5328 bits)
Ethernet II, Src: NokiaSie_62:97:a0 (00:0f:bb:62:97:a0), Dst: 
All-HSRP-routers_11 (00:00:0c:07:ac:11)
Internet Protocol Version 4, Src: 10.175.18.69 (10.175.18.69), Dst: 
10.152.33.31 (10.152.33.31)
User Datagram Protocol, Src Port: 57271 (57271), Dst Port: snmptrap (162)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 800000a1010a98211f01
    msgAuthoritativeEngineBoots: 31
    msgAuthoritativeEngineTime: 1110273
    msgUserName: admin
    msgAuthenticationParameters: d7f9251ed3cd29f66fe64237
    msgPrivacyParameters: cd69656c7948e208
    msgData: encryptedPDU (1)
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to