Layer 2 switching uses devices' MAC addresses on a LAN to segment a network into multiple collision domains. Switches and bridges are used to break up one large collision domain into smaller ones. Switches have more ports than bridges and can inspect incoming traffic to make forwarding decisions based on destination MAC addresses, placing each port on its own collision domain.