The fixed option gets and sets the preferred path policy for NMP devices configured to use VMW_PSP_FIXED.

Retrieving the Preferred Path

The esxcli storage nmp fixed deviceconfig get command retrieves the preferred path on a specified device that is using NMP and the VMW_PSP_FIXED path policy.

Options Description

- -device <device>

-d <device>

Device for which you want to get the preferred path. This device must be controlled by the VMW_PSP_FIXED PSP.

To return the path configured as the preferred path for the specified device, run the following command. Specify one of the options listed in Connection Options for ESXCLI Host Management Commands in place of <conn_options>.

esxcli <conn_options> storage nmp fixed deviceconfig get --device naa.xxx

Setting the Preferred Path

The esxcli storage nmp fixed deviceconfig set command sets the preferred path on a specified device that is using NMP and the VMW_PSP_FIXED path policy.

Options Description

--device <device>

-d <device>

Device for which you want to set the preferred path. This device must be controlled by the VMW_PSP_FIXED PSP.

Use esxcli storage nmp device --list to list the policies for all devices.

--path <path>

-p <path>

Path to set as the preferred path for the specified device.

To set the preferred path for the specified device to vmhba3:C0:T5:L3, run the following command. Specify one of the options listed in Connection Options for ESXCLI Host Management Commands in place of <conn_options>.

esxcli <conn_options> storage nmp fixed deviceconfig set --device naa.xxx --path vmhba3:C0:T5:L3