EX4200交换机密码恢复
2014-11-29 19:35
141 查看
我们知道设备在出厂时,有个默认的管理用户root,密码为空,这个用户是不允许我们远程登录使用的。所以我们用默认用户进入设备后要新建一个用户作为super-user。但root用户因为没有密码,所以为了安全,我们也设置一道关卡密码,作为屏障,这个用户为超级用户。一旦我们为超级用户设置了密码,忘记了怎么办?下面就是一个很好的解决办法:
我们可以拨电重启,或是用命令request system reboot或者request system halt或者request system power-off后,这里我们要注意一下,关闭交换机时,先要用命令关闭交换机,等待系统进程停止时,再关掉电源模块。
在关闭交换机电源之前必须先利用命令关闭交换机
这时我们只需要在设备出现以下命令提示符:
Booting [kernel] in 9 seconds...< Press any key other than return > 我们要迅速按任意键中断启动方式,进入单用户模式:boot -s
然后在:
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 usingNOTE: the 'configure' command to make any required changes. For example,NOTE: to reset the root password, type:NOTE: configureNOTE: set system root-authentication plain-text-passwordNOTE: (enter the new password when asked)NOTE: commitNOTE: exitNOTE: exitNOTE: When you exit the CLI, you will be asked if you want to rebootNOTE: the system
Starting CLI ... root>此时,我们就进入configure模式,删除root密码:root#delete system root-authentication plain-text-passwordroot#commit
root#exit
root>request system reboot重新启动后,密码就为空了,最后想怎么搞就怎么搞吧,自由发挥了。
本文出自 “茶余饭后,静思量” 博客,请务必保留此出处http://yanhuasanyue.blog.51cto.com/9005517/1584545
我们可以拨电重启,或是用命令request system reboot或者request system halt或者request system power-off后,这里我们要注意一下,关闭交换机时,先要用命令关闭交换机,等待系统进程停止时,再关掉电源模块。
在关闭交换机电源之前必须先利用命令关闭交换机
这时我们只需要在设备出现以下命令提示符:
Booting [kernel] in 9 seconds...< Press any key other than return > 我们要迅速按任意键中断启动方式,进入单用户模式:boot -s
然后在:
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 usingNOTE: the 'configure' command to make any required changes. For example,NOTE: to reset the root password, type:NOTE: configureNOTE: set system root-authentication plain-text-passwordNOTE: (enter the new password when asked)NOTE: commitNOTE: exitNOTE: exitNOTE: When you exit the CLI, you will be asked if you want to rebootNOTE: the system
Starting CLI ... root>此时,我们就进入configure模式,删除root密码:root#delete system root-authentication plain-text-passwordroot#commit
root#exit
root>request system reboot重新启动后,密码就为空了,最后想怎么搞就怎么搞吧,自由发挥了。
本文出自 “茶余饭后,静思量” 博客,请务必保留此出处http://yanhuasanyue.blog.51cto.com/9005517/1584545
相关文章推荐
- Ubuntu root 密码忘记-恢复
- 思科交换机的登录、密码恢复与应用
- 路由器密码和ios恢复
- 密码恢复操作
- 锐捷RG-S2126G交换机密码恢复实战
- 路由器上的密码恢复
- Linux rhel7 rhel6 恢复root密码
- SAP*密码的恢复
- 设备配置路由恢复出厂及修改特权密码
- cisco 路由器密码的恢复及配置的删除
- 恢复系统管理员密码的五大奇招
- 图文详细说明root用户密码恢复
- Cisco路由器密码恢复
- 锐捷交换机密码恢复
- NT平台ADSL拨号连接密码恢复原理
- Cisco路由器密码恢复
- Windows server 2008 密码丢失恢复
- 路由器 交换机密码恢复
- Linux系统root用户密码忘记恢复策略
- Linux系统中Mysql的安装备份与密码恢复