The commands below has one port at a time but how do i configure multiple ports. I tried interface FA0/1-FA0/12 but im getting errors with that command.
Switch# configure terminal
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 2
Switch(config-if)# end