No Switchport

This command will convert a Layer 2 port to Layer 3. So that this port can be assigned some ips.

Note: It will not deal with layer 2 traffic anymore and drop all the layer 2 traffic.

For example:

> config t
> int fastEthernet 0/0
> no switchport