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

VLANs
60
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 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 VLAN 2. Crosslink port 17 must belong to VLANs 1 and 2.
>> /cfg/l2/vlan 2
>> VLAN 2# add 1 (Add port 1 to VLAN 2)
Current ports for VLAN 2: empty
Pending new ports for VLAN 2: 1
>> VLAN 2# add 19 (Add port 19 to VLAN 2)
Current ports for VLAN 2: 1
Pending new ports for VLAN 2: 19
>> VLAN 2# add 21 (Add port 21 to VLAN 2)
Port 21 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 2 [y/n]: y
Current ports for VLAN 2: 1, 19
Pending new ports for VLAN 2: 21
>> /cfg/l2/vlan 3
>> VLAN 3# add 17 (Add port 17 to VLAN 3)
Current ports for VLAN 3: empty
Pending new ports for VLAN 3: 17
>> VLAN 3# add 19 (Add port 19 to VLAN 3)
Current ports for VLAN 3: 17
Pending new ports for VLAN 3: 19
>> apply (Apply the port configurations)
>> save (Save the port configurations)