Juniper Networks EX2500 User Manual

Page 44

Advertising
background image

EX2500 Ethernet Switch Configuration Guide

30

„

VLAN Topologies and Design Considerations

Use the following procedure to configure the sample network shown in Figure 6.

1.

Enable VLAN tagging on server ports that support multiple VLANs.

ex2500(config)# interface port 5
ex2500(config-if)# tagging
ex2500(config-if)# exit

2.

Enable tagging on uplink ports that support multiple VLANs.

ex2500(config)# interface port 19
ex2500(config-if)# tagging
ex2500(config-if)# exit
ex2500(config)# interface port 20
ex2500(config-if)# tagging
ex2500(config-if)# exit

3.

Configure the VLANs and their member ports.

By default, all ports are members of VLAN 1, so configure only those ports that
belong to other VLANs.

ex2500(config)# vlan 2
ex2500(config-vlan)# enable
ex2500(config-vlan)# member 3
ex2500(config-vlan)# member 5
ex2500(config-vlan)# member 19
ex2500(config-vlan)# member 20
ex2500(config-vlan)# exit
ex2500(config)# vlan 3
ex2500(config-vlan)# enable
ex2500(config-vlan)# member 4,19,20
ex2500(config-vlan)# exit

Server 5

A member of VLAN 1 and VLAN 2, this server can communicate only with Server 1, Server 2, and
Server 3.

The associated switch port has tagging enabled.

Enterprise
Routing switches

These switches must have all three VLANs (VLAN 1, 2, 3) configured. They can communicate with
Server 1, Server 2, and Server 5 via VLAN 1. They can communicate with Server 3 and Server 5 via
VLAN 2. They can communicate with Server 4 via VLAN 3.

Tagging on switch ports is enabled.

NOTE:

VLAN tagging is required only on ports that are connected to other switches

or on ports that connect to tag-capable end-stations, such as servers with
VLAN-tagging adapters.

Table 8: Components of Sample Network with Multiple VLANs (2 of 2)

Component

Description

Advertising