DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Defines a new password or changes an existing password for access to privileged
EXEC mode.
enable password password
Example:
Switch(config)#
enable password
Step 2
By default, no password is defined.
For
password
, specify a string from 1 to 25 alphanumeric characters. The string
cannot start with a number, is case sensitive, and allows spaces but ignores leading
secret321
spaces. It can contain the question mark (?) character if you precede the question
mark with the key combination Crtl-v when you create the password; for example,
to create the password abc?123, do this:
Enter
abc
.
Enter
Crtl-v
.
Enter
?123
.
When the system prompts you to enter the enable password, you need not precede
the question mark with the Ctrl-v; you can simply enter abc?123 at the password
prompt.
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 3
Related Topics
Example: Setting or Changing a Static Enable Password, on page 35
Protecting Enable and Enable Secret Passwords with Encryption
Beginning in privileged EXEC mode, follow these steps to establish an encrypted password that users must
enter to access privileged EXEC mode (the default) or any privilege level you specify:
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
OL-29434-01
25
Controlling Switch Access with Passwords and Privilege Levels
Protecting Enable and Enable Secret Passwords with Encryption