cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2504
Views
5
Helpful
1
Replies

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

boris.senker
Level 1
Level 1

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 1

Joe Clarke
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: