EDS-508 Series User’s Manual Featured Functions
3-37
tagged with a VLAN identifier so that the Switches can identify which packets belong in which
VLANs. To communicate between VLANs a router must be used.
MOXA EtherDevice Switch supports two types of VLAN port setting for your convenient setting
about tagged and untagged configurations.
# Access Port: The port connects to a single device that is not tagged. The user must define
the default port PVID that assigns which VLAN the device belongs to. Once the ingress
packet of this Access Port will egress to another Trunk Port (the port needs all packets to
carry tag information), EDS will insert this PVID into this packet to help the next 802.1Q
VLAN switch recognize it.
# Trunk Port: The port connects to a LAN that consists of untagged devices/tagged devices
and/or switches and hubs. In general, the traffic of the Trunk Port must have a Tag. Users
can also assign PVID to a Trunk Port. The untagged packet on the Trunk Port will be
assigning the port default PVID as its VID.
The following section illustrates how to use these ports to set different applications.
Sample Applications of VLANs using MOXA EtherDevice Switch
In this application,
# Port 1 connects a single untagged device and assigns it to VLAN 5; it should be configured
as “Access Port” with PVID 5.
# Port 2 connects a LAN with two untagged devices belonging to VLAN 2. One tagged device
with VID 3 and one tagged device with VID 4. It should be configured as “Trunk Port” with
PVID 2 for untagged device and Fixed VLAN (Tagged) with 3 and 4 for tagged device.
Since each port can only have one unique PVID, all untagged devices on the same port can
only belong to the same VLAN.
# Port 3 connects with another switch. It should be configured as “Trunk Port.” They will use
GVRP protocol through the Trunk Port.
VLAN 2 Untagged Device
Device C
HUB
Port1: (Access Port
PVID 5)
Port 5 (Access Port
PVID 3
Port 3 (Trunk Port, PVID 1)
Port 2 (Trunk Port
PVID 2,
Fixed VLAN (Tagged)=3,4)
Port 6 (Access Port PVID 5)
Port 4 (Access Port
PVID 2)
Port 7 (Access Port
PVID 4
Switch A Switch B
VLAN 5 Untagged Device
Device A
VLAN 3 Tagged Device, VID 3
Device D
VLAN 4 Untagged Device
Device I
Device G
VLAN 5 Untagged Device
Device F
VLAN 2 Untagged Device
VLAN 4 Tagged Device, VID 4
Device E
VLAN 2 Untagged Device
Device B
VLAN 3 Untagged Device
Device H