Looking further at the Cisco implmentation, perhaps I'm incorrect about it actually displaying a list of all of the vlans that are trunked on that link. At first glance at the cisco command reference for NS-OX is appears not to:
http://www.cisco.com/web/techdoc/dc/reference/cli/nxos/commands/l2/show_cdp_neighbors.html
Here it seems to indicate that it will tell me what the native vlan is, but I don't see anywhere where it lists the vlans trunked on that link.
I may have gotten
"show cdp neighbors detail"
mixed up with
"show vlan":
http://www.cisco.com/en/US/docs/ios/lanswitch/command/reference/lsw_s2.html#wp1108095
and ESXi is giving more info than "show cdp neighbors detail" - ESXi is giving network hints, which aren't part of CDP anyway, and giving CDP info, which doesn't show the vlans trunked.
Perhaps the problem is that neither CDP nor network hints gives you all of the information about vlans truned on a link.
When I ran esxcfg-info, it doesn't give you that information either. There really is no mechanism to look into ESXi and know whether all the vlans that need to be trunked to the ESXi host have actually been trunked - you have to look at the physical switch.
For example here is esxcfg-info - but it doesn't list the vlans. Network hints had 4 networks which I took out for security but we actually have more than 8 trunked - and it only tells you the subnet range not the vlan ID for them:
|----Name...............................................vmnic0
|----PCI Bus............................................4
|----PCI Slot...........................................0
|----PCI function.......................................0
|----MAC Address........................................e8:39:35:28:d9:30
|----Virtual MAC Address................................00:50:56:58:d9:30
|----Driver.............................................be2net
|----Network Hint.......................................
|----MTU................................................1500
|----Configured Speed...................................1000
|----Actual Speed.......................................1000
|----Configured Duplex..................................1
|----Actual Duplex......................................1
|----Link Up............................................true
|----enabled............................................true
|----Wake on LAN supported .............................false
|----Wake on LAN enabled ...............................false
|----Resource scheduler allowed .......................true
|----Resource scheduler supported ......................true
|----CDP Network........................................true
\==+CDP Summary :
|----Cdp Version.....................................2
|----Timeout.........................................0
|----Time-to-live....................................143
|----Samples.........................................41713
|----Device Id.......................................
|----Ip Address......................................
|----Ip Prefix.......................................0.0.0.0/0
|----Port Id.........................................GigabitEthernet1/0/16
|----Capabilities....................................40
|----Version.........................................unknown
|----Platform........................................cisco WS-CBS3120X-S
|----Vlan............................................1
|----Duplex..........................................true
|----MTU.............................................0
|----System Name.....................................
|----System OID......................................
|----Mgmt Ip Address.................................
|----Location........................................
|----LLDP Network.......................................false
\==+Hardware Capabilities :
|----Vlan Tag........................................true
|----Vlan Untag......................................true
|----Checksum Offload................................true
|----Tcp Segmentation Offload........................true
|----Scatter Gather Tx...............................true