Specifications

Chapter 6. IBM Virtual Fabric 10Gb Switch Module implementation 261
6.4.1 VLANs
The VLAN-related configuration applied to the reference architecture switches is described in
Chapter 3, “Reference architectures” on page 107. The configuration topics described in this
section are:
򐂰 VLANs and port VLAN ID numbers
򐂰 VLAN tagging
򐂰 Private VLANs
VLANs and port VLAN ID numbers
This section shows some basic switching configuration, such as configuring a VLAN,
assigning a port to a VLAN, and configuring private VLANs.
The Virtual Fabric 10Gb Switch Module supports up to 1024 VLANs per switch. Even though
the maximum number of VLANs supported at any time is 1024, each can be identified with
any number 1 - 4094.
VLAN 1 is the default VLAN for the external ports and the internal blade ports, so configure
only those ports that belong to other VLANs.
VLAN 4095 is reserved for use by the management network, which includes internal
management ports (MGT1 and MGT2) and (by default) internal ports.
VLANs definition and port assignment configuration steps
To define the VLANs and assign the ports, complete the following steps:
1. Define the VLANs by running the commands shown in Example 6-15.
Example 6-15 VLAN definition
ACC-3#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-3(config)#vlan 30
VLAN number 30 with name "VLAN 30" created.
VLAN 30 was assigned to STG 30.
ACC-3(config-vlan)#name SRV-3
ACC-3(config-vlan)#enable
ACC-3(config-vlan)#^Z
ACC-3#
2. Assign ports to a VLAN. If you want to assign a port to a VLAN, run member at the VLAN
configuration level.
Before you assign ports to VLANs, you should first define and name the VLANs. However,
if you assign a port to a non-existent VLAN, the OS automatically creates one, according
to the PVID defined for the port, and allocates a Spanning Tree Group for it. The VLAN
port assignment configuration is shown in Example 6-16.
Example 6-16 VLAN port assignment configuration
ACC-3#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
ACC-3(config)#vlan 30
ACC-3(config-vlan)#member 1:14,1:17,1:18,2:14,2:17,2:18
Port 1:14 is an UNTAGGED port and its PVID is changed from 1 to 30