版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、IntroductionThis document describes how to recover a lost or unknown password on a Catalyst 4500/4000 switch with a Supervisor Engine II-Plus (WS-X4013+), Supervisor Engine II-Plus-TS (WS-X4013+TS), Supervisor Engine II-Plus-10GE (WS-X4013+10GE), Supervisor Engine III (WS-X4014), Supervisor Engine I
2、V (WS-X4515), Supervisor Engine V (WS-X4516), Supervisor Engine V-10GE (WS-X4516-10GE) module, Cisco Catalyst 4948, Cisco Catalyst 4948 10GE, and Cisco Catalyst 4900M switches.Note: In Catalyst 4500/4000 Series Switches, Supervisor Engines II+, II+10GE, II+TS, III, IV, V, and V-10GE support onl
3、y Cisco IOS® Software and Supervisor Engines I and II support only the Catalyst OS Software. In order to recover the password on the Supervisor Engines I or II, refer to Password Recovery Procedure for the Catalyst 1200, 1400, 2901, 2902, 2926T/F, 2926GS/L, 2948G, 2980G, 4000, 5000, 5500, 6000,
4、 6500 Running CatOS.PrerequisitesRequirementsThere are no specific requirements for this document.ConventionsRefer to Cisco Technical Tips Conventions for more information on document conventions.Step-by-Step ProcedureComplete these steps to recover your password:Note: Make sure that you have p
5、hysical access to the switch and that you use console access to the Supervisor Engine module while you perform these steps. For details on the switch console connection, refer to Connecting a Modem to the Console Port on Catalyst Switches.Tip: Configuration of the switch is not lost if the proc
6、edure is followed as mentioned. As a best practice, Cisco recommends that you have a backup copy of the configuration of all Cisco devices at the TFTP server or a Network Management server.1. Power cycle the device.In order to power cycle, turn the device off, then back on.Press Ctrl-C within 5 seco
7、nds to prevent autoboot. This action puts you in ROM monitor (ROMmon) prompt mode.!- Here, you power cycle the switch.* * * * Welcome to ROM Monitor for WS-X4014 System. * * Copyright (c) 1999-2000, 2001 by Cisco Systems, Inc. * * All rights reserved. * * * * ROM Monitor Program Version 12.1(10r)EY(
8、1.21) Board type 1, Board revision 7 Swamp FPGA revision 16, Dagobah FPGA revision 43 Timer interrupt test passed. MAC Address : 00-02-b9-83-af-fe IP Address : 22 Netmask : Gateway : TftpServer : Not set. Main Memory : 256 MBytes * The system will autoboot in 5 s
9、econds * Type control-C to prevent autobooting. !- At this point, press Ctrl-C.Autoboot cancelled. please wait!Autoboot cancelled. please wait!rommon 1 > interrupt !- The module ended in the ROMmon.rommon 1 > interrupt2. Issue the confreg command at the rommon prompt.Make the selections that a
10、ppear here in boldface for password recovery:rommon 1 > setrommon 1 > confreg Configuration Summary : => load ROM after netboot fails => console baud: 9600 => autoboot from: commands specified in 'BOOT' environment variable do you wish to change the configuration? y/n n: y ena
11、ble "diagnostic mode"? y/n n: n enable "use net in IP bcast address"? y/n n: n disable "load ROM after netboot fails"? y/n n: n enable "use all zero broadcast"? y/n n: n enable "break/abort has effect"? y/n n: n enable "ignore system config info
12、"? y/n n: y change console baud rate? y/n n: n change the boot characteristics? y/n n: n Configuration Summary : => load ROM after netboot fails => ignore system config info => console baud: 9600 => autoboot from: commands specified in 'BOOT' environment variable do you wish
13、 to save this configuration? y/n n: y You must reset or power cycle for new configuration to take effectNote: You can also use the confreg 0x2142 command at the ROMmon prompt in order to set the configuration register value to bypass the startup configuration stored in NVRAM.rommon 1 >confre
14、g 0x2142You must reset or power cycle for the new configuration to take effect.3. Issue the reset command so that the module reboots.Due to the changes that you made in step 2, the module reboots but ignores the saved configuration.rommon 2 > resetResetting .rommon 3 > * * * * Welcome to ROM M
15、onitor for WS-X4014 System. * * Copyright (c) 1999-2000, 2001 by Cisco Systems, Inc. * * All rights reserved. * * * *!- Output suppressed.Press RETURN to get started! !- Press Return.00:00:21: %SYS-5-RESTART: System restarted -Cisco Internetwork Operating System Software IOS (tm) Catalyst 4000 L3 Sw
16、itch Software (cat4000-IS-M), Version 12.1(8a)EW, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 24-Jan-02 17:34 by ccai00:00:21: %SNMP-5-COLDSTART: SNMP agent on host Switch is undergoing a cold startSwitch>4. Make sure that the configuration register value is 0
17、x2142.This value makes the module boot from Flash without a load of the saved configuration. Issue the enable command at the Switch prompt to go to enable mode. Then, issue the show version command to check the configuration register value.Switch> enableSwitch#show versionCisco Internetwork Opera
18、ting System Software IOS (TM) Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(8a)EW, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 24-Jan-02 17:34 by ccaiImage text-base: 0x00000000, data-base: 0x00AA2B8CROM: 12.1(10r)EY(1.21)Switch uptime is 5 minute
19、sSystem returned to ROM by reloadRunning default softwarecisco WS-C4006 (MPC8245) processor (revision 7) with 262144K bytes of memory.Processor board ID FOX04183666Last reset from Reload32 Gigabit Ethernet/IEEE 802.3 interface(s)467K bytes of non-volatile configuration memory.Configuration register
20、is 0x2142Switch#5. Issue the configure memory command or the copy startup-config running-config command to copy the NVRAM into memory.Do not issue the configure terminal command, which shows the default configuration on the module.Switch#configure memoryUncompressed configuration from 1307 bytes to
21、3014 bytesSwitch#00:13:52: %SYS-5-CONFIG_I: Configured from memory by consolec-4006-SUPIII#6. Issue the show ip interface brief command to make sure that the interfaces that were in use earlier show an "up up" status.If any of the interfaces that were in use before the password recovery sh
22、ow "down", issue the no shutdown command on that interface to bring the interface up.7. Issue the write terminal command or the show running-config command to display the saved configuration on the module.8. c-4006-SUPIII#show running-config 9. Building configuration.10.11. Current configu
23、ration : 3014 bytes12. !13.14. no service pad15. service timestamps debug uptime16. service timestamps log uptime17. no service password-encryption18. service compress-config19. !20. hostname c-4006-SUPIII21. !22. boot system flash bootflash:23. !24. vtp mode transparent25.26. !- Output suppressed.2
24、7.28. line con 029. stopbits 130. line vty 0 431. login32. !33. end34.c-4006-SUPIII#Now you are ready to change the password on the module.35. Issue these commands to change the password:36. c-4006-SUPIII#configure terminal 37. Enter configuration commands, one per line. End with CNTL/Z.38. c-4006-S
25、UPIII(config)#no enable secret39.40. !- This step is necessary if the switch had an enable 41. !- secret password.42.43.44. c-4006-SUPIII(config)#enable secret < password > 45. Choose a strong password with at least one capital letter,46. one number, and one special character.47.48. !- This co
26、mmand sets the new password.49.50. Make sure that you change the configuration register value back to 0x2102.Complete these steps at the config prompt to change and verify the configuration register value.c-4006-SUPIII(config)#config-register 0x2102c-4006-SUPIII(config)# Zc-4006-SUPIII#00:19:01: %SY
27、S-5-CONFIG_I: Configured from console by consolec-4006-SUPIII#write memory !- This step saves the configuration.Building configuration.Compressed configuration from 3061 bytes to 1365 bytesOKc-4006-SUPIII#show version !- This step verifies the value change.Cisco Internetwork Operating System Softwar
28、e IOS (TM) Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(8a)EW, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 24-Jan-02 17:34 by ccaiImage text-base: 0x00000000, database: 0x00AA2B8CROM: 12.1(10r)EY(1.21)c-4006-SUPIII uptime is 20 minutesSystem retu
29、rned to ROM by reloadRunning default softwarecisco WS-C4006 (MPC8245) processor (revision 7) with 262144K bytes of memory.Processor board ID FOX04183666Last reset from Reload32 Gigabit Ethernet/IEEE 802.3 interface(s)467K bytes of nonvolatile configuration memory.Configuration register is 0x2142 (wi
30、ll be 0x2102 at next reload)c-4006-SUPIII#At this point, you have changed the password.Sample Output/Example ProcedureThis sample output is the result of the password recovery procedure on a Catalyst 4000 Supervisor Engine III.c-4006-SUPIII> enablePassword: Password: Password: % Bad secrets !- He
31、re, you power cycle the switch.* * * * Welcome to ROM Monitor for WS-X4014 System. * * Copyright (c) 1999-2000, 2001 by Cisco Systems, Inc. * * All rights reserved. * * * * ROM Monitor Program Version 12.1(10r)EY(1.21) Board type 1, Board revision 7 Swamp FPGA revision 16, Dagobah FPGA revision 43 T
32、imer interrupt test passed. MAC Address : 00-02-b9-83-af-fe IP Address : 22 Netmask : Gateway : TftpServer : Not set. Main Memory : 256 Mbytes * The system will autoboot in 5 seconds * Type control-C to prevent autobooting. !- At this point, press Ctrl-C.Autoboot
33、 cancelled. please wait!Autoboot cancelled. please wait!rommon 1 > interruptrommon 1 > interruptrommon 1 > confreg Configuration Summary : => load ROM after netboot fails => console baud: 9600 => autoboot from: commands specified in 'BOOT' environment variable do you wish t
34、o change the configuration? y/n n: y enable "diagnostic mode"? y/n n: n enable "use net in IP bcast address"? y/n n: n disable "load ROM after netboot fails"? y/n n: n enable "use all zero broadcast"? y/n n: n enable "break/abort has effect"? y/n n:
35、n enable "ignore system config info"? y/n n: y change console baud rate? y/n n: n change the boot characteristics? y/n n: n Configuration Summary : => load ROM after netboot fails => ignore system config info => console baud: 9600 => autoboot from: commands specified in 'BO
36、OT' environment variable do you wish to save this configuration? y/n n: y You must reset or power cycle for new configuration to take effectrommon 2 > resetResetting .rommon 3 > * * * * Welcome to ROM Monitor for WS-X4014 System. * * Copyright (c) 1999-2000, 2001 by Cisco Systems, Inc. * *
37、 All rights reserved. * * * * ROM Monitor Program Version 12.1(10r)EY(1.21) Board type 1, Board revision 7 Swamp FPGA revision 16, Dagobah FPGA revision 43 Timer interrupt test passed. MAC Address : 00-02-b9-83-af-fe IP Address : 22 Netmask : Gateway : TftpServer
38、 : Not set. Main Memory : 256 Mbytes * The system will autoboot in 5 seconds * Type control-C to prevent autobooting. . . . . . * The system will autoboot now * config-register = 0x2142 Autobooting using BOOT variable specified file. Current BOOT file is - bootflash: Rommon reg: 0x2B004180Decompress
39、ing the image : # OKprod: WS-X4014 part: 73-6854-07 serial: JAB0546060ZPower-on-self-test for Module 1: WS-X4014Status: (. = Pass, F = Fail)Traffic using serdes loopback (L2; one port at a time).switch port 0: . switch port 1: . switch port 2: . switch port 3: . switch port 4: . switch port 5: . swi
40、tch port 6: . switch port 7: . switch port 8: . !- Output suppressed.Module 1 PassedExiting to ios.Rommon reg: 0x2B000180Decompressing the image : #!- Output suppressed.# OK Restricted Rights LegendUse, duplication, or disclosure by the Government issubject to restrictions as set forth in subparagra
41、ph(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 O
42、perating System Software IOS (TM) Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(8a)EW, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 24-Jan-02 17:34 by ccaiImage text-base: 0x00000000, database: 0x00AA2B8Ccisco WS-C4006 (MPC8245) processor (revision
43、 7) with 262144K bytes of memory.Processor board ID FOX04183666Last reset from Reload32 Gigabit Ethernet/IEEE 802.3 interface(s)467K bytes of nonvolatile configuration memory.Press RETURN to get started!00:00:21: %SYS-5-RESTART: System restarted -Cisco Internetwork Operating System Software IOS (TM)
44、 Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(8a)EW, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 24-Jan-02 17:34 by ccai00:00:21: %SNMP-5-COLDSTART: SNMP agent on host Switch is undergoing a cold startSwitch> enableSwitch# show versionCisco In
45、ternetwork Operating System Software IOS (TM) Catalyst 4000 L3 Switch Software (cat4000-IS-M), Version 12.1(8a)EW, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2002 by cisco Systems, Inc.Compiled Thu 24-Jan-02 17:34 by ccaiImage text-base: 0x00000000, database: 0x00AA2B8CROM: 12.1(10r)EY(1.21)Switch upt
46、ime is 5 minutesSystem returned to ROM by reloadRunning default softwarecisco WS-C4006 (MPC8245) processor (revision 7) with 262144K bytes of memory.Processor board ID FOX04183666Last reset from Reload32 Gigabit Ethernet/IEEE 802.3 interface(s)467K bytes of nonvolatile configuration memory.Configura
47、tion register is 0x2142Switch#Switch#configure memoryUncompressed configuration from 1307 bytes to 3014 bytesc-4006-SUPIII#00:13:52: %SYS-5-CONFIG_I: Configured from memory by consolec-4006-SUPIII#show running-config Building configuration.Current configuration : 3014 bytes!no service padservice tim
48、estamps debug uptimeservice timestamps log uptimeno service password-encryptionservice compress-config!hostname c-4006-SUPIII!boot system flash bootflash:!vtp mode transparent!vlan 20 private-vlan primary!vlan 100!vlan 202 private-vlan association 440! vlan 440 private-vlan isolated!vlan 500ip subnet-zerono ip domain-lookup!ip multicast-routing!interface GigabitEthernet1/1 no switchport ip pim dense-mode!interface GigabitEthernet1/2 no switchport!- Output suppressed.!interface Vlan1 ip pim dense-mode!interface Vlan2 no ip address shutdown!interface Vlan20 no ip address shutdown!- Out
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 钦北区2023-2024年部编版九年级上学期语文期中试卷
- 九年级上学期语文期中考试卷
- 第三中学八年级上学期语文第二次质量检测试卷
- 结构加固合同范本(2篇)
- 《数学物理方法》第5章测试题
- 南京航空航天大学《单片微控制器原理及应用》2022-2023学年期末试卷
- 南京工业大学浦江学院《商业银行经营与管理》2023-2024学年第一学期期末试卷
- 分式的约分说课稿
- 吨的认识说课稿
- 南京工业大学浦江学院《管理学原理》2023-2024学年第一学期期末试卷
- 牙体缺损—烤瓷熔附金属全冠修复临床路径
- 标准流程——产品防混货风险评价控制预防措施
- 暖通工程师面试试题(含答案)
- JGJ_T231-2021建筑施工承插型盘扣式钢管脚手架安全技术标准(高清-最新版)
- 试桩施工方案 (完整版)
- ESTIC-AU40使用说明书(中文100版)(共138页)
- 河北省2012土建定额说明及计算规则(含定额总说明)解读
- 中工商计算公式汇总.doc
- 深圳市建筑装饰工程消耗量标准(第三版)2003
- 《初中英语课堂教学学困生转化个案研究》开题报告
- 恒温箱PLC控制系统毕业设计
评论
0/150
提交评论