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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

玩人工智能的辣条哥

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值