Creating VMkernel interfaces using the ESXi CLI

This procedure requires you to either access the command-line console of the ESXi host via an IPMI console (HPE ILO, Dell DRAC, KVM, and so on) or SSH into the ESXi host using tools such as PuTTY or SecureCRT. Let's get started:

  1. SSH (PuTTY) into the ESXi host as the root user.
  2. Create a port group on a standard vSwitch using the following command syntax:
 # esxcli network vswitch standard portgroup add -p <Network Label for the port group> -v <Name of the existing vSwitch>
  1. Once you're done, create a VMkernel interface on the port group using the following command syntax:
  # esxcli network ip interface add -p <Network Label for the port group>         
Since we did not specify an interface name ( ...

Get VMware vSphere 6.7 Cookbook - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.