3.3 VLAN examples
Figure3-3.Vlan example
As shown in Figure3-3, there are two users: user 1 and user 2. Since the networks they use
have different network functionality and different environment, it’s necessary for them to belong
to different VLANs. User1 is in VLAN 2, connecting port 2 of a iSpirit 3026 switch, while user 2 is
in VLAN 3 with port 3. Configuration:
Switch# vlan 2
Vlan 2 added
Switch(vlan-2) exit
Switch# vlan 3
Vlan 3 added
Switch(vlan-3) vlan 2
Switch(vlan-2) untag 2
Switch(vlan-2) vlan 3
Switch(vlan-3) untag 3
Switch(vlan-3) exit
To check errors:
After configuration, if you find that PCs can’t communicate with each other across different
VLANs, it’s ok, since communication across different VLANs should go through Layer 3