通过console登录,然后修改密码:
[AC] local-user admin class manage
[AC-luser-admin] password simple xxxxxx
如果console登录也配置了密码但是忘记了,就需要在AC启动阶段多按CTRL+B进入bootware扩展段,选择跳过密码启动。
如果以上都不好使,就只能恢复出厂设置了。
设备WEB登陆密码忘记了就只能通过console配置线登陆设备的命令行下进行设置,因为企业级的设备是没有重新密码的按钮的
#进入系统视图
<H3C>system-view //进入系统视图
System View: return to User View with Ctrl+Z.
# 配置WEB用户admin的认证密码为admin
[H3C]local-user admin //创建本地账号admin
[H3C-luser-manage-admin] password simple admin //密码为admin
[H3C-luser-manage-admin] quit //退出当前视图
#保存配置
[H3C]save force //保存配置
==============
console 密码忘记:
需要清除Consle密码,或者恢复出厂恢复
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接入密码保存配置,之后用修改后的密码登陆。具体修改console密码的配置参考2.2“V7交换机Console口安全配置方法”。
如果没有ctrl+p
需要选择 按住“Ctrl+B”进入如下菜单。选择“<6> Skip Current System Configuration”跳过当前配置启动,不同设备可能不是数字6,
控配置进入系统后,不要执行save 操作、否则会覆盖原有的配置;需要导出配置后更改配置文件在导入;
如果忘记了AC 的IP:
可以console登陆查看AC的IP,参考命令如下:
dis ip int brief
dis int brief
dis cu int vlan
暂无评论内容