
1-16
update fabric
Syntax
update fabric
file-name
View
User view
Parameters
file-name
: Name of the file to be upgraded, a string comprising 1 to 64 characters.
Description
Use the
update fabric
command to use an app file, Boot ROM or Web file on a device in the fabric to
upgrade all the units in the fabric.
Use the
update fabric
command after all traffics are stopped.
Global upgrade to app, Web and Boot ROM files is supported currently. The types of files to be
upgraded can be distinguished by the file extension. For example, test1.bin, test2.btm, and test3.web
represent host software, Boot ROM files and Web files respectively.
z
You can upgrade files with such extensions as .web, .bin and .btm.
z
The file used for upgrading must exist in the root directory of a unit in the fabric.
z
After the upgrade is completed, the file used for upgrading will be copied to the root directories of
other units in the fabric.
z
When you execute the
update fabric
command, the system first collects the free space
information of each unit and then decides whether the available Flash memory space is enough on
each unit. The available space of the Flash should be at least 1 K larger than the size of the file
used for upgrading. If any space inefficiency is found, the system will prompt the user to provide
enough space on the Flash memory of the unit. Otherwise, the upgrade cannot be implemented.
z
Before the file is copied to all units, the system collects version information of files in the
corresponding type, compares the version compatibility, and outputs the result. If the file used for
upgrading cannot replace the corresponding file on any unit, the command fails and a message is
given, describing the failure reason.
Examples
# Upgrade all units in the fabric with the app file named
test.bin
on the local unit.
<Sysname>display irf-fabric