I am using SSE_G24-TG4 network switch. I tested the following configuration:
SMIS#configure terminal
SMIS(config)#vlan 1
SMIS(config-vlan) #no ports gigabitethernet 0/2 untagged
SMIS(config-vlan) #exit
SMIS(config)#vlan 10
SMIS(config-vlan)#ports gigabitethernet 0/2 untagged
SMIS(config-vlan)#exit
SMIS(config)#interface vlan 10
SMIS(config-if)#ip address 192.168.20.1 255.255.255.0
SMIS(config-if)#no shutdown
I expected that a PC in the network 192.168.20.255/24 and connected to the switch port number 2 could ping the switch at the address 192.168.20.1, however I get no answer from the switch. Hope you can tell me what is wrong.
You have to set the port pvid for port gi 0/2 as vlan 10 as shown in below.
SMIS# config term
SMIS(config)# int gi 0/2
SMIS(config-if)# switchport pvid 10
This is required because untagged packets coming to interface gi 0/2 will be set with default pvid 1. Since this port is not part of vlan 1, the packets will be dropped.