IT之道-艾锑知道

您当前位置: 主页 > IT服务 > 网络服务 >

Cisco路由器交换机密码恢复 其他网络设备维护


2015-09-24 09:45 作者:admin 浏览量:

u=3096126243,354504990&fm=21&gp=0.jpg

  一、Cisco路由器的密码恢复(北京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键,进入rommon模式(电脑维护外包)

  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.进入路由器的手工配置模式

  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. 进入全局模式,修改用户模式进入特权模式的密码

  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交换机的密码恢复

  1.重启交换机,按下交换机上的MODE键,进入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 命令,执行 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.重启交换机

  switch: boot

  进入交换机的配置模式,进入交换机的特权模式

  6.恢复原配置文件

  Switch#rename flash:config.old flash:config.text

  7.调用原配置文件,恢复原交换机配置(it外包)

  Switch#copy flash:config.text system:running-config

  8.进入全局模式修改用户模式进入特权模式的密码

  Switch#configure terminal

  Switch(config)#enable password cisco

  9.保存配置文件

  Switch#write memory

  注:2500系列路由器的寄存值修改命令为 o/r 0x2142 ,重启命令为 i

  艾锑无限是中国领先IT外包服务商,专业为企业提供IT运维外包、电脑维护网络维护、网络布线、办公设备维护、服务器维护数据备份恢复、门禁监控、网站建设等多项IT服务外包,服务热线:400-650-7820 联系电话:010-62684652 咨询QQ1548853602 地址:北京市海淀区北京科技会展2号楼16D,用心服务每一天,为企业的发展提升更高的效率,创造更大的价值。

  更多的IT外包信息尽在艾锑无限http://www.itbmw.com 


相关文章

IT外包服务
二维码 关闭