vnet-create

This command creates a new virtual network (VNET) for a fabric, cluster, or standalone switch.

Syntax   vnet-create name

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

 

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.

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.

vxlans vxlan-id

Specify the VLXN 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.

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-mgr
was 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

See Also   

vnet-delete

vnet-modify


vnet-show


vnet-manager-interface-add


vnet-manager-interface-modify


vnet-manager-interface-remove


vnet-manager-interface-show


vnet-manager-migrate


vnet-manager-modify


vnet-manager-show


vnet-manager-service-modify


vnet-manager-service-show


vnet-port-add


vnet-port-remove


vnet-service-show