 MACsec allows unauthorised LAN connections to be identified and excluded from communication within the network.In common with IPsec and TLS, MACsec defines a security infrastructure to provide data confidentiality, data integrity and data origin authentication.By assuring that a frame comes from the station that claimed to send it, MACSec can mitigate attacks on Layer 2 protocols.