01-Fundamentals Configuration Guide

HomeSupportSwitchesS7500X SeriesConfigure & DeployConfiguration GuidesH3C S7500X Switch Series Configuration Guides-Release758X-6W10001-Fundamentals Configuration Guide
14-Management with BootWare
Title Size Download
14-Management with BootWare 269.96 KB

Managing the system with BootWare

BootWare provides a menu method for performing basic file operations, software upgrade, and system management. You can use this method when you cannot access the Comware CLI, for example, because of software image corruption.

 

 

NOTE:

Output in this document is for illustration only.

 

Overview

The BootWare program is stored in each MPU's built-in flash. It comprises one basic segment and one extended segment. The basic segment enables the system to complete basic initialization, and the extended segment bootstraps the Comware software images.

Table 1 lists the menus that each segment provides and the major tasks you can perform from these menus. You can access these menus only during system startup.

Table 1 BootWare menus

BootWare segment

Menu

Tasks

Reference

Basic

BASIC-BOOTWARE

·          Modify serial port parameters.

·          Upgrade BootWare.

·          Start the primary or backup BootWare extended segment.

Using the BASIC-BOOTWARE menu

Extended

EXTENDED-BOOTWARE

·          Upgrade Comware software.

·          Manage files.

Using the EXTENDED-BOOTWARE menu

Extended

EXTENDED ASSISTANT

·          Examine system memory.

·          Search system memory.

Using the EXTENDED ASSISTANT menu

 

Restrictions and guidelines

Use BootWare menus for software upgrade only when you cannot access the CLI. From BootWare menus, you can upgrade MPUs only one by one. As a best practice, remove one MPU before upgrading software if the device has two MPUs.

To upgrade software on an MPU from its BootWare menus, make sure you have one connection to its console port and one connection to its management port. You can only access the BootWare menus through the console port. The management port can be used for file transfer.

Availability of some menu options depends on the password recovery capability setting.

Using the BASIC-BOOTWARE menu

To access the BASIC-BOOTWARE menu:

1.      Connect a configuration terminal to the console port of the device.

2.      Power on the device.

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

3.      Press Ctrl+D within three seconds after the "Press Ctrl+D to access BASIC-BOOTWARE MENU" prompt message appears. If you fail to do this within the time limit, the system starts to run the extended BootWare segment.

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

Table 2 BASIC-BOOTWARE menu options

Option

Task

<1> Modify Serial Interface Parameter

Change the baud rate of the console port.

<2> Update Extended BootWare

Update the extended BootWare segment.

If the extended segment is corrupt, choose this option to repair it.

<3> Update Full BootWare

Update the entire BootWare, including the basic segment and the extended segment.

<4> Boot Extended BootWare

Run the primary extended BootWare segment.

<5> Boot Backup Extended BootWare

Run the backup extended BootWare segment.

<0> Reboot

Reboot the device.

 

Modifying serial port parameters

When using the console port to access the system, make sure the port parameters are consistent with the serial port settings on the configuration terminal. Port parameters include the baud rate, data bits, parity check, stop bits, flow control, and emulation. If the settings are inconsistent, communication will fail. For more information, see "Logging in through the console port for the first device access."

For faster file transfer, change the default baud rate to a higher value before downloading a software image file with XMODEM through the console port.

To change the baud rate of the console port:

1.      Enter 1 in the BASIC-BOOTWARE menu.

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

2.      Enter the number that represents the baud rate you want to choose. For example, enter 5 to set the baud rate to 115200 bps.

 

 

NOTE:

The baud rate change is a one-time operation. The baud rate will restore to the default (9600 bps) at reboot. To establish a console session with the device after a reboot, you must change the baud rate setting on the configuration terminal to 9600 bps.

 

Updating the extended BootWare segment

If the extended BootWare segment is corrupt, enter 2 in the BASIC-BOOTWARE menu to update it.

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.

Updating the entire BootWare

To update the entire BootWare, enter 3 in the BASIC-BOOTWARE menu.

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.

Running the primary extended BootWare segment

To bootstrap the Comware software images with the primary extended BootWare segment, enter 4 in the BASIC-BOOTWARE menu.

Enter your choice(0-5): 4

Booting Normal Extended BootWare

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

 

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

*                                                                          *   

*                         BootWare, Version 1.15                           *   

*                                                                          *   

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

Compiled Date         : Jan 23 2016                                            

CPU Type              : XLP208                                                 

CPU Clock Speed       : 1000MHz                                                

Memory Type           : DDR3 SDRAM                                             

Memory Size           : 2048MB                                                 

Memory Speed          : 667MHz                                                 

BootWare Size         : 1536KB                                                 

Flash Size            : 4MB                                                    

BASIC CPLD Version    : 001                                                     

PCB Version           : Ver.B                                                  

                                                                               

                                                                                

BootWare Validating...                                                         

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

Running the backup extended BootWare segment

To bootstrap the Comware software images with the backup extended BootWare segment, enter 5 in the BASIC-BOOTWARE menu. For information about backing up the extended BootWare segment, see "Managing the BootWare image."

Enter your choice(0-5): 5

Booting Backup Extended BootWare                                                

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

                                                                               

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

*                                                                          *   

*                         BootWare, Version 1.15                           *   

*                                                                          *   

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

Compiled Date         : Jan 23 2016                                            

CPU Type              : XLP208                                                 

CPU Clock Speed       : 1000MHz                                                 

Memory Type           : DDR3 SDRAM                                             

Memory Size           : 2048MB                                                 

Memory Speed          : 667MHz                                                  

BootWare Size         : 1536KB                                                 

Flash Size            : 4MB                                                    

BASIC CPLD Version    : 001                                                     

PCB Version           : Ver.B                                                  

                                                                               

                                                                                

BootWare Validating...                                                         

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

Using the EXTENDED-BOOTWARE menu

To access the EXTENDED-BOOTWARE menu, press Ctrl+B within three seconds after the "Press Ctrl+B to access EXTENDED-BOOTWARE MENU..." prompt message appears. If you fail to do this, the system starts decompressing the Comware software.

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

*                                                                          *   

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

Compiled Date         : Jan 23 2016                                             

CPU Type              : XLP208                                                 

CPU Clock Speed       : 1000MHz                                                

Memory Type           : DDR3 SDRAM                                              

Memory Size           : 2048MB                                                 

Memory Speed          : 667MHz                                                 

BootWare Size         : 1536KB                                                  

Flash Size            : 4MB                                                    

BASIC CPLD Version    : 001                                                    

PCB Version           : Ver.B                                                  

                                                                               

                                                                               

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

The following is the 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+A: Enter Command Line                                                     

Ctrl+F: Format File System                                                      

Enter your choice(0-9):

Table 3 EXTENDED-BOOTWARE menu options

Option

Task

Reference

<1> Boot System

Run the Comware software without rebooting the device.

Choose this option after completing operations in the EXTENDED-BOOTWARE menu.

Running the Comware software

<2> Enter Serial SubMenu

Download files with XMODEM and upgrade the Comware software through the console port.

Upgrading Comware software through the console port

<3> Enter Ethernet SubMenu

Download files with FTP or TFTP and upgrade the Comware software through the management Ethernet port.

Upgrading Comware software through the management Ethernet port

<4> File Control

·          Display files on the current storage medium.

·          Set a software image file as the primary or backup startup Comware software image file.

·          Delete files to free storage space.

Managing files

<5> Restore to Factory Default Configuration

Restore the factory-default configuration.

Restoring the factory-default configuration

<6> Skip Current System Configuration

Skip the configuration file at the next startup.

This option is not available if password recovery capability is disabled.

Skipping the configuration file at the next startup

<7> BootWare Operation Menu

Back up, recover, and upgrade the BootWare image.

Managing the BootWare image

<8> Skip Authentication for Console Login

Enable console login without authentication.

This is a one-time operation and takes effect only for the first system boot or reboot after you choose this option.

This option is not available if password recovery capability is disabled.

Skipping console login authentication

<9> Storage Device Operation

Set the storage medium from which the MPU will start up.

Set the storage medium where file operations are performed. This storage medium is referred to as the current storage medium" in this chapter.

Managing storage media

<0> Reboot

Reboot the device.

N/A

 

 

NOTE:

·       Basic Comware 7 software images include a .bin boot image and a .bin system image. A system must have the two images to operate appropriately. They are released both in separate .bin files and in an .ipe package file so you can update the images separately or as a whole. You can set one Comware software image as a main (M) or backup (B) image. For more information, see "Changing the file attribute of a Comware software image."

·       At startup, the device always attempts to boot first with the main Comware software images. If the attempt fails, for example, because the image file is corrupt, the device tries to boot with the backup Comware software images. If the attempt still fails, the device displays a failure message.

 

Running the Comware software

To run the Comware software after completing all operations, enter 1 in the EXTENDED-BOOTWARE menu.

Enter your choice(0-9): 1

Loading the main image files...

Loading file flash:/system-test.bin........................

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

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

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

Loading file flash:/boot-test.bin..........................

....Done.

Image file flash:/boot-test.bin is self-decompressing......

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

System image is starting...

Line aux1 is available.

Press ENTER to get started.

Upgrading Comware software through the console port

You can upgrade the Comware software through the console port or modify the baud rate of the console port from the Serial submenu.

To upgrade the Comware software through the console port from the Serial submenu:

1.      Enter 2 in the EXTENDED-BOOTWARE menu to access the Serial submenu.

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

Table 4 Serial submenu options

Option

Task

<1> Download Image Program To SDRAM And Run

Load and run Comware software images in SDRAM.

This option is not available if password recovery capability is disabled.

<2> Update Main Image File

Download Comware software images to the current storage medium as main images (the file attribute is set to M).

As a result, the M file attribute of the original main images is removed.

<3> Update Backup Image File

Download Comware software images to the current storage medium as backup images (the file attribute is set to B).

As a result, the B file attribute of the original backup images is removed.

<4> Download Files(*.*)

Download a file to the current storage medium.

<5> Modify Serial Interface Parameter

Change the baud rate of the console port.

<0> Exit To Main Menu

Return to the EXTENDED-BOOTWARE menu.

 

2.      Enter 5 in the serial submenu to change the baud rate.

===============================<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.      Enter an appropriate baud rate option. For example, enter 5 to set the baud rate to 115200 bps.

For faster file transfer, change the default baud rate to a higher value before downloading Comware software with XMODEM through the console port.

4.      Enter 0 to return to the Serial submenu.

5.      Choose an option from 1 to 4. For example, to upgrade the main Comware software images, enter 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

6.      On the configuration terminal, configure the communication settings and transfer the upgrade file. For more information, see "Using XMODEM to upgrade software through the console port."

In this example, the system sets the file as a main software image file when the file transfer is complete. The following is the sample output:

Waiting ...CCC

Download successfully!

47979456 bytes downloaded!

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

..Done.

7.      Enter 0 in the Serial submenu to return to the EXTENDED-BOOTWARE menu.

8.      Enter 1 in the EXTENDED-BOOTWARE menu to run the new software.

Upgrading Comware software through the management Ethernet port

You can upgrade the Comware software through the management Ethernet port from the Ethernet submenu.

To upgrade Comware software through the management Ethernet port from the Ethernet submenu:

1.      Enter 3 in the EXTENDED-BOOTWARE menu to access the Ethernet submenu.

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

Table 5 Ethernet submenu options

Option

Task

<1> Download Image Program To SDRAM And Run

Load and run Comware software images in SDRAM.

This option is only available when password recovery capability is enabled.

<2> Update Main Image File

Download Comware software images to the current storage medium as main images (the file attribute is set to M).

As a result, the M file attribute of the original main images is removed.

<3> Update Backup Image File

Download Comware software images to the current storage medium as backup images (the file attribute is set to B).

As a result, the B file attribute of the original backup images is removed.

<4> Download Files(*.*)

Download a file to the current storage medium.

This option is only available when password recovery capability is enabled.

<5> Modify Ethernet Parameter

Configure FTP or TFTP file transfer settings.

<0> Exit To Main Menu

Return to the EXTENDED-BOOTWARE menu.

 

2.      Enter 5 in the Ethernet submenu to configure file transfer settings.

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

                       :                                                       

Target File Name       : S7500X.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      :***

Table 6 Setting Ethernet parameters for file transfer

Field

Description

'.' = Clear field

Press the dot (.), and then press Enter to clear the setting for a field.

'-' = Go to previous field

Press the hyphen (-), and then press Enter to return to the previous field.

Ctrl+D = Quit

Press Ctrl+D to exit the Ethernet parameter settings menu.

Protocol (FTP or TFTP)

Set the file transfer protocol to FTP or TFTP.

Load File Name

Set the name of the file to be downloaded.

Target File Name

Set a file name for saving the file in the current storage medium on the device.

By default, the target file name is the same as the source file name.

Server IP Address

Set the IP address of the FTP or TFTP server.

Local IP Address

Set the IP address of the device.

Subnet Mask

Set the IP address mask.

Gateway IP Address

Set a gateway IP address if the device is on a different network than the server.

FTP User Name

Set the username for accessing the FTP server. This username must be the same as configured on the FTP server. This field is not available for TFTP.

FTP User Password

Set the password for accessing the FTP server. This password must be the same as configured on the FTP server. This field is not available for TFTP.

 

3.      Choose an option from 1 to 4. For example, to upgrade the main Comware software images, enter 2.

Enter your choice(0-5):2

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

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

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

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

227301376 bytes downloaded!                                                    

Image file boot-test.bin is self-decompressing...

Saving file flash:/boot-test.bin ..........................

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

Image file system-test.bin is self-decompressing...

Saving file flash:/system-test.bin ........................

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

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

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

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

4.      Enter 0 in the Serial submenu to return to the EXTENDED-BOOTWARE menu.

5.      Enter 1 in the EXTENDED-BOOTWARE menu to run the new software.

Managing files

To change the type of a Comware software image, retrieve files, or delete files, enter 4 in the EXTENDED-BOOTWARE menu.

==========================<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):4

The following File Control submenu appears:

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

Displaying all files

To display all files on the current storage medium, enter 1 in the FILE CONTROL submenu:

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:/boot-test.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:/system-test.bin          |

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

 

 

NOTE:

A maximum of 998 files can be displayed.

 

Changing the file attribute of a Comware software image

Comware software image file attributes include main (M) and backup (B). A Comware software image can have any combination of the M and B attributes. An image with neither the M attribute nor the B attribute is marked as N/A.

On an MPU, you can specify only one main image and one backup image for each type of Comware image. If you assign the same attribute to two images that are the same type, the most recent assignment causes the previously assigned attribute to be removed.

For example, the boot image file main.bin has the M attribute and the boot image file update.bin has the B attribute. If you assign the M attribute to update.bin, update.bin will have both the M and B attributes (M+B), and the file attribute of main.bin will change to N/A.

To change the attribute of Comware software images:

1.      Enter 3 in the File Control submenu.

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:/boot-test.bin            |

|2   208249856 Jul/31/2014 09:28:27 M      flash:/system-test.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):

2.      Enter the numbers of the files you are working with.

Enter file No.(Allows multiple selection):1                                    

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

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

You have selected:                                                             

flash:/boot-test.bin

flash:/system-test.bin

 

Modify the file attribute:                                                     

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

|<1>+Main                                                                  |   

|<2>+Backup                                                                |   

|<0> Exit                                                                  |   

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

Enter your choice(0-2):

3.      Enter a number in the range of 1 to 2 to add a file attribute for the files. For example, enter 2 to assign the B attribute to the files.

Enter your choice(0-2):2

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

Set the file attribute success!

Deleting a file

When a storage medium does not have sufficient space, you can delete unused files to free the storage space.

1.      Enter 4 in the FILE CONTROL submenu.

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   2714337   Mar/19/2013 02:03:23 N/A    flash:/logfile/logfile.log      |

|2   40095744  Aug/08/2014 11:16:57 M      flash:/boot-test.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:/system-test.bin          |

|0   Exit                                                                  |

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

Enter file No.:

2.      Enter the number of the file to delete. For example, enter 1.

Enter file No.: 1

3.      When the following prompt appears, enter Y.

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

Deleting...Done.

Copying a file

1.      Enter 5 in the FILE CONTROL submenu.

Enter your choice(0-5): 5

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

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

|NO. Size(B)   Time                 Type   Name                            |

|1   40095744  Aug/08/2014 11:16:57 M      flash:/boot-test.bin            |

|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      flash:/system-test.bin          |

|0   Exit                                                                  |

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

Enter file No.:

2.      Enter the number of the file to copy. For example, enter 2.

Enter file No.:2                                                               

The selected file is :flash:/zss.cfg                                        

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

3.      Enter the number of the destination storage medium. For example, enter 1 to copy the file to the flash memory.

Enter your choice(0-1):1                                                       

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

Restoring the factory-default configuration

CAUTION

CAUTION:

Performing this task can cause all next-startup configuration files in the current storage medium to be permanently deleted.

 

IMPORTANT

IMPORTANT:

Perform this task only if the switch has one MPU. If the switch has two MPUs, you cannot restore the factory-default configuration.

 

To restore the factory-default configuration from the EXTENDED-BOOTWARE menu, make sure password recovery capability is disabled. If the capability is enabled, you cannot perform the task.

To enable the system to start up with the factory-default configuration instead of a next-startup configuration file:

1.      Enter 5 in the EXTENDED-BOOTWARE menu.

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

|<8> Storage Device Operation                                              |

|<0> Reboot                                                                |

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

Ctrl+Z: Access EXTENDED ASSISTANT MENU

Ctrl+F: Format File System

Enter your choice(0-8):5

2.      Follow the system instruction to complete the task.

¡  If password recovery capability is enabled, first disable the capability from the CLI, and then reboot the device to access the EXTENDED-BOOTWARE menu.

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

disable the password recovery capability using the undo password-recovery

enable command in CLI.

¡  If password recovery capability is disabled, enter Y at the prompt to complete the task.

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.

Skipping the configuration file at the next startup

To skip the configuration file at the next startup, enter 6 in the EXTENDED-BOOTWARE menu.

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

Flag Set Success.

This setting takes effect only at the next startup. It does not take effect for subsequent reboots.

Managing the BootWare image

You can use the BootWare Operation menu to back up, recover, and upgrade the BootWare image.

To access the BootWare Operation menu, enter 7 in the EXTENDED-BOOTWARE menu.

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

Table 7 BootWare Operation menu options

Option

Task

<1> Backup Full BootWare

Back up the BootWare image.

<2> Restore Full BootWare

Recover the BootWare image.

<3> Update BootWare By Serial

Update the BootWare from the console port.

<4> Update BootWare By Ethernet

Update the BootWare from the management Ethernet port.

<0> Exit To Main Menu

Return to the EXTENDED-BOOTWARE menu.

 

Backing up the BootWare image

You can back up the entire BootWare image, its basic segment, or extended segment. When the BootWare image is corrupt, you can use the backup image for recovery.

Enter 1 in the BootWare Operation menu to perform a BootWare image backup.

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.

Recovering the BootWare image

If the BootWare image is corrupt, you can use a backup BootWare image to recover it.

Enter 2 in the BootWare Operation menu to recover the BootWare image. You can choose to recover the entire image, its basic segment, or extended segment.

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.

Upgrading the BootWare image

You can upgrade the BootWare image through the console port or an Ethernet port.

To upgrade the BootWare image through the console port, enter 3 in the BootWare Operation menu.

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

Table 8 BOOTWARE OPERATION SERIAL submenu options

Option

Task

<1> Update Full BootWare

Upgrade the entire BootWare image.

<2> Update Extended BootWare

Upgrade the extended segment.

<3> Update Basic BootWare

Upgrade the basic segment.

<4> Modify Serial Interface Parameter

Modify the baud rate of the console port.

Perform this task before you perform any upgrade task.

<0> Exit To Main Menu

Return to the BootWare Operation menu.

 

To upgrade the BootWare image through the management Ethernet port, enter 4 in the BootWare Operation menu.

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

Table 9 BOOTWARE OPERATION ETHERNET submenu options

Option

Task

<1> Update Full BootWare

Upgrade the entire BootWare image.

<2> Update Extended BootWare

Upgrade the extended segment.

<3> Update Basic BootWare

Upgrade the basic segment.

<4> Modify Ethernet Parameter

Configure the FTP or TFTP file transfer settings.

<0> Exit To Main Menu

Return to the BootWare Operation menu.

 

Skipping console login authentication

IMPORTANT

IMPORTANT:

·       To perform this task, make sure password recovery capability is enabled. If the capability is disabled, you cannot perform this task.

·       Perform this task only if the switch has one MPU. If the switch has two MPUs, you cannot skip console login authentication.

 

If you cannot remember the console login password, enter 8 in the EXTENDED-BOOTWARE menu, and then enter 1 or 0 in the EXTENDED-BOOTWARE menu. The switch will reboot and load the next-startup configuration file with the console login password ignored.

Enter your choice(0-9): 8

Clear Image Password Success!

After the switch starts up, you can configure a new console login password and save the running configuration so the new password takes effect (see Figure 1). If you do not configure a new console login password, the old password continues to take effect for the subsequent reboot.

Figure 1 Skipping console login authentication

 

Managing storage media

To get information about the storage media on the MPU you are working with, and set the storage medium for file operations, enter 9 in the EXTENDED-BOOTWARE menu.

Enter your choice(0-8): 8

The following DEVICE CONTROL menu appears:

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

Table 10 DEVICE CONTROL menu options

Option

Task

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

Display all storage media on the MPU you are working with.

<2> Set The Operating Device

Set the current storage medium. All file operations in BootWare menus are performed on the current storage medium.

<3> Set The Default Boot Device

Set the default storage medium from which the system will start up.

<0> Exit To Main Menu

Return to the EXTENDED-BOOTWARE menu.

 

Using the EXTENDED ASSISTANT menu

1.      In the EXTENDED-BOOTWARE menu, press Ctrl+Z to enter the EXTENDED ASSISTANT menu.

=========================<EXTENDED ASSISTANT MENU>==========================   

|<1> Display Memory                                                        |   

|<2> Search Memory                                                         |   

|<0> Exit To Main Menu                                                     |   

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

Enter your choice(0-2):

2.      To view memory information, enter 1, and then provide the memory address and length.

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

3.      To search memory for certain data, enter 2, and then provide the start and end addresses and the value of interest.

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

 

 

NOTE:

The device displays and searches for memory information in 4-byte mode. If the memory address you enter is not a multiple of 4 bytes, the device automatically adjusts it.

 

Table 11 describes the error messages that might appear when you use the EXTENDED ASSISTANT menu.

Table 11 Error messages

Error message

Description

Invalid address.

The start or end address is beyond the memory space or the end address is lower than the start address.

Invalid length

The entered memory length is so great that the calculated end address is beyond the memory space.

Invalid value.

No value is provided at the prompt Enter the value to search for: before Enter is pressed.

The value not fount.

The specified value is not found in the specified memory space, or the length of the specified value is not valid because it is not a multiple of 4 bytes.

 

BootWare shortcut keys

BootWare provides the shortcut keys in Table 12.

Table 12 BootWare shortcut keys

Shortcut keys

Prompt message

Function

Ctrl+B

Press Ctrl+B to access EXTENDED-BOOTWARE MENU…

Accesses the EXTENDED-BOOTWARE menu while the device is starting up.

Ctrl+C

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

Stops the ongoing file transfer and exits the current operation interface.

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

Returns to the EXTENDED ASSISTANT menu. If the system is outputting the result of an operation, this shortcut key combination aborts the display first.

Ctrl+D

Press Ctrl+D to access BASIC-BOOTWARE MENU…

Accesses the BASIC-BOOTWARE menu.

Ctrl+D = Quit

Exits the parameter settings menu.

Ctrl+F

Ctrl+F: Format File System

Formats the current storage medium.

Ctrl+T

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

Starts a five-step RAM test.

IMPORTANT IMPORTANT:

This RAM test is intended for memory troubleshooting. As a best practice, do not perform this test.

Ctrl+Y

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

Starts a nine-step RAM test.

IMPORTANT IMPORTANT:

This RAM test is intended for memory troubleshooting. As a best practice, do not perform this test.

Ctrl+U

Ctrl+U: Access BASIC ASSISTANT MENU

Accesses the BASIC ASSISTANT MENU from the BASIC-BOOTWARE menu.

Ctrl+Z

Ctrl+Z: Access EXTENDED ASSISTANT MENU

Accesses the EXTENDED ASSISTANT menu from the EXTENDED-BOOTWARE menu.

 

Comware software upgrade examples

Using XMODEM to upgrade software through the console port

1.      In the EXTENDED-BOOTWARE menu, enter 2.

The Serial submenu appears:

===========================<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.      In the Serial submenu, enter 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.      Select the correct download baud rate.

In this example, enter 1 to select 9600 bps.

4.      Change the baud rate of your terminal to match the setting on the Serial submenu. Then, close your connection to the device and reestablish the connection to make the terminal's baud rate change take effect. Finally, press Enter.

The Serial submenu appears again:

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

If your terminal is running Windows 98, change the baud rate before closing the connection. If your terminal is running Windows 2000, you must close the connection before you can change the setting.

5.      Select an option as required.

In this example, enter 2 to download Comware software to the current storage medium as the main image:

Please Select File .

XMODEM downloading ...CCC

6.      Select Transfer > Send File in the HyperTerminal window. In the dialog box that appears, click Browse to select the source file, and select Xmodem from the Protocol list. In this example, the file D:\update\main.bin is selected.

Figure 2 File transmission dialog box

 

7.      Click Send.

The following dialog box appears:

Figure 3 File transfer progress

 

After the file transfer is complete, the Serial submenu appears again. You can choose other options as required.

Using TFTP to upgrade Comware software through the management Ethernet port

In this example, the device acts as the TFTP client.

To upgrade Comware software through the management Ethernet port:

1.      Connect the device to the intended TFTP server through the device's management Ethernet port and obtain the IP address of the intended TFTP server. Connect your terminal to the device's console port.

You can use the same PC for the two purposes.

2.      On the intended TFTP server, run TFTP server and specify the working path for software upgrade.

3.      Run the terminal emulation program on the terminal, reboot the device, and enter the EXTENDED-BOOTWARE menu.

4.      In the EXTENDED-BOOTWARE menu, enter 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.      To download a file, enter 5 to modify management Ethernet port settings.

Enter your choice(0-5):5

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

|Note:       '.' = Clear field.                                            |

|            '-' = Go to previous field.                                   |

|         Ctrl+D = Quit.                                                   |

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

Protocol (FTP or TFTP) :tftp                                                    

Load File Name         : S7500X.ipe                           

                       :                                                       

Target File Name       : S7500X.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

After you complete the modification, the Ethernet submenu appears again.

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

6.      In the Ethernet submenu, enter 2 to download the specified image file to the device.

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

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

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

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

227301376 bytes downloaded!                                                    

Image file boot-test.bin is self-decompressing...

Saving file flash:/boot-test.bin ..........................

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

Image file system-test.bin is self-decompressing...

Saving file flash:/system-test.bin ........................

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

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

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

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

After the file transfer is complete, the Ethernet submenu appears again. You can choose other options as required.

Using FTP to upgrade Comware software through the management Ethernet port

In this example, the device acts as the FTP client.

To upgrade Comware software through the management Ethernet port:

1.      Connect the device to the intended FTP server through the device's management Ethernet port and obtain the IP address of the intended TFTP server. Connect your terminal to the device's console port.

You can use the same PC for the two purposes.

2.      On the intended FTP server, run FTP server, specify the working path for software upgrade, and configure an FTP user account.

3.      Run the terminal emulation program on the terminal, reboot the device, and enter the EXTENDED-BOOTWARE menu.

4.      Perform steps 4 to 6 in the procedure described in "Using TFTP to upgrade Comware software through the management Ethernet port."

 

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网