VMware Cloud Community
rb1970
Contributor
Contributor

command(s) to find vmkernel dvPortgroup name

I have searched for hours and not been able to find a way to do this:

Given a vmkernel adapter name, I want to be able to find the "display name" of the Portgroup on dvSwitch it is associated with.

This is how it shows in vSphere client:

 

so, in this case: input string would be: "vmk3" and output string would be "NFS".

none of the cli commands I've tried including:

esxcli network ip interface list

esxcfg-vmknic -l

esxcfg-vswitch -l

seem to show this secret Port Group name.

How, via cli can I find this association?

0 Kudos
1 Reply
rb1970
Contributor
Contributor

sorry, new to the forums and can't seem to figure out how to embed an image.

here's a link: http://pasteboard.co/Zlbe5St.png

0 Kudos