beautypg.com

Allied Telesis AT-S39 User Manual

Page 120

background image

Chapter 13: VLAN Commands

120

ports

Specifies the ports on the switch that are to be either

tagged or untagged members of the new 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). To specify all
ports on the switch, use ALL. This parameter must be
followed by the FRAME parameter.

frame

Specifies whether the ports of the VLAN are to be

tagged or untagged. This parameter must be used
with the PORTS parameter.

taggedports

Specifies the ports on the switch to serve as tagged

ports in 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). To specify all ports on the switch, use
ALL. Omit this parameter if the VLAN will not contain
tagged ports.

untaggedports

Ports on the switch to function as untagged ports in

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). To specify all ports on the switch, use ALL. Omit
this parameter if the VLAN will not contain untagged
ports.

MirrorPort

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. The mirror port can be a
member of the same VLAN it will be used to monitor
or a member of another VLAN. In most situations
you will probably not use this parameter.

Description

This command creates a port-based or tagged VLAN.

As shown at the start of this section, this command features two
syntaxes. You can use either syntax to create a port-based or tagged
VLAN. The difference between the two is how you go about specifying
which ports are to be members of the VLAN and whether the ports will
be tagged or untagged. Syntax 1 is limited in that it allows you to specify
either tagged or untagged ports, but not both in the same command.
Syntax 2, on the other hand, can create a VLAN that has both types of
ports with one command. This is illustrated in the section Examples
below.