Fibre Channel (SAN)

Reply
Occasional Contributor
Posts: 5
Registered: ‎09-07-2009

EngineID is not sent with INFORMS packet via SNMPv3

Hello there,

I'm in touble tesiting SNMPv3 traps and nee your great help !

I configured snmpv3 configfuration follows,

ED_DCX_4S_B:admin> version                                                    

Kernel:     2.6.14.2  

Fabric OS:  v6.4.2b

Made on:    Wed Sep 21 02:51:35 2011

Flash:     Sun Mar 17 12:21:38 2013

BootProm:   1.0.15

ED_DCX_4S_B:admin> snmpconfig --show snmpv3

SNMP Informs = 1 (ON)

SNMPv3 USM configuration:
User 1 (rw): snmpadmin1
Auth Protocol: MD5
Priv Protocol: noPriv
Engine ID: 80:00:06:34:01:0a:20:0d:ae
User 2 (rw): snmpadmin2
Auth Protocol: noAuth
Priv Protocol: noPriv
Engine ID: 00:00:00:00:00:00:00:00:00
User 3 (rw): snmpadmin3
Auth Protocol: noAuth
Priv Protocol: noPriv
Engine ID: 00:00:00:00:00:00:00:00:00
User 4 (ro): snmpuser1
Auth Protocol: noAuth
Priv Protocol: noPriv
Engine ID: 00:00:00:00:00:00:00:00:00
User 5 (ro): snmpuser2
Auth Protocol: noAuth
Priv Protocol: noPriv
Engine ID: 00:00:00:00:00:00:00:00:00
User 6 (ro): snmpuser3
Auth Protocol: noAuth
Priv Protocol: noPriv
Engine ID: 00:00:00:00:00:00:00:00:00

SNMPv3 Trap configuration:
Trap Entry 1:     xx.yy.27.89
    Trap Port: 162
    Trap User: snmpadmin1
    Trap recipient Severity level: 4
Trap Entry 2:     No trap recipient configured yet
Trap Entry 3:     No trap recipient configured yet
Trap Entry 4:     No trap recipient configured yet
Trap Entry 5:     No trap recipient configured yet
Trap Entry 6:     No trap recipient configured yet
ED_DCX_4S_B:admin>

I ran snmpTraps command to test SNMPv3 trap,

ED_DCX_4S_B:admin> snmptraps --send -trap_name bd-trap -ip_address xx.yy.27.89

Number of traps sent : 1

ED_DCX_4S_B:admin>

But my snmp manager didn't show any traps. Cpatured packect showed engineID was not included and errored.

No.     Time           Source                Destination           Protocol Length Info
      6 1.431063000    10.32.13.174          xx.yy.27.89          SNMP     124    informRequest

Frame 6: 124 bytes on wire (992 bits), 124 bytes captured (992 bits) on interface 0
Ethernet II, Src: Cisco_da:57:40 (00:25:b4:da:57:40), Dst: WistronI_95:2e:7d (f0:de:f1:95:2e:7d)
Internet Protocol Version 4, Src: 10.32.13.174 (10.32.13.174), Dst: 152.62.27.89 (152.62.27.89)
User Datagram Protocol, Src Port: filenet-pa (32772), Dst Port: snmptrap (162)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: <MISSING>   <===== NO EngineID here !!!
    msgAuthoritativeEngineBoots: 0
    msgAuthoritativeEngineTime: 0
    msgUserName: snmpadmin1
    msgAuthenticationParameters: <MISSING>
    msgPrivacyParameters: <MISSING>
    msgData&colon; plaintext (0)
        plaintext
            contextEngineID: 80000634b2100000051e97a300
                1... .... = Engine ID Conformance: RFC3411 (SNMPv3)
                Engine Enterprise ID: Brocade Communications Systems, Inc. (1588)
                Engine ID Format: Reserved/Enterprise-specific (178)
                Engine ID Data&colon; 100000051e97a300
            contextName:
            data&colon; informRequest (6)

No.     Time           Source                Destination           Protocol Length Info
      7 1.431795000    xx.yy.27.89          10.32.13.174          SNMP     157    report 1.3.6.1.6.3.15.1.1.4.0

Frame 7: 157 bytes on wire (1256 bits), 157 bytes captured (1256 bits) on interface 0
Ethernet II, Src: WistronI_95:2e:7d (f0:de:f1:95:2e:7d), Dst: All-HSRP-routers_00 (00:00:0c:07:ac:00)
Internet Protocol Version 4, Src: 152.62.27.89 (152.62.27.89), Dst: 10.32.13.174 (10.32.13.174)
User Datagram Protocol, Src Port: snmptrap (162), Dst Port: filenet-pa (32772)
Simple Network Management Protocol
    msgVersion: snmpv3 (3)
    msgGlobalData
    msgAuthoritativeEngineID: 80001f8880c77500009b415a51
        1... .... = Engine ID Conformance: RFC3411 (SNMPv3)
        Engine Enterprise ID: net-snmp (8072)
        Engine ID Format: Reserved/Enterprise-specific (128): Net-SNMP Random
        Engine ID Data&colon; c7750000
        Engine ID Data&colon; Creation Time: Apr  2, 2013 11:25:31 Tokyo Standard Time
    msgAuthoritativeEngineBoots: 2
    msgAuthoritativeEngineTime: 5397
    msgUserName: snmpadmin1
    msgAuthenticationParameters: <MISSING>
    msgPrivacyParameters: <MISSING>
    msgData&colon; plaintext (0)
        plaintext
            contextEngineID: 80001f8880c77500009b415a51
                1... .... = Engine ID Conformance: RFC3411 (SNMPv3)
                Engine Enterprise ID: net-snmp (8072)
                Engine ID Format: Reserved/Enterprise-specific (128): Net-SNMP Random
                Engine ID Data&colon; c7750000
                Engine ID Data&colon; Creation Time: Apr  2, 2013 11:25:31 Tokyo Standard Time
            contextName:
            data&colon; report (8)

What's wrong in my configuration ?

Do any one give me suggestion ?

Kind regards,

Hiroshi

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.