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