Layer 2 Switching 77
Software Release 2.6.1
C613-02039-00 REV A
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 page73).
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.
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-name VID=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.
Training VLAN
Marketing VLAN
411
Port 14
SWITCH2
Port 15 Port 16
Port 1 Port 2 Port 3
Switch