How to configure 802.1q VLAN on the 2 Easy Smart Switches, SG105E and SG108E

User Application Requirement
Actualizado06-28-2022 07:49:40 AM 6898

How to configure 802.1q VLAN on the 2 Easy Smart Switches, SG105E and SG108E?

Suitable ForTL-SG105E,TL-SG108E,TL-SG1016DE,TL-SG1024DE;

A Virtual Local Area Network (VLAN) is a network topology configured according to a logical scheme rather than the physical layout. Hosts in the same VLAN communicate with each other as if they are in a LAN. However, hosts in different VLANs cannot communicate with each other directly.

Now let´s learn how to configure the tag VLAN on Easy Smart Switches by the following example:

Here we take 2 TL-SG105Es as an example.

TL-SG105E-SW1 connects to the Internet via Router Archer C7 in port 5, and connects to 2 TL-SG105E with an Ethernet cable in port 1 in order to configure trunk/tag port.

The computers of VLAN2-Sale Dept., connect to port 2 of SW1 TL-SG105E and port 2 of SW2 TL-SG105E.

The VLAN3-IT Dept. connects to port 3 of Both switches.

Purpose

1 The computers of VLAN2-Sale can communicate with each other.

2 The computers of VLAN3-IT can communicate with each other.

3 The computers of VLAN2-Sale can’t communicate with computers of VLAN3-IT, and vice versa.

4 Both VLANs (Sale & IT Depts.)c an access to Internet through Archer C7 router.

VLAN Configuration parameters:

VLAN1

VLAN2

VLAN3

SW1-TL-SG105E

1-5

1-2,5

1,3,5

SW2-TL-SG105E

1-5

1,2

1,3

To achieve Purpose 1, we create the VLAN whose VLAN ID is 2

To achieve Purpose 2, we create the VLAN whose VLAN ID is 3

By setting VLAN 2 and 3, we have achieved Purpose 3.

To achieve Purpose 4, we use the default VLAN 1 to make sure Archer C7 router could communicate with all ports of the two switches.

Switch

SW1-TL-SG105E

SW2-TL-SG105E

Port

1

2

3

5

1

2

3

Egress Rule

Tag

UNTAG

UNTAG

UNTAG

TAG

UNTAG

UNTAG

PVID

1

2

3

1

1

2

3

The table above shows other parameters.

Now, let’s start to configure Switch SW1- TL-SG105E:

So now the configuration on SW1-TL-SG105E has been done, let’s see how to configure 802.1q VLAN on TL-SG108E via Easy Smart Configuration Utility:

Step 1 Enter the TL-SG108E by utility, then choose “VLAN” sheet, “802.1Q VLAN” on the left, you could see the right window only shows “Global Config”, please set the “802.1q VLAN status” to “Enable” then apply, the 802.1q vlan setting will show up:

Step 2 this utility we use graphic port selection, you just need to click on the port you want to choose,which is much easier. We set VLAN2-Sale Dept. with tagged port 1, untagged port 2 &5, then click apply:

Step 3 As the step 2 shows, we then set VLAN3-IT Dept. with tagged port 1 and untagged port 3& 5:

Step 4 This step we should configure the PVID of port, here we configure PVID of port 2 to VLAN2, choose “802.1q PVID setting” on the left hand menu, then choose the port you want to configure, typing PVID value then click “Apply”:

Step 5 Configure PVID of all ports correctly as step 4 as shown below:

Now we have successfully created the 2 VLANs working together with the default VLAN1, realizing the usage need.

Note:

Only when specific VLAN has already been created that you could change a port’s PVID to VID of this VLAN. The correct steps to build several VLAN on switch are:

1.Create these VLAN

2.Select Member Ports

3.Set PVID for these ports.

Due to PVID of port is unique even if it belongs to more than one VLAN, you could choose any VLAN to set the PVID.

Step5: SAVE CONFIG

In order to save the file configuration in flash memory, you should go to system reboot, and Save CONFIG should be checked, then click on Reboot as shown below:

configure Switch SW2- TL-SG105E:

step1: please set the “802.1q VLAN status” to “Enable” then apply, the 802.1q vlan setting will show up:

Step 2 this utility we use graphic port selection, you just need to click on the port you want to choose, which is much easier. We set VLAN2-Sale Dept. with tagged port 1, untagged port 2, then click apply:

Step 3 As the step 2 shows, we then set VLAN3-IT Dept. with tagged port 1 and untagged port 3:

Step 4This step we should configure the PVID of port, here we configure PVID of port 2 to VLAN2, choose “802.1q PVID setting” on the left hand menu, then choose the port you want to configure, typing PVID value then click “Apply”:

Step 5 Configure PVID of all ports correctly as step 4 as shown below:

Step5: SAVE CONFIG

In order to save the file configuration in NVRAM memory, you should go to system àsystem reboot àSAVE CONFIG should be ‘Checked’ then click on Reboot as shown below:

Test:

You can ping all router and switches as well as shown below:

C:\Users\adminDT>ping 192.168.2.1

Pinging 192.168.2.1 with 32 bytes of data:

Reply from 192.168.2.1: bytes=32 time<1ms TTL=64

Reply from 192.168.2.1: bytes=32 time<1ms TTL=64

Reply from 192.168.2.1: bytes=32 time<1ms TTL=64

Reply from 192.168.2.1: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.2.1:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

C:\Users\adminDT>ping 192.168.2.2

Pinging 192.168.2.2 with 32 bytes of data:

Reply from 192.168.2.2: bytes=32 time=3ms TTL=64

Reply from 192.168.2.2: bytes=32 time=1ms TTL=64

Reply from 192.168.2.2: bytes=32 time=1ms TTL=64

Reply from 192.168.2.2: bytes=32 time=1ms TTL=64

Ping statistics for 192.168.2.2:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 1ms, Maximum = 3ms, Average = 1ms

C:\Users\adminDT>ping 192.168.2.3

Pinging 192.168.2.3 with 32 bytes of data:

Reply from 192.168.2.3: bytes=32 time=4ms TTL=64

Reply from 192.168.2.3: bytes=32 time=1ms TTL=64

Reply from 192.168.2.3: bytes=32 time=1ms TTL=64

Reply from 192.168.2.3: bytes=32 time=1ms TTL=64

Ping statistics for 192.168.2.3:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 1ms, Maximum = 4ms, Average = 1ms

*BUT PC’s which are belonged to different VLAN CAN PING EACH OTHER,

*ONLY PC’s WHICH ARE BELONGED TO THE SAME VLAN/DEPT CAN PING EACH OTHER.

C:\Users\adminDT>ping 192.168.2.145

Pinging 192.168.2.145 with 32 bytes of data:

Reply from 192.168.2.104: Destination host unreachable.

Reply from 192.168.2.104: Destination host unreachable.

Reply from 192.168.2.104: Destination host unreachable.

Reply from 192.168.2.104: Destination host unreachable.

Ping statistics for 192.168.2.145:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

C:\Users\adminDT>

TIP: you manage both switches from one management pc as shown below:

¿Es útil esta faq?

Sus comentarios nos ayudan a mejorar este sitio.

De United States?

Obtener productos, eventos y servicios para su región.