01-Fundamentals Command Reference

HomeSupportResource CenterNFVH3C VSRH3C VSRTechnical DocumentsReference GuidesCommand ReferencesH3C VSR Series Virtual Services Routers Command References(V7)-R0633-6W50001-Fundamentals Command Reference
07-Software upgrade commands
Title Size Download
07-Software upgrade commands 56.81 KB

Software upgrade commands

boot-loader file

Use boot-loader file to specify startup image files.

Syntax

In standalone mode:

boot-loader file boot filename system filename [ feature filename&<1-30> ] { backup | main }

boot-loader file ipe-filename { backup | main }

In IRF mode:

boot-loader file boot filename system filename [ feature filename&<1-30> ] { all | slot slot-number } { backup | main }

boot-loader file ipe-filename { all | slot slot-number } { backup | main }

Views

User view

Predefined user roles

network-admin

Parameters

boot: Specifies a boot image file.

system: Specifies a system image file.

feature: Specifies a space-separated list of up to 30 feature image files.

filename: Specifies a .bin file in the filesystemname/filename.bin format. The file must be stored in the root directory of a file system on the device. Excluding the file system location section (if any), the value string can have a maximum of 63 characters. For more information about specifying a file, see file system management in Fundamentals Configuration Guide.

ipe-filename: Specifies an .ipe image package file in the filesystemname/filename.ipe format. The file must be stored in the root directory of a file system on the device. Excluding the file system location section (if any), the value string can have a maximum of 63 characters. For more information about specifying a file, see file system management in Fundamentals Configuration Guide.

all: Specifies all hardware components to which the specified images apply.

slot slot-number: Specifies the IRF member ID of a member device. (In IRF mode.)

backup: Specifies the files as backup startup image files. Backup images are used only when main images are not available.

main: Specifies the files as main startup image files. The device always first attempts to start up with main startup files.

Usage guidelines

The boot-loader file command overwrites the entire startup image list. To add new startup feature images, specify all feature image files in the old startup image list, including feature image files. The new startup image list will contain only the feature image files that are specified in the command.

Before you specify startup image files, register and activate a license for each upgrade image that requires a license. If a license-based software image lacks a license, the command execution result is as follows:

·     If .bin files are specified, the command cannot be executed.

·     If an .ipe file is specified, the command sets all images as startup images except for the image that does not have a license.

For more information about licensing, see Fundamentals Configuration Guide.

To load the specified startup software images, you must reboot the system.

If the upgrade images are not found in the file system on the slot specified to upgrade, the system automatically copies the images to that file system. The destination directory is the root directory of the file system. If the destination root directory already contains a startup image with the same name as an upgrade image, you must choose whether to overwrite the image.

Incremental patches cannot be installed by using the boot-loader file command.

Examples

# (In standalone mode.) Specify flash:/all.ipe as the main startup image file.

<Sysname> boot-loader file flash:/all.ipe main

Verifying the file flash:/all.ipe on the device...Done.

H3C VSR1000 images in IPE:

  BOOT.bin

  SYSTEM.bin

This command will set the main startup software images. Please do not reboot the device during the upgrade. Continue? [Y/N]:y

Add images to the device.

File flash:/BOOT.bin already exists on the device.

File flash:/SYSTEM.bin already exists on the device.

Overwrite the existing files?[Y/N]:y

Decompressing file BOOT.bin to flash:/BOOT.bin...Done.

Decompressing file SYSTEM.bin to flash:/SYSTEM.bin..................Done.

Verifying the file flash:/BOOT.bin on the device...Done.

Verifying the file flash:/SYSTEM.bin on the device...Done.

The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.

# (In standalone mode.) Specify flash:/boot.bin and flash:/system.bin as the main startup boot and system image files.

<Sysname> boot-loader file boot flash:/boot.bin system flash:/system.bin main

This command will set the main startup software images. Please do not reboot the device during the upgrade. Continue? [Y/N]:y

Verifying the file flash:/BOOT.bin on the device...Done.

Verifying the file flash:/SYSTEM.bin on the device...Done.

The images that have passed all examinations will be used as the main startup software images at the next reboot on the device.

# (In IRF mode.) Specify flash:/all.ipe as the main startup image file for slot 1, without immediately decompressing the IPE file.

<Sysname> boot-loader file flash:/all.ipe slot 1 main undecompressed

Verifying the file flash:/all.ipe on slot 1..............Done.

XX images in IPE:

  boot.bin

  system.bin

This command will set the main startup software image. Continue? [Y/N]:Y

File flash:/all.ipe already exists on slot 1.

Overwrite the existing files? [Y/N]:Y

Copying file flash:/all.ipe to slot1#flash:/all.ipe...Done.

The image that have passed all examinations will be used as the main startup software image at the next reboot on slot 1.

# (In IRF mode.) Specify flash:/all.ipe as the main startup image file for all IRF member devices, without immediately decompressing the IPE file.

<Sysname> boot-loader file slot1#flash:/all.ipe all main undecompressed

Verifying the file flash:/all.ipe on slot 1......................................Done.

XX images in IPE:

  Boot.bin

  System.bin

This command will set the main startup software images. Continue? [Y/N]:Y

The image that have passed all examinations will be used as the main startup software image at the next reboot on slot 1.

File flash:/all.ipe already exists on slot 2.

Do you want to overwrite the file?

 Y: Overwrite the file.

 N: Not overwrite the file.

 A: From now on, overwrite or not overwrite without prompt.

Please make a choice. [Y/N/A]:A

What type of overwrite operation do you want to perform?

 Y: Overwrite without prompt.

 N: Not overwrite or display prompt.

 Q: Return to the previous step.

Please make a choice. [Y/N/Q]:Y

An existing file will be overwritten without prompt if it has the same name as any upgrade file.

Loading......................Done.

Loading......................Done.

The image that have passed all examinations will be used as the main startup software image at the next reboot on slot 2.

The image that have passed all examinations will be used as the main startup software image at the next reboot on slot 3.

Related commands

display boot-loader

display boot-loader

Use display boot-loader to display current software images and startup software images.

Syntax

In standalone mode:

display boot-loader

In IRF mode:

display boot-loader [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies the member ID of an IRF member device. If you do not specify a member device, this command displays the software images on each IRF member device.

Examples

# (In standalone mode.) Display the current software images and startup software images.

<Sysname> display boot-loader

Software images on the device:

Current software images:

  flash:/boot.bin

  flash:/system.bin

Main startup software images:

  flash:/boot.bin

  flash:/system.bin

Backup startup software images:

  flash:/boot.bin

  flash:/system.bin

# (In IRF mode.) Display the current software images and startup software images.

<Sysname> display boot-loader

Software images on slot 1:

Current software images:

  flash:/boot.bin

  flash:/system.bin

Main startup software images:

  flash:/boot.bin

  flash:/system.bin

Backup startup software images:

  flash:/boot.bin

  flash:/system.bin

Table 1 Command output

Field

Description

Current software images

Comware images that have been loaded.

Main startup software images

Primary Comware images for the next startup.

Backup startup software images

Backup Comware images for the next startup.

If the backup startup software images are not specified, this field displays None.

 

Related commands

boot-loader file

 

  • 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
新华三官网