Network 板


LINE

CISCO 2600密碼回復 請教這是Google找到的資料,如果我只要重設密碼,不更改Router的所有設定適用嗎?懇請版上高手指導?謝謝 我是以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 重新開機 --



※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.130.172.1
1F:推 wst2080:可... 07/13 15:30
2F:推 wst2080:回覆x6xx系列的密碼大同小異 不過25的系列有稍微一點差異 07/13 15:32
3F:推 wst2080:不過我記得 步驟好像沒那麼多就是了... 07/13 15:34
4F:推 wst2080:不過對於第四項 我記得好像沒有問這麼多的問題耶 07/13 15:37
5F:→ wst2080:針對第七項 我沒過 config memory 我是使用 copy startup 07/13 15:37
6F:→ wst2080:-config running-config 這個指令 來對應第十項 07/13 15:38
7F:→ wst2080:而我的第十項 會偷懶 直接用 write ... XDDD 來寫入 07/13 15:38
8F:→ wst2080:通常我都會使用no 指令 來把該行弄掉後 然後改 reg 的值 07/13 15:39
9F:→ wst2080:不過我的作法後面會有差一就是 我會改完reg之後 再來wr 07/13 15:40
10F:→ wst2080:之後才會reload 機器 07/13 15:40
11F:→ wst2080:這部份 應該是還好吧~ 這個要在機器的console端才有辦法弄 07/13 15:41
12F:→ wst2080:無法使用telnet 等遠端連線的方式來弄.... 07/13 15:41
13F:→ snoopykoei:所以這方法只改密碼?不會更動到原設定是嗎>m大,謝謝你 07/13 15:48
14F:推 wst2080:嗯啊 其實這個原理很簡單啊 就是在boot的過程當中 07/13 16:09
15F:→ wst2080:跳過 loading startup-config 的流程而已啊 07/13 16:09
16F:→ wst2080:沒載入startup-config 就是等於初始化的模式來運作啊 07/13 16:09
17F:→ wst2080:然後你再從nvram當中把startup-config的組態 merge 過來 07/13 16:11
18F:→ wst2080:這時候merge進來的 就是 running-config 啦 07/13 16:11
19F:→ wst2080:而你只針對 merge 進來的 enable 驗證進行修改 07/13 16:12
20F:→ wst2080:修改過後 存檔 並且把reg值改回 正常開機載入startup-conf 07/13 16:12
21F:→ wst2080:ig 的過程~ 之後再relad router啊 我想這樣的解釋應該很清 07/13 16:12
22F:→ wst2080:楚... 所以你別擔心了~~~ 不過我的做法跟你稍微有差異 07/13 16:13
23F:→ wst2080:差異的地方我在上面說過了~~~ 我自己也在搞密碼回復 07/13 16:13
24F:→ wst2080:這個就還好啦...至於Switch的部份 還得透過MODE搭配 07/13 16:13
25F:→ wst2080:MODE按鍵搭配 Router的密碼回覆就還好啦 07/13 16:13
26F:推 livec:http://tinyurl.com/passlivec 07/15 14:38







like.gif 您可能會有興趣的文章
icon.png[問題/行為] 貓晚上進房間會不會有憋尿問題
icon.pngRe: [閒聊] 選了錯誤的女孩成為魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一張
icon.png[心得] EMS高領長版毛衣.墨小樓MC1002
icon.png[分享] 丹龍隔熱紙GE55+33+22
icon.png[問題] 清洗洗衣機
icon.png[尋物] 窗台下的空間
icon.png[閒聊] 双極の女神1 木魔爵
icon.png[售車] 新竹 1997 march 1297cc 白色 四門
icon.png[討論] 能從照片感受到攝影者心情嗎
icon.png[狂賀] 賀賀賀賀 賀!島村卯月!總選舉NO.1
icon.png[難過] 羨慕白皮膚的女生
icon.png閱讀文章
icon.png[黑特]
icon.png[問題] SBK S1安裝於安全帽位置
icon.png[分享] 舊woo100絕版開箱!!
icon.pngRe: [無言] 關於小包衛生紙
icon.png[開箱] E5-2683V3 RX480Strix 快睿C1 簡單測試
icon.png[心得] 蒼の海賊龍 地獄 執行者16PT
icon.png[售車] 1999年Virage iO 1.8EXi
icon.png[心得] 挑戰33 LV10 獅子座pt solo
icon.png[閒聊] 手把手教你不被桶之新手主購教學
icon.png[分享] Civic Type R 量產版官方照無預警流出
icon.png[售車] Golf 4 2.0 銀色 自排
icon.png[出售] Graco提籃汽座(有底座)2000元誠可議
icon.png[問題] 請問補牙材質掉了還能再補嗎?(台中半年內
icon.png[問題] 44th 單曲 生寫竟然都給重複的啊啊!
icon.png[心得] 華南紅卡/icash 核卡
icon.png[問題] 拔牙矯正這樣正常嗎
icon.png[贈送] 老莫高業 初業 102年版
icon.png[情報] 三大行動支付 本季掀戰火
icon.png[寶寶] 博客來Amos水蠟筆5/1特價五折
icon.pngRe: [心得] 新鮮人一些面試分享
icon.png[心得] 蒼の海賊龍 地獄 麒麟25PT
icon.pngRe: [閒聊] (君の名は。雷慎入) 君名二創漫畫翻譯
icon.pngRe: [閒聊] OGN中場影片:失蹤人口局 (英文字幕)
icon.png[問題] 台灣大哥大4G訊號差
icon.png[出售] [全國]全新千尋侘草LED燈, 水草

請輸入看板名稱,例如:BuyTogether站內搜尋

TOP