Re: help needed on snmpwalk using localized keys
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAKoMtGZjA1czp5bFFPtLLLvhQw1_=i2QCQsb48K6z4cuXMEfEQ@mail.gmail.com> |
On 8 November 2011 08:55, ashok kumar <[email protected]> wrote: > rwuser myuser authPriv > createUser myuser SHA -l 0x0001020304050607080900010203040506070809 > AES -l 0x00010203040506070809000102030405 So you are setting the localised keys directly, rather than via a pass phrase. > The snmpwalk throws the following error: > # snmpwalk -v3 -u myuser -l authPriv > -a SHA -A 0x0001020304050607080900010203040506070809 > -x AES -X 0x00010203040506070809000102030405 localhost ifTable That's becuase you are specifying the authentication and encryption pass phrases, not the localised keys. If you've set localised keys in the agent, you must specify localised keys in the command. $ man snmpcmd -3[MmKk] 0xHEXKEY Sets the keys to be used for SNMPv3 transactions. These options allow you to set the master authentication and encryption keys (-3m and -3M respectively) or set the localized authentication and encryption keys (-3k and -3K respectively). Try using # snmpwalk -v3 -u myuser -l authPriv -a SHA -3k 0x0001020304050607080900010203040506070809 -x AES -3K 0x00010203040506070809000102030405 localhost ifTable Dave ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ 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