What Is a Switch?

How Does a Switch Work?

  1. Receives a Frame: A switch operates at Layer 2 (Data Link Layer) and uses MAC addresses.
  2. Checks Its MAC Table: It checks its internal MAC table to find the port associated with the destination MAC address.
  3. Forwards the Frame: Sends the frame only to the specific port (unlike a hub, which broadcasts to all devices).

Key Features of a Switch:

Example: