|
cisco路由器ENABLE密码忘记了怎么办?通过本实验你将熟悉当cisco路由器ENABLE密码忘记了改如何重置ENABLE特权密码的过程
实验目的及要求:
实验目的:恢复路由器的密码
实验要求:重设路由器的ENABLE密码不允许丢失路由器已有的配置
实验拓扑:1台cisco 2621路由器。
实验步骤
1、启动2621路由器,进入ENABLE模式,配置ENABLE密码。命令如下:
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable password www.wusoft.net //设置特权密码
Router#wr //保存配置
Building configuration...
2、重置路由器特权密码 正常情况应是忘记路由器的特权密码,无法进入路由器的特权模式,普通用户模式下无权reload路由器,需要关闭路由器的电源,在路由器重启的60秒内,按住计算机的ctrl+c或ctrl+pause键,进入monitor模式。【cisco packet tracer按ctrl+c进入monitor模式】
monitor: command "boot" aborted due to user interrupt
rommon 1 > confreg 0x2142 //修改配置寄存器值为 0x2142 使路由器不载入starting-config,进入默认配置
rommon 2 > reset //重启路由器
System Bootstrap, Version 12.1(3r)T2,>
Copyright (c) 2000 by cisco Systems, Inc.
cisco 2621 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memor
重启路由器后:Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#enable password wusoft.net //重新设置特权密码
Router(config)#config-register 0x2102 //修改寄存值为 0x2102 恢复路由器默认状态。
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#wr
Building configuration...
[OK]
Router#
重置路由器ENABLE特权密码过程结束,实验过程中只是修改了特权密码,对路由器其他配置没有影响 |
|
|