史上最全的各系列CATALYST交换机密码恢复大全

CATALYST 2900,3500XL的密码恢复:
拔下交换机的电源线,然后按住交换机的Mode按钮,再重新插上交换机的电源线.直到端口Port 1x的LED熄灭之后释放Mode按钮.
就这么简单,别告诉我你不知道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.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...
flashfs[0]: 19 files, 2 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 4510720
flashfs[0]: Bytes available: 3230720
flashfs[0]: 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 interrupted 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...
flashfs[0]: 143 files, 4 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 3612672
flashfs[0]: Bytes used: 2729472
flashfs[0]: Bytes available: 883200
flashfs[0]: flashfs fsck took 86 seconds
....done Initializing Flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
switch:
switch:load_helper             /---输入load_helper命令---/
switch:
switch:dir flash:                    /---查看交换机flash内容---/
Directory of flash:/
2 -rwx 1803357 <date> c3500xl-c3h2s-mz.120-5.WC7.bin
4 -rwx 1131 <date> config.text
5 -rwx 109 <date> info
6 -rwx 389 <date> env_vars
7 drwx 640 <date> html
18 -rwx 109 <date> info.ver
403968 bytes available (3208704 bytes used)
switch:
switch:rename flash:config.text flash:config.old          /---重命名交换机配置文件---/
switch:
switch:boot                                                                     /---手动启动交换机---/
Loading "flash:c3500xl-c3h2s-mz.120-5.WC7.bin"...###############################
################################################################################
######################################################################
File "flash:c3500xl-c3h2s-mz.120-5.WC7.bin" uncompressed and installed, entry po
int: 0x3000
executing...
进入CLI后:
Switch#rename flash:config.old flash:config.text                      /---恢复交换机配置文件---/
Destination filename [config.text]
Switch#
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#
五.CATALYST 3550,3560,3750的密码恢复:
启动超级终端:
拔掉交换机的电源.按下交换机上的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_init
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-config            /---保存配置到DRAM里---/
Switch(config)#enable secret {password}                               /---干掉旧密码,设置新密码,并保存---/
Switch#wr



评论: 1 | 引用: 0 | 查看次数: -
回复回复30555006[2008-05-09 09:32 PM | del]
看不懂呀,太深了
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.