beautypg.com

Add vlan – Allied Telesis AT-S60 User Manual

Page 186

background image

Chapter 16: VLAN and MVLAN Commands

184

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.

vid

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

port

Specifies the ports (that is, slot.port) to be added to
the VLAN. To include all ports on the switch in the
VLAN, use ALL. This parameter must be used with the
FRAME parameter. (For information on how to specify
ports, refer to Specifying Ports on page 17.)

frame

Identifies the new ports as either tagged or untagged.

This parameter must be used with the PORT
parameter.

taggedports

Specifies the ports (that is, slot.port) to be added as

tagged ports to the VLAN. To include all ports on the
switch as tagged ports in the VLAN, use ALL. (For
information on how to specify ports, refer to
Specifying Ports on page 17.)

untaggedports

Specifies the ports (that is, slot.port) 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 187. To
remove ports from a VLAN, see DELETE VLAN on page 191.