Add vlan – Allied Telesis AT-S63 User Manual

Page 502

Advertising
background image

Chapter 29: Port-based, Tagged, and Multiple Mode VLAN Commands

502

Section VI: Virtual LANs

ADD VLAN

Syntax 1

add vlan=

name

[vid=

vid

] ports=

ports

|all

frame=untagged|tagged

Syntax 2

add vlan=

name

[vid=

vid

] taggedports=

ports

|all

untaggedports=

ports

|all

Parameters

vlan

Specifies the name of the VLAN to modify.

vid

Specifies the VID of the VLAN you want to modify. This
parameter is optional.

ports

Specifies the ports to be added to the VLAN. You can
specify the ports individually (for example, 5, 7, 22), as
a range (for example, 18-23), or both (for example, 1, 5,
14-22).

frame

Identifies the new ports as either tagged or untagged.

This parameter must be used with the PORT
parameter.

taggedports

Specifies the ports to be added as tagged ports to the

VLAN. To include all ports on the switch as tagged
ports in the VLAN, use ALL.

untaggedports

Specifies the ports to be added as untagged ports to

the VLAN. Specifying ALL adds all ports on the switch
as untagged ports to the VLAN.

Description

This command adds tagged and untagged ports to an existing port-based
or tagged VLAN.

Note

To initially create a VLAN, see “CREATE VLAN” on page 505. To
remove ports from a VLAN, see “DELETE VLAN” on page 509.

Advertising