CISCO 2600密碼回復

請教這是Google找到的資料,懇請版上高手指導方法一還是方法二才能達到如果我只要重設密碼,不更改Router的所有設定適用嗎?謝謝

方法一
Cisco2500系列:
重啟路由器時,按住 Ctrl+Break ,進入監視器模式,

Router(mon)>o/r 0x2142 (指定下次重啟時進入最小子集模式)
Router(mon)>i (重新啟動路由器)

重啟後,會自動跳過nvram的檢測,也就跳過了密碼,這時,我們再去改密碼,或是把密碼給no掉

Router(config)# no enable password
Router(config)# config-register 0x2102 (將啟動模式改回正常啟動)
Router#copy run startup
Router#reload

這時候再重啟路由,就不會有密碼了!


Cisco2600系列:
2600的密碼清除步驟應該和2500的差不多,重啟路由器時,按住 Ctrl+Break

Router(mon)> confreg 0x2142 (就這一步和2500的不一樣)
Router(mon)> reset


方法二
我是以2611來做的,不過1600也適用。以下是我的做法,您可以參考一下,有實做成功喔!

一、先準備一條使用RJ45接頭的連接線,連接Router的Console Port。

二、終端機使用以下設定
9600 baud rate
No parity
8 data bits
1 stop bit
No flow control

三、將Router開機,
System Bootstrap, Version 11.3(19)AA, EARLY DEPLOYMENT
RELEASE SOFTWARE (fc1)
Copyright (c) 1998 by cisco Systems, Inc.
C2600 processor with 32768 Kbytes of main memory
Main memory is configured to 32 bit mode with parity enabled
看到出現此訊息後,趕緊按下Ctrl+Break送出 Break,就會進到
ROMMON Mode。

四、在rommon>下輸入confreg
rommon 1 > confreg
回答下列問題
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C2600

do you wish to change the configuration? y/n [n]: y-------回答Y
enable "diagnostic mode"? y/n [n]:
enable "use net in IP bcast address"? y/n [n]:
disable "load rom after netboot fails"? y/n [n]:
enable "use all zero broadcast"? y/n [n]:
enable "break/abort has effect"? y/n [n]:
enable "ignore system config info"? y/n [n]: y-------回答Y
change console baud rate? y/n [n]:
change the boot characteristics? y/n [n]: y-------回答Y
enter to boot:
0 = ROM Monitor
1 = the boot helper image
2-15 = boot system
[2]: 2-----要選2

五、rommon 2 > reset 重新啟動 Router

--- System Configuration Dialog --- Router 會自動進入 Setup 選單
Would you like to enter the initial configuration dialog?
[yes/no]:
按 Ctrl-C 中斷 Setup

六、Router 會進入一般模式
Router>enable 進入 Priviledged mode (不需輸入任何密碼)
Router#show startup-config 顯示 NVRAM 裡面的 Startup-Config
(顯示結果省略)

七、將 Startup-Config 載入 DRAM
Router#configure memory

八、 2611#configure terminal----輸入此命令進入設定模式

九:將 enable 的密碼改為 cisco
2611(config)#enable secret cisco

十、將 Running-Config 寫回 NVRAM
2611#copy running-config startup-config
2611#show version
Cisco Internetwork Operating System Software
(中間結果省略)
Configuration register is 0x2142 目前的 Configuration
Register 為 0x2142

十一、
2611#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
2611(config)#config-reg 0x2102 將 Configuration Register 改回來
2611(config)#^Z -----Ctrl+Z
2611#
00:01:54: %SYS-5-CONFIG_I: Configured from console by console
2611# reload 重新開機
我是用方法一做過可行 (也是2611)

至於方法二 好像跟方法一一樣吧 ...

只是用提示的方法讓你選擇


下次我來試試看!
Cisco2600系列:
2600的密碼清除步驟應該和2500的差不多,重啟路由器時,按住 Ctrl+Break
我是使用這方法
Router(mon)> confreg 0x2142 (就這一步和2500的不一樣)
Router(mon)> reset

reset之後出現
Would you like to enter the initial configuration dialog?[y/n]

我選N

原本的Router Name

enable可以進去了,但名字有改成由TW>變成Router>
這樣除了密碼回復之外,config沒變動到嗎?謝謝。
文章分享
評分
評分
複製連結

今日熱門文章 網友點擊推薦!