11
By default, this function is enabled.
This command is available in IRF mode. Changing the operating mode from IRF to standalone can cause
loss of the
irf auto-update enable
command configuration even if you have saved the configuration.
When you add a device to the IRF fabric, the software auto-update function compares the system
software versions of the device and the IRF master. If the versions are different, the device performs the
following tasks automatically:
1.
Downloads the system software image from the master.
2.
Sets the downloaded image as the system software for the next startup.
3.
Reboots with the new system software image to rejoin the IRF fabric.
To avoid an update failure, make sure the device has efficient storage space for the new system software
image.
If the device you are adding to the IRF fabric is incompatible with the software version running on the
master, the software auto-update function cannot work correctly. The wider the software version gap, the
higher the failure risk. For more information about the software version, see the release note for that
version.
When the master is propagating its system software image to the member devices, do not remove or
reboot the active MPU of each member device, and make sure the IRF links between each pair of
member devices are all in
up
state.
If software auto-update function is disabled, you must manually update the device with the system
software image of the master before adding it to the IRF fabric.
Examples
# Enable the software auto-update function.
<Sysname> system-view
[Sysname] irf auto-update enable
irf domain
Syntax
irf domain
domain-id
undo irf
domain
View
System view
Default level
3: Manage level
Parameters
domain-id
: Specifies a domain ID for the IRF fabric. The value range is 0 to 4294967295.
Description
Use
irf domain
to assign a domain ID to an IRF fabric.
Use
undo irf domain
to restore the default.
By default, the domain ID of an IRF fabric is 0.