Layer 2 switching breaks up collision domains by using MAC addresses to forward traffic through switches instead of hubs. Spanning Tree Protocol (STP) eliminates switching loops, while switches use ASICs and MAC address lookups to switch frames faster than routers. STP finds redundant links and designates root bridges, root ports, and forwarding ports to build a loop-free topology and transition ports between blocking and forwarding states during convergence.