vnet-create
This command creates a new virtual network (vNET) for a fabric, cluster, or standalone switch.
Syntax vnet-create
name name-string |
Specify the name of the virtual network (vNET). |
scope local|fabric |
Specify the scope of the virtual network (vNET) |
Specify one or more of the following options: |
|
vrg vrg-name |
Specify the name of the virtual resource group (VRG). |
vlan-type public|private |
Specify the type of VLAN used by the vNET. |
num-vlans number |
Specify the number of VLANs to assign to the vNET. Using this parameter allows you to assign a group of VLANs rather than specific VLANs. |
vlans vlan-list |
Specify the list of VLANs to assign to the vNET. You can specify a list or range of VLANs that the vNET assigns to vNET interfaces. |
public-vlans vlan-list |
Specify the public VLANs assigned to private VLAN vNET. |
num-private-vlans number |
Specify the number of private VLANs that the vNET administrator can create for the vNET. This is a number between 1, and 4094. |
num-bridge-domains number |
Specify the number of bridge domains that the vNET administrator can create for the vNET. This is a number between 0, and 4094. |
vxlans vxlan-id |
Specify the VXLAN ID assigned to the vNET. |
vxlan-end vxlan-id |
Specify the last VXLAN ID assigned to the vNET. |
managed-ports port-list |
Specify the list of managed ports on the vNET. |
shared-ports port-list |
Specify the shared ports for the vNET. |
shared-port-vlans vlan-list |
Specify the shared port VLANs. |
config-admin|no-config-admin |
Specify an administrator for the vNET. This is optional. |
admin user-name |
Specify the user name for the admin role. |
create-vnet-mgr|no-create-vnet-mgr |
Specify if you want to create or not create a vNET manager. |
vnet-mgr-name name-string |
Specify the name of the vNET manager. If you don’t specify a name, one is automatically configured. |
vnet-mgr-storage-pool storage-pool-name |
Specify the storage pool for the vNET. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameter config-admin added. |
Version 2.4.1 |
The parameters num-private-vlans, vxlans, and vxlan-end added. |
Version 2.5.4 |
The parameter create-vnet-mgr|no-create-vnet-mg added. |
Version 3.1.0 |
The parameter shared-port-vlans added. |
Version 6.1.0 |
The parameter num-bridge-domains added. |
Usage A fabric, cluster, or standalone switch can be virtualized into tenant networks called virtual networks (vNETs). This command creates a new vNET.
Examples This example shows how to create a fabric-wide virtual network (vNET) named MyVMotionvNET.
CLI (network-admin@switch) > vnet-create name MyVMotionvNET scope fabric vlan 777 ports 35-37