BladeSystem Virtual Connect
cancel
Showing results for 
Search instead for 
Did you mean: 

virtual connect command line

 
virtuals
Occasional Visitor

virtual connect command line

hello ,

 

i need to create the 50 vlans in virtual connaect, how to create the multiple vlan's in command line .

 

Regards,

Surya

1 REPLY
HEM_2
Honored Contributor

Re: virtual connect command line

Here is one way to do it:

 

->add network-range ?

 

Description:

Create multiple networks in an UplinkSet.

 

Syntax:

add network-range [-quiet] UplinkSet=<UplinkSetName> [NamePrefix=<prefix>]
[NameSuffix=<suffix>] VLANIds=<VLAN range list> [State=<enabled|disabled>]
[PrefSpeedType=<auto|custom>] [PrefSpeed=<100Mb-20Gb in 100Mb steps>]
[MaxSpeedType=<unrestricted|custom>] [MaxSpeed=<100Mb-20Gb in 100Mb steps>]
[Nags=<Name1>[<Name2>,...] [SmartLink=<enabled|disabled>]
[Labels=<Label1>[<Label2>,...] [Color=<red|green|blue|orange|purple>]

 

Options:

quiet : This option suppresses user confirmation prompts. This option is
useful when scripting operations.

 

Properties:

 

UplinkSet : (Required) The name of an existing shared uplink port
set to use with the new networks.

 

VLANIDs : (Required) A comma separated list of VLAN ranges. The
VLANIDs must not overlap or already be used in the uplink
port set.
The VLANIDS are combined with the NamePrefix and NameSuffix
properties (if any) to create the name for the networks.

 

NamePrefix : (Optional) The string to prefix before the VLAN ID when
naming the new networks. If omitted, no string is used to
prefix the VLAN ID.

 

NameSuffix : (Optional) The string to add after the VLAN ID when naming
the new networks. If omitted, no string is added after the
VLAN ID.

 

State : (Optional) Enables or Disables the networks. Valid values
are 'Enabled' and 'Disabled'. The default value is 'Enabled'.
PrefSpeedType : (Optional) Default connection speed for any Ethernet
connection attached to these networks. Valid values include
'Auto' and 'Custom'. 'Custom' allows the user to
configure the desired speed. Default value is 'Auto'.

 

PrefSpeed : (Required if PrefSpeedType is 'Custom').
The connection speed for any Ethernet connection
attached to these networks.
Valid values range from: 100Mb-20Gb in 100Mb increments.

 

MaxSpeedType : (Optional) The maximum connection speed for any Ethernet
connection attached to these networks. Valid values include
'Unrestricted' and 'Custom'. 'Custom' allows the user to
configure the desired speed.
Default value is 'Unrestricted'

 

MaxSpeed : (Required if MaxSpeedType is 'Custom').
The maximum connection speed for any Ethernet connection
attached to these networks.

Valid values range from: 100Mb-20Gb in 100Mb increments

 

Nags : (Optional) The Network Access Group(s) the networks
belongs to. The default is Default Network Access Group.
It is a list of Network Access Group names separated by
comma. It should be quoted if there is space in the list.

 

SmartLink : (Optional) Enables or disables the SmartLink capability
of the networks. Valid values are 'Enabled' and 'Disabled'.
Default value is 'Disabled'

 

Labels : (Optional) Labels assigned to these networks.
Labels are used in the GUI to help with management
of large numbers of Networks. Labels can be assigned in
the CLI, but are only used in the GUI.
A maximum of 16 Labels may be assigned.

 

Color : (Optional) Color assigned to these networks.
Color is used in the GUI to help with management
of large numbers of Networks. A Color can be assigned in
the CLI, but is only used in the GUI.
Allowed colors are: red, green, blue, purple or orange.

 

Examples:

- create 100 networks in an existing uplink set.
->add network-range UplinkSet=Alpha NamePrefix=Network NameSuffix=_A
VLANIDs=1-100

- create non-contiguous networks in an existing uplink set.
->add network-range UplinkSet=Alpha NamePrefix=Network NameSuffix=_A
VLANIDs=101-110,115-119,130,4094,700-703