您當(dāng)前位置: 主頁 > IT服務(wù) > 網(wǎng)絡(luò)服務(wù) >
一、Cisco路由器的密碼恢復(fù)(北京it外包)
1. Router>enable
Password:
Password:
Password:
% Bad passwords
Router>
Router>show version
Cisco IOS Software,3600 Software (C3640-JK9O3S-M), Version 12.4(16), RELEASE SOFTWARE (fc1)
Technical Support:http://www.cisco.com/techsupport
Copyright (c) 1986-2007by Cisco Systems, Inc.
Compiled Wed 20-Jun-0711:43 by prod_rel_team
ROM: ROMMON EmulationMicrocode
ROM: 3600 Software(C3640-JK9O3S-M), Version 12.4(16), RELEASE SOFTWARE (fc1)
Router uptime is 1minute
System returned to ROMby unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0,BOOTDATA 19
System image file is"tftp://255.255.255.255/unknown"
This product containscryptographic features and is subject to United
States and localcountry laws governing import, export, transfer and
use. Delivery of Ciscocryptographic products does not imply
third-party authorityto import, export, distribute or use encryption.
Importers, exporters,distributors and users are responsible for
compliance with U.S.and local country laws. By using this product you
agree to comply withapplicable laws and regulations. If you are unable
to comply with U.S. andlocal laws, return this product immediately.
A summary of U.S. lawsgoverning Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require furtherassistance please contact us by sending email to
export@cisco.com.
Cisco 3640 (R4700)processor (revision 0xFF) with 94208K/4096K bytes of memory.
Processor board ID00000000
R4700 CPU at 100MHz,Implementation 33, Rev 1.2
1 Ethernet interface
4 Serial interfaces
DRAM configuration is64 bits wide with parity enabled.
125K bytes of NVRAM.
8192K bytes ofprocessor board System flash (Read/Write)
Configuration registeris 0x2142
Router>
2. 在路由重啟時,按下ctrl+break鍵,進(jìn)入rommon模式(電腦維護(hù)外包)
System Bootstrap, Version 12.2(7r) [cmong 7r], RELEASE SOFTWARE (fc1)
Copyright (c) 2002 by cisco Systems, Inc.
C2600 platform with 131072 Kbytes of main memory
PC = 0xfff0ac3c, Vector = 0x500, SP = 0x8000438c
monitor: command "boot" aborted due to user interrupt
rommon 1 >
3. 在rommon模式下,修改寄存值為0x2142
rommon 1 > confreg 0x2142
4. 重啟路由器,使修改后的寄存值生效
rommon 2 > reset
5.進(jìn)入路由器的手工配置模式
Would you like to enter the initial configuration dialog? [yes/no]: no
Router>enable
Router#
6. 將NVRAM中的startup-config文件copy至running-config中
Router#copy startup-config running-config
Destination filename [running-config]?
988 bytes copied in 2.600 secs (380 bytes/sec)
Router#
7. 進(jìn)入全局模式,修改用戶模式進(jìn)入特權(quán)模式的密碼
Router#configure terminal
Router (config)#enable password cisco
Router#show ip interface brief
Router(config)#interface Ethernet0/0
Router(configif)#noshutdown
8 .將寄存值還原成0x2102
Router (config)#config-register 0x2102
9.保存配置文件
Router#copy running-config startup-config
注:2500系列路由器的寄存值修改命令為 o/r 0x2142 ,重啟命令為 i 。
二、Cisco交換機(jī)的密碼恢復(fù)
1.重啟交換機(jī),按下交換機(jī)上的MODE鍵,進(jìn)入boot模式(10-15s)。
The system has been interrupted prior toinitializing the
flash filesystem.
The following commands will initialize
the flash filesystem, and finish loading theoperating
system software:
flash_init
load_helper
boot
switch:
2.鍵入 flash_init命令,初始化 flash
switch: flash_init
3.輸入 load_helper 命令,執(zhí)行 dir flash
switch: load_helper
switch: dir flash:
Directory of flash:/
2
-rwx
109
info
3
-rwx
3110758
c2950-i6q4l2-mz.121-22.EA6.bin
4
drwx
4160
html
373
-rwx
109
info.ver
374
-rwx
335466
c2950-hdiag-mz.121-9.EA1
376
-rwx
856
vlan.dat
377
-rwx
5
private-config.text
378
-rwx
309
env_vars
379
-rwx
1106
config.text
4.修改 flash 中的config.text文件
switch: rename flash:config.text flash:config.old
5.重啟交換機(jī)
switch: boot
進(jìn)入交換機(jī)的配置模式,進(jìn)入交換機(jī)的特權(quán)模式
6.恢復(fù)原配置文件
Switch#rename flash:config.old flash:config.text
7.調(diào)用原配置文件,恢復(fù)原交換機(jī)配置(it外包)
Switch#copy flash:config.text system:running-config
8.進(jìn)入全局模式修改用戶模式進(jìn)入特權(quán)模式的密碼
Switch#configure terminal
Switch(config)#enable password cisco
9.保存配置文件
Switch#write memory
注:2500系列路由器的寄存值修改命令為 o/r 0x2142 ,重啟命令為 i
艾銻無限是中國領(lǐng)先IT外包服務(wù)商,專業(yè)為企業(yè)提供IT運維外包、電腦維護(hù)、網(wǎng)絡(luò)維護(hù)、網(wǎng)絡(luò)布線、辦公設(shè)備維護(hù)、服務(wù)器維護(hù)、數(shù)據(jù)備份恢復(fù)、門禁監(jiān)控、網(wǎng)站建設(shè)等多項IT服務(wù)外包,服務(wù)熱線:400-650-7820 聯(lián)系電話:010-62684652 咨詢QQ1548853602 地址:北京市海淀區(qū)北京科技會展2號樓16D,用心服務(wù)每一天,為企業(yè)的發(fā)展提升更高的效率,創(chuàng)造更大的價值。
更多的IT外包信息盡在艾銻無限http://www.richjn.cn
相關(guān)文章