2022年Cisco交换机密码恢复大全 .pdf
《2022年Cisco交换机密码恢复大全 .pdf》由会员分享,可在线阅读,更多相关《2022年Cisco交换机密码恢复大全 .pdf(11页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Cisco 交换机密码恢复大全一.基于 CatOS的 CATALYST 1200,1400,2901,2902,2926T/F,2926GS/L,2948G,2980G,4000,5000,5500,6000与 6500 密码恢复:关掉交换机电源,等待片刻再打开.当出现密码提示符后,接下来要做的事情,就是在 30 秒内完成一些步骤:1.回车(相当于输入空密码).2.进入 enable mode(enable命令别说你不会).3.回车,继续玩空密码.4.修改密码(set password和 set enablepass命令).5.回车,相当于输入旧密码(如果在这时候收到提示信息说sorry pa
2、ssword incorrect,抱歉,你动作太慢了,超过 30 秒了,把上述步骤重新做1 次,动作快点).6.设置更为安全的密码(set password和 set enablepass命令).完工.示例:System Bootstrap,Version 5.3(1)Copyright(c)1994-1999 by Cisco Systems,Inc.c6k_sup1 processor with 65536 Kbytes of main memory Autoboot executing command:boot bootflash:cat6000-sup.6-3-3.bin Uncomp
3、ressing file:#System Power On Diagnostics DRAM Size.64 MB Testing DRAM.Passed NVRAM Size.512 KB Level2 Cache.Present System Power On Diagnostics Complete Boot image:bootflash:cat6000-sup.6-3-3.bin 名师资料总结-精品资料欢迎下载-名师精心整理-第 1 页,共 11 页 -Running System Diagnostics from this Supervisor(Module 1)This may
4、take up to 2 minutes.please wait Cisco Systems Console 2002 Apr 08 16:08:13%SYS-3-MOD_PORTINTFINSYNC:Port Interface in sync for Module 1 Enter password:/-你只有 30 秒-/(回车)2007 Mar 08 11:08:15%SYS-1-SYS_ENABLEPS:Power supply 1 enabled 2007 Mar 08 11:08:15%SYS-1-SYS_ENABLEPS:Power supply 2 enabled 2007 M
5、ar 08 11:08:18%SYS-5-MOD_PWRON:Module 3 powered up 2007 Mar 08 11:08:18%SYS-5-MOD_PWRON:Module 4 powered up 2007 Mar 08 11:08:25%MLS-5-NDEDISABLED:Netflow Data Export disabled 2007 Mar 08 11:08:26%MLS-5-MCAST_STATUS:IP Multicast Multilayer Switching is enabled 2007 Mar 08 11:08:26%SYS-5-MOD_OK:Modul
6、e 1 is online Console enableEnter password:2007 Mar 08 11:08:37%SYS-5-MOD_OK:Module 3 is online 2007 Mar 08 11:08:37%SYS-3-MOD_PORTINTFINSYNC:Port Interface in sync for Module 3 Console(enable)set passwordEnter old password:(回车)Enter new password:(回车)Retype new password:(回车)Password changed.Console(
7、enable)set enablepassEnter old password:(回车)Enter new password:(回车)Retype new password:(回车)Password changed.其他些老古董比如CATALYST 1200 和这个有点不太一样,不写了,实在需要的话查 documentation 吧.二.CATALYST 2900,3500XL的密码恢复:名师资料总结-精品资料欢迎下载-名师精心整理-第 2 页,共 11 页 -拔下交换机的电源线,然后按住交换机的Mode按钮,再重新插上交换机的电源线.直到端口 Port 1x 的LED熄灭之后释放 Mode按
8、钮.就这么简单,别告诉我你不知道Mode按钮在哪啊-_-#三.CATALYST 2940,2950L的密码恢复:拔下交换机的电源线,然后按住交换机的Mode按钮,再重新插上交换机的电源线.直到 STAT的 LED熄灭之后释放 Mode按钮.四.CATALYST 2955的密码恢复:CATALYST 2955没有没有外部的 Mode按钮,因此就不能使用之前的那种方法来进行密码恢复.在交换机启动时,对于 Windows系列的 PC,按下 Ctrl+Break键;对于 UNIX系列的工作站,按下 Ctrl+C.如下:C2955 Boot Loader(C2955-HBOOT-M)Version 12
9、.1(0.0.514),CISCO DEVELOPMENT TEST VERSION Compiled Fri 13-Dec-02 17:38 by madison WS-C2955T-12 starting.Base ethernet MAC Address:00:0b:be:b6:ee:00 Xmodem file system is available.Initializing Flash.flashfs0:19 files,2 directories flashfs0:0 orphaned files,0 orphaned directories flashfs0:Total byte
10、s:7741440 flashfs0:Bytes used:4510720 flashfs0:Bytes available:3230720 flashfs0:flashfs fsck took 7 seconds.done initializing flash.Boot Sector Filesystem(bs:)installed,fsid:3 Parameter Block Filesystem(pb:)installed,fsid:4 /-接下来交换机会在15 秒内自动启动,等出现该信息之后,按下 Ctrl+Break键或 Ctrl+C 键-/The system has been i
11、nterrupted prior to initializing the flash file system to finish loading the operating system software:flash_init load_helper bootswitch:switch:flash_init /-输入 flash_init命令-/Initializing Flash.flashfs0:143 files,4 directories flashfs0:0 orphaned files,0 orphaned directories flashfs0:Total bytes:3612
12、672 flashfs0:Bytes used:2729472 flashfs0:Bytes available:883200 flashfs0:flashfs fsck took 86 seconds.done Initializing Flash.Boot Sector Filesystem(bs:)installed,fsid:3 Parameter Block Filesystem(pb:)installed,fsid:4 名师资料总结-精品资料欢迎下载-名师精心整理-第 3 页,共 11 页 -switch:switch:load_helper /-输入 load_helper命令-
13、/switch:switch:dir flash:/-查看交换机 flash内容-/Directory of flash:/2-rwx 1803357 c3500 xl-c3h2s-mz.120-5.WC7.bin 4-rwx 1131 config.text 5-rwx 109 info 6-rwx 389 env_vars 7 drwx 640 html 18-rwx 109 info.ver 403968 bytes available(3208704 bytes used)switch:switch:rename flash:config.text flash:config.old /
14、-重命名交换机配置文件-/switch:switch:boot /-手动启动交换机-/Loading flash:c3500 xl-c3h2s-mz.120-5.WC7.bin.#File flash:c3500 xl-c3h2s-mz.120-5.WC7.bin uncompressed and installed,entry po int:0 x3000 executing.进入 CLI 后:Switch#rename flash:config.old flash:config.text /-恢复交换机配置文件-/Destination filename config.text Switc
15、h#Switch#copy flash:config.text system:running-config /-把配置文件保存到DRAM 里-/Destination filename running-config?1131 bytes copied in 0.760 secs Switch#接下来做的就是取消密码和保存新的配置:Switch(config)#no enable secret Switch#wr Building configuration.OK Switch#名师资料总结-精品资料欢迎下载-名师精心整理-第 4 页,共 11 页 -五.CATALYST 3550,3560,3
16、750 的密码恢复:启动超级终端:拔掉交换机的电源.按下交换机上的Mode按钮,与此同时,重新插上交换机的电源线.当交换机端口 1X上的 LED熄灭后可以松开Mode按钮 1 到 2 秒.之后将显示一些指示信息:The system has been interrupted prior to initializing the flash file system.The following commands will initialize the flash file system,and finish loading the operating system software:flash_in
17、it load_helper boot switch#Switch#flash_init /-初始化 flash文件系统-/Switch#load_helper /-加载帮助文件-/Switch#rename flash:config.text flash:config.text.old /-显示 flash里的内容,把配置文件重命名-/Switch#boot /-手动启动交换机-/Switch#rename flash:config.old flash:config.text /-恢复交换机配置文件-/Switch#copy flash:config.text system:running-
18、config /-保存配置到 DRAM 里-/Switch(config)#enable secret password /-干掉旧密码,设置新密码,并保存-/Switch#wr六.基于 CISCO IOS软件版本 12.2(17)SX 之前的,搭载 Supervisor Engine 720的 CATALYST 6500 密码恢复:标题同样很长-_-3.本 section只适用于基于 CISCO IOS软件版本 12.2(17)SX 或其之前版本的.(关于这 1 部分的恢复过程,也可以参见 CISCO Bug ID CSCec36997 这 1 部分的讲解).通常当交换机加电后,交换机处理器
19、(SP)启动,大约 25-60 秒后,控制权转交给路由处理器(RP,MSFC),RP继续加载软件镜象.接下来要做的,老规矩,CTRL+BREAK,但是别太快,该过程是应该在 RP启动的时候做而不是在SP启动的时候做,否则就进到 SP ROMMON模式去了.因此,出现以下信息后,就可以 CTRL+BREAK了:00:00:03:%OIR-6-CONSOLE:Changing console ownership to route processor注意由于之前提到的bug,这次更猛,你只有 10 秒的时间去 CTRL+BREAK(看来是前作大片的续集啊-_-#).接下来修改寄存器值为0 x2142
20、 让交换机忽略启动配置文件.然后就会重启:rommon 1 confreg 0 x214200:00:41:%SYS-SP-3-LOGGER_FLUSHED:System was paused for 00:00:00 to ensure co.00:00:41:%SYS-SP-2-INTSCHED:t_idle at level 7 -Process=SCP Download Process,ipl=7,pid=57 -Traceback=4013991C 401232B4 402827F4 40282994 40283010 405CB010 402A9858 4013C 名师资料总结-精
21、品资料欢迎下载-名师精心整理-第 5 页,共 11 页 -00:00:41:%SYS-SP-2-INTSCHED:t_idle at level 7 -Process=SCP Download Process,ipl=7,pid=57 -Traceback=4013991C 401232B4 402827F4 40282994 40283010 405CB010 402A9858 4013C 00:00:41:%SYS-SP-2-INTSCHED:t_idle at level 7 -Process=SCP Download Process,ipl=7,pid=57 -Traceback=40
22、13991C 401232B4 402827F4 40282994 40283010 405CB010 402A9858 4013C 00:00:41:%OIR-SP-6-CONSOLE:Changing console ownership to switch processor *System received a Software forced crash*signal=0 x17,code=0 x24,context=0 x4269f6f4 PC=0 x401370d8,Cause=0 x3020,Status Reg=0 x34008002 之后不要进 setup 模式,进入命令行后,
23、enable 命令进到特权模式.然后 configure memory或 copy startup-config running-config命令伺候,把 NVRAM 中的东西拷贝到 RAM 中.继续,进到全局配置模式后,用 enable secret命令修改密码.然后把寄存器值改回0 x2102.如果你 VTY线路下设置的有密码,这时候可以顺便一起改了:Router(config)#line vty 0 4 Router(config-line)#password NUAIKORouter(config-line)#Z Router#最后保存配置:wr 吧.收工!示例:System Boot
24、strap,Version 7.7(1)Copyright(c)1994-2003 by cisco Systems,Inc.Cat6k-Sup720/SP processor with 524288 Kbytes of main memory Autoboot executing command:boot disk0:s72033-ps-mz.122-14.SX1.bin Self decompressing the image:#Restricted Rights Legend Use,duplication,or disclosure by the Government is subje
25、ct to restrictions as set forth in subparagraph(c)of the Commercial Computer Software-Restricted Rights clause at FAR sec.52.227-19 and subparagraph(c)(1)(ii)of the Rights in Technical Data and Computer Software clause at DFARS sec.252.227-7013.cisco Systems,Inc.170 West Tasman Drive San Jose,Califo
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年Cisco交换机密码恢复大全 2022 Cisco 交换机 密码恢复 大全
限制150内