Layer 3 switch with routing function. Method 1: See a VLAN and assign an IP address to it. Method 2: Disable the switching function for ports connected to another Layer 3 switch, router, or firewall, and assign an Ip address to the port. Then configure the routing protocol.