6.5

Table Of Contents
Options Description
--config <config_string>
-c <config_string>
Conguration string to set for the device or path specied by --device or --path. See
“Managing Path Policies,” on page 54.
--device <device>
-d <device>
Device for which you want to customize the path policy.
--path <path>
-p <path>
Path for which you want to customize the path policy.
Fixed Path Selection Policy Operations
The fixed option gets and sets the preferred path policy for NMP devices congured to use VMW_PSP_FIXED.
Retrieving the Preferred Path
The esxcli storage nmp fixed deviceconfig get command retrieves the preferred path on a specied
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 congured as the preferred path for the specied device, run the following command.
Specify one of the options listed in “Connection Options for vCLI Host Management Commands,” on
page 19 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 specied 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 specied device.
To set the preferred path for the specied device to vmhba3:C0:T5:L3, run the following command. Specify
one of the options listed in “Connection Options for vCLI Host Management Commands,” on page 19 in
place of <conn_options>.
esxcli <conn_options> storage nmp fixed deviceconfig set --device naa.xxx --path vmhba3:C0:T5:L3
vSphere Command-Line Interface Concepts and Examples
104 VMware, Inc.