路由器丢失PASSWORD的恢复

发表于:2007-06-23来源:作者:点击数: 标签:
enable secret password (适合10。3(2)或更新的版本) enable password console password 通过修改Configuration Register(出厂为0x2102),使路由器忽略PASSWORD,这 样就可以进入路由器,就可以看到enable password和Console password,但ena ble secret p

   
  enable secret password (适合10。3(2)或更新的版本)
  
  enable password
  
  console password
  
  通过修改Configuration Register(出厂为0x2102),使路由器忽略PASSWORD,这
  

  样就可以进入路由器,就可以看到enable password和Console password,但ena
  
  ble secret password以被加密,只能替换。可以进入的configuration Registe
  
  r值为0x142.
  
   
  
  · 运行password恢复可能会使系统DOWN掉一个半小时;
  
  · 将Console terinal连在路由器的Console口上,确认终端设置为9600bps、8
  
  Data bit 、No parity、1 stop bit;
  
  · show version显示Configuration Register 0x2102;
  
  · 关机再开,按"Ctrl+ Break",进入ROM MONITOR状态,提示符为">";
  
  · 键入"> o/r 0x142",修改 Configuration Register到0x142,可以忽略原先的
  
  password;
  
  · 键入"> initialize",初始化路由器,等一段时间后,路由器会出现以下提示
  
  :
  
  "system configuration Diaglog ……"
  
  Enter "NO"
  
  提示"Press RETURN to get started!" ,Press "Enter"
  
  · 进入特权模式
  
  Router>enable
  
  Router#show startup-config
  
  这样就可以得到password(enable&console password)
  
  · 修改password
  
  "Router#config ter"
  
  "Router(config)# enable secret cisco"
  
  "Router(config)# enable password cisco1"
  
  "Router(config)# line con 0"
  
  "Router(config)# password cisco"
  
  "Router(config)# config-register 0x2102"
  
  "ctrl + Z"
  
  "Router#copy running-config startup-config"
  
  "reload"
  
  · 以password cisco进入特权用户。

原文转自:http://www.ltesting.net