cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2403
Views
0
Helpful
5
Replies

vNIC / vHBA mapping within ESXi

NaelShahid_2
Level 1
Level 1

With a number of vNIC / vHBAs within a service profile how can you identify which vmnic / vmhba these correspond to with ESXi?

5 Replies 5

skumar7193
Level 1
Level 1

One way that I know -  You can look at the MAC address on the vnic on UCS and do a listing of nics on ESXi Command Line and compare the macs and identify which is which.

Hope that helps

also I normally name my UCS vNIC/vHBAs to match what ESXi names them and then use a vNIC/vHBA placement policy to enforce the order so that I can guarantee they match up.

I use this naming convention

vmnic0-mgt-a

vmnic1-mgt-b

vmnic2-vmo-a

vmnic3-vmo-b

vmnic4-vms-a

vmnic5-vms-b

vmhba1-a

vmhba2-b

kschroed
Cisco Employee
Cisco Employee

lspci on ESXi console will show you the vmnic/vmhba adapter labeling and the PCI ordering configurable in the service profile.

~ # lspci | grep vm 

000:001:00.0 Mass storage controller: LSI Logic / Symbios Logic LSI1064E [vmhba0]

000:004:00.0 Serial bus controller: QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA [vmhba1]

000:004:00.1 Serial bus controller: QLogic Corp ISP2432-based 4Gb Fibre Channel to PCI Express HBA [vmhba2]

000:006:00.0 Network controller: Intel Corporation 82598EB 10 Gigabit AF Dual Port Network Connection [vmnic0]

000:006:00.1 Network controller: Intel Corporation 82598EB 10 Gigabit AF Dual Port Network Connection [vmnic1]

identify the interface based on MAC is the better way.

NaelShahid_2
Level 1
Level 1

thanks all

Review Cisco Networking products for a $25 gift card