A logical switch has multiple switch ports. Entities such as routers, VMs, or containers can connect to a logical switch through the logical switch ports.