• 產品與解決方案
  • 行業解決方案
  • 服務
  • 支持
  • 合作夥伴
  • 關於我們

01-基礎配置指導

目錄

10-BootWare管理配置

本章節下載 10-BootWare管理配置  (356.75 KB)

10-BootWare管理配置


1 BootWare管理配置

注意

進入BootWare後不允許熱插拔CF卡。

 

說明

·     獨立運行模式和IRF模式下的操作相同,本文以獨立運行模式下的操作為例。

·     顯示信息的具體參數值請以實際情況為準,文中的舉例僅做參考。

 

1.1  簡介

1.1.1  BootWare程序文件

BootWare程序文件是設備啟動時用來引導應用程序的文件。完整的BootWare包含BootWare基本段和BootWare擴展段。

·     BootWare基本段是指完成係統基本初始化的BootWare,可以實現修改串口參數、升級BootWare等操作。

·     BootWare擴展段具有豐富的人機交互功能,用於接口的初始化,可以實現升級應用程序和引導係統。BootWare擴展段包括擴展段主菜單和擴展段輔助菜單兩部分:主菜單用於升級係統啟動文件、文件控製、修改係統工作模式等操作,輔助菜單用於查看、搜索設備內存和查看CF卡信息等操作。

BootWare基本段啟動後,可以在基本段菜單下加載升級BootWare擴展段。為了閱讀和便於理解,如果不做特殊說明,本文中BootWare擴展段主菜單將稱為BootWare主菜單。

1.1.2  應用程序文件

係統缺省定義了三個用於啟動的應用程序文件:主程序文件、備份程序文件、安全程序文件。當用戶在CF卡中加載了這三個應用程序文件時,係統將以此順序依次選擇這三個文件來啟動設備,直到設備正常啟動為止。如果用戶希望改變啟動文件,可以參考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中有一個文件為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基本段,則需要重新啟動設備,設備啟動過程中再執行相關操作。

DDR2 SDRAM 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.20)>=======================

|<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 S9500E BootWare, Version 1.22                      *

*                                                                          *

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

Copyright (c) 2004-2012 Hangzhou H3C Technologies Co., Ltd.

 

Compiled Date       : Dec  3 2012

CPU Type            : MPC8548E

CPU L1 Cache        : 32KB

CPU L2 Cache        : 512KB

CPU Clock Speed     : 1000MHz

Memory Type         : DDR2 SDRAM

Memory Size         : 1024MB

Memory Speed        : 400MHz

BootWare Size       : 4MB

Flash Size          : 128MB

cfa0 Size           : 247MB

NVRAM Size          : 1024KB

BASIC CPLD Version  : 003

EXTEND CPLD Version : 003

PCB Version         : Ver.B

 

 

Board self testing...........................

Board steady testing...                           [ PASS ]

Board SlotNo...                                   [   1  ]

Subcard exist testing...                          [ PASS ]

DX246  testing...                                 [ PASS ]

PHY88E1111  testing...                            [ PASS ]

CPLD1 testing...                                  [ PASS ]

CPLD2 testing...                                  [ PASS ]

NS16550 register testing...                       [ PASS ]

The default switch's Mac address...               [00:e0:fc:00:95:12]

CF Card testing...                                [ PASS ]

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.6  進入BootWare操作子菜單

Enter your choice(0-5): 5

Booting Backup Extend BootWare

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

Done!

 

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

*                                                                          *

*                   H3C S9500E BootWare, Version 1.22                      *

*                                                                          *

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

Copyright (c) 2004-2012 Hangzhou H3C Technologies Co., Ltd.

 

Compiled Date       : Dec  3 2012

CPU Type            : MPC8548E

CPU L1 Cache        : 32KB

CPU L2 Cache        : 512KB

CPU Clock Speed     : 1000MHz

Memory Type         : DDR2 SDRAM

Memory Size         : 1024MB

Memory Speed        : 400MHz

BootWare Size       : 4MB

Flash Size          : 128MB

cfa0 Size           : 247MB

NVRAM Size          : 1024KB

BASIC CPLD Version  : 003

EXTEND CPLD Version : 003

PCB Version         : Ver.B

 

 

Board self testing...........................

Board steady testing...                           [ PASS ]

Board SlotNo...                                   [   1  ]

Subcard exist testing...                          [ PASS ]

DX246  testing...                                 [ PASS ]

PHY88E1111  testing...                            [ PASS ]

CPLD1 testing...                                  [ PASS ]

CPLD2 testing...                                  [ PASS ]

NS16550 register testing...                       [ PASS ]

The default switch's Mac address...               [00:e0:fc:00:95:12]

CF Card testing...                                [ PASS ]

BootWare Validating...

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

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

1.3  進入BootWare擴展段菜單

設備上電後,如果未選擇進入基本段,則設備會提示是否選擇進入BootWare擴展段主菜單,終端屏幕上顯示如下信息:

DDR2 SDRAM 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 Extend BootWare

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

Done!

 

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

*                                                                          *

*                   H3C S9500E BootWare, Version 1.22                      *

*                                                                          *

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

Copyright (c) 2004-2012 Hangzhou H3C Technologies Co., Ltd.

 

Compiled Date       : Dec  3 2012

CPU Type            : MPC8548E

CPU L1 Cache        : 32KB

CPU L2 Cache        : 512KB

CPU Clock Speed     : 1000MHz

Memory Type         : DDR2 SDRAM

Memory Size         : 1024MB

Memory Speed        : 400MHz

BootWare Size       : 4MB

Flash Size          : 128MB

cfa0 Size           : 247MB

NVRAM Size          : 1024KB

BASIC CPLD Version  : 003

EXTEND CPLD Version : 003

PCB Version         : Ver.B

 

 

Board self testing...........................

Board steady testing...                           [ PASS ]

Board SlotNo...                                   [   1  ]

Subcard exist testing...                          [ PASS ]

DX246  testing...                                 [ PASS ]

PHY88E1111  testing...                            [ PASS ]

CPLD1 testing...                                  [ PASS ]

CPLD2 testing...                                  [ PASS ]

NS16550 register testing...                       [ PASS ]

The default switch's Mac address...               [00:e0:fc:00:95:12]

CF Card testing...                                [ PASS ]

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 cfa0

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> BootWare Operation Menu                                               |

|<7> Clear Super Password                                                  |

|<8> Storage Device Operation                                              |

|<9> Product Special 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> BootWare Operation Menu

進入BootWare操作子菜單

<7> Clear Super Password

清除Console口認證密碼

關閉密碼恢複功能後不支持該操作

<8> Storage Device Operation

進入存儲介質操作子菜單

<9> Product Special Operation

進入產品專用子菜單

<0> Reboot

重啟設備

 

說明

關於密碼恢複功能的詳細介紹,請參見1.5  配置密碼恢複功能

 

1.3.1  啟動應用程序

在Bootware主菜單中,鍵入<1>,回車後,係統啟動應用程序。

Enter your choice(0-9): 1

Starting to get the main application file--cfa0:/s9500e-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 cfa0                                         |

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

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Update User Private File                                              |

|<6> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-6):

表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> Update User Private File

加載用戶文件到當前存儲介質

關閉密碼恢複功能後不支持該操作

<6> Modify Serial Interface Parameter

進入修改串口參數子菜單

<0> Exit To Main Menu

返回到上一級目錄

 

在串口子菜單中,加載文件前需要先設置串口參數,操作步驟如下。

(1)     鍵入<6>,回車後,係統進入串口參數設置界麵:

===============================<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-6):2

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

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

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

..................................Done!

47979456 bytes downloaded!

Updating File cfa0:/test.bin..............................................

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

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

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

..Done!

1.3.3  進入以太網口子菜單

在BootWare主菜單中,鍵入<3>,回車後,係統進入以太網口子菜單:

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

|Note:the operating device is cfa0                                         |

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

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Update User Private File                                              |

|<6> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

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

Enter your choice(0-6):

表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> Update User Private File

加載用戶文件到當前存儲介質

關閉密碼恢複功能後不支持該操作

<6> Modify Ethernet Parameter

進入修改以太網參數的子菜單

<0> Exit To Main Menu

返回到上一級目錄

 

在以太網口子菜單中,加載文件前需要先設置以太網口參數,操作步驟如下。

(1)     鍵入<6>,回車後,進入以太網口參數設置界麵,修改以太網口相關參數:

Enter your choice(0-6):6

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

|Note:       '.' = Clear field.                                            |

|            '-' = Go to previous field.                                   |

|         Ctrl+D = Quit.                                                   |

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

Protocol (FTP or TFTP) :TFTP

Load File Name         :

                       :test.bin

Target File Name       :

                       :test.bin

Server IP Address      :192.168.2.26

Local IP Address       :192.168.2.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-6):2

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

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

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

..................................Done!

47979456 bytes downloaded!

Updating File cfa0:/test.bin..............................................

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

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

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

..Done!

1.3.4  進入文件控製子菜單

在BootWare主菜單中,鍵入<4>,回車後,係統進入文件控製子菜單。通過這個菜單可以查看存儲介質中保存的文件顯示類型、修改文件名、刪除文件等操作,提示信息如下:

Enter your choice(0-9): 4

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

|Note:the operating device is cfa0                                         |

|<1> Display All File(s)                                                   |

|<2> Set Application File type                                             |

|<3> Delete File                                                           |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-3):

(1)     在文件控製子菜單中,鍵入<1>,回車後,查看設備當前存儲介質路徑下的文件信息:

Enter your choice(0-3): 1

 

Display all file(s) in cfa0:

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

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

|NO. Size(B)   Time                 Type   Name                            |

|1   5602      Jun/03/2012 22:06:02 N/A    cfa0:/test.cfg                  |

|2   4714356   Jun/03/2012 19:11:10 N/A    cfa0:/logfile/logfile1.log      |

|3   936158    Jun/03/2012 19:26:00 N/A    cfa0:/diaglog/diagfile1.log     |

|4   4196112   Jun/03/2012 14:59:16 N/A    cfa0:/info.txt                  |

|5   53538808  Jun/03/2012 14:36:12 M      cfa0:/s9500e-test.bin       |

|6   57979456  Oct/04/2012 02:14:54 N/A    cfa0:/test.bin                  |

|7   3         Jun/03/2012 14:57:04 N/A    cfa0:/a.txt                     |

|8   6425      Jun/03/2012 16:15:22 N/A    cfa0:/startup.cfg               |

|9   717220    Jun/03/2012 19:10:14 N/A    cfa0:/s9500e_mr.btw              |

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

(2)     在文件控製子菜單中,鍵入<2>,回車後,係統進入設置文件屬性菜單,可以根據需要來選擇修改對應文件的屬性,比如選擇test.bin作為下次備用啟動文件,設備舉例如下。

Enter your choice(0-3): 2

 

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

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

|NO. Size(B)   Time                 Type   Name                             |

|1   53538808  Jun/03/2012 14:36:12 M      cfa0:/s9500e-test.bin        |

|2   57979456  Oct/04/2012 02:14:54 N/A    cfa0:/test.bin                   |

|0   Exit                                                                   |

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

Enter file No:2

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>,回車後,可以對設備存儲介質中的文件進行刪除操作。

Enter your choice(0-3): 3

 

Deleting the file in cfa0:

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

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

|NO. Size(B)   Time                 Type   Name                            |

|1   5602      Jun/03/2012 22:06:02 N/A    cfa0:/test.cfg                  |

|2   4714356   Jun/03/2012 19:11:10 N/A    cfa0:/logfile/logfile1.log      |

|3   936158    Jun/03/2012 19:26:00 N/A    cfa0:/diaglog/diagfile1.log     |

|4   4196112   Jun/03/2012 14:59:16 N/A    cfa0:/info.txt                  |

|5   53538808  Jun/03/2012 14:36:12 M      cfa0:/s9500e-test.bin       |

|6   57979456  Oct/04/2012 02:14:54 N/A    cfa0:/test.bin                  |

|7   3         Jun/03/2012 14:57:04 N/A    cfa0:/a.txt                     |

|8   6425      Jun/03/2012 16:15:22 N/A    cfa0:/startup.cfg               |

|9   717220    Jun/03/2012 19:10:14 N/A    cfa0:/s9500e_mr.btw              |

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

Enter file No:

輸入要刪除文件的編號,回車後,係統提示如下,表示刪除成功:

Enter file No:4

The file you selected is cfa0:/info.txt,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操作子菜單

在BootWare主菜單中,鍵入<6>,回車後,係統進入BootWare操作子菜單目錄,可以執行BootWare的升級操作。

Enter your choice(0-9): 6

 

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

|Note:the operating device is cfa0                                         |

|<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.7  清除Console口認證密碼

在BootWare主菜單中,鍵入<7>,回車並重啟設備後,係統將清除設備上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> BootWare Operation Menu                                               |

|<7> Clear Super Password                                                  |

|<8> Storage Device Operation                                              |

|<9> Product Special Operation                                             |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9): 7

Clear Application Password Success!

1.3.8  進入存儲介質操作子菜單

在BootWare主菜單中,鍵入<8>,回車後,係統進入存儲介質操作子菜單。

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

|<1> Boot System                                                           |

|<2> Enter Serial SubMenu                                                  |

|<3> Enter Ethernet SubMenu                                                |

|<4> File Control                                                          |

|<5> Restore to Factory Default Configuration                              |

|<6> BootWare Operation Menu                                               |

|<7> Clear Super Password                                                  |

|<8> Storage Device Operation                                              |

|<9> Product Special Operation                                             |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9): 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-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.9  進入產品專用子菜單

在BootWare主菜單中,鍵入<9>,回車後,係統進入產品專用子菜單:

Enter your choice(0-9): 9

========================<PRODUCT SPECIAL OPERATION>=========================

|<1> Modify Chassis ID Operation                                           |

|<2> Modify Working Mode                                                   |

|<3> Modify PCL Key                                                        |

|<4> Skip Current System Configuration                                     |

|<0> Exit To Main Menu                                                     |

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

表1-10 產品專用子菜單項解釋

菜單項

解釋

<1> Modify Chassis ID Operation

修改設備成員編號

關閉密碼恢複功能後不支持該操作

<2> Modify Working Mode

修改係統工作模式

<3> Modify PCL Key

修改PCL Key菜單,用戶可以通過該菜單修改ACL規則長度

<4> Skip Current System Configuration

忽略係統當前配置文件,該選項將使設備下次加載主機軟件時,忽略配置文件中的所有配置。

設置該選項後,僅第一次設備重啟後生效,再次啟動時設備仍會以下次啟動配置文件啟動

關閉密碼恢複功能後不支持該操作

<0> Exit To Main Menu

返回上一級目錄

 

1. 修改設備成員編號

(1)     在產品專用子菜單中,鍵入<1>,回車後,進入修改設備成員編號菜單:

Enter your choice(0-4): 1

==============================<CHASSIS ID SET>==============================

| Note:'*'indicates the current chassis ID                                 |

|      Change The Chassis ID Accordingly                                   |

|-------------------------<Chassis ID Available>---------------------------|

|<1> 0*                                                                    |

|<2> 1                                                                     |

|<3> 2                                                                     |

|<4> 3                                                                     |

|<5> 4                                                                     |

|<0> Exit                                                                  |

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

(2)     選擇修改設備成員編號,其中選項值“0”代表將設備切換到獨立運行模式,選項值“1”、“2”、“3”和“4”代表將設備切換到IRF模式下,並將設備的成員編號設置為該選項值,“*”代表當前設備的成員編號。關於設備運行模式的詳細介紹,請參見“IRF配置指導”中的“IRF”。關於成員設備ID的詳細介紹,請參見“IRF配置指導”中的“IRF”。

Enter your choice(0-5): 3

Chassis ID has been changed to 2.

The current chassis ID is 2.

2. 修改係統工作模式

(1)     在產品專用子菜單中,鍵入<2>,回車後,可以修改係統工作模式:

Enter your choice(0-4):2

=============================<WORKING MODE SET>=============================

|Note:'*'indicates the current working mode                                |

|     Change The Working Mode Accordingly                                  |

|-------------------------<Working Modes Available>------------------------|

|<1> Standard Mode                                                         |

|<2> BridgeE Mode                                                          |

|<3> RouteE Mode                                                           |

|<4> Advance Mode                                                          |

|<5> Configurable Mode                                                     |

|<0> Exit                                                                  |

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

Enter your choice(0-5):

(2)     選擇對應的係統工作模式,“*”代表當前係統工作模式。關於係統工作模式的詳細介紹,請參見“基礎配置指導”中的“設備管理”。

Enter your choice(0-5): 1

================================<HYBRID SET>================================

|Note:the current working mode is Standard Mode, Hybrid                    |

|     Change The Hybrid state Accordingly                                  |

|----------------------------<Hybrid Avaliable>----------------------------|

|<1> None Hybrid(Default)*                                                 |

|<2> Hybrid                                                                |

|<0> Exit                                                                  |

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

Enter your choice(0-2):

3. 修改PCL Key菜單

(1)     在產品專用子菜單中,鍵入<3>,回車後,進入修改PCL Key菜單:

Enter your choice(0-4): 3

===============================<PCL KEY SET>================================

|Note:'*'indicates the current PCL Key                                     |

|     Change The PCL Key Accordingly                                       |

|---------------------------<PCL Key Available>----------------------------|

|<1> IPv6 disable and advanced mode*                                       |

|<2> IPv6 disable and standard mode                                        |

|<3> IPv6 enable and advanced mode                                         |

|<4> IPv6 enable and standard mode                                         |

|<0> Exit                                                                  |

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

Enter your choice(0-4):

(2)     選擇修改對應的模式,“*”代表當前模式。

表1-11 不同模式對應的命令配置項

模式名稱

對應的命令配置項

<1> IPv6 disable and advanced mode

同時配置acl ipv6 disableacl mode advanced

<2> IPv6 disable and standard mode

同時配置acl ipv6 disableacl mode standard

<3> IPv6 enable and advanced mode

同時配置acl ipv6 enableacl mode advanced

<4> IPv6 enable and standard mode

同時配置acl ipv6 enableacl mode standard

 

缺省情況下,設備選擇的模式為“IPv6 disable and advanced mode”。用戶可以通過選擇不同的模式來修改ACL規則長度,詳情請參見acl ipv6 { enable | disable }和acl mode { advanced | standard }命令的介紹(“ACL和QoS命令參考”中的“ACL”)。

Enter your choice(0-4): 2

===============================<PCL KEY SET>================================

|Note:'*'indicates the current PCL Key                                     |

|     Change The PCL Key Accordingly                                       |

|---------------------------<PCL Key Available>----------------------------|

|<1> IPv6 disable and advanced mode                                        |

|<2> IPv6 disable and standard mode*                                       |

|<3> IPv6 enable and advanced mode                                         |

|<4> IPv6 enable and standard mode                                         |

|<0> Exit                                                                  |

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

Enter your choice(0-4):

1.3.10  進入BootWare擴展段輔助菜單

在BootWare主菜單中,鍵入<Ctrl+Z>,回車後,係統將直接進入BootWare擴展段輔助菜單:

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

|<1> Display Memory                                                        |

|<2> Search Memory                                                         |

|<3> Display CF card info                                                  |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-3):

(1)     在輔助菜單中,鍵入<1>,回車後,可以查看設備指定的內存信息。

Enter your choice(0-3): 1

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

Info: only support hexadecimal input.

Enter memory address:80

Enter memory length:2

00000080: 55555555 55555555    UUUUUUUU

(2)     在輔助菜單中,鍵入<2>,回車後,可以搜索設備指定的內存信息。

Enter your choice(0-3): 2

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

Info: only support hexadecimal input.

Enter start address:80

Enter end address:90

Enter the value to search for:55555555

00000080: 55555555 55555555 55555555 55555555    UUUUUUUUUUUUUUUU

(3)     在輔助菜單中,鍵入<3>,回車後,可以查看設備上的CF卡信息。

Enter your choice(0-3): 3

CF card 0:

Model: CactusFlashCard

Firm: 23-11-06

Ser#: KC203       00144608

Capacity: 247.5 MB

Current CF Card 0:

說明

·     當輸入的內存起始地址不在內存空間範圍內時,設備會提示“Invalid address.”。

·     當輸入的內存結束地址小於內存起始地址或者超出內存空間時,設備會提示“Invalid address.”。

·     當輸入的內存起始地址加上長度超出內存空間時,設備會提示“Invalid length”。

·     如果沒有輸入待搜索的內存值直接回車,則設備會提示“Invalid value.”。

·     如果沒有找到待搜索的值,則設備會提示“The value not fount.”。

·     設備僅支持4字節模式的查找和顯示,當輸入的內存起始地址和內存結束地址之間不滿足4字節對齊時,將強製調整為4字節對齊格式。搜索內存信息時也僅支持以4字節為單位進行查找。

 

1.4  BootWare快捷鍵

為便於用戶對常用功能進行操作,係統提供了如下快捷鍵。

表1-12 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+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 EXTEND-ASSISTANT MENU

在擴展段主菜單鍵入時可以進入擴展段輔助菜單

 

說明

·     關閉密碼恢複功能後,如果當前操作的存儲介質為Flash,則不允許執行格式化操作。

·     內存測試主要用於技術人員定位內存故障或檢測內存狀況時使用,建議您不要自行操作。

 

1.5  配置密碼恢複功能

配置密碼恢複功能後,當用戶忘記Console口認證密碼或者登錄認證失敗,導致無法使用命令行操作設備時,可通過BootWare菜單清除該認證密碼,再繼續使用設備;關閉密碼恢複功能後,設備將處於一個安全性更高的狀態,即當出現上述情況時,若想繼續使用Console口對設備進行命令行操作,隻能通過BootWare菜單選擇將設備恢複為出廠配置之後方可繼續操作,這樣可以有效地防止非法用戶獲取啟動配置文件。

Console口登錄認證密碼丟失後,可以通過以下三種方式重新設置Console口的登錄認證密碼。

圖1-1 Console口登錄認證密碼丟失後的三種解決方法

 

 

BootWare菜單中支持配置的選項與密碼恢複功能的配置有關,詳見表1-13

表1-13 使能/關閉密碼恢複功能情況下BootWare選項差異描述表

BootWare菜單中支持配置的選項

使能密碼恢複功能後

關閉密碼恢複功能後

選項說明

Download Application Program To SDRAM And Run

支持

不支持

選擇該選項後,設備將加載應用程序到SDRAM並且運行

Update User Private File

支持

不支持

選擇該選項後,設備將加載用戶文件到當前存儲介質

Clear Super Password

支持

不支持

選擇該選項並重啟設備後,設備以下次啟動配置文件啟動,登錄Console口時會清除認證密碼

Modify Chassis ID Operation

支持

不支持

進入該選項,選擇修改設備成員編號並重啟設備後,將修改設備的運行模式以及設備的成員編號。關於設備的運行模式,請參見“IRF配置指導”中的“IRF”

Skip Current System Configuration

支持

不支持

選擇該選項並重啟設備後,設備將以出廠配置啟動,但係統不會刪除下次啟動配置文件

Restore to Factory Default Configuration

不支持

支持

選擇該選項並重啟設備後,設備會先自動刪除下次啟動配置文件,再以出廠配置啟動。

為了設備的安全,建議關閉密碼恢複功能

 

表1-14 配置密碼恢複功能

操作

命令

說明

進入係統視圖

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)     鍵入<6>,回車後,進入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> BootWare Operation Menu                                               |

|<7> Clear Super Password                                                  |

|<8> Storage Device Operation                                              |

|<9> Product Special Operation                                             |

|<0> Reboot                                                                |

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

Ctrl+Z: Enter EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9): 6

(2)     鍵入<4>,回車後,選擇通過以太網口加載升級BootWare,並修改以太網口的參數信息。

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

|Note:the operating device is cfa0                                         |

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

                       :s9500e_mr.btw

Target File Name       :target

                       :s9500e_mr.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 cfa0                                         |

|<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> BootWare Operation Menu                                               |

|<7> Clear Super Password                                                  |

|<8> Storage Device Operation                                              |

|<9> Product Special Operation                                             |

|<0> Reboot                                                                |

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

Ctrl+Z: Enter EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9):

(5)     鍵入<0>,回車後,重啟設備,設備將以新的BootWare版本啟動。

Enter your choice(0-9): 0

DDR2 SDRAM 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 Extend BootWare

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

Done!

 

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

*                                                                          *

*                   H3C S9500E BootWare, Version 1.22                      *

*                                                                          *

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

Copyright (c) 2004-2012 Hangzhou H3C Technologies Co., Ltd.

 

Compiled Date       : Dec  3 2012

CPU Type            : MPC8548E

CPU L1 Cache        : 32KB

CPU L2 Cache        : 512KB

CPU Clock Speed     : 1000MHz

Memory Type         : DDR2 SDRAM

Memory Size         : 1024MB

Memory Speed        : 400MHz

BootWare Size       : 4MB

Flash Size          : 128MB

cfa0 Size           : 247MB

NVRAM Size          : 1024KB

BASIC CPLD Version  : 003

EXTEND CPLD Version : 003

PCB Version         : Ver.B

 

 

Board self testing...........................

Board steady testing...                           [ PASS ]

Board SlotNo...                                   [   1  ]

Subcard exist testing...                          [ PASS ]

DX246  testing...                                 [ PASS ]

PHY88E1111  testing...                            [ PASS ]

CPLD1 testing...                                  [ PASS ]

CPLD2 testing...                                  [ PASS ]

NS16550 register testing...                       [ PASS ]

The default switch's Mac address...               [00:e0:fc:00:95:12]

CF Card testing...                                [ PASS ]

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

Note: The current operating device is cfa0

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> BootWare Operation Menu                                               |

|<7> Clear Super Password                                                  |

|<8> Storage Device Operation                                              |

|<9> Product Special Operation                                             |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTEND-ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-9):

至此,設備的BootWare升級完成。

1.7  通過BootWare主菜單升級係統啟動文件配置舉例

說明

通過BootWare主菜單升級係統啟動文件,僅能升級操作一台設備。在多台成員設備形成IRF的情況下,推薦使用ISSU升級。關於ISSU的詳細介紹,請參見“基礎配置指導”中的“ISSU”。

 

通過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 cfa0                                         |

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

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Update User Private File                                              |

|<6> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-6):

(2)     在串口子菜單中,鍵入<6>,回車後,係統進入串口參數設置菜單:

===============================<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 cfa0                                         |

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

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Update User Private File                                              |

|<6> Modify Serial Interface Parameter                                     |

|<0> Exit To Main Menu                                                     |

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

Enter your choice(0-6):2

說明

·     終端的波特率更改後,要做一次終端仿真程序的斷開和連接操作,新的設置才能起作用;

·     如果是Win98操作係統,可以先設置完波特率後斷開,再連接;如果是Win2000係統,則必須先斷開才能設置參數,設置完以後再連接。

 

(5)     根據實際情況,用戶選擇升級選項,如上所示鍵入<2>,即將主用應用程序下載至設備,回車後,終端顯示如下信息:

Please Select File .

XMODEM downloading ...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 cfa0                                         |

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

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Update User Private File                                              |

|<6> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

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

Enter your choice(0-6):6

(5)     若操作文件下載,請鍵入<6>,修改以太網口相關參數的設置,係統界麵如下:

==========================<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 cfa0                                         |

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

|<2> Update Main Application File                                          |

|<3> Update Backup Application File                                        |

|<4> Update Secure Application File                                        |

|<5> Update User Private File                                              |

|<6> Modify Ethernet Parameter                                             |

|<0> Exit To Main Menu                                                     |

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

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

Enter your choice(0-6):2

(7)     在如上所示的以太網口子菜單中鍵入<2>,即將主用應用程序下載至設備中,回車後,終端顯示如下信息:

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

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

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

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

..................................Done!

47979456 bytes downloaded!

Updating File cfa0:/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保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!

BOB登陆
官網
聯係我們