Add vlan – Allied Telesis AT-S62 User Manual
Page 433
AT-S62 Command Line User’s Guide
433
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 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 create a new VLAN, see CREATE VLAN on page 435. To remove
ports from a VLAN, see DELETE VLAN on page 439.