DETAILED STEPS
Purpose
Command or Action
Enables privileged EXEC mode. Enter your password if prompted.
enable
Step 1
Example:
Switch>
enable
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 2
Disables password recovery.
system disable password recovery switch
{
all
|
<1-9>
}
Step 3
•
all
- Sets the configuration on switches in stack.
Example:
Switch(config)#
system disable password
•
<1-9>
- Sets the configuration on the Switch Number selected.
This setting is saved in an area of the flash memory that is accessible
by the boot loader and the Cisco IOS image, but it is not part of the
file system and is not accessible by any user.
recovery switch all
Returns to privileged EXEC mode.
end
Example:
Switch(config)#
end
Step 4
What to Do Next
To remove
disable password recovery
, use the
no system disable password recovery switch all
global
configuration command.
Related Topics
Password Recovery, on page 21
Restrictions for Controlling Switch Access with Passwords and Privileges, on page 19
Setting a Telnet Password for a Terminal Line
Beginning in user EXEC mode, follow these steps to set a Telnet password for the connected terminal line:
Before You Begin
•
Attach a PC or workstation with emulation software to the switch console port, or attach a PC to the
Ethernet management port.
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29048-01
27
Controlling Switch Access with Passwords and Privilege Levels
Setting a Telnet Password for a Terminal Line