企业版路由器密码丢失处理方法
2009-01-30 10:36
344 查看
[align=center] [/align]
路由器密码丢失的处理方法
如果路由器的特权用户密码丢失,按照如下所述步骤操作,便可以重新设置新密码:
1、 准备一台运行仿真终端程序的PC,推荐使用Procomm或Windows Hyper Terminal(超级终端)。
2、 将PC的串口和路由器的控制台口用配套提供的扁平控制台线缆连接好。
3、 路由器关机,重开路由器,在超级终端上按CTRL+Break键(注意在加电路由器之后迅即按下中断序列 能导致路由器被锁住,在这种情况下,需要重新关开路由器,同样,记住终端仿真程序使用不同的按键组合来产生中断序列,最流行的两大终端仿真器是超级终端和Procomm,对于超级终端应同时按下Ctrl+ Break 来产生中断序列,而Procomm则要同时按下ALT+B键。密码修复工作只能在将超级终端连到路由器控制台端口的情况下才可被执行,这些步骤在路由器的辅助端口是行不通的),使路由器进入rom监控模式,出现了boot:的提示符。
4、 在boot:提示符,下运行setup-reg(该指令为隐含命令)回车,出现如下的选择菜单。
boot: setup-reg
Configuration Summary
enabled are:
console baud: 9600
do you wish to change the configuration? y/n
: y ⇐在这里输入'y'回车
enable "bypass the system configure file"? y/n
: y ⇐在这里输入‘y'回车,注意这里是enable, 第41页 共63页 http://www.i-net.com.cn
⇐接下去的全部直接回车,采用缺省的应
enable "debug mode"? y/n
: n
enable "user break/abort enabled"? y/n
: n
change console speed? y/n
: n
Configuration Summary
enabled are:
bypass the system configure file
console baud: 9600
⇐重新继续交互询问是否还需要修改参数,因为已经修改完毕,输入’n’回车
do you wish to change the configuration? y/n
: n
program flash location 0x2070000
You must reset or power cycle for new config to take effect
boot:
5、 在boot:下输入reset,重启路由器,这时路由器重启动时,将忽略NV内存中的配置信息,便不存在控制密码和使能密码了,启动路由器后直接回车,便直接进入路由器的命令提示符下。
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Would you like to enter the initial configuration dialog? [yes]: n
⇐由于忽略了配置,系统提示是否进setup交互配置模式,这里输入’n’,不进入交互配置模式
Press RETURN to get started!
Red-Giant>en
Red-Giant#
6、 如果配置无关紧要,那么直接在特权层下运行write,然后reboot路由器便可以了,如果其中的配置还需要用到,那么可以在特权层下,执行
copy startup-configuration running-configuration
来完成这项任务,然后执行config term命令进入全局配置模式,运行
enable secret 0 abcde,这里的‘abcde’便是新的密码了,完成之后可按下ctrl+Z退出全局配置模式,进入到特权用户模式,键入write 将新密码保存到NV内存中,然后reboot路由器。
7、 重启路由器,还是按照上面步骤3的方法,进入到rom监控模式下,boot:输入setup-reg回车。
boot: setup-reg
Configuration Summary
enabled are:
bypass the system configure file
console baud: 9600
do you wish to change the configuration? y/n
: y ⇐在这里输入'y'回车
disable "bypass the system configure file"? y/n
: y
⇐在这里输入'y'回车,注意这里是disable,而上面的是enable,下面的用缺省回答
enable "debug mode"? y/n
:n enable "user break/abort enabled"? y/n
:n change console speed? y/n
:n Configuration Summary enabled are: console baud: 9600 ⇐重新继续交互询问是否还需要修改参数,因为已经修改完毕,输入’n’回车 do you wish to change the configuration? y/n
: program flash location 0x2070000 You must reset or power cycle for new config to take effect boot: 8、 在boot:提示符号下,输入save,保存当前的bootrom的配置信息。 9、 在boot:下运行reset重启路由器,到这一步,实现了修改密码的目的,现在路由器便可以采用新的密码来工作了。
路由器密码丢失的处理方法
如果路由器的特权用户密码丢失,按照如下所述步骤操作,便可以重新设置新密码:
1、 准备一台运行仿真终端程序的PC,推荐使用Procomm或Windows Hyper Terminal(超级终端)。
2、 将PC的串口和路由器的控制台口用配套提供的扁平控制台线缆连接好。
3、 路由器关机,重开路由器,在超级终端上按CTRL+Break键(注意在加电路由器之后迅即按下中断序列 能导致路由器被锁住,在这种情况下,需要重新关开路由器,同样,记住终端仿真程序使用不同的按键组合来产生中断序列,最流行的两大终端仿真器是超级终端和Procomm,对于超级终端应同时按下Ctrl+ Break 来产生中断序列,而Procomm则要同时按下ALT+B键。密码修复工作只能在将超级终端连到路由器控制台端口的情况下才可被执行,这些步骤在路由器的辅助端口是行不通的),使路由器进入rom监控模式,出现了boot:的提示符。
4、 在boot:提示符,下运行setup-reg(该指令为隐含命令)回车,出现如下的选择菜单。
boot: setup-reg
Configuration Summary
enabled are:
console baud: 9600
do you wish to change the configuration? y/n
: y ⇐在这里输入'y'回车
enable "bypass the system configure file"? y/n
: y ⇐在这里输入‘y'回车,注意这里是enable, 第41页 共63页 http://www.i-net.com.cn
⇐接下去的全部直接回车,采用缺省的应
enable "debug mode"? y/n
: n
enable "user break/abort enabled"? y/n
: n
change console speed? y/n
: n
Configuration Summary
enabled are:
bypass the system configure file
console baud: 9600
⇐重新继续交互询问是否还需要修改参数,因为已经修改完毕,输入’n’回车
do you wish to change the configuration? y/n
: n
program flash location 0x2070000
You must reset or power cycle for new config to take effect
boot:
5、 在boot:下输入reset,重启路由器,这时路由器重启动时,将忽略NV内存中的配置信息,便不存在控制密码和使能密码了,启动路由器后直接回车,便直接进入路由器的命令提示符下。
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Would you like to enter the initial configuration dialog? [yes]: n
⇐由于忽略了配置,系统提示是否进setup交互配置模式,这里输入’n’,不进入交互配置模式
Press RETURN to get started!
Red-Giant>en
Red-Giant#
6、 如果配置无关紧要,那么直接在特权层下运行write,然后reboot路由器便可以了,如果其中的配置还需要用到,那么可以在特权层下,执行
copy startup-configuration running-configuration
来完成这项任务,然后执行config term命令进入全局配置模式,运行
enable secret 0 abcde,这里的‘abcde’便是新的密码了,完成之后可按下ctrl+Z退出全局配置模式,进入到特权用户模式,键入write 将新密码保存到NV内存中,然后reboot路由器。
7、 重启路由器,还是按照上面步骤3的方法,进入到rom监控模式下,boot:输入setup-reg回车。
boot: setup-reg
Configuration Summary
enabled are:
bypass the system configure file
console baud: 9600
do you wish to change the configuration? y/n
: y ⇐在这里输入'y'回车
disable "bypass the system configure file"? y/n
: y
⇐在这里输入'y'回车,注意这里是disable,而上面的是enable,下面的用缺省回答
enable "debug mode"? y/n
:n enable "user break/abort enabled"? y/n
:n change console speed? y/n
:n Configuration Summary enabled are: console baud: 9600 ⇐重新继续交互询问是否还需要修改参数,因为已经修改完毕,输入’n’回车 do you wish to change the configuration? y/n
: program flash location 0x2070000 You must reset or power cycle for new config to take effect boot: 8、 在boot:提示符号下,输入save,保存当前的bootrom的配置信息。 9、 在boot:下运行reset重启路由器,到这一步,实现了修改密码的目的,现在路由器便可以采用新的密码来工作了。
相关文章推荐
- SSIS包配置时密码丢失的处理方法
- Red Hat/CentOS root密码丢失的两种处理方法
- freebsd root密码丢失的处理方法
- Red Hat/CentOS root密码丢失的两种处理方法
- Red Hat/CentOS root密码丢失的两种处理方法
- 各类unix和linux管理员密码丢失解决方法
- mysql密码忘记或无法登录后的处理方法
- Linux环境下忘记mysql密码处理方法
- chorme 浏览器记住密码后input黄色背景处理方法(两种)
- MySQL掌握密码有效性验证失败的处理方法
- oracle用户密码过期的处理方法
- 黑马程序员_精简三层架构DAL(构建两层架构(DAL,UI),密码MD5处理,“MD5加盐”,DAL某些方法)
- AJAX处理 POST数据中有特殊符号导致数据丢失的解决方法
- WINDOWS SERVER 2008密码丢失的处理(IBM x3650 m3)
- Windows下MySql数据库忘记root密码的处理方法
- Oracle OS认证 口令文件 密码丢失处理
- linux操作系统root管理员用户密码丢失之解决方法!
- Oracle数据库空间文件丢失处理方法
- MySQL密码丢失的找回方法(win/*inx)
- mysql忘记密码的处理方法