Layer 2 Switching

77

If the network includes VLANs that do not need to share network resources or span several switches, VLAN membership can usefully be based on untagged ports. Otherwise, VLAN membership should be determined by tagging (see VLAN Tagging” on page 73).

Figure 15 on page 77 shows two port-based VLANs with untagged ports belonging to them. Ports 1-3 belong to the marketing VLAN, and ports 14-16 belong to the training VLAN. The switch acts as two separate bridges: one that forwards traffic between the ports belonging to the marketing VLAN, and a second one that forwards traffic between the ports belonging to the training VLAN. Devices in the marketing VLAN can only communicate with devices in the training VLAN by using the switch’s routing functions.

Figure 15: VLANS with untagged ports.

Port 2

Port 3

Port 1

 

Marketing VLAN

Switch

Training VLAN

Port 14 Port 15

Port 16

411

SWITCH2

Creating VLANs

To briefly summarise the process of creating a VLAN:

1.Create the VLAN.

2.Add tagged ports to the VLAN, if required.

3.Add untagged ports to the VLAN, if required.

To create a VLAN, use the command:

CREATE VLAN=vlan-nameVID=2..4094

Every port must belong to a VLAN, unless it is the mirror port. By default, all ports belong to the default VLAN as untagged ports.

Software Release 2.6.1 C613-02039-00 REV A

Page 77
Image 77
Allied Telesis 2.6.1 manual Creating VLANs, Vlans with untagged ports