VLAN Configuration Example
1. Enable VLAN tagging/trunk mode on server ports that support multiple VLANs.
2. Enable tagging/trunk mode on uplink ports that support multiple VLANs.
3. Configure server ports that belong to a single VLAN.
© Copyright Lenovo 2016
Use the following procedure to configure the example network shown in Figure 8
on page
162.
RS G8264(config)# interface port 5
RS G8264(configif)# switchport mode trunk
RS G8264(configif)# switchport trunk allowed vlans 1,2
RS G8264(configif)# exit
RS G8264(config)# interface port 19
RS G8264(configif)# switchport mode trunk
RS G8264(configif)# switchport trunk allowed vlan add 2,3
RS G8264(configif)# exit
RS G8264(config)# interface port 20
RS G8264(configif)# switchport mode trunk
RS G8264(configif)# switchport trunk allowed vlan add 2,3
RS G8264(configif)# exit
RS G8264(config)# interface port 4
RS G8264(configif)# switchport access vlan 2
RS G8264(configif)# exit
By default, all ports are members of VLAN 1, so configure only those ports that
belong to other VLANs.
165
Chapter 9: VLANs