no switchport
To configure the interface as a Layer 3 Ethernet interface, use the no switchport command.
Command Modes
Usage GuidelinesYou can configure any Ethernet port as a routed interface. When you configure an interface as a Layer 3 interface, any configuration specific to Layer 2 on this interface is deleted.
If you want to configure a Layer 3 interface for Layer 2, enter the switchport command. Then, if you change a Layer 2 interface to a routed interface, enter the no switchport command.