Steps:
- To List the VM Network and get the World ID - Run esxcli network vm list
- To get the Port ID we need to list the World ID - Run esxcli network vm port list -w 6568958
Note: In this scenario we want to get the Port Status of VMNIC3
- To get the port status and see any packets dropped - Run esxcli network port stats get -p 67109002
- To save the port status in a .txt file - Run esxcli network port stats get -p 67109002 > /vmfs/volumes/5cf6fe4e-dba30249-7de7-0025b5df105e/VM-port-stats.txt
- Now you can download the Port Status .txt file from your Datastore and open it using Notepad++ or Wordpad
Comentarios