VMware Cloud Community
alikhani
Contributor
Contributor
Jump to solution

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

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

Reply
0 Kudos
1 Solution

Accepted Solutions
bayupw
Leadership
Leadership
Jump to solution

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

Reply
0 Kudos
4 Replies
bayupw
Leadership
Leadership
Jump to solution

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
Reply
0 Kudos
alikhani
Contributor
Contributor
Jump to solution

Thanks for your reply;

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

Any other ideas?

Thanks

Reply
0 Kudos
bayupw
Leadership
Leadership
Jump to solution

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
Reply
0 Kudos
Ramsez7
Contributor
Contributor
Jump to solution

Hi,

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

Reply
0 Kudos