HP Virtual Connect 1Gb Ethernet Cookbook

Scenario 6 – VLAN Tagging (802.1Q) with Multiple Shared Uplink Sets (SUS) and Link Aggregation using LACP (802.3ad) –
VMware ESX 77
Defining a Server Profile with NICs Connections to a multiple VLANs, via CLI
The following command(s) can be copied and pasted into an SSH based CLI session with Virtual
Connect
# Create and Assign Server Profile ESX-1
add profile ESX-1 -nodefaultfcconn -nodefaultfcoeconn
add server-port-map-range ESX-1:1 UplinkSet=VLAN-Trunk-1 VLanIds=101-
105,2101,2110,2120
set server-port-map ESX-1:1 VLAN-101-1 UnTagged=true
set enet-connection ESX-1 1 pxe=Enabled
add server-port-map-range ESX-1:2 UplinkSet=VLAN-Trunk-2 VLanIds=101-
105,2101,2110,2120
set server-port-map ESX-1:2 VLAN-101-2 UnTagged=true
set enet-connection ESX-1 2 pxe=Disabled
assign profile ESX-1 enc0:1
Note: The graphic below is an example of a how an ESX server might be configured to support
connection to several VLANs. In this case both NICs are configured for network Multiple
Networks. Any frames received by Virtual Connect for this server will have their VLAN tags intact,
Virtual Connect will forward ALL frames tagged, except for VLAN 101, which we have defined as
untagged. Click on the Edit link to the right of the “Multiple Networks” dropdown to edit or define
which VLANs this NIC will connect to.
Figure 75 - Define a Server Profile ESX-1, connected to Multiple VLANs.