
Boot Sector Filesystem (bs) installed, fsid: 3 Setting console baud rate to 9600. flashfs: 458 files, 6 directories flashfs: 0 orphaned files, 0 orphaned directories flashfs: Total bytes: 32514048 flashfs: Bytes used: 9073664 flashfs: Bytes available: 23440384 flashfs: flashfs fsck took 7 seconds.done Initializing Flash. It will override the "enable password" statement if any exists.Switch: flash_init Initializing Flash. ** Note: recently Cisco has discouraged the use of the "enable password" command as it is not very secure. * Rommon is a program in EPROM that is always available if you interrupt the switch/router from loading the IOS image. Write the memory to save your passwords!!!! Do whichever ones you need to overwrite:ġ2. Switch#copy flash:config.text system:running−configġ1. Copy your configuration file into memory. Since we've bypassed your config to boot, we need to load it back into memory to change your old password.

Switch#rename flash:config.old flash:config.textġ0. Type "rename flash:config.old flash:config.text" to rename the config file with its original name. You need to overwrite this default one with your config so it will be loaded when you reboot. Since you've booted up without a config.text file, one was created automatically for you. At the switch prompt, type "en" to enter enable mode.ĩ. Issue the "dir flash:" command to see the files in your flash directory.Ĩ. Once you're at the switch prompt issue the "flash_init" command.Ĥ. Windows 2000 uses Ctrl + Break, UNIX is Ctrl−C, etc.)Ģ. Also, note that the 2955 switches do not use an external mode button for password recovery. To enter ROMMON mode, hold down the mode button located on the left side of the front panel, while you reconnect power to the switch.

Save the configuration with the new password.Īttach your PC with terminal emulation software such as SecureCRT (my favorite), or Hyper Terminal to the console port of the switch.ġ. Rename your config.old back to config.text so it can be loaded at the next bootup.Ĭopy your config.text to running-config so you can change the password. Rename the current config.text file which contains your unknown password to config.old so you can use it again later.īoot the switch into the initial configuration mode. Reboot the switch and enter *rommon mode. It's important to understand what you're doing here, so, I've created a summary of steps and explained a little more in detail than Cisco will.
