Add vlan – Allied Telesis AT-S39 User Manual
Page 119
![background image](/manuals/427793/119/background.png)
AT-S39 Command Line Interface User’s Guide
119
ADD VLAN
Note
This command is only allowed in user-configured VLANs mode. If
you use this command when in multiple VLAN mode, you will
receive the following message:
Operation NOT allowed in Multiple VLANs mode
Syntax 1
add vlan=name|vid ports=ports
frame=untagged|tagged [mirrorport=mirrorport]
Syntax 2
add vlan=name|vid taggedports=taggedports
untaggedports=untaggedports
[mirrorport=mirrorport]
Parameters
vlan
Specifies the name or VID of the VLAN to which you
want to add tagged or untagged ports.
ports
Specifies the ports to be added to the VLAN. This
parameter must be used with the FRAME parameter.
frame
Specifies whether the ports to be added will be
tagged or untagged.
taggedports
Specifies the ports on the switch that you want to add
as tagged ports to the VLAN. You can specify the ports
individually (e.g., 2,3,5), as a range (e.g., 7-9), or both
(e.g., 2,5,7-9). Specifying ALL adds all ports on the
switch as tagged ports to the VLAN.
untaggedports
Specifies the ports on the switch that you want to add
as untagged ports to the VLAN. You can specify the
ports individually (e.g., 2,3,5), as a range (e.g., 7-9), or
both (e.g., 2,5,7-9). Specifying ALL adds all ports on
the switch as untagged ports to the VLAN.