admin管理员组

文章数量:1532746

2024年5月8日发(作者:)

Juniper路由器密码恢复:

如果路由节点的Root密码丢失,而且没有其他的超级用户权限,那么就需要执行密码恢复,

该操作需要中断路由节点的正常功能。

要进行密码恢复,请按照下面操作进行:

(1).重新启动路由节点。

(2).在启动过程中,console上出现下面的提示的时候,按任意键中断正常启动方式,然后

再进入单用户状态:

Hit [Enter] to boot immediately, or any other key for command prompt.

Booting [kernel] in

< Press any key other than return >

ok boot –s // boot -s需要手工输入

注:有时候“any other key for command prompt”这里可能是按space键。具体请根据

提示操作。

(3).执行密码恢复:在以下提示文字后输入recovery

Enter full pathname of shell or 'recovery' for root password recovery or RETURN for

-----

/bin/sh: recovery // 手工输入recovery

NOTE: Once in the CLI, you will need to enter configuration mode using

NOTE: the 'configure' command to make any required changes. For example,

NOTE: to reset the root password, type:

NOTE: configure

NOTE: set system root-authentication plain-text-password

NOTE: (enter the new password when asked)

NOTE: commit

NOTE: exit

NOTE: exit

NOTE: When you exit the CLI, you will be asked if you want to reboot

NOTE: the system

Starting CLI ...

-----

root>

(4).进入配置模式,删除root密码:

root> configure

Entering configuration mode

[edit]

root# delete system root-authentication

root@router# commit

commit complete

[edit]

root@router# exit

Exiting configuration mode

root@kenny> exit

Reboot the system? [y/n] y

-----

Terminated

(5).重新启动后,配置新的root密码。路由节点恢复正常。

-----

本文标签: 节点路由需要密码中断