HP Virtual Connect 1Gb Ethernet Cookbook
Introduction to Virtual Connect 1Gb Ethernet Networking 11
Bulk VLAN Creation
In addition to providing support for a greater number of VLANs, VC now provides the ability to create several
VLANs, within a Shared Uplink Set (SUS), in a single operation. Using the Bulk VLAN creation feature in the GUI or
the add network-range command in the CLI many VLANs can be added to a SUS in a single operation. In addition,
copying an existing SUS is also now possible. When creating an Active/Active SUS configuration, you can create
the first SUS, and then copy it.
Figure 4 - Example of adding multiple VLANs to a SUS through the GUI.
Here is an example of creating a shared Uplink Set using the CLI command “add network-range” to create the
more than 50 VLANs shown above.
add uplinkset VLAN-Trunk-1
add uplinkport enc0:1:X5 Uplinkset=VLAN-Trunk-1 speed=auto
add uplinkport enc0:1:X6 Uplinkset=VLAN-Trunk-1 speed=auto
add network-range -quiet Uplinkset=VLAN-Trunk-1 NamePrefix=VLAN- NameSuffix=-1 VLANIds=101-105,2101-
2150 State=enabled PrefSpeedType=auto SmartLink=enabled
Note: VC Domains with 1Gb modules, and VC releases prior to 3.30 support(ed) only 320 VLANs per domain, and
128 VLANs per Shared Uplink Set, in addition, to create each VLAN with SmartLink enabled required two lines of
script per VLAN. In the example above, over 50 VLANs are created in a single statement, with Smart Link enabled.
Copying a Shared Uplink Sets
Virtual Connect provides the ability to copy a Shared Uplink Set. This can be very handy when defining an
Active/Active Shared Uplink Set design. You simply create the first SUS, and then copy it.
For example, after creating Shared Uplink Set VLAN-Trunk-1 you can copy it to VLAN-Trunk-2. You will then need
to add uplinks to the new SUS and ensure all networks have SmartLink enabled. This can be accomplished as
follows;
copy uplinkset VLAN-Trunk-1 VLAN-Trunk-2 from VlanStr=1 toVlanStr=2 replace=last
add uplinkport enc0:2:X5 Uplinkset=VLAN-Trunk-2 speed=auto
add uplinkport enc0:2:X6 Uplinkset=VLAN-Trunk-2 speed=auto
set network-range -quiet Uplinkset=VLAN-Trunk-1 VLANIds=101-105,2101-2150 SmartLink=enabled