beautypg.com

Allied Telesis AT-S100 User Manual

Page 41

background image

AT-S100 Management Software User’s Guide

41

A port-based VLAN is a group of ports on a Gigabit Ethernet Switch that
form a logical Ethernet segment. Each port of a port-based VLAN can
belong to only one VLAN at a time.

You need to specify which ports will be members of the VLAN. In the case
of a tagged VLAN, it is usually a combination of both untagged ports and
tagged ports. You specify which ports are tagged and which are untagged
when you create the VLAN.

An untagged port, whether a member of a port-based VLAN or a tagged
VLAN, can be in only one VLAN at a time. However, a tagged port can be
a member of more than one VLAN. A port can also be an untagged
member of one VLAN and a tagged member of different VLANs
simultaneously.

Creating a VLAN

Use the VLAN command to create a VLAN and enable it. The syntax of
this command is:

vlan <2-4094> name NAME state enable|disable

The following commands create VLAN 4 with a name of “Eng2” and
enables it:

switch# configure terminal

switch(config)# vlan database

switch(config-vlan)# vlan 2 name Eng2 state enable

For more information about this command, see “VLAN” on page 267.

Adding Untagged Ports to a VLAN

To add untagged ports to a VLAN, you must specify a VLAN that you have
created already. Also, you must specify a port in the Interface mode. The
syntax of this command is:

switchport access vlan VLANID <2-4094>

The following commands assign VLAN 2 to port 8:

switch#configure terminal

switch(config)#interface ge8

switch(config-if)#switchport access vlan 2

For more information about this command, see “SWITCHPORT ACCESS
VLAN” on page 187.