configure virtual-network

configure virtual-network vn_name [add | delete] [{vlan vlan_name} | {vman vman_name | dynamic {vlan} vlan_id]

Description

This command adds/removes a tenant This command is available on the ExtremeSwitching X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches. or VMAN to a virtual network.

Syntax Description

vn_name Alphanumeric string indentifying the Virtual Network to be configured.
add Add a tenant VLAN to the Virtual Network.
delete Delete a tenant VLAN from the Virtual Network.
vlan Specifies VLAN.
vlan_name Name of the tenant VLAN.
vman Specifies VMAN.
vman_name Name of the tenant VMAN.
dynamic

Specifies configuring options for dynamically created VLANs.

Adds dynamic VLAN‘s VID to a VNET. You can save this to the configuration and is it persistent across reboots. After reboot when a dynamic VLAN gets created with matching VID, the VLAN is internally applied to the VNET, so that you do not need to reconfigure this every time after reboot.

vlan Add or delete a tenant VLAN to the Virtual Network
vlan_id VLAN ID tag between 2 and 4,094.

Default

N/A.

Usage Guidelines

Only a single VLAN/VMAN can be added to a virtual network.

Example

The following example adds a VLAN to an existing virtual network:

# configure virtual-network my_virtual_network add vlan vlan100

The following example removes a VLAN from an existing virtual network:

# configure virtual-network my_virtual_network delete vlan vlan100

The following example adds dynamic VLANs with VID 100 to virtual network "my_virtual_network":

# configure virtual-network my_virtual_network add dynamic vlan 100

History

This command was first available in ExtremeXOS 21.1.

VMAN option added in ExtremeXOS 22.1.

Configuring dynamic VLANs as tenant VLANs was added in ExtremeXOS 30.3.

Platform Availability

This command is supported on the ExtremeSwitching X465, X590, X695 series switches, and stacks with X465, X590, X695 slots only.