📖 What is Switch?
A network switch is a Layer 2 device that forwards data packets between devices on a network. Utilizing MAC addresses, it learns and maintains a forwarding table to efficiently direct traffic only to the intended recipient, improving network performance and security compared to hubs.
"Understand the difference between a switch and a hub. Switches operate at Layer 2 (Data Link) and use MAC addresses for forwarding. Exam questions frequently test your ability to differentiate between Layer 2 and Layer 3 devices and their respective functions."
📚 Certification: CompTIA A+ Certification Exam Core 1 (220-1101)
🔑 What are the Key Concepts of Switch?
- ▸ Switches build and maintain a MAC address table, dynamically learning which MAC addresses are connected to each port for efficient data forwarding.
- ▸ Unlike hubs, switches provide dedicated bandwidth to each port, preventing collisions and improving overall network performance.
- ▸ Managed switches offer advanced features like VLANs, QoS, and port mirroring, allowing for network segmentation and traffic prioritization.
- ▸ Switches operate at Layer 2 of the OSI model, using MAC addresses for forwarding decisions, while routers operate at Layer 3 using IP addresses.
- ▸ Understanding port security features, like MAC address filtering, is crucial for preventing unauthorized access to the network.
🎯 How does Switch appear on the 220-1101 Exam?
You may be asked to identify the device best suited for connecting multiple computers in a small office network, differentiating between a switch, hub, and router.
A scenario might describe network performance issues due to collisions; determine whether upgrading from a hub to a switch would resolve the problem.
Expect questions about troubleshooting connectivity issues, including verifying MAC address table entries and identifying port conflicts on a switch.
❓ Frequently Asked Questions
What is the difference between a managed and unmanaged switch?
Unmanaged switches are plug-and-play, requiring no configuration. Managed switches offer configuration options like VLANs and QoS, providing greater control and security but requiring setup.
How does a switch handle a packet destined for a MAC address it doesn't know?
If the destination MAC address isn't in the table, the switch floods the packet to all ports except the originating port, learning the address when a response is received.
Can a switch be used to connect different network segments?
While a switch connects devices within a network, VLANs on a managed switch can logically segment the network, effectively creating separate broadcast domains.