What is the primary function of implementing port security on a network switch?
To increase the bandwidth available on the port
To encrypt data as it passes through the port
To filter and prioritize traffic based on TCP/IP protocols
To restrict the number of valid MAC addresses allowed on a port