重启设备进入bootrom(所有升级都需要通过console口进行操作)
Starting……
***********************************************************
* *
* H3C S5500-24P-WiNet BOOTROM, Version 613 *
* *
***********************************************************
Copyright (c) 2004-2012 Hangzhou H3C Tech. Co., Ltd.
Creation date : Jun 18 2012, 23:33:00
CPU Clock Speed : 264MHz
BUS Clock Speed : 33MHz
Memory Size : 128MB
Mac Address : 0cda41197bcb
Press Ctrl-B to enter Boot Menu… 1
BOOT MENU
- Download application file to flash
- Select application file to boot
- Display all files in flash
- Delete file from flash
- Modify bootrom password
- Enter bootrom upgrade menu
- Skip current configuration file
- Set bootrom password recovery
- Set switch startup mode
- Reboot
Enter your choice(0-9): 3
File Number File Size(bytes) File Name
=============================================================================
1(*) 12655450 s5500winet-cmw520-r2216.bin
2 4 snmpboots
3 1584 private-data.txt
4 558790 default.diag
5 287 system.xml
6(*) 1787 startup.cfg (这个有*的配置文件就是要保存的)
7 1316 topology.top
Free Space: 2378752 bytes
The current application file is s5500winet-cmw520-r2216.bin
(*)-with main attribute
(b)-with backup attribute
BOOT MENU
- Download application file to flash
- Select application file to boot
- Display all files in flash
- Delete file from flash
- Modify bootrom password
- Enter bootrom upgrade menu
- Skip current configuration file
- Set bootrom password recovery
- Set switch startup mode
- Reboot
Enter your choice(0-9): (输入 ctrl+y 快捷键)
Application file upload menu:
- Set TFTP protocol parameter
- Return to boot menu
Enter your choice(0-1): 1
Load File name :startup.cfg (就是上面看到的那个配置文件名,通过tftp传到电脑上)
Switch IP address :10.153.42.22
Server IP address :10.153.42.14 (电脑的ip)
Are you sure you want to upload file to server? Yes or No(Y/N) y
upload app startup.cfg!
Load file from flash to sdram…done!
Load…………………………………………………………………………done!
在电脑上编辑startup.cfg这个配置文件。
local-user admin
password cipher $c$3$Ltxdhw00dJGktHUuNs8Fr/PszezvhaLC
authorization-attribute level 3
修改删除线的那行配置为 password simple admin (也就是密码admin)
BOOT MENU
- Download application file to flash
- Select application file to boot
- Display all files in flash
- Delete file from flash
- Modify bootrom password
- Enter bootrom upgrade menu
- Skip current configuration file
- Set bootrom password recovery
- Set switch startup mode
- Reboot
Enter your choice(0-9): 1
- Set TFTP protocol parameter
- Set FTP protocol parameter
- Set XMODEM protocol parameter
- Return to boot menu
Enter your choice(0-3): 1
Load File name :startup.cfg (文件名称还是原来的那个)
Switch IP address :10.153.42.22
Server IP address :10.153.42.14
Are you sure you want to download this file to flash? Yes or No(Y/N) y
Loading….done
flash:/startup.cfg already exists. Overwrite it? Yes or No(Y/N) y
Delete file…..done!
Free flash Space: 2380800 bytes
Writing flash….done!
The attribute of startup.cfg keeps main attribute !
done!
BOOT MENU
- Download application file to flash
- Select application file to boot
- Display all files in flash
- Delete file from flash
- Modify bootrom password
- Enter bootrom upgrade menu
- Skip current configuration file
- Set bootrom password recovery
- Set switch startup mode
- Reboot
Enter your choice(0-9): 0
System rebooting…
Starting……
(重启设备,可以通过 用户名admin + 密码admin 登录web网页了)