Creates a named VLAN (Virtual LAN).
vlan_name | Specifies a VLAN name (up to 32 characters). |
vlan_list | Specifies a VLAN list of IDs. |
tag | Specifies a value to use as an 802.1Q tag. The valid range is from 2 to 4095. |
vlan-description | Specifies a VLAN description (up to 64 characters) that appears in show vlan commands and can be read from the ifAlias MIB object for the VLAN. |
name | Specifies a VR or virtual
routing and forwarding (VRF) instance in which to create the
VLAN. Note: User-created VRs are supported
only on the platforms listed for this feature in the ExtremeXOS 22.7 Feature License Requirements document. On switches that do not support
user-created VRs, all VLANs are created in VR-Default and cannot be moved.
|
If you do not specify the VR, the VLAN is created in the current VR.
If the VLAN description contains one or more space characters, you must enclose the complete name in double quotation marks.
A newly-created VLAN has no member ports, is untagged, and uses protocol filter any until you configure it otherwise. Use the various configure vlan commands to configure the VLAN to your needs.
Internal VLANids are assigned automatically using the next available VLANid starting from the high end (4094) of the range.
The VLAN name can include up to 32 characters. VLAN names must begin with an alphabetical letter, and only alphanumeric, underscore ( _ ), and hyphen (-) characters are allowed in the remainder of the name. VLAN names cannot match reserved keywords. For more information on VLAN name requirements and a list of reserved keywords, see Object Names in the ExtremeXOS 22.7 User Guide.
Note
If you use the same name across categories (for example, STPD (Spanning Tree Domain) and EAPS names), we recommend that you specify the identifying keyword as well as the actual name. If you do not use the keyword, the system may return an error message.VLAN names are locally significant. That is, VLAN names used on one switch are only meaningful to that switch. If another switch is connected to it, the VLAN names have no significance to the other switch.
You must use mutually exclusive names for:
Note
The VLAN description is stored in the ifAlias MIB object.If you do not specify a VR when you create a VLAN, the system creates that VLAN in the default VR (VR-Default). The management VLAN is always in the management VR (VR-Mgmt).
Once you create VRs, ExtremeXOS allows you to designate one of these as the domain in which all your subsequent configuration commands, including VLAN commands, are applied. If you create VRs, ensure that you are creating the VLANs in the desired virtual-router domain.
Note
User-created VRs are supported only on the platforms listed for this feature in the ExtremeXOS 22.7 Feature License Requirements document.. On switches that do not support user-created VRs, all VLANs are created in VR-Default and cannot be moved.The following example creates a VLAN named accounting on the current VR:
create vlan accounting description "Accounting Dept"
This command was first available in ExtremeXOS 10.1.
The vr option was added in ExtremeXOS 11.0.
The vlan-description option was added in ExtremeXOS 12.4.4.
The vlan_list variable was added in ExtremeXOS 16.1.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.