In vSphere 7.0's doc it has a new CLI command:
Command:
esxcli network nic attachment add
Description: Attach one uplink as a branch to a trunk uplink with specified VLAN ID.
Options:
--branch | -b
The name of the NIC to be attached as branch uplink. (required)
--trunk | -t
The name of the NIC to be configured as trunk uplink. (required)
--vlan-id | -v
The vlan ID for the branch uplink. Valid values: integer in the range 1-4094 (required)
--help
Show the help message.
It's confusing to me what it does by attaching one uplink to another uplink. Anyone knows a use case for this?
Not sure if this will help you more, but there is an example mentioned: https://www.virten.net/2020/04/new-esxcli-commands-in-vsphere-7-0/