Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Configuring password encryption for SNMPv3 users

For SNMPv3 users, the passwords for auth-password and priv-password are encrypted. You can configure either with a plain-text password or an encrypted password. In both cases, the passwords are shown in the show running-config command as encrypted.

The following example shows a plain-text password configuration:

switch(config)# snmp-server user snmpadmin1 auth md5 auth-password private123 priv DES priv-password public123

The following example shows an encrypted password configuration:

switch(config)# snmp-server user snmpadmin2 groupname snmpadmin auth md5 authpassword "MVb+360X3kcfBzug5Vo6dQ==\n" priv DES priv-password "ckJFoHbzVvhR0xFRPjsMTA== \n" encrypted
NOTE
This command may not be successful where encrypted passwords are generated by third-party or open-source tools.