前面发了一篇以FTP软件等方式的升级指导,需要则看:
http://www.elvhome.com/html/20150731/2015073112553592530.html
二、从启动菜单升级系统软件
通过启动菜单升级软件的过程比较复杂,一般不建议使用此方法,只有S7700主机程序无法启动的时候才需要使用启动菜单升级系统软件。
通过启动菜单升级软件只能使用FTP客户端方式,并且操作终端计算机只能通过串口,使用超级终端软件与S7700通信。使用的操作终端需要作为FTP服务器,并保证与所需升级系统软件的S7700设备管理网口直接相连或保证两者保持能在同一网段内互通。
操作步骤
步骤 1 在配置终端或PC运行FTP软件,指定系统文件所在的路径。创建FTP用户7700,密码为admin@123456。
配置终端或PC的IP地址即配置FTP服务器的IP地址,下文操作中S7700设备管理网口的IP地址需保持在同一网段。
步骤 2 重新启动设备。
当设备上电后,操作终端屏幕上显示如下。
Input Ctrl+Y to select debug console
BootROM version : version B
Testing L2 cache ........................................................ passed
Created date of BootROM : Aug 8 2013, 14:16:47
Board type : 0x00000008
Initializing boot bus ..................................................... done
Initializing DRAM ......................................................... done
Start memory test ? ('Ctrl+T' is test) : skip
Copying decompressed data from ROM to RAM ................................. done
Decompressing data from ROM to RAM ........................................ done
Initializing flash module ................................................. done
Initializing flash flag ................................................... done
Starting at 0x6c00000 ...
Initializing flash module ................................................. done
Initializing flash flag ................................................... done
Initializing port 0 MAC : 10-1b-54-40-17-78 ............................... done
Initializing port 1 MAC : 10-1b-54-40-17-77 ............................... done
Initializing port 2 MAC : 10-1b-54-40-17-7a ............................... done
Intilalizing debug port ................................................... done
Attaching TCP/IP interface to eth unit 0 .................................. done
Attaching network interface lo0 ........................................... done
Loading network protocol .................................................. done
****************************************************
* *
* Ethernet Switch BootLoad *
* *
****************************************************
Copyright (C) 2000-2015 HUAWEI TECH CO., LTD
Version : 121 Compiled at Aug 10 2013, 16:17:31
PCB Version : LE02SRUB VER.B
CPU L2 Cache : 128KB
CPU Clock Speed : 700MHz
BUS Clock Speed : 133MHz
Memory Type : DDR2 SDRAM
Memory Size : 1024MB
Memory Speed : 667MHz
cfca
rd:/ - Volume is OK
Initializing CFcard ....................................................... done
Description data is vaild in nvram area
Press Ctrl+B to enter boot menu ... 0
步骤 3 在3秒内按下Ctrl+B。
password:
输入扩展BootROM主菜单密码,进入BootROM主菜单。初始密码为“Admin@huawei.com”。系统提供修改密码的功能。若三次输入不正确的密码时,系统将重新启动。当输入正确的密码后,将显示如下所示的BootROM主菜单。
MAIN MENU
1. Boot with default mode
2. Boot from Flash
3. Boot from CFCard
4. Enter serial submenu
5. Enter ethernet submenu
6. Enter file system submenu
7. Enter test submenu
8. Modify BootROM password
9. Modify Flash description area
10. Clear password for console user
11. Reboot
Enter your choice(1-11):
选项1、2、3仅对本次启动设备有效,执行1或2或3选项后如果出现设备重新启动,设备会自动选择按照选项6中设置的默认启动设备和默认启动系统软件名进行启动。所以建议在通过选项5加载完系统软件后通过选项6设置默认启动设备(Flash或CFcard)和默认启动系统软件。最后通过选项9重启设备。
选择8清除串口用户登录密码成功后,请选择1、2、3中的一项继续启动设备. 请勿选择9重启,否则这次清除密码动作将会失效。
步骤 4 输入5,进入以太网子菜单。
ETHERNET SUBMENU
1. Download file to SDRAM through ethernet interface and boot
2. Download file to Flash through ethernet interface
3. Download file to CFCard through ethernet interface
4. Upload Configuration file to Ftp through ethernet interface
5. Modify ethernet interface parameter
6. Return to main menu
Be sure to modify parameter before downloading!
Enter your choice(1-6):
步骤 5 输入5,按以下方式设置以太网接口参数。
Note: Two protocols for download, tftp & ftp.
The file max-length for tftp is 32M.
You can modify the flags following the menu.
tftp--0x80, ftp--0x0.
'.' = clear field; '-' = go to previous field; ^D = quit
boot device : eth0 #无需设置,直接单击回车键即可
processor number : 0 #无需设置,直接单击回车键即可
host name : host #无需设置,直接单击回车键即可
file name : S7700-V200R002C00SPC100.cc S7700V200R003C00SPC500.cc #设置为需要加载的系统软件名称
inet on ethernet (e) : 192.168.1.1:ffffff00 #设置主控板以太网口的IP地址,子网掩码可以不需要设置
inet on backplane (b): 192.168.1.1:ffffff00 #无需设置,直接单击回车键即可
host inet (h) : 192.168.1.2 #设置为FTP服务器的IP地址
gateway inet (g) : #无需设置,直接单击回车键即可
user (u) : 7700 #设置为FTP用户名
ftp password (pw) (blank = use rsh): admin@123456 #设置为FTP登录密码
flags (f) : 0x0 #无需设置,直接单击回车键即可
target name (tn) : octeon #无需设置,直接单击回车键即可
startup script (s) : #无需设置,直接单击回车键即可
other (o) : #无需设置,直接单击回车键即可
以上举例中,需要加载的软件名为S7700V200R003C00SPC500.cc,FTP服务器地址为192.168.1.2,FTP用户名为7700,密码为admin@123456。请根据实际情况修改需要设置的参数,其他参数不需修改。在设置以太网接口参数时,参数的前、后及中间请不要添加空格;参数仅支持英文字母、阿拉伯数字、下划线和”.”号。
步骤 6 输入3,将需要加载的程序下载到CFcard中。
Be sure to modify parameter before downloading!
Enter your choice(1-6): 3
boot device : eth0
processor number : 0
host name : host
file name : S7700V200R003C00SPC500.cc
inet on ethernet (e) : 192.168.1.1:ffffff00
inet on backplane (b): 192.168.1.1
host inet (h) : 192.168.1.2
gateway inet (g) :
user (u) : 7700
ftp password (pw) :
flags (f) : 0x0
target name (tn) : octeon
Loading...................................Done!
Please type a new file name for saving it.
Press return key to save it named " S7700-V200R003C00SPC500.cc".
Check disk space
Writing file............................................................................................................Done
步骤 7 输入6,退回主菜单。
ETHERNET SUBMENU
1. Download file to SDRAM through ethernet interface and boot
2. Download file to Flash through ethernet interface
3. Download file to CFCard through ethernet interface
4. Upload Configuration file to Ftp through ethernet interface
5. Modify ethernet interface parameter
6. Return to main menu
Be sure to modify parameter before downloading!
Enter your choice(1-6): 6
步骤 8 在主菜单中输入9,修改启动程序为新的升级程序。
MAIN MENU 1. Boot with default mode 2. Boot from Flash 3. Boot from CFCard 4. Enter serial submenu 5. Enter ethernet submenu 6. Enter file system submenu 7. Enter test submenu 8. Modify BootROM password 9. Modify Flash description area 10. Clear password for console user 11. Reboot
Enter your choice(1-11):9
Modify flash description area
Please select booting device.
Press ENTER directly for no change or input your choice.
1: Flash, 2: CF Card
Current booting device: 2, your choice: 2 #选择从CFcard启动
Current booting File Name: cfcard:/S7700-V200R002C00SPC100.cc,
Press ENTER directly for no change.
Or, please input the file name (e.g.quidway.cc): S7700-V200R003C00SPC500.cc #输入新的升级程序文件名
Saved-configuration file
'.'=clear field; '^D'=quit; Enter=use current configuration; new=change to other configuration file; current: vrpcfg.zip
new :
Saved-patch file
'.'=clear field; '^D'=quit; Enter=use current patch;
new=change to other patch file;
current:
new :
The expecteexpected booting file: cfcard:/S7700-V200R003C00SPC500.cc.
Are you sure? Yes or No(Y/N)y #输入”y”或回车确认修改启动程序
Writting descriptor to flash...OK!
Writting backup descriptor to flash...OK!
步骤 9 在主菜单中选择3,从CFcard启动。





