Which CLI command shows the physical uplink status for …

Which CLI command shows the physical uplink status for a vmnic?

Which CLI command shows the physical uplink status for a vmnic?

A.
esxcli network ip connection list

B.
esxcli network ip neighbor list

C.
esxcli network nic get

D.
esxcli network nic list

Explanation:
https://vdc-repo.vmware.com/vmwb-repository/dcr-public/26334f54-ee84-47c2-b2f3-901f51cbc98a/
d3f55719-4d3f-47c4-a3c5-fe9c7e5a67f6/doc/esxcli_network.html



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Max

Max

D looks okay.

Source: https://kb.vmware.com/s/article/1008127

In ESXi 5.x and 6.x
Note: In ESXi 5.x, most of the legacy commands used in 4.x will continue to work. VMware recommends using their esxcli equivalents where possible as legacy esxcfg commands will be deprecated in a future release.

To restore the Management vmkernel interface to the correct vmnic interface:

View the current vSwitch configuration and vmkernel interface configuration using these commands:
esxcli network vswitch standard list # list current vswitch configuration
esxcli network vswitch dvs vmware list # list Distributed Switch configuration
esxcli network ip interface list # list vmkernel interfaces and their configuration
esxcli network nic list # display listing of physical adapters and their link state

fredzouille

fredzouille

# esxcli network nic list
Name PCI Device Driver Link Speed Duplex MAC Address MTU Description
—— ————- —— —- —– —— —————– —- ——————————————————-
vmnic0 0000:003:00.0 tg3 Up 1000 Full 74:46:a0:fe:43:74 1500 Broadcom Corporation NetXtreme BCM5717 Gigabit Ethernet
vmnic1 0000:003:00.1 tg3 Up 1000 Full 74:46:a0:fe:43:75 1500 Broadcom Corporation NetXtreme BCM5717 Gigabit Ethernet