zoukankan      html  css  js  c++  java
  • 路由器密码重置

    关闭路由器电源,开启后60S内,按CTRL+C 组合键进入monitor模式

    Self decompressing the image :


    ############          


    monitor: command "boot" aborted due to user interrupt


    rommon 1 > 

    进入之后使用命令confreg修改寄存器的值

    rommon 2 > confreg 0x2142

    使用reset命令重启

    rommon 3 > reset

    System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)

    Copyright (c) 2000 by cisco Systems, Inc.

    cisco 2811 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
     
    Self decompressing the image :

    ########################################################################## [OK]
     
    重启完成后,进入特权模式将配置文件导入到内存
     
    Router#copy startup-config running-config

    Destination filename [running-config]?
     
    514 bytes copied in 0.416 secs (1235 bytes/sec)

    Router#
     
    此时已经可不用密码进入全局配置模式,使用enable password 来更改密码
     
    Router(config)#enable  password abc123
     
    退出到特权模式 将内存写入到配置文件
    Router#copy running-config startup-config

    Destination filename [startup-config]?

    Building configuration...

    [OK]
    关闭路由器电源,再次进入monitor模式,将寄存器的值改回原来的值
     
    rommon 2 > confreg 0x2102

    rommon 3 > reset
     
    重启后便可用修改后的密码进入路由器全局配置模式
  • 相关阅读:
    制造者为什么重要
    归因理论
    初创业谨记有三法宝:顶梁柱、现金牛、北极星
    华特迪士尼语录
    说好一个创业故事的5个步骤
    接口
    抽象类_模板方法设计模式
    抽象类与抽象方法
    非static和static初始化块
    单例设计模式
  • 原文地址:https://www.cnblogs.com/knightysa/p/9151865.html
Copyright © 2011-2022 走看看