update
Syntax
update {primary | secondary}![]()
描述
Verifies and installs a product image. The user can select the primary or secondary boot profile to update and the location of the file.
Command context
Service OS (SVOS>
)
Parameters
-
{primary | secondary}
-
Selects either the primary or secondary image.
-
-
Specifies the image name.
一个uthority
一个dministrators or local user group members with execution rights for this command.
Examples
Updating the software image using TFTP:
NOTE:
The OOBM port is disabled on first boot and must be enabled using theip
command.
SVOS>ip dhcpSVOS>ip showInterface : Link Up IP Address : 192.0.2.22 Subnet Mask: 255.255.200.20 Gateway : 10.0.24.1 SVOS> tftp -g -r XL.10.00.0001.swi -l image.swi 192.4.8.10 XL.10.00.0001.swi 100% |*******************************| 178M 0:00:00 ETA SVOS> ls image.swi SVOS>update primaryimage.swiUpdating primary software image... Verifying image... Done
更新使用USB软件图像:
NOTE:
This example assumes that the user has preloaded a USB flash drive with the image to be updated. The image name on the flash drive is not important.
SVOS>mount usbSVOS>ls /mnt/usbimage.swi SVOS>update primary /mnt/usb/image.swiUpdating primary software image... Verifying image... Done