VLAN Range of interfaces to a single VLAN

example
CoreSW(config)#interface range gigabitEthernet 1/0/25-28
CoreSW(config-if-range)#switchport access vlan 90
CoreSW(config-if-range)#switchport mode access
CoreSW(config-if-range)#exit
CoreSW(config)#exit
CoreSW#wr
Building configuration…
[OK]