What is the primary role of a Layer 2 switch in a computer network?
It aggregates multiple network connections into a single virtual connection.
It uses MAC addresses to forward data and creates separate collision domains for each port.
It routes traffic between different IP subnets and creates separate broadcast domains for each port.
It operates as a wireless access point to connect devices to a local area network.