9
Syntax
irf auto-update enable
undo irf auto-update enable
Default
The software auto-update function is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
To join an IRF fabric, a device must use the same software images as the master in the IRF fabric.
The software auto-update function propagates the current software images of the master in an IRF
fabric to all its members automatically. If software auto-update is disabled, you must manually
update the device with the software images of the master before adding it to the IRF fabric.
When you add a device to the IRF fabric, software auto-update compares the startup software
images of the device with the current software images of the IRF master. If the two sets of images are
different, the device performs the following tasks automatically:
1.
Downloads the current software images of the master.
2.
Sets the downloaded images as main startup software images.
3.
Reboots with the new software images to rejoin the IRF fabric.
Before enabling software auto-update, make sure the device you are adding to the IRF fabric has
sufficient storage space for the new software images.
If sufficient storage space is not available, the device deletes the current software images
automatically. If the reclaimed space is still insufficient, the device cannot complete the auto-update.
You must reboot the device and access the Boot menu to delete files.
To ensure a successful software auto-update in a multi-user environment, prevent the action of
rebooting member devices during the auto-update process. You can configure the information center
to output the software auto-update status to configuration terminals (see
Network Management and
Monitoring Configuration Guide
).
Examples
# Enable the software auto-update function.
<Sysname> system-view
[Sysname] irf auto-update enable
irf domain
Use
irf domain
to assign a domain ID to the IRF fabric.
Use
undo irf domain
to restore the default IRF domain setting.
Syntax
irf domain domain-id
undo irf domain
Default
IRF domain ID is 0.