VLANs

Table 10 Multiple VLANs with tagging

 

Component

Description

 

 

 

 

 

Blade Server #1

This high-use blade server needs to be accessed from all VLANs and IP subnets. The server

 

 

has a VLAN-tagging adapter installed with VLAN tagging turned on.

 

 

One adapter is attached to one of the switch's 10 Gbps ports, that is configured for

 

 

VLANs 1 and 2. One adapter is configured for VLANs 3 and 4.

 

 

Because of the VLAN tagging capabilities of both the adapter and the switch, the server is

 

 

able to communicate on all four VLANs in this network while maintaining broadcast

 

 

separation among all four VLANs and subnets.

 

 

 

 

 

Blade Server #2

This blade server belongs to VLAN 3. The port that the VLAN is attached to is configured

 

 

only for VLAN 3, so VLAN tagging is off.

 

 

 

 

 

PC #1

This PC is a member of VLAN 2 and 3. Via VLAN 2, it can communicate with Server 1,

 

 

PC 3, and PC 5. Using VLAN 3, it can communicate with Server 1, Server 2, and PC 4.

 

 

 

 

 

PC #2

This PC is a member of VLAN 4, and can only communicate with Server 1.

 

 

 

 

 

PC #3

This PC is a member of VLAN 1 and VLAN 2. Using VLAN 1, it can communicate with

 

 

Server 1 and PC 5. Using VLAN 2, it can communicate with Server 1, PC 1, and PC 5.

 

 

 

 

 

PC #4

This PC is a member of VLAN 3, and it can communicate with Server 1, Server 2, and PC 1.

 

 

 

 

 

PC #5

This PC is a member of both VLAN 1 and VLAN 2. Using VLAN 1, it can communicate with

 

 

Server 1 and PC 3. Using VLAN 2, it can communicate with Server 1, PC 1, and PC 3.

 

 

The Layer 2 switch port to which it is connected is configured for both VLAN 1 and VLAN 2

 

 

and has tagging enabled.

 

 

 

 

 

 

 

 

NOTE: All PCs connected to a tagged port must have an Ethernet adapter with VLAN-tagging capability installed.

Configuring the example network

These examples describe how to configure ports and VLANs on Switch 1 and Switch 2.

Configuring ports and VLANs on Switch 1 (CLI example)

To configure ports and VLANs on Switch 1, do the following:

1.On Switch 1, enable VLAN tagging on the necessary ports.

Main# /cfg/port

1

 

 

>> Port

1# tag e

 

 

(Select port 1: connection to server 1)

Current

VLAN

tag support:

disabled

 

New VLAN tag

support:

enabled

(Enable tagging)

Port 1 changed to tagged.

 

 

Main# /cfg/port

18

 

(Select uplink port 18)

>> Port

18# tag

e

 

(Enable tagging)

Current

VLAN

tag support:

disabled

 

New VLAN tag

support:

enabled

 

Port 18

changed

to tagged.

 

 

>> Port

18# apply

 

(Apply the port configurations)

 

 

 

 

 

 

61

Page 61
Image 61
HP 445946-001 manual Configuring the example network, Configuring ports and VLANs on Switch 1 CLI example