Networking NVIDIA NVOS User Manual for InfiniBand Switches

Installation Management Commands

For examples of how to use each REST API command type, see the following sections:

Version

nv show system version


nv show system version

Shows system version information, including the ONIE, kernel, base OS, and product release versions, and the build ID and build date of the system image.

Syntax Description

N/A

Default

N/A

History

25.02.2002

25.02.5002
Updated output

Example

admin@nvos:~$ nv show system version
            operational
----------  ----------------------------
kernel      5.10.0-30-2-amd64
build-date  Wed Jun 18 15:19:56 UTC 2025
image       nvos-25.02.4014
onie        2025.05-5.3.0017-115200

REST API

GET https://<ip>/nvue_v1/system/version

Related Commands

nv show system
nv show system image

Image

nv show system image


nv show system image

Shows system image information, including the current partition, the partition to boot from next, and the image build ID in each partition.

Syntax Description

N/A

Default

N/A

History

25.02.2002

25.02.3000
Updated command output

Example

admin@nvos:~$ nv show system image
             operational
-----------  ---------------
current      1
next         1
issu-status  no-issu
partition1
  build-id   nvos-25.02.4014

REST API

GET https://<ip>/nvue_v1/system/image

Related Commands

nv show system image files

nv show system version image


nv show system version image

Shows the build ID and build date of the system image.

Syntax Description

N/A

Default

N/A

History

25.02.5002

Example

admin@nvos:~$ nv show system version image
              operational
----------    ----------------------------------------
build-id      nvos-25.02.2988-001
build-date    Wed Mar  5 11:23:22 UTC 2025

REST API

GET https://<ip>/nvue_v1/system/version/image

nv show system version packages installed


nv show system version packages installed

Shows the software packages installed on the system.

Syntax Description

N/A

Default

N/A

History

25.02.5002

Example

admin@nvos:~$ nv show system version packages installed
Installed Software    Description                            Package   Version
-------------------   -------------------------------------  --------  -------
acpi                  displays information on ACPI devices   acpi      1.7-1.2

REST API

GET https://<ip>/nvue_v1/system/version/packages/installed

nv show system version packages installed id


nv show system version packages installed <installed-id>

Shows information about a specific installed software package.

Syntax Description

installed-id

The package name, for example, acl.

Default

N/A

History

25.02.5002

Example

admin@nvos:~$ nv show system version packages installed acl
             operational
-----------  -------------------------------
package      acl
version      2.2.53-10
description  access control list - utilities

REST API

GET https://<ip>/nvue_v1/system/version/packages/installed/<installed-id>

nv show system image files


nv show system image files

Shows the image files available on the switch.

Syntax Description

N/A

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv show system image files
Available image file
-----------------------------
nvos-amd64-25.01.2434-013.bin
nvos-amd64-25.01.2504.bin

REST API

GET https://<ip>/nvue_v1/system/image/files

Related Commands

nv show system image

nv action fetch system image


nv action fetch system image <remote-url>

Fetches (downloads) an image file from a remote server to the switch.

Syntax Description

remote-url

  • Remote URL path to fetch the file from.

  • Format: [protocol]://username[:password]@hostname/path/filename

  • Supported protocols: SCP, HTTPS, FILE, FTP, and SFTP.

  • If you include the password in the URL and it contains special characters, you must encode it.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action fetch system image scp://my_user:my_password@server/path/image.bin
admin@nvos:~$ nv action fetch system image https://www.example.com/path/image.bin
admin@nvos:~$ nv action fetch system image file:///path/image.bin

REST API

POST https://<ip>/nvue_v1/system/image/@fetch

Related Commands

nv show system image files

Notes

Using HTTPS requires the remote server to have a valid CA certificate.

nv action install system image files


nv action install system image files <image> [reboot {yes | no}] [force] [issu] [skip-sm]

Installs a system image file. By default, the system reboots after the installation.

Syntax Description

image

The image file to install. To list the available image files, run nv show system image files.

reboot

Specifies whether to reboot the system after the installation: yes or no.

force

Installs the image and reboots the system without prompting for confirmation.

issu

Installs the image in ISSU (In-Service Software Upgrade) mode, without a reboot.

skip-sm

Skips the Subnet Manager (SM) confirmation for ISSU. Use it only when the SM is not available.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action install system image files nvos.bin
The operation will install the image and initiate a reboot.
Type [y] to install the image and reboot.
Type [N] to abort.

Do you want to continue? [y/N] N
Image install aborted by user

REST API

POST https://<ip>/nvue_v1/system/image/files/<image>/@install

Related Commands

nv show system image

Notes

If you run the command for an image that is already installed on the other partition, the command does not install the image again; it only changes the boot-next image.

nv action rename system image files


nv action rename system image files <image> <new-name>

Renames an image file.

Syntax Description

image

The name of the image file to rename.

new-name

The new name for the image file.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action rename system image files old_name.img new_name.img

REST API

POST https://<ip>/nvue_v1/system/image/files/<image>/@rename

Related Commands

nv show system image files

nv action upload system image files


nv action upload system image files <image> <remote-url>

Uploads an image file to a remote server.

Syntax Description

image

The image file to upload.

remote-url

Remote URL path to upload the file to.
Format: [protocol]://username[:password]@hostname/path/filename
Supported protocols: SCP, FTP, SFTP, and HTTPS.

Default

N/A

History

25.02.2002

25.02.4002
Added HTTPS support in remote-url

Example

admin@nvos:~$ nv action upload system image files image_file.bin scp://my_user:my_password@server/path/image_file.bin

REST API

POST https://<ip>/nvue_v1/system/image/files/<image>/@upload

Related Commands

nv show system image files

nv action uninstall system image


nv action uninstall system image

Uninstalls unused images (images that are not the current image or the boot-next image).

Syntax Description

N/A

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action uninstall system image
Cleaning up old unused images...
Removing image nvos-old
Images cleanup done
Action succeeded

admin@nvos:~$ nv action uninstall system image
Cleaning up old unused images...
No image(s) to cleanup
Action succeeded

REST API

POST https://<ip>/nvue_v1/system/image/@uninstall

Related Commands

nv show system image

nv action delete system image files 


nv action delete system image files <image>

Deletes an image file from the switch.

Syntax Description

image

The image file name.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action delete system image files nvos.bin

REST API

POST https://<ip>/nvue_v1/system/image/files/<image>/@delete

Related Commands

nv show system image files

nv action uninstall system image force


nv action uninstall system image force

Uninstalls unused images, including an image that is set as the boot-next image.

Syntax Description

force

Uninstalls the image even if it is set as the boot-next image.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action uninstall system image force
Uninstalling system image: nvos
Image nvos uninstalled successfully
Action succeeded

admin@nvos:~$ nv action uninstall system image force
Uninstalling system image: nvos
Action failed with the following issue:
  Image nvos can’t be uninstalled. Image does not exist

REST API

POST https://<ip>/nvue_v1/system/image/@uninstall

Related Commands

nv show system image

Notes

To see the current image and the boot-next image, run the nv show system image command.

nv action boot-next system image


nv action boot-next system image <partition>

Sets the partition (system image) to boot from at the next reboot.

Syntax Description

partition

The partition to boot from: partition1 or partition2.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action boot-next system image partition2
Setting system image nvos as boot-next..
Image nvos set as boot-next
Action succeeded

admin@nvos:~$ nv action boot-next system image partition2
Setting system image nvos as boot-next..
Action failed with the following issue:
  Failed to set boot-next: Image nvos does not exist

REST API

POST https://<ip>/nvue_v1/system/image/@boot-next

Related Commands

nv show system image

Notes

  • To see the current and next partitions, run the nv show system image command.

  • Booting to an image with an existing database (an image that is not freshly installed) does not migrate the configuration from the current image.

Firmware

nv show platform firmware


nv show platform firmware

Shows firmware information for platform components, such as the ASIC, BIOS, CPLD, SSD, and transceivers.

Syntax Description

N/A

Default

N/A

History

25.02.2002

Example

admin@nvos:~# nv show platform firmware
Name        Actual FW           Part Number                FW Source
----------  ------------------  -------------------------  ---------
ASIC        31_2012_2906-032    MQM9700-NS2X-NS_Ax         default
BIOS        0ACQF_06.01.002     N/A                        N/A
CPLD1       CPLD000232_REV0700  N/A                        N/A
CPLD2       CPLD000324_REV0300  N/A                        N/A
CPLD3       CPLD000000_REV0000  N/A                        N/A
SSD         0202-002            StorFly VSFBM4XC016G-MLX2  N/A
transceiver N/A                 N/A                        N/A

REST API

GET https://<ip>/nvue_v1/platform/firmware

nv show platform firmware id


nv show platform firmware <component-id>

Shows firmware information for a specific platform component, such as the ASIC, BIOS, CPLD, SSD, or transceiver.

Syntax Description

component-id

The platform component name, for example, ASIC, BIOS, or transceiver.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv show platform firmware ASIC
operational      applied
---------------  ------------------  -------
part-number      MQM9700-NS2X-NS_Ax
actual-firmware  31_2012_2906-032
auto-update      enabled
fw-source        default        

REST API

GET https://<ip>/nvue_v1/platform/firmware/<component-id>

Related Commands

nv show platform firmware

nv show platform firmware files


nv show platform firmware <component-id> files

Shows the firmware files available for a specific platform component, such as the ASIC, BIOS, CPLD, or transceiver.

Syntax Description

component-id

The platform component name, for example, ASIC, BIOS, or transceiver.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv show platform firmware ASIC files
Available firmware files          File path
--------------------------------  ------------------------------------------------
fw-QTM2-rel-31_2012_3008-EVB.mfa  /host/fw-images/fw-QTM2-rel-31_2012_3008-EVB.mfa

admin@nvos:~$ nv show platform firmware transceiver files 
Available Firmware Files        File Path                                            
------------------------------  -----------------------------------------------------
fw_47_150_03003_dev_signed.bin  /host/fw-images/module/fw_47_150_03003_dev_signed.bin

REST API

GET https://<ip>/nvue_v1/platform/firmware/{component-id}/files

Related Commands

nv show platform firmware
nv action install platform firmware <component-id> files <file-name>
nv action install platform transceiver <transceiver-id> firmware files <file-name>

nv set/unset platform firmware


nv set platform firmware <component-id> auto-update {enabled | disabled}
nv set platform firmware <component-id> fw-source {default | custom}
nv unset platform firmware <component-id> [auto-update | fw-source]

Sets the firmware auto-update state and the firmware source for the ASIC or BIOS. The unset command restores the default.

Syntax Description

component-id

The platform component: ASIC or BIOS.

auto-update

Turns automatic firmware update on or off for the component: enabled or disabled.

fw-source

The firmware source for the component: default or custom.

Default

auto-update

ASIC: enabled
BIOS: disabled

fw-source

default

History

25.02.2002

25.02.6007
Updated auto-update BIOS default to disabled

Example

admin@nvos:~$ nv set platform firmware ASIC fw-source custom
admin@nvos:~$ nv set platform firmware ASIC auto-update disabled

REST API

PATCH https://<ip>/nvue_v1/platform/firmware/<component-id>
DELETE https://<ip>/nvue_v1/platform/firmware/<component-id>

Notes

BIOS configuration is not available on systems with a BMC.

nv action install platform firmware files


nv action install platform firmware <component-id> files <file-name> [force] [skip-reboot]

Installs a firmware file on a platform component.

Syntax Description

component-id

The platform component name, for example, ASIC, BIOS, SSD, or transceiver.

file-name

The firmware file name. To list the available files, run nv show platform firmware <component-id> files.

force

Installs the firmware without prompting for confirmation.

skip-reboot

Skips the reboot after the firmware installation, even if you specify force.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action install platform firmware ASIC files/tmp/fw-QTM2.mfa
Installing firmware: /tmp/fw-QTM2.mfa
Firmware fw-QTM2.mfa successfully installed
Action succeeded

REST API

POST https://<ip>/nvue_v1/platform/firmware/{platform-component-id}/files/{file-name}

Related Commands

nv set/unset platform firmware ASIC auto-update
nv action reboot system

Notes

  • The ASIC image is staged and installed at the next reboot.

  • Installation respects the auto-update and fw-source configuration.

  • To install firmware on a transceiver, use the following command: nv action install platform transceiver firmware files

  • After you install firmware, rebooting the system with the nv action reboot system command power cycles the switch to load the new firmware.

  • The percentage progress bar displayed during single-platform firmware installation reflects the overall installation progress, not the progress of an individual component.

nv action delete platform firmware files


nv action delete platform firmware <component-id> files <file-name>

Deletes a firmware file for a specific platform component, such as the ASIC, BIOS, CPLD, or transceiver.

Syntax Description

component-id

The platform component name, for example, ASIC, BIOS, or transceiver.

file-name

The firmware file name.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action delete platform firmware ASIC files fw-test.mfa
File delete successfully
Action succeeded

admin@nvos:~$ nv action delete platform firmware transceiver files fw-test.bin
File delete successfully
Action succeeded

REST API

POST https://<ip>/nvue_v1/platform/firmware/{component-id}/files/{file-name}

Related Commands

nv show platform firmware <component-id> files
nv action fetch platform firmware <component-id> <remote-url>
nv action upload platform firmware <component-id> files <file-name> <remote-url>
nv action rename platform firmware <component-id> files <file-name> <new-name>
nv action install platform firmware <component-id> files <file-name> [force]
nv show platform transceiver <transceiver-id> firmware
nv action install platform transceiver <transceiver-id> firmware files

nv action rename platform firmware files


nv action rename platform firmware <component-id> files <file-name> <new-name>

Renames a firmware file for a specific platform component, such as the ASIC, BIOS, CPLD, or transceiver.

Syntax Description

component-id

The platform component name, for example, ASIC, BIOS, or transceiver.

file-name

The name of the firmware file to rename.

new-name

The new name for the firmware file.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action rename platform firmware ASIC files fw-QTM.mfa new-fw-QTM.mfa
File renamed successfully
Action succeeded  

admin@nvos:~$ nv action rename platform firmware transceiver files fw-test.bin new-fw-test.bin
File renamed successfully
Action succeeded

REST API

POST https://<ip>/nvue_v1/platform/firmware/{component-id}/files/{file-name}

Related Commands

nv show platform firmware <component-id> files
nv action fetch platform firmware <component-id> <remote-url>
nv action upload platform firmware <component-id> files <file-name> <remote-url>
nv action delete platform firmware <component-id> files <file-name>
nv action install platform firmware <component-id> files <file-name> [force]
nv show platform transceiver <transceiver-id> firmware
nv action install platform transceiver <transceiver-id> firmware files

nv action fetch platform firmware


nv action fetch platform firmware <component-id> <remote-url>

Fetches (downloads) a firmware file from a remote server to the switch for a specific platform component, such as the ASIC, BIOS, CPLD, or transceiver.

Syntax Description

component-id

The platform component name, for example, ASIC, BIOS, or transceiver.

remote-url

  • Remote URL path to fetch the file from.

  • Format: [protocol]://username[:password]@hostname/path/filename

  • Supported protocols: SCP, HTTPS, FILE, FTP, and SFTP.

  • If you include the password in the URL and it contains special characters, you must encode it.

Default

N/A

History

25.02.2002

Example

admin@nvos:~$ nv action fetch platform firmware ASIC scp://my_user:my_password@hostname/dir/file.mfa
Fetching file …
File fetched successfully
Action succeeded

admin@nvos:~$ nv action fetch platform firmware transceiver scp://my_user:my_password@hostname/dir/file.bin
Fetching file …
File fetched successfully
Action succeeded

admin@nvos:~$ nv action fetch platform firmware ASIC file:///dir/file.mfa
Fetching file …
File fetched successfully
Action succeeded

REST API

POST https://<ip>/nvue_v1/platform/firmware/{component-id}/files/{file-name}

Related Commands

nv show platform firmware <component-id> files
nv action rename platform firmware <component-id> files <file-name> <new-name>
nv action upload platform firmware <component-id> files <file-name> <remote-url>
nv action delete platform firmware <component-id> files <file-name>
nv action install platform firmware <component-id> files <file-name> [force]
nv show platform transceiver <transceiver-id> firmware
nv action install platform transceiver <transceiver-id> firmware files

nv action upload platform firmware files


nv action upload platform firmware <component-id> files <file-name> <remote-url>

Uploads a firmware file for a specific platform component, such as the ASIC, BIOS, CPLD, or transceiver, to a remote server.

Syntax Description

component-id

The platform component name, for example, ASIC, BIOS, or transceiver.

file-name

The firmware file name.

remote-url

Remote URL path to upload the file to.
Format: [protocol]://username[:password]@hostname/path/filename
Supported protocols: SCP, FTP, SFTP, and HTTPS.

Default

N/A

History

25.02.2002

25.02.4002
Added HTTPS support in remote-url

Example

admin@nvos:~$ nv action upload platform firmware ASIC files fw-QTM.mfa new-fw-QTM.mfa

Action executing ...
File upload successfully
Action succeeded

REST API

POST https://<ip>/nvue_v1/platform/firmware/{component-id}/files/{file-name}

Related Commands

nv show platform firmware <component-id> files
nv action fetch platform firmware <component-id> <remote-url>
nv action delete platform firmware <component-id> files <file-name>
nv action install platform firmware <component-id> files <file-name> [force]
nv show platform transceiver <transceiver-id> firmware
nv action install platform transceiver <transceiver-id> firmware files

Last updated: