But this was an HP switch.
Luckily, I had three things going for me:
- The HP switch supported LLDP
- I had access to temporary Enterprise Plus licensing
- The host had redundant links for the virtual switch.
How did that help?
While the standard switch will only support CDP, the VMware Distributed Switch (VDS) supports either CDP or LLDP.
Here's how I managed to get my port assignments:
- Create a VDS instance
- Modify the distributed virtual switch (DVS) to use LLDP instead of CDP (the default)
- Update host licensing to temporary Enterprise Plus
- Add one (1) adapter to the DVS uplink group
- After 30 seconds, click on the "information" link for the adapter to retrieve switchport details
- Return adapter to the original standard switch
- Repeat steps 3-5 for additional adapters
- Remove host from DVS
- Return host licensing back to original license
- Repeat steps 3-9 for remaining hosts
- Remove DVS from environment