console口密码忘记

发布时间:  2012-07-19 浏览次数:  327 下载次数:  0
问题描述
现象描述:
USG2210――――PC
用户想改usg2210上的配置,不能用telnet、web、ssh等方式登陆设备。用console线的方式登陆设备,但又忘记密码;用户要求登陆设备又不能丢失配置;
告警信息
处理过程
处理过程:
  1. 重启设备并登陆设备的大bootrom模式(ctrl+B后输入密码),进入隐藏模式重置console口密码(无重置console口密码的选项)
==========================================

| <1> Boot With Default Mode |

| <2> Boot From Flash |

| <3> Enter Ethernet SubMenu |

| <4> Change Flash Boot File |

| <5> Modify Bootrom Password |

| <0> Reboot |

=============================================================

Enter your choice(0-5):
注:ctrl+z 进入隐藏模式
Hidden Menu...

============================================

| <1> Format Flash |

| <2> Delete File From Flash |

| <3> Display Flash Files |

| <4> Rename FileName |

| <5> Update Bootrom |

| <0> Exit To Main Menu |

============================================================

Enter your choice(0-5): 3

2. 修改配置文件名的方式解决问题。修改启动时调用的文件名后重启设备,设备会因为找不到启动需要使用的配置文件,系统将以出厂缺省配置启动。
进入大Bootrom并flash下的配置文件名:
==========================================
| <1> Boot With Default Mode |
| <2> Boot From Flash |
| <3> Enter Ethernet SubMenu |
| <4> Change Flash Boot File |
| <5> Modify Bootrom Password |
| <0> Reboot |
=============================================================
Enter your choice(0-5):
Hidden Menu...
============================================
| <1> Format Flash |
| <2> Delete File From Flash |
| <3> Display Flash Files |
| <4> Rename FileName |
| <5> Update Bootrom |
| <0> Exit To Main Menu |
============================================================
Enter your choice(0-5): 3
Files in Flash:
1:flash:/private-data.txt 16 bytes
2:flash:/protocol.rul 239984 bytes
3:flash:/vrpcfg1.zip 2285 bytes
4:flash:/ssl_vpn_cfg.zip 7284 bytes
5:flash:/vrpc.cfg 9381 bytes
修改配置文件名(以ssl_vpn_cfg.zip为例)已和查看修改成功与否:
============================================
| <1> Format Flash |
| <2> Delete File From Flash |
| <3> Display Flash Files |
| <4> Rename FileName |
<5> Update Bootrom |
<0> Exit To Main Menu |
=============================================================?
Enter your choice(0-5): 4
Please input the file name you want to rename: ssl_vpn_cfg.zip
Please input the target file name: ssl_vpn_cfg1.zip
Rename [flash:/ssl_vpn_cfg.zip] to [flash:/cfg11.zip] ...Done!
============================================
| <1> Format Flash |
| <2> Delete File From Flash |
| <3> Display Flash Files |
| <4> Rename FileName |
| <5> Update Bootrom |
| <0> Exit To Main Menu |
============================================================
nter your choice(0-5): 3
Files in Flash:
1:flash:/private-data.txt 16 bytes

2:flash:/protocol.rul 239984 bytes

3:flash:/vfpc.cfg 9381 bytes

4:flash:/vrpcfg1.zip 2285 bytes

5:flash:/ ssl_vpn_cfg1.zip 7284 bytes

重启设备:
============================================
| <1> Format Flash |
| <2> Delete File From Flash |
| <3> Display Flash Files |
| <4> Rename FileName |
| <5> Update Bootrom |
| <0> Exit To Main Menu |
=============================================================
Enter your choice(0-5): 0
==========================================
| <1> Boot With Default Mode |
| <2> Boot From Flash |
| <3> Enter Ethernet SubMenu |
| <4> Change Flash Boot File |
| <5> Modify Bootrom Password |
| <0> Reboot |
=============================================================
Enter your choice(0-5): 0

说明:当修改配置文件名成功并进入设备后,用FTP或web的方式导出配置文件(ssl_vpn_cfg1.zip)。打开配置文件,看console口密码是明文还是密文;
明文:记下密码并启动ssl_vpn_cfg1.zip
密文:将密码修改为“]MQ;4\]B 4Z,YWX*NZ55OA!!”也就是Admin@123。然后保存配置文件。
(1) 首先查看是否有如下信息,修改对应的密码部分
authentication-mode local user admin password cipher ]MQ;4\]B 4ZY!U6L"B8W^Q!!
(2) 如果没有上述信息,则修改以下信息对应的密码部分
local-user admin password cipher ]MQ;4\]B 4ZY!U6L"B8W^Q!!
根因
原因分析:
用户忘记console口密码,不能登陆设备;
建议与总结

END