H3C交换机如何重置console口密码

环境:

H3C S5024X-EI
version 7.1.070, Release 6329

Xshell: 7.0.0009

问题描述:

H3C交换机如何重置console口密码,时间长了密码忘记了

在这里插入图片描述

解决方案:

1.console线连接好交换机和电脑,打开交换机电源,Xshell界面看到,“Press Ctrl+B to access EXTENDED BOOT MENU…0”出现时马上按Ctrl和B键(3秒内按),这样就可以进入启动菜单

在这里插入图片描述

1. Download image to flash 将图像下载到flash
2. Select image to boot 选择要启动的映像
3. Display all files in flash 显示所有flash文件
4. Delete file from flash 从flash中删除文件
5. Restore to factory default configuration 恢复到出厂默认配置
6. Enter BootRom upgrade menu 进入BootRom升级菜单
7. Skip current system configuration 跳过当前系统配置
8. Set switch startup mode 设置开关启动模式
9. Set The Operating Device 设置操作设备
0. Reboot 重启

2.选7 Skip current system configuration 跳过当前系统配置,继续选择0 reboot来重新启动交换机,启动后将不加载当前的configuration file配置文件,之前设置的密码会无效

在这里插入图片描述
在这里插入图片描述
3.交换机自检完毕后就会显示Configuration file is skipped.
Line aux0 is available的信息,表明之前的配置文件没有加载,按回车就可以进了aux0配置界面
在这里插入图片描述

4.系统试图下通过user-interface aux 0进入console设置模式,输入authentication-mode none将aux0密码取消

在这里插入图片描述save将修改保存,然后reboot
在这里插入图片描述
<H3C>reboot Start to check configuration with next startup configuration file, please wait.........DONE! This command will reboot the device. Continue? [Y/N]:y Now rebooting, please wait....%Jan 1 00:08:10:734 2013 H3C DEV/5/SYSTEM_REBOOT: System is rebooting now.

更改配置,后保存测试正常

System is starting...
Cryptographic algorithms tests passed.
Line aux0 is available.


Press ENTER to get started.



******************************************************************************
* Copyright (c) 2004-2021 New H3C Technologies Co., Ltd. All rights reserved.*
* Without the owner's prior written consent,                                 *
* no decompiling or reverse-engineering shall be allowed.                    *
******************************************************************************

<H3C>
<H3C>
<H3C>
<H3C>%Jan  1 00:52:34:476 2013 H3C SHELL/5/SHELL_LOGIN: TTY logged in from aux0.

<H3C>
<H3C>dis cu
#
 version 7.1.070, Release 6329
#
 sysname H3C
#
 irf mac-address persistent timer
 irf auto-update enable
 undo irf link-delay
 irf member 1 priority 1

5.如果要清除之前配置输入reset saved-configuration ,然后reboot

猜你喜欢

转载自blog.csdn.net/weixin_42672685/article/details/132977014