beautypg.com

Add vlan – Allied Telesis AT-S39 User Manual

Page 117

background image

AT-S39 Command Line Interface User’s Guide

117

ADD VLAN

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.

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 VLAN.
You can also use this command to have the traffic on the VLAN mirrored
to another port on the switch.