H3C Technologies H3C WX3000 Series Unified Switches User Manual
Page 513
48-6
Follow these steps to configure file attributes:
To do…
Use the command…
Remarks
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 }
Optional
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, make sure the file already exists on the
device.
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 device 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 Configuration File
Management
in H3C WX3000 Series Unified Switches Switching Engine Configuration Guide.