忆龙2009:恢复H3C系列交换机控制台登陆口令
2009-12-02 21:44
411 查看
如果用户设置的控制台登录口令丢失,可以通过使用BOOT菜单中的“跳过配置文件启动”功能进行恢复。
(1) 使用配置线缆将计算机的串口与H3C系列交换机的Console口进行连接,配置终端仿真程序,重新启动交换机。
(2) 在交换机完成自检后,在下面的界面键入进入BOOT菜单。
Board checking.......................................LSA1LTSG
SDRAM fast selftest.......................................OK!
Flash fast selftest.......................................OK!
CPLD selftest.............................................OK!
Switch chip selftest......................................OK!
Slot 1/1/1 has no module or get slot type error
Slot 1/1/2 has no module or get slot type error
Slot 1/1/3 has no module or get slot type error
Slot 1/1/4 has no module or get slot type error
PHY selftest..............................................OK!
Please check port leds..............................finished!
The switch Mac is: 000f-e200-3900
Press Ctrl-B to enter Boot Menu... 5
password:
说明:缺省情况下,进入BOOT菜单的口令为空。如果用户设置了BOOT菜单口令,但该口令已经丢失,请与代理商联系。
(3) 进入BOOT菜单后,键入“7”,选择“跳过配置文件启动”功能。
BOOT MENU
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot
Enter your choice(0-9): 7
The current setting is running configuration file when reboot.
Are you sure to skip current configuration file when reboot? Yes or No(Y/N) y
Setting......done!
(4) 回到BOOT菜单后,输入“0”重新启动交换机。
BOOT MENU
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot
Enter your choice(0-9): 0
^@System rebooting...
(5) 再次启动时,交换机会跳过配置文件,即跳过对控制台口令的配置,用户可以直接登录交换机。
**************************************************************************
* Copyright (c) 2004-2007 Hangzhou H3C Tech. Co., Ltd. All rights reserved.*
* Without the owner's prior written consent, *
* no decompiling or reverse-engineering shall be allowed. *
**************************************************************************
Configuration file is skipped.
User interface aux0 is available.
Press ENTER to get started.
(6) 用户登录后,可以使用display startup命令查看启动配置文件,并使用more命令查看该配置文件中的控制台口令配置。
display startup
Current startup saved-configuration file: NULL
Next startup saved-configuration file: flash:/vrpcfg.cfg
more vrpcfg.cfg
……(略)
#
user-interface aux 0
authentication-mode password
set authentication password simple test
user-interface vty 0 4
authentication-mode none
user privilege level 3
idle-timeout 0 0
#
return
说明:如果用户设置的口令为明文,则口令将直接显示在配置文件中;如果用户设置了密文的口令,则将显示为转换后的密文字符,此时需要用户自行将密文转换为明文。
(7) 用户可以使用FTP或TFTP将启动配置文件发送到PC上,使用文本编辑软件(例如Windows系统的“记事本”或“写字板”软件)对配置文件进行编辑,修改认证口令或修改认证方式为None,再将配置文件上传到交换机上覆盖原有文件。再次启动后,交换机将使用更新后的配置文件,用户可以重新进行口令配置,同时其他原有配置不会丢失。
说明:以上操作适用于在Password方式或Scheme方式中的本地方式下恢复登录口令。如果用户使用Scheme方式中的Radius方式进行认证,用户的登录口令将在Radius服务器上进行设置,当登录口令丢失或Radius服务器不可用时,也会造成登录失败;这种情况下,用户可以通过上面描述的方式编辑配置文件,修改认证方式为None,即可跳过认证直接登录,但登录口令需要用户在Radius服务器上进行恢复。
(8) 需要注意的是,在第三步操作中选择的“跳过配置文件”选项会保存在BootRom中,如果不进行修改,则此后每次重启设备都会跳过配置文件。因此,需要用户手工重启设备,并再次进入BOOT菜单选择“跳过配置文件”选项,在提示确认的时候输入“N”,才能恢复启动时加载配置文件。
BOOT MENU
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from flash
5. Modify bootrom password
6. Enter bootrom upgrade menu
7. Skip current configuration file
8. Set bootrom password recovery
9. Set switch startup mode
0. Reboot
Enter your choice(0-9): 7
The current setting is running configuration file when reboot.
Are you sure to skip current configuration file when reboot? Yes or No(Y/N) n
Setting......done!
该方法适用于以下交换机:
S2126-EI
S3100
S3100-52P
S3600
S3610
S5100
S5500
S5510
S5600
E126/E126A/E152/E352/E328
相关文章推荐
- 忆龙2009:恢复H3C系列交换机控制台登陆口令
- 忆龙2009:恢复H3C系列交换机的TELNET口令
- 忆龙2009:恢复H3C系列交换机的TELNET口令
- 2900和3500系列交换机口令恢复
- H3C系列交换机密码恢复方法
- H3C交换机S5500系列恢复控制台登录口令
- cisco3500系列交换机密码恢复
- H3C设备与中兴89系列交换机snmp V3配置模板与kali snmpwalk配套测试
- 3500系列交换机密码恢复
- H3C s5500-SI-EI系列交换机 WEB界面登录配置
- 交换机路由器口令恢复
- Catalyst 6500系列交换机密码恢复
- 【Vegas原创】管理配置H3C 3600系列交换机
- 【Vegas原创】管理配置H3C 3600系列交换机
- H3C CE3000系列交换机插入千兆光模块后发现光模块可发光但端口指示灯不亮
- 华为ne系列路由器和9300系列交换机设置通过radisu认证登陆
- Cisco Catalyst 6500系列交换机密码恢复和启动问题总结
- 【Vegas原创】管理配置H3C 3600系列交换机
- H3C系列交换机端口镜像的配置
- 3550交换机和2600路由器口令恢复