You can set the virtual LAN (VLAN) ID number of the ESXi host.

1

From the direct console, select Configure Management Network and press Enter.

2

Select VLAN and press Enter.

3

Enter a VLAN ID number from 1 through 4094.