Last I know (just earlier this year), there are still no native L-3 switch support on GNS3. You will have to use one of the supported routers with an ESW module to emulate an L-3 switch. But then, the ESW is basically an L-2 switch module having L-2 switchports which are not routed ports.

For the ESW ports to emulate a routed port, you will need to create VLANs and assign individual switchports to it. If you're particular with switch behavior, you won't be able to address certain IOS nuances.