Add vlan, Syntax 1, Syntax 2 – Allied Telesis AT-S63 User Manual

Page 412: Parameters, Description

Advertising
background image

Chapter 26: VLANs and Multiple VLAN Mode Commands

412

ADD VLAN

Syntax 1

add vlan=

name

[vid=

vid

] port=

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 you want to modify.
The name can be from 1 to 20 characters in length.

vid

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

port

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 415. To
remove ports from a VLAN, see “DELETE VLAN” on page 418.

Advertising