4. Add the switch ports to their respective VLANs.
© Copyright Lenovo 2016
Note: To perform this configuration, you must be connected to the switch Industry
Standard Command Line Interface (ISCLI) as the administrator.
The VLANs shown in Table
RS G8264(config)# vlan 1
RS G8264(configvlan)# exit
RS G8264(config)# interface port 22
RS G8264(configif)# switchport mode trunk
RS G8264(configif)# switchport trunk allowed vlan 1
RS G8264(configif)# exit
RS G8264(config)# vlan 2
RS G8264(configvlan)# exit
RS G8264(config)# interface port 1,2
RS G8264(configif)# switchport mode trunk
RS G8264(configif)# switchport trunk allowed vlan 2
RS G8264(configif)# exit
RS G8264(config)# vlan 3
RS G8264(configvlan)# exit
RS G8264(config)# interface port 3,4
RS G8264(configif)# switchport mode trunk
RS G8264(configif)# switchport trunk allowed vlan 3
RS G8264(configif)# exit
RS G8264(config)# vlan 4
RS G8264(configvlan)# exit
RS G8264(config)# interface port 5,6
RS G8264(configif)# switchport mode trunk
RS G8264(configif)# switchport trunk allowed vlan 4
RS G8264(configif)# exit
Each time you add a port to a VLAN, you may get the following prompt:
Port 4 is an untagged port and its PVID is changed from 1 to 3.
39 are configured as follows:
(Add ports to VLAN 1)
(Add ports to VLAN 2)
(Add ports to VLAN 3)
(Add ports to VLAN 4)
Chapter 26: Basic IP Routing
435