NIC ESXi Management Tools
nmlxcli tools is an esxcli command line extension for NVIDIA® 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'.
'nmlxcli' tool is compatible with ConnectX-4 onward driver.
nmlxcli installation is performed as standard offline bundle.
To install nmlxcli:
Run
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.
/etc/init.d/hostd restart
or
reboot ESXi host.