Final note: Always verify that your GNS3 and IOS usage complies with your Cisco licensing agreement. Unauthorized distribution or use of IOS images is a violation of US copyright law and Cisco’s EULA.
For basic switching, you can use older router images (supported by Dynamips) and add a switching module. cisco 4500 switch ios download for gns3