文档库 最新最全的文档下载
当前位置:文档库 › 迈普路由器密码和配置清除

迈普路由器密码和配置清除

路由器清除密码和配置
经常遇到一些需要清除路由器的密码和配置,以下分类对几种操作方式进行说明:
路由器在忘记密码的情况下,只有进入monitor进行清除,这个操作会同时把设备的配置清除,所以清除密码和清除配置是同一种命令。
先使用超级终端或者CRT通过配置线和路由器连接好,如不清楚超级终端的设置,请查看后面的超级终端的配置。
?
1、进入monitor:
启动路由器,刚开始就会提示:
Monitor version x.x is Booting (press ctrl+c to enter monitor mode) ...
请在后面打点的时间内按ctrl+c进入到monitor模式,如时间超过了,重新开机按ctrl+c。
?
2、查看命令:
进入到monitor里面后,使用help命令查看monitor模式下的命令
Monitor:>help
如发现有dir[ectory] [dev name]命令,请转3进行操作,如没有发现dir这个命令,请转4进行操作,这一步选择很重要,否则操作失误有可能造成路由器不能正常启动,需要重写程序。
?
3、使用dir命令查看,会发现里面有一个startup文件,这个就是启动加载的配置文件。
Monitor:>dir
Listing Directory /flash:
-rwxrwxrwx 1 0 0 539 Apr 28 2008 startup
-rwxrwxrwx 1 0 0 158 Apr 23 2008 logging
-rwxrwxrwx 1 0 0 1234 Apr 17 2008 backup
使用del startup删除这个文件。确认,重启就可以了。
Monitor:>del startup
WARNING:
The Data of this file will be lost! if OS is deleted,the system will hangup!

Please confirm to continue?(Y/N)y
注意:在新的monitor版本里面使用del startup会提示失败,这个需要写全这个文件的路径。
如:Monitor:>del /flash/startup
?
4、如在monitor里面没有dir这个命令的时候,使用e d删除。
Monitor:>e d
WARNING:
The Data of this file will be lost! if OS is deleted,the system will hangup!

Please confirm to continue?(Y/N)y
Monitor:>


相关文档