Specifications
Chapter 5. IBM System Networking RackSwitch implementation 165
To show the VLAN configuration on the switch, run show vlan [information]
(Example 5-11).
Example 5-11 show vlan command output
AGG-1#show vlan
VLAN Name Status Ports
---- -------------------------------- ------ -------------------------
1 Default VLAN ena 1-64
100 AGG1-AGG2 ena empty
101 AGG1-ACC1 ena empty
103 AGG1-ACC2 ena empty
4095 Mgmt VLAN ena MGT
AGG-1#
The Ports column is empty, as no member port is allocated.
Use the information option for more detailed output.
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, define and name the VLANs. However, if you assign a
port to a non-existent VLAN, the OS automatically create 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 5-12.
Example 5-12 VLAN port assignment configuration
AGG-1#configure terminal
Enter configuration commands, one per line. End with Ctrl/Z.
AGG-1(config)#vlan 100
AGG-1(config-vlan)#member 1,5
Port 1 is an UNTAGGED port and its PVID is changed from 1 to 100
Port 5 is an UNTAGGED port and its PVID is changed from 1 to 100
AGG-1(config-vlan)#
AGG-1(config-vlan)#
AGG-1(config-vlan)#vlan 101
AGG-1(config-vlan)#member 17,18
Port 17 is an UNTAGGED port and its PVID is changed from 1 to 101
Port 18 is an UNTAGGED port and its PVID is changed from 1 to 101
AGG-1(config-vlan)#
AGG-1(config-vlan)#
AGG-1(config-vlan)#vlan 103
AGG-1(config-vlan)#member 19-20
Port 19 is an UNTAGGED port and its PVID is changed from 1 to 103
Port 20 is an UNTAGGED port and its PVID is changed from 1 to 103
AGG-1(config-vlan)#
AGG-1(config-vlan)#
Important: Example 5-10 on page 164 is a template. Complete the configuration of the
VLANs for all the reference architecture switches according to the details provided in the
Chapter 3, “Reference architectures” on page 107.