Change the Path Policy
with ESXCLILast Updated December 16, 2024
You can change the
path policy with ESXCLI.
Verify that you are familiar
with the supported path policies. See
Managing Path Policies.
Specify one of the options
listed in
Connection Options for ESXCLI Host Management Commands
in place of
<conn_options>
.
- Ensure your device is claimed by the NMP plug-in.Only NMP devices allow you to change the path policy.
- Retrieve the list of path selection policies on the system to see which values are valid for the--pspoption when you set the path policy.
- Set the path policy by using ESXCLI.
- If you specified theVMW_PSP_FIXEDpolicy, you must make sure the preferred path is set correctly.
- Check which path is the preferred path for a device.
- If necessary, change the preferred path.vmhba3:C0:T5:L3. Run the command with--defaultto clear the preferred path selection.