思科Catalyst交換機(jī)密碼恢復(fù)妙招
發(fā)布時(shí)間:2010-09-07 23:38:53 作者:佚名
我要評(píng)論

如果交換機(jī)的login密碼忘記了咋辦啊? 別急別急,只要你有PC,有類(lèi)似超級(jí)終端(Hyper Terminal)這樣是終端程序,連接到交換機(jī)的console口,那么密碼的恢復(fù)就簡(jiǎn)單了。 1.對(duì)于Catalyst 2900/3500XL系列來(lái)說(shuō): 拔下交換機(jī)的電源線(xiàn),然后按
如果交換機(jī)的login密碼忘記了咋辦啊?
別急別急,只要你有PC,有類(lèi)似超級(jí)終端(Hyper Terminal)這樣是終端程序,連接到交換機(jī)的console口,那么密碼的恢復(fù)就簡(jiǎn)單了。
1.對(duì)于Catalyst 2900/3500XL系列來(lái)說(shuō):
拔下交換機(jī)的電源線(xiàn),然后按住交換機(jī)的Mode按鈕,再重新插上交換機(jī)的電源線(xiàn).直到端口Port 1x的LED熄滅之后釋放Mode按鈕。
就這么簡(jiǎn)單,別告訴我你不知道Mode按鈕在哪啊。
2.對(duì)于Catalyst 2940/2950L系列來(lái)說(shuō):
拔下交換機(jī)的電源線(xiàn),然后按住交換機(jī)的Mode按鈕,再重新插上交換機(jī)的電源線(xiàn).直到STAT的LED熄滅之后釋放Mode按鈕。
3.對(duì)于Catalyst 2955系列來(lái)說(shuō):
Catalyst 2955沒(méi)有沒(méi)有外部的Mode按鈕,因此就不能使用之前的那種方法來(lái)進(jìn)行密碼恢復(fù).在交換機(jī)啟動(dòng)時(shí),對(duì)于Windows系列的PC,按下Ctrl+Break鍵;對(duì)于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
/---接下來(lái)交換機(jī)會(huì)在15秒內(nèi)自動(dòng)啟動(dòng),等出現(xiàn)該信息之后,按下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:
接下來(lái)輸入flash_init命令:
switch: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:
接著輸入load_helper命令:
switch:load_helper
switch:
再輸入dir flash:命令顯示交換機(jī)的文件系統(tǒng):
switch:dir flash:
Directory of flash:/
2 −rwx 1803357 c3500xl−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
switch:
輸入boot命令啟動(dòng)交換機(jī):
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...
(略)
不進(jìn)入setup模式:
−−− System Configuration Dialog −−−
At any point you may enter a question mark '?' for help.
Use ctrl−c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Continue with configuration dialog? [yes/no]: n
進(jìn)入特權(quán)模式,恢復(fù)原始的配置文件:
Switch#rename flash:config.old flash:config.text
Destination filename [config.text]
Switch#
把配置文件保存在內(nèi)存里:
Switch#copy flash:config.text system:running−config
Destination filename [running−config]?
1131 bytes copied in 0.760 secs
Switch#
進(jìn)入全局配置模式,取消密碼設(shè)置:
Switch(config)#no enable secret
保存配置:
Switch#write memory
Building configuration...
[OK]
Switch#
搞定了@_@
4.對(duì)于Catalyst 3550/3750系列來(lái)說(shuō):
1.通過(guò)帶有支持Xmodem協(xié)議的超級(jí)終端程序的PC連接到交換機(jī)的console口,把波特率設(shè)置為9600。
2.拔掉交換機(jī)的電源。
3.按下交換機(jī)上的Mode按鈕,與此同時(shí),重新插上交換機(jī)的電源線(xiàn)。當(dāng)交換機(jī)端口1X上的LED熄滅后可以松開(kāi)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#
4.初始化flash文件系統(tǒng):
switch#flash_init
5.加載幫助文件:
switch#load_helper
6.顯示閃存里的內(nèi)容:
switch#dir flash:
7.重命名配置文件:
switch#rename flash:config.text flash:config.text.old
8.啟動(dòng)系統(tǒng),并且如果提示進(jìn)入setup模式,輸入N:
switch#boot
Continue with the configuration dialog? [yes/no]: N
9.進(jìn)入特權(quán)模式,把配置文件名恢復(fù)為原始文件名:
Switch#rename flash:config.text.old flash:config.text
10.把配置文件寫(xiě)進(jìn)內(nèi)存:
Switch#copy flash:config.text system:running-config
Source filename [config.text]?
Destination filename [running-config]?
11.進(jìn)入全局配置模式更改密碼:
Switch(config)#enable secret {password}
12.退出,并保存到startup-config文件里:
Switch(config)#copy running-config startup-config
其實(shí)有的時(shí)候硬件安全比軟件安全還要重要些.不然人人都抗個(gè)本本,.連根線(xiàn)到console口去恢復(fù)密碼了。
別急別急,只要你有PC,有類(lèi)似超級(jí)終端(Hyper Terminal)這樣是終端程序,連接到交換機(jī)的console口,那么密碼的恢復(fù)就簡(jiǎn)單了。
1.對(duì)于Catalyst 2900/3500XL系列來(lái)說(shuō):
拔下交換機(jī)的電源線(xiàn),然后按住交換機(jī)的Mode按鈕,再重新插上交換機(jī)的電源線(xiàn).直到端口Port 1x的LED熄滅之后釋放Mode按鈕。
就這么簡(jiǎn)單,別告訴我你不知道Mode按鈕在哪啊。
2.對(duì)于Catalyst 2940/2950L系列來(lái)說(shuō):
拔下交換機(jī)的電源線(xiàn),然后按住交換機(jī)的Mode按鈕,再重新插上交換機(jī)的電源線(xiàn).直到STAT的LED熄滅之后釋放Mode按鈕。
3.對(duì)于Catalyst 2955系列來(lái)說(shuō):
Catalyst 2955沒(méi)有沒(méi)有外部的Mode按鈕,因此就不能使用之前的那種方法來(lái)進(jìn)行密碼恢復(fù).在交換機(jī)啟動(dòng)時(shí),對(duì)于Windows系列的PC,按下Ctrl+Break鍵;對(duì)于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
/---接下來(lái)交換機(jī)會(huì)在15秒內(nèi)自動(dòng)啟動(dòng),等出現(xiàn)該信息之后,按下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:
接下來(lái)輸入flash_init命令:
switch: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:
接著輸入load_helper命令:
switch:load_helper
switch:
再輸入dir flash:命令顯示交換機(jī)的文件系統(tǒng):
switch:dir flash:
Directory of flash:/
2 −rwx 1803357 c3500xl−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
switch:
輸入boot命令啟動(dòng)交換機(jī):
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...
(略)
不進(jìn)入setup模式:
−−− System Configuration Dialog −−−
At any point you may enter a question mark '?' for help.
Use ctrl−c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Continue with configuration dialog? [yes/no]: n
進(jìn)入特權(quán)模式,恢復(fù)原始的配置文件:
Switch#rename flash:config.old flash:config.text
Destination filename [config.text]
Switch#
把配置文件保存在內(nèi)存里:
Switch#copy flash:config.text system:running−config
Destination filename [running−config]?
1131 bytes copied in 0.760 secs
Switch#
進(jìn)入全局配置模式,取消密碼設(shè)置:
Switch(config)#no enable secret
保存配置:
Switch#write memory
Building configuration...
[OK]
Switch#
搞定了@_@
4.對(duì)于Catalyst 3550/3750系列來(lái)說(shuō):
1.通過(guò)帶有支持Xmodem協(xié)議的超級(jí)終端程序的PC連接到交換機(jī)的console口,把波特率設(shè)置為9600。
2.拔掉交換機(jī)的電源。
3.按下交換機(jī)上的Mode按鈕,與此同時(shí),重新插上交換機(jī)的電源線(xiàn)。當(dāng)交換機(jī)端口1X上的LED熄滅后可以松開(kāi)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#
4.初始化flash文件系統(tǒng):
switch#flash_init
5.加載幫助文件:
switch#load_helper
6.顯示閃存里的內(nèi)容:
switch#dir flash:
7.重命名配置文件:
switch#rename flash:config.text flash:config.text.old
8.啟動(dòng)系統(tǒng),并且如果提示進(jìn)入setup模式,輸入N:
switch#boot
Continue with the configuration dialog? [yes/no]: N
9.進(jìn)入特權(quán)模式,把配置文件名恢復(fù)為原始文件名:
Switch#rename flash:config.text.old flash:config.text
10.把配置文件寫(xiě)進(jìn)內(nèi)存:
Switch#copy flash:config.text system:running-config
Source filename [config.text]?
Destination filename [running-config]?
11.進(jìn)入全局配置模式更改密碼:
Switch(config)#enable secret {password}
12.退出,并保存到startup-config文件里:
Switch(config)#copy running-config startup-config
其實(shí)有的時(shí)候硬件安全比軟件安全還要重要些.不然人人都抗個(gè)本本,.連根線(xiàn)到console口去恢復(fù)密碼了。
相關(guān)文章
微軟新版Outlook將推出郵件分類(lèi)快捷鍵及多項(xiàng)優(yōu)化:5月開(kāi)始部署
微軟計(jì)劃在新版Outlook for Windows中引入郵件分類(lèi)快捷功能,用戶(hù)可通過(guò)預(yù)設(shè)快捷鍵快速對(duì)郵件進(jìn)行分類(lèi),從而大幅提升工作效率并優(yōu)化管理流程2025-04-21rsync The --password-file option may only be used when accessing a
客戶(hù)端上傳文件執(zhí)行命令出錯(cuò),提醒The --password-file option may only be used when accessing an rsync daemon.查找資料也很少這樣的說(shuō)法,最后發(fā)現(xiàn)是冒號(hào)的問(wèn)題2025-02-26郵箱密碼忘記了怎么找回來(lái)? 網(wǎng)易郵箱密碼找回流程
郵箱在使用的時(shí)候,由于各種原因,有時(shí)候我們可能會(huì)遇到忘記密碼、賬號(hào)被盜等問(wèn)題,這時(shí)候就需要進(jìn)行163郵箱找回操作,本文將為大家介紹如何進(jìn)行163郵箱找回操作2025-02-01電子郵件注冊(cè)教程! 郵箱號(hào)怎么注冊(cè)看這篇就夠了
電子郵件成為了我們?nèi)粘I詈凸ぷ髦胁豢苫蛉钡囊徊糠?,無(wú)論是注冊(cè)社交媒體、購(gòu)物平臺(tái),還是與他人溝通,一個(gè)穩(wěn)定的郵箱賬號(hào)都變得至關(guān)重要,本文將為您提供詳細(xì)的電子郵件2025-02-01wps調(diào)用Outlook 批量發(fā)送電子郵件時(shí)持續(xù)彈出警告框怎么辦?
如何解決程序調(diào)用outlook時(shí)一直警告,wps調(diào)用outlook發(fā)送郵件時(shí),發(fā)送的時(shí)候,會(huì)一直出現(xiàn)警告,需要你一個(gè)個(gè)點(diǎn)確定或拒絕,本文介紹如何解決這個(gè)警告2025-02-01QQ郵箱文件怎么發(fā)送微信? 電腦qq郵箱中轉(zhuǎn)站中文件分享到微信的方法
在使用郵箱軟件的時(shí)候,有的用戶(hù)想要通過(guò)QQ郵箱文件,QQ郵箱中存在這種功能,但是很多小伙伴不知道到底要如何操作,下面小編就給大家?guī)?lái)QQ郵箱文件發(fā)送微信教程,感興趣的2024-09-29微信電腦版怎么獨(dú)立窗口中打開(kāi)訂閱號(hào)? 訂閱號(hào)獨(dú)立窗口顯示的教程
微信電腦版看訂閱號(hào)的時(shí)候,想要獨(dú)立窗口顯示訂閱號(hào),該怎么操作呢?下面我們就來(lái)看看詳細(xì)的教程2024-09-29Outlook在windows系統(tǒng)中有哪些快捷鍵? Outlook的鍵盤(pán)快捷方式大全
Outlook可以用它來(lái)收發(fā)電子郵件、管理聯(lián)系人信息、記日記、安排日程、分配任務(wù),新版Outlook for Windows帶來(lái)了許多新功能,今天我們就來(lái)看看Outlook快捷鍵匯總2024-09-13微信怎么調(diào)默認(rèn)瀏覽器? 微信設(shè)置默認(rèn)瀏覽器打開(kāi)網(wǎng)頁(yè)鏈接的教程
微信怎么調(diào)默認(rèn)瀏覽器?只需簡(jiǎn)單設(shè)置,在微信就可以使用默認(rèn)瀏覽器打開(kāi)網(wǎng)站,該怎么設(shè)置呢?詳細(xì)請(qǐng)看下文介紹2024-08-14GameViewer怎么刪除設(shè)備 GameViewer刪除設(shè)備的步驟
GameViewer怎么刪除設(shè)備?GameViewer 是一款專(zhuān)為游戲玩家設(shè)計(jì)的遠(yuǎn)程控制助手,下文中為大家?guī)?lái)了GameViewer刪除設(shè)備步驟,需要的朋友快來(lái)看看吧2024-06-17