Scenario 2:4 - Flex-10 - VLAN Tagging (802.1Q) with Multiple Shared Uplink Sets (SUS) and Tunneled VLANs - ESX 4 161
Defining a new Shared Uplink Set via CLI
The following script can be used to create the first Shared Uplink Set (VLAN-Trunk-1)
The following command(s) can be copied and pasted into an SSH based CLI session with Virtual Connect
# Create Shared Uplink Set "VLAN-Trunk-1" and configure uplinks
add uplinkset VLAN-Trunk-1
add uplinkport enc0:1:X1 Uplinkset=VLAN-Trunk-1 speed=auto
# Create Networks Prod-A-1 through Prod-D-1 for Shared Uplink Set "VLAN-Trunk-1"
add network PROD-A-1 uplinkset=VLAN-Trunk-1 VLanID=101
Set Network PROD-A-1 SmartLink=Enabled
add network PROD-B-1 uplinkset=VLAN-Trunk-1 VLanID=102
Set Network PROD-B-1 SmartLink=Enabled
add network PROD-C-1 uplinkset=VLAN-Trunk-1 VLanID=103
Set Network PROD-C-1 SmartLink=Enabled
The following script can be used to create the Second Shared Uplink Set (VLAN-Trunk-2)
# Create Shared Uplink Set "VLAN-Trunk-2" and configure uplinks
add uplinkset VLAN-Trunk-2
add uplinkport enc0:2:X1 Uplinkset=VLAN-Trunk-2 speed=auto
# Create Networks Prod-A-2 through Prod-D-2 for Shared Uplink Set "VLAN-Trunk-2"
add network PROD-A-2 uplinkset=VLAN-Trunk-2 VLanID=101
Set Network PROD-A-2 SmartLink=Enabled
add network PROD-B-2 uplinkset=VLAN-Trunk-2 VLanID=102
Set Network PROD-B-2 SmartLink=Enabled
add network PROD-C-2 uplinkset=VLAN-Trunk-2 VLanID=103
Set Network PROD-C-2 SmartLink=Enabled
Defining a new vNet via CLI
The following command(s) can be copied and pasted into an SSH based CLI session with Virtual Connect
# Create the vNet "VLAN-Many" and configure uplinks as discussed above
add Network VLAN-Many-1
add uplinkport enc0:1:X2 Network=VLAN-Many-1 speed=auto
set network VLAN-Many-1 SmartLink=Enabled VLanTunnel=Enabled
add Network VLAN-Many-2
add uplinkport enc0:2:X2 Network=VLAN-Many-2 speed=auto
set network VLAN-Many-2 SmartLink=Enabled VLanTunnel=Enabled
Note:
It is important to point out at this time, if you are familiar with VC scripting, or have existing VC
scripts that you had used on Virtual Connect 1:10 modules, and may want to use with Flex-10, the
numbering of the Flex-10 external ports is different than with early modules of VC. VC-E and VC-F uplinks
ports are numbered as Ports 1, 2, 3 etc., however; Flex-10 ports are referenced as X1, X2, X3 etc., plus
some of the ports are shared, IE the CX4 is shared with SFP+ Port X1, both are configured as X1, but only
one is usable at a time. If a CX-4 cable is connected the SFP+ port will become disable, the same is true
for Ports X7 & X8, which are the internal cross connect ports, the cross connects will disconnect, if an
SFP+ module is plugged in Ports X7 or X8.