s1(config)#----->modban kell kiadni vlan 10 S1(config-vlan)# name VLAN A exit vlan 20 S1(config-vlan)# name VLAN B exit vlan 30 S1(config-vlan)# name VLAN C exit interface fa0/1-8 S1(config-if)# switchport mode access switchport access vlan 10 exit interface fa0/9-16 S1(config-if)# switchport mode access switchport access vlan 20 exit interface fa0/17-24 S1(config-if)# switchport mode access switchport access vlan 30 exit