最佳答案
忘记密码不要慌:
忘记console 密码 :
1、如果之前配置有远程的账户密码:可以通过远程登telnet /ssh /web录到设备进行更改;
2、如果没有配置的话:
交换机全局开启 密码恢复
pc 连接 console 线到交换机;
通过console线和CRT软件连接并登陆设备,然后把设备断电重启。控制台上会打印如下信息,当出现“press Ctrl+B”的时候快速按住“Ctrl+B” 进入botroom菜单
Starting......
Press Ctrl+D to access BASIC BOOT MENU
Booting Normal Extend BootWare....
********************************************************************************
* *
* H3C S5024PV5-EI-PWR Switch BOOTROM, Version 145 *
* *
********************************************************************************
Copyright (c) 2004-2022 New H3C Technologies Co., Ltd.
Creation Date : Jan 13 2022, 18:27:59
CPU Clock Speed : 800MHz
Memory Size : 512MB
Flash Size : 256MB
CPLD Version : 001
PCB Version : Ver.C
Mac Address : 70c6ddab4188
Press Ctrl+B to access EXTENDED BOOT MENU...
Password recovery capability is enabled.
EXTENDED BOOT MENU
1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
9. Set The Operating Device
0. Reboot
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format file system
Ctrl+P: Change authentication for console login
Ctrl+R: Download image to SDRAM and run
Ctrl+C: Display Copyright
Enter your choice(0-9): //这里按Ctrl+P修改console登陆密码
Authentication is required for console login.
Are you sure you want to skip the authentication for console login? (Y/N):Y
Setting...Done.
EXTENDED BOOT MENU
1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
9. Set The Operating Device
0. Reboot
Ctrl+Z: Access EXTENDED ASSISTANT MENU
Ctrl+F: Format file system
Ctrl+P: Change authentication for console login
Ctrl+R: Download image to SDRAM and run
Ctrl+C: Display Copyright
Enter your choice(0-9): 0 //这里输入0回车重启设备
Starting......
Press Ctrl+D to access BASIC BOOT MENU
Booting Normal Extend BootWare....
这一次重启登陆交换机不需要用户名和密码,进到命令行修改console接入密码保存配置,之后用修改后的密码登陆
此时的设备配置是存在的,依然在运行当前配置:
如果没有找到 Ctrl+ P ,
选择: 7. Skip current system configuration
Press Ctrl+B to access EXTENDED BOOT MENU...
Password recovery capability is enabled.
EXTENDED BOOT MENU
1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
9. Set The Operating Device
0. Reboot
选择控配置进入系统;
然后 按0 重启;进入系统后,此时设备运行配置为空,不要进行save 操作,否则会覆盖之前的配置哦。
如果需要更改密码,先到处startup.cfg 文件,编辑后在导入,重启,或者进行配置混滚(无需重启即可生效)
3、如果设备 密码恢复功能是关闭的状态:只能进入bootroom 恢复出厂;
Press Ctrl+B to access EXTENDED BOOT MENU...
Password recovery capability is enabled.
EXTENDED BOOT MENU
1. Download image to flash
2. Select image to boot
3. Display all files in flash
4. Delete file from flash
5. Restore to factory default configuration
6. Enter BootRom upgrade menu
7. Skip current system configuration
8. Set switch startup mode
9. Set The Operating Device
0. Reboot
选择5 恢复出厂,在选择0 重启;
配置没有了哦;只能通过之前保存的配置,来恢复设备的配置了;
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论