vlan-port-add

Use this command to add ports to an existing VLAN.

Syntax   vlan-port-add

vlan-id vlan-id

Specifies the VLAN identifier. Range is from 2 to 4092.

vlan-range vlan-list

Enter the range or list of VLAN IDs.

vlan-vnet vnet-name

Specify the name of the vNET assigned to the VLAN.

Specify the following port arguments:

switch switch-name

Specify the switch name with the port.

ports port-list

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

port-desc port-desc-string

Specify the port description of the port that you want to add to the VLAN.

untagged yes|no

Specifies if the ports tag packets with the IEEE 802.1Q VLAN header or untagged packets should automatically be mapped to the VLAN. This means that both ingress, and egress packets do not contain the 802.1Q VLAN header.

Defaults   None.

Access   CLI

History   

Version 1.2

Command introduced.

Version 2.4.1

The parameter vnet added.

Version 3.0.0

The parameter vlan-range added.

Version 7.0.0

The parameter port-desc added.

Usage   VLANs can be used to isolate network traffic at Layer 2. Use this command to add new port to an existing VLAN.

Examples  To add ports 17, and 18, and set them to transmit, and receive untagged Ethernet packets on VLAN 7 on vNET finance-1, use the following command:

CLI (network-admin@switch) > vlan-port-add vlan-id 7 vlan-vnet finance-1 ports 17,18 untagged yes

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south