Usage: esxcli device add [cmd options] Description: add Add a device to enable a software device driver. Cmd options: -d|--device-identifier= Device identifier from the device specification for the software device driver. Valid input is in reverse domain name format (e.g. com.company.device). (required) -i|--instance-address= Unique number to address this instance of the device, if multiple instances of the same device identifier are added. Valid values are integer in the range 0-31. Default is 0. Usage: esxcli device alias get [cmd options] Description: get Display hardware location info for a device alias. Cmd options: -n|--alias= Alias to lookup (required) Usage: esxcli device alias list [cmd options] Description: list List device aliases. Cmd options: Usage: esxcli device driver list [cmd options] Description: list Show driver status for specific devices. Cmd options: -d|--devices=[ ... ] List of device aliases to look up. Usage: esxcli device software add [cmd options] Description: add Add a device to enable a software device driver. Cmd options: -d|--device-identifier= Device identifier from the device specification for the software device driver. Valid input is in reverse domain name format (e.g. com.company.device...). (required) -i|--instance-address= Unique number to address this instance of the device, if multiple instances of the same device identifier are added. Valid values are integer in the range 0-31. Default is 0. Usage: esxcli device software list [cmd options] Description: list List software devices. Cmd options: Usage: esxcli device software remove [cmd options] Description: remove Remove a software device. Cmd options: -d|--device-identifier= Device identifier from the device specification for the software device driver. Valid input is in reverse domain name format (e.g. com.company.device...). (required) -i|--instance-address= Unique number to address this instance of the device. Usage: esxcli esxcli command list [cmd options] Description: list List all of the esxcli commands. Cmd options: -c|--command-filter= Show only commands containing the specified string in their name. -d|--description-filter= Show only commands containing the specified string in their description. -n|--namespace-filter= Show only commands containing the specified string in their namespace path. Usage: esxcli fcoe adapter list [cmd options] Description: list List FCOE-capable CNA devices. Cmd options: Usage: esxcli fcoe adapter remove [cmd options] Description: remove Initiate FCOE adapter removal. Cmd options: -a|--adapter-name= The FCOE adapter name (vmhbaX) (required) Usage: esxcli fcoe nic disable [cmd options] Description: disable Disable rediscovery of FCOE storage on behalf of an FCOE-capable CNA upon next boot. Cmd options: -n|--nic-name= The CNA adapter name (vmnicX) (required) Usage: esxcli fcoe nic discover [cmd options] Description: discover Initiate FCOE adapter discovery on behalf of an FCOE- capable CNA. Cmd options: -n|--nic-name= The CNA adapter name (vmnicX) (required) Usage: esxcli fcoe nic enable [cmd options] Description: enable Enable an FCOE-capable NIC if it is disabled. Cmd options: -n|--nic-name= The CNA adapter name (vmnicX) (required) Usage: esxcli fcoe nic list [cmd options] Description: list List FCOE-capable CNA devices. Cmd options: Usage: esxcli fcoe nic remove [cmd options] Description: remove Initiate FCOE device destroy on behalf of an FCOE- capable PNIC. Cmd options: -n|--nic-name= The CNA adapter name (vmnicX) (required) Usage: esxcli fcoe nic set [cmd options] Description: set Set options on FCOE-capable CNA. Cmd options: -V|--enable-vn2vn= Enable or Disable VN2VN mode on the nic (Reboot Required) -n|--nic-name= The CNA adapter name (vmnicX) (required) -p|--priority= Priority class (0 - 7) to use for FCOE traffic -v|--vlan-id= The VLAN id for this nic, range '0 - 4095'(Reboot Required) Usage: esxcli graphics device list [cmd options] Description: list List all of the graphics devices on this host. Cmd options: Usage: esxcli graphics device stats list [cmd options] Description: list List graphics device statistics. Cmd options: Usage: esxcli graphics host get [cmd options] Description: get Get host graphics properties. Cmd options: Usage: esxcli graphics host refresh [cmd options] Description: refresh Refresh host graphics properties. Cmd options: Usage: esxcli graphics host set [cmd options] Description: set Set host graphics properties. Cmd options: --default-type= Host default graphics type. --shared-passthru-assignment-policy= Shared passthru assignment policy. Usage: esxcli graphics vm list [cmd options] Description: list List active VMs associated with graphics devices. Cmd options: Usage: esxcli hardware bootdevice list [cmd options] Description: list List the boot device order, if available, for this host. Cmd options: Usage: esxcli hardware clock get [cmd options] Description: get Disply the current hardware clock time. Cmd options: Usage: esxcli hardware clock set [cmd options] Description: set Set the hardware clock time. Any missing parameters will default to the current time. Cmd options: -d|--day= Day -H|--hour= Hour -m|--min= Minute -M|--month= Month -s|--sec= Second -y|--year= Year Usage: esxcli hardware cpu cpuid get [cmd options] Description: get Get subset of CPUID fields for a CPU (deprecated, use: esxcli hardware cpu cpuid raw list). Cmd options: -c|--cpu= The ID of the CPU to query for CPUID data. (required) Usage: esxcli hardware cpu cpuid raw list [cmd options] Description: list Get all CPUID fields for a CPU. Cmd options: -c|--cpu= The ID of the CPU to query for all CPUID data. (required) Usage: esxcli hardware cpu global get [cmd options] Description: get Get properties that are global to all CPUs. Cmd options: Usage: esxcli hardware cpu global set [cmd options] Description: set Set properties that are global to all CPUs. Cmd options: -t|--hyperthreading= Enable or disable hyperthreading (required) Usage: esxcli hardware cpu list [cmd options] Description: list List all of the CPUs on this host. Cmd options: Usage: esxcli hardware ipmi bmc get [cmd options] Description: get Get IPMI Baseboard Management Controller (BMC) properties. Cmd options: Usage: esxcli hardware ipmi bmc set [cmd options] Description: set Set IPMI Baseboard Management Controller (BMC) properties. Changes take effect immediately. Cmd options: -n|--os-name= OS name that BMC will report. -v|--os-version= OS system version that BMC will report. Usage: esxcli hardware ipmi fru get [cmd options] Description: get Get IPMI Field Replaceable Unit (FRU) device details. Cmd options: -i|--ignore-missing Do not fail command if ipmi device is not present -p|--include-pretty-raw Include a hex dump where each byte is separated by a space and its value is presented with two hexidecimal characters using a leading zero if needed -r|--include-raw Include a hex dump where the value of each byte is presented as hexidecimal characters joined without spaces -n|--node= Specify which IPMI device (0..3) to query, defaults to 'all' for all ipmi nodes Usage: esxcli hardware ipmi fru list [cmd options] Description: list List IPMI Field Replaceable Unit (FRU) inventory. Cmd options: -i|--ignore-missing Do not fail command if ipmi device is not present -p|--include-pretty-raw Include a hex dump where each byte is separated by a space and its value is presented with two hexidecimal characters using a leading zero if needed -r|--include-raw Include a hex dump where the value of each byte is presented as hexidecimal characters joined without spaces -n|--node= Specify which IPMI device (0..3) to query, defaults to 'all' for all ipmi nodes Usage: esxcli hardware ipmi sdr get [cmd options] Description: get Get IPMI Sensor Data Repository (SDR) properties. Cmd options: -i|--ignore-missing Do not fail command if ipmi device is not present -p|--include-pretty-raw Include a hex dump where each byte is separated by a space and its value is presented with two hexidecimal characters using a leading zero if needed -r|--include-raw Include a hex dump where the value of each byte is presented as hexidecimal characters joined without spaces -n|--node= Specify which IPMI device (0..3) to query, defaults to 'all' for all ipmi nodes Usage: esxcli hardware ipmi sdr list [cmd options] Description: list List IPMI Sensor Data Repository. Cmd options: -f|--formatter= Override the formatter to use for a given command. Available formatter: simple ,table -i|--ignore-missing Do not fail command if ipmi device is not present -p|--include-pretty-raw Include a hex dump where each byte is separated by a space and its value is presented with two hexidecimal characters using a leading zero if needed -r|--include-raw Include a hex dump where the value of each byte is presented as hexidecimal characters joined without spaces -n|--node= Specify which IPMI device (0..3) to query, defaults to 'all' for all ipmi nodes Usage: esxcli hardware ipmi sel clear [cmd options] Description: clear Clear IPMI System Event Log. Cmd options: -i|--ignore-missing Do not fail command if ipmi device is not present -p|--include-pretty-raw Include a hex dump where each byte is separated by a space and its value is presented with two hexidecimal characters using a leading zero if needed -r|--include-raw Include a hex dump where the value of each byte is presented as hexidecimal characters joined without spaces -n|--node= Specify which IPMI device (0..3) to query, defaults to 'all' for all ipmi nodes Usage: esxcli hardware ipmi sel get [cmd options] Description: get Get IPMI System Event Log (SEL) properties. Cmd options: -i|--ignore-missing Do not fail command if ipmi device is not present -p|--include-pretty-raw Include a hex dump where each byte is separated by a space and its value is presented with two hexidecimal characters using a leading zero if needed -r|--include-raw Include a hex dump where the value of each byte is presented as hexidecimal characters joined without spaces -n|--node= Specify which IPMI device (0..3) to query, defaults to 'all' for all ipmi nodes Usage: esxcli hardware ipmi sel list [cmd options] Description: list List IPMI System Event Log. Cmd options: -i|--ignore-missing Do not fail command if ipmi device is not present -p|--include-pretty-raw Include a hex dump where each byte is separated by a space and its value is presented with two hexidecimal characters using a leading zero if needed -r|--include-raw Include a hex dump where the value of each byte is presented as hexidecimal characters joined without spaces -n|--node= Specify which IPMI device (0..3) to query, defaults to 'all' for all ipmi nodes Usage: esxcli hardware memory get [cmd options] Description: get Get information about memory. Cmd options: Usage: esxcli hardware pci list [cmd options] Description: list List all of the PCI devices on this host. Cmd options: -c|--class= Filter the PCI devices based on their hexadecimal Class ID -m|--mask= Mask the filter provided by the class flag Usage: esxcli hardware platform get [cmd options] Description: get Get information about the platform Cmd options: Usage: esxcli hardware power policy choices list [cmd options] Description: list List the power policies. Cmd options: Usage: esxcli hardware power policy get [cmd options] Description: get Display the current power policy. Cmd options: Usage: esxcli hardware power policy set [cmd options] Description: set Set the power policy. Cmd options: -i|--id= Power policy numeric id -n|--name= Power policy name -s|--short-name= Power policy short name Usage: esxcli hardware smartcard certificate list [cmd options] Description: list Certificates from inserted smart cards. Cmd options: -s|--slot= List certificates from only the token in the given slot. Usage: esxcli hardware smartcard info get [cmd options] Description: get Information about the smart card subsystem. Cmd options: Usage: esxcli hardware smartcard slot list [cmd options] Description: list Information about connected smart card readers. Cmd options: Usage: esxcli hardware smartcard token list [cmd options] Description: list Information about inserted smart cards. Cmd options: -s|--slot= List tokens only for the given slot. Usage: esxcli hardware trustedboot get [cmd options] Description: get Information about the status of trusted boot. (TPM, DRTM status) Cmd options: Usage: esxcli hardware usb passthrough device disable [cmd options] Description: disable Disable usb passthrough Cmd options: -d|--device= The device you wish to disable passthrough for. Please enter the Bus#,Dev#,vendorId and productId of the device in the format Bus#:Dev#:vendorId:productId using hexadecimal values(as shown by the list command) (required) Usage: esxcli hardware usb passthrough device enable [cmd options] Description: enable Enable usb passthrough Cmd options: -d|--device= The device you wish to enable passthrough for. Please note that this command only makes the device eligible for passthrough. The device can be connected to the VM only if usbarbitrator is running. See /etc/init.d/usbarbitrator status to check the status of the usbarbitrator. Please enter the information of the device in the format Bus#:Dev#:vendorId:productId using hexadecimal values(as shown by the list command) (required) Usage: esxcli hardware usb passthrough device list [cmd options] Description: list List usb devices and their passthrough status Cmd options: Usage: esxcli iscsi adapter auth chap get [cmd options] Description: get Get the iSCSI CHAP authentication for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -d|--direction= The iSCSI CHAP authentication direction. Options are: [uni, mutual] Usage: esxcli iscsi adapter auth chap set [cmd options] Description: set Set the iSCSI CHAP authentication for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -N|--authname= The iSCSI CHAP authentication name -D|--default Resetting iSCSI CHAP authenthication setting to default. -d|--direction= The iSCSI CHAP authentication direction. Options are: [uni, mutual] -l|--level= The iSCSI CHAP authentication level. Options are: [prohibited, discouraged, preferred, required] -S|--secret= The iSCSI CHAP authentication secret. The recommended length is at least 12 bytes. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli iscsi adapter capabilities get [cmd options] Description: get List the iSCSI details for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) Usage: esxcli iscsi adapter discovery rediscover [cmd options] Description: rediscover Do the iSCSI Discovery for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) Usage: esxcli iscsi adapter discovery sendtarget add [cmd options] Description: add Add a sendtarget address Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI sendtarget address: . IPv6 address can be specified as [XX:XX:XX:XX::XX]:port or XX:XX:XX:XX::XX (required) Usage: esxcli iscsi adapter discovery sendtarget auth chap get [cmd options] Description: get Get iSCSI CHAP authentication on a sendtarget address Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI sendtarget address: (required) -d|--direction= The iSCSI authentication direction. Options are: [uni, mutual] Usage: esxcli iscsi adapter discovery sendtarget auth chap set [cmd options] Description: set Set iSCSI CHAP authentication on a sendtarget address Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI sendtarget address: (required) -N|--authname= The iSCSI authentication name -D|--default Resetting iSCSI authentication setting to default. -d|--direction= The iSCSI authentication direction. Options are: [uni, mutual] -I|--inherit Inheriting iSCSI authentication setting from parent. -l|--level= The iSCSI authentication level. Options are: [prohibited, discouraged, preferred, required] -S|--secret= The iSCSI authentication secret. The recommended length is at least 12 bytes. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli iscsi adapter discovery sendtarget list [cmd options] Description: list List sendtarget addresses Cmd options: -A|--adapter= The iSCSI adapter name. Usage: esxcli iscsi adapter discovery sendtarget param get [cmd options] Description: get Get iSCSI parameter on a sendtarget address Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI sendtarget address: (required) Usage: esxcli iscsi adapter discovery sendtarget param set [cmd options] Description: set Set the iSCSI parameter for the iSCSI Sendtarget. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI sendtarget address: (required) -D|--default Resetting iSCSI parameter setting to default. -I|--inherit Inheriting iSCSI parameter setting from parent. -k|--key= The iSCSI parameter key (required) -v|--value= The iSCSI parameter value Usage: esxcli iscsi adapter discovery sendtarget remove [cmd options] Description: remove Remove a sendtarget address Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI sendtarget address: . IPv6 address can be specified as [XX:XX:XX:XX::XX]:port or XX:XX:XX:XX::XX (required) Usage: esxcli iscsi adapter discovery statictarget add [cmd options] Description: add Add a static target address Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI target address: . IPv6 address can be specified as [XX:XX:XX:XX::XX]:port or XX:XX:XX:XX::XX (required) -n|--name= The iSCSI target name. (required) Usage: esxcli iscsi adapter discovery statictarget list [cmd options] Description: list List static target addresses Cmd options: -A|--adapter= The iSCSI adapter name. Usage: esxcli iscsi adapter discovery statictarget remove [cmd options] Description: remove Remove a static target Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI target address: . IPv6 address can be specified as [XX:XX:XX:XX::XX]:port or XX:XX:XX:XX::XX (required) -n|--name= The iSCSI target name. (required) Usage: esxcli iscsi adapter discovery status get [cmd options] Description: get Get the iSCSI adapter discovery status for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) Usage: esxcli iscsi adapter firmware get [cmd options] Description: get Validate the iSCSI firmware for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -f|--file= Path to the firmware file to retrieve information from. (required) Usage: esxcli iscsi adapter firmware set [cmd options] Description: set Upload the iSCSI firmware for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -f|--file= Path to the firmware file to download. (required) Usage: esxcli iscsi adapter get [cmd options] Description: get List the iSCSI information for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) Usage: esxcli iscsi adapter list [cmd options] Description: list List all the iSCSI Host Bus Adapters on the system. Cmd options: -A|--adapter= The iSCSI adapter name. Usage: esxcli iscsi adapter param get [cmd options] Description: get Get the iSCSI parameters for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) Usage: esxcli iscsi adapter param set [cmd options] Description: set Set the iSCSI parameter for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -D|--default Resetting iSCSI parameter setting to default. -k|--key= The iSCSI initiator parameter key. (required) -v|--value= The iSCSI initiator parameter value. Usage: esxcli iscsi adapter set [cmd options] Description: set Set the iSCSI name and alias for the iSCSI Host Bus Adapter. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--alias= The iSCSI initiator alias. -n|--name= The iSCSI initiator name. -s|--skip-if-session-active Do not change initiator name if a session is active on the adapter. Usage: esxcli iscsi adapter target list [cmd options] Description: list List iSCSI targets. Cmd options: -A|--adapter= The iSCSI adapter name. -n|--name= The iSCSI target name. Usage: esxcli iscsi adapter target lun list [cmd options] Description: list Get iSCSI LUN information Cmd options: -A|--adapter= The iSCSI adapter name. -t|--target= The iSCSI target number. If a target number is specified, an adapter name must also be specified. Usage: esxcli iscsi adapter target portal auth chap get [cmd options] Description: get Get iSCSI CHAP authentication on a target Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI target address: (required) -d|--direction= The iSCSI authentication direction. Options are: [uni, mutual] -m|--method= The iSCSI authentication method. Options are: [chap] -n|--name= The iSCSI target name: (required) Usage: esxcli iscsi adapter target portal auth chap set [cmd options] Description: set Set the iSCSI CHAP authentication for the iSCSI Target. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI target address: (required) -N|--authname= The iSCSI authentication name -D|--default Resetting iSCSI authentication setting to default. -d|--direction= The iSCSI authentication direction. Options are: [uni, mutual] -I|--inherit Inheriting iSCSI authentication setting from parent. -l|--level= The iSCSI authentication level. Options are: [prohibited, discouraged, preferred, required] -n|--name= The iSCSI target name: (required) -S|--secret= The iSCSI authentication secret. The recommended length is at least 12 bytes. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli iscsi adapter target portal list [cmd options] Description: list List iSCSI target portals. Cmd options: -A|--adapter= The iSCSI adapter name. -n|--name= The iSCSI target name. Usage: esxcli iscsi adapter target portal param get [cmd options] Description: get Get iSCSI parameter on a target Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI target address: (required) -n|--name= The iSCSI target name: (required) Usage: esxcli iscsi adapter target portal param set [cmd options] Description: set Set the iSCSI parameter for the iSCSI Target. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address= The iSCSI target address: (required) -D|--default Resetting iSCSI parameter setting to default. -I|--inherit Inheriting iSCSI parameter setting from parent. -k|--key= The iSCSI parameter key (required) -n|--name= The iSCSI target name: (required) -v|--value= The iSCSI parameter value Usage: esxcli iscsi ibftboot get [cmd options] Description: get Get iSCSI IBFT Boot details. Cmd options: Usage: esxcli iscsi ibftboot import [cmd options] Description: import Import iSCSI target configuration from iBFT to ESX iSCSI initiators. The boot target recorded in iBFT is added to all the eligible 'dependent' iSCSI adapters. Cmd options: Usage: esxcli iscsi logicalnetworkportal list [cmd options] Description: list List Logical Network Portals for iSCSI Adapter Cmd options: -A|--adapter= The iSCSI adapter name. Usage: esxcli iscsi networkportal add [cmd options] Description: add Add a network portal for iSCSI adapter Cmd options: -A|--adapter= The iSCSI adapter name. (required) -f|--force= The force flag (force add of iSCSI vmknic even it's not compatible for iscsi multipathing) -n|--nic= The iSCSI network portal (bound vmknic) (required) Usage: esxcli iscsi networkportal ipconfig get [cmd options] Description: get Get iSCSI network portal ipv4 configuration Cmd options: -A|--adapter= The iSCSI adapter name. (required) -n|--nic= The iSCSI network portal (vmknic) Usage: esxcli iscsi networkportal ipconfig set [cmd options] Description: set Set iSCSI network portal IPv4 configuration. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -x|--dns1= The iSCSI network portal primary DNS address -y|--dns2= The iSCSI network portal secondary DNS address -e|--enable= Enable/Disable IPv4. All other options will be ignored if IPv4 is being disabled. -d|--enable-dhcpv4= Enable/Disable IPv4 configuration using DHCPv4. If DHCPv4 is being enabled, static configuration parameters (ip,subnet,gateway,dns1,dns2) are ignored. -g|--gateway= The iSCSI network portal IPv4 gateway address -i|--ip= The iSCSI network portal IPv4 address -n|--nic= The iSCSI network portal (vmknic) -s|--subnet= The iSCSI network portal IPv4 subnet mask Usage: esxcli iscsi networkportal ipv6config address add [cmd options] Description: add Add IPv6 addresses to the given iSCSI network portal. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address-list=[ ... ] An IPv6 address to add in X:X:X::/X format. Multiple addresses can be provided using format -a address1 -a address2 -a address3. -r|--remove-all-existing Remove all existing routable IPv6 addresses before adding the addresses specified by --address-list. If this flag is passed and --address-list is empty, all existing routable addresses are removed. Usage: esxcli iscsi networkportal ipv6config address list [cmd options] Description: list List the IPv6 addresses assigned to the iSCSI network portal. Cmd options: -A|--adapter= The iSCSI adapter name. (required) Usage: esxcli iscsi networkportal ipv6config address remove [cmd options] Description: remove Remove IPv6 addresses from the given iSCSI network portal. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -a|--address-list=[ ... ] An IPv6 address to remove in X:X:X::/X format. Multiple addresses can be provided using format -a address1 -a address2 -a address3. (required) Usage: esxcli iscsi networkportal ipv6config get [cmd options] Description: get Get iSCSI network portal ipv6 configuration Cmd options: -A|--adapter= The iSCSI adapter name. (required) Usage: esxcli iscsi networkportal ipv6config set [cmd options] Description: set Set iSCSI network portal IPv6 configuration. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -e|--enable= Enable/Disable IPv6 -d|--enable-dhcpv6= Enable/Disable IPv6 configuration using DHCPv6 -l|--enable-linklocal-autoconfiguration= Enable/Disable auto configuration of linklocal address -r|--enable-router-advertisement= Enable/Disable IPv6 configuration using Router Advertisement -g|--gateway6= The iSCSI network portal IPv6 gateway address Usage: esxcli iscsi networkportal list [cmd options] Description: list List Network Portal for iSCSI Adapter Cmd options: -A|--adapter= The iSCSI adapter name. Usage: esxcli iscsi networkportal remove [cmd options] Description: remove Remove a network portal for iSCSI adapter Cmd options: -A|--adapter= The iSCSI adapter name. (required) -f|--force= The force flag (force removal of iSCSI vmknic when sessions are active using it) -n|--nic= The iSCSI network portal (bound vmknic) (required) Usage: esxcli iscsi physicalnetworkportal list [cmd options] Description: list List Physical Network Portal for iSCSI Adapter Cmd options: -A|--adapter= The iSCSI adapter name. Usage: esxcli iscsi physicalnetworkportal param get [cmd options] Description: get Get network parameters on a Physical Network Portal (vmnic) Cmd options: -A|--adapter= The iSCSI adapter name. (required) -n|--nic= The physical network portal name: Usage: esxcli iscsi physicalnetworkportal param set [cmd options] Description: set Set network parameter on a Physical Network Portal Cmd options: -A|--adapter= The iSCSI adapter name. (required) -n|--nic= The physical network portal name: -o|--option= The network parameter option. Supported options are [MTU, ArpRedirect]. (required) -v|--value= Input value for a Physical Network Portal option (use 0/1 for bool, and number for int) (required) Usage: esxcli iscsi plugin list [cmd options] Description: list List IMA plugins. Cmd options: -A|--adapter= The iSCSI adapter name. -p|--plugin= The IMA plugin file name. Usage: esxcli iscsi session add [cmd options] Description: add Login sessions on current iSCSI configuration. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -s|--isid= The isid of a session to duplicate for login. -n|--name= The iSCSI target name. Usage: esxcli iscsi session connection list [cmd options] Description: list List iSCSI connections. Cmd options: -A|--adapter= The iSCSI adapter name. -c|--cid= The iSCSI connection identifier(CID). -s|--isid= The iSCSI session identifier(ISID). -n|--name= The iSCSI target name. Usage: esxcli iscsi session list [cmd options] Description: list List iSCSI Sessions. Cmd options: -A|--adapter= The iSCSI adapter name. -s|--isid= The iSCSI session identifier. -n|--name= The iSCSI target name. Usage: esxcli iscsi session remove [cmd options] Description: remove Logout sessions on current iSCSI configuration. Cmd options: -A|--adapter= The iSCSI adapter name. (required) -s|--isid= The isid of a session to duplicate for login. -n|--name= The name of the target to login to. Usage: esxcli iscsi software get [cmd options] Description: get Software iSCSI information. Cmd options: Usage: esxcli iscsi software set [cmd options] Description: set Enable or disable software iSCSI. Cmd options: -e|--enabled= Enable or disable the module. (required) -n|--name= The iSCSI initiator name. The initiator name must not be specified when disabling software iSCSI. Usage: esxcli network diag ping [cmd options] Description: ping Send ICMP echo requests to network hosts. Cmd options: -c|--count= Specify the number of packets to send. -D|--debug VMKPing debug mode. -d|--df Set DF bit on IPv4 packets. -H|--host= Specify the host to send packets to. This parameter is required when not executing ping in debug mode (-D) -I|--interface= Specify the outgoing interface. -i|--interval= Set the interval for sending packets in seconds. --ipv4 Ping with ICMPv4 echo requests. --ipv6 Ping with ICMPv6 echo requests. --netstack= Specify the TCP/IP netstack which the interface resides on -N|--nexthop= Override the system's default route selection, in dotted quad notation. (IPv4 only. Requires interface option) -s|--size= Set the payload size of the packets to send. -t|--ttl= Set IPv4 Time To Live or IPv6 Hop Limit -W|--wait= Set the timeout to wait if no responses are received in seconds. Usage: esxcli network ens lcore add [cmd options] Description: add Create ENS context. Cmd options: -l|--lcore-id= ENS context id to be created. (required) Usage: esxcli network ens lcore affinity get [cmd options] Description: get Get the affinity for given ENS context. Cmd options: -l|--lcore-id= ENS context id. (required) Usage: esxcli network ens lcore affinity set [cmd options] Description: set Set affinity for given ENS context. Cmd options: -a|--affinity= Numa node affinity. (required) -l|--lcore-id= ENS context id. (required) Usage: esxcli network ens lcore list [cmd options] Description: list List ENS contexts. Cmd options: Usage: esxcli network ens lcore remove [cmd options] Description: remove Destroy ENS context. Cmd options: -l|--lcore-id= ENS context id to be destroyed. (required) Usage: esxcli network ens lcore switch add [cmd options] Description: add Associate given ENS context with given switch. Cmd options: -l|--lcore-id= ENS context id. (required) -s|--switch= Switch name. (required) Usage: esxcli network ens lcore switch get [cmd options] Description: get Get the switch associated with given ENS context. Cmd options: -l|--lcore-id= ENS context id. (required) Usage: esxcli network ens lcore switch remove [cmd options] Description: remove Disassociate given ENS context from virtual switch. Cmd options: -l|--lcore-id= ENS context id. (required) Usage: esxcli network ens maxLcores get [cmd options] Description: get Get the maximum number of ENS contexts (lcores). Cmd options: Usage: esxcli network ens maxLcores set [cmd options] Description: set Set the maximum number of ENS contexts. Cmd options: -n|--maxlcores= Number of maximum ENS contexts to be assigned. (required) Usage: esxcli network firewall get [cmd options] Description: get Get the firewall status. Cmd options: Usage: esxcli network firewall load [cmd options] Description: load Load firewall module and rulesets configuration. Cmd options: Usage: esxcli network firewall refresh [cmd options] Description: refresh Load ruleset configuration for firewall. Cmd options: Usage: esxcli network firewall ruleset allowedip add [cmd options] Description: add Add allowed ip address/range to the ruleset ruleset. Cmd options: -i|--ip-address= Allowed ip address/range for the ruleset. (required) -r|--ruleset-id= The label of the ruleset. (required) Usage: esxcli network firewall ruleset allowedip list [cmd options] Description: list list allowed ip addresses for rulesets. Cmd options: -r|--ruleset-id= The label of the ruleset. Usage: esxcli network firewall ruleset allowedip remove [cmd options] Description: remove Remove allowed ip address/range from the ruleset. Cmd options: -i|--ip-address= Allowed ip address/range for the ruleset. (required) -r|--ruleset-id= The label of the ruleset. (required) Usage: esxcli network firewall ruleset client add [cmd options] Description: add Add a new client to a firewall ruleset. This enables the firewall ruleset and increments the number of clients using the ruleset. Cmd options: -r|--ruleset-id= The label of the ruleset. (required) Usage: esxcli network firewall ruleset client get [cmd options] Description: get Show the number of clients using a firewall ruleset. Cmd options: -r|--ruleset-id= The label of the ruleset. (required) Usage: esxcli network firewall ruleset client remove [cmd options] Description: remove Remove a client from a firewall ruleset. This decrements the number of clients using the ruleset and if the number reaches zero the ruleset is disabled. Cmd options: -r|--ruleset-id= The label of the ruleset. (required) Usage: esxcli network firewall ruleset list [cmd options] Description: list List the rulesets in firewall. Cmd options: -r|--ruleset-id= List configuration for specfic ruleset Usage: esxcli network firewall ruleset rule list [cmd options] Description: list List the rules of each ruleset in firewall. Cmd options: -r|--ruleset-id= List rules for specfic ruleset Usage: esxcli network firewall ruleset set [cmd options] Description: set Set firewall ruleset status (allowedAll flag and enabled status). Cmd options: -a|--allowed-all= Set to true to allowed all ip, set to false to use allowed ip list. -e|--enabled= Set to true to enable ruleset, set to false to disable it. -r|--ruleset-id= The label of the ruleset. (required) Usage: esxcli network firewall set [cmd options] Description: set Set firewall enabled status and default action. Cmd options: -d|--default-action= Set to true to set defaultaction PASS, set to false to DROP. -e|--enabled= Set to true to enable the firewall, set to false to disable the firewall. Usage: esxcli network firewall unload [cmd options] Description: unload Allow unload firewall module. Cmd options: Usage: esxcli network ip connection list [cmd options] Description: list List active TCP/IP connections Cmd options: -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -t|--type= Connection type : [ip, tcp, udp, all] Usage: esxcli network ip dns search add [cmd options] Description: add Add a search domain to the list of domains to be searched when trying to resolve an host name on the ESXi host. Cmd options: -d|--domain= The string name of a domain to add to the list of search domains. (required) -N|--netstack= The network stack instance; if unspecified, use the default netstack instance Usage: esxcli network ip dns search list [cmd options] Description: list List the search domains currently configured on the ESXi host in the order in which they will be used when searching. Cmd options: -N|--netstack= The network stack instance; if unspecified, use the default netstack instance Usage: esxcli network ip dns search remove [cmd options] Description: remove Remove a search domain from the list of domains to be searched when trying to resolve an host name on the ESXi host. Cmd options: -d|--domain= The string name of a domain to remove from the list of search domains. (required) -N|--netstack= The network stack instance; if unspecified, use the default netstack instance Usage: esxcli network ip dns server add [cmd options] Description: add Add a new DNS server to the end of the list of DNS servers to use for this ESXi host. Cmd options: -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -s|--server= The IP address (v4 or v6) of the DNS server to add to the DNS server list. (required) Usage: esxcli network ip dns server list [cmd options] Description: list Print a list of the DNS server currently configured on the system in the order in which they will be used. Cmd options: -N|--netstack= The network stack instance; if unspecified, use the default netstack instance Usage: esxcli network ip dns server remove [cmd options] Description: remove Remove a DNS server from the list of DNS servers to use for this ESXi host. Cmd options: -a|--all -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -s|--server= Usage: esxcli network ip get [cmd options] Description: get Get global IP settings Cmd options: Usage: esxcli network ip interface add [cmd options] Description: add Add a new VMkernel network interface. Cmd options: -P|--dvport-id= DVPort ID of the connection point. This requires --dvs-name to be given in the same command -s|--dvs-name= DVSwitch name of the connection point. This requires --dvport-id to be given in the same command -i|--interface-name= The name of the VMkernel network interface to create. This name must be in the form vmkX, where X is a number 0-255 -M|--mac-address= Set the MAC address for the newly created VMkernel network interface. -m|--mtu= Set the MTU setting for a given VMkernel network interface on creation -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -R|--num-rxqueue= Set the number of RX dispatch queues for a given VMkernel network interface on creation -p|--portgroup-name= The name of the vswitch port group to add this VMkernel network interface to. Usage: esxcli network ip interface ipv4 address list [cmd options] Description: list List the IPv4 addresses assigned to VMkernel network interfaces. Cmd options: -i|--interface-name= The name of the VMkernel network interface to limit the output of this command to. -N|--netstack= The network stack instance; if unspecified, consider all netstack instances Usage: esxcli network ip interface ipv4 get [cmd options] Description: get List the IPv4 addresses assigned to VMkernel network interfaces. Cmd options: -i|--interface-name= The name of the VMkernel network interface to limit the output of this command to. -N|--netstack= The network stack instance; if unspecified, consider all netstack instances Usage: esxcli network ip interface ipv4 set [cmd options] Description: set Configure IPv4 setting for a given VMkernel network interface. Cmd options: -g|--gateway= The default gateway for this interface. The value must be a valid IPv4 address. Gateway would be reset if not provided -i|--interface-name= The name of the VMkernel network interface to set IPv4 settings for. This name must be an interface listed in the interface list command. (required) -I|--ipv4= The static IPv4 address for this interface. -N|--netmask= The static IPv4 netmask for this interface. -P|--peer-dns= A boolean value to indicate if the system should use the DNS settings published via DHCPv4 for this interface. -t|--type= IPv4 Address type : dhcp: Use DHCP to aquire IPv4 setting for this interface. none: Remove IPv4 settings form this interface. static: Set Static IPv4 information for this interface. Requires --ipv4 and --netmask options. Usage: esxcli network ip interface ipv6 address add [cmd options] Description: add Add a static IPv6 address to a given VMkernel network interface. Cmd options: -i|--interface-name= The name of the VMkernel network interface to add a static IPv6 address to. This name must be an interface listed in the interface list command. (required) -I|--ipv6= The IPv6 address to add to the given VMkernel network interface. This must be in X:X:X::/X format (required) Usage: esxcli network ip interface ipv6 address list [cmd options] Description: list This command will list all of the IPv6 addresses currently assigned to the system Cmd options: -i|--interface-name= The name of the VMkernel network interface to limit the output of this command to. Usage: esxcli network ip interface ipv6 address remove [cmd options] Description: remove Remove an IPv6 address from a given VMkernel network interface. Cmd options: -i|--interface-name= The name of the VMkernel network interface to remove an IPv6 address from. This name must be an interface listed in the interface list command. (required) -I|--ipv6= The IPv6 address to remove from the given VMkernel network interface. This must be in X:X:X::/X format (required) Usage: esxcli network ip interface ipv6 get [cmd options] Description: get Get IPv6 settings for VMkernel network interfaces. This does not include the IPv6 addresses which can be found in the "address list" command. Cmd options: -n|--interface-name= The name of the VMkernel network interface to limit the output of this command to. -N|--netstack= The network stack instance; if unspecified, consider all netstack instances Usage: esxcli network ip interface ipv6 set [cmd options] Description: set Configure IPv6 settings for a given VMkernel network interface. Cmd options: -d|--enable-dhcpv6= Setting this value to true will enable DHCPv6 on this interface and attempt to aquire an IPv6 address from the network -e|--enable-ipv6= Setting this value to true enables IPv6 on thisinterface while setting it to false disables IPv6 on this interface. -r|--enable-router-adv= Setting this value to true will enable IPv6 Router Advertised IPv6 addresses to be added to this interface from any routers broadcasting on the local network. -g|--gateway= A default gateway for this interface. The value must be a valid IPv6 address. -i|--interface-name= The name of the VMkernel network interface to set IPv6 settings for. This name must be an interface listed in the interface list command. (required) -P|--peer-dns= A boolean value to indicate if the system should use the DNS settings published via DHCPv6 for this interface. Usage: esxcli network ip interface list [cmd options] Description: list This command will list the VMkernel network interfaces currently known to the system. Cmd options: -N|--netstack= The network stack instance; if unspecified, consider all netstack instances Usage: esxcli network ip interface remove [cmd options] Description: remove Remove a VMkernel network interface from the ESXi host. A VMKernel network interface can be uniquely specified by --interface-name or --portgroup-name or --dvs-name/--dvport-id. i.e. Providing its name or its connection point are two ways to uniquely specify a VMKernel network interface. Cmd options: -P|--dvport-id= DVPort ID of the connection point. This requires --dvs-name to be given in the same command -s|--dvs-name= DVSwitch name of the connection point. This requires --dvport-id to be given in the same command -i|--interface-name= The name of the VMkernel network interface to remove. This name must be in the form vmkX, where X is a number 0-255 -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -p|--portgroup-name= The name of the vswitch port group to delete this VMkernel network interface from. Usage: esxcli network ip interface set [cmd options] Description: set This command sets the enabled status and MTU size of a given IP interface Cmd options: -e|--enabled= Set to true to enable the interface, set to false to disable it. -i|--interface-name= The name of the interface to apply the configurations. (required) -m|--mtu= The MTU size of the IP interface. Usage: esxcli network ip interface tag add [cmd options] Description: add Adds a tag on a given VMkernel network interface. Supported tags are: Management, VMotion, faultToleranceLogging, vSphereReplication, vSphereReplicationNFC, vSphereProvisioning, VSAN, VSANWitness Cmd options: -i|--interface-name= The name of the VMkernel network interface on which tags should be set. This name must be an interface listed in the interface list command. (required) -t|--tagname= Tag name to assign to the interface (required) Usage: esxcli network ip interface tag get [cmd options] Description: get Gets the tags set on the given VMkernel network interface. Cmd options: -i|--interface-name= Name of vmknic whose tags are to be read (required) Usage: esxcli network ip interface tag remove [cmd options] Description: remove Removes a tag on a given VMkernel network interface. Cmd options: -i|--interface-name= The name of the VMkernel network interface from which tags should be removed. This name must be an interface listed in the interface list command. (required) -t|--tagname= Tag name to assign to the interface (required) Usage: esxcli network ip ipsec sa add [cmd options] Description: add Add a Security Association. Cmd options: -e|--encryption-algorithm= Encryption algorithm for the Security Association. Should be one in set [null, 3des-cbc, aes128-cbc]. (required) -k|--encryption-key= Encryption key(ASCII or hex). Length of hex key is dependent upon algorithm used. Required when a encryption algorithm has been specified. -i|--integrity-algorithm= Integrity algorithm for the Security Association. Should be one in set [hmac-sha1, hmac-sha2-256]. (required) -K|--integrity-key= Integrity key(ASCII or hex). Length of hex key is dependent upon algorithm used. (required) -d|--sa-destination= Ipv6 address of Security Association destination. Can be specified as 'any' or a correct IPv6 address. (required) -m|--sa-mode= Security Association mode. Should be one in set [transport, tunnel]. -n|--sa-name= Name for the Security Association to be added. (required) -s|--sa-source= Ipv6 address of Security Association source. Can be specified as 'any' or a correct IPv6 address. (required) -p|--sa-spi= SPI value for the Security Association(hex). (required) Usage: esxcli network ip ipsec sa list [cmd options] Description: list List configured Security Associations Cmd options: Usage: esxcli network ip ipsec sa remove [cmd options] Description: remove Operation to remove Security Association(s) Cmd options: -a|--remove-all Set to remove all Security Associations. -d|--sa-destination= Ipv6 address of Security Association destination. This option needs to be specified when removing an auto SA. -n|--sa-name= Name for the Security Association to be removed. Specify 'auto' to remove an auto SA. -s|--sa-source= Ipv6 address of Security Association source. This option needs to be specified when removing an auto SA. -p|--sa-spi= SPI value for the Security Association (hex). This option needs to be specified when removing an auto SA Usage: esxcli network ip ipsec sp add [cmd options] Description: add Add a Security Policy. Cmd options: -A|--action= Action for Security Policy. Should be one in set [none, discard, ipsec]. -P|--destination-port= Destination Port for Security Policy. '0' stands for 'any' (required) -w|--flow-direction= Flow direction for Security Policy. Should be one in set [in, out]. -a|--sa-name= Name for the Security Association. Not being Specified lets vmkernel automatically choose an Security Association. If no applicable Security Association exists, then vmkernel may request one using IKE. -p|--source-port= Source Port for Security Policy. '0' stands for 'any' (required) -d|--sp-destination= Ipv6 address and prefix length of Security Policy destination. Can be specified as 'any' or a correct Ipv6 network address. (required) -m|--sp-mode= Security Policy mode. Should be one in set [transport, tunnel]. -n|--sp-name= Name for the Security Policy to be added. (required) -s|--sp-source= Ipv6 address and prefix length of Security Policy source. Can be specified as 'any' or a correct IPv6 network address. (required) -u|--upper-layer-protocol= Upper layer protocol for Security Policy, Should be one in set [any, tcp, udp, icmp6]. Usage: esxcli network ip ipsec sp list [cmd options] Description: list List configured Security Policys Cmd options: Usage: esxcli network ip ipsec sp remove [cmd options] Description: remove Operation to remove Security Policy Cmd options: -a|--remove-all Set to remove all Security Policys -n|--sp-name= Name for the Security Policy to be removed. Usage: esxcli network ip neighbor list [cmd options] Description: list List ARP table entries Cmd options: -i|--interface-name= The name of the VMkernel network interface to limit the output of this command to; if unspecified, list neighbors on all interfaces. -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -v|--version= IP version : [4, 6, all] Usage: esxcli network ip neighbor remove [cmd options] Description: remove Remove ARP table entries Cmd options: -i|--interface-name= The name of the VMkernel network interface to remove the neighbor entry from. If not specified, neighbor will be removed from all interfaces -a|--neighbor-addr= The IPv4/IPv6 address of the neighbor. (required) -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -v|--version= IP version : [4, 6] (required) Usage: esxcli network ip netstack add [cmd options] Description: add Add a new Netstack Instance. Cmd options: -d|--disabled Create the netstack instance only in config i.e. in disabled state. Does not create in kernel. -N|--netstack= The network stack instance (required) Usage: esxcli network ip netstack get [cmd options] Description: get Get runtime/configuration settings for a given Netstack Instance. Cmd options: -N|--netstack= The network stack instance (required) Usage: esxcli network ip netstack list [cmd options] Description: list This command will list the VMkernel Netstack instances currently known to the system. Cmd options: Usage: esxcli network ip netstack remove [cmd options] Description: remove Remove a new Netstack Instance. Cmd options: -N|--netstack= The network stack instance (required) Usage: esxcli network ip netstack set [cmd options] Description: set Configure settings for a given Netstack Instance. Cmd options: -c|--ccalgo= The TCP Congestion Contol Algorithm for this netstack instance (not applied to existing connections).: cubic: Set cubic as the algorithm newreno: Set newreno as the algorithm -e|--enable= Enable the netstack instance (create in kernel) -i|--ipv6enabled= To enable IPv6 for this netstack instance (aplied only during netstack creation). -m|--maxconn= The maximum number of connections for this netstack instance (applied only during netstack creation). -n|--name= The name for this netstack instance. -N|--netstack= The network stack instance. This name must be an interface listed in the netstack list command. (required) Usage: esxcli network ip route ipv4 add [cmd options] Description: add Add IPv4 route to the VMkernel. Cmd options: -g|--gateway= The Ipv4 address of the gateway through which a route to be added. (required) -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -n|--network= The Ipv4 address and prefix length of the network to add the route to. Specify 'default' to indicate the default network. (required) Usage: esxcli network ip route ipv4 list [cmd options] Description: list List configured IPv4 routes Cmd options: -N|--netstack= The network stack instance; if unspecified, use the default netstack instance Usage: esxcli network ip route ipv4 remove [cmd options] Description: remove Remove IPv4 route Cmd options: -g|--gateway= The Ipv4 address of the gateway through which a route to be removed (required) -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -n|--network= The Ipv4 address and prefix length of the network to remove the route from. Specify 'default' to indicate the default network. (required) Usage: esxcli network ip route ipv6 add [cmd options] Description: add Add IPv6 route to the VMkernel. Cmd options: -g|--gateway= The Ipv6 address of the gateway through which a route to be added. (required) -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -n|--network= The Ipv6 address and prefix length of the network to add the route to. Specify 'default' to indicate the default network. (required) Usage: esxcli network ip route ipv6 list [cmd options] Description: list List configured IPv6 routes Cmd options: -N|--netstack= The network stack instance; if unspecified, use the default netstack instance Usage: esxcli network ip route ipv6 remove [cmd options] Description: remove Remove IPv6 route from the VMkernel Cmd options: -g|--gateway= The Ipv6 address of the gateway through which a route to be removed (required) -N|--netstack= The network stack instance; if unspecified, use the default netstack instance -n|--network= The Ipv6 address and prefix length of the network to remove the route from. Specify 'default' to indicate the default network. (required) Usage: esxcli network ip set [cmd options] Description: set Update global IP settings Cmd options: -e|--ipv6-enabled= Enable or disable IPv6 (Reboot Required) Usage: esxcli network multicast group list [cmd options] Description: list List all the multicast group members. Cmd options: Usage: esxcli network nic coalesce get [cmd options] Description: get Get coalesce parameters Cmd options: -n|--vmnic= The name of pnic to get coalesce parameters Usage: esxcli network nic coalesce high get [cmd options] Description: get Get information about the behavior of a NIC when it sends or receives packets at high packet rate. Cmd options: -n|--vmnic= The name of the pnic for which information should be retrieved. (required) Usage: esxcli network nic coalesce high set [cmd options] Description: set Set parameters to control the behavior of a NIC when it sends or receives packets at high packet rate. Cmd options: -p|--pkt-rate= The high packet rate measured in number of packets per second. When packet rate is above this parameter, the RX/TX coalescing parameters configured by this command are used. -R|--rx-max-frames= The maximum number of RX packets to delay an RX interrupt after they arrive under high packet rate conditions. -r|--rx-usecs= The number of microseconds to delay an RX interrupt after a packet arrives under high packet rate conditions. -T|--tx-max-frames= The maximum number of TX packets to delay an TX interrupt after they are sent under high packet rate conditions. -t|--tx-usecs= The number of microseconds to delay a TX interrupt after a packet is sent under high packet rate conditions. -n|--vmnic= Name of the vmnic for which parameters should be set. (required) Usage: esxcli network nic coalesce low get [cmd options] Description: get Get information about the behavior of a NIC when it sends or receives packets at low packet rate. Cmd options: -n|--vmnic= The name of the pnic for which information should be retrieved. (required) Usage: esxcli network nic coalesce low set [cmd options] Description: set Set parameters to control the behavior of a NIC when it sends or receives packets at low packet rate. Cmd options: -p|--pkt-rate= The low packet rate measured in number of packets per second. When packet rate is below this parameter, the RX/TX coalescing parameters configured by this command are used. -R|--rx-max-frames= The maximum number of RX packets to delay an RX interrupt after they arrive under low packet rate conditions. -r|--rx-usecs= The number of microseconds to delay an RX interrupt after a packet arrives under low packet rate conditions. -T|--tx-max-frames= The maximum number of TX packets to delay an TX interrupt after they are sent under low packet rate conditions. -t|--tx-usecs= The number of microseconds to delay a TX interrupt after a packet is sent under low packet rate conditions. -n|--vmnic= Name of the vmnic for which parameters should be set. (required) Usage: esxcli network nic coalesce set [cmd options] Description: set Set coalesce parameters on a nic Cmd options: -a|--adaptive-rx= enable or disable adaptive RX algorithm in driver. -A|--adaptive-tx= enable or disable adaptive TX algorithm in driver. -R|--rx-max-frames= Maximum number of RX frames driver to process before interrupting. -r|--rx-usecs= Number of microseconds driver to wait for RX before interrupting. -i|--sample-interval= Packet rate sampling internal in seconds for the adaptive coalescing algorithm in driver. -T|--tx-max-frames= Maximum number of completed TX frames driver to process before interrupting. -t|--tx-usecs= Number of microseconds driver to wait for completed TX before interrupting. -n|--vmnic= Name of vmnic to set coalesce parameters. (required) Usage: esxcli network nic cso get [cmd options] Description: get Get checksum offload settings Cmd options: -n|--vmnic= The name of pnic to get CSO settings Usage: esxcli network nic cso set [cmd options] Description: set Set checksum offload settings on a nic Cmd options: -e|--enable= RX/TX checksum offload (required) -n|--vmnic= Name of vmnic to set offload settings. (required) Usage: esxcli network nic down [cmd options] Description: down Bring down the specified network device. Cmd options: -n|--nic-name= The name of the NIC to configured. This must be one of the cards listed in the nic list command. (required) Usage: esxcli network nic eeprom change [cmd options] Description: change Change EEPROM on a nic Cmd options: -f|--file= File name of new EEPROM content -m|--magic= Magic key of EEPROM (required) -o|--offset= Offset of EEPROM to change -v|--value= New EEPROM value in double word -n|--vmnic= Name of vmnic to change EEPROM. (required) Usage: esxcli network nic eeprom dump [cmd options] Description: dump Dump device EEPROM Cmd options: -l|--length= Bytes of EEPROM to dump -o|--offset= Offset of EEPROM starting to dump -n|--vmnic= The name of pnic to dump EEPROM (required) Usage: esxcli network nic get [cmd options] Description: get Get the generic configuration of a network device Cmd options: -n|--nic-name= The name of the NIC to configured. This must be one of the cards listed in the nic list command. (required) Usage: esxcli network nic list [cmd options] Description: list This command will list the Physical NICs currently installed and loaded on the system. Cmd options: Usage: esxcli network nic negotiate restart [cmd options] Description: restart Restart N-Way negotiation on a nic Cmd options: -n|--vmnic= Name of vmnic to restart negotiation (required) Usage: esxcli network nic pauseParams list [cmd options] Description: list List pause parameters of all NICs Cmd options: -n|--nic-name= The name of the NIC whose pause parameters should be retrieved. Usage: esxcli network nic pauseParams set [cmd options] Description: set Set pause parameters for a NIC Cmd options: -a|--auto= Enable/disable auto negotiation. -n|--nic-name= Name of NIC whose pause parameters should be set. (required) -r|--rx= Enable/disable pause RX flow control. -t|--tx= Enable/disable pause TX flow control. Usage: esxcli network nic queue count get [cmd options] Description: get Get netqueue count on a nic Cmd options: -n|--vmnic= The name of pnic to get netqueue count Usage: esxcli network nic queue count set [cmd options] Description: set Set number of netqueues on a nic Cmd options: -q|--num= Number of queues to set. (required) -r|--rx= Rx netqueue to set count. -t|--tx= Tx netqueue to set count. -n|--vmnic= Name of vmnic to set netqueue count. (required) Usage: esxcli network nic queue filterclass list [cmd options] Description: list List the netqueue supported filterclass of all physical NICs currently installed and loaded on the system. Cmd options: Usage: esxcli network nic queue loadbalancer list [cmd options] Description: list List the netqueue load balancer settings of all physical NICs currently installed and loaded on the system. Setting legend as follows, S: Setting supported by device U: Setting unsupported by device N: Setting not applicable to device A: Setting allowed at load balancing D: Setting disallowed at load balancing Cmd options: Usage: esxcli network nic queue loadbalancer plugin list [cmd options] Description: list Details of netqueue balancer plugins on all physical NICs currently installed and loaded on the system Cmd options: -n|--vmnic= The name of pnic to get netqueue plugin details Usage: esxcli network nic queue loadbalancer plugin set [cmd options] Description: set Enable/disable netqueue balancer plugin on a NIC Cmd options: -e|--enable= Netqueue balancer plugin state (required) -m|--module= Name of netqueue balancer module (required) -p|--plugin= Name of netqueue balancer plugin (required) -n|--vmnic= Name of vmnic to change netqueue balancer plugin state (required) Usage: esxcli network nic queue loadbalancer set [cmd options] Description: set Enable/disable netqueue load balancer setting on a NIC. Cmd options: --dynpoollb= Configure Dynamic queue pool at netqueue load balancer. --geneveoamlb= Configure Geneve OAM at netqueue load balancer. --lrolb= Configure Large Receive Offload at netqueue load balancer. --maclearnlb= Configure Mac learn load balancing at netqueue load balancer. --rsslb= Configure Receive Side Scaling at netqueue load balancer. --rxdynlb= Configure RX dynamic load balancing at netqueue load balancer. --rxqlatency= Configure Rx queue latency at netqueue load balancer. --rxqnofeat= Configure Rx queue no feature at netqueue load balancer. --rxqpair= Configure Rx queue pair at netqueue load balancer. --rxqpreempt= Configure pre-emptible queue at netqueue load balancer. -n|--vmnic= Name of vmnic to update netqueue load balancer setting. (required) Usage: esxcli network nic queue loadbalancer state list [cmd options] Description: list Netqueue balancer state of all physical NICs currently installed and loaded on the system Cmd options: -n|--vmnic= The name of pnic to get netqueue balancer state Usage: esxcli network nic queue loadbalancer state set [cmd options] Description: set Enable/disable netqueue balancer on a NIC Cmd options: -e|--enable= Netqueue balancer state (required) -n|--vmnic= Name of vmnic to change netqueue balancer state (required) Usage: esxcli network nic register dump [cmd options] Description: dump Dump device registers Cmd options: -n|--vmnic= The name of pnic to dump registers (required) Usage: esxcli network nic ring current get [cmd options] Description: get Get current RX/TX ring buffer parameters of a NIC Cmd options: -n|--nic-name= The name of the NIC whose current RX/TX ring buffer parameters should be retrieved. (required) Usage: esxcli network nic ring current set [cmd options] Description: set Set current RX/TX ring buffer parameters of a NIC Cmd options: -n|--nic-name= The name of the NIC whose current RX/TX ring buffer parameters should be set. (required) -r|--rx= Number of ring entries for the RX ring. -j|--rx-jumbo= Number of ring entries for the RX jumbo ring. -m|--rx-mini= Number of ring entries for the RX mini ring. -t|--tx= Number of ring entries for the TX ring. Usage: esxcli network nic ring preset get [cmd options] Description: get Get preset RX/TX ring buffer parameters of a NIC Cmd options: -n|--nic-name= The name of the NIC whose preset RX/TX ring buffer parameters should be retrieved. (required) Usage: esxcli network nic selftest run [cmd options] Description: run Run self test Cmd options: -o|--online= Performing limited set of tests do not inetrrupt normal adapter operation, default is offline -n|--vmnic= The name of pnic to dump EEPROM (required) Usage: esxcli network nic set [cmd options] Description: set Set the general options for the specified ethernet device. Cmd options: -a|--auto Set the speed and duplexity settings to autonegotiate. -D|--duplex= The duplex to set this NIC to. Acceptable values are : [full, half] -l|--message-level= Sets the driver message level. Meaning differ per driver. -n|--nic-name= The name of the NIC to configured. This must be one of the cards listed in the nic list command. (required) -P|--phy-address= Set the PHY address of the device -p|--port= Selects device port. Available device ports are aui: Select AUI (Attachment Unit Interface) as the device port bnc: Select BNC (Bayonet Neill-Concelman) as the device port da: Select DA (Direct Attach copper) as the device port fibre: Select fibre as the device port mii: Select MII (Media Independent Interface) as the device port tp: Select TP (Twisted Pair) as the device port -S|--speed= The speed to set this NIC to, in Mbps. Acceptable values are : [10, 100, 1000, 2500, 5000, 10000, 20000, 25000, 40000, 50000, 56000, 100000] -t|--transceiver-type= Selects transeiver type. Currently only internal and external can be specified, in the future future types might be added. Available transeiver types are external: Set the transceiver type to external internal: Set the transceiver type to internal -V|--virtual-address= Set the virtual address of the device -w|--wake-on-lan= Sets Wake-on-LAN options. Not all devices support this. The argument to this option is a string of characters specifying which options to enable. p Wake on phy activity u Wake on unicast messages m Wake on multicast messages b Wake on broadcast messages a Wake on ARP g Wake on MagicPacket(tm) s Enable SecureOn(tm) password for MagicPacket(tm) Usage: esxcli network nic sg get [cmd options] Description: get Get scatter-gather settings Cmd options: -n|--vmnic= The name of pnic to get scatter-gather settings Usage: esxcli network nic sg set [cmd options] Description: set Set scatter-gatter settings on a nic Cmd options: -e|--enable= Enable/disable sacatter-gather (required) -n|--vmnic= Name of vmnic to configure scatter-gather settings. (required) Usage: esxcli network nic software list [cmd options] Description: list List software simulation settings of physical NICs currently installed and loaded on the system. Cmd options: -n|--vmnic=[ ... ] Limit the output to only the physical NICS with the specified names. Usage: esxcli network nic software set [cmd options] Description: set Enable and disable software simulation settings on a NIC. Cmd options: --geneveoffload= Configure Geneve encapsulation offload software simulation. --highdma= Configure high DMA software simulation. --ipv4cso= Configure IPv4 checksum offload software simulation. --ipv4tso= Configure IPv4 TCP segmentation offload software simulation. --ipv6cso= Configure IPv6 checksum offload software simulation. --ipv6csoext= Configure IPv6 extend header checksum offload software simulation. --ipv6tso= Configure IPv6 TCP segmentation offload software simulation. --ipv6tsoext= Configure IPv6 extend header TCP segmentation offload software simulation. --obo= Configure offset based encapsulation offload software simulation. --sg= Configure scatter gather software simulation. --sgsp= Configure scatter gather span multiple pages software simulation. --tagging= Configure TX VLAN tagging software simulation. --untagging= Configure RX VLAN untagging software simulation. -n|--vmnic= Name of the vmnic whose software similation settings should be updated. (required) --vxlanencap= Configure VXLAN encapsulation offload software simulation. Usage: esxcli network nic stats get [cmd options] Description: get Get NIC statistics for a given interface. Cmd options: -n|--nic-name= Name of the NIC to get statistics from. (required) Usage: esxcli network nic tso get [cmd options] Description: get Get TCP segmentation offload settings Cmd options: -n|--vmnic= The name of pnic to get TSO settings Usage: esxcli network nic tso set [cmd options] Description: set Set TCP segmentation offload settings on a nic Cmd options: -e|--enable= TCP segmentation offload (required) -n|--vmnic= Name of vmnic to set TSO settings. (required) Usage: esxcli network nic up [cmd options] Description: up Bring up the specified network device. Cmd options: -n|--nic-name= The name of the NIC to configured. This must be one of the cards listed in the nic list command. (required) Usage: esxcli network nic vlan stats get [cmd options] Description: get List VLAN statistics for active VLAN's on the NIC. Cmd options: -n|--nic-name= Name of the NIC to get statistics from. (required) Usage: esxcli network nic vlan stats set [cmd options] Description: set Enable/disable VLAN statistics collection on the NIC. Cmd options: -e|--enabled= Whether to enable or disable VLAN statistics (required) -n|--nic-name= Name of the NIC to get statistics from. (required) Usage: esxcli network port filter stats get [cmd options] Description: get Filter statistics for a given port. Cmd options: -p|--portid= Port ID for the port to get filter statistics. (required) Usage: esxcli network port stats get [cmd options] Description: get Packet statistics for a given port. Cmd options: -p|--portid= Port ID for the port to get statistics. (required) Usage: esxcli network sriovnic list [cmd options] Description: list This command will list the SRIOV Enabled NICs (PFs) currently installed and loaded on the system. Cmd options: Usage: esxcli network sriovnic vf list [cmd options] Description: list Get the generic configuration of VFs for SRIOV NIC. Cmd options: -n|--nic-name= The name of the SRIOV NIC to configured. This must be one of the cards listed in the sriovNic list command. (required) Usage: esxcli network sriovnic vf stats [cmd options] Description: stats Get statistics for given VF of a SRIOV NIC. Cmd options: -n|--nic-name= The name of the SRIOV NIC. This must be one of the cards listed in the sriovNic list command. (required) -v|--vf-id= The VF ID of the virtual function whose stats are to be collected. This must be one of the VF IDs listed in the sriovnic vf list command. (required) Usage: esxcli network vm list [cmd options] Description: list List networking information for the VM's that have active ports. Cmd options: Usage: esxcli network vm port list [cmd options] Description: list List of active ports for a given VM. Cmd options: -w|--world-id= World ID of the VM for listing ports. (required) Usage: esxcli network vswitch dvs vmware lacp config get [cmd options] Description: get Get LACP configuration on DVS Cmd options: -s|--dvs= The name of DVS to get configuration on Usage: esxcli network vswitch dvs vmware lacp stats get [cmd options] Description: get Get LACP stats on DVS uplinks Cmd options: -s|--dvs= The name of DVS to get configuration on Usage: esxcli network vswitch dvs vmware lacp status get [cmd options] Description: get Get LACP status on DVS Cmd options: -s|--dvs= The name of DVS to get configuration on Usage: esxcli network vswitch dvs vmware lacp timeout set [cmd options] Description: set Set long/short timeout for vmnics in one LACP LAG Cmd options: -l|--lag-id= The ID of LAG to be configured. (required) -n|--nic-name= The nic name. If it is set, then only this vmnic in the lag will be configured. -t|--timeout= Set long or short timeout: 1 for short timeout and 0 for long timeout. (required) -s|--vds= The name of VDS. (required) Usage: esxcli network vswitch dvs vmware list [cmd options] Description: list List the VMware vSphere Distributed Switch currently configured on the ESXi host. Cmd options: -v|--vds-name= Limit the output of this command to only vDS with the given name. Usage: esxcli network vswitch standard add [cmd options] Description: add Add a new virtual switch to the ESXi networking system. Cmd options: -P|--ports= The number of ports to to give this newly created virtual switch. Maximum ports per virtual switch is 4096. If no value is given the default value(128) is used. The number of ports is limited by the number of already allocated ports on the host. The system wide port count cannot be greater than 4608. -v|--vswitch-name= The name of the virtual switch to create. (required) Usage: esxcli network vswitch standard list [cmd options] Description: list List the virtual switches current on the ESXi host. Cmd options: -v|--vswitch-name= Limit the output of this command to only virtual switches with the given name. Usage: esxcli network vswitch standard policy failover get [cmd options] Description: get Get the failover policy settings governing the given virtual switch Cmd options: -v|--vswitch-name= The name of the virtual switch to use when fetching the switch failover policy. (required) Usage: esxcli network vswitch standard policy failover set [cmd options] Description: set Configure the Failover policy for a virtual switch. Cmd options: -a|--active-uplinks= Configure the list of active adapters and their failover order. This list must be a comma seperated list of values with the uplink name and no spaces. Example: --active-uplinks=vmnic0,vmnic3,vmnic7,vmnic1 -b|--failback= Configure whether a NIC will be used immediately when it comes back in service after a failover -f|--failure-detection= Set the method of determining how a network outage is detected. beacon: Detect failures based on active beaconing to the vswitch link: Detect failures based on the NIC link state -l|--load-balancing= Set the load balancing policy for this policy. This can be one of the following options: explicit: Always use the highest order uplink from the list of active adapters which pass failover criteria. iphash: Route based on hashing the src and destination IP addresses mac: Route based on the MAC address of the packet source. portid: Route based on the originating virtual port ID. -n|--notify-switches= Indicate whether to send a notification to physical switches on failover -s|--standby-uplinks= Configure the list of standby adapters and their failover order. This list must be a comma seperated list of values with the uplink name and no spaces. Example: --standby- uplinks=vmnic2,vmnic4,vmnic8,vmnic6,vmnic11 -v|--vswitch-name= The name of the virtual switch to use when configuring the switch failover policy. (required) Usage: esxcli network vswitch standard policy security get [cmd options] Description: get Get the Security Policy governing the given virtual switch. Cmd options: -v|--vswitch-name= The name of the virtual switch to use when fetching the network security policy. (required) Usage: esxcli network vswitch standard policy security set [cmd options] Description: set Set the security policy for a given virtual switch Cmd options: -f|--allow-forged-transmits= Allow ports on the virtual switch to send packets with forged source information. -m|--allow-mac-change= Allow ports on the virtual switch to change their MAC address. -p|--allow-promiscuous= Allow ports on the virtual switch to enter promiscuous mode. -v|--vswitch-name= The name of the virtual switch to use when setting the switch security policy. (required) Usage: esxcli network vswitch standard policy shaping get [cmd options] Description: get Get the shaping policy settings for the given virtual switch Cmd options: -v|--vswitch-name= The name of the virtual switch to use when fetching the switch shaping policy. (required) Usage: esxcli network vswitch standard policy shaping set [cmd options] Description: set Set the shaping policy settings for the given virtual switch Cmd options: -b|--avg-bandwidth= The averge bandwidth allowed for this shaping policy. This value is in Kbps (1 Kbps = 1000 bits/s) -t|--burst-size= The largest burst size allowed for this shaping policy. This value is in Kib (1 Kib = 1024 bits) -e|--enabled= Indicate whether to enable traffic shaping on this policy. If this is true then the --avg-bandwidth, --peak-bandwidth and --burst-size options are required. -k|--peak-bandwidth= The peak bandwidth allowed for this shaping policy. This value is in Kbps (1 Kbps = 1000 bits/s) -v|--vswitch-name= The name of the virtual switch to use when setting the switch shaping policy. (required) Usage: esxcli network vswitch standard portgroup add [cmd options] Description: add Allows the addition of a standard port group to a virtual switch. Cmd options: -p|--portgroup-name= The name of the port group to add (required) -v|--vswitch-name= The virtual switch to add the port group to. (required) Usage: esxcli network vswitch standard portgroup list [cmd options] Description: list List all of the port groups currently on the system. Cmd options: Usage: esxcli network vswitch standard portgroup policy failover get [cmd options] Description: get Get the network failover policy settings governing the given port group Cmd options: -p|--portgroup-name= The name of the port group to use when fetching the port group failover policy. (required) Usage: esxcli network vswitch standard portgroup policy failover set [cmd options] Description: set Configure the Failover policy for a port group. These setting may potentially override virtual switch settings. Cmd options: -a|--active-uplinks= Configure the list of active adapters and their failover order. This list must be a comma seperated list of values with the uplink name and no spaces. Example: --active-uplinks=vmnic0,vmnic3,vmnic7,vmnic1 -b|--failback= Configure whether a NIC will be used immediately when it comes back in service after a failover -f|--failure-detection= Set the method of determining how a network outage is detected. beacon: Detect failures based on active beaconing to the vswitch link: Detect failures based on the NIC link state -l|--load-balancing= Set the load balancing policy for this policy. This can be one of the following options: explicit: Always use the highest order uplink from the list of active adapters which pass failover criteria. iphash: Route based on hashing the src and destination IP addresses mac: Route based on the MAC address of the packet source. portid: Route based on the originating virtual port ID. -n|--notify-switches= Indicate whether to send a notification to physical switches on failover -p|--portgroup-name= The name of the port group to set failover policy for. (required) -s|--standby-uplinks= Configure the list of standby adapters and their failover order. This list must be a comma seperated list of values with the uplink name and no spaces. Example: --standby- uplinks=vmnic2,vmnic4,vmnic8,vmnic6,vmnic11 -u|--use-vswitch Reset all values for this policy to use parent virtual switch's settings instead of overriding the settings for the port group. Using this in conjunction with other settings will first reset all of the fields to use the virtual switch setting and then apply the other options after the reset. Usage: esxcli network vswitch standard portgroup policy security get [cmd options] Description: get Get the Security Policy governing the given port group. Cmd options: -p|--portgroup-name= The name of the port group to use when fetching the network security policy. (required) Usage: esxcli network vswitch standard portgroup policy security set [cmd options] Description: set Set the security policy for a given port group Cmd options: -f|--allow-forged-transmits= Allow ports on the virtual switch to send packets with forged source information. -m|--allow-mac-change= Allow ports on the virtual switch to change their MAC address. -o|--allow-promiscuous= Allow ports on the virtual switch to enter promiscuous mode. -p|--portgroup-name= The name of the port group to set security policy for. (required) -u|--use-vswitch Reset all values for this policy to use parent virtual switch's settings instead of overriding the settings for the port group. Using this in conjunction with other settings will first reset all of the fields to use the virtual switch setting and then apply the other options after the reset. Usage: esxcli network vswitch standard portgroup policy shaping get [cmd options] Description: get Get the network shaping policy settings governing the given port group Cmd options: -p|--portgroup-name= The name of the port group to use when fetching the port group shaping policy. (required) Usage: esxcli network vswitch standard portgroup policy shaping set [cmd options] Description: set Set the shaping policy settings for the given port group Cmd options: -b|--avg-bandwidth= The averge bandwidth allowed for this shaping policy. This value is in Kbps (1 Kbps = 1000 bits/s) -t|--burst-size= The largest burst size allowed for this shaping policy. This value is in Kib (1 Kib = 1024 bits) -e|--enabled= Indicate whether to enable traffic shaping on this policy. If this is true then the --avg-bandwidth, --peak-bandwidth and --burst-size options are required. -k|--peak-bandwidth= The peak bandwidth allowed for this shaping policy. This value is in Kbps (1 Kbps = 1000 bits/s) -p|--portgroup-name= The name of the port group to set shaping policy for. (required) -u|--use-vswitch Reset all values for this policy to use parent virtual switch's settings instead of overriding the settings for the port group. Using this in conjunction with other settings will first reset all of the fields to use the virtual switch setting and then apply the other options after the reset. Usage: esxcli network vswitch standard portgroup remove [cmd options] Description: remove Remove a port group from the given virtual switch Cmd options: -p|--portgroup-name= (required) -v|--vswitch-name= (required) Usage: esxcli network vswitch standard portgroup set [cmd options] Description: set Set the vlan id for the given port group Cmd options: -p|--portgroup-name= The name of the port group to set vlan id for. (required) -v|--vlan-id= The vlan id for this port group. This value is in the range (0 - 4095) Usage: esxcli network vswitch standard remove [cmd options] Description: remove Remove a virtual switch from the ESXi networking system. Cmd options: -v|--vswitch-name= The name of the virtual switch to remove. (required) Usage: esxcli network vswitch standard set [cmd options] Description: set This command sets the MTU size and CDP status of a given virtual switch. Cmd options: -c|--cdp-status= The CDP status of the given virtual switch. It can be 'down', 'listen', 'advertise' or 'both' -m|--mtu= The MTU size of the given virtual switch. -v|--vswitch-name= The name of virtual switch to apply the configurations. (required) Usage: esxcli network vswitch standard uplink add [cmd options] Description: add Add an uplink to the given virtual switch. Note if this virtual switch has a NIC teaming policy assigned to it then the policy must also be modified to enable use of this uplink on this virtual switch Cmd options: -u|--uplink-name= The name of the uplink to add to the virtual switch. (required) -v|--vswitch-name= The name of the virtual switch to add an uplink to. (required) Usage: esxcli network vswitch standard uplink remove [cmd options] Description: remove Remove an uplink from the given virtual switch. Note if this virtual switch has a NIC teaming policy assigned to it then the policy must also be modified to disable use of this uplink on this virtual switch Cmd options: -u|--uplink-name= The name of the uplink to remove from the virtual switch. (required) -v|--vswitch-name= The name of the virtual switch to remove an uplink from. (required) Usage: esxcli nvme device controller list [cmd options] Description: list List all controllers on the device if namespace is not specified, otherwise list all controllers the namespace attached Cmd options: -A|--adapter= Adapter to operate on (required) -n|--namespace= Namespace ID attached. ID starts from 1 Usage: esxcli nvme device feature aec get [cmd options] Description: get Get NVMe device feature async event configuration information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature aec set [cmd options] Description: set Set NVMe device feature async event configuration information Cmd options: -A|--adapter= Adapter to operate on (required) -w|--fwnotices= an asynchronous event notification is sent to the host for a Firmware Activation Starting event, 0 for false, 1 for true, 0 will be passed as default value, if not set -m|--nsnotices= an asynchronous event notification is sent to the host for a Namespace Attribute change, 0 for false, 1 for true, 0 will be passed as default value, if not set -S|--save save the attribute -v|--value= SMART health critical warnings bitmap to be set, refer to Figure 79, NVMe 1.2 SPEC (required) Usage: esxcli nvme device feature apst get [cmd options] Description: get Get NVMe device feature autonomous power state transition information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature ar get [cmd options] Description: get Get NVMe device feature arbitration information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature ar set [cmd options] Description: set Set NVMe device feature arbitration information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -v|--value= Arbitration Burst value to be set (required) -x|--value2= Low Priority Weight value to be set (required) -y|--value3= Medium Priority Weight value to be set (required) -z|--value4= High Priority Weight value to be set (required) Usage: esxcli nvme device feature cap [cmd options] Description: cap Get NVMe device feature supported capabilities information Cmd options: -A|--adapter= Adapter to operate on (required) Usage: esxcli nvme device feature er get [cmd options] Description: get Get NVMe device feature error recovery information Cmd options: -A|--adapter= Adapter to operate on (required) -n|--namespace= Namespace to operate on -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature er set [cmd options] Description: set Set NVMe device feature error recovery information Cmd options: -A|--adapter= Adapter to operate on (required) -e|--enable= deallocated or unwritten logical block error enable value to be set, 0 for false (disable), 1 for true (enable), 0 will be passed as default value, if not set -n|--namespace= Namespace to operate on, 0 will be passed as default value, if not set -S|--save save the attribute -v|--value= Time limited error recovery value to be set (required) Usage: esxcli nvme device feature hi get [cmd options] Description: get Get NVMe device feature host identifier information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature hmb get [cmd options] Description: get Get NVMe device feature host memory buffer information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature ic get [cmd options] Description: get Get NVMe device feature interrupt coalescing information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature ic set [cmd options] Description: set Set NVMe device feature interrupt coalescing information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -v|--value= Aggregation threshold value to be set (required) -x|--value2= Aggregation time value to be set (required) Usage: esxcli nvme device feature ivc get [cmd options] Description: get Get NVMe device feature interrupt vector configuration information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature ivc set [cmd options] Description: set Set NVMe device feature interrupt vector configuration information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -v|--value= Interrupt vector value to be set (required) -x|--value2= Coalescing disable value to be set, 0 for false (enable), 1 for true (disable) (required) Usage: esxcli nvme device feature kat get [cmd options] Description: get Get NVMe device feature keep alive timer information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature kat set [cmd options] Description: set Set NVMe device feature keep alive timer information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -t|--timeout= timeout value for the keep alive feature to be set (required) Usage: esxcli nvme device feature lba get [cmd options] Description: get Get NVMe device feature LBA range type information Cmd options: -A|--adapter= Adapter to operate on (required) -n|--namespace= Namespace to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature nq get [cmd options] Description: get Get NVMe device feature number of queue information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature pm get [cmd options] Description: get Get NVMe device feature power management information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature pm set [cmd options] Description: set Set NVMe device feature power management information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -v|--value= Power state value to be set (required) -w|--workload= Workload Hint to be set, 0 will be passed as default value, if not set Usage: esxcli nvme device feature spm get [cmd options] Description: get Get NVMe device feature software progress marker information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature spm set [cmd options] Description: set Set software progress marker feature information, will clear Pre-boot Software Load Count (PBSLC) to 0 Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute Usage: esxcli nvme device feature tt get [cmd options] Description: get Get NVMe device feature temperature threshold information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature tt set [cmd options] Description: set Set NVMe device feature temperature threshold information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -s|--sensor= Threshold temperature select value to be set, 0 will be passed as default value, if not set -u|--under Set under temperature threshold -v|--value= Temperature threshold value to be set (required) Usage: esxcli nvme device feature vwc get [cmd options] Description: get Get NVMe device feature volatile write cache information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature vwc set [cmd options] Description: set Set NVMe device feature volatile write cache information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -v|--value= Volitale write cache enable value to be set, 0 for false (disable), 1 for true (enable) (required) Usage: esxcli nvme device feature wa get [cmd options] Description: get Get NVMe device feature write atomicity information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--select= specify which value of the attributes to return, "current", "default", "saved" Usage: esxcli nvme device feature wa set [cmd options] Description: set Set NVMe device feature write atomicity information Cmd options: -A|--adapter= Adapter to operate on (required) -S|--save save the attribute -v|--value= Disable Normal value to be set, 0 for false (enable), 1 for true (disable) (required) Usage: esxcli nvme device firmware activate [cmd options] Description: activate Commit downloaded firmware image to a specific slot Cmd options: -a|--action= Activate action 0: Downloaded image replaces the image indicated by the firmware slot field. This image is not activated. 1: Downloaded image replaces the image indicated by the firmware slot field. This image is activated at the next reset. 2: The image specified by the firmware slot field is activated at the next reset. 3: The image specified by the firmware slot field is requested to be activated immediately without reset. (required) -A|--adapter= Adapter to operate on (required) -s|--slot= Slot number. If the value specified is 0, then the controller shall choose the firmware slot. (required) Usage: esxcli nvme device firmware download [cmd options] Description: download Download firmware image to the device Cmd options: -A|--adapter= Adapter to operate on (required) -f|--firmware= Firmware image path (required) Usage: esxcli nvme device get [cmd options] Description: get Get NVMe device information Cmd options: -A|--adapter= Adapter to operate on (required) Usage: esxcli nvme device list [cmd options] Description: list List NVMe devices registered to VMware NVMe driver Cmd options: Usage: esxcli nvme device log error get [cmd options] Description: get Get NVMe device error log information Cmd options: -A|--adapter= Adapter to operate on (required) -e|--elpe= Error log page entries. This value indicates the number of log entries you wish to get. The maximum number of entries supported is device-specific. (required) Usage: esxcli nvme device log fwslot get [cmd options] Description: get Get NVMe device firmware slot log information Cmd options: -A|--adapter= Adapter to operate on (required) Usage: esxcli nvme device log smart get [cmd options] Description: get Get NVMe device SMART log information Cmd options: -A|--adapter= Adapter to operate on (required) -n|--namespace= Namespace ID. If log page is supported on a per namespace basis this value indicates the ID of namespace you wish to get log from. This parameter can be omitted to request global log page. Usage: esxcli nvme device namespace attach [cmd options] Description: attach Attach namespace on NVMe device Cmd options: -A|--adapter= Adapter to operate on (required) -c|--controller= Controller ID to attach. ID starts from 0 (required) -n|--namespace= Namespace ID to attach. ID starts from 1 (required) Usage: esxcli nvme device namespace create [cmd options] Description: create Create namespace on NVMe device Cmd options: -A|--adapter= Adapter to operate on (required) -c|--capacity= Namespace Capacity (required) -p|--dps= End-to-End Data Protection Type Settings (required) -f|--flbas= Formatted LBA Size (required) -m|--nmic= Namespace Multi-path IO and Namespace Sharing Capabilities (required) -s|--size= Namespace Size (required) Usage: esxcli nvme device namespace delete [cmd options] Description: delete Delete namespace on NVMe device Cmd options: -A|--adapter= Adapter to operate on (required) -n|--namespace= ID of namespace to delete, starts from 1 (required) Usage: esxcli nvme device namespace detach [cmd options] Description: detach Detach namespace on NVMe device Cmd options: -A|--adapter= Adapter to operate on (required) -c|--controller= Controller ID to detach. ID starts from 0 (required) -n|--namespace= ID of namespace to detach. ID starts from 1 (required) Usage: esxcli nvme device namespace format [cmd options] Description: format Change namespace format Cmd options: -A|--adapter= Adapter to operate on (required) -f|--format= LBA Format(LBAF) (required) -m|--ms= Metadata Settings(MS). 0: Metadata is transferred as part of a separate buffer. 1: Metadata is transferred as part of an extended data LBA. (required) -n|--namespace= Namespace ID (required) -p|--pi= Protection Information(PI). 0: Protection information is not enabled. 1: Protection information is enabled, Type 1. 2: Protection information is enabled, Type 2. 3: Protection information is enabled, Type 3. (required) -l|--pil= Protection Information Location(PIL). 0: PI is transferred as the last eight bytes of metadata, if PI is enabled. 1: PI is transferred as the first eight bytes of metadata, if PI is enabled. (required) -s|--ses= Secure Erase Settings(SES). 0: No secure erase operation requested. 1: User Data Erase. 2: Cryptographic Erase. (required) Usage: esxcli nvme device namespace get [cmd options] Description: get Get nvme namespace information Cmd options: -A|--adapter= Adapter to operate on (required) -n|--namespace= ID of namespace to get information from. ID starts from 1 (required) Usage: esxcli nvme device namespace list [cmd options] Description: list List namespace on NVMe device Cmd options: -A|--adapter= Adapter to operate on (required) Usage: esxcli nvme device register get [cmd options] Description: get Dump NVMe device registers Cmd options: -A|--adapter= Adapter to operate on (required) Usage: esxcli nvme device timeout get [cmd options] Description: get Get timeout value of IO timeout checker Cmd options: -A|--adapter= Adapter to operate on (required) Usage: esxcli nvme device timeout set [cmd options] Description: set Set timeout value for IO timeout checker Cmd options: -A|--adapter= Adapter to operate on (required) -t|--timeout= IO timeout seconds for internal checker. Maximum timeout value is 40. 0: disable timeout checker. (required) Usage: esxcli nvme driver loglevel set [cmd options] Description: set Set NVMe driver log level and debug level Cmd options: -d|--debuglevel= Debug level(hex int format). When log level is 5, this value is used to manupulate NVMe driver parameter: nvme_dbg. This parameter can be omitted to indicate value 0. BIT_0: Print ctrlr level log BIT_1: Print namespace level log BIT_2: Print queue level log BIT_3: Print IO command level log BIT_4: Print admin command level log BIT_5: Print management level log BIT_6: Print exception handler log BIT_7: Print split command log BIT_13: Print timeout handler log BIT_14: Print init/cleanup log BIT_15: Print temp log BIT_16: Dump SG array BIT_17: Dump PRP BIT_18: Dump cdb BIT_19: Dump NVM command BIT_20: Dump completion queue entry BIT_21: Dump user passthru data BIT_22: Dump namespace info BIT_23: Dump timeout info BIT_24: Dump smart log info -l|--loglevel= Log level. This value is used to manupulate NVMe driver parameter: nvme_log_level. 1: error 2: warning 3: info 4: verbose 5: debug (required) Usage: esxcli rdma device list [cmd options] Description: list List the logical RDMA devices currently registered on the system. Cmd options: Usage: esxcli rdma device protocol list [cmd options] Description: list List the enabled RDMA protocols. Cmd options: Usage: esxcli rdma device stats get [cmd options] Description: get Get statistics for a given RDMA device. Cmd options: -d|--device= Name of the RDMA device. (required) Usage: esxcli rdma device vmknic list [cmd options] Description: list List the vmknics associated with RDMA devices. Cmd options: -d|--device= Name of the RDMA device whose vmknics to display. Usage: esxcli rdma iser add [cmd options] Description: add Add an iser device to enable iser module driver. Cmd options: Usage: esxcli rdma iser delete [cmd options] Description: delete Delete an iser logical device. Cmd options: Usage: esxcli sched reliablemem get [cmd options] Description: get Check if the system is currently aware of reliable memory. Cmd options: Usage: esxcli sched swap system get [cmd options] Description: get Get current state of the options of the system-wide shared swap space. Cmd options: Usage: esxcli sched swap system set [cmd options] Description: set Change the configuration of system-wide shared swap space. Cmd options: -d|--datastore-enabled= If the datastore option should be enabled or not. -n|--datastore-name= The name of the datastore used by the datastore option. -D|--datastore-order= The order of the datastore option in the preference of the options -c|--hostcache-enabled= If the host cache option should be enabled or not. -C|--hostcache-order= The order of the host cache option in the preference of the options. -l|--hostlocalswap-enabled= If the host local swap option should be enabled or not. -L|--hostlocalswap-order= The order of the host local swap option in the preference of the options. Usage: esxcli software acceptance get [cmd options] Description: get Gets the host acceptance level. This controls what VIBs will be allowed on a host. Cmd options: Usage: esxcli software acceptance set [cmd options] Description: set Sets the host acceptance level. This controls what VIBs will be allowed on a host. Cmd options: --level= Specifies the acceptance level to set. Should be one of VMwareCertified / VMwareAccepted / PartnerSupported / CommunitySupported. (required) Usage: esxcli software profile get [cmd options] Description: get Display the installed image profile. Cmd options: --rebooting-image Displays information for the ESXi image which becomes active after a reboot, or nothing if the pending- reboot image has not been created yet. If not specified, information from the current ESXi image in memory will be returned. Usage: esxcli software profile install [cmd options] Description: install Installs or applies an image profile from a depot to this host. This command completely replaces the installed image with the image defined by the new image profile, and may result in the loss of installed VIBs. The common vibs between host and image profile will be skipped. To preserve installed VIBs, use profile update instead. WARNING: If your installation requires a reboot, you need to disable HA first. Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. (required) --dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change anything in the system. -f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not recommended unless you know what you are doing. Use of this option will result in a warning being displayed in the vSphere Client. Use this option only when instructed to do so by VMware Technical Support. --maintenance-mode Pretends that maintenance mode is in effect. Otherwise, installation will stop for live installs that require maintenance mode. This flag has no effect for reboot required remediations. --no-live-install Forces an install to /altbootbank even if the VIBs are eligible for live installation or removal. Will cause installation to be skipped on PXE-booted hosts. --no-sig-check Bypasses acceptance level verification, including signing. Use of this option poses a large security risk and will result in a SECURITY ALERT warning being displayed in the vSphere Client. --ok-to-remove Allows the removal of installed VIBs as part of applying the image profile. If not specified, esxcli will error out if applying the image profile results in the removal of installed VIBs. -p|--profile= Specifies the name of the image profile to install. (required) --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. Usage: esxcli software profile update [cmd options] Description: update Updates the host with VIBs from an image profile in a depot. Installed VIBs may be upgraded (or downgraded if --allow-downgrades is specified), but they will not be removed. Any VIBs in the image profile which are not related to any installed VIBs will be added to the host. WARNING: If your installation requires a reboot, you need to disable HA first. Cmd options: --allow-downgrades If this option is specified, then the VIBs from the image profile which update, downgrade, or are new to the host will be installed. If the option is not specified, then the VIBs which update or are new to the host will be installed. -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. (required) --dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change anything in the system. -f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not recommended unless you know what you are doing. Use of this option will result in a warning being displayed in the vSphere Client. Use this option only when instructed to do so by VMware Technical Support. --maintenance-mode Pretends that maintenance mode is in effect. Otherwise, installation will stop for live installs that require maintenance mode. This flag has no effect for reboot required remediations. --no-live-install Forces an install to /altbootbank even if the VIBs are eligible for live installation or removal. Will cause installation to be skipped on PXE-booted hosts. --no-sig-check Bypasses acceptance level verification, including signing. Use of this option poses a large security risk and will result in a SECURITY ALERT warning being displayed in the vSphere Client. -p|--profile= Specifies the name of the image profile to update the host with. (required) --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. Usage: esxcli software profile validate [cmd options] Description: validate Validates the current image profile on the host against an image profile in a depot. Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. (required) -p|--profile= Specifies the name of the image profile to validate the host with. (required) --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. Usage: esxcli software sources profile get [cmd options] Description: get Display details about an image profile from the depot. Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. (required) -p|--profile= Specifies the name of the image profile to display. (required) --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. Usage: esxcli software sources profile list [cmd options] Description: list List all the image profiles in a depot. Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. (required) --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. Usage: esxcli software sources vib get [cmd options] Description: get Displays detailed information about one or more VIB packages in the depot Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. -n|--vibname=[ ... ] Specifies one or more VIBs in the depot to display more information about. If this option is not specified, then all of the VIB packages from the depot will be displayed. Must be one of the following forms: name, name:version, vendor:name, or vendor:name:version. -v|--viburl=[ ... ] Specifies one or more URLs to VIB packages to display information about. http:, https:, ftp:, and file: are all supported. Usage: esxcli software sources vib list [cmd options] Description: list List all the VIBs from depots. Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. (required) --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. Usage: esxcli software vib get [cmd options] Description: get Displays detailed information about one or more installed VIBs Cmd options: --rebooting-image Displays information for the ESXi image which becomes active after a reboot, or nothing if the pending- reboot image has not been created yet. If not specified, information from the current ESXi image in memory will be returned. -n|--vibname=[ ... ] Specifies one or more installed VIBs to display more information about. If this option is not specified, then all of the installed VIBs will be displayed. Must be one of the following forms: name, name:version, vendor:name, or vendor:name:version. Usage: esxcli software vib install [cmd options] Description: install Installs VIB packages from a URL or depot. VIBs may be installed, upgraded, or downgraded. WARNING: If your installation requires a reboot, you need to disable HA first. Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. --dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change anything in the system. -f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not recommended unless you know what you are doing. Use of this option will result in a warning being displayed in the vSphere Client. Use this option only when instructed to do so by VMware Technical Support. --maintenance-mode Pretends that maintenance mode is in effect. Otherwise, installation will stop for live installs that require maintenance mode. This flag has no effect for reboot required remediations. --no-live-install Forces an install to /altbootbank even if the VIBs are eligible for live installation or removal. Will cause installation to be skipped on PXE-booted hosts. --no-sig-check Bypasses acceptance level verification, including signing. Use of this option poses a large security risk and will result in a SECURITY ALERT warning being displayed in the vSphere Client. --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. -n|--vibname=[ ... ] Specifies VIBs from a depot, using one of the following forms: name, name:version, vendor:name, or vendor:name:version. -v|--viburl=[ ... ] Specifies one or more URLs to VIB packages to install. http:, https:, ftp:, and file: are all supported. Usage: esxcli software vib list [cmd options] Description: list Lists the installed VIB packages Cmd options: --rebooting-image Displays information for the ESXi image which becomes active after a reboot, or nothing if the pending- reboot image has not been created yet. If not specified, information from the current ESXi image in memory will be returned. Usage: esxcli software vib remove [cmd options] Description: remove Removes VIB packages from the host. WARNING: If your installation requires a reboot, you need to disable HA first. Cmd options: --dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change anything in the system. -f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not recommended unless you know what you are doing. Use of this option will result in a warning being displayed in the vSphere Client. Use this option only when instructed to do so by VMware Technical Support. --maintenance-mode Pretends that maintenance mode is in effect. Otherwise, remove will stop for live removes that require maintenance mode. This flag has no effect for reboot required remediations. --no-live-install Forces an remove to /altbootbank even if the VIBs are eligible for live removal. Will cause installation to be skipped on PXE-booted hosts. -n|--vibname=[ ... ] Specifies one or more VIBs on the host to remove. Must be one of the following forms: name, name:version, vendor:name, vendor:name:version. (required) Usage: esxcli software vib signature verify [cmd options] Description: verify Verifies the signatures of installed VIB packages and displays the name, version, vendor, acceptance level and the result of signature verification for each of them Cmd options: --rebooting-image Displays information for the ESXi image which becomes active after a reboot. If not specified, information from the current ESXi image in memory will be returned. Usage: esxcli software vib update [cmd options] Description: update Update installed VIBs to newer VIB packages. No new VIBs will be installed, only updates. WARNING: If your installation requires a reboot, you need to disable HA first. Cmd options: -d|--depot=[ ... ] Specifies full remote URLs of the depot index.xml or server file path pointing to an offline bundle .zip file. --dry-run Performs a dry-run only. Report the VIB-level operations that would be performed, but do not change anything in the system. -f|--force Bypasses checks for package dependencies, conflicts, obsolescence, and acceptance levels. Really not recommended unless you know what you are doing. Use of this option will result in a warning being displayed in the vSphere Client. Use this option only when instructed to do so by VMware Technical Support. --maintenance-mode Pretends that maintenance mode is in effect. Otherwise, installation will stop for live installs that require maintenance mode. This flag has no effect for reboot required remediations. --no-live-install Forces an install to /altbootbank even if the VIBs are eligible for live installation or removal. Will cause installation to be skipped on PXE-booted hosts. --no-sig-check Bypasses acceptance level verification, including signing. Use of this option poses a large security risk and will result in a SECURITY ALERT warning being displayed in the vSphere Client. --proxy= Specifies a proxy server to use for HTTP, FTP, and HTTPS connections. The format is proxy-url:port. -n|--vibname=[ ... ] Specifies VIBs from a depot, using one of the following forms: name, name:version, vendor:name, or vendor:name:version. VIB packages which are not updates will be skipped. -v|--viburl=[ ... ] Specifies one or more URLs to VIB packages to update to. http:, https:, ftp:, and file: are all supported. VIB packages which are not updates will be skipped. Usage: esxcli storage core adapter capabilities list [cmd options] Description: list List the capabilities of the SCSI HBAs in the system. Cmd options: -a|--adapter= Limit the capabilities output to one adapter Usage: esxcli storage core adapter device list [cmd options] Description: list List the devices associated with HBAs. Cmd options: -A|--adapter=[ ... ] Limit the output to one or more adapter(s). Examples: List the devices associated with all the HBAs. # esxcli storage core adapter device list Show the devices associated with adapter 'adapter1'. # esxcli storage core adapter device list -A adapter1 Show the devies associated with adapter 'adapter1' and adapter 'adapter2'. # esxcli storage core adapter device list -A adapter1 -A adapter2 Usage: esxcli storage core adapter list [cmd options] Description: list List all the SCSI Host Bus Adapters on the system. Cmd options: Usage: esxcli storage core adapter rescan [cmd options] Description: rescan Rescan SCSI HBAs to search for new Devices, remove DEAD paths and update path state. This operation will also run an claim operation equivalent to the claimrule run command and a filesystem rescan. Cmd options: -A|--adapter= Select the adapter to use when rescanning SCSI adapters. This must be a SCSI HBA name as shown in the adapter list command. This cannot be used with the --all option -a|--all Indicate the rescan should rescan all adapters instead of a specific one. -S|--skip-claim By default after an add operation a claiming session is run to find new devices and have them be claimed by the appropriate Multipath Plugin. Passing this flag will skip that claiming session. -F|--skip-fs-scan This option is deprecated as no filesystem scan is performed by default -t|--type= Specify the type of rescan to perform. Available types are add: Perform rescan and only add new devices if any. all: Perform rescan and do all opertaions (this is the default action.) delete: Perform rescan and only delete DEAD devices. update: Rescan existing paths only and update path states. Usage: esxcli storage core adapter stats get [cmd options] Description: get List the SCSI stats for the SCSI Host Bus Adapters in the system. Cmd options: -a|--adapter= Limit the stats output to one adapter Usage: esxcli storage core claiming autoclaim [cmd options] Description: autoclaim Control the automatic PSA (path/device) claiming code allowing the disabling of the automatic claiming process or re-enabling of the claiming process if it was previously disabled. By default the automatic PSA claiming process is on and should not be disabled by users unless specifically instructed to do so. Cmd options: -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter, VAAI, all]. --enabled= Set the autoclaiming enabled state for a givenPSA plugin type in the VMkernel. Default is to have this process enabled. This should not be changed by users unless specifically instructed to do so. (required) -w|--wait If the --wait flag is provided then the autoclaim enable will wait for paths to 'settle' before running the claim operation. This means that the system is reasonably sure that all paths on the system have appeared before enabling autoclaim. Usage: esxcli storage core claiming reclaim [cmd options] Description: reclaim Attempt to unclaim all paths to a device and then run the loaded claimrules on each of the paths unclaimed to attempt to reclaim them. Cmd options: -d|--device= Reclaim requires the name of a device on which all paths will be unclaimed and then reclaimed. (required) Usage: esxcli storage core claiming unclaim [cmd options] Description: unclaim 1) Unclaim a path or set of paths, disassociating them from a PSA plugin. NOTES: It is normal for path claiming to fail especially when unclaiming by plugin or adapter. Only inactive paths with no I/O will be able to be unclaimed. Typically the ESXi USB partition and devices with VMFS volumes on them will not be unclaimable. Also NOTE unclaiming will not persist and periodic path claiming will reclaim these paths in the near future unless claim rules are configured to mask the path. 2) Detach a (set of) filter(s) from one or more devices. Cmd options: -A|--adapter= If the --type paramter is 'location' this value indicates the name of the host bus adapter for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths from all adapters. -C|--channel= If the --type parameter is 'location' this value indicates the value of the SCSI channel number for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths with any channel number. -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter]. -d|--device= If the --type parameter is 'device' attempt to unclaim all paths to a specific device (for multipathing plugins) or unclaim the device itself (for filter plugins). NOTE. For paths, if there are any active I/O operations on this device, at least 1 path will fail to unclaim. -D|--driver= If the --type parameter is 'driver' attempt to unclaim all paths provided by a specific HBA driver. -L|--lun= If the --type parameter is 'location' this value indicates the value of the SCSI Logical Unit Number (LUN) for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths with any Logical Unit Number. If passed, this value must not be higher than the value of the advanced config option /Disk/MaxLUN -m|--model= If the --type parameter is 'vendor' attempt to unclaim all paths to devices with specific model info (for multipathing plugins) or unclaim the device itself (for filter plugins). NOTE. For paths, if there are any active I/O operations on this device, at least 1 path will fail to unclaim. -p|--path= If the --type parameter is 'path' attempt to unclaim a specific path given its path UID or runtime name. -P|--plugin= If the --type parameter is 'plugin' attempt to unclaim all paths on for a given multipath plugin OR all devices attached to a filter plugin. -T|--target= If the --type paramter is 'location' this value indicates the value of the SCSI target number for the paths you wish to unclaim. This parameter can be omitted to indicate unclaiming should be run on paths with any target number. -t|--type= Indicate the type of unclaim you wish to perform. Valid values for this paramter are [location, path, driver, device, plugin, vendor] (required) -v|--vendor= If the --type parameter is 'vendor' attempt to unclaim all paths to devices with specific vendor info (for multipathing plugins) or unclaim the device itself (for filter plugins). NOTE. For paths, if there are any active I/O operations on this device, at least 1 path will fail to unclaim. Usage: esxcli storage core claimrule add [cmd options] Description: add Add a claimrule to the set of claimrules on the system. Cmd options: -A|--adapter= Indicate the adapter of the paths to use in this operation. -u|--autoassign The system will auto assign a rule id. -C|--channel= Indicate the channel of the paths to use in this operation. -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter, VAAI]. -d|--device= Indicate the Device Uid to use for this operation. -D|--driver= Indicate the driver of the paths to use in this operation. -f|--force Force claim rules to ignore validity checks and install the rule anyway. --force-reserved Override protection of reserved rule id ranges. --if-unset= Execute this command if this advanced user variable is not set to 1 -i|--iqn= Indicate the iSCSI Qualified Name for the target to use in this operation. -L|--lun= Indicate the LUN of the paths to use in this operation. It must not be higher than the value of the advanced config option /Disk/MaxLUN -M|--model= Indicate the model of the paths to use in this operation. -P|--plugin= Indicate which PSA plugin to use for this operation. (required) -r|--rule= Indicate the rule ID to use for this operation. -T|--target= Indicate the target of the paths to use in this operation. -R|--transport= Indicate the transport of the paths to use in this operation. Valid Values are: [block, fc, iscsi, iscsivendor, ide, sas, sata, usb, parallel, fcoe, unknown] -t|--type= Indicate which type of matching used for claim/unclaim or claimrule. Valid values are: [vendor, location, driver, transport, device, target] (required) -V|--vendor= Indicate the vendor of the paths to user in this operation. --wwnn= Indicate the World-Wide Node Number for the target to use in this operation. --wwpn= Indicate the World-Wide Port Number for the target to use in this operation. -m|--xcopy-max-transfer-size= Maximum transfer size in MB to use for XCOPY commands if admin wants to use a transfer size different than array reported. This option only takes effect when --xcopy-use-array-values is specified. This option is deprecated. Use --xcopy-max-transfer-size-kib instead -k|--xcopy-max-transfer-size-kib= Maximum transfer size in KiB to use for XCOPY commands if admin wants to use a transfer size different than array reported. This option only takes effect when --xcopy-use-array-values is specified. This option takes precedence over --xcopy-max-transfer-size option -a|--xcopy-use-array-values Use array reported values for XCOPY commands. -s|--xcopy-use-multi-segs Use multiple segments for XCOPY commandsThis option only takes effect when --xcopy-use-array-values is specified. Examples: Add rule #321 for the Filter plugin type that will claim the given device for the VAAI Filter plugin # esxcli storage core claimrule add -r 321 -t device -P VAAI_FILTER --claimrule-class=Filter --device=mpx.vmhba0 Add rule #321 for the VAAI plugin type that will claim the given device for the VMW_VAAIP_SYMM plugin # esxcli storage core claimrule add -r 321 -t device -P VMW_VAAIP_SYMM --claimrule-class=VAAI --device=naa.1234 Add rule #321 that will claim the path on adapter vmhba0, channel 0, target 0, LUN 0 for the NMP plugin # esxcli storage core claimrule add -r 321 -t location -A vmhba0 -C 0 -T 0 -L 0 -P NMP Add rule #429 for the MP claim rule type that will claim all paths provided by an adapter with the mptscsi driver for the MASK_PATH plugin. # esxcli storage core claimrule add -r 429 -t driver -D mptscsi -P MASK_PATH --claimrule-class=MP Add rule #914 to claim all paths with a vendor string matching "VMWARE" and a model string "Virtual" for the NMP plugin # esxcli storage core claimrule add -r 914 -t vendor -V VMWARE -M Virtual -P NMP Add rule #1015 to claim all paths provided by Fibre Channel type adapters for the NMP plugin. # esxcli storage core claimrule add -r 1015 -t transport -R fc -P NMP Add rule #429 to claim all paths provided by Fibre Channel Target on given WWNN and WWPN. # esxcli storage core claimrule add -r 429 -P NMP -t target -R fc --wwnn 50:06:01:60:ba:60:11:53 --wwpn 50:06:01:60:3a:60:11:53 Add rule #429 to claim paths to LUN 5 provided by iSCSI Target on given IQN. # esxcli storage core claimrule add -r 429 -P NMP -t target -R iscsi --iqn iqn.2001-04.com.example:storage.disk2.sys1.xyz --lun 5 Add a rule with a system assigned rule id to claim all paths provided by Fibre Channel type adapters for the NMP plugin. # esxcli storage core claimrule add --autoassign -t transport -R fc -P NMP Add a VAAI rule enabling using array reported values & multiple segments while issuing XCOPY Commands. # esxcli storage core claimrule add -r 65430 -t vendor -V EMC -M SYMMETRIX -P VMW_VAAIP_SYMM -c VAAI -a -s -m 200 Add a VAAI rule enabling using array reported values & set maxTransferSize in KiB whileissuing XCOPY Commands. # esxcli storage core claimrule add -r 65430 -t vendor -V EMC -M SYMMETRIX -P VMW_VAAIP_SYMM -c VAAI -a -k 256 Add a VAAI rule enabling using array reported values & set maxTransferSize in KiB whileissuing XCOPY Commands. # esxcli storage core claimrule add -r 65430 -t vendor -V EMC -M SYMMETRIX -P VMW_VAAIP_SYMM -c VAAI -a -s -k 204800 Usage: esxcli storage core claimrule convert [cmd options] Description: convert Convert ESX 3.x style /adv/Disk/MaskLUNs LUN masks to Claim Rule format. WARNING: This conversion will not work for all input MaskLUNs variations! Please inspect the list of generated claim rules carefuly, then if the suggested LUN mask claim rules are correct use the --commit parameter to write the list to the config file. Cmd options: -C|--commit Force LUN mask config changes to be saved. If this parameter is omitted, config file changes will not be saved. Usage: esxcli storage core claimrule list [cmd options] Description: list List all the claimrules on the system. Cmd options: -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter, VAAI, all]. Usage: esxcli storage core claimrule load [cmd options] Description: load Load path claiming rules from config file into the VMkernel. Cmd options: -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter, VAAI, all]. Usage: esxcli storage core claimrule move [cmd options] Description: move Move a claimrule from one rule id to another Cmd options: -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter, VAAI]. --force-reserved Override protection of reserved rule id ranges. -n|--new-rule= Indicate the new rule id you wish to apply to the rule given by the --rule parameter. (required) -r|--rule= Indicate the rule ID to use for this operation. (required) Usage: esxcli storage core claimrule remove [cmd options] Description: remove Delete a claimrule to the set of claimrules on the system. Cmd options: -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter, VAAI]. -P|--plugin= Indicate the plugin to use for this operation. -r|--rule= Indicate the rule ID to use for this operation. Usage: esxcli storage core claimrule run [cmd options] Description: run Execute path claiming rules. Cmd options: -A|--adapter= If the --type parameter is 'location' this value indicates the name of the host bus adapter for the paths you wish to run claim rules on. This parameter can be omitted to indicate claim rules should be run on paths from all adapters. -C|--channel= If the --type parameter is 'location' this value indicates the value of the SCSI channel number for the paths you wish to run claim rules on. This parameter can be omitted to indicate claim rules should be run on paths with any channel number. -c|--claimrule-class= Indicate the claim rule class to use in this operation [MP, Filter]. -d|--device= Indicate the Device Uid to use for this operation. -L|--lun= If the --type paramter is 'location' this value indicates the value of the SCSI Logical Unit Number (LUN) for the paths you wish to run claim rules on. This parameter can be omitted to indicate claim rules should be run on paths with any Logical Unit Number. -p|--path= If the --type paramter is 'path' this value indicates the unique path identifier (UID) or the runtime name of a path which you wish to run claim rules on. -T|--target= If the --type parameter is 'location' this value indicates the value of the SCSI target number for the paths you wish to run claim rules on. This parameter can be omitted to indicate claim rules should be run on paths with any target number. -t|--type= Indicate the type of claim run you wish to perform. By default the value of 'all' will be used indicating you wish to run claim rules without restricting the run to specific paths or SCSI addresses. Valid values for this parameter are [location, path, device, all] -w|--wait If the --wait flag is provided then the claim command will wait until device registration has completed to return. This option is only valid when used with the --all option. Usage: esxcli storage core device capacity list [cmd options] Description: list List capacity information for the known storage devices. Cmd options: -d|--device= Limit the output to a specific device. Usage: esxcli storage core device detached list [cmd options] Description: list Lists all devices that were detached manually by changing their state on the system. Cmd options: -d|--device= Filter the output of the command to limit the output to a specific device. Usage: esxcli storage core device detached remove [cmd options] Description: remove Provide control to allow a user to remove Detached devices from the persistent detached device list. Cmd options: -a|--all If set, all devices will be removed from the Detached Device List. -d|--device= Select the detached device to remove from the Detached Device List. Usage: esxcli storage core device latencythreshold list [cmd options] Description: list List latency sensitive threshold for the known storage devices. Cmd options: -d|--device= Limit the output to a specific device. Usage: esxcli storage core device latencythreshold set [cmd options] Description: set Set device's latency sensitive threshold (in milliseconds). If IO latency exceeds the threshold, new IOs will use default IO scheduler. Cmd options: -d|--device= Select the device to set its latency sensitive threshold. (required) -t|--latency-sensitive-threshold= Set device's latency sensitive threshold (in milliseconds). (required) Usage: esxcli storage core device list [cmd options] Description: list List the devices currently registered with the PSA. Cmd options: -d|--device= Filter the output of this command to only show a single device. -o|--exclude-offline If set this flag will exclude the offline devices -p|--pe-only If set this flag will list the mount points of pe type. --skip-slow-fields Do not show the value of some fields that need more time to fetch. The output will show the value for such fields. Usage: esxcli storage core device partition list [cmd options] Description: list For a given device list all of the partitions Cmd options: -d|--device= Filter the output to a specific device. Usage: esxcli storage core device partition showguid [cmd options] Description: showguid For a given device list the GUID for GPT partitions Cmd options: -d|--device= Filter the output to a specific device. Usage: esxcli storage core device physical get [cmd options] Description: get Get information about a physical storage device. Cmd options: -d|--device= Specify a device name. (required) Usage: esxcli storage core device purge [cmd options] Description: purge Removes storage devices which have not been seen in some time interval. Cmd options: -i|--interval= Timeout interval (in days) for storage device removal. If a storage device has not been seen for the specified number of days, it will be removed. If not specified, the advanced setting '/Scsi/LunCleanupInterval' will be used (see esxcli system settings advanced list and esxcli system settings advanced set). Usage: esxcli storage core device raid list [cmd options] Description: list List the physical devices that compose a given logical device. Cmd options: -d|--device= Specify a device name. (required) Usage: esxcli storage core device set [cmd options] Description: set Provide control to allow a user to modify a SCSI device's state. Cmd options: -I|--data-integrity-enabled= Enable / Disable device data integrity 0 -> Protection disabled 1 -> Protection enabled.Please refer to ESX release notes for more Information -D|--default-name Set the default display name for the device. If there is an existing user defined name it will be changed. -d|--device= The device upon which to operate. This can be any of the UIDs that a device reports. (required) -f|--force Force the device state to be set. -L|--led-duration= Set the duration of LED in seconds. If not specified, use maximum duration that hardware can support. -l|--led-state= Set the disk LED state. Valid values are: error: Turn on error LED. locator: Turn on locator LED. off: Turn off LED. -m|--max-queue-depth= Set device's max queue depth. -n|--name= The new name to assign the given device. -N|--no-persist Set device state non-peristently; state is lost after reboot. -s|--queue-full-sample-size= Set device's queue full sample size. IO samples to monitor for detecting non-transient queue full condition. Should be non zero to enable queue depth throttling. -q|--queue-full-threshold= Set device's queue full threshold. BUSY or QFULL threshold,upon which LUN queue depth will be throttled. Should be <= queue-full-sample-size if throttling is enabled. -O|--sched-num-req-outstanding= Set number of outstanding IOs with competing worlds. --state= Set the SCSI device state for the specific device given. Valid values are : off: Set the device's state to OFF. on: Set the device's state to ON. -w|--write-cache-enabled= Set device's write cache state. Usage: esxcli storage core device setconfig [cmd options] Description: setconfig Set device configuration Cmd options: --detached= Mark device as detached. -d|--device= The device upon which to operate. This can be any of the UIDs that a device reports. (required) --perennially-reserved= Mark device as perennially reserved. --shared-clusterwide= Mark device as not shared clusterwide. Examples: Mark device naa.1234 as persistently detached # esxcli storage core device setconfig -d naa.1234 --detached=true Mark device naa.1234 as perennially reserved. This is used in cluster environments to stop retrying IOs to quorum disks which are perennially reserved by another host, thereby speeding up boot times for ESX hosts that share the disk # esxcli storage core device setconfig -d naa.1234 --perennially-reserved=true Mark device naa.1234 as not shared clusterwide. This is used in cluster environments using storage host profiles to mark devices not detected as local as "virtually" local # esxcli storage core device setconfig -d naa.1234 --shared-clusterwide=false Usage: esxcli storage core device smart get [cmd options] Description: get List Smart device parameters. Cmd options: -d|--device-name= The Smart device name (required) Usage: esxcli storage core device stats get [cmd options] Description: get List the SCSI stats for SCSI Devices in the system. Cmd options: -d|--device= Limit the stats output to one specific device. This device name can be any of the UIDs the device reports Usage: esxcli storage core device vaai ats list [cmd options] Description: list List the ATS VAAI attributes (as per SCSI standard) for the devices. Cmd options: -d|--device= Filter the output of this command to only show a single device. Usage: esxcli storage core device vaai clone list [cmd options] Description: list List the Clone VAAI attributes (as per SCSI standard) for the devices. Cmd options: -d|--device= Filter the output of this command to only show a single device. Usage: esxcli storage core device vaai delete list [cmd options] Description: list List the Delete VAAI attributes (as per SCSI standard) for the devices. Cmd options: -d|--device= Filter the output of this command to only show a single device. Usage: esxcli storage core device vaai status get [cmd options] Description: get List VAAI properties for devices currently registered with the PSA. Cmd options: -d|--device= Filter the output of this command to only show a single device. Usage: esxcli storage core device vaai status set [cmd options] Description: set Enable/Disable VAAI operations on local SCSI disks. (NOTE: A request to enable an operation will take effect only if the underlying device supports the VAAI operation.) Cmd options: -A|--ats= Enable or Disable ATS operation (1/0) -C|--clone= Enable or Disable CLONE operation (1/0) -D|--delete= Enable or Disable DELETE operation (1/0) -d|--device= The device upon which to operate (NAA ID). (required) -Z|--zero= Enable or Disable ZERO operation (1/0) Usage: esxcli storage core device vaai zero list [cmd options] Description: list List the Zero VAAI attributes (as per SCSI standard) for the devices. Cmd options: -d|--device= Filter the output of this command to only show a single device. Usage: esxcli storage core device world list [cmd options] Description: list Get a list of the worlds that are currently using devices on the ESX host. Cmd options: -d|--device= Filter the output of the command to limit the output to a specific device. This device name can be any of the UIDs registered for a device. Usage: esxcli storage core path list [cmd options] Description: list List all the SCSI paths on the system. Cmd options: -d|--device= Limit the output to paths to a specific device. This name can be any of the UIDs for a specific device. -p|--path= Limit the output to a specific path. This name can be either the UID or the runtime name of the path. Usage: esxcli storage core path set [cmd options] Description: set Provide control to allow a user to modify a single path's state. This efffectively allows a user to enable or disable SCSI paths. The user is not able to change the full range of path states, but can toggle between 'active' and 'off'. Please NOTE changing the Path state on any path that is the only path to a given device is likely to fail. The VMkernel will not change the path's state if changing the state would cause an 'All paths down' state or the device is currently in use. Cmd options: -p|--path= Select the path to set path state on. This can be a Runtime Name or Path UID (required) --state= Set the SCSI path state for the specific path given. Valid values are : active: Set the path's state to active. This may be immediately changed by the system to another state if the active state is not appropriate. off: Administratively disable this path. (required) Usage: esxcli storage core path stats get [cmd options] Description: get List the SCSI stats for the SCSI Paths in the system. Cmd options: -p|--path= Limit the stats output to one specific path. This path name can be the runtime name or the path UID. Usage: esxcli storage core plugin list [cmd options] Description: list List loaded PSA plugins on the system. Cmd options: -N|--plugin-class= Indicate the class of plugin to limit the list to. Allowed values are : Filter: Filter plugins MP: MultiPathing plugins VAAI: VAAI plugins all: All PSA Plugins (default) Usage: esxcli storage core plugin registration add [cmd options] Description: add Register a plugin module with PSA. Cmd options: -d|--dependencies= Add the [optional] dependencies for this module to loaded -I|--full-path= Add the [optional] full path to this module -m|--module-name= Select the module name to be registered (required) -N|--plugin-class= Indicate the class of plugin to register. Allowed values are MP, VAAI or MPP defined subplugins like PSP, SATP. (required) -P|--plugin-name= Select the plugin name to be registered (required) Usage: esxcli storage core plugin registration list [cmd options] Description: list List modules currently registered with PSA. Cmd options: -m|--module-name= Filter the output of this command to only show a single module. -N|--plugin-class= Indicate the class of plugin to list. Allowed values are MP, VAAI or MPP defined subplugins like PSP, SATP. Usage: esxcli storage core plugin registration remove [cmd options] Description: remove UnRegister a plugin module with PSA. Cmd options: -m|--module-name= Select the module name to be unregistered (required) Usage: esxcli storage filesystem automount [cmd options] Description: automount Request mounting of known datastores not explicitly unmounted. Cmd options: Usage: esxcli storage filesystem list [cmd options] Description: list List the volumes available to the host. This includes VMFS, NAS, VFAT and UFS partitions. Cmd options: -i|--ignore-errors Ignore errors encountered (if any) while retrieving information for each file system. Usage: esxcli storage filesystem mount [cmd options] Description: mount Connect to and mount an unmounted volume on the ESX host. Cmd options: -n|--no-persist Mount the volume non-peristently; the volume will not be mounted after a restart. -l|--volume-label= The label of the volume to mount. This volume must be unmounted for this operation to succeed. -u|--volume-uuid= The UUID of the VMFS filesystem to mount. This volume must be unmounted for this operation to succeed. Usage: esxcli storage filesystem rescan [cmd options] Description: rescan Scan storage devices for new mountable filesystems. Cmd options: Usage: esxcli storage filesystem unmount [cmd options] Description: unmount Disconnect and unmount and existing VMFS or NAS volume. This will not delete the configuration for the volume, but will remove the volume from the list of mounted volumes. Cmd options: -n|--no-persist Unmount the volume non-peristently; the volume will be automounted after a restart. -a|--unmount-all-vmfs Unmount all vmfs volumes. -l|--volume-label= The label of the volume to unmount. -p|--volume-path= The path of the volume to unmount. -u|--volume-uuid= The uuid of the volume to unmount. Usage: esxcli storage hpp device list [cmd options] Description: list List the devices currently controlled by the VMware High Performance Plugin. Cmd options: -d|--device= Filter the output of this command to only show a single device. Usage: esxcli storage hpp device set [cmd options] Description: set Configure settings for an HPP device. Cmd options: -d|--device= The HPP device upon which to operate. This can be any of the UIDs that a device reports. (required) -M|--mark-device-ssd= Set whether or not HPP should treat the device as an SSD. Usage: esxcli storage hpp device usermarkedssd list [cmd options] Description: list List the devices that were marked as SSD by user. Cmd options: -d|--device= Filter the output of the command to limit the output to a specific device. Usage: esxcli storage hpp path list [cmd options] Description: list List the paths currently claimed by the VMware High Performance Plugin Cmd options: -d|--device= Filter the output of this command to only show info for a single device. -p|--path= Filter the output of this command to only show a single path. Usage: esxcli storage iofilter enable [cmd options] Description: enable Enable an iofilter. Cmd options: -f|--filter= Name of the iofilter. (required) Usage: esxcli storage iofilter list [cmd options] Description: list List the iofilters installed on this host. Cmd options: -f|--filter= Filter the output of this command to only show a single iofilter. Usage: esxcli storage nfs add [cmd options] Description: add Add a new NAS volume to the ESX Host and mount it with the given volume name. Cmd options: -H|--host= The hostname or IP address of the NAS volume to add and mount on the system. (required) -p|--ispe If set this flag will set the mount point to be PE. -r|--readonly If set this flag will set the mount point to be read- only. -s|--share= The share name on the remote system to use for this NAS mount point. (required) -v|--volume-name= The volume name to use for the NAS mount. This must be a unique volume name and cannot conflict with existing NAS, VMFS or other volume names. (required) Usage: esxcli storage nfs list [cmd options] Description: list List the NAS volumes currently known to the ESX host. Cmd options: -p|--pe-only Filter the output to only show VVol PE volumes Usage: esxcli storage nfs param get [cmd options] Description: get Get the volume parameters of the NAS volumes. Cmd options: -v|--volume-name= NAS volume name("all" to list all). (required) Usage: esxcli storage nfs param set [cmd options] Description: set Set the volume parameters of the NAS volumes. Cmd options: -q|--maxqueuedepth= The maximum queue depth for the NAS volume. -v|--volume-name= The NAS volume name. (required) Usage: esxcli storage nfs remove [cmd options] Description: remove Remove an existing NAS volume from the ESX host. Cmd options: -v|--volume-name= The volume name of the NAS volume to remove from the ESX host. (required) Usage: esxcli storage nfs41 add [cmd options] Description: add Add a new NFS v4.1 volume to the ESX Host and mount it with the given volume name. Cmd options: -H|--hosts=[ ... ] The hostname(s) or IP address(es) (comma-separated) of the server for the NFS v4.1 volume to add and mount on the system. (required) -p|--ispe If set, this flag will set the mount point to be PE. -r|--readonly If set, this flag will make the mount point be read- only. -a|--sec= Security flavors. Acceptable values are: [AUTH_SYS, SEC_KRB5, SEC_KRB5I]. -s|--share= The share name on the remote system to use for this NFS v4.1 mount point. (required) -v|--volume-name= The volume name to use for the NFS v4.1 mount. This must be a unique volume name and cannot conflict with existing NAS, NFS v4.1, VMFS, or other volume names. (required) Usage: esxcli storage nfs41 list [cmd options] Description: list List the NFS v4.1 volumes currently known to the ESX host. Cmd options: -p|--pe-only Filter the output to only show VVol PE Volumes Usage: esxcli storage nfs41 param get [cmd options] Description: get Get the volume parameters of the NFS v4.1 volumes. Cmd options: -v|--volume-name= NFS v4.1 volume name("all" to list all). (required) Usage: esxcli storage nfs41 param set [cmd options] Description: set Set the volume parameters of the NFS v4.1 volumes. Cmd options: -q|--maxqueuedepth= The maximum queue depth for the NFS v4.1 volume. -v|--volume-name= The NFS v4.1 volume name. (required) Usage: esxcli storage nfs41 remove [cmd options] Description: remove Remove an existing NFS v4.1 volume from the ESX host. Cmd options: -v|--volume-name= The volume name of the NFS v4.1 volume to remove from the ESX host. (required) Usage: esxcli storage nmp device list [cmd options] Description: list List the devices currently controlled by the VMware NMP Multipath Plugin and show the SATP and PSP information associated with that device. Cmd options: -d|--device= Filter the output of this command to only show a single device. Usage: esxcli storage nmp device set [cmd options] Description: set Allow setting of the Path Selection Policy (PSP) for the given device to one of the loaded policies on the system. Cmd options: -E|--default The Path selection policy is set back to the default for the assigned SATP for this device. -d|--device= The device you wish to set the Path Selection Policy for. (required) -P|--psp= The Path selection policy you wish to assign to the given device. Usage: esxcli storage nmp path list [cmd options] Description: list List the paths currently claimed by the VMware NMP Multipath Plugin and show the SATP and PSP information associated with that path. Cmd options: -d|--device= Filter the output of this command to only show paths to a single device. -p|--path= Filter the output of this command to only show a single path. Usage: esxcli storage nmp psp fixed deviceconfig get [cmd options] Description: get Allow retrieving of Fixed Path Selection Policy settings for a given device. Cmd options: -d|--device= The device you wish to get the Preferred path for. (required) Usage: esxcli storage nmp psp fixed deviceconfig set [cmd options] Description: set Allow setting of the perferred path on a given device controlled by the Fixed Path Selection Policy. Cmd options: -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -E|--default Clear the preferred path selection for the given device. -d|--device= The device you wish to set the preferred path for. This device must be controlled by the Fixed Path Selection Policy(except when -g is specified) (required) -p|--path= The path you wish to set as the preferred path for the given device. Usage: esxcli storage nmp psp generic deviceconfig get [cmd options] Description: get Allow retrieving of per device PSP configuration parameters. Cmd options: -d|--device= The device you wish to get PSP configuration for. (required) Usage: esxcli storage nmp psp generic deviceconfig set [cmd options] Description: set Allow setting of per device PSP configuration parameters. This command will set the configuration for the given device with whichever PSP it is currently configurated with. Cmd options: -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -c|--config= The configuration string you wish to set. (required) -d|--device= The device you wish to set PSP configuration for. (required) Usage: esxcli storage nmp psp generic pathconfig get [cmd options] Description: get Allow retrieving of per path PSP configuration parameters. Cmd options: -p|--path= The path you wish to get PSP configuration for. (required) Usage: esxcli storage nmp psp generic pathconfig set [cmd options] Description: set Allow setting of per path PSP configuration parameters. This command will set the configuration for the given path with whichever PSP it is currently configurated with. Cmd options: -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -c|--config= The configuration string you wish to set. (required) -p|--path= The path you wish to set PSP configuration for. (required) Usage: esxcli storage nmp psp list [cmd options] Description: list List the Path Selection Plugins (PSP) that are currently loaded into the NMP system and display information about those PSPs Cmd options: Usage: esxcli storage nmp psp roundrobin deviceconfig get [cmd options] Description: get Allow retrieving of Round Robin Path Selection Policy settings for a given device. Cmd options: -d|--device= The device you wish to get the Round Robin properties for. (required) Usage: esxcli storage nmp psp roundrobin deviceconfig set [cmd options] Description: set Allow setting of the Round Robin path options on a given device controlled by the Round Robin Selection Policy. Cmd options: -B|--bytes= When the --type option is set to 'bytes' this is the value that will be assigned to the byte limit value for this device. -g|--cfgfile Update the config file and runtime with the new setting. In case device is claimed by another PSP, ignore any errors when applying to runtime configuration. -d|--device= The device you wish to set the Round Robin settings for. This device must be controlled by the Round Robin Path Selection Policy(except when -g is specified) (required) -I|--iops= When the --type option is set to 'iops' this is the value that will be assigned to the I/O operation limit value for this device. -T|--latency-eval-time= When the --type option is set to 'latency' this value can control at what interval (in ms) the latency of paths should be evaluated. -S|--num-sampling-cycles= When the --type option is set to 'latency' this value will control how many sample IOs should be issued on each path to calculate latency of the path. -t|--type= Set the type of the Round Robin path switching that should be enabled for this device. Valid values for type are: bytes: Set the trigger for path switching based on the number of bytes sent down a path. default: Set the trigger for path switching back to default values. iops: Set the trigger for path switching based on the number of I/O operations on a path. latency: Set the trigger for path switching based on latency and pending IOs on path. -U|--useano= Set useano to true,to also include non-optimizedpaths in the set of active paths used to issue I/Os on this device,otherwise set it to false Usage: esxcli storage nmp satp generic deviceconfig get [cmd options] Description: get Allow retrieving of per device SATP configuration parameters. Cmd options: -d|--device= The device you wish to get SATP configuration for. (required) -e|--exclude-tpg-info Exclude TPG info from the device's SATP configuration. Usage: esxcli storage nmp satp generic deviceconfig set [cmd options] Description: set Allow setting of per device SATP configuration parameters. This command will set the configuration for the given device with whichever SATP it is currently configurated with. Cmd options: -c|--config= The configuration string you wish to set. (required) -d|--device= The device you wish to set SATP configuration for. Usage: esxcli storage nmp satp generic pathconfig get [cmd options] Description: get Allow retrieving of per path SATP configuration parameters. Cmd options: -p|--path= The path you wish to get SATP configuration for. (required) Usage: esxcli storage nmp satp generic pathconfig set [cmd options] Description: set Allow setting of per path SATP configuration parameters. This command will set the configuration for the given path with whichever SATP it is currently configurated with. Cmd options: -c|--config= The configuration string you wish to set. (required) -p|--path= The path you wish to set SATP configuration for. (required) Usage: esxcli storage nmp satp list [cmd options] Description: list List the Storage Array Type Plugins (SATP) that are currently loaded into the NMP system and display information about those SATPs Cmd options: Usage: esxcli storage nmp satp rule add [cmd options] Description: add Add a rule to the list of claim rules for the given SATP. Cmd options: -b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. -c|--claim-option= Set the claim option string when adding a SATP claim rule. -e|--description= Set the claim rule description when adding a SATP claim rule. -d|--device= Set the device when adding SATP claim rules. Device rules are mutually exclusive with vendor/model and driver rules. -D|--driver= Set the driver string when adding a SATP claim rule. Driver rules are mutually exclusive with vendor/model rules. -f|--force Force claim rules to ignore validity checks and install the rule anyway. -M|--model= Set the model string when adding SATP a claim rule. Vendor/Model rules are mutually exclusive with driver rules. -o|--option= Set the option string when adding a SATP claim rule. -P|--psp= Set the default PSP for the SATP claim rule. -O|--psp-option= Set the PSP options for the SATP claim rule. -s|--satp= The SATP for which a new rule will be added. (required) -R|--transport= Set the claim transport type string when adding a SATP claim rule. -t|--type= Set the claim type when adding a SATP claim rule. -V|--vendor= Set the vendor string when adding SATP claim rules. Vendor/Model rules are mutually exclusive with driver rules. Usage: esxcli storage nmp satp rule list [cmd options] Description: list List the claiming rules for Storage Array Type Plugins (SATP) Cmd options: -s|--satp= Filter the SATP rules to a specific SATP Usage: esxcli storage nmp satp rule remove [cmd options] Description: remove Delete a rule from the list of claim rules for the given SATP. Cmd options: -b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. -c|--claim-option= The claim option string for the SATP claim rule to delete. -e|--description= The desription string for the SATP claim rule to delete. -d|--device= The device for the SATP claim rule to delete -D|--driver= The driver string for the SATP claim rule to delete. -f|--force Ignore validity checks and remove the rule anyway. -M|--model= The model string for the SATP claim rule to delete. -o|--option= The option string for the SATP claim rule to delete. -P|--psp= The default PSP for the SATP claim rule to delete. -O|--psp-option= The PSP options for the SATP claim rule to delete. -s|--satp= The SATP for which a rule will be deleted. (required) -R|--transport= The transport type for the SATP claim rule to delete. -t|--type= Set the claim type when adding a SATP claim rule. -V|--vendor= The vendor string for the SATP claim rule to delete Usage: esxcli storage nmp satp set [cmd options] Description: set Set the default Path Selection Policy for a given Storage Array Type Plugin (SATP). Cmd options: -b|--boot This is a system default rule added at boot time. Do not modify esx.conf or add to host profile. -P|--default-psp= The default path selection policy to set for a given --satp (required) -s|--satp= The SATP name for the Storage Array Type Plugin on which this command will operate. (required) Usage: esxcli storage san fc events clear [cmd options] Description: clear Clear events for a given FC adapter on the system. Cmd options: -A|--adapter= Issue Clear Event command to specified Fibre Channel HBA. (required) Usage: esxcli storage san fc events get [cmd options] Description: get Get Events for FC Devices Cmd options: -A|--adapter= FC adapter name (vmhbaX), or none, to retrieve all. Usage: esxcli storage san fc list [cmd options] Description: list List attributes of all FC adapters on the system. Cmd options: -A|--adapter= FC adapter name (vmhbaX), or none, to list all. Usage: esxcli storage san fc reset [cmd options] Description: reset Perform LIP (Loop Initiation Primitive) Reset to a given FC adapter on the system. Cmd options: -A|--adapter= Issue LIP Reset command to given Fibre Channel HBA. (required) Usage: esxcli storage san fc stats get [cmd options] Description: get Get statistics for a given FC adapter, or all FC adapters on the system. Cmd options: -A|--adapter= FC adapter name (vmhbaX), or none, to list all. Usage: esxcli storage san fcoe list [cmd options] Description: list List attributes of all FCoE adapters on the system. Cmd options: -A|--adapter= FCoE adapter name (vmhbaX), or none, to list all. Usage: esxcli storage san fcoe reset [cmd options] Description: reset Perform LIP (Loop Initiation Primitive) Reset to a given FCoE adapter on the system. Cmd options: -A|--adapter= Issue LIP Reset command to given hba. (required) Usage: esxcli storage san fcoe stats get [cmd options] Description: get Get statistics for a given FCoE adapter, or all FCoE adapters on the system. Cmd options: -A|--adapter= FCoE adapter name (vmhbaX), or none, to list all. Usage: esxcli storage san iscsi list [cmd options] Description: list List attributes of all Software iSCSI adapters on the system. Cmd options: -A|--adapter= iSCSI adapter name (vmhbaX), or none, to list all. Usage: esxcli storage san iscsi stats get [cmd options] Description: get Get statistics for Software iSCSI adapter. Cmd options: -A|--adapter= iSCSI device name (vmhbaX), or none, to list all. Usage: esxcli storage san sas list [cmd options] Description: list List all SAS IO Device Management devices. Cmd options: -A|--adapter= SAS adapter name (vmhbaX), or none, to list all. Usage: esxcli storage san sas reset [cmd options] Description: reset Perform SAS Reset Cmd options: -A|--adapter= Issue Reset command to given hba. (required) Usage: esxcli storage san sas stats get [cmd options] Description: get List Stats for given device, or all devices. Cmd options: -A|--adapter= SAS adapter name (vmhbaX), or none, to list all. -F|--fail-on-error Do not ignore errors when fetching stats for all devices. Usage: esxcli storage vflash cache get [cmd options] Description: get Get individual vflash cache info. Cmd options: -c|--cache-name= The vflash cache name (required) -m|--module-name= The vflash module name Usage: esxcli storage vflash cache list [cmd options] Description: list List individual vflash caches. Cmd options: -m|--module-name= The vflash module name Usage: esxcli storage vflash cache stats get [cmd options] Description: get Get vflash cache statistics. Cmd options: -c|--cache-name= The vflash cache file name (required) -m|--module-name= The vflash module name Usage: esxcli storage vflash cache stats reset [cmd options] Description: reset Reset vflash cache statistics. Cmd options: -c|--cache-name= The vflash cache file name (required) -m|--module-name= The vflash module name Usage: esxcli storage vflash device list [cmd options] Description: list List vflash SSD devices. Cmd options: -e|--eligible= List the eligible / ineligible SSD devices for vflash. -u|--used= List the used / unused SSD devices for vflash. Usage: esxcli storage vflash module get [cmd options] Description: get Get vflash module info. Cmd options: -m|--module-name= The vflash module name Usage: esxcli storage vflash module list [cmd options] Description: list List vflash modules. Cmd options: Usage: esxcli storage vflash module stats get [cmd options] Description: get Get vflash module statistics Cmd options: -m|--module-name= The vflash module name Usage: esxcli storage vmfs extent list [cmd options] Description: list List the VMFS extents available on the host. Cmd options: -i|--ignore-errors Ignore errors encountered (if any) while retrieving information for each file system. Usage: esxcli storage vmfs host list [cmd options] Description: list List hosts accessing a particular VMFS Volume. Cmd options: -v|--liveness= The type of liveness check to perform on the VMFS volume. Valid values are [none, quick] (default is none). -l|--volume-label= The label of the target VMFS volume. -u|--volume-uuid= The uuid of the target VMFS volume. Examples: List hosts using volume 'datastore1' with default liveness check of 'none'. # esxcli storage vmfs host list -l datastore1 List hosts using volume 'datastore1' with liveness check of 'quick'. # esxcli storage vmfs host list -l datastore1 -v quick Usage: esxcli storage vmfs lockmode list [cmd options] Description: list List the on-disk critical section locking mode for VMFS volumes available on this host. Cmd options: -i|--ignore-errors Ignore errors encountered (if any) while retrieving information for each file system. -l|--volume-label=[ ... ] The label of the target VMFS volume. -u|--volume-uuid=[ ... ] The uuid of the target VMFS volume. Examples: Show lockmodes for all VMFS volumes. # esxcli storage vmfs lockmode list Show lockmode for VMFS volume with label 'datastore1'. # esxcli storage vmfs lockmode list -l datastore1 Show lockmodes for VMFS volume with label 'datastore1' and VMFS volume with label 'datastore2'. # esxcli storage vmfs lockmode list -l datastore1 -l datastore2 Show lockmodes for VMFS volume with label 'datastore1' and VMFS volume with uuid '50ac1b12-6b9eebe0-6765-80c16e6d3408'. # esxcli storage vmfs lockmode list -l datastore1 -u 50ac1b12-6b9eebe0-6765-80c16e6d3408 Usage: esxcli storage vmfs lockmode set [cmd options] Description: set Update the on-disk critical section locking mode for a particular VMFS Volume. Cmd options: -a|--ats Enable ATS-only locking. -s|--scsi Enable SCSI locking. -l|--volume-label= The label of the target VMFS volume. -u|--volume-uuid= The uuid of the target VMFS volume. Examples: Configure VMFS volume with label 'datastore1'for ATS-only locking. # esxcli storage vmfs lockmode set -a -l datastore1 Configure VMFS volume with uuid '50ac1b12-6b9eebe0-6765-80c16e6d3408' for SCSI locking. # esxcli storage vmfs lockmode set -s -u 50ac1b12-6b9eebe0-6765-80c16e6d3408 Usage: esxcli storage vmfs pbcache get [cmd options] Description: get Get VMFS Pointer Block cache statistics. Cmd options: Usage: esxcli storage vmfs pbcache reset [cmd options] Description: reset Reset the VMFS Pointer Block cache statistics. Cmd options: Usage: esxcli storage vmfs reclaim config get [cmd options] Description: get Get space reclamation configuration parameters Cmd options: -l|--volume-label= The label of the target VMFS volume. -u|--volume-uuid= The uuid of the target VMFS volume. Usage: esxcli storage vmfs reclaim config set [cmd options] Description: set Set space reclamation configuration parameters Cmd options: -b|--reclaim-bandwidth= Space reclamation fixed bandwidth (MB/s) -g|--reclaim-granularity= Minimum granularity of automatic space reclamation in bytes -m|--reclaim-method= Method of automatic space reclamation. Supported options are [priority, fixed]. -p|--reclaim-priority= Priority of automatic space reclamation. Supported options are [none, low, medium, high]. -l|--volume-label= The label of the target VMFS volume. -u|--volume-uuid= The uuid of the target VMFS volume. Usage: esxcli storage vmfs snapshot extent list [cmd options] Description: list List extents of unresolved snapshots/replicas of VMFS volume. Cmd options: -l|--volume-label= The VMFS volume label of the target snapshot to enumerate. -u|--volume-uuid= The VMFS volume uuid of the target snapshot to enumerate. Usage: esxcli storage vmfs snapshot list [cmd options] Description: list List unresolved snapshots/replicas of VMFS volume. Cmd options: -l|--volume-label= The VMFS volume label of the snapshot to list. -u|--volume-uuid= The VMFS volume uuid of the snapshot to list. Usage: esxcli storage vmfs snapshot mount [cmd options] Description: mount Mount a snapshot/replica of a VMFS volume. Cmd options: -n|--no-persist Mount the volume non-peristently; the volume will not be automounted after a restart. -l|--volume-label= The VMFS volume label of the snapshot to mount. -u|--volume-uuid= The VMFS volume uuid of the snapshot to mount. Usage: esxcli storage vmfs snapshot resignature [cmd options] Description: resignature Resignature a snapshot/replica of a VMFS volume. Cmd options: -l|--volume-label= The VMFS volume label of the snapshot to resignature. -u|--volume-uuid= The VMFS volume uuid of the snapshot to resignature. Usage: esxcli storage vmfs unmap [cmd options] Description: unmap Reclaim the space by unmapping free blocks from VMFS Volume Cmd options: -n|--reclaim-unit= Number of VMFS blocks that should be unmapped per iteration. -l|--volume-label= The label of the VMFS volume to unmap the free blocks. -u|--volume-uuid= The uuid of the VMFS volume to unmap the free blocks. Usage: esxcli storage vmfs upgrade [cmd options] Description: upgrade Upgrade a VMFS3 volume to VMFS5. Cmd options: -l|--volume-label= The label of the VMFS volume to upgrade. -u|--volume-uuid= The uuid of the VMFS volume to upgrade. Usage: esxcli storage vvol daemon unbindall [cmd options] Description: unbindall Unbind all Virtual Volumes from all VASA Providers known to this host. Cmd options: Usage: esxcli storage vvol protocolendpoint list [cmd options] Description: list List the VVol Protocol EndPoints currently known to this host. Cmd options: -p|--pe= Show Protocol Endpoint (PE) information associated with the given VASA PE ID. -t|--pe-type= PE type to display. Acceptable values are: [SCSI, NFS, NFS4x]. Usage: esxcli storage vvol storagecontainer abandonedvvol scan [cmd options] Description: scan Scans the specified storage container for abandoned VVols. Cmd options: -p|--path= Path to VVol Storage Container to scan. (required) Usage: esxcli storage vvol storagecontainer list [cmd options] Description: list List VVol storage containers known to this host. Cmd options: Usage: esxcli storage vvol vasacontext get [cmd options] Description: get Get the VVol VASA Context (vCenter UUID). Cmd options: Usage: esxcli storage vvol vasaprovider list [cmd options] Description: list List the VASA Providers registered on this host. Cmd options: Usage: esxcli system account add [cmd options] Description: add Create a new local user account. Cmd options: -d|--description= User description, e.g. full name. -i|--id= User ID, e.g. "administrator". (required) -p|--password= User password. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -c|--password-confirmation= Password confirmation. Required if password is specified. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli system account list [cmd options] Description: list List local user accounts. Cmd options: Usage: esxcli system account remove [cmd options] Description: remove Remove an existing local user account. Cmd options: -i|--id= ID of user to be removed. (required) Usage: esxcli system account set [cmd options] Description: set Modify an existing local user account. Cmd options: -d|--description= User description, e.g. full name. -i|--id= User ID, e.g. "administrator". (required) -p|--password= User password. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -c|--password-confirmation= Password confirmation. Required if password is specified. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli system boot device get [cmd options] Description: get Get the systems boot device. Cmd options: Usage: esxcli system clock get [cmd options] Description: get Display the current system clock parameters. Cmd options: Usage: esxcli system clock set [cmd options] Description: set Set system clock parameters. Cmd options: -n|--max-neg-phase= max negative phase correction -m|--max-phase-corrections= max number of phase corrections -p|--max-pos-phase= max positive phase correction Usage: esxcli system coredump file add [cmd options] Description: add Create a VMkernel Dump VMFS file for this system. Cmd options: -a|--auto Automatically create a file if none found and autoCreateDumpFile kernel option is set. -d|--datastore= Manually specify the datastore the Dump File is created in. If not provided, a datastore of sufficient size will be automatically chosen. -e|--enable= Enable diagnostic file after creation. -f|--file= Manually specify the file name of the created Dump File. If not provided, a unique name will be chosen. -s|--size= Manually set the size in MB of the created Dump File. If not provided, a default size for the current machine will be calculated. Usage: esxcli system coredump file get [cmd options] Description: get Get the dump file path. This command will print the path to the active and/or configured VMFS Dump File. Cmd options: Usage: esxcli system coredump file list [cmd options] Description: list List the active and configured VMFS Diagnostic Files. Cmd options: Usage: esxcli system coredump file remove [cmd options] Description: remove Remove a VMkernel Dump VMFS file from this system. Cmd options: -f|--file= Specify the file name of the Dump File to be removed. If not given, the configured dump file will be removed. -F|--force Deactivate and unconfigure the dump file being removed. This option is required if the file is active. Usage: esxcli system coredump file set [cmd options] Description: set Set the active and configured VMkernel Dump VMFS file for this system. Cmd options: -e|--enable= Enable or disable the VMkernel dump file. This option cannot be specified when unconfiguring the dump file. -p|--path= The path of the VMFS Dump File to use. This must be a pre-allocated file. -s|--smart This flag can be used only with --enable=true. It will cause the file to be selected using the smart selection algorithm. -u|--unconfigure Unconfigure the current VMFS Dump file. Usage: esxcli system coredump network check [cmd options] Description: check Check the status of the configured network dump server Cmd options: Usage: esxcli system coredump network get [cmd options] Description: get Get the currently configured parameters for network coredump, if enabled. Cmd options: Usage: esxcli system coredump network set [cmd options] Description: set Set the parameters used for network core dump Cmd options: -e|--enable= Enable network dump. This option cannot be specified when setting the dump parameters below. -v|--interface-name= An active interface to be used for the network core dump. Required option when setting dump parameters. -j|--server-ip= IP address of the core dump server (IPv4 or IPv6). Required when setting dump parameters. -i|--server-ipv4= IPv4 address of the core dump server.(deprecated, use -j|--server-ip instead) -o|--server-port= Port on which the core dump server is listening. (Optional) Usage: esxcli system coredump partition get [cmd options] Description: get Get one of the dump partition configured values. This command will print either the active dump partition or the configured dump partition depending on the flags passed. Cmd options: Usage: esxcli system coredump partition list [cmd options] Description: list List all of the partitions on the system that have a partition type matching the VMware Core partition type. Also indicate which partition, if any, is being used as the system's dump partition and which is configured to be used at next boot. Cmd options: Usage: esxcli system coredump partition set [cmd options] Description: set Set the specific VMkernel dump partition for this system. This will configure the dump partition for the next boot. This command will change the active dump partition to the partition specified. Cmd options: -e|--enable= Enable or disable the VMkernel dump partition. This option cannot be specified when setting or unconfiguring the dump partition. -p|--partition= The name of the partition to use. This should be a device name with a partition number at the end. Example: naa.xxxxx:1 -s|--smart This flag can be used only with --enable=true. It will cause the best available partition to be selected using the smart selection algorithm. -u|--unconfigure Set the dump partition into an unconfigured state. This will remove the current configured dump partition for the next boot. This will result in the smart activate algorithm being used at the next boot. Usage: esxcli system hostname get [cmd options] Description: get Get the host, domain or fully qualified name of the ESX host. Cmd options: Usage: esxcli system hostname set [cmd options] Description: set This command allows the user to set the hostname, domain name or fully qualified domain name of the ESX host. Cmd options: -d|--domain= The domain name to set for the ESX host. This option is mutually exclusive with the --fqdn option. -f|--fqdn= Set the fully qualified domain name of the ESX host. -H|--host= The host name to set for the ESX host. This name should not contain the DNS domain name of the host and can only contain letters, numbers and '-'. NOTE this is not the fully qualified name, that can be set with the --fqdn option. This option is mutually exclusive with the --fqdn option. Usage: esxcli system maintenanceMode get [cmd options] Description: get Get the maintenance mode state of the system. Cmd options: Usage: esxcli system maintenanceMode set [cmd options] Description: set Enable or disable the maintenance mode of the system. Cmd options: -e|--enable= enable maintenance mode (required) -t|--timeout= Time to perform operation in seconds (default 0 seconds) -m|--vsanmode= Action the VSAN service must take before the host can enter maintenance mode (default ensureObjectAccessibility). Allowed values are: ensureObjectAccessibility: Evacuate data from the disk to ensure object accessibility in the vSAN cluster, before entering maintenance mode. evacuateAllData: Evacuate all data from the disk before entering maintenance mode. noAction: Do not move vSAN data out of the disk before entering maintenance mode. Usage: esxcli system module get [cmd options] Description: get Show information for a VMkernel module. Cmd options: -m|--module= The name of the VMkernel module. (required) Usage: esxcli system module list [cmd options] Description: list List the VMkernel modules that the system knows about. Cmd options: -e|--enabled= List the enabled / disabled VMkernel modules and device drivers. -l|--loaded= List the loaded / not loaded VMkernel modules and device drivers. Usage: esxcli system module load [cmd options] Description: load Load a VMkernel module with the given name if it is enabled. If the module is disabled then the use of --force is required to load the module. Cmd options: -f|--force Ignore the enabled/disabled state of this module and force it to load. -m|--module= The name of the VMkernel module to load. (required) Usage: esxcli system module parameters copy [cmd options] Description: copy Copy the load time parameters from one VMkernel module to another. Cmd options: -f|--force Skip VMkernel module validity checks for the source VMkernel module. -p|--parameter-keys=[ ... ] Parameter key that should get copied. (required) -s|--source= The name of the source VMkernel module. (required) -t|--target= The name of the target VMkernel module. (required) Usage: esxcli system module parameters list [cmd options] Description: list List the parameters, a descriptions of each parameter supported for a given module name and the user defined value for each parameter. Cmd options: -m|--module= The name of the VMkernel module to get the option string for. (required) Usage: esxcli system module parameters set [cmd options] Description: set Set the load time parameters for the given VMkernel module. Cmd options: -a|--append Append the specified parameter string to the currently configured parameter string for the VMkernel module. If --append is not specified, the parameter string currently configured for the VMkernel module will be replaced by the specified parameter string. -f|--force Skip VMkernel module validity checks and set parameters for a module (or alias) with the given name. -m|--module= The name of the VMkernel module to set parameters for. (required) -p|--parameter-string= The string containing the parameters for this module. (required) Usage: esxcli system module set [cmd options] Description: set Allow enabling and disabling of a VMkernel module. Cmd options: -e|--enabled= Set to true to enable the module, set to false to disable the module. (required) -f|--force Skip VMkernel module validity checks and set options for a module (or alias) with the given name. -m|--module= The name of the VMkernel module to set options for. (required) Usage: esxcli system permission list [cmd options] Description: list List permissions defined on the host. Cmd options: Usage: esxcli system permission set [cmd options] Description: set Set permission for a user or group. Cmd options: -g|--group Specifies that the supplied ID refers to a group. ESXi local groups are not supported. -i|--id= ID of user or group. Domain users or groups should be specified as "DOMAIN\user_name" or "DOMAIN\group_name". (required) -r|--role= Name of role that specifies user access rights. Admin: Full access rights NoAccess: Used for restricting granted access. E.g. to deny access for some user whose group already has access. ReadOnly: See details of objects, but not make changes (required) Usage: esxcli system permission unset [cmd options] Description: unset Remove permission for a user or group. Cmd options: -g|--group Specifies that the supplied ID refers to a group. -i|--id= ID of user or group. (required) Usage: esxcli system process list [cmd options] Description: list List the VMkernel UserWorld processes currently on the host. Cmd options: Usage: esxcli system process stats load get [cmd options] Description: get System load average over the last 1, 5 and 15 minutes. Cmd options: Usage: esxcli system process stats running get [cmd options] Description: get Number of currently running processes. Cmd options: Usage: esxcli system secpolicy domain list [cmd options] Description: list List the enforcement level for each domain. Cmd options: Usage: esxcli system secpolicy domain set [cmd options] Description: set Set the enforcement level for a domain in the system. Any option specified here is not persistent and will not survive a reboot of the system. Cmd options: -a|--all-domains All domains. -l|--level= The enforcement level. (required) -n|--name= The domain name. Usage: esxcli system security certificatestore add [cmd options] Description: add Add a new CA certificate to the CA certificate store. Cmd options: -f|--filename= Path to certificate file in PEM format (required) Usage: esxcli system security certificatestore list [cmd options] Description: list List all certificates in the CA certificate store. Cmd options: Usage: esxcli system security certificatestore remove [cmd options] Description: remove Remove a certificate from the CA certificate store. Cmd options: -i|--issuer= Remove certificate by the specified issuer (required) -s|--serial= Remove certificate of specified serial number (required) Usage: esxcli system security fips140 rhttpproxy get [cmd options] Description: get Get FIPS140 mode of rhttpproxy. Cmd options: Usage: esxcli system security fips140 rhttpproxy set [cmd options] Description: set Set FIPS140 mode of rhttpproxy. Cmd options: -e|--enable= Enable/disable FIPS140 mode for rhttpproxy. (required) Usage: esxcli system security fips140 ssh get [cmd options] Description: get Get FIPS140 mode of ssh. Cmd options: Usage: esxcli system security fips140 ssh set [cmd options] Description: set Set FIPS140 mode of ssh. Cmd options: -e|--enable= Enable/disable FIPS140 mode for ssh. (required) Usage: esxcli system settings advanced list [cmd options] Description: list List the advanced options available from the VMkernel. Cmd options: -d|--delta Only display options whose values differ from their default. -o|--option= Only get the information for a single VMkernel advanced option. -t|--tree= Limit the list of advanced option to a specific sub tree. Usage: esxcli system settings advanced set [cmd options] Description: set Set the value of an advanced option. Cmd options: -d|--default Reset the option to its default value. -i|--int-value= If the option is an integer value use this option. -o|--option= The name of the option to set the value of. Example: "/Misc/HostName" (required) -s|--string-value= If the option is a string use this option. Usage: esxcli system settings kernel list [cmd options] Description: list List VMkernel kernel settings. Cmd options: -d|--delta Only display options whose values differ from their default. -o|--option= The name of the VMkernel kernel setting to get. Usage: esxcli system settings kernel set [cmd options] Description: set Set a VMKernel setting. Cmd options: -s|--setting= The name of the VMKernel setting to set. (required) -v|--value= The value to set the setting to. (required) Usage: esxcli system settings keyboard layout get [cmd options] Description: get Get the keyboard layout Cmd options: Usage: esxcli system settings keyboard layout list [cmd options] Description: list List the keyboard layout Cmd options: Usage: esxcli system settings keyboard layout set [cmd options] Description: set Set the keyboard layout Cmd options: -l|--layout= The name of the layout to set --no-persist Only apply this layout for the current boot Usage: esxcli system shutdown poweroff [cmd options] Description: poweroff Power off the system. The host must be in maintenance mode. Cmd options: -d|--delay= Delay interval in seconds -r|--reason= Reason for performing the operation (required) Usage: esxcli system shutdown reboot [cmd options] Description: reboot Reboot the system. The host must be in maintenance mode. Cmd options: -d|--delay= Delay interval in seconds -r|--reason= Reason for performing the operation (required) Usage: esxcli system slp search [cmd options] Description: search Perform SLP search for neighboring services Cmd options: -n|--node= Optional, host FQDN or IP address to connect to. Use -P to control protocol used. -p|--port= Optional, override the default port value 427. -P|--protocol= Optional, override unicast protocol: [tcp, udp], default tcp, requires -n. -s|--service= Optional, the service name to search for. Defaults to 'service-agent'. Usage: esxcli system slp stats get [cmd options] Description: get Report operational state of Service Location Protocol Daemon Cmd options: Usage: esxcli system snmp get [cmd options] Description: get Get SNMP Agent configuration Cmd options: Usage: esxcli system snmp hash [cmd options] Description: hash Generate localized hash values based on this agents snmp engine id. Cmd options: -A|--auth-hash= Secret to use when generating authentication hash. This should be a filename unless --raw-secret is specified. The authentication hash is used in the --users option of 'esxcli system snmp set' (required secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -X|--priv-hash= Secret to use when generating privacy hash. This should be a filename unless --raw-secret is specified. The privacy hash is used in the --users option of 'esxcli system snmp set'. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -r|--raw-secret Make --auth-hash and --priv-hash options read raw secret from command line instead of file. Usage: esxcli system snmp set [cmd options] Description: set This command allows the user to set up ESX SNMP agent. Cmd options: -a|--authentication= Set default authentication protocol. Values: none, MD5, SHA1 -c|--communities= Set up to ten communities each no more than 64 characters. Format is: community1[,community2,...] (this overwrites previous settings) -e|--enable= Start or stop SNMP service. Values: [yes|no, true|false, 0|1] -E|--engineid= Set SNMPv3 engine id. Must be at least 10 to 32 hexadecimal characters. 0x or 0X is stripped if found as well as colons (:) -y|--hwsrc= Where to source hardware events from IPMI sensors or CIM Indications. One of: indications|sensors -s|--largestorage= Support large storage for hrStorageAllocationUnits * hrStorageSize. Values: [yes|no, true|false, 0|1]. Control how the agent reports hrStorageAllocationUnits, hrStorageSize and hrStorageUsed in hrStorageTable. Setting this directive to 1 to support large storage with small allocation units, the agent re-calculates these values so they all fit Integer32 and hrStorageAllocationUnits * hrStorageSize gives real size of the storage ( Note: hrStorageAllocationUnits will not be real allocation units if real hrStorageSize won't fit into Integer32 ). Setting this directive to 0 turns off this calculation and the agent reports real hrStorageAllocationUnits, but it might report wrong hrStorageSize for large storage because the value won't fit into Integer32. -l|--loglevel= System Agent syslog logging level: debug|info|warning|error -n|--notraps= Comma separated list of trap oids for traps not to be sent by agent. Use value 'reset' to clear setting -p|--port= Set UDP port to poll snmp agent on. The default is udp/161. May not use ports 32768 to 40959 -x|--privacy= Set default privacy protocol. Values: none, AES128 -R|--remote-users= Set up to five inform user ids. Format is: user/auth- proto/-|auth-hash/priv-proto/-|priv-hash/engine- id[,...] Where user is 32 chars max. auth-proto is none|MD5|SHA1, priv-proto is none|AES. '-' indicates no hash. engine-id is hex string '0x0-9a-f' up to 32 chars max. -r|--reset Return agent configuration to factory defaults -C|--syscontact= System contact string as presented in sysContact.0. Up to 255 characters -L|--syslocation= System location string as presented in sysLocation.0. Up to 255 characters. -t|--targets= Set up to three targets to send SNMPv1 traps to. Format is: ip-or-hostname[@port]/community[,...] The default port is udp/162. (this overwrites previous settings) -u|--users= Set up to five local users. Format is: user/-|auth- hash/-|priv-hash/model[,...] Where user is 32 chars max. '-' indicates no hash. Model is one of (none|auth|priv). -i|--v3targets= Set up to three SNMPv3 notification targets. Format is: ip-or-hostname[@port]/remote-user/security- level/trap|inform[,...]. Usage: esxcli system snmp test [cmd options] Description: test Verify ESX SNMP notifications can be delivered to target destinations. Cmd options: -A|--auth-hash= Optionally test authentication secret generates matching hash for user -X|--priv-hash= Optionally test privacy secret generates matching hash for user -r|--raw-secret Make -A and -X flags read raw secret from command line instead of file. -u|--user= Validate a given SNMPv3 user name exists Usage: esxcli system stats installtime get [cmd options] Description: get Display the date and time when this system was first installed. Value will not change on subsequent updates. Cmd options: Usage: esxcli system stats uptime get [cmd options] Description: get Display the number of microseconds the system has been running. Cmd options: Usage: esxcli system syslog config get [cmd options] Description: get Show the current global configuration values Cmd options: Usage: esxcli system syslog config logger list [cmd options] Description: list Show the currently configured sub-loggers Cmd options: Usage: esxcli system syslog config logger set [cmd options] Description: set Set configuration options for a specific sub-logger Cmd options: --id= The id of the logger to configure (required) --reset= Reset values to default --rotate= Number of rotated logs to keep for a specific logger (requires --id) --size= Set size of logs before rotation for a specific logger, in KiB (requires --id) Usage: esxcli system syslog config set [cmd options] Description: set Set global log configuration options Cmd options: --check-ssl-certs= Verify remote SSL certificates against the local CA Store --default-rotate= Default number of rotated local logs to keep --default-size= Default size of local logs before rotation, in KiB --default-timeout= Default network retry timeout in seconds if a remote server fails to respond --drop-log-rotate= Number of rotated dropped log files to keep --drop-log-size= Size of dropped log file before rotation, in KiB --logdir= The directory to output local logs to --logdir-unique= Place logs in a unique subdirectory of logdir, based on hostname --loghost= The remote host(s) to send logs to --queue-drop-mark= Message queue capacity after which messages are dropped --reset= Reset values to default Usage: esxcli system syslog mark [cmd options] Description: mark Mark all logs with the specified string Cmd options: -s|--message= The message to place in the logs (required) Usage: esxcli system syslog reload [cmd options] Description: reload Reload the log daemon to apply any new configuration options Cmd options: Usage: esxcli system time get [cmd options] Description: get Disply the current system time. Cmd options: Usage: esxcli system time set [cmd options] Description: set Set the system clock time. Any missing parameters will default to the current time Cmd options: -d|--day= Day -H|--hour= Hour -m|--min= Minute -M|--month= Month -s|--sec= Second -y|--year= Year Usage: esxcli system uuid get [cmd options] Description: get Get the system UUID. Cmd options: Usage: esxcli system version get [cmd options] Description: get Display the product name, version and build information. Cmd options: Usage: esxcli system visorfs get [cmd options] Description: get Obtain status information on the memory filesystem as a whole. Cmd options: Usage: esxcli system visorfs ramdisk add [cmd options] Description: add Add a new Visorfs RAM disk to the ESXi Host and mount it. Cmd options: -M|--max-size= Maximum size (max reservation in MiB) (required) -m|--min-size= Minimum size (min reservation in MiB) (required) -n|--name= Name for the ramdisk (required) -p|--permissions= Permissions for the root of the ramdisk (mode) (required) -t|--target= Mountpoint for the ramdisk (absolute path) (required) Usage: esxcli system visorfs ramdisk list [cmd options] Description: list List the RAM disks used by the host. Cmd options: Usage: esxcli system visorfs ramdisk remove [cmd options] Description: remove Remove a Visorfs RAM disk from the ESXi Host. Cmd options: -t|--target= Mountpoint for the ramdisk (absolute path) (required) Usage: esxcli system visorfs tardisk list [cmd options] Description: list List the tardisks used by the host. Cmd options: Usage: esxcli system wbem get [cmd options] Description: get Display WBEM Agent configuration. Cmd options: Usage: esxcli system wbem provider list [cmd options] Description: list Display WBEM provider configuration. Cmd options: Usage: esxcli system wbem provider set [cmd options] Description: set This command is used to manage ESX CIMOM providers. Cmd options: -e|--enable= Enable or disable the provider immediately. Values: [yes|no, true|false, 0|1] -n|--name= Specify provider identifier. (required) Usage: esxcli system wbem set [cmd options] Description: set This command allows the user to set up ESX CIMOM agent. Cmd options: -a|--auth= Specify how to authorize incoming requests. Values are password, certificate, password is by default. Changes take effect when --enable is specified. -e|--enable= Start or stop the WBEM services (sfcbd, openwsmand). Values: [yes|no, true|false, 0|1] -l|--loglevel= Syslog logging level: debug|info|warning|error -p|--port= Set the TCP port on which the CIMOM listens for requests. The default is 5989 -P|--protocols=[ ... ] Enable or disable SSL protocols. To reset to factory defaults specify 'reset' which allows only TLS 1.2 unless system defaults have been changed.Values can be one of: [tlsv1, tlsv1.1, reset] and setting protocols here overrules system defaults. Multiple protocols can be provided using format -P protocol1 -P protocol2. Command takes effect immediately. -r|--reset Restore the WBEM configuration to factory defaults -W|--ws-man= Enable or disable the WS-Management service (openwsmand). Enabled by default. Changes take effect when --enable is specified. Usage: esxcli system welcomemsg get [cmd options] Description: get Get the Welcome Message for DCUI. Cmd options: Usage: esxcli system welcomemsg set [cmd options] Description: set Set the Welcome Message for DCUI. Cmd options: -m|--message= Welcome Message String. (required) Usage: esxcli vm process kill [cmd options] Description: kill Used to forcibly kill Virtual Machines that are stuck and not responding to normal stop operations. Cmd options: -t|--type= The type of kill operation to attempt. There are three types of VM kills that can be attempted: [soft, hard, force]. Users should always attempt 'soft' kills first, which will give the VMX process a chance to shutdown cleanly (like kill or kill -SIGTERM). If that does not work move to 'hard' kills which will shutdown the process immediately (like kill -9 or kill -SIGKILL). 'force' should be used as a last resort attempt to kill the VM. If all three fail then a reboot is required. (required) -w|--world-id= The World ID of the Virtual Machine to kill. This can be obtained from the 'vm process list' command (required) Usage: esxcli vm process list [cmd options] Description: list List the virtual machines on this system. This command currently will only list running VMs on the system. Cmd options: Usage: esxcli vsan cluster get [cmd options] Description: get Get information about the vSAN cluster that this host is joined to. Cmd options: Usage: esxcli vsan cluster join [cmd options] Description: join Join the host to a vSAN cluster. Cmd options: -u|--cluster-uuid= vSAN cluster UUID of the cluster instance which the host will join, or create, in the form "nnnnnnnn-nnnn- nnnn-nnnn-nnnnnnnnnnnn" where n are hexadecimal digits. (required) -w|--wait Wait until the host joins the cluster. -t|--witness-node Join the host as a witness node to the cluster. It is required to specify "--witness-preferred-fault-domain" when this parameter is set. -p|--witness-preferred-fault-domain= Specify the fault domain that witness node prefers to respond in case of network partition. It should be either of the two fault domains for existing data sites. This parameter is useful only when "--witness- node" is set. Usage: esxcli vsan cluster leave [cmd options] Description: leave Leave the vSAN cluster the host is currently joined to. Cmd options: Usage: esxcli vsan cluster new [cmd options] Description: new Create a vSAN cluster with current host joined. A random sub-cluster UUID will be generated. Cmd options: Usage: esxcli vsan cluster preferredfaultdomain get [cmd options] Description: get Get the preferred fault domain for a stretched cluster. Cmd options: Usage: esxcli vsan cluster preferredfaultdomain set [cmd options] Description: set Set the preferred fault domain for a stretched cluster. Cmd options: -n|--preferred-fault-domain-name= Preferred Fault domain name to use for a stretched cluster. (required) Usage: esxcli vsan cluster restore [cmd options] Description: restore Restore the persisted vSAN cluster configuration. Cmd options: --boot Set when restoring the cluster during boot (internal only!) Usage: esxcli vsan cluster unicastagent add [cmd options] Description: add Add a unicast agent to the vSAN cluster configuration. Cmd options: -a|--addr= IP address of the unicast agent. (required) -i|--bound-interface-name= Name of the bound outgoing network interface. -p|--port= Port the unicast agent is listening on. -U|--supports-unicast= Whether the software version supports unicast (required for -t node) -t|--type= Type of the unicast agent (One of [witness, node], default is witness). -u|--uuid= UUID of the unicast agent (required for -t node). Usage: esxcli vsan cluster unicastagent clear [cmd options] Description: clear Removes all unicast agents in the vSAN cluster configuration. Cmd options: Usage: esxcli vsan cluster unicastagent list [cmd options] Description: list List all unicast agents in the vSAN cluster configuration. Cmd options: Usage: esxcli vsan cluster unicastagent remove [cmd options] Description: remove Remove a unicast agent from the vSAN cluster configuration. Cmd options: -a|--addr= IP address of the unicast agent. (required) -p|--port= Port the unicast agent is listening on. -u|--uuid= UUID of the unicast agent. Usage: esxcli vsan datastore add [cmd options] Description: add Add a new datastore to the vSAN cluster. This operation is only allowed if vSAN is enabled on the host. In general, add should be done at cluster level. Across a vSAN cluster vSAN datastores should be in sync. Cmd options: -n|--name= User friendly name of the datastore to be added. It must be unique among all existing vSAN datastores. (required) -u|--uuid= UUID of the new datastore to be added, in the form "nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn" where n are hexadecimal digits. If not specified, a new UUID will be generated. Usage: esxcli vsan datastore clear [cmd options] Description: clear Remove all but the default datastore from the vSAN cluster. This operation is only allowed if vSAN is enabled on the host. In general, add should be done at cluster level. Across a vSAN cluster vSAN datastores should be in sync. Cmd options: Usage: esxcli vsan datastore list [cmd options] Description: list List datastores in the vSAN cluster. Cmd options: Usage: esxcli vsan datastore name get [cmd options] Description: get Get vSAN datastore name. Cmd options: -u|--uuid= UUID of the datastore, in the form "nnnnnnnn-nnnn- nnnn-nnnn-nnnnnnnnnnnn" where n are hexadecimal digits. If not specified, the default datastore is assumed. Usage: esxcli vsan datastore name set [cmd options] Description: set Configure vSAN datastore name. In general, rename should always be done at cluster level. Across a vSAN cluster vSAN datastore name should be in sync. Cmd options: -n|--newname= New name of the datastore. (required) -u|--uuid= UUID of the datastore, in the form "nnnnnnnn-nnnn- nnnn-nnnn-nnnnnnnnnnnn" where n are hexadecimal digits. If not specified, the default datastore is assumed. Usage: esxcli vsan datastore remove [cmd options] Description: remove Remove a datastore from the vSAN cluster. This operation is only allowed if vSAN is enabled on the host. In general, remove should be done at cluster level. Across a vSAN cluster vSAN datastores should be in sync. Cmd options: -u|--uuid= UUID of the datastore to be removed, in the form "nnnnnnnn-nnnn-nnnn-nnnn-nnnnnnnnnnnn" where n are hexadecimal digits. (required) Usage: esxcli vsan debug controller list [cmd options] Description: list Print detailed information about all vSAN disk controllers (output may change between releases) Cmd options: -v|--used-by-vsan= Filter the controllers used by vSAN or not Usage: esxcli vsan debug disk list [cmd options] Description: list Print detailed information about all vSAN disks on this host (output may change between releases) Cmd options: Usage: esxcli vsan debug disk summary get [cmd options] Description: get Print summary information about all vSAN disks on this host (output may change between releases) Cmd options: Usage: esxcli vsan debug evacuation precheck [cmd options] Description: precheck Examine what it takes if an entity (disk group or host) is evacuated in various modes (Action). The result is accurate when all hosts in the vSAN cluster are of the same version and have the same disk format. Cmd options: -a|--action= Action filter. Only show a specific type of actions from ensureAccess: Ensure Accessibility evacAllData: Evacuate All Data noAction: No Action . -e|--entity= The name or uuid of the disk or disk group or host node. For name, it accepts 'localhost' or a hostname in vSAN cluster, or a device name in a diskgroup such as 'mpx.vmhba1:C0:T1:L0'. (required) -v|--verbose Show full list of inaccessible and non-compliant (redundancy reduced) objects. Usage: esxcli vsan debug limit get [cmd options] Description: get Print summary information about vSAN limits (output may change between releases) Cmd options: Usage: esxcli vsan debug mob start [cmd options] Description: start Start vSAN Managed Object Browser Service. Cmd options: Usage: esxcli vsan debug mob stop [cmd options] Description: stop Stop vSAN Managed Object Browser Service. Cmd options: Usage: esxcli vsan debug object health summary get [cmd options] Description: get Print health summary information about all vSAN objects in the cluster (output may change between releases) Cmd options: Usage: esxcli vsan debug object list [cmd options] Description: list Print detailed information about vSAN objects in the cluster(output may change between releases) Cmd options: -g|--guuid= Show only objects with the specified group UUID. -u|--uuid= Show only objects with the specified UUID. Usage: esxcli vsan debug resync list [cmd options] Description: list Print detailed information about vSAN resyncing objects (output may change between releases) Cmd options: Usage: esxcli vsan debug resync summary get [cmd options] Description: get Print summary information about vSAN resyncing objects (output may change between releases) Cmd options: Usage: esxcli vsan debug vmdk list [cmd options] Description: list Print summary information about VMDKs on local vSAN datastore (output may change between releases) Cmd options: Usage: esxcli vsan faultdomain get [cmd options] Description: get Get the fault domain name for this host. Cmd options: Usage: esxcli vsan faultdomain reset [cmd options] Description: reset Reset Host fault domain to default value Cmd options: Usage: esxcli vsan faultdomain set [cmd options] Description: set Set the fault domain for this host Cmd options: -n|--fdname= Fault domain name to use for this host. Empty string means reset to default. (required) Usage: esxcli vsan health cluster get [cmd options] Description: get Get a specific health check status and its details Cmd options: -t|--test= Test full name prefix or short test id of the health check. The test full names are shown in health UI and can be listed with 'esxcli vsan health cluster list' (Note: use the TEST NAME, not GROUP NAME). If the prefix matchs more than one test, all the matched tests will be displayed. The short test ids can be seen with 'esxcli vsan health cluster list -w'. (required) Usage: esxcli vsan health cluster list [cmd options] Description: list List a cluster wide health check across all types of health checks Cmd options: -w|--with-test-id Specify output list include testId (testId can be used to get the details of a test) Usage: esxcli vsan iscsi defaultconfig get [cmd options] Description: get Get default values for vSAN iSCSI Target configurations. Cmd options: Usage: esxcli vsan iscsi defaultconfig set [cmd options] Description: set Set default values for vSAN iSCSI Target configurations. Cmd options: -m|--authtype= Provide default authentication type. Supported authentication types are [No-Authentication, CHAP, CHAP-Mutual]. -n|--interface= The name of the default network interface through which the target is accessible. -S|--mutual-secret= The secret an initiator uses to authenticate a target. Required if authentication type is CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -U|--mutual-userid= The user name an initiator uses to authenticate a target. Required if authentication type is CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -p|--port= The default network port number through which the target will be accessible. -s|--secret= The secret a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -u|--userid= The user name a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli vsan iscsi homeobject create [cmd options] Description: create Create vSAN iSCSI target home object. Once created, the home object will be available for all the hosts in vSAN cluster. vSAN iSCSI target home object should be created only once for the vSAN cluster. Cmd options: -m|--authtype= Provide default authentication type. Supported authentication types are [No-Authentication, CHAP, CHAP-Mutual]. -n|--interface= The name of the default network interface. (required) -S|--mutual-secret= The secret an initiator uses to authenticate a target. Required if authentication type is CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -U|--mutual-userid= The user name an initiator uses to authenticate a target. Required if authentication type is CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -P|--policy= vSAN storage policy for vSAN iSCSI target home object, in the form of a string. Please check 'esxcli vsan policy setdefault --help' for details on policy options. -p|--port= The port number of the default network port. If not provided, default network port: 3260. -s|--secret= The secret a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -u|--userid= The user name a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli vsan iscsi homeobject delete [cmd options] Description: delete Delete vSAN iSCSI target home object. This operation will destroy all vSAN iSCSI target configuration Cmd options: Usage: esxcli vsan iscsi homeobject get [cmd options] Description: get Get status for the vSAN iSCSI target home object Cmd options: Usage: esxcli vsan iscsi homeobject set [cmd options] Description: set Update configuration for the vSAN iSCSI target home object Cmd options: -P|--policy= New vSAN storage policy for vSAN iSCSI target home object, in the form of a string. Please check 'esxcli vsan policy setdefault --help' for details on policy options. Usage: esxcli vsan iscsi initiatorgroup add [cmd options] Description: add Add a new initiator group. An initiator group is a collection of iSCSI initiator hosts. A LUN can be exposed to multiple initiators via initiator group. Cmd options: -n|--name= The name of the new initiator group. Group name must be unique within the vSAN cluster. (required) Usage: esxcli vsan iscsi initiatorgroup get [cmd options] Description: get Get initiator group properties. Cmd options: -n|--name= Initiator group name. (required) Usage: esxcli vsan iscsi initiatorgroup initiator add [cmd options] Description: add Add new initiator iSCSI names to the vSAN iSCSI initiator group. Cmd options: -g|--group= The name of the initiator group. (required) -n|--names=[ ... ] Specify initiator iSCSI names to be added to the initiator group. Multiple initiator iSCSI names can be provided using format -n initiator1 -n initiator2. (required) Usage: esxcli vsan iscsi initiatorgroup initiator remove [cmd options] Description: remove Remove initiator iSCSI names from the vSAN iSCSI initiator group. Cmd options: -g|--group= The name of the initiator group. (required) -n|--names=[ ... ] Specify initiator iSCSI names to be removed from the initiator group. Multiple initiator iSCSI names can be provided using format -n initiator1 -n initiator2.the initiator group. (required) Usage: esxcli vsan iscsi initiatorgroup list [cmd options] Description: list Get the list of initiator groups. Cmd options: Usage: esxcli vsan iscsi initiatorgroup remove [cmd options] Description: remove Remove an initiator group. Group should be empty. If you want to remove non-empty group use --force option. Cmd options: -f|--force Force deletion of the initiator group even if it is not empty. -n|--name= The name of the initiator group to remove. (required) Usage: esxcli vsan iscsi status get [cmd options] Description: get Gets current status (Enabled or Disabled). Cmd options: Usage: esxcli vsan iscsi status set [cmd options] Description: set Enable or disable iSCSI target support, query status Cmd options: --enabled= Sets status, enabling or disabling vSAN iSCSI target support on the way. The new status survives a reboot (required) Usage: esxcli vsan iscsi target add [cmd options] Description: add Add a new vSAN iSCSI target. Cmd options: -a|--alias= The alias of the target. The alias has to be unique. (required) -m|--authtype= Provide authentication type for target. If not provided, target can be accessed through without authentication. Supported authentication types are [No-Authentication, CHAP, CHAP-Mutual]. -A|--initiator-add=[ ... ] Specify initiator iSCSI names or initiator groups to be added to the list of initiators that can access this target. Multiple initiator iSCSI names and initiator groups can be added using format -A initiator1 -A initiator2. -n|--interface= The name of the network interface through which the target is accessible. If not provided, the target will be accessible through default network interface. -i|--iqn= The iSCSI Qualified Name (IQN) of the target. This parameter is optional and should be unique if provided. If not provided, appropriate IQN will be generated by the system. -S|--mutual-secret= The secret an initiator uses to authenticate a target. Required if authentication type is CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -U|--mutual-userid= The user name an initiator uses to authenticate a target. Required if authentication type is CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -P|--policy= vSAN storage policy for target namespace, in the form of a string. Please check 'esxcli vsan policy setdefault --help' for details on policy options. -p|--port= The name of the network port through which the target is accessible. If not provided, the target will be accessible through default network port: 3260. -s|--secret= The secret a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -u|--userid= The user name a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli vsan iscsi target get [cmd options] Description: get Get configuration for vSAN iSCSI target Cmd options: -a|--alias= The iSCSI Target alias. (required) Usage: esxcli vsan iscsi target list [cmd options] Description: list List vSAN iSCSI targets. Cmd options: Usage: esxcli vsan iscsi target lun add [cmd options] Description: add Add a new vSAN iSCSI LUN to specified target Cmd options: -a|--alias= An optional alias for LUN. Can be used to indicate additional info about the LUN. -i|--id= The optional ID of the LUN [0..255]. If not provided, next free identifier will be used. If provided, ID must be unique within target. -P|--policy= vSAN storage policy for LUN, in the form of a string. Please check 'esxcli vsan policy setdefault --help' for more detail on policy options. -s|--size= Size of the LUN object. Eg: 5GB. Supported units: MB, GB, TB, MiB, GiB, TiB. (required) -t|--target= Name of the vSAN iSCSI target to which the LUN will be added. (required) Usage: esxcli vsan iscsi target lun get [cmd options] Description: get Get configuration for vSAN iSCSI LUN Cmd options: -i|--id= The ID for the LUN. (required) -t|--target= The iSCSI Target alias. (required) Usage: esxcli vsan iscsi target lun list [cmd options] Description: list List vSAN iSCSI LUNs in specified target. Cmd options: -t|--target= The alias of the vSAN iSCSI target whose LUNs should be listed. (required) Usage: esxcli vsan iscsi target lun remove [cmd options] Description: remove Remove a vSAN iSCSI LUN from specified target. Cmd options: -i|--id= Identifier of the LUN to be removed. (required) -t|--target= Name of the vSAN iSCSI target from which the LUN will be removed. (required) Usage: esxcli vsan iscsi target lun set [cmd options] Description: set Update configuration for given vSAN iSCSI target LUN. Cmd options: -a|--alias= The new alias for the LUN. Can be used to indicate additional info about the LUN. -i|--id= The ID of the LUN. (required) -n|--new-id= The new ID of the LUN [0..255]. If provided, ID must be unique within this target. -P|--policy= New policy for LUN, in the form of a string. Please check 'esxcli vsan policy setdefault --help' for more detail on policy options. -s|--size= The new size of the LUN object with optional units. If provided, it should be greater than existing size i.e. LUNs are only allowed to grow. Supported unit types are MB, MiB, GB, GiB and TB, TiB (case-insensitive). If not specified, default unit is MiB. -S|--status= Change the LUN status to [online, offline]. offline: Bring the LUN offline. Offline LUNs are inaccessible. It's allowed to do backup and some disruptive management operations like changing LUN ID when a LUN is offline. online: Bring the LUN online. Online LUNs are accessible. -t|--target= Alias of the vSAN iSCSI target for which the LUN needs to be updated. (required) Examples: Grow the LUN 0 in target 'tgt1' to 5 gigabytes. # esxcli vsan iscsi target lun set -s 5GB -i 0 -t tgt1 Change the ID of LUN 0 in target 'tgt1' to 5. # esxcli vsan iscsi target lun set -n 5 -i 0 -t tgt1 Take LUN 0 in target 'tgt1' offline. # esxcli vsan iscsi target lun set -S offline -i 0 -t tgt1 Usage: esxcli vsan iscsi target remove [cmd options] Description: remove Remove a vSAN iSCSI target. Cmd options: -a|--alias= The alias of the vSAN iSCSI target to be removed. (required) Usage: esxcli vsan iscsi target set [cmd options] Description: set Update configuration of the given iSCSI target. Cmd options: -a|--alias= The alias of the target which needs to be modified. (required) -m|--authtype= Provides authentication type for the target. Supported authentication types are [No-Authentication, CHAP, CHAP-Mutual] -A|--initiator-add=[ ... ] Specify initiator iSCSI names or initiator groups to be added to the list of initiators that can access this target. Multiple initiator iSCSI names and initiator groups can be added using format -A initiator1 -A initiator2. -R|--initiator-remove=[ ... ] Specify initiator iSCSI names or initiator groups to be removed from the list of initiators that can access this target. Multiple initiator iSCSI names and initiator groups can be added using format -R initiator1 -R initiator2. -n|--interface= The name of the new network interface through which the target is accessible. -S|--mutual-secret= The secret an initiator uses to authenticate a target. Required if authentication type is CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -U|--mutual-userid= The user name an initiator uses to authenticate a target. Required if authentication type is CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -N|--new-alias= The new alias of the target. -P|--policy= New vSAN storage policy for target namespace, in the form of a string. Please check 'esxcli vsan policy setdefault --help' for details on policy options. -p|--port= The port number of the network port through which the target is accessible -s|--secret= The secret a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP- Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. -u|--userid= The user name a target uses to authenticate an initiator. Required if authentication type is CHAP or CHAP-Mutual. (secret) WARNING: Providing secret values on the command line is insecure because it may be logged or preserved in history files. Instead, specify this option with no value on the command line, and enter the value on the supplied prompt. Usage: esxcli vsan maintenancemode cancel [cmd options] Description: cancel Cancel an in-progress vSAN maintenance mode operation. Cmd options: Usage: esxcli vsan network clear [cmd options] Description: clear Clear the vSAN network configuration. Cmd options: Usage: esxcli vsan network ip add [cmd options] Description: add Add an IP interface to the vSAN network configuration. Cmd options: -d|--agent-mc-addr= IPv4 multicast address for agent (also called downstream) group. -p|--agent-mc-port= Multicast address port for agent (also called downstream) group. -D|--agent-v6-mc-addr= IPv6 multicast address for agent (also called downstream) group. -c|--host-uc-port= Unicast address port for host unicast channel. -i|--interface-name= Interface name. (required) -u|--master-mc-addr= IPv4 multicast address for master (also called upstream) group. -o|--master-mc-port= Multicast address port for master (also called upstream) group. -U|--master-v6-mc-addr= IPv6 multicast address for master (also called upstream) group. -t|--multicast-ttl= Time-to-live for multicast packets. -T|--traffic-type=[ ... ] Network transmission type of vSAN traffic through a virtual network adapter.Supported values are vsan, witness. Type vsan means general vSAN transmission, which is used for both data and witness transmission, if there is no virtual adapter configured with witness traffic type; Type witness indicates that, vSAN vmknic is used for vSAN witness transmission. Once a virtual adapter is configured with witness traffic type, vSAN witness data transmission will stop using virtual adpater with vsan traffic type, and use first dicovered virtual adapter with witness traffic type. Multiple traffic types can be provided in format -T type1 -T type2. Default value is vsan, if this option is not specified. Usage: esxcli vsan network ip remove [cmd options] Description: remove Remove an IP interface from the vSAN network configuration. Cmd options: -f|--force Notify vSAN subsystem of removal, even if not configured. -i|--interface-name= Interface name. (required) Usage: esxcli vsan network ip set [cmd options] Description: set Reconfigure an IP interface in the vSAN network configuration. Cmd options: -d|--agent-mc-addr= IPv4 multicast address for agent (also called downstream) group. -p|--agent-mc-port= Multicast address port for agent (also called downstream) group. -D|--agent-v6-mc-addr= IPv6 multicast address for agent (also called downstream) group. -c|--host-uc-port= Unicast address port for host unicast channel. -i|--interface-name= Interface name. (required) -u|--master-mc-addr= IPv4 multicast address for master (also called upstream) group. -o|--master-mc-port= Multicast address port for master (also called upstream) group. -U|--master-v6-mc-addr= IPv6 multicast address for master (also called upstream) group. -t|--multicast-ttl= Time-to-live for multicast packets. -T|--traffic-type=[ ... ] Network transmission type of vSAN traffic through a virtual network adapter.Supported values are vsan, witness. Type vsan means general vSAN transmission, which is used for both data and witness transmission, if there is no virtual adapter configured with witness traffic type; Type witness indicates that, vSAN vmknic is used for vSAN witness transmission. Once a virtual adapter is configured with witness traffic type, vSAN witness data transmission will stop using virtual adpater with vsan traffic type, and use first dicovered virtual adapter with witness traffic type. Multiple traffic types can be provided in format -T type1 -T type2. Default value is vsan, if this option is not specified. Usage: esxcli vsan network ipv4 add [cmd options] Description: add Add an IP interface to the vSAN network configuration. Cmd options: -d|--agent-mc-addr= IPv4 multicast address for agent (also called downstream) group. -p|--agent-mc-port= Multicast address port for agent (also called downstream) group. -D|--agent-v6-mc-addr= IPv6 multicast address for agent (also called downstream) group. -c|--host-uc-port= Unicast address port for host unicast channel. -i|--interface-name= Interface name. (required) -u|--master-mc-addr= IPv4 multicast address for master (also called upstream) group. -o|--master-mc-port= Multicast address port for master (also called upstream) group. -U|--master-v6-mc-addr= IPv6 multicast address for master (also called upstream) group. -t|--multicast-ttl= Time-to-live for multicast packets. -T|--traffic-type=[ ... ] Network transmission type of vSAN traffic through a virtual network adapter.Supported values are vsan, witness. Type vsan means general vSAN transmission, which is used for both data and witness transmission, if there is no virtual adapter configured with witness traffic type; Type witness indicates that, vSAN vmknic is used for vSAN witness transmission. Once a virtual adapter is configured with witness traffic type, vSAN witness data transmission will stop using virtual adpater with vsan traffic type, and use first dicovered virtual adapter with witness traffic type. Multiple traffic types can be provided in format -T type1 -T type2. Default value is vsan, if this option is not specified. Usage: esxcli vsan network ipv4 remove [cmd options] Description: remove Remove an IP interface from the vSAN network configuration. Cmd options: -f|--force Notify vSAN subsystem of removal, even if not configured. -i|--interface-name= Interface name. (required) Usage: esxcli vsan network ipv4 set [cmd options] Description: set Reconfigure an IP interface in the vSAN network configuration. Cmd options: -d|--agent-mc-addr= IPv4 multicast address for agent (also called downstream) group. -p|--agent-mc-port= Multicast address port for agent (also called downstream) group. -D|--agent-v6-mc-addr= IPv6 multicast address for agent (also called downstream) group. -c|--host-uc-port= Unicast address port for host unicast channel. -i|--interface-name= Interface name. (required) -u|--master-mc-addr= IPv4 multicast address for master (also called upstream) group. -o|--master-mc-port= Multicast address port for master (also called upstream) group. -U|--master-v6-mc-addr= IPv6 multicast address for master (also called upstream) group. -t|--multicast-ttl= Time-to-live for multicast packets. -T|--traffic-type=[ ... ] Network transmission type of vSAN traffic through a virtual network adapter.Supported values are vsan, witness. Type vsan means general vSAN transmission, which is used for both data and witness transmission, if there is no virtual adapter configured with witness traffic type; Type witness indicates that, vSAN vmknic is used for vSAN witness transmission. Once a virtual adapter is configured with witness traffic type, vSAN witness data transmission will stop using virtual adpater with vsan traffic type, and use first dicovered virtual adapter with witness traffic type. Multiple traffic types can be provided in format -T type1 -T type2. Default value is vsan, if this option is not specified. Usage: esxcli vsan network list [cmd options] Description: list List the network configuration currently in use by vSAN. Cmd options: Usage: esxcli vsan network remove [cmd options] Description: remove Remove an interface from the vSAN network configuration. Cmd options: -f|--force Notify vSAN subsystem of removal, even if not configured. -i|--interface-name= Interface name. (required) Usage: esxcli vsan network restore [cmd options] Description: restore Restore the persisted vSAN network configuration. Cmd options: Usage: esxcli vsan policy cleardefault [cmd options] Description: cleardefault Clear default vSAN storage policy values. Cmd options: Usage: esxcli vsan policy getdefault [cmd options] Description: getdefault Get default vSAN storage policy values. Cmd options: -c|--policy-class= vSAN policy class whose default value to get. If not provided, defaults for all classes will be retrieved. Options are: [cluster, vdisk, vmnamespace, vmswap, vmem]. Usage: esxcli vsan policy setdefault [cmd options] Description: setdefault Set default vSAN storage policy values. Cmd options: -p|--policy= vSAN policy to set as default, in the form of a string. Options are: 1)cacheReservation - Flash capacity reserved as read cache for the storage object. Specified as a percentage of the logical size of the object. To be used only for addressing read performance issues. Reserved flash capacity cannot be used by other objects. Unreserved flash is shared fairly among all objects. It is specified in parts per million. Default value: 0, Maximum value: 1000000. 2)forceProvisioning - If this option is "1" the object will be provisioned even if the policy specified in the storage policy is not satisfiable with the resources currently available in the cluster. vSAN will try to bring the object into compliance if and when resources become available. Default value: 0. 3)hostFailuresToTolerate - Defines the number of host, disk, or network failures a storage object can tolerate. When the fault tolerance method is mirroring: to tolerate "n" failures, "n+1" copies of the object are created and "2n+1" hosts contributing storage are required (if fault domains are configured, "2n+1" fault domains with hosts contributing storage are required). When the fault tolerance method is erasure coding: to tolerate 1 failure, 4 hosts (or fault domains) are required; and to tolerate 2 failures, 6 hosts (or fault domains) are required. Note: A host which is not part of a fault domain is counted as its own single-host fault domain. Default value: 1, Maximum value: 3. 4)stripeWidth - The number of HDDs across which each replica of storage object is striped. A value higher than 1 may result in better performance (for e.g when flash read cache misses need to get serviced from HDD), but also results in higher used of system resources. Default value: 1, Maximum value: 12. 5)proportionalCapacity - Percentage of the logical size of the storage object that will be reserved (thick provisioning) upon VM provisioning. The rest of the storage object is thin provisioned. Default value: 0%, Maximum value: 100%. 6)iopsLimit - Defines upper IOPS limit for a disk. IO rate that has been serviced on a disk will be measured and if the rate exceeds the IOPS limit, IO will be delayed to keep it under the limit. Zero value means no limit. Default value: 0. 7)replicaPreference - Defines the method used to tolerate failures. RAID-1 achieves failure tolerance using mirrors, which provides better performance. RAID-5/6 achieves failure tolerance using parity blocks, which provides better space efficiency. RAID-5/6 is only available on All-flash and when the number of failures to tolerate is set to 1 or 2: a value of 1 implies a RAID-5 configuration, and a value of 2 implies a RAID-6 configuration. Default value: RAID-1. (required) -c|--policy-class= vSAN policy class whose default value to set. Options are: [cluster, vdisk, vmnamespace, vmswap, vmem]. (required) Usage: esxcli vsan resync bandwidth get [cmd options] Description: get Get information about vSAN resync bandwidth in Mbps for the disk group with the heaviest resync workload. Cmd options: Usage: esxcli vsan resync throttle get [cmd options] Description: get Get information about vSAN resync throttling Cmd options: Usage: esxcli vsan resync throttle set [cmd options] Description: set Configure vSAN resync throttling Cmd options: --level= Set vSAN resync throttle level in Mbps (integer in the range 0-512, 0 means no throttling) (required) Usage: esxcli vsan storage add [cmd options] Description: add Add physical disk for vSAN usage. Cmd options: -d|--disks=[ ... ] Specify hdds to add for use by vSAN. Expects an empty disk with no partitions in which case the disk will be partitioned and formatted. Otherwise this operation will fail. The command expects the device name for the disk to be provided, e.g.: mpx.vmhba2:C0:T1:L0. Multiple hdds can be provided using format -d hdd1 -d hdd2 -d hdd3 (required) -s|--ssd= Specify ssd to add for use by vSAN. Expects an empty ssd with no partitions in which case the ssd will be partitioned and formatted. Otherwise this operation will fail. If an ssd which is already added for use by vSAN, is provided along with '-d/--disks', then the disk mentioned with '-d' will be added to the existing diskgroup created under this ssd and in which case, the ssd won't be partitioned and formatted. The command expects the device name for the disk to be provided, e.g.: mpx.vmhba2:C0:T1:L0 (required) Usage: esxcli vsan storage automode get [cmd options] Description: get Get status of storage auto claim mode. Cmd options: Usage: esxcli vsan storage automode set [cmd options] Description: set Configure storage auto claim mode Cmd options: --enabled= Changing this value to true will result in enabling auto disk claim mode. Disks will be claimed by the vSAN service in next storage event, e.g.: adapter rescan and disk hot-plug. Set to false to disable storage auto claim mode. (required) Usage: esxcli vsan storage diskgroup mount [cmd options] Description: mount Mount a vSAN disk or disk group. Cmd options: -d|--disk= Specify the disk to mount for use by vSAN.e.g.: mpx.vmhba0:C0:T1:L0 -s|--ssd= Specify a disk group's fronting ssd to mount the ssd and each backing hdd for use by vSAN.e.g.: mpx.vmhba2:C0:T1:L0 -u|--uuid= Specify a vSAN UUID of the disk or fronting ssd to mount for use by vSAN.e.g.: 5291022a-ad03-df90-dd0f-b9f980cc005e Usage: esxcli vsan storage diskgroup unmount [cmd options] Description: unmount Unmount vSAN disk or disk group. Cmd options: -d|--disk= Specify the hdd to unmount from vSAN usage.e.g.: mpx.vmhba0:C0:T1:L0 -s|--ssd= Specify a disk group's fronting ssd to unmount the ssd and each backing hdd from vSAN usage.e.g.: mpx.vmhba2:C0:T1:L0 -u|--uuid= Specify a vSAN UUID of the disk or fronting ssd to unmount for use by vSAN.e.g.: 5291022a-ad03-df90-dd0f-b9f980cc005e Usage: esxcli vsan storage list [cmd options] Description: list List vSAN storage configuration. Cmd options: -d|--device= Filter the output of this command to only show a single device with specified device name. -u|--uuid= Filter the output of this command to only show a single device with specified uuid. Usage: esxcli vsan storage remove [cmd options] Description: remove Remove physical disks from vSAN disk groups. Cmd options: -d|--disk= Specify individual hdd to remove from vSAN usage.e.g.: mpx.vmhba2:C0:T1:L0 -m|--evacuation-mode= Action the vSAN service must take before the host can enter maintenance mode (default noAction). Allowed values are: ensureObjectAccessibility: Evacuate data from the disk to ensure object accessibility in the vSAN cluster, before removing the disk. evacuateAllData: Evacuate all data from the disk before removing it. noAction: Do not move vSAN data out of the disk before removing it. -s|--ssd= Specify a disk group's fronting ssd to remove the ssd and each backing hdd from vSAN usage.e.g.: mpx.vmhba2:C0:T1:L0 -u|--uuid= Specify UUID of vSAN disk.e.g.: 52afa1de-4240-d5d6-17f9-8af1ec8509e5 Usage: esxcli vsan storage tag add [cmd options] Description: add Add a vSAN storage tag. Cmd options: -d|--disk= Name of the disk to which the tag should be added. (required) -t|--tag= Tag to be added to disk. Supported tags are [capacityFlash]. (required) Usage: esxcli vsan storage tag remove [cmd options] Description: remove Remove a vSAN storage tag. Cmd options: -d|--disk= Name of the disk from which the tag should be removed. (required) -t|--tag= Tag to be removed from disk. Supported tags are [capacityFlash]. (required) Usage: esxcli vsan trace get [cmd options] Description: get Get the vSAN tracing configuration. Cmd options: Usage: esxcli vsan trace set [cmd options] Description: set Configure vSAN trace. Please note: This command is not thread safe. Cmd options: -l|--logtosyslog= Boolean value to enable or disable logging urgent traces to syslog. -f|--numfiles= Log file rotation for vSAN trace files. -p|--path= Path to store vSAN trace files. -r|--reset= When set to true, reset defaults for vSAN trace files. -s|--size= Maximum size of vSAN trace files in MB.