L3 Switch Configure Switch To Run As L2 Or L3

We can configure a L3 switch to run as a Layer 2 or Layer 3 switch.

To run as

  • L2 switch: use command switchport
  • L3 switch: use command no switchport

Example:

# config t
(config)# int fa0/44
(config-if)# no switchport
(config-if)# ip add 192.168.55.1 255.255.255.0
# show run int fa0/44