才子佳人博客

我的故事我讲述

juniper ex4200/ex3200交换机恢复密码办法
 
来源:xjh  编辑:xjh  2017-06-27

如果交换机的root密码丢失,而且没有其他超级用户权限,那么就要执行密码恢复,该操作需要中断交换机的正常功能,而且需要重启交换机。要进行密码恢复,需参照下面操作进行:

1.重启交换机

2.在启动过程中按任意键中断正常启动模式,进入命令模式,然后键入:boot -s

Hit [Enter] to boot immediately, or space bar for command prompt.


Type ? for a list of commands, help for more detailed help.
loader> boot -s 

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


Trying to mount root from ufs:/dev/da0s2a
Attaching /packages/jbase via /dev/mdctl...
Mounted jbase package on /dev/md0...
System watchdog timer disabled
Enter full pathname of shell or recovery for root password recovery or RETURN for /bin/sh: 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 ...

4.进入配置模式,设置root密码,并提交重启

root@ex3200-test> configure
Entering configuration mode

[edit]

root@ex3200-test# set system root-authentication plain-text-password
New password:
Retype new password:

[edit]

root@ex3200-test# commit
commit complete


分类:网络日志| 查看评论
相关文章
文章点击排行
本年度文章点击排行
发表评论:
  • 昵称: *
  • 邮箱: *
  • 网址:
  • 评论:(最多100字)
  • 验证码: