0

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?

SF.express
  • 378
  • 1
  • 16
  • 1
    It's right there, in the description. It's is for [trunk configurations](https://en.wikipedia.org/wiki/Trunking). – Gerald Schneider Aug 10 '21 at 18:21
  • 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? – SF.express Aug 11 '21 at 01:16

1 Answers1

0

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/

Gregu
  • 1