upgrade managed-devices

upgrade managed-devices

ca-bundle

update [all | path <node-path> | download url <url > | single <mac>]

reset [all | path <node-path> | single <mac>]

copy configured-fileserver

file <img-file> {all|path <node-path>|single <mac-addr>}

force-file <img-file-forced> {all|path <node-path>|single <mac-addr>}

force-my-version {all|path <node-path>|single <mac-addr>}

force-version <img-version-forced> {all|path <node-path>|single <mac-addr>}

my-version {all|path <node-path>|single <mac-addr>}

version <img-version> {all|path <node-path>|single <mac-addr>}

schedule <year> <month> <day> <hour> <min> <sec> partition {0|1}

copy fileserver {ftp <imagehost> <username> <image-path>|scp <imagehost> <username> <image-path>|tftp <imagehost> <image-path>}

file <img-file> {all|path <node-path>|single <mac-addr>}

force-file <img-file-forced> {all|path <node-path>|single <mac-addr>}

force-my-version {all|path <node-path>|single <mac-addr>}

force-version <img-version-forced> {all|path <node-path>|single <mac-addr>}

my-version {all|path <node-path>|single <mac-addr>}

version <img-version> {all|path <node-path>|single <mac-addr>}

schedule <year> <month> <day> <hour> <min> <sec> partition {0|1}

copy-no-change-default-boot configured-fileserver

file <img-file> {all|path <node-path>|single <mac-addr>}

force-file <img-file-forced> {all|path <node-path>|single <mac-addr>}

force-my-version {all|path <node-path>|single <mac-addr>}

force-version <img-version-forced> {all|path <node-path>|single <mac-addr>}

my-version {all|path <node-path>|single <mac-addr>}

version <img-version> {all|path <node-path>|single <mac-addr>}

schedule <year> <month> <day> <hour> <min> <sec> partition {0|1}

copy-no-change-default-boot fileserver {ftp <imagehost> <username> <image-path>|scp <imagehost> <username> <image-path>|tftp <imagehost> <image-path>}

file <img-file> {all|path <node-path>|single <mac-addr>}

force-file <img-file-forced> {all|path <node-path>|single <mac-addr>}

force-my-version {all|path <node-path>|single <mac-addr>}

force-version <img-version-forced> {all|path <node-path>|single <mac-addr>}

my-version {all|path <node-path>|single <mac-addr>}

version <img-version> {all|path <node-path>|single <mac-addr>}

schedule <year> <month> <day> <hour> <min> <sec> partition {0|1}

copy-reboot configured-fileserver

file <img-file> {all|path <node-path>|single <mac-addr>} partition {0|1}

force-file <img-file-forced> {all|path <node-path>|single <mac-addr>} partition {0|1}

force-my-version {all|path <node-path>|single <mac-addr>}

force-version <img-version-forced> {all|path <node-path>|single <mac-addr>} partition {0|1}

my-version {all|path <node-path>|single <mac-addr>}

version <img-version> {all|path <node-path>|single <mac-addr>} partition {0|1}

schedule <year> <month> <day> <hour> <min> <sec> partition {0|1}

copy-reboot fileserver {ftp <imagehost> <username> <image-path>|scp <imagehost> <username> <image-path>|tftp <imagehost> <image-path>}

file <img-file> {all|path <node-path>|single <mac-addr>} partition {0|1}

force-file <img-file-forced> {all|path <node-path>|single <mac-addr>} partition {0|1}

force-my-version {all|path <node-path>|single <mac-addr>}

force-version <img-version-forced> {all|path <node-path>|single <mac-addr>} partition {0|1}

my-version {all|path <node-path>|single <mac-addr>}

version <img-version> {all|path <node-path>|single <mac-addr>} partition {0|1}

schedule <year> <month> <day> <hour> <min> <sec> partition {0|1}

reboot

all

path <node-path>

single <mac-addr>

Description

This command upgrades the managed devices with the respective options provided in the input, like using different protocol options as well as loading at different node levels and paths, and also can upgrade the single managed device based on the MAC address of the device.

This command can only be issued on the /md node or a specific node. This command is ignored if issued on the /mynode node.

Parameter

Description

ca-bundle update

Upgrades the trusted CA certificates of managed devices.

ca-bundle reset

Resets the trusted CA certificates of managed devices.

ca-bundle download url <url>

(Optional) CA certificates will be downloaded from the specified URL. If the URL is not mentioned, the certificates will be downloaded from Activate.

NOTE: The URL should begin with either http or https.

all

Upgrades/ resets the trusted CA certificates of all managed devices

path <node-path>

Upgrades/ resets the trusted CA certificates of managed devices under a specific node path. The node path must begin with /.

single <mac>

Upgrades/ resets the trusted CA certificates of a specific managed device.

copy configured-fileserver

Copies the configured file server options like file, force-file, version, and force-version.

copy fileserver

Specify the file server details like, scp, ftp, tftp.

copy-no-change-default-boot configured-fileserver

Copies upgrade image to managed devices without changing default boot using configured file server options like file, force-file, version, and force-version.

copy-no-change-default-boot fileserver

Copies upgrade image to managed devices without changing default boot using file server details like, scp, ftp, tftp.

copy-reboot configured-fileserver

Reboots the managed devices after successful upgrade of the respective image using configured-file server options like file, force-file, version and force-version.

copy-reboot fileserver

Selects the type of supported servers like, ftp, scp, tftp and reboots the managed device post upgrade

reboot

Reboots the managed device.

all

Copies/ upgrades image to all managed devices under the respective node path

path

Copies/ upgrades image under specific node path and all the managed devices under this node path target node and make them as target list.

single

Copies/ upgrades image to the specific managed device based on MAC address under the respective node-path.

ftp

Used for mentioning FTP server.

scp

Used for mentioning SCP server.

tftp

Used for mentioning TFTP server.

file

Exact name of the image or image file.

force-file

Forcing the exact image name on the file-server by ignoring the existing file or image on the managed device..

force-my-version

Used to force the master standard image name and is based on the platform type and version running on the managed device is ignored.

force-version

Used to force the standard image name and is based on the platform type and version running on the managed device.

my-version

Master Image version and standard name based on platform type generated to load the image.

version

Image version and standard name based on platform type generated to load the image.

schedule <year> <month> <day> <hour> <min> <sec>

Schedule the upgrade to occur at specified date and time.

partition

Specify the partition for the upgrade as 0 or 1.

Example

The following command schedules the upgrade of AOS image on partition 0 of a single managed device with MAC address 1a:2b:3c:4d:5e:6f under the /md node by using an AOS image from an FTP file server on the network. The upgrade is scheduled to occur at 10:30:15 AM on the 11th of December 2018.

(host) [md] #upgrade managed-devices copy fileserver ftp 191.1.2.3 anonymous . file ArubaOS_70xx_8.4.0.0_68198 single 1a:2b:3c:4d:5e:6f partition 0 schedule 2018 12 11 10 30 153

Related Commands

Command

Description

lc-cluster initiate schedule upgrade

Use this command to schedule upgrade of cluster.

show upgrade managed-devices

Use this command to view the status of scheduled upgrade of managed devices.

Command History

Release

Description

AOS 8.7.0.0

The ca bundle parameter was introduced.

AOS 8.4.0.0

The schedule parameter was added.

AOS 8.2.0.0

The IPv6 address of the image server was added to the imagehost parameter.

AOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

Base operating system.

Config mode on Mobility Conductor.