Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SNMPv3 - Adding a user with an encrypted password (MD5 hash)

When adding an SNMPv3 user to an IOS router, you can specify "either a plain-text password or a localized message digest 5 (MD5) digest". Here's an example of a command that uses a digest:

Router(config)# snmp-server user abcd public v3 encrypted auth md5 00:11:22:33:44:55:66:77:88:99:AA:BB:CC:DD:EE:FF

(this example is from Cisco documentation)

My question is - how can you generate the MD5 hash (assuming you know the password and the engineID)?

1 REPLY
Cisco Employee

Re: SNMPv3 - Adding a user with an encrypted password (MD5 hash)

See Appendix 2 of http://www.faqs.org/rfcs/rfc3414.html for sample C code to generate localized hashes in MD5 and SHA-1.

1003
Views
5
Helpful
1
Replies
CreatePlease to create content