选择区域语言: EN CN HK

01 基础配置指导

08-BootWare管理配置

本章节下载  (344.08 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S2600/S2600/Configure/Operation_Manual/H3C_S2600_CG-6W104/01/201810/1119889_30005_0.htm

08-BootWare管理配置


1 BootWare管理配置

说明

显示信息的具体参数值请以实际情况为准,文中的举例仅做参考。

 

1.1  简介

1.1.1  BootWare程序文件

BootWare程序文件是设备启动时用来引导应用程序的文件。完整的BootWare包含BootWare基本段和BootWare扩展段。

·     BootWare基本段是指完成系统基本初始化的BootWare,可以实现修改串口参数、升级BootWare等操作。

·     BootWare扩展段具有丰富的人机交互功能,用于接口的初始化,可以实现升级应用程序和引导系统。BootWare扩展段包括扩展段主菜单和扩展段辅助菜单两部分:主菜单用于升级系统启动文件、文件控制等操作,辅助菜单用于查看、搜索设备内存等操作。

BootWare基本段启动后,可以在基本段菜单下加载升级BootWare扩展段。为了阅读和便于理解,如果不做特殊说明,本文中BootWare扩展段主菜单将称为BootWare主菜单。

1.1.2  应用程序文件

系统缺省定义了三个用于启动的应用程序文件:主程序文件、备份程序文件、安全程序文件。当用户在Flash中加载了这三个应用程序文件时,系统将以此顺序依次选择这三个文件来启动设备,直到设备正常启动为止。如果用户希望改变启动文件,可以参考1.3.4  进入文件控制子菜单

主程序文件、备份程序文件、安全程序文件的缺省文件名、文件类型及启动时的选择顺序如下:

·     主程序文件,缺省文件名为main.bin,文件类型为M,是系统启动缺省使用的文件;

·     备份程序文件,缺省文件名为backup.bin,文件类型为B。当主程序文件启动失败时,系统使用备份程序文件启动;

·     安全程序文件,缺省文件名为secure.bin,文件类型为S。当备份程序文件启动失败时,系统使用安全程序文件启动;如安全程序文件启动失败,系统将提示启动失败信息。目前产品不支持安全程序文件,BootWare主菜单中对安全程序文件的所有操作均不支持。

说明

·     当应用程序文件未指定文件类型时,则为N/A类型;当指定应用程序文件既为主程序文件,又为备用程序文件时,则为M+B类型;

·     仅有类型为M、B的应用程序可以用于系统启动,其他类型的应用程序不会被用于系统启动;

·     存储的应用程序文件名可以在应用程序启动后通过命令行修改;类型为M、B或N/A的应用程序的文件类型可以在BootWare菜单中修改,也可以在应用程序启动后通过命令修改;

·     M、B类型的文件在Flash中同时最多存在一个。如:Flash中有一个文件为M+B类型,那么就不可能存在其它的类型为M或者B的文件;若另一个文件的类型被改为B,那么以前的M+B类型的文件就变成M类型的文件了。

 

1.2  进入BootWare基本段菜单

设备上电后,通过串口连接设备,在终端显示信息中出现“Press Ctrl+D to access BASIC-BOOTWARE MENU”的3秒钟之内,键入<Ctrl+D>,系统将进入BootWare基本段;如果未在3秒钟之内键入<Ctrl+D>,系统将直接运行BootWare程序,若此后仍希望进入BootWare基本段,则需要重新启动设备,设备启动过程中再执行相关操作。

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU

 

======================<BASIC-BOOTWARE MENU(Ver 1.04)>=======================

|<1> Modify Serial Interface Parameter                                     |

|<2> Update Extend BootWare                                                |

|<3> Update Full BootWare                                                  |

|<4> Boot Extend BootWare                                                  |

|<5> Boot Backup Extend BootWare                                           |

|<0> Reboot                                                                |

============================================================================

Enter your choice(0-5):

表1-1 BootWare基本段菜单项解释

菜单项

解释

<1> Modify Serial Interface Parameter

修改串口参数

<2> Update Extend BootWare

升级BootWare扩展段

<3> Update Full BootWare

升级完整的BootWare,包括BootWare基本段和BootWare扩展段

<4> Boot Extend BootWare

启动BootWare扩展段

<5> Boot Backup Extend BootWare

启动备份的BootWare扩展段

<0> Reboot

重启设备

 

1.2.1  修改串口参数

在BootWare基本段菜单项中键入<1>,回车后,可以设置串口(Console口)的波特率。

Enter your choice(0-5): 1

===============================<BAUDRATE SET>===============================   

|Note:'*'indicates the current baudrate                                    |   

|     Change The HyperTerminal's Baudrate Accordingly                      |   

|---------------------------<Baudrate Available>---------------------------|   

|<1> 9600(Default)*                                                        |   

|<2> 19200                                                                 |   

|<3> 38400                                                                 |   

|<4> 57600                                                                 |   

|<5> 115200                                                                |   

|<0> Exit                                                                  |   

============================================================================   

Enter your choice(0-5):

说明

·     通过BootWare菜单使用Console口加载主机程序时,应注意正确设置PC端串口的波特率、数据位、奇偶校验位、停止位和数据流控制等属性,否则超级终端将无响应。关于PC端串口属性设置的详细介绍,请参见“基础配置指导”中的“登录交换机”。

·     设备Console口的默认波特率是9600bps。用户修改了Console口波特率后,到下次重启时,又会重新恢复到默认波特率9600bps。

 

1.2.2  升级BootWare扩展段

在BootWare基本段菜单项中键入<2>,回车后,将仅升级BootWare扩展段。当BootWare扩展段损坏时,可以在基本段执行该操作来升级BootWare扩展段。

Enter your choice(0-5): 2

Please Start To Transfer File, Press <Ctrl+C> To Exit.

Waiting ...CCCCC

Download successfully!

329344 bytes downloaded!

Updating Extend BootWare? [Y/N]Y

Updating Extend BootWare...............Done!

1.2.3  升级完整的BootWare

在BootWare基本段菜单项中键入<3>,回车后,将升级完整的BootWare。

Enter your choice(0-5): 3

Please Start To Transfer File, Press <Ctrl+C> To Exit.

Waiting ...CCCCC

Download successfully!

329344 bytes downloaded!

Updating Basic BootWare? [Y/N]Y

Updating Basic BootWare...............Done!

Updating Extend BootWare? [Y/N]Y

Updating Extend BootWare...............Done!

1.2.4  启动BootWare扩展段

在BootWare基本段菜单项中键入<4>,回车后,设备将启动BootWare扩展段。

Enter your choice(0-5): 4

Booting Normal Extend BootWare

The Extend BootWare is self-decompressing.......................Done!

 

****************************************************************************

*                                                                          *

*                    H3C S2626 BootWare, Version 1.04                      *

*                                                                          *

****************************************************************************

Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

 

Compiled Date       : May 22 2013 14:21:44

CPU Type            : MIPS4kec

CPU L1 Cache        : 16KB

CPU Clock Speed     : 500MHz

Memory Type         : DDR3 SDRAM

Memory Size         : 128MB

Memory Speed        : 300MHz

BootWare Size       : 3MB

Flash Size          : 32MB

 

 

BootWare Validating...

Press Ctrl+B to enter extended boot menu...

BootWare password: Not required. Please press Enter to continue.

1.2.5  启动备份的BootWare扩展段

在BootWare基本段菜单项中键入<5>,回车后,设备将启动备份的BootWare扩展段。BootWare的备份操作请参见1.3.7  进入BootWare操作子菜单

Enter your choice(0-5): 5

Booting Backup Extend BootWare

The Extend BootWare is self-decompressing.......................Done!

 

****************************************************************************

*                                                                          *

*                    H3C S2626 BootWare, Version 1.04                      *

*                                                                          *

****************************************************************************

Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

 

Compiled Date       : May 22 2013 14:21:44

CPU Type            : MIPS4kec

CPU L1 Cache        : 16KB

CPU Clock Speed     : 500MHz

Memory Type         : DDR3 SDRAM

Memory Size         : 128MB

Memory Speed        : 300MHz

BootWare Size       : 3MB

Flash Size          : 32MB

 

 

BootWare Validating...

Press Ctrl+B to enter extended boot menu...

BootWare password: Not required. Please press Enter to continue.

 

1.3  进入BootWare扩展段菜单

设备上电后,如果未选择进入基本段,则设备会提示是否选择进入BootWare扩展段主菜单,终端屏幕上显示如下信息:

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU

Booting Normal Extend BootWare

The Extend BootWare is self-decompressing.......................Done!

 

****************************************************************************

*                                                                          *

*                    H3C S2626 BootWare, Version 1.04                      *

*                                                                          *

****************************************************************************

Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

 

Compiled Date       : May 22 2013 14:21:44

CPU Type            : MIPS4kec

CPU L1 Cache        : 16KB

CPU Clock Speed     : 500MHz

Memory Type         : DDR3 SDRAM

Memory Size         : 128MB

Memory Speed        : 300MHz

BootWare Size       : 3MB

Flash Size          : 32MB

 

 

BootWare Validating...

Press Ctrl+B to enter extended boot menu...

BootWare password: Not required. Please press Enter to continue.

在出现“Press Ctrl+B to enter extended boot menu...”的3秒钟之内,键入<Ctrl+B>,系统将进入BootWare扩展段主菜单,否则系统将进入程序解压过程;若程序进入解压过程后再希望进入BootWare扩展段,则需要重新启动设备,设备启动过程中再执行相关操作。

Password recovery capability is enabled.

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.

 

===========================<EXTEND-BOOTWARE MENU>===========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Clear Super Password                                                  |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

============================================================================

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9):

表1-2 BootWare扩展段菜单项解释

菜单项

解释

<1> Boot System

启动应用程序

<2> Enter Serial SubMenu

进入串口子菜单

<3> Enter Ethernet SubMenu

以太网口子菜单

<4> File Control

进入文件控制子菜单

<5> Restore to Factory Default Configuration

恢复出厂配置启动

使能密码恢复功能后不支持该操作

<6> Skip Current System Configuration

跳过当前系统配置文件启动

<7> BootWare Operation Menu

进入BootWare操作子菜单

<8> Clear Super Password

清除Console口认证密码

关闭密码恢复功能后不支持该操作

<9> Storage Device Operation

进入存储介质操作子菜单

<0> Reboot

重启设备

 

说明

关于密码恢复功能的详细介绍,请参见1.5  配置密码恢复功能

 

1.3.1  启动应用程序

在Bootware主菜单中,键入<1>,回车后,系统启动应用程序。

Enter your choice(0-9): 1

Starting to get the main application file--flash:/test.bin!............

.........

The main application file is self-decompressing.............................

............................................................................

............................................................................

............................................................................

............................................................................

............................................................................

............................................................................

.Done!

System application is starting...

1.3.2  进入串口子菜单

通过该子菜单可以实现升级应用程序,修改串口速率等操作。

在BootWare主菜单中,键入<2>,回车后,系统进入串口子菜单:

===========================<Enter Serial SubMenu>===========================

|Note:the operating device is flash                                        |

|<1> Download Application Program To SDRAM And Run                         |

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-5):

表1-3 串口子菜单项解释

菜单项

解释

<1> Download Application Program To SDRAM And Run

加载应用程序到SDRAM并且运行

关闭密码恢复功能后不支持该操作

<2> Update Main Application File

加载主用程序文件到当前存储介质

新加载的程序文件将自动被设置为M类型,原带有M类型的程序文件中的该属性将被取消

<3> Update Backup Application File

加载备用程序文件到当前存储介质

新加载的程序文件将自动被设置为B类型,原带有B类型的程序文件中的该属性将被取消

<4> Update Secure Application File

加载安全程序文件到当前存储介质

<5> Modify Serial Interface Parameter

进入修改串口参数子菜单

<0> Exit To Main Menu

返回到上一级目录

 

在串口子菜单中,加载文件前需要先设置串口参数,操作步骤如下。

(1)     键入<5>,回车后,系统进入串口参数设置界面:

===============================<BAUDRATE SET>=============================

|Note:'*'indicates the current baudrate                                    |

|     Change The HyperTerminal's Baudrate Accordingly                      |

|---------------------------<Baudrate Available>---------------------------|

|<1> 9600(Default)*                                                        |

|<2> 19200                                                                 |

|<3> 38400                                                                 |

|<4> 57600                                                                 |

|<5> 115200                                                                |

|<0> Exit                                                                  |

==========================================================================

Enter your choice(0-5):1

(2)     用户根据实际情况,选择相应的程序文件加载方式。当需要加载主用程序文件时,可在串口子菜单中键入<2>,回车后,即将主用程序文件下载至设备中,终端显示如下信息:

Enter your choice(0-5): 2

Loading.....................................................................

............................................................................

............................................................................

......Done!

11518976 bytes downloaded!

Updating File flash:/test_main.bin......................Done!

1.3.3  进入以太网口子菜单

在BootWare主菜单中,键入<3>,回车后,系统进入以太网口子菜单:

==========================<Enter Ethernet SubMenu>==========================

|Note:the operating device is flash                                        |

|<1> Download Application Program To SDRAM And Run                         |

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

|<Ensure The Parameter Be Modified Before Downloading!>                    |

============================================================================

Enter your choice(0-5):

表1-4 以太网口子菜单项解释

菜单项

解释

<1> Download Application Program To SDRAM And Run

加载应用程序到SDRAM并且运行

关闭密码恢复功能后不支持该操作

<2> Update Main Application File

加载主用程序文件到当前存储介质

新加载的程序文件将自动被设置为M类型,原带有M类型的程序文件中的该属性将被取消

<3> Update Backup Application File

加载备用程序文件到当前存储介质

新加载的程序文件将自动被设置为B类型,原带有B类型的程序文件中的该属性将被取消

<4> Update Secure Application File

加载安全程序文件到当前存储介质

<5> Modify Ethernet Parameter

进入修改以太网参数的子菜单

<0> Exit To Main Menu

返回到上一级目录

 

在以太网口子菜单中,加载文件前需要先设置以太网口参数,操作步骤如下。

(1)     键入<5>,回车后,进入以太网口参数设置界面,修改以太网口相关参数:

Enter your choice(0-5): 5

 

==========================<ETHERNET PARAMETER SET>==========================

|Note:       '.' = Clear field.                                            |

|            '-' = Go to previous field.                                   |

|          Ctrl+D = Quit.                                                  |

============================================================================

Protocol (FTP or TFTP) :tftp

Load File Name         :host

                       :

Target File Name       :target

                       :

Server IP Address      :192.168.1.234

Local IP Address       :192.168.1.1

Gateway IP Address     :0.0.0.0

 

表1-5 以太网参数设置说明

显示

说明

'.' = Clear field

快捷键:“.”表示清除该项设置

'-' = Go to previous field

快捷键:“-”表示返回到上一个设置项

Ctrl+D = Quit

快捷键:表示退出参数设置界面

Protocol (FTP or TFTP)

使用的传输协议,可以为FTP或者TFTP

Load File Name

下载文件名,要与下载的实际文件名一致

Target File Name

存储的目标文件名。缺省情况下与服务器端文件名一致

Server IP Address

TFTP/FTP服务器的IP地址。需要设置掩码请使用冒号“:”格开,如:192.168.2.26:24

Local IP Address

本地IP地址,为TFTP/FTP客户端设置的IP地址

Gateway IP Address

网关IP地址。当与服务器不在同一网段时需要配置网关地址。

FTP User Name

FTP用户名,传输协议为TFTP时,无此选项

FTP User Password

FTP用户密码,传输协议为TFTP时,无此选项

 

(2)     用户根据实际情况,选择相应的程序文件加载方式。当需要加载主用程序文件时,可在以太网口子菜单中键入<2>,回车后,即将主用程序文件下载至设备中,终端显示如下信息:

Enter your choice(0-5): 2

Loading.....................................................................

............................................................................

............................................................................

......Done!

11518976 bytes downloaded!

Updating File flash:/test_main.bin......................Done!

 

1.3.4  进入文件控制子菜单

在BootWare主菜单中,键入<4>,回车后,系统进入文件控制子菜单。通过这个菜单可以查看存储介质中保存的文件显示类型、修改文件名、删除文件等操作,提示信息如下:

Enter your choice(0-9): 4

 

===============================<File CONTROL>===============================

|Note:the operating device is flash                                        |

|<1> Display All File(s)                                                   |

|<2> Set Application File type                                             |

|<3> Set Configuration File type                                           |

|<4> Delete File                                                           |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4):

(1)     在文件控制子菜单中,键入<1>,回车后,查看设备当前存储介质路径下的文件信息:

Enter your choice(0-4): 1

 

Display all file(s) in flash:

 'M' = MAIN      'B' = BACKUP      'S' = SECURE      'N/A' = NOT ASSIGNED

============================================================================

|NO. Size(B)   Time                 Type   Name                            |

|1   11508736  Aug/08/2008 20:00:00 N/A    test.bin                        |

|2   2832      Apr/26/2000 12:09:04 N/A    private-data.txt                |

|3   2082      Apr/26/2000 12:09:18 M      startup.cfg                     |

|4   151       Apr/26/2000 12:09:10 N/A    system.xml                      |

|5   2071      Apr/26/2000 12:09:12 N/A    _startup_bak.cfg                |

|6   11518976  Aug/08/2008 20:00:00 M      test_main.bin                   |

============================================================================

(2)     在文件控制子菜单中,键入<2>,回车后,系统进入设置文件属性菜单,可以根据需要来选择修改对应文件的属性,比如选择test.bin作为下次备用启动文件,设备举例如下。

Enter your choice(0-4): 2

 

 'M' = MAIN      'B' = BACKUP      'S' = SECURE      'N/A' = NOT ASSIGNED

============================================================================

|NO. Size(B)   Time                 Type   Name                            |

|1   11508736  Aug/08/2008 20:00:00 N/A    test.bin                        |

|2   11518976  Aug/08/2008 20:00:00 M      test_main.bin                   |

|0   Exit                                                                  |

============================================================================

Enter file No:1

 

Modify the file attribute:

============================================================================

|<1> +Main                                                                 |

|<2> -Main                                                                 |

|<3> +Backup                                                               |

|<4> -Backup                                                               |

|<0> Exit                                                                  |

============================================================================

Enter your choice(0-4):

属性选择界面中,“+Main”表示为被选定文件添加主程序文件属性;“-Main”表示为被选定文件取消主程序文件属性;“+Backup”表示为被选定文件添加备用程序文件属性;“-Backup”表示为被选定文件取消备用程序文件属性。将test.bin设置为备用启动文件,选择<3>,回车后,系统提示如下,表示设置成功:

Enter your choice(0-4):3

Set the file attribute success!

(3)     在文件控制子菜单中,键入<3>,回车后,系统进入设置配置文件属性菜单,可以根据需要来选择修改对应配置文件的属性,比如选择startup.cfg作为下次备用配置文件,设备举例如下。

Enter your choice(0-4): 3

 

 'M' = MAIN      'B' = BACKUP      'S' = SECURE      'N/A' = NOT ASSIGNED

============================================================================

|NO. Size(B)   Time                 Type   Name                            |

|1   2082      Apr/26/2000 12:09:18 N/A    startup.cfg                     |

|2   2071      Apr/26/2000 12:09:12 M      _startup_bak.cfg                |

|0   Exit                                                                  |

============================================================================

Enter file No:1

 

Modify the file attribute:

============================================================================

|<1> +Main                                                                 |

|<2> -Main                                                                 |

|<3> +Backup                                                               |

|<4> -Backup                                                               |

|<0> Exit                                                                  |

============================================================================

Enter your choice(0-4):

属性选择界面中,“+Main”表示为被选定文件添加主配置文件属性;“-Main”表示为被选定文件取消主配置文件属性;“+Backup”表示为被选定文件添加备用配置文件属性;“-Backup”表示为被选定文件取消备用配置文件属性。将startup.cfg设置为备用启动文件,选择<3>,回车后,系统提示如下,表示设置成功:

Enter your choice(0-4):3

Set the file attribute success!

 

(4)     在文件控制子菜单中,键入<4>,回车后,可以对设备存储介质中的文件进行删除操作。

Enter your choice(0-4): 4

 

Deleting the file in flash:

 'M' = MAIN      'B' = BACKUP      'S' = SECURE      'N/A' = NOT ASSIGNED

============================================================================

|NO. Size(B)   Time                 Type   Name                            |

|1   11508736  Aug/08/2008 20:00:00 N/A    test.bin                        |

|2   2832      Apr/26/2000 12:09:04 N/A    private-data.txt                |

|3   2082      Apr/26/2000 12:09:18 M      startup.cfg                     |

|4   151       Apr/26/2000 12:09:10 N/A    system.xml                      |

|5   2071      Apr/26/2000 12:09:12 N/A    _startup_bak.cfg                |

|6   11518976  Aug/08/2008 20:00:00 M      test_main.bin                   |

|0   Exit                                                                  |

============================================================================

Enter file No:4

The file you selected is flash:/system.xml,Delete it? [Y/N]Y

Deleting.......Done!

输入要删除文件的编号,回车后,系统提示如下,表示删除成功:

Enter file No:2

The file you selected is flash:/system.xml,Delete it? [Y/N]Y

Deleting.......Done!

 

注意

设备上的private-data.txt文件是与配置文件相关的重要文件,由设备启动后修改并保存配置文件时自动生成,只能存放在Flash中。关闭密码恢复功能后,在BootWare中不支持对其进行删除和替换操作。

 

1.3.5  恢复出厂配置启动

注意

·     使能密码恢复功能后不支持该操作。

·     关闭密码恢复功能后执行该操作,会删除设备存储介质中指定的下次启动配置文件。

 

在BootWare主菜单中,键入<5>,回车后,系统会恢复出厂设置并以空配置启动。

·     使能密码恢复功能后设置该项时的显示如下:

Enter your choice(0-9): 5

Password recovery capability is enabled. To perform this operation, first

disable the password recovery capability using the undo password-recovery

enable command in CLI.

·     关闭密码恢复功能后设置该项时的显示如下:

Enter your choice(0-9): 5

Because the password recovery capability is disabled, this operation can

cause the configuration files to be deleted, and the system will start up

with factory defaults. Are you sure to continue?[Y/N]Y

Setting...Done.

1.3.6  跳过当前系统配置文件启动

注意

·     关闭密码恢复功能后不支持该操作。

·     使能密码恢复功能后执行该操作,不会删除设备存储介质中指定的下次启动配置文件。

 

在BootWare主菜单中,键入<6>,回车后,系统会在下次设备启动时,并以空配置启动。

·     使能密码恢复功能后设置该项时的显示如下:

Enter your choice(0-9): 6

Flag Set Success.

·     关闭密码恢复功能后设置该项时的显示如下:

Password recovery capability is disabled. To perform this operation, first

enable the password recovery capability using the password-recovery enable

command in CLI.

1.3.7  进入BootWare操作子菜单

在BootWare主菜单中,键入<7>,回车后,系统进入BootWare操作子菜单目录,可以执行BootWare的升级操作。

Enter your choice(0-9): 7

 

=========================<BootWare Operation Menu>==========================

|Note:the operating device is flash                                        |

|<1> Backup Full BootWare                                                  |

|<2> Restore Full BootWare                                                 |

|<3> Update BootWare By Serial                                             |

|<4> Update BootWare By Ethernet                                           |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4):

表1-6 BootWare操作子菜单项解释

菜单项

解释

<1> Backup Full BootWare

备份完整BootWare

<2> Restore Full BootWare

恢复完整BootWare

<3> Update BootWare By Serial

通过串口升级BootWare

<4> Update BootWare By Ethernet

通过以太网口升级BootWare

<0> Exit To Main Menu

返回到上一级目录

 

(1)     在BootWare操作子菜单中,键入<1>,回车后,备份设备的BootWare,根据实际需要,您可以选择是否备份BootWare基本段或BootWare扩展段。如果设备的BootWare基本段或者BootWare扩展段损坏,可以通过备份的BootWare进行恢复操作。

Enter your choice(0-4): 1

Will you backup the Basic BootWare? [Y/N]Y

Begin to backup the Basic BootWare..Done!

Will you backup the Extend BootWare? [Y/N]Y

Begin to backup the Extend BootWare.Done!

(2)     在BootWare操作子菜单中,键入<2>,回车后,恢复设备的BootWare,根据实际需要,您可以选择是否通过备份的BootWare覆盖当前的BootWare来恢复BootWare基本段或BootWare扩展段。

Enter your choice(0-4): 2

Will you restore the Basic BootWare? [Y/N]Y

Begin to restore Normal Basic BootWare..Done!

Will you restore the Extend BootWare? [Y/N]Y

Begin to restore Normal Extend BootWare.Done!

(3)     在BootWare操作子菜单中,键入<3>,回车后,进入BootWare串口操作子菜单。

Enter your choice(0-4):3

====================<BOOTWARE OPERATION SERIAL SUB-MENU>====================

|<1> Update Full BootWare                                                  |

|<2> Update Extend BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4):4

表1-7 BootWare串口操作子目录菜单项解释

菜单项

解释

<1> Update Full BootWare

通过串口升级完整BootWare

<2> Update Extend BootWare

通过串口升级BootWare扩展段

<3> Update Basic BootWare

通过串口升级BootWare基本段

<4> Modify Serial Interface Parameter

修改串口参数

<0> Exit To Main Menu

返回到上一级目录

 

(4)     在BootWare操作子菜单中,键入<4>,回车后,进入BootWare以太网口操作子菜单。

Enter your choice(0-4):4

===================<BOOTWARE OPERATION ETHERNET SUB-MENU>===================

|<1> Update Full BootWare                                                  |

|<2> Update Extend BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4):

表1-8 BootWare以太网口操作子目录菜单项解释

菜单项

解释

<1> Update Full BootWare

通过以太网口升级完整BootWare

<2> Update Extend BootWare

通过以太网口升级BootWare扩展段

<3> Update Basic BootWare

通过以太网口升级BootWare基本段

<4> Modify Ethernet Parameter

修改以太网口参数

<0> Exit To Main Menu

返回到上一级目录

 

1.3.8  清除Console口认证密码

在BootWare主菜单中,键入<8>,回车并重启设备后,系统将清除设备上Console口认证密码。关于Console口认证密码的详细介绍,请参见“基础配置指导”中的“登录交换机”。

说明

·     关闭密码恢复功能后不支持该操作。

·     清除设备上Console口认证密码操作,每次设置后,仅第一次设备重启后生效,退出Console口登录界面并再执行登录操作时或者再次启动设备时,系统仍会执行Console口登录认证密码的配置。

 

===========================<EXTEND-BOOTWARE MENU>===========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Clear Super Password                                                  |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

============================================================================

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9):8

Clear Application Password Success!

 

1.3.9  进入存储介质操作子菜单

在BootWare主菜单中,键入<9>,回车后,系统进入存储介质操作子菜单。

==============================<DEVICE CONTROL>==============================

|<1> Display All Available Nonvolatile Storage Device(s)                   |

|<2> Set The Operating Device                                              |

|<3> Set The Default Boot Device                                           |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-3):

表1-9 存储介质操作目录菜单项解释

菜单项

解释

<1> Display All Available Nonvolatile Storage Device(s)

查看设备上所有的存储介质信息

<2> Set The Operating Device

设置当前操作的存储介质

<3> Set The Default Boot Device

设置缺省情况下设备启动时采用的存储介质

<0> Exit To Main Menu

返回到上一级目录

 

1.3.10  进入BootWare扩展段辅助菜单

在BootWare主菜单中,键入<Ctrl+Z>,回车后,系统将直接进入BootWare扩展段辅助菜单:

==========================<EXTEND-ASSISTANT MENU>===========================

|<1> Display Memory                                                        |

|<2> Search Memory                                                         |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-2):

(1)     在辅助菜单中,键入<1>,回车后,可以查看设备指定的内存信息。

Enter your choice(0-2): 1

Info: Press Ctrl+C to abort or return to EXTEND-ASSISTANT MENU.

Info: Enter the address and length in hexadecimal notation.

Info: Only 4 bytes mode supported.

Enter memory address:0XA0000000

Enter memory length:10

a0000000: 3c1b86a0 277b0484 03600008 00000000    <...'{...`......

a0000010: 03a0d821 27bdff50 afbb008c 401b6000    ...!'..P....@.`.

a0000020: afbb0098 401b6800 afbb00a8 401b7000    ....@.h.....@.p.

a0000030: afbb00ac 401b4000 afbb00a4 0000d810    ....@.@.........

(2)     在辅助菜单中,键入<2>,回车后,可以搜索设备指定的内存信息。

Enter your choice(0-2): 2

Info: Press Ctrl+C to abort or return to EXTEND-ASSISTANT MENU.

Info: Enter the address and value in hexadecimal notation.

Info: Only 4 bytes mode supported.

Enter start address:0XA0000000

Enter end address:0XA0000030

Enter the value to search for:401b6800

a0000020: afbb0098 401b6800 afbb00a8 401b7000    ....@.h.....@.p.

 

说明

·     当输入的内存起始地址不在内存空间范围内时,设备会提示“Invalid address.”。

·     当输入的内存结束地址小于内存起始地址或者超出内存空间时,设备会提示“Invalid address.”。

·     当输入的内存起始地址加上长度超出内存空间时,设备会提示“Invalid length”。

·     如果没有输入待搜索的内存值直接回车,则设备会提示“Invalid value.”。

·     如果没有找到待搜索的值,则设备会提示“The value not found.”。

·     设备仅支持4字节模式的查找和显示,当输入的内存起始地址和内存结束地址之间不满足4字节对齐时,将强制调整为4字节对齐格式。搜索内存信息时也仅支持以4字节为单位进行查找。

 

1.4  BootWare快捷键

为便于用户对常用功能进行操作,系统提供了如下快捷键。

表1-10 BootWare快捷键

快捷键

BootWare中所在提示信息

功能

<Ctrl+B>

Press Ctrl+B to enter extended boot menu…

设备启动时进入BootWare扩展段

<Ctrl+C>

Please Start To Transfer File, Press <Ctrl+C> To Exit

停止文件加载操作并退出当前操作界面

Info: Press Ctrl+C to abort or return to EXTEND-ASSISTANT MENU

返回扩展段辅助菜单或在显示结果过程中中止显示并返回扩展段辅助菜单

<Ctrl+D>

Press Ctrl+D to access BASIC-BOOTWARE MENU

设备启动时进入BootWare基本段

Ctrl+D = Quit

表示退出参数设置页面

<Ctrl+F>

Ctrl+F: Format File System

格式化当前操作的储存介质

<Ctrl+Z>

Ctrl+Z: Access EXTEND-ASSISTANT MENU

在扩展段主菜单键入时可以进入扩展段辅助菜单

 

1.5  配置密码恢复功能

配置密码恢复功能后,当用户忘记Console口认证密码或者登录认证失败,导致无法使用命令行操作设备时,可通过BootWare菜单清除该认证密码,再继续使用设备;关闭密码恢复功能后,设备将处于一个安全性更高的状态,即当出现上述情况时,若想继续使用Console口对设备进行命令行操作,只能通过BootWare菜单选择将设备恢复为出厂配置之后方可继续操作,这样可以有效地防止非法用户获取启动配置文件。

Console口登录认证密码丢失后,可以通过以下三种方式重新设置Console口的登录认证密码。

图1-1 Console口登录认证密码丢失后的三种解决方法

 

 

BootWare菜单中支持配置的选项与密码恢复功能的配置有关,详见表1-11

表1-11 使能/关闭密码恢复功能情况下BootWare选项差异描述表

BootWare菜单中支持配置的选项

使能密码恢复功能后

关闭密码恢复功能后

选项说明

Download Application Program To SDRAM And Run

支持

不支持

选择该选项后,设备将加载应用程序到SDRAM并且运行

Clear Super Password

支持

不支持

选择该选项并重启设备后,设备以下次启动配置文件启动,登录Console口时会清除认证密码

Skip Current System Configuration

支持

不支持

选择该选项并重启设备后,设备将以出厂配置启动,但系统不会删除下次启动配置文件

Restore to Factory Default Configuration

不支持

支持

选择该选项并重启设备后,设备会先自动删除下次启动配置文件,再以出厂配置启动。

为了设备的安全,建议关闭密码恢复功能

 

表1-12 配置密码恢复功能

操作

命令

说明

进入系统视图

system-view

-

使能密码恢复功能

password-recovery enable

可选

缺省情况下,密码恢复功能处于使能状态

 

说明

关闭密码恢复功能后,在BootWare中不能将版本降级至不支持配置密码恢复功能的版本。如果在命令行中降级至不支持配置密码恢复功能的版本,则设备重启后,原有的BootWare密码还依然存在并生效。

 

1.6  升级设备BootWare配置举例

升级设备的BootWare主要有以下六种方式:

·     在串口子菜单中,通过加载升级系统启动文件来升级BootWare;

·     在以太网口子菜单中,通过加载升级系统启动文件来升级BootWare;

·     在BootWare操作子菜单中,通过串口加载BootWare文件直接升级BootWare;

·     在BootWare操作子菜单中,通过以太网口加载BootWare文件直接升级BootWare;

·     在命令行视图中,通过boot-loader file命令升级系统启动文件来升级BootWare;

·     在命令行视图中,通过bootrom update file命令直接升级BootWare。

以上升级方式中,只有在BootWare操作子菜单中,通过串口或以太网口加载BootWare文件直接升级BootWare,可以升级设备完整的BootWare,其他升级方式仅升级设备的BootWare扩展段。本例仅介绍在BootWare操作子菜单中,通过以太网口加载BootWare文件直接升级BootWare的方式。

(1)     键入<7>,回车后,进入BootWare操作子菜单。

===========================<EXTEND-BOOTWARE MENU>===========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Clear Super Password                                                  |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

============================================================================

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9): 7

(2)     键入<4>,回车后,选择通过以太网口加载升级BootWare,并修改以太网口的参数信息。

=========================<BootWare Operation Menu>==========================

|Note:the operating device is flash                                        |

|<1> Backup Full BootWare                                                  |

|<2> Restore Full BootWare                                                 |

|<3> Update BootWare By Serial                                             |

|<4> Update BootWare By Ethernet                                           |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4): 4

===================<BOOTWARE OPERATION ETHERNET SUB-MENU>===================

|<1> Update Full BootWare                                                  |

|<2> Update Extend BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4): 4

 

==========================<ETHERNET PARAMETER SET>==========================

|Note:       '.' = Clear field.                                            |

|            '-' = Go to previous field.                                   |

|          Ctrl+D = Quit.                                                  |

============================================================================

Protocol (FTP or TFTP) :tftp

Load File Name         :host

                       :test.btw

Target File Name       :target

                       :test.btw

Server IP Address      :192.168.1.1 192.168.2.26

Local IP Address       :192.168.1.253 192.168.2.1

Gateway IP Address     :0.0.0.0

(3)     升级设备的BootWare。

===================<BOOTWARE OPERATION ETHERNET SUB-MENU>===================

|<1> Update Full BootWare                                                  |

|<2> Update Extend BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4): 1

Loading.................Done!

717196 bytes downloaded!

Updating Basic BootWare? [Y/N]Y

Updating Basic BootWare....Done!

Updating Extend BootWare? [Y/N]Y

Updating Extend BootWare...Done!

(4)     返回BootWare主菜单。

===================<BOOTWARE OPERATION ETHERNET SUB-MENU>===================

|<1> Update Full BootWare                                                  |

|<2> Update Extend BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4): 0

 

=========================<BootWare Operation Menu>==========================

|Note:the operating device is flash                                        |

|<1> Backup Full BootWare                                                  |

|<2> Restore Full BootWare                                                 |

|<3> Update BootWare By Serial                                             |

|<4> Update BootWare By Ethernet                                           |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-4): 0

 

===========================<EXTEND-BOOTWARE MENU>===========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Clear Super Password                                                  |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

============================================================================

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9):

(5)     键入<0>,回车后,重启设备,设备将以新的BootWare版本启动。

Enter your choice(0-9): 0

System is starting...

Press Ctrl+D to access BASIC-BOOTWARE MENU

Booting Normal Extend BootWare

The Extend BootWare is self-decompressing.......................Done!

 

****************************************************************************

*                                                                          *

*                    H3C S2626 BootWare, Version 1.04                      *

*                                                                          *

****************************************************************************

Copyright (c) 2004-2017 New H3C Technologies Co., Ltd.

 

Compiled Date       : May 22 2013 14:21:44

CPU Type            : MIPS4kec

CPU L1 Cache        : 16KB

CPU Clock Speed     : 500MHz

Memory Type         : DDR3 SDRAM

Memory Size         : 128MB

Memory Speed        : 300MHz

BootWare Size       : 3MB

Flash Size          : 32MB

 

 

BootWare Validating...

Backup Extend BootWare is newer than Normal Extend BootWare,Update? [Y/N]N

Press Ctrl+B to enter extended boot menu...

BootWare password: Not required. Please press Enter to continue.

 

Password recovery capability is disabled.

Note: The current operating device is flash

Enter < Storage Device Operation > to select device.

 

===========================<EXTEND-BOOTWARE MENU>===========================

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> Skip Current System Configuration                                     |

|<7> BootWare Operation Menu                                               |

|<8> Clear Super Password                                                  |

|<9> Storage Device Operation                                              |

|<0> Reboot                                                                |

============================================================================

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9):

至此,设备的BootWare升级完成。

1.7  通过BootWare主菜单升级系统启动文件配置举例

通过BootWare主菜单升级系统启动文件,主要有以下三种方式:

·     通过串口采用Xmodem协议完成BootWare以及应用程序的升级

·     通过以太网口从TFTP服务器完成应用程序的升级

·     通过以太网口从FTP服务器完成应用程序的升级

1.7.1  通过串口采用Xmodem协议完成BootWare以及应用程序的升级

·     Xmodem协议简介

XModem协议是一种文件传输协议,因其简单性和较好的性能而被广泛应用。XModem协议通过串口传输文件,支持128字节和1K字节两种类型的数据包,并且支持一般校验和、CRC两种校验方式,在出现数据包错误的情况下支持多次重传(一般为10次)。

XModem协议传输由接收程序和发送程序共同完成。先由接收程序发送协商字符,协商校验方式,协商通过之后发送程序就开始发送数据包,接收程序接收到完整的一个数据包之后按照协商的方式对数据包进行校验。校验通过之后发送确认字符,然后发送程序继续发送下一包;如果校验失败,则发送否认字符,发送程序重传此数据包。

·     Xmodem应用

(1)     在Bootware主菜单中,键入<2>,回车后,系统进入串口子菜单:

===========================<Enter Serial SubMenu>===========================

|Note:the operating device is flash                                        |

|<1> Download Application Program To SDRAM And Run                         |

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-5):5

(2)     在串口子菜单中,键入<5>,回车后,系统进入串口参数设置菜单:

===============================<BAUDRATE SET>=============================

|Note:'*'indicates the current baudrate                                    |

|     Change The HyperTerminal's Baudrate Accordingly                      |

|---------------------------<Baudrate Available>---------------------------|

|<1> 9600(Default)*                                                        |

|<2> 19200                                                                 |

|<3> 38400                                                                 |

|<4> 57600                                                                 |

|<5> 115200                                                                |

|<0> Exit                                                                  |

==========================================================================

Enter your choice(0-5):1

(3)     在这个子菜单中可以根据实际情况,选择合适的下载速率,如上所示键入<1>,即选择9600bps的下载速率。

(4)     根据上面提示,改变配置终端设置的波特率,使其与所选的软件下载波特率一致,配置终端的波特率设置完成后,做一次终端的断开和连接操作,然后键入回车,终端再次进入串口子菜单:

===========================<Enter Serial SubMenu>===========================

|Note:the operating device is flash                                        |

|<1> Download Application Program To SDRAM And Run                         |

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

============================================================================

Enter your choice(0-5):2

说明

·     终端的波特率更改后,要做一次终端仿真程序的断开和连接操作,新的设置才能起作用;

·     如果是Win98操作系统,可以先设置完波特率后断开,再连接;如果是Win2000系统,则必须先断开才能设置参数,设置完以后再连接。

 

(5)     根据实际情况,用户选择升级选项,如上所示键入<2>,即将主用应用程序下载至设备,回车后,终端显示如下信息:

Please Start To Transfer File, Press <Ctrl+C> To Exit.

Waiting ...CCC

(6)     此时,从终端窗口选择[传送/发送文件],在弹出的对话框(如下图)中点击[浏览]按扭,选择需要下载的软件,并将下载使用的协议改为XModem。

图1-2 [发送文件]对话框

 

(7)     选择完成后,点击[发送]按钮,系统弹出如下图所示的界面。

图1-3 正在发送文件界面

 

(8)     程序成功下载后,此时,系统将再次进入串口子菜单,用户根据自己的实际需要进行其他选择,此处不再赘述。在BootWare主菜单,执行重启操作,设备将以新加载的主用应用程序启动,完成应用程序的升级。

1.7.2  通过以太网口从TFTP服务器完成应用程序的升级

·     TFTP介绍

TFTP(Trivial File Transfer Protocol,简单文件传输协议)协议适用于客户机和服务器之间不需要复杂交互的环境。

TFTP协议传输由客户端发起,当需要下载文件时,客户端向TFTP服务器发送读请求包,然后从服务器接收数据包,并向服务器发送确认信息;当需要上传文件时,由客户端向TFTP服务器发送写请求包,然后向服务器发送数据包,并接收服务器的确认信息。TFTP传输文件有两种模式:一种是二进制模式,用于传输程序文件;另一种是ASCII码模式,用于传输文本文件。

下面升级描述以设备作为TFTP客户端(Client)为例。

·     TFTP升级步骤

(1)     将设备通过以太网口与下载文件所在PC相连(需要知道该PC的IP地址),同时设备通过配置口外接一台PC(此PC与下载文件所在PC可以是同一台)。

(2)     在与以太网口相连的PC上运行TFTP Server程序,并指定升级程序的文件路径。

(3)     在与配置口相连的PC上运行终端仿真程序,启动设备,进入BootWare主菜单。

(4)     在BootWare主菜单中,键入<3>,回车后,系统进入以太网口子菜单:

==========================<Enter Ethernet SubMenu>==========================

|Note:the operating device is flash                                        |

|<1> Download Application Program To SDRAM And Run                         |

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

|<Ensure The Parameter Be Modified Before Downloading!>                    |

============================================================================

Enter your choice(0-5): 5

(5)     若操作文件下载,请键入<5>,修改以太网口相关参数的设置,系统界面如下:

==========================<ETHERNET PARAMETER SET>=========================

|Note:       '.' = Clear field.                                            |

|            '-' = Go to previous field.                                   |

|         Ctrl+D = Quit.                                                   |

==========================================================================

说明

上面的信息提示用户,在菜单项中键入“.”将清除该项设置,键入“-”将返回上一个设置项,键入<Ctrl+D>表示退出设置。

 

Protocol (FTP or TFTP) :TFTP

Load File Name         :bootware

                       :test.bin

Target File Name       :bootware

                       :test.bin

Server IP Address      :192.168.1.1

Local IP Address       :192.168.1.253

Gateway IP Address     :0.0.0.0

(6)     用户根据实际情况,完成上面相关信息的输入后,系统再次进入以太网口子菜单:

==========================<Enter Ethernet SubMenu>==========================

|Note:the operating device is flash                                        |

|<1> Download Application Program To SDRAM And Run                         |

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

|<Ensure The Parameter Be Modified Before Downloading!>                    |

============================================================================

Enter your choice(0-5): 2

 

(7)     在如上所示的以太网口子菜单中键入<2>,即将主用应用程序下载至设备中,回车后,终端显示如下信息:

Loading.....................................................................

............................................................................

............................................................................

......Done!

11518976 bytes downloaded!

Updating File flash:/test.bin......................Done!

(8)     上面的信息,表明文件下载成功!此时,系统将再次进入以太网口子菜单,用户根据自己的实际需要进行选择,此处不再赘述。

1.7.3  通过以太网口从FTP服务器完成应用程序的升级

·     FTP介绍

通过以太网口,设备还可通过FTP(File Transfer Protocol,文件传输协议)来完成软件升级。

下面升级描述以设备作为FTP客户端(Client)为例。

·     FTP升级步骤

(1)     将设备通过管理/升级用以太网接口与下载文件所在PC相连(需要知道该PC的IP地址),同时设备通过配置口外接一台PC(此PC与下载文件所在PC可以是同一台)。

(2)     在与以太网口相连的PC上运行FTP Server程序,并指定升级程序的文件路径,完成登录用户名、用户口令的设置。

(3)     在与配置口相连的PC上运行终端仿真程序,启动设备,进入BootWare主菜单。

(4)     请参考TFTP升级步骤中对应的描述,此处不再赘述。

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!