This example generates a secret for the password rocket, and creates a secret for privilege level 15.
- host1(config)#enable secret level 15 0 rocket
host1(config)#exit
host1#show secret
Current Password Settings
-------------------------
encryption encrypted
level type password/secret mode
----- ---------- -------------------- ----------
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 5 (secret) bcA";+1aeJD8)/[1ZDP6 configured
You or users with high privilege levels can now use the encrypted password, bcA";+1aeJD8)/[1ZDP6, with the password command.