In a network surveillance installation, the primary purpose of a switch is to forward the video stream to the correct receiver within a network. This functionality ensures that the video data captured by cameras is correctly directed to the appropriate storage device, monitoring station, or viewing client within the local network. Switches operate at the data link layer (Layer 2) of the OSI model and utilize MAC addresses to ensure that data packets reach their intended destination efficiently.