beautypg.com

2 configuring file attributes, 2 configuring file attributes -2 – H3C Technologies H3C S3100 Series Switches User Manual

Page 520

background image

Operation Manual – File System Management

H3C S3100-52P Ethernet Switch

Chapter 1 File System Management

Configuration

1-2

will not possess the main attribute. If you download a file with the same name as the
original file with the main attribute to the flash memory, the file will possess the main
attribute.
After the BootROM of a switch is upgraded, the original default APP startup file has the
main attribute.

1.1.2 Configuring File Attributes

You can configure and view the main attribute or backup attribute of the startup file
used for the next startup of a switch, and change the main or backup attribute of the file.
Perform the configuration listed in Table 1-2 in user view. The display commands can
be executed in any view.

Table 1-2

Configure file attributes

To do…

Use the command…

Remarks

Configure the app file with

the main attribute for the

next startup

boot

boot-loader file-url Optional

Set the app file with the

backup attribute for the

next startup

boot

boot-loader

backup-attribute

file-url

Optional

Configure the Web file and

its attribute

boot

web-package

webfile

{ backup | main } Optional

Switch the file attributes

between main and backup

boot

attribute-switch

{ all | app | configuration

| web }

Optional

Specify to enable user to

use the customized

password to enter the

BOOT menu

startup bootrom-access
enable

Optional
By default, the user is

enabled to use the

customized password to

enter the BOOT menu.

Display the information

about the app file used as

the startup file

display boot-loader

[ unit unit-id ]

Optional
This command can be

executed in any view.