2-32
Configuring Username and Password Security
Encrypting Credentials in the Configuration File
Figure 2-14. Example of Status of Encrypt-Credentials when the pre-shared-key Has Not Been Set
Figure 2-15. Example of Status of Encrypt-Credentials When the Pre-shared Key Has Been Set
Affected Commands
Several commands will have encryption available for configuration.
HP Switch(config)# show encrypt-credentials
Encryption : Disabled
Pre-shared Key: None
HP Switch(config)# show encrypt-credentials
Encryption : Disabled
Pre-shared Key:
055d7b3b6bc22d18d29533ba2b549b3991bc23b7cbfc8e5769bdcc9ec748af27
Existing Command New Equivalent Option
HP Switch(config)# radius-server key secret1 HP Switch(config)# radius-server encrypted-key
U2FsdGVkX18XWadTeFN+bxHxKA/q+s5cV1NiYvx+TuA=
HP Switch(config)# radius-server host 10.0.0.1 key secret1 HP Switch(config)# radius-server host 10.0.0.1
encrypted-key
U2FsdGVkX18XWadTeFN+bxHxKA q+s5cV1NiYvx+TuA=
HP Switch(config)# tacacs-server key secret1 HP Switch(config)# tacacs-server encrypted-key
U2FsdGVkX18XWadTeFN+bxHxKA/q+s5cV1NiYvx+TuA=
HP Switch(config)# tacacs-server host 10.0.0.1 key secret1 HP Switch(config)# tacacs-server host 10.0.0.1
encrypted-key U2FsdGVkX18XWadTeFN+bxHxKA/
q+s5cV1NiYvx+TuA=
HP Switch(config)# key-chain example key 1 key-string
secret1
HP Switch(config)# key-chain example key 1 encrypted-key
U2FsdGVkX18XWadTeFN+bxHxKA/ q+s5cV1NiYvx+TuA=
HP Switch(config)# aaa port-access supplicant 24 secret
secret1
HP Switch(config)# aaa port-access supplicant
24 identity id1 encrypted-secret secret1
U2FsdGVkX18XWadTeFN+bxHxKA/q+s5cV1NiYvx+TuA=
HP Switch(config)# sntp authentication key-id 33
authentication-mode md5 key-value secret1
HP Switch(config)# sntp authentication key-id 33
authentication-mode md5 encrypted-key
U2FsdGVkX18XWadTeFN+bxHxKA/q+s5cV1NiYvx+TuA=
HP Switch(config)# password manager plaintext secret1 HP Switch(config)# encrypted-password manager
U2FsdGVkX18XWadTeFN+bxHxKA/q+s5cV1NiYvx+TuA=