cisco2811路由器密码恢复

          1 重启 路由器 按 ctrl + pause break 键 进入mini IOS
  2 修改寄存器值改变启动次序
  
rommon 1 > confreg 0x2142
  3 在mini IOS下重启路由
  rommon 2 > reset
  System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
  Copyright (c) 2000 by cisco Systems, Inc.
  cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
  Self decompressing the image :
  ########################################################################## [OK]
  Restricted Rights Legend
  Processor board ID JAD05190MTZ (4292891495)
  M860 processor: part number 0, mask 49
  Bridging software.
  X.25 software, Version 3.0.0.
  2 FastEthernet/IEEE 802.3 interface(s)
  2 Low-speed serial(sync/async) network interface(s)
  32K bytes of non-volatile configuration memory.
  16384K bytes of processor board System flash (Read/Write)
  --- System Configuration Dialog ---
  Continue with configuration dialog? [yes/no]: n
  Press RETURN to get started!
  Router>
  看这里进入系统之后 直接就进入了用户模式 没要密码
  Router>en
  Router#copy start run
  Destination filename [running-config]?
  552 bytes copied in 0.416 secs (1326 bytes/sec)
  ru1#
  我们 输入enable 进入特权模式 输入命令 copy start run 从NVRAM 里面调用配置到内存
  下一步更换密码
  ru1#conf t
  Enter configuration commands, one per line. End with CNTL/Z.
  
ru1(config)#line console 0
  ru1(config-line)#pass admin
  ru1(config-line)#login
  ru1(config-line)#exit
  ru1(config)#line vty 0 4
  ru1(config-line)#pass admin
  ru1(config-line)#login
  ru1(config-line)#exit
  ru1(config)#enable pass admin
  ru1(config)#enable secret admin
  ru1(config)#service password-encryption
  比如说我们将密码修改为admin 实验环境下 只采用这一个密码
  下一步 更改寄存器值 恢复到正常的启动次序
  
ru1(config)#config-register 0x2102
  下一步 保存配置到NVRAM里面
  ru1(config)#exit
  %SYS-5-CONFIG_I: Configured from console by console
  ru1#copy run start
  Destination filename [startup-config]?
  Building configuration...
  [OK]
  ru1#
  
重启一下
  ru1#rel

  Proceed with reload? [confirm]

        [OK]

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值