Password Recovery Procedure
for the Catalyst 5000 ATM LANE Module
Description
This document describes the password recovery procedure for the Cisco Catalyst 5000 ATM LAN emulation (LANE) module
(WS-X5153/5154/5155/5156/5157/5158/5166).
Step-by-Step Procedure
In order to recover a password, you must download a recovery image onto the ATM module that will erase the contents of nonvolatile RAM (NVRAM).
- Before you start, make sure you have the ATM module recovery image and the original or latest ATM module image. To get this image, establish an FTP session to ftp.cisco.com and log in as c5k_atmp. Use your email address as the password. Enter the get atm_911.cbi command.
- Download the ATM module recovery image on the Catalyst 5000 supervisor console by typing:
download host atm_911.cbi atm mod_num
- Wait for the module online message. At this time, the password is disabled and the NVRAM on the ATM module is erased. Reboot the Catalyst 5000.
If you wish to save your original configuration without the password, continue with step 4 below. Otherwise, to enter a new configuration, skip to step 5.
- Enter the session ATM slot # command. Then, on the ATM module, type:
enable (you will not be prompted for a password)
write memory
exit
This will save your configuration, but without the enable password.
- To enter a new configuration, download the original ATM image by typing:
download filename
- Once you receive the module online message, you may session to the ATM module and enable without a password.
.Cisco 6000 MAFC口令恢复
Password Recovery Procedure for the Cisco Catalyst 6000 MSFC
Description
This document describes the password recovery procedure for the Cisco Catalyst 6000 Multilayer Switch Feature Card (MSFC).
Step-by-Step Procedure
- Attach a terminal or PC with terminal emulation to the console port of the switch.
Use the following terminal settings: 9600 baud, no parity, 8 data bits, 1 stop bit - Type show module to determine the MSFC card on which to do password recovery.
The MSFC module is in slot 15 or 16. - Reset the MSFC module you want to do password recovery on.
Use the resetcommand to do this. - Wait 5 seconds and then connect to the MSFC console using the switch console command.
- After seeing the message "Connected to Router", issue a break sequence.
The break key is a unique sequence that will break the MSFC into rommon. If this does not work, please refer to the break sequence page.
The MSFC will boot to a rommon> prompt. - Type confreg 0x42 at the rommon> prompt to configure the MSFC to boot without its configuration.
- Display the current software in bootflash by issuing the dir bootflash: command and record the current software version.
- Boot the system with the boot bootflash:<image filename> command.
NOTE : Do NOT boot the system using the c6msfc-boot image. Doing so will result in loss of configuration after the password recovery process. - After the system boots, answer "No" to all the set-up questions or press Ctrl-C to skip the initial set-up procedure.
- Type enable at the Router> prompt. This will put you in enable mode and you will see the Router# prompt.
- Type config mem or copy startup-config running-config to copy the nonvolatile RAM (NVRAM) into memory.
This is a crucial step. DO NOT save the configuration (do not use write term or copy running-config startup-config) - Type write terminal or show running-config.
At this point, you should see the full configuration with the unknown enable password or enable secret. All other interfaces are shut down. - Type configure terminal to make the necessary changes.
The prompt is now hostname(config)# - Type enable secret
. Replace with your password.
- Use the no shutdown command on interfaces that are being used.
If you use the show ip interface brief command, every interface that you want to use should be up. - Type config-register 0x2102
- Press Ctrl-Z to leave the configuration mode. The prompt is now hostname#
- Type write memory or copy running-config startup-config to commit the changes.
Example of a Password Recovery on the Catalyst 6000 MSFC Module
Example of a Password Recovery on the Catalyst 6000 MSFC Module
文章录入:aaadxmmm 责任编辑:aaadxmmmswitch (enable) show moduleMod Slot Ports Module-Type Model Status--- ---- ----- ------------------------- ------------------- --------1 1 2 1000BaseX Supervisor WS-X6K-SUP1A-2GE ok15 1 1 Multilayer Switch Feature WS-F6K-MSFC ok3 3 48 10/100BaseTX Ethernet WS-X6248-RJ-45 ok4 4 8 1000BaseX Ethernet WS-X6408-GBIC ok5 5 2 MM OC-12 ATM WS-X6101-OC12-MMF ok Mod Module-Name Serial-Num--- ------------------- -----------1 SAD0342313315 SAD034145633 SAD032427374 SAD032201525 SAD03433465 Mod MAC-Address(es) Hw Fw Sw--- -------------------------------------- ------ ---------- -----------------1 00-30-96-2a-2a-9e to 00-30-96-2a-2a-9f 1.0 5.2(1) 5.4(3) 00-30-96-2a-2a-9c to 00-30-96-2a-2a-9d 00-50-3e-9f-20-00 to 00-50-3e-9f-23-ff15 00-30-96-2a-2a-a0 to 00-30-96-2a-2a-df 1.2 12.1(1)E, 12.1(1)E,3 00-50-f0-af-24-d0 to 00-50-f0-af-24-ff 1.1 4.2(0.24)V 5.4(3)4 00-d0-58-e9-d0-f0 to 00-d0-58-e9-d0-f7 2.1 4.2(0.24)V 5.4(3)5 00-d0-bc-ef-03-68 to 00-d0-bc-ef-03-87 1.0 12.0(5)XS, 12.0(5)XS, Mod Sub-Type Sub-Model Sub-Serial Sub-Hw--- ----------------------- ------------------- ----------- ------1 L3 Switching Engine WS-F6K-PFC SAD03424837 1.0switch(enable) reset 15Unsaved configuration on module 15 will be lostDo you want to continue (y/n) [n]? y2000 Jun 23 06:36:59 %SYS-5-MOD_RESET:Module 15 reset from Console//Resetting module 15...switch(enable) switch console Trying Router-15...Connected to Router-15.Type ^C^C^C to switch back...(A break-sequence has been sent here) monitor: command "boot" aborted due to user interruptrommon 1 > confreg 0x42 You must reset or power cycle for new config to take effectrommon 2 > dir bootflash: File size Checksum File name 1606784 bytes (0x188480) 0xe58d8560 c6msfc-boot-mz.120-7.XE1<--- Don't use this image to boot !!! 8998276 bytes (0x894d84) 0x1476de9 c6msfc-jsv-mz.121-1.E.binrommon 3 > boot bootflash:c6msfc-jsv-mz.121-1.E.bin Self decompressing the image : ############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################## [OK]
Restricted Rights LegendUse, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagraph(c) of the Commercial Computer Software - RestrictedRights clause at FAR sec. 52.227-19 and subparagraph(c) (1) (ii) of the Rights in Technical Data and ComputerSoftware clause at DFARS sec. 252.227-7013. Cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706Cisco Internetwork Operating System Software IOS (tm) MSFC Software (C6MSFC-JSV-M), Version 12.1(1)E, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)Copyright (c) 1986-2000 by cisco Systems, Inc.Compiled Fri 24-Mar-00 13:57 by kpmaImage text-base: 0x60008900, data-base: 0x6146A000Cisco Cat6k-MSFC (R5000) processor with 57344K/8192K bytes of memory.Processor board ID SAD03414563R5000 CPU at 200Mhz, Implementation 35, Rev 2.1, 512KB L2 CacheLast reset from power-onBridging software.X.25 software, Version 3.0.0.SuperLAT software (copyright 1990 by Meridian Technology Corp).TN3270 Emulation software.123K bytes of non-volatile configuration memory.4096K bytes of packet SRAM memory. 16384K bytes of Flash internal SIMM (Sector size 256K). --- System Configuration Dialog ---Would you like to enter the initial configuration dialog? [yes/no]: (ctrl-C pressed) Press RETURN to get started!Module online.Cisco Internetwork Operating System Software IOS (tm) MSFC Software (C6MSFC-JSV-M), Version 12.1(1)E, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)Copyright (c) 1986-2000 by cisco Systems, Inc.Compiled Fri 24-Mar-00 13:57 by kpmaRouter>enableRouter#Router#copy startup-config running-configDestination filename [running-config]? 1153 bytes copied in 0.236 secsmsfc-switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z. msfc-switch(config)#enable secret Ciscomsfc-switch(config)#config-register 0x2102msfc-switch(config)#^Zmsfc-switch#show ip interface briefInterface IP-Address OK? Method Status ProtocolEOBC0/6 127.0.0.12 YES unset up up Vlan10 10.1.1.2 YES TFTP administratively down down Vlan20 10.1.2.2 YES TFTP administratively down down Vlan30 10.1.3.2 YES TFTP administratively down down Vlan40 10.1.4.2 YES TFTP administratively down down Vlan50 10.1.5.2 YES TFTP administratively down down msfc-switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.msfc-switch(config)#interface vlan10msfc-switch(config-if)#no shutdownmsfc-switch(config-if)#^Zmsfc-switch#00:02:16: %SYS-5-CONFIG_I: Configured from console by consolemsfc-switch#write memoryBuilding configuration...[OK]msfc-switch#