Enables password encryption and configures the passphrase used to encrypt passwords. When enabled, passwords configured within the system are not displayed as clear text.

Supported in the following platforms:

  • Access Points — AP505i, AP510i/e, AP560i/h
  • Service Platforms — NX5500, NX7500, NX9500, NX9600, VX9000


password-encryption secret 2 <LINE>


password-encryption secret 2 <LINE>
secret 2 <LINE> Encrypts passwords with a secret phrase
  • 2 – Specifies the encryption type as either SHA256-AES256
    • <LINE> – Specify the encryption passphrase.


nx9500-6C8809(config)#password-encryption secret 2 test@123

To confirm if password encryption is enabled, execute the following command:

nx9500-6C8809(config)#show password-encryption status
Password encryption is enabled

The following example shows the privilege-mode-password as encrypted text. Note, the digit ‘1‘ preceding the password implies that displayed text is the encrypted password and not clear text.

nx9500-6C8809(config-management-policy-test)#show context include-factory | 
include privilege-mode-password
 privilege-mode-password 1 bc28e4d82bb11fa75a3c56346441d48f50f19c47184e2575a59a6a5d18e63925

Related Commands

no Disables password encryption