Add vlan – Allied Telesis AT-S39 User Manual
Page 117
AT-S39 Command Line Interface User’s Guide
117
ADD VLAN
Syntax 1
add vlan=name|vid ports=ports
frame=untagged|tagged [mirrorport=port]
Syntax 2
add vlan=name|vid taggedports=ports
untaggedports=ports [mirrorport=port]
Parameters
vlan
Specifies the name or VID of the VLAN where 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 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).
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).
mirrorport
Specifies a port on the switch where all traffic on the
VLAN will be mirrored. This function is useful in
troubleshooting a VLAN. It allows you to mirror the
VLAN traffic on another port where you can connect a
network analyzer. In most situations you will probably
not use this parameter.
Description
This command adds tagged and untagged ports to an existing port-
based or tagged VLAN. You can also use this command to mirror the
traffic on a VLAN to another port on the switch.
Note
To remove ports from a VLAN, see the command DELETE VLAN.