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:
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 188.8.131.52 and above
- ConnectX-4/5 driver version 184.108.40.206 and above
nmlxcli installation is performed as standard offline bundle.
To install nmlxcli:
esxcli software vib install -d <path_to_nmlxcli_extension_bun- dle.zip>
For general information on updating ESXi from a zip bundle, refer to the VMware vSphere Documentation Center:
- For the new Mellanox namespace to function:
Restart the ESXi host daemon.
- reboot ESXi host.