image image image image image

On This Page

nmlxcli tools is a Mellanox esxcli command line extension for ConnectX®-3 onwards drivers’ management for ESXi 6.0 and later.

This tool enables querying of Mellanox NIC and driver properties directly from driver / firmware.

Once the tool bundle is installed (see “Installing nmlxcli” section below), a new NameSpace named 'mellanox' will be available when executing main #esxcli command, containing additional nested NameSpaces and available commands for each NameSpace.

For general information on 'esxcli' commands usage, syntax, NameSpaces and commands, refer to the VMware vSphere Documentation Center: 91DB-454D-8603-3A3E4A09DC59.html

During 'nmlxcli' commands execution, most of the output is formatted using the standard esxcli formatter, thus if required, the option of overriding the standard formatter used for a given command is available, for example:

Executing 'esxcli --formatter=xml mellanox uplink list' produces XML output of given command.

For general information on esxcli generated output formatter, refer to the VMware vSphere Documentation Center:

The current implementation does not support private statistics output formatting.

In case of execution failure, the utility will prompt to standard output or/and log located at '/var/log/syslog.log'.


Mellanox 'nmlxcli' tool is compatible with:

  • ConnectX-3 driver version and above
  • ConnectX-4/5 driver version and above

Installing nmlxcli 

nmlxcli installation is performed as standard offline bundle.

To install nmlxcli:

  1. Run

    esxcli software vib install -d <path_to_nmlxcli_extension_bun->

    For general information on updating ESXi from a zip bundle, refer to the VMware vSphere Documentation Center: 22A4B153-CB21-47B4-974E-2E5BB8AC6874.html

  2. For the new Mellanox namespace to function:
    • Restart the ESXi host daemon.

       /etc/init.d/hostd restart     


    • reboot ESXi host.