Configuring VLANs 37
For examples on setting up VLANs, refer to “Sample
VLAN Configurations”.
Sample VLAN Configurations
To illustrate how you can segment network devices
that are connected to the Switch, the following
sample configurations are provided.
Setting Up Two VLANs on the Same Switch
Figure 16 illustrates how you can set up a simple
VLAN on the Switch using desktop connections.
Figure 16 Desktop VLAN Configuration
If you want to add ports 7, 8, and 16 to VLAN2 (as
shown in
Figure 16), so that the ports on the default
VLAN1 and the ports on VLAN2 cannot communicate
with each other, do the following:
1 Create a new VLAN and set the VLAN ID to 2. Refer
to
“Creating a VLAN” for instructions. VLAN1 is the
default VLAN and already exists.
2 Set ports 7, 8, and 16 to D (desktop egress packet).
3 Click Apply.
Ports 7, 8, and 16 now belong to VLAN2, and will not
be able communicate with any other ports, unless
you add another port to the VLAN or change the port
configuration.
Setting Up VLAN Across Two Switches
This example explains how you can set up a VLAN
across two Switches using uplink connections. This
enables ports that are members of the same VLAN
(but are on different switches) to communicate, pro
-
vided that a port on each Switch is set to uplink, and
that these ports are connected.
Baseline Switch 2250Baseline Switch 2226-PWR Plus
Server
in VLAN 2
Endstations
in VLAN 2
Endstations
in VLAN 1
Server
in VLAN 1