• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

01-基础配置配置指导

目录

13-BootWare管理配置

本章节下载 13-BootWare管理配置  (554.71 KB)

13-BootWare管理配置

目 

1 BootWare管理配置

1.1 简介

1.1.1 BootWare程序文件

1.1.2 应用程序文件

1.2 进入BootWare基本段菜单(适用于LSU1SUPB0主控板)

1.2.1 修改串口参数

1.2.2 升级BootWare扩展段

1.2.3 升级完整的BootWare

1.2.4 启动BootWare扩展段

1.2.5 启动备份的BootWare扩展段

1.3 进入BootWare基本段菜单(适用于除LSU1SUPB0之外的主控板)

1.3.2 修改串口参数

1.3.3 升级BootWare扩展段

1.3.4 升级完整的BootWare

1.3.5 启动BootWare扩展段

1.3.6 启动备份的BootWare扩展段

1.4 进入BootWare扩展段菜单(适用于LSU1SUPB0主控板)

1.4.1 启动应用程序

1.4.2 进入串口子菜单

1.4.3 进入网管口子菜单

1.4.4 进入文件控制子菜单

1.4.5 恢复出厂配置启动

1.4.6 跳过当前系统配置

1.4.7 进入BootWare操作子菜单

1.4.8 跳过Console口登录认证

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

1.4.10 进入BootWare扩展段辅助菜单

1.5 进入BootWare扩展段菜单(适用于除LSU1SUPB0之外的主控板)

1.5.1 启动应用程序

1.5.2 进入串口子菜单

1.5.3 进入网管口子菜单

1.5.4 进入文件控制子菜单

1.5.5 恢复出厂配置启动

1.5.6 跳过当前系统配置

1.5.7 进入BootWare操作子菜单

1.5.8 跳过Console口登录认证

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

1.5.10 进入BootWare扩展段辅助菜单

1.6 BootWare快捷键

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

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

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

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

 


1 BootWare管理配置

说明

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

·     本文中所有操作,建议仅在单主控板环境下执行。操作前,请先将串口线连接该主控板上的Console口,网线连接该主控板上的网管口,通过Console口登录设备后在执行相应操作。

 

1.1  简介

1.1.1  BootWare程序文件

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

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

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

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

1.1.2  应用程序文件

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

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

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

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

说明

·     用于启动的应用程序文件,既可以是IPE文件,还可以是BIN文件;当使用BIN文件作为启动的程序文件时,需要Boot软件包和System软件包各一个。关于软件包的详细介绍,请参见“基础配置指导”中的“软件升级”。

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

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

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

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

 

1.2  进入BootWare基本段菜单(适用于LSU1SUPB0主控板)

设备上电后,通过串口(Console口)连接设备,在终端显示信息中出现“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...                                  

Press Ctrl+T to start memory test                                              

                                                                               

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

|<1> Modify Serial Interface Parameter                                     |   

|<2> Update Extended BootWare                                              |   

|<3> Update Full BootWare                                                  |   

|<4> Boot Extended BootWare                                                |   

|<5> Boot Backup Extended BootWare                                         |   

|<0> Reboot                                                                |   

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

Ctrl+U: Access BASIC ASSISTANT MENU                                            

Enter your choice(0-5):

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

菜单项

解释

<1> Modify Serial Interface Parameter

修改串口参数

<2> Update Extended BootWare

升级BootWare扩展段

<3> Update Full BootWare

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

<4> Boot Extended BootWare

启动BootWare扩展段

<5> Boot Backup Extended 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 Extended BootWare? [Y/N]Y

Updating Extended 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 Extended BootWare? [Y/N]Y

Updating Extended BootWare...............Done.

1.2.4  启动BootWare扩展段

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

Enter your choice(0-5): 4                                                      

Booting Normal Extended BootWare                                               

The Extended BootWare is self-decompressing........Done.                       

                                                                               

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

*                                                                          *   

*                         BootWare, Version 1.33                           *   

*                                                                          *   

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

Compiled Date         : Nov 20 2014                                                

CPU Type              : XLP316                                                 

CPU Clock Speed       : 1200MHz                                                

Memory Type           : DDR3 SDRAM                                             

Memory Size           : 8192MB                                                  

Memory Speed          : 667MHz                                                 

BootWare Size         : 1536KB                                                 

Flash Size            : 500MB                                                   

BASIC CPLD Version    : 4.0                                                    

EXTENDED CPLD Version : 3.0                                                    

PCB Version           : Ver.A                                                   

                                                                               

                                                                               

BootWare Validating...                                                          

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...

1.2.5  启动备份的BootWare扩展段

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

Enter your choice(0-5): 5

Booting Normal Extended BootWare                                                

The Extended BootWare is self-decompressing........Done.                       

                                                                               

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

*                                                                          *   

*                         BootWare, Version 1.33                           *   

*                                                                          *   

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

Compiled Date         : Nov 20 2014                                                 

CPU Type              : XLP316                                                 

CPU Clock Speed       : 1200MHz                                                

Memory Type           : DDR3 SDRAM                                             

Memory Size           : 8192MB                                                  

Memory Speed          : 667MHz                                                 

BootWare Size         : 1536KB                                                 

Flash Size            : 500MB                                                   

BASIC CPLD Version    : 4.0                                                    

EXTENDED CPLD Version : 3.0                                                    

PCB Version           : Ver.A                                                   

                                                                               

                                                                               

BootWare Validating...                                                          

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...

1.3  进入BootWare基本段菜单(适用于除LSU1SUPB0之外的主控板)

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

RAM test successful.                                                           

Press Ctrl+T to start five-step full RAM test...                               

Press Ctrl+Y to start nine-step full RAM test...                                

System is starting...                                                          

Press Ctrl+D to access BASIC-BOOTWARE MENU...                                  

                                                                                

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

|<1> Modify Serial Interface Parameter                                     |   

|<2> Update Extended BootWare                                              |   

|<3> Update Full BootWare                                                  |   

|<4> Boot Extended BootWare                                                |   

|<5> Boot Backup Extended BootWare                                         |   

|<0> Reboot                                                                |   

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

Ctrl+U: Access BASIC ASSISTANT MENU                                            

Enter your choice(0-5):

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

菜单项

解释

<1> Modify Serial Interface Parameter

修改串口参数

<2> Update Extended BootWare

升级BootWare扩展段

<3> Update Full BootWare

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

<4> Boot Extended BootWare

启动BootWare扩展段

<5> Boot Backup Extended BootWare

启动备份的BootWare扩展段

<0> Reboot

重启设备

 

1.3.2  修改串口参数

在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.3.3  升级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 Extended BootWare? [Y/N]Y

Updating Extended BootWare...............Done.

1.3.4  升级完整的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 Extended BootWare? [Y/N]Y

Updating Extended BootWare...............Done.

1.3.5  启动BootWare扩展段

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

Enter your choice(0-5): 4

Booting Normal Extended BootWare

The Extended BootWare is self-decompressing.........Done.

 

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

*                                                                          *   

*                         BootWare, Version 1.03                           *   

*                                                                          *   

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

Compiled Date       : Jul 19 2014                                              

CPU Type            : XLP208 Rev A2                                            

CPU Clock Speed     : 1000MHz                                                  

Memory Type         : DDR3 SDRAM                                               

Memory Size         : 8192MB                                                   

Memory Speed        : 667MHz                                                   

BootWare Size       : 1536KB                                                   

Flash Size          : 4MB                                                      

                                                                               

                                                                                

BootWare Validating...                                                         

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...

1.3.6  启动备份的BootWare扩展段

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

Enter your choice(0-5): 5

Booting Backup Extended BootWare                                               

The Extended BootWare is self-decompressing.........Done.

                                                                               

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

*                                                                          *   

*                         BootWare, Version 1.03                           *   

*                                                                          *   

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

Compiled Date       : Jul 19 2014                                              

CPU Type            : XLP208 Rev A2                                             

CPU Clock Speed     : 1000MHz                                                  

Memory Type         : DDR3 SDRAM                                               

Memory Size         : 8192MB                                                    

Memory Speed        : 667MHz                                                   

BootWare Size       : 1536KB                                                   

Flash Size          : 4MB                                                      

                                                                                

                                                                               

BootWare Validating...                                                         

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...

1.4  进入BootWare扩展段菜单(适用于LSU1SUPB0主控板)

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

System is starting...                                                          

Press Ctrl+D to access BASIC-BOOTWARE MENU...                                  

Press Ctrl+T to start memory test                                              

Booting Normal Extended BootWare                                               

The Extended BootWare is self-decompressing........Done.                       

                                                                               

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

*                                                                          *   

*                         BootWare, Version 1.33                           *   

*                                                                          *   

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

Compiled Date         : Nov 20 2014                                              

CPU Type              : XLP316                                                 

CPU Clock Speed       : 1200MHz                                                 

Memory Type           : DDR3 SDRAM                                             

Memory Size           : 8192MB                                                 

Memory Speed          : 667MHz                                                  

BootWare Size         : 1536KB                                                 

Flash Size            : 500MB                                                  

BASIC CPLD Version    : 4.0                                                     

EXTENDED CPLD Version : 3.0                                                    

PCB Version           : Ver.A                                                  

                                                                               

                                                                                

BootWare Validating...                                                         

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...                               

在出现“Press Ctrl+B to access EXTENDED-BOOTWARE 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.                           

                                                                               

==========================<EXTENDED-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> Skip Authentication for Console Login                                 |   

|<9> Storage Device Operation                                              |   

|<0> Reboot                                                                |   

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

Ctrl+Z: Access EXTENDED ASSISTANT MENU                                         

Ctrl+F: Format File System                                                     

Enter your choice(0-9):

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

菜单项

解释

<1> Boot System

启动应用程序

<2> Enter Serial SubMenu

进入串口子菜单

启动文件较大,通过串口(Console口)升级启动文件速度较慢,推荐您使用网管口升级启动文件

<3> Enter Ethernet SubMenu

进入网管口子菜单

<4> File Control

进入文件控制子菜单

<5> Restore to Factory Default Configuration

恢复出厂配置启动

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

<6> Skip Current System Configuration

跳过当前系统配置

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

<7> BootWare Operation Menu

进入BootWare操作子菜单

<8> Skip Authentication for Console Login

跳过Console口登录认证

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

<9> Storage Device Operation

进入存储介质操作子菜单

<0> Reboot

重启设备

 

说明

关于密码恢复功能的详细介绍,请参见“基础配置指导”中的“设备管理”。

 

1.4.1  启动应用程序

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

Enter your choice(0-9): 1

Loading the main image files...                                                

Loading file flash:/s10500-cmw710-system-R7180.bin........................   

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

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

.........................Done.                                                 

Loading file flash:/s10500-cmw710-boot-R7180.bin..........................   

....Done.                                                                       

                                                                               

Image file flash:/s10500-cmw710-boot-R7180.bin is self-decompressing......   

....................................................Done.                      

System image is starting...                                                    

Line aux1 is available.                                                        

                                                                                

                                                                               

Press ENTER to get started.

1.4.2  进入串口子菜单

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

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

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

|Note:the operating device is flash                                        |   

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

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                     |   

|<5> Modify Serial Interface Parameter                                     | 

|<0> Exit To Main Menu                                                     |   

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

Enter your choice(0-5):

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

菜单项

解释

<1> Download Image Program To SDRAM And Run

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

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

<2> Update Main Image File

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

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

<3> Update Backup Image File

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

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

<4> Download Files(*.*)

加载文件到当前存储介质

<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

Waiting ...CCC

Download successfully!

47979456 bytes downloaded!

Updating File flash:/test-boot-r7328.bin..............................................

..Done.

1.4.3  进入网管口子菜单

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

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

|Note:the operating device is flash                                        |   

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

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                                   |

|<5> Modify Ethernet Parameter                                             |   

|<0> Exit To Main Menu                                                     |   

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

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

Enter your choice(0-5):

表1-5 网管口子菜单项解释

菜单项

解释

<1> Download Image Program To SDRAM And Run

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

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

<2> Update Main Image File

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

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

<3> Update Backup Image File

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

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

<4> Download Files(*.*)

加载文件到当前存储介质

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

<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) :FTP                                                    

Load File Name         :S10500.ipe                                            

                       :                                                       

Target File Name       :S10500.ipe                                            

                       :                                                        

Server IP Address      :172.1.88.125                                           

Local IP Address       :172.1.88.22                                            

Subnet Mask            :0.0.0.0                                                 

Gateway IP Address     :0.0.0.0                                                

FTP User Name          :lhw                                                    

FTP User Password      :***

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

显示

说明

'.' = 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地址

Local IP Address

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

Subnet Mask

子网络掩码

Gateway IP Address

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

FTP User Name

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

FTP User Password

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

 

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

Enter your choice(0-5):2

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

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

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

..........................Done.                                                

334891008 bytes downloaded!                                                    

The file is exist,will you overwrite it? [Y/N]Y                                

Image file S10500-CMW710-BOOT-R7180.bin is self-decompressing...               

Saving file flash:/S10500-CMW710-BOOT-R7180.bin ............................   

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

....................................................Done.                      

Image file S10500-CMW710-SYSTEM-R7180.bin is self-decompressing...             

Saving file flash:/S10500-CMW710-SYSTEM-R7180.bin ..........................   

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

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

Done.

1.4.4  进入文件控制子菜单

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

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

|Note:the operating device is flash                                        |   

|<1> Display All File(s)                                                   |   

|<2> Set Image File type                                                   |   

|<3> Set Bin File type                                                     |   

|<4> Delete File                                                           |   

|<5> Copy File                                                             |

|<0> Exit To Main Menu                                                     |   

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

Enter your choice(0-5):

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

Enter your choice(0-5): 1                                                      

                                                                                

Display all file(s) in flash:                                                  

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   2714337   Mar/19/2013 02:03:23 N/A    flash:/logfile/logfile.log      |   

|2   40095744  Aug/08/2014 11:16:57 M      flash:/s10500-cmw710-boot-R7180.|   

|bin                                                                       |   

|3   1948      Mar/18/2013 09:59:14 N/A    flash:/zss.cfg                  |   

|4   929964    Mar/18/2013 09:59:15 N/A    flash:/zss.mdb                  |   

|5   16        Mar/10/2013 19:18:43 N/A    flash:/versionInfo/versionCtl.da|   

|t                                                                         |   

|6   1056      Mar/10/2013 19:18:43 N/A    flash:/versionInfo/version0.dat |   

|7   86        Mar/18/2013 09:59:13 N/A    flash:/ifindex.dat              |   

|8   294388736 Aug/08/2014 11:27:50 M      flash:/s10500-cmw710-system-R718|   

|0.bin                                                                     |   

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

说明

在文件控制子菜单中,查看设备当前存储介质路径下的文件时,最多可以显示998个文件。

 

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

Enter your choice(0-5): 3                                                      

                                                                               

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   40095744  Aug/08/2014 11:16:57 M      flash:/s10500-cmw710-boot-R7180.|   

|bin                                                                       |   

|2   294388736 Aug/08/2014 11:27:50 M      flash:/s10500-cmw710-system-R718|   

|0.bin                                                                     |   

|0   Exit                                                                  |   

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

Note:Select .bin files. One but only one boot image and system image must      

be included.                                                                   

Enter file No.(Allows multiple selection):1                                    

Enter another file No.(0-Finish choice):2                                      

Enter another file No.(0-Finish choice):0                                      

You have selected:                                                             

flash:/s10500-cmw710-boot-R7180.bin                                            

flash:/s10500-cmw710-system-R7180.bin       

 

Modify the file attribute:                                                     

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

|<1>+Main                                                                  |   

|<2>+Backup                                                                |   

|<0> Exit                                                                  |   

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

Enter your choice(0-2):                                                                      

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

Enter your choice(0-2):2

Set the file attribute success!

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

Enter your choice(0-5): 4                                                      

                                                                               

Deleting the file in flash:                                                    

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   2714337   Mar/19/2013 02:03:23 N/A    flash:/logfile/logfile.log      |   

|2   1948      Mar/18/2013 09:59:14 N/A    flash:/zss.cfg                  |   

|3   929964    Mar/18/2013 09:59:15 N/A    flash:/zss.mdb                  |   

|4   16        Mar/10/2013 19:18:43 N/A    flash:/versionInfo/versionCtl.da|   

|t                                                                         |   

|5   1056      Mar/10/2013 19:18:43 N/A    flash:/versionInfo/version0.dat |   

|6   86        Mar/18/2013 09:59:13 N/A    flash:/ifindex.dat              |   

|7   294388736 Aug/08/2014 11:27:50 M+B    flash:/s10500-cmw710-system-R718|   

|0.bin                                                                     |   

|0   Exit                                                                  |   

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

Enter file No.:

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

Enter file No.:7                                                               

The file you selected is flash:/s10500-cmw710-system-R7180.bin,Delete it?      

[Y/N]Y                                                                          

Deleting.........................................Done.

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

Enter your choice(0-5): 5

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   2714337   Mar/19/2013 02:03:23 N/A    flash:/logfile/logfile.log      |   

|2   1948      Mar/18/2013 09:59:14 N/A    flash:/zss.cfg                  |   

|3   929964    Mar/18/2013 09:59:15 N/A    flash:/zss.mdb                  |   

|4   16        Mar/10/2013 19:18:43 N/A    flash:/versionInfo/versionCtl.da|   

|t                                                                         |   

|5   1056      Mar/10/2013 19:18:43 N/A    flash:/versionInfo/version0.dat |   

|6   86        Mar/18/2013 09:59:13 N/A    flash:/ifindex.dat              |   

|0   Exit                                                                  |   

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

Enter file No.:1

The selected file is :flash:/logfile/logfile.log

Choose copy dest device :

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

|NO.  Device Name  File System  Total Size  Available Space                |

|1    flash        JFFS2        503808KB    461393KB                       |

|0    Exit                                                                 |

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

Enter your choice(0-1):1

The destination file can't be the same as the source file. 

1.4.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.4.6  跳过当前系统配置

在BootWare主菜单中,键入<6>,回车后,设备将在下次加载主机软件时,忽略配置文件中的所有配置;但再次重新启动后,设备仍会以配置文件启动。

Enter your choice(0-9): 6

Flag Set Success.

1.4.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-7 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 Extended BootWare? [Y/N]Y                                  

Begin to backup the Extended BootWare.......Done.

(1)     在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 Extended BootWare? [Y/N]Y                                 

Begin to restore Normal Extended BootWare.......Done.

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

Enter your choice(0-4):3

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

|<1> Update Full BootWare                                                  |

|<2> Update Extended BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):4

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

菜单项

解释

<1> Update Full BootWare

通过串口升级完整BootWare

<2> Update Extended BootWare

通过串口升级BootWare扩展段

<3> Update Basic BootWare

通过串口升级BootWare基本段

<4> Modify Serial Interface Parameter

修改串口参数

<0> Exit To Main Menu

返回到上一级目录

 

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

Enter your choice(0-4):4

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

|<1> Update Full BootWare                                                  |

|<2> Update Extended BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):

表1-9 BootWare网管口操作子目录菜单项解释

菜单项

解释

<1> Update Full BootWare

通过网管口升级完整BootWare

<2> Update Extended BootWare

通过网管口升级BootWare扩展段

<3> Update Basic BootWare

通过网管口升级BootWare基本段

<4> Modify Ethernet Parameter

修改网管口参数

<0> Exit To Main Menu

返回到上一级目录

 

1.4.8  跳过Console口登录认证

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

设备上选择跳过Console口登录认证密码时,由于操作过程不同,导致最后的登录方式也不同,具体情况参见下图。

图1-1 跳过Console口登录认证密码操作

 

说明

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

·     配置设备上跳过Console口认证密码操作后,第一次设备重启后生效,退出Console口登录界面并再执行登录操作时也不需要执行Console口登录认证密码的配置,当再次启动设备时,系统将会执行Console口登录认证密码的配置。

·     当设备上存在主用主控板和备用主控板时,执行清除Console口认证密码操作将不会生效。

 

Enter your choice(0-9): 8

Clear Image Password Success!

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

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

Enter your choice(0-9): 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-10 存储介质操作目录菜单项解释

菜单项

解释

<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.4.10  进入BootWare扩展段辅助菜单

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

=========================<EXTENDED 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 EXTENDED ASSISTANT MENU.              

Info: Enter the address and length in hexadecimal notation.                    

Info: Only 4 bytes mode supported.                                             

Enter memory address:80                                                        

Enter memory length:2                                                          

00000080: 3c1b8f10 277b0a04                      ........

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

Enter your choice(0-2): 2

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

Info: Enter the address and value in hexadecimal notation.                     

Info: Only 4 bytes mode supported.                                             

Enter start address:80                                                         

Enter end address:90                                                           

Enter the value to search for:0000                                             

00000080: 3c1b8f10 277b0a04 03600008 00000000    <...'{...`......

说明

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

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

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

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

·     如果没有找到待搜索的值或者待搜索的值不足4个字节时,设备会提示“The value not fount.”。

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

 

1.5  进入BootWare扩展段菜单(适用于除LSU1SUPB0之外的主控板)

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

RAM test successful.                                                           

Press Ctrl+T to start five-step full RAM test...                               

Press Ctrl+Y to start nine-step full RAM test...                               

System is starting...                                                          

Press Ctrl+D to access BASIC-BOOTWARE MENU...                                  

Booting Normal Extended BootWare                                               

The Extended BootWare is self-decompressing.........Done.                      

                                                                               

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

*                                                                          *   

*                         BootWare, Version 1.03                           *   

*                                                                          *   

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

Compiled Date       : Jul 19 2014                                              

CPU Type            : XLP208 Rev A2                                            

CPU Clock Speed     : 1000MHz                                                  

Memory Type         : DDR3 SDRAM                                               

Memory Size         : 8192MB                                                   

Memory Speed        : 667MHz                                                    

BootWare Size       : 1536KB                                                   

Flash Size          : 4MB                                                      

                                                                                

                                                                               

BootWare Validating...                                                         

Press Ctrl+B to access EXTENDED-BOOTWARE MENU...                                

                                                                               

Password recovery capability is enabled.                                       

Note: The current operating device is flash                                    

Enter < Storage Device Operation > to select device.                           

                                                                               

==========================<EXTENDED-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> Skip Authentication for Console Login                                 |   

|<9> Storage Device Operation                                              |   

|<0> Reboot                                                                |   

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

Ctrl+Z: Access EXTENDED ASSISTANT MENU                                          

Ctrl+F: Format File System                                                     

Enter your choice(0-9):

在出现“Press Ctrl+B to access EXTENDED-BOOTWARE 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.

 

==========================<EXTENDED-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> Skip Authentication for Console Login                                 |   

|<9> Storage Device Operation                                              |   

|<0> Reboot                                                                |   

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

Ctrl+Z: Access EXTENDED ASSISTANT MENU                                         

Ctrl+A: Enter Command Line                                                      

Ctrl+F: Format File System                                                     

Enter your choice(0-9):

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

菜单项

解释

<1> Boot System

启动应用程序

<2> Enter Serial SubMenu

进入串口子菜单

启动文件较大,通过串口(Console口)升级启动文件速度较慢,推荐您使用网管口升级启动文件

<3> Enter Ethernet SubMenu

进入网管口子菜单

<4> File Control

进入文件控制子菜单

<5> Restore to Factory Default Configuration

恢复出厂配置启动

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

<6> Skip Current System Configuration

跳过当前系统配置

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

<7> BootWare Operation Menu

进入BootWare操作子菜单

<8> Skip Authentication for Console Login

跳过Console口登录认证

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

<9> Storage Device Operation

进入存储介质操作子菜单

<0> Reboot

重启设备

 

说明

关于密码恢复功能的详细介绍,请参见“基础配置配置指导”中的“设备管理”。

 

1.5.1  启动应用程序

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

Enter your choice(0-9): 1

Loading the main image files...                                                

Loading file flash:/s10500-cmw710-system-R7180.bin

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

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

.........................Done.                                                 

Loading file flash:/s10500-cmw710-boot-R7180.bin..........................   

....Done.                                                                      

                                                                               

Image file flash:/s10500-cmw710-boot-R7180.bin is self-decompressing......   

....................................................Done.                      

System image is starting...                                                    

Line aux1 is available.                                                         

                                                                               

                                                                               

Press ENTER to get started.

1.5.2  进入串口子菜单

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

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

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

|Note:the operating device is flash                                        |   

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

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                                   |   

|<5> Modify Serial Interface Parameter                                     |   

|<0> Exit To Main Menu                                                     |   

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

Enter your choice(0-5):

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

菜单项

解释

<1> Download Image Program To SDRAM And Run

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

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

<2> Update Main Image File

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

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

<3> Update Backup Image File

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

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

<4> Download Files(*.*)

加载文件到当前存储介质

<5> Modify Serial Interface Parameter

进入修改串口参数子菜单

<0> Exit To Main Menu

返回到上一级目录

 

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

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

Enter your choice(0-5):2

Waiting ...CCC

Download successfully!

47979456 bytes downloaded!

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

..Done.

1.5.3  进入网管口子菜单

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

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

|Note:the operating device is flash                                        |   

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

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                                   |   

|<5> Modify Ethernet Parameter                                             |   

|<0> Exit To Main Menu                                                     |   

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

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

Enter your choice(0-5):

表1-13 网管口子菜单项解释

菜单项

解释

<1> Download Image Program To SDRAM And Run

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

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

<2> Update Main Image File

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

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

<3> Update Backup Image File

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

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

<4> Download Files(*.*)

加载文件到当前存储介质

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

<5> Modify Ethernet Parameter

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

<0> Exit To Main Menu

返回到上一级目录

 

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

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

Enter your choice(0-5): 5                                                       

                                                                               

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

|Note:       '.' = Clear field.                                            |   

|            '-' = Go to previous field.                                   |   

|         Ctrl+D = Quit.                                                   |   

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

Protocol (FTP or TFTP) :ftp                                                    

Load File Name         : S10500.ipe                                     

                       :                                                       

Target File Name       : S10500.ipe                                     

                       :                                                       

Server IP Address      :192.168.2.79                                           

Local IP Address       :192.168.2.105                                           

Subnet Mask            :255.255.255.0                                          

Gateway IP Address     :192.168.2.105                                          

FTP User Name          :123                                                  

FTP User Password      :***

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

显示

说明

'.' = 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地址

Local IP Address

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

Subnet Mask

子网络掩码

Gateway IP Address

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

FTP User Name

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

FTP User Password

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

 

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

Enter your choice(0-5):2

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

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

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

.................................................Done.                         

227301376 bytes downloaded!                                                    

Image file S10500-CMW710-BOOT-R7180.bin is self-decompressing...             

Saving file flash:/S10500-CMW710-BOOT-R7180.bin ..........................   

........................................................Done.                  

Image file S10500-CMW710-SYSTEM-R7180.bin is self-decompressing...           

Saving file flash:/S10500-CMW710-SYSTEM-R7180.bin ........................   

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

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

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

............Done.

1.5.4  进入文件控制子菜单

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

Enter your choice(0-9): 4                                                      

                                                                               

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

|Note:the operating device is flash                                        |   

|<1> Display All File(s)                                                   |   

|<2> Set Image File type                                                   |   

|<3> Set Bin File type                                                     |   

|<4> Delete File                                                           |   

|<5> Copy File                                                             |   

|<0> Exit To Main Menu                                                     |   

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

Enter your choice(0-5):

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

Enter your choice(0-5): 1

 

Display all file(s) in flash:                                                  

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   4577      Feb/19/2013 13:07:54 N/A    flash:/labtop.cfg               |   

|2   141952    Feb/19/2013 13:07:54 N/A    flash:/labtop.mdb               |   

|3   341547    Feb/20/2013 12:00:15 N/A    flash:/logfile/logfile.log      |   

|4   0         Jul/29/2014 16:32:27 N/A    flash:/test.cfg                 |   

|5   1681      Jul/29/2014 17:34:42 N/A    flash:/vlan.txt                 |   

|6   8299      Jul/29/2014 17:36:00 N/A    flash:/test.txt                 |   

|7   27708416  Jul/31/2014 09:27:30 M      flash:/S10500-CMW710-BOOT-R7180.|   

|bin                                                                       |   

|8   208249856 Jul/31/2014 09:28:27 M      flash:/S10500-CMW710-SYSTEM-R718|   

|0.bin                                                                     |   

|0   Exit                                                                  |   

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

说明

在文件控制子菜单中,查看设备当前存储介质路径下的文件时,最多可以显示998个文件。

 

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

Enter your choice(0-5): 3                                                      

                                                                               

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   27708416  Jul/31/2014 09:27:30 M      flash:/S10500-CMW710-BOOT-R7180.|   

|bin                                                                       |   

|2   208249856 Jul/31/2014 09:28:27 M      flash:/S10500-CMW710-SYSTEM-R718|   

|0.bin                                                                     |   

|0   Exit                                                                  |   

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

Note:Select .bin files. One but only one boot image and system image must      

be included.                                                                    

Enter file No.(Allows multiple selection):1                                    

Enter another file No.(0-Finish choice):2                                      

Enter another file No.(0-Finish choice):0                                       

You have selected:                                                             

flash:/S10500-CMW710-BOOT-R7180.bin                                          

flash:/S10500-CMW710-SYSTEM-R7180.bin                                        

                                                                               

Modify the file attribute:                                                     

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

|<1>+Main                                                                  |   

|<2>+Backup                                                                |   

|<0> Exit                                                                  |   

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

Enter your choice(0-2):

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

Enter your choice(0-2):2

This operation may take several minutes. Please wait....

Set the file attribute success!

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

Enter your choice(0-5): 4

 

Deleting the file in flash:                                                    

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

Display all file(s) in flash:                                                  

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   4577      Feb/19/2013 13:07:54 N/A    flash:/labtop.cfg               |   

|2   141952    Feb/19/2013 13:07:54 N/A    flash:/labtop.mdb               |   

|3   341547    Feb/20/2013 12:00:15 N/A    flash:/logfile/logfile.log      |   

|4   0         Jul/29/2014 16:32:27 N/A    flash:/test.cfg                 |   

|5   1681      Jul/29/2014 17:34:42 N/A    flash:/vlan.txt                 |   

|6   8299      Jul/29/2014 17:36:00 N/A    flash:/test.txt                 |   

|7   27708416  Jul/31/2014 09:27:30 M      flash:/S10500-CMW710-BOOT-R7180.|    

|bin                                                                       |   

|8   208249856 Jul/31/2014 09:28:27 M      flash:/S10500-CMW710-SYSTEM-R718|   

|0.bin                                                                     |   

|0   Exit                                                                  |   

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

Enter file No.:1

The file you selected is

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

Deleting...Done.

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

Enter your choice(0-5): 5                                                      

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

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

|NO. Size(B)   Time                 Type   Name                            |   

|1   141952    Feb/19/2013 13:07:54 N/A    flash:/labtop.mdb               |   

|2   341547    Feb/20/2013 12:00:15 N/A    flash:/logfile/logfile.log      |   

|3   0         Jul/29/2014 16:32:27 N/A    flash:/test.cfg                 |   

|4   1681      Jul/29/2014 17:34:42 N/A    flash:/vlan.txt                 |   

|5   8299      Jul/29/2014 17:36:00 N/A    flash:/test.txt                 |   

|6   27708416  Jul/31/2014 09:27:30 M      flash:/S10500-CMW710-BOOT-R7180.|   

|bin                                                                       |   

|7   208249856 Jul/31/2014 09:28:27 M      flash:/S10500-CMW710-SYSTEM-R718|   

|0.bin                                                                     |   

|0   Exit                                                                  |   

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

Enter file No.:1                                                               

The selected file is :flash:/labtop.mdb                                        

Choose copy dest device :                                                      

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

|NO.  Device Name  File System  Total Size  Available Space                |   

|1    flash        YAFFS2       1048576KB   792990KB                       |   

|0    Exit                                                                 |   

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

Enter your choice(0-1):1                                                        

The destination file can't be the same as the source file.

1.5.5  恢复出厂配置启动

注意

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

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

·     当设备上存在主用主控板和备用主控板时,执行恢复出厂配置启动操作将不会生效。

 

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

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

Enter your choice(0-8): 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-8): 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.5.6  跳过当前系统配置

在BootWare主菜单中,键入<6>,回车后,设备将在下次加载主机软件时,忽略配置文件中的所有配置;但再次重新启动后,设备仍会以配置文件启动。

Enter your choice(0-9): 6

Flag Set Success.

1.5.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-15 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

返回到上一级目录

 

(2)     在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 Extended BootWare? [Y/N]Y                                  

Begin to backup the Extended BootWare.......Done.

(3)     在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 Extended BootWare? [Y/N]Y                                 

Begin to restore Normal Extended BootWare.......Done.

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

Enter your choice(0-4):3

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

|<1> Update Full BootWare                                                  |

|<2> Update Extended BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):4

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

菜单项

解释

<1> Update Full BootWare

通过串口升级完整BootWare

<2> Update Extended BootWare

通过串口升级BootWare扩展段

<3> Update Basic BootWare

通过串口升级BootWare基本段

<4> Modify Serial Interface Parameter

修改串口参数

<0> Exit To Main Menu

返回到上一级目录

 

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

Enter your choice(0-4):4

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

|<1> Update Full BootWare                                                  |

|<2> Update Extended BootWare                                                |

|<3> Update Basic BootWare                                                 |

|<4> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-4):

表1-17 BootWare网管口操作子目录菜单项解释

菜单项

解释

<1> Update Full BootWare

通过网管口升级完整BootWare

<2> Update Extended BootWare

通过网管口升级BootWare扩展段

<3> Update Basic BootWare

通过网管口升级BootWare基本段

<4> Modify Ethernet Parameter

修改网管口参数

<0> Exit To Main Menu

返回到上一级目录

 

1.5.8  跳过Console口登录认证

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

设备上选择跳过Console口登录认证密码时,由于操作过程不同,导致最后的登录方式也不同,具体情况参见下图。

图1-2 跳过Console口登录认证密码操作

 

说明

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

·     配置设备上跳过Console口认证密码操作后,第一次设备重启后生效,退出Console口登录界面并再执行登录操作时也不需要执行Console口登录认证密码的配置,当再次启动设备时,系统将会执行Console口登录认证密码的配置。

·     当设备上存在主用主控板和备用主控板时,执行清除Console口认证密码操作将不会生效。

 

Enter your choice(0-9): 8                                                      

Clear Image Password Success!

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

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

Enter your choice(0-8): 8

 

==============================<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-18 存储介质操作目录菜单项解释

菜单项

解释

<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.5.10  进入BootWare扩展段辅助菜单

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

=========================<EXTENDED 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 EXTENDED ASSISTANT MENU.              

Info: Enter the address and length in hexadecimal notation.                    

Info: Only 4 bytes mode supported.                                             

Enter memory address:80                                                        

Enter memory length:2                                                          

00000080: 00000000 00000000                      ........

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

Enter your choice(0-2): 2

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

Info: Enter the address and value in hexadecimal notation.                     

Info: Only 4 bytes mode supported.                                             

Enter start address:80                                                         

Enter end address:90                                                           

Enter the value to search for:0000                                             

00000080: 00000000 00000000 00000000 00000000    ................

说明

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

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

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

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

·     如果没有找到待搜索的值或者待搜索的值不足4个字节时,设备会提示“The value not fount.”。

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

 

1.6  BootWare快捷键

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

表1-19 BootWare快捷键

快捷键

BootWare中所在提示信息

功能

<Ctrl+B>

Press Ctrl+B to access EXTENDED-BOOTWARE MENU…

设备启动时进入BootWare扩展段

<Ctrl+C>

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

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

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

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

<Ctrl+D>

Press Ctrl+D to access BASIC-BOOTWARE MENU…

设备启动时进入BootWare基本段

Ctrl+D = Quit

表示退出参数设置页面

<Ctrl+F>

Ctrl+F: Format File System

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

<Ctrl+T>

Press Ctrl+T to start five-step full RAM test…

五步法内存测试

<Ctrl+Y>

Press Ctrl+Y to start nine-step full RAM test…

九步法内存测试

<Ctrl+Z>

Ctrl+Z: Access EXTENDED ASSISTANT MENU

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

 

说明

内存测试主要用于技术人员定位内存故障或检测内存状况时使用,建议您不要自行操作。

 

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 Image Program To SDRAM And Run                               |   

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                                   |   

|<5> Modify Serial Interface Parameter                                     |   

|<0> Exit To Main Menu                                                     |   

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

Enter your choice(0-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 Image Program To SDRAM And Run                               |   

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                                   |   

|<5> Modify Serial Interface Parameter                                     |   

|<0> Exit To Main Menu                                                     |   

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

Enter your choice(0-5): 2

说明

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

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

 

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

Please Select File .

XMODEM downloading ...CCC

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

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

 

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

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

 

(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 Image Program To SDRAM And Run                               |   

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                                   |   

|<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         : S10500.ipe                           

                       :                                                       

Target File Name       : S10500.ipe                           

                       :                                                       

Server IP Address      :192.168.1.1                                            

Local IP Address       :192.168.1.2                                            

Subnet Mask            :255.255.255.0                                          

Gateway IP Address     :192.168.1.3

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

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

|Note:the operating device is flash                                        |   

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

|<2> Update Main Image File                                                |   

|<3> Update Backup Image File                                              |   

|<4> Download Files(*.*)                                                   |   

|<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.                         

227301376 bytes downloaded!                                                    

Image file S10500-CMW710-BOOT-R7180.bin is self-decompressing...             

Saving file flash:/S10500-CMW710-BOOT-R7180.bin ..........................   

........................................................Done.                  

Image file S10500-CMW710-SYSTEM-R7180.bin is self-decompressing...           

Saving file flash:/S10500-CMW710-SYSTEM-R7180.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保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们