DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch> enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
no service password-recovery
Example:
Switch(config)# no service password-recovery
Step 4
end
Example:
Switch(config)# end
Step 5
show running-config
Example:
Switch# show running-config
Step 6
copy running-config startup-config
Example:
Switch# copy running-config startup-config
What to Do Next
To re-enable password recovery, use the service password-recovery global configuration command.
Related Topics
Password Recovery, on page 757
Restrictions for Controlling Switch Access with Passwords and Privileges, on page 755
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Control Switch Access with Passwords and Privilege Levels
Purpose
Enables privileged EXEC mode. Enter your password if
prompted.
Enters the global configuration mode.
Disables password recovery.
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.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
763