史萊姆論壇

史萊姆論壇 (http://forum.slime.com.tw/)
-   網路疑難應用技術研討區 (http://forum.slime.com.tw/f47.html)
-   -   有人知道cisco的設備如果清除密碼嗎? (http://forum.slime.com.tw/thread192236.html)

netbird 2006-11-26 12:14 PM

有人知道cisco的設備如果清除密碼嗎?
 
就是router或switch

在公司找到一顆有一段時間沒用的router,想拿來用用,但密碼忘記了

所以問問大有沒有什麼方法可以restart他的設定

netbird 2006-11-27 01:50 PM

引用:

作者: dannyjohnson
有放電的按鈕/電池嗎?(隨便問問,因為沒用過ROUTER)

p.s.能提供ROUTER的MODEL NO.

型號是1700的

這台---->http://www.engr.panam.edu/~sjkumar1/NRL/NRLpicture07.JPG

http://magnus.infidyne.com/konkurs/f_cisco_router_1700_back.jpg

飛鳥 2006-11-27 02:15 PM

你可以依照下面的作法:

Cisco 1700,2600,3600,7200系列
  1、IOS映像恢復的方法及步驟
  1) 連接PC的COM1口與路由器的console口,使用PC的超級終端軟件訪問該路由器;
  2) 開啟路由器的電源開關,並在30秒內按下鍵盤的Ctrl+break,中斷路由器的正常啟動以進入rom監視模式,屏幕上提示符如下:
  rommon 1>
  3) 鍵入xmodem命令:
  rommon 1>xmodem c3640-i-mz.120-10.bin(IOS映像文件名)
  4) 然後,路由器一直等待從PC上接收該IOS映像文件,此時在超級終端軟件中點擊發送選項,選擇存放在PC本地硬盤中的IOS映像文件,確定後即開始下載文件至路由器的flash memory中,由於通訊帶寬只有9600波特,整個文件下載時間約為1.5小時(依文件大小而定),屏幕顯示信息如下:
  Do not start the sending program yet...
  device does not contain a valid magic number
  dir: cannot open device flash:
  WARNING: All existing data in flash will be lost!
  Invoke this application only for disaster recovery.
  Do you wish to continue? y/n[n]:y
  Ready to receive file c3640-i-mz.120-10.bin ...
  Erasing flash at 0x307c0000
  program flash location 0x30380000
  Download Complete!
  program load complete, entry point: 0x80008000, size: 0x38f410
  5) 接著,路由器將自動重啟,屏幕顯示信息如下:
  Self decompressing the image : ################################# [OK]
  …
  Press RETURN to get started!
  2、IOS映像升級的方法及步驟
  1) 同理,升級之前先備份,將關鍵文件備份至TFTP服務器,鍵入下列命令: router#copy bootflash tftp(Cisco 3600系列路由器不存在bootflash)
  router#copy flash tftp
  router#copy startup-config tftp
  2) 因為Cisco 1700,2600,3600,7200系列路由器允許在正常工作狀態下重寫flash memory,所以直接鍵入以下命令就可完成IOS映像的在線升級:
  router#copy tftp flash
  router#reload
  或者,為保險起見(以路由器停止服務為代價),在進入rom監視模式後才進行IOS映像的升級,則依次進行下列操作:
  2) 在路由器重啟加電後30秒內按下鍵盤的Ctrl+break,中斷路由器的正常啟動直接進入rom監視模式,屏幕上提示符如下:
  rommon 1>
  或者,在路由器重啟過程完成後進行以下操作,同樣可以進入路由器的rom監視模式:
  router#conf t <

=====================================================
前提是,你要有iso的檔案,*.bin

cisco的iso檔要錢的,網路上好像也很難找得到,看看有沒有人可以提供一下吧

飛鳥 2006-11-29 02:30 PM

我找到回覆密碼的方法

一般來說,會打密碼三次不對,會像這樣

引用:

2600. Even if you are not using a Cisco 2600, this example will be almost exactly what you experience on
your product.
Router>enable
Password:
Password:
Password:
% Bad secrets
Router>

輸入三次密碼不對後,現在的模式是可以用show version指令的

引用:

Router>show version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600−IS−M), Version 12.0(7)T, RELEASE SOFTWARE (fc2)
Copyright (c) 1986−1999 by cisco Systems, Inc.
Compiled Tue 07−Dec−99 02:21 by phanguye
Image text−base: 0x80008088, data−base: 0x80C524F8
ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Router uptime is 3 minutes
System returned to ROM by abort at PC 0x802D0B60
System image file is "flash:c2600−is−mz.120−7.T"
cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory.
Processor board ID JAB031202NK (3878188963)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
2 Ethernet/IEEE 802.3 interface(s)
2 Serial(sync/async) network interface(s)
1 ISDN Basic Rate interface(s)
32K bytes of non−volatile configuration memory.
8192K bytes of processor board System flash partition 1 (Read/Write)
8192K bytes of processor board System flash partition 2 (Read/Write)
Configuration register is 0x2102
Router>

注意最後的Configuration register is 0x2102
那設定檔位置為0x2102

那我們要改他的設定檔載入位置

開啟路由器的電源開關,並在30秒內按下鍵盤的Ctrl+break,中斷路由器的正常啟動以進入rom監視模式,屏幕上提示符如下:

引用:

*** System received an abort due to Break Key ***
signal= 0x3, code= 0x500, context= 0x813ac158
PC = 0x802d0b60, Vector = 0x500, SP = 0x80006030
rommon 1 >

這個模式是作修復用的
輸入下面設定
[IMG]rommon 1 > confreg 0x2142
You must reset or power cycle for new config to take effect
rommon 2 > reset[/IMG]

把下一次的載入位置改成0x2142

再輸入reset重新載入

引用:

System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
Copyright (c) 1999 by cisco Systems, Inc.
TAC:Home:SW:IOS:Specials for info
C2600 platform with 32768 Kbytes of main memory
program load complete, entry point: 0x80008000, size: 0x6fdb4c
Self decompressing the image : ###############################
##############################################################
##############################################################
##############################################################
############################### [OK]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject 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, California 95134−1706
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600−IS−M), Version 12.0(7)T, RELEASE SOFTWARE (fc2)
Copyright (c) 1986−1999 by cisco Systems, Inc.
Compiled Tue 07−Dec−99 02:21 by phanguye
Image text−base: 0x80008088, data−base: 0x80C524F8
cisco 2611 (MPC860) processor (revision 0x202) with 26624K/6144K bytes of memory.
Processor board ID JAB031202NK (3878188963)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
Basic Rate ISDN software, Version 1.1.
2 Ethernet/IEEE 802.3 interface(s)
2 Serial(sync/async) network interface(s)
1 ISDN Basic Rate interface(s)
32K bytes of non−volatile configuration memory.
8192K bytes of processor board System flash partition 1 (Read/Write)
8192K bytes of processor board System flash partition 2 (Read/Write)
−−− System Configuration Dialog −−−
Would you like to enter the initial configuration dialog? [yes/no]:

到這邊會問你要不要使用快速設定精靈,你打no,我們將不進入

進入進階模式,輸入enable
引用:

Router>
Router>enable


現在沒有密碼的狀況,所以不用密碼就可以進進階模式
現在載之正常的執行時的設定,把
引用:

Router#copy startup−config running−config
Destination filename [running−config]?
1324 bytes copied in 2.35 secs (662 bytes/sec)

我們再改成我們想要的密碼
引用:

Router#
00:01:24: %LINEPROTO−5−UPDOWN: Line protocol on Interface BRI0/0:1, changed state to down
00:01:24: %LINEPROTO−5−UPDOWN: Line protocol on Interface BRI0/0:2, changed state to down
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable secret cisco

上面的cisco就是我現在要設的密碼

改完記得存檔就好

原廠恢復密碼文章
http://www.cisco.com/warp/public/474/pswdrec_1700.shtml


所有時間均為台北時間。現在的時間是 08:02 AM

Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2025, Jelsoft Enterprises Ltd.

『服務條款』

* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *


SEO by vBSEO 3.6.1