admin管理员组

文章数量:1540632

密码恢复需要用到配置线。将配置线插入CONSOLE口,另一端连接PC。在PC上打开超级终端,选择你使用的COM口,属性选择默认设置。

连接成功后重起路由器,按CTRL+BREAK键,出现BOOT:就成功了。输入setup-reg。

按以下进行选择

 

do you wish to change the configuration? y/n [n]: n program flash location 0x2070000 You must reset or power cycle for new config to take effect boot:reset

最后在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’,不进入交互配置模式 如果要用快速web配置模式,请选择‘ y’,这里建议选择‘n’,之后按‘ ctrl+c’进入命令模式 Press RETURN to get started! Red-Giant>en Red-Giant#

如果配置无关紧要,那么直接在特权层下运行write,然后reboot路由器便可以了。

 

 

重新配置路由器,重新设置密码后, wr 保存后退出 请注意:恢复密码工作还没有结束,请继续按照说明操作 再次重启路由器,还是按照上面步骤3的方法。 ctrl+break进入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 [n]: y⇐在这里输入'y'回车 disable "bypass the system configure file"? y/n [n]: y ⇐在这里输入'y'回车,注意这里是 disable而上面的是 enable enable "debug mode"? y/n [n]:n enable "user break/abort enabled"? y/n [n]:n change console speed? y/n [n]:n Configuration Summary enabled are: console baud: 9600

 

重新继续交互询问是否还需要修改参数,因为已经修改完毕,输入’ n’回车 do you wish to change the configuration? y/n [n]: n program flash location 0x2070000 You must reset or power cycle for new config to take effect boot: reset

 

do you wish to change the configuration? y/n [n]:  y ⇐在这里输入'y'回车 enable "bypass the system configure file"? y/n [n]:  y ⇐在这里输入‘y'回车,注意这里是enable, 接下去的全部直接回车,采用缺省的应答。 enable "debug mode"? y/n [n]: n enable "user break/abort enabled"? y/n [n]: n change console speed? y/n [n]: n Configuration Summary enabled are: bypass the system configure file console baud: 9600

本文标签: 锐捷