The following examples show two ways to set an encrypted privileged Exec password to grandkey. hostname(config)# enable secret 5 $1$8KiD$mmxIOicclo6PgXTq97Rfb/ hostname(config)# enable secret level 15 5 $1$8KiD$mmxIOicclo6PgXTq97Rfb/
The following examples show two ways to set an unencrypted user Exec password to Forescore & 7 years ago. hostname(config)# enable secret level 1 Forescore & 7 years ago hostname(config)# enable secret level 12 0 Forescore & 7 years ago
The following example shows how to set an encrypted user Exec password to grandkey. hostname(config)# enable secret level 14 5 $1$8KiD$mmxIOicclo6PgXTq97Rfb/ Related Commands enable (password) enable (use-tacacs) enable (use-tacacs) Use the enable use-tacacs global configuration command to use the Cisco Terminal Access Controller Access Control System Plus (TACACS+) for authentication of all switch passwords from a central authentication server. Use the no enable use-tacacs command to disable central authentication of switch passwords. enable use-tacacs no enable use-tacacs Syntax Description This command has no additional arguments or keywords. Default Disabled. Command Mode Global configuration Usage Guidelines If you do not use TACACS+ to authenticate passwords, local authentication is enabled. Example This example shows how to use TACACS+ for central authentication of switch passwords. hostname(config)# enable use-tacacs Related Commands enable (password) enable (secret) login (tacacs) show (tacacs) tacacs-server (last-resort) end Use the end command from global configuration mode (config), interface configuration mode (config-if), and line configuration mode (config-line) to exit the current mode and enter privileged Exec mode. end Syntax Description This command has no arguments or keywords. Default None Command Mode All configuration modes. Usage Guidelines To exit the system and terminate the console or telnet session, use the exit command. Example This example shows how to exit the global configuration mode and enter privileged Exec mode. hostname(config)# end hostname# Related Commands configure disable