A switch port can be configured to be a Layer 3 routed port and behave like a regular router interface. Specifically, a routed port:
- Is not associated with a particular VLAN.
- Can be configured with a Layer 3 routing protocol.
- Is a Layer 3 interface only and does not support Layer 2 protocol.
Configure routed ports by putting the interface into Layer 3 mode with the no switchport interface configuration command. Then assign an IP address to the port. That's it!
You will learn more about the functions of routing in the next chapter.