HP 1:10Gb Ethernet BL-c Switch for c-Class BladeSystem Application Guide

VLANs
61
Configuring ports and VLANs on Switch 2 (CLI example)
To configure ports and VLANs on Switch 2, do the following:
1. On Switch 2, enable VLAN tagging on the necessary ports. Port 4 (connection to server 2) remains
untagged, so it is not configured below.
Main# /cfg/port 2 (Select port 2: connection to server 1)
>> Port 2# tag e
Current VLAN tag support: disabled
New VLAN tag support: enabled
Port 2 changed to tagged.
Main# /cfg/port 17 (Select crosslink link port 17)
>> Port 17# tag e (Enable tagging)
Current VLAN tag support: disabled
New VLAN tag support: enabled
Port 17 changed to tagged.
Main# /cfg/port 19 (Select uplink port 19)
>> Port 19# tag e (Enable tagging)
Current VLAN tag support: disabled
New VLAN tag support: enabled
Port 19 changed to tagged.
>> Port 19# apply (Apply the port configurations)
2. Configure the VLANs and their member ports. Since all ports are by default configured for VLAN 1,
configure only those ports that belong to other VLANs.
>> /cfg/l2/vlan 3
>> VLAN 3# add 2
Current ports for VLAN 3: empty
Pending new ports for VLAN 3: 2
>> VLAN 3# add 4
Current ports for VLAN 3: 2
Pending new ports for VLAN 3: 17
>> VLAN 3# add 17
Current ports for VLAN 3: 2, 4
Pending new ports for VLAN 3: 17
>> VLAN 3# add 24
Current ports for VLAN 3: 2, 17
Pending new ports for VLAN 3: 24
>> /cfg/l2/vlan 4
>> VLAN 4# add 2
Current ports for VLAN 4: empty
Pending new ports for VLAN 4: 2
>> VLAN 4# add 21
Port 21 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 4 [y/n]: y
Current ports for VLAN 4: 2, 4
Pending new ports for VLAN 4: 21
>> apply (Apply the port configurations)
>> save (Save the port configurations)
The external Layer 2 switches should also be configured for VLANs and tagging.