Password recovery process for Cisco switches

Source: Internet
Author: User
Tags config switches

1, hold down the switch front panel to the left of the mode key, and then turn on the switch power.

2, enter the boot mode, input "Flash_init", the initialization of Flash information:

Switch:flash_init

[3], enter the "load_helper" command:

Switch:load_helper

(Some model switches do not need to execute this command.) Check to see if the information prompts for "Load_helper" after entering boot mode. If you have, you need to enter. No input is required. )

Example: Informational hints are displayed as

Flash_init

Load_helper

Boot

You need to enter the "load_helper" command

As shown in the figure above, you do not need to enter the "load_helper" command

4, the implementation of "DIR Flash:" Command:

After executing the "DIR Flash:" Command, we should be able to see Vlan.dat,ios mirrors and Config.text files. The key to the switch password recovery is to save the Config.text file for this password.

Switch:dir Flash:

5, to save the password Config.text file to perform file name substitution:

Switch:rename Flash:/config.text Flash:/config.old

6, leave boot mode, start switching equipment:

Switch:boot

7, switching equipment after the start of the switch into the privileged mode, copy the configuration file into memory

switch# Copy Flash:config.old System:running-config

8. Change Password

Switch#config Terminal

Switch (config) #enable password [password]

9, Save the configuration:

Switch#write Mem

10, change back/delete profile [can be omitted, because the switch configuration is copied from the Config.old]

switch# Rename Flash:/config.old Flash:/config.text

switch# Delete Flash:/config.old

Ps:
Cisco Official Simulator Packet Tracer (PT) currently only simulates the router's password recovery and cannot simulate the switch's password recovery.

This article is from the "Network" blog, please be sure to keep this source http://netlin.blog.51cto.com/118225/959251

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.