How to configure a range of Cisco ports

  • enable
  • conf t
  • int range Gi0/1-44
  • switchport access vlan 16
In the place of 16 use the vlan that corresponds with the correct vlan you need.