A switch in a Local Area Network (LAN) is a hardware device that connects multiple devices through a process known as Switching which happens at the Data Link Layer (Layer 2) of the OSI layer. Data Link layer is where a system starts placing data in the transmission medium (wired or wireless) by adding a…