VLAN Commands
vlan-create
This command is used to create a new VLAN on the network.
Syntax vlan-create
id vlan-id |
Specify a VLAN identifier for the VLAN. This is a value between 2 and 4092. |
range vlan-list |
Specify a range of VLAN IDs. |
vnet vnet-name |
Specify the VNET assigned to this VLAN. |
vxlan vxlan-id |
Specify the VXLAN mapped to the VLAN for the tunnel. |
auto-vxlan|no-auto-vxlan |
Specify if you want to enable or disable auto-vxlan. Enabling this option automatically assigns a user-defined VLAN/VNI mapping to all VTEP connections in the fabric. If the vxlan option is not specified, the software assigns a VNI automatically. |
vxlan-mode standard|transparent |
Specify the VXLAN mode as standard or transparent. |
replicators vtep-group name|none |
Specify the replicator group. |
public-vlan vlan-id |
Specify the ID of the public VLAN. |
scope local|cluster|fabric |
Specify a scope for the VLAN. |
Specify any of the following options: |
|
description description-string |
Specify a description for the VLAN. |
stats|no-stats |
Specify if you want to collect statistics for a VLAN. Statistic collection is enabled by default. |
ports port-list |
Specifies the switch network data port number, list of ports, or range of ports. Port numbers must be in the range of 1 to 64. |
untagged-ports untagged-port-list |
Specifies the ports that should have untagged packets mapped to the VLAN. Untagged packets are packets that do not contain IEEE 802.1Q VLAN tags. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.2 |
The parameter, stats, added. The scope option, cluster, deprecated. |
Version 2.3 |
The parameter, name, changed to description. |
Version 2.4.1 |
The parameters, vxlan, vxlan-mode, and public-vlan, added. The option, cluster, added. |
Version 2.5.2 |
The parameter vxlan-mode standard|transparent added. |
Version 2.6.2 |
The parameter, range, added. |
Version 3.0.0 |
The parameter, range, deprecated. The parameter, replicators, added. |
Version 6.0.0 |
The parameter, auto-vxlan, added. |
Usage VLANs are used to isolate network traffic at Layer 2. Use this command to create a new VLAN.
Informational Note:
The VLAN identifiers 0 and 4095 are reserved and cannot be used per the IEEE 802.1Q standard.
The range of configurable VLAN identifiers is 2 through 4092.
Examples To create a new fabric-wide VLAN with the description, finance VLAN, and an identifier of 7, use the following command:
CLI network-admin@switch > vlan-create id 7 description finance-VLAN scope fabric