Score:0

What is "esxcli network nic attachment add" used for in vSphere 7.0+?

us flag

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?

in flag
It's right there, in the description. It's is for [trunk configurations](https://en.wikipedia.org/wiki/Trunking).
SF.express avatar
us flag
it does not look the same as Link Aggregation or VLAN trunking even though it's using the terms "trunk" and "branch". based on the cli help, the "branch" uplink must be associated with one single vlan id. why not just add the "branch" uplink to a vss/vds and create a portgroup for that vlan?
Score:0
sa flag

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/

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.