alikhani
Contributor
Contributor

Listing NICs in ESXi 6 with lspci -p command...

Jump to solution

hi all;

How can I list NICs in ESXi 6 with lspci command. As far as I know, just appending -p switch is not supported in ESXi 6.

Thanks

0 Kudos
1 Solution

Accepted Solutions
bayupw
Leadership
Leadership

The first screenhost above is using lspci and I just tried the lspci -p  works on ESXi 6.0U2, see below

lspci-p.PNG

esx version.PNG

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw

View solution in original post

0 Kudos
4 Replies
bayupw
Leadership
Leadership

You can use lspci -vvv if you need to find additional peripherals and devices

Confirming ESX/ESXi host hardware (System, Storage, and I/O) compatibility (1003916) | VMware KB

lspci.PNG

or you can use esxcli network nic list if you only need to list vmnics VMware vSphere 6.5 Documentation Library-esxcli network

esxcli network nic list.PNG

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos
alikhani
Contributor
Contributor

Thanks for your reply;

As I said before, I need to overcome this problem by using lspci command.

Any other ideas?

Thanks

0 Kudos
bayupw
Leadership
Leadership

The first screenhost above is using lspci and I just tried the lspci -p  works on ESXi 6.0U2, see below

lspci-p.PNG

esx version.PNG

Bayu Wibowo | VCIX6-DCV/NV
Author of VMware NSX Cookbook http://bit.ly/NSXCookbook
https://github.com/bayupw/PowerNSX-Scripts
https://nz.linkedin.com/in/bayupw | twitter @bayupw
0 Kudos
Ramsez7
Contributor
Contributor

Hi,

I used lspci -vvv | grep Network and got all 3 nics on my host.

0 Kudos