(0)
最佳答案
重启bootware恢复
#将交换机重启运行BootRom程序,终端屏幕上显示如下信息(以S3100V3-20TP-PWR-SI为例)
<H3C>
Starting......
Press Ctrl+D to access BASIC BOOT MENU
Booting Normal Extend BootWare....
********************************************************************************
* *
* H3C S3100V3-20TP-PWR-SI Switch BOOTROM, Version 143 *
* *
********************************************************************************
Copyright (c) 2004-2021 New H3C Technologies Co., Ltd.
Creation Date : Jul 15 2021, 14:58:11
CPU Clock Speed : 800MHz
Memory Size : 512MB
Flash Size : 256MB
CPLD Version : 001
PCB Version : Ver.A
Mac Address : 0440a931afac
#当显示信息出现“Press Ctrl+B to access EXTENDED BOOT MENU...”时,键入<Ctrl+B>,系统将进入扩展BootRom主菜单。如果没有及时键入<Ctrl+B>需要重启设备重复之前操作。
Press Ctrl+B to access EXTENDED BOOT MENU...0
Password recovery capability is enabled.
注:当出现提示“Password recovery capability is enabled.”说明密码恢复功能开启。
密码恢复功能开启时,用户可以使用扩展BootRom菜单中除选项5以外的所有菜单项,选择7恢复出厂;
密码恢复功能关闭时,不支持选择7,选择5恢复出厂;
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): 7 //由于设备密码恢复功能开启,此处选择7
The current setting will run with current configuration file when reboot.
Are you sure you want to skip current configuration file when reboot? Yes or No
(Y/N):Y //选择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....
********************************************************************************
* *
* H3C S3100V3-20TP-PWR-SI Switch BOOTROM, Version 143 *
* *
********************************************************************************
Copyright (c) 2004-2021 New H3C Technologies Co., Ltd.
Creation Date : Jul 15 2021, 14:58:11
CPU Clock Speed : 800MHz
Memory Size : 512MB
Flash Size : 256MB
CPLD Version : 001
PCB Version : Ver.A
Mac Address : 0440a931afac
Press Ctrl+B to access EXTENDED BOOT MENU...1 0 0
Loading the main image files...
Loading file flash:/s3100v3_si-cmw710-system-r6333.bin..........................
..........................Done.
Loading file flash:/s3100v3_si-cmw710-boot-r6333.bin.........Done.
Image file flash:/s3100v3_si-cmw710-boot-r6333.bin is self-decompressing........
................................................................................
................................................................................
................................................................................
................................................................................
..........................................................................Done.
System is starting...
Cryptographic algorithms tests passed.
Configuration file is skipped.
Performing automatic configuration... Press CTRL_C or CTRL_D to break.
Automatic configuration attempt: 1.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 2.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 3.
Not ready for automatic configuration: no interface available.
Waiting for the next...
Automatic configuration attempt: 4.
Not ready for automatic configuration: no interface available.
Waiting for the next...
#按“CTRL+C”或者“CTRL+D”停止
Automatic configuration is aborted.
Line aux0 is available.
#按回车键进入设备命令行
Press ENTER to get started.
(0)
连接console端口,通过命令修改密码
disp local-user 查看用户名
local-user xxx class manage
password hash xxxx
或
password simple xxxx
用户名密码登录方式配置步骤
# 进入系统视图
<H3C> system
# 配置AUX接口认证模式为scheme模式(用户名+密码认证)。
[H3C]line aux 0
[H3C-ui-vty0-4] authentication-mode scheme //另两种认证模式为None(无密码)和Password(密码方式)
[H3C-ui-vty0-4] quit
# 创建本地账号h3c,密码为123456,权限级别为network-admin
[H3C] local-user h3c
[H3C-luser-abc] password simple 123456
[H3C-luser-abc] service-type terminal //设置用户类型为terminal,即Console登陆类型
[H3C-luser-abc] authorization-attribute user-role network-admin
[H3C-luser-abc] quit
# 保存配置
[H3C] save
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论