vnet-port-add

This command is used to add a port to an existing virtual network (vNET).

Syntax   vnet-port-add

vnet-name name-string

Specify the name of the vNET.

Specify the following port arguments:

switch switch-name

Specify the switch name.

ports port-list

Specify the ports to add to the vNET.

vlans vlan-list

Specify the VLANS for the ports.

Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.2.6

The parameter, VLANs, added.

Usage   A fabric, cluster, or standalone switch can be virtualized into tenant networks called virtual networks (VNETs). This command adds a port to a VNET.

Examples  To add port 4 to switch, aquila24, and VNET, v-network, use the following command:

CLI network-admin@switch > vnet-port-add vnet-name v-network switch aquila24 ports 4

vnet-port-remove

This command is used to remove a port from an existing virtual network (vNET).

Syntax   vnet-port-remove

vnet-name name-string

Specify the name of the vNET.

switch switch-name

Specify the switch name.

ports port-list

Specify the ports to add to the vNET.

Defaults   None.

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   A fabric, cluster, or standalone switch can be virtualized into tenant networks called virtual networks (vNETs). This command removes a port from a vNET.

Examples  To remove port 26 from switch, aquila24, and vNET, v-network, use the following command:

CLI network-admin@switch > vnet-port-remove vnet-name v-network switch aquila24 ports 26

vnet-public-vlans-modify

This command modifies public VLANs assigned to a vNET.

Syntax   vnet-public-vlans-modify vlans vlan-list ]

vlans vlan-list 

Specify the list of public VLANs to modify.

Defaults   None.

Access   CLI

History   Command introduced in Version 2.5.1

Usage   A fabric, cluster, or standalone switch can be virtualized into tenant networks called virtual networks (vNETs). This command modifies the list of public VLANs assigned to a vNET.

Examples  This example shows how to modify the VLAN list to

CLI network-admin@switch > vnet-public-vlans-modify vlans 33-35

vnet-public-vlans-show

This command displays public VLANs assigned to a VNET.

Syntax   vnet-public-vlans-modify vlans vlan-list ]

vlans vlan-list 

Specify the list of public VLANs to modify.

Defaults   None.

Access   CLI

History   Command introduced in Version 2.5.1

Usage   A fabric, cluster, or standalone switch can be virtualized into tenant networks called virtual networks (VNETs). This command displays the list of public VLANs assigned to a VNET.

Examples  This example shows how to display the VLAN list 3-35:

CLI network-admin@switch > vnet-public-vlans-show vlans 33-35