Controlling Switch Access with Passwords and Privilege Levels
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
system disable password recovery switch {all
| <1-9>}
Example:
Switch(config)# system disable password
recovery switch all
Step 4
end
Example:
Switch(config)# end
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
OL-29048-01
Ethernet management port.
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
Setting a Telnet Password for a Terminal Line
Purpose
Enables privileged EXEC mode. Enter your password if prompted.
Enters the global configuration mode.
Disables password recovery.
• all - Sets the configuration on switches in stack.
• <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.
Returns to privileged EXEC mode.
27