VMware ESXi: Which ESXCLI commands can be used to view Host Hardware, Storage and Virtual Switch

요약: The following article provides information about some ESXCLI commands that can be used to gather information about the configuration of the host, for example the Host Hardware Configuration, Storage, and Virtual Switch Information. ...

이 문서는 다음에 적용됩니다. 이 문서는 다음에 적용되지 않습니다. 이 문서는 특정 제품과 관련이 없습니다. 모든 제품 버전이 이 문서에 나와 있는 것은 아닙니다.

지침

Access to the ESXi hosts through a putty session or DCUI in order to issue the ESXCLI commands.

To view the time and date on the ESXi host:

 esxcli hardware clock get 

hardware clock get

To view the number of CPUs on the host:

Note: You must press the spacebar to scroll through the output. When done, press q to exit the less utility. 
esxcli hardware cpu list | less

hardware cpu list

To view the Storage Configuration of the vSphere Environment issue the following ESXCLI commands:

To view the number of VMFS extents that are available to the host:

esxcli storage vmfs extent list

esxcli storage vmfs extent list 
To view the SCSI host bus adapters:

esxcli storage core adapter list

core adapter list

To view the SCSI path statistics:

esxcli storage core path stats get


SCSI path statistics
To view a list of LUNs connected to the ESXi host:

esxcli storage core device list


To view the boot partitions and the datastores that are available to each host:

esxcli storage filesystem list

filesystem list

To view the virtual switch configuration of the vSphere environment issue the following ESXCLI commands: 

To view the IP address of the DNS server:
 

esxcli network ip dns server list

IP address DNS server

To view the physical NICs:

esxcli network nic list


physical NICs

To view that two standard switches are available to the host:

esxcli network vswitch standard list

 standard switche

To view the available distributed switches:

esxcli network vswitch dvs vmware list | more


distributed switches

To view the standard switch port groups:
 

esxcli network vswitch standard portgroup list

standard switch port groups

To view the VMkernel interfaces on the host:

esxcli network ip interface list | less

 VMkernel interfaces

To view the IP address and subnet mask of the VMkernel interfaces on the host:

esxcli network ip interface ipv4 get

VMkernel interfaces

To view the default gateway address for the VMkernel interfaces on the host:

esxcli network ip route ipv4 list 

VMkernel interfaces

해당 제품

VMware ESXi
문서 속성
문서 번호: 000204754
문서 유형: How To
마지막 수정 시간: 09 12월 2024
버전:  3
다른 Dell 사용자에게 질문에 대한 답변 찾기
지원 서비스
디바이스에 지원 서비스가 적용되는지 확인하십시오.