1-7
Configuring File Attributes You can configure and view the main attribute or backup attribute of the file used for the next startup of
a switch, and change the main or backup attribute of the file.
Follow these steps to 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
[ fabric ]
Optional
Available in user view
Configure the app file with the
backup attribute for the next
startup
boot boot-loader
backup-attribute file-url
[ fabric ]
Optional
Available in user view
Configure the Web file and its
attribute
boot web-package webfile
{ backup | main }
Optional
Available in user view
Switch the file attributes
between main and backup
boot attribute-switch { all |
app | configuration | web }
fabric
Optional
Available in user view
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.
Available in user view
Display the information about
the app file used as the startup
file
display boot-loader [ unit
unit-id ]
Display information about the
Web file used by the device display web package
Optional
Available in any view
z Before configuring the main or backup attribute for a file in the fabric, make sure the file already
exists on all devices in the fabric.
z The configuration of the main or backup attribute of a Web file takes effect immediately without
restarting the switch.
z After upgrading a Web file, you need to specify the new Web file in the Boot menu after restarting
the switch or specify a new Web file by using the boot web-package command. Otherwise, Web
server cannot function normally.
z Currently, a configuration file has the extension of cfg and resides in the root directory of the Flash
memory.
z For the detailed configuration of configuration file attributes, refer to the Configuration File
Management module in this manual.