No default password. Command Mode Global configuration Usage Guidelines The level argument must be specified. For more information about assigning passwords of various levels and encryption modes, see "Understanding Command Modes" in "Overview." Examples This example shows how to set an unencrypted privileged Exec password to WILLOW 6. hostname(config)# enable password level 15 "WiLLoW 6"
Both of these examples show how to set an unencrypted user Exec password to MAY DAY. hostname(config)# enable password level 1 "May Day" hostname(config)# enable password level 8 "may day" Related Commands enable (secret) enable (use-tacacs) enable (secret) Use the enable secret global configuration command to set encrypted user Exec or privileged Exec passwords. Use the no enable secret command to clear the password. enable secret [level <1-15>] [0 5 ] no enable secret [level <1-15>] Syntax Description level <1-15> Level for which the password applies:1-14 user Exec privileges.15 privileged Exec privileges. 0 Specifies an unencrypted password follows. 5 Specifies an encrypted password follows. password A case-sensitive string of between 1 and 25 characters, spaces, and punctuation.
Default Privilege level 15, unencrypted. No default password. Command Mode Global configuration Usage Guidelines
Note Encrypted passwords are typically used only in configuration files generated by the switch.
The level argument must be used to specify any level 1 through 14 encrypted password. The level argument is optional when specifying a default level 15 encrypted password. Although levels 2 to 14 are accepted, levels 1 to 14 map to user-level password (level 1). For more information about assigning passwords of various levels and encryption modes, see "Understanding Command Modes" in the "Overview" chapter. If you enter a password that begins with a number followed by a space, an error message appears: hostname(config)# enable secret level 1 9 lives Invalid encryption type: 9 Examples The following examples show different ways to set an unencrypted privileged Exec password to Pass&WoRd-87. hostname(config)# enable secret Pass&WoRd-87 hostname(config)# enable secret 0 Pass&WoRd-87 hostname(config)# enable secret level 15 Pass&WoRd-87