VLAN Commands

vlan-create

This command is used to create a new VLAN on the network. You can create a VLAN by specifying a VLAN ID or a range of VLAN IDs. 

Syntax   vlan-create

id vlan-id

Enter an identifier for VLAN. The range is from 0 through 4095.

    OR

range vlan-list

Enter a range or list of VLAN IDs. 

scope local|cluster|fabric

Enter the scope for the VLAN.

Specify any of the following options:


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.

vxlan-hybrid-mode standard|transparent


replicators vtep-group name|none

Specify the replicator group.

public-vlan vlan-id

Specify the ID of the public VLAN.

description description-string

Specify the VLAN description.

stats|no-stats

Enter if you want to collect statistics for a VLAN. By default, the statistic collection is enabled.

ports port-list

Specifies the switch network data port number, list of ports, or range of ports. The range is from 1 to 64.

port-desc port-desc-string

Specify a port description to be assigned to the VLAN.

untagged-ports untagged-port-list

Enter the ports or list of ports having untagged packets mapped to the VLAN.

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 are added. The option cluster in the scope parameter 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.

Version 7.0.0

The parameter port-desc added.

Usage   Use this command to create a new VLAN. While creating the VLAN, you can specify a VLAN ID or a range of VLAN IDs.

Informational Note:  

The VLAN identifiers 0, and 4095 are reserved, and cannot be used per the IEEE 802.1Q standard.

Range for configurable VLAN identifiers is 0 through 4095.

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

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south