To configure the port as switch port, use the command switchport in Interface Configuration Mode. Switch port-related commands are made available for the interface, only when the port is configured as switch port. The no form of the command resets the port as a router port. Only router port related commands are made available for the interface, when the port is configured as router port.
Interface Configuration Mode
iS5Comm(config-if)# switchport
iS5Comm(config-if)# no switchport