DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if
prompted.
enable
Example:
Switch> enable
Step 1
Enters the global configuration mode.configure terminal
Example:
Switch# configure terminal
Step 2
Disables password recovery.no service password-recovery
Step 3
Example:
Switch(config)# no service 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.end
Example:
Switch(config)# end
Step 4
Verifies your entries.show running-config
Example:
Switch# show running-config
Step 5
(Optional) Saves your entries in the configuration file.copy running-config startup-config
Example:
Switch# copy running-config startup-config
Step 6
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)
763
How to Control Switch Access with Passwords and Privilege Levels