ESXi Esxcli Network Commands

Mindwatering Incorporated

Author: Tripp W Black

Created: 06/19/2022 at 09:38 AM

 

Category:
Adobe Creative Suite

List of the virtual switches, vSwitches:
[root@vm1:/var/log] esxcfg-vswitch vsift -l
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
PortGroup: NIC vmnic4 does not exist
vSwitch0 8570 15 128 9000 vmnic0,vmnic2,vmnic4

PortGroup Name VLAN ID Used Ports Uplinks
VM Network 0 9 vmnic0,vmnic2
Management Network 0 1 vmnic0,vmnic2

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch1 8570 4 128 1500 vmnic3

PortGroup Name VLAN ID Used Ports Uplinks
VMMWLocal 0 1 vmnic3

Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch2 8570 4 128 1500 vmnic1

PortGroup Name VLAN ID Used Ports Uplinks
VMDMZ 0 1 vmnic1


List of NICs:
[root@vm1:/var/log] esxcfg-nics -l
vmnic0 0000:5b:00.2 i40en Up 1000Mbps Full 08:94:ef:f2:ae:1e 9000 Intel(R) Ethernet Connection X722 for 1GbE
vmnic1 0000:5b:00.3 i40en Up 1000Mbps Full 08:94:ef:f2:ae:1f 1500 Intel(R) Ethernet Connection X722 for 1GbE
vmnic2 0000:5b:00.0 i40en Up 1000Mbps Full 08:94:ef:f2:ae:1c 9000 Intel(R) Ethernet Connection X722 for 10GBASE-T
vmnic3 0000:5b:00.1 i40en Up 1000Mbps Full 08:94:ef:f2:ae:1d 1500 Intel(R) Ethernet Connection X722 for 10GBASE-T
vusb0 Pseudo cdce Up 100Mbps Full 0a:94:ef:f2:a4:bf 1500 XClarity Controller


List of PCI hardware:
[root@vm1:/var/log] esxcli hardware pci list
<long list of PCI endpoints and adapters>

or

[root@vm1:/var/log] lspci -v | grep -A1 -i ethernet
0000:06:00.0 Network controller Ethernet controller: Intel(R) 82599 10 Gigabit Dual Port Network Connection [vmnic4]
Class 0200: 8086:10fb
--
0000:06:00.1 Network controller Ethernet controller: Intel(R) 82599 10 Gigabit Dual Port Network Connection [vmnic5]
Class 0200: 8086:10fb
--
0000:5b:00.0 Network controller Ethernet controller: Intel(R) Ethernet Connection X722 for 10GBASE-T [vmnic2]
Class 0200: 8086:37d2
--
0000:5b:00.1 Network controller Ethernet controller: Intel(R) Ethernet Connection X722 for 10GBASE-T [vmnic3]
Class 0200: 8086:37d2
--
0000:5b:00.2 Network controller Ethernet controller: Intel(R) Ethernet Connection X722 for 1GbE [vmnic0]
Class 0200: 8086:37d1
--
0000:5b:00.3 Network controller Ethernet controller: Intel(R) Ethernet Connection X722 for 1GbE [vmnic1]
Class 0200: 8086:37d1


Give information on vmnic4 which is giving us trouble:
[root@vm1:/var/log] esxcli hardware pci list | grep vmnic4 -A30
VMkernel Name: vmnic4
Vendor Name: Intel(R)
Device Name: 82599 10 Gigabit Dual Port Network Connection
Configured Owner: VMkernel
Current Owner: VMkernel
Vendor ID: 0x8086
Device ID: 0x10fb
SubVendor ID: 0x8086
SubDevice ID: 0x7a11
Device Class: 0x0200
Device Class Name: Ethernet controller
Programming Interface: 0x00
Revision ID: 0x01
Interrupt Line: 0x0b
IRQ: 255
Interrupt Vector: 0x00
PCI Pin: 0x00
Spawned Bus: 0x00
Flags: 0x3001
Module ID: -1
Module Name: None
Chassis: 0
Physical Slot: 6
Slot Description: Slot 6
Device Layer Bus Address: s00000006.00
Passthru Capable: true
Parent Device: PCI 0:5:2:0
Dependent Device: PCI 0:6:0:0
Reset Method: Function reset
FPT Sharable: true
NUMA Node: 0

Details on all the network drivers:
[root@vmhost:/var/log] esxcli software vib list
<long list of drivers>


Details on just one driver, say a fiber one:
[root@vmhost:/var/log] esxcli software vib list | grep gbe
ixgben 1.7.1.35-1vmw.703.0.20.19193900 VMW VMwareCertified 2022-01-29



previous page