MACsec (IEEE 802.1AE MAC Security)
acronymnetworkingsecuritycryptography
Kept in this browser · My desk
Stands for: Media Access Control Security, specified by IEEE 802.1AE
IEEE 802.1AE MAC Security: hop-by-hop protection of Ethernet frames with integrity, data origin authenticity and optional encryption, keyed through the MACsec Key Agreement protocol of IEEE 802.1X.
The first edition dates from 2006; amendments added GCM-AES-256 (2011), extended packet numbering (2013) and Ethernet Data Encryption devices (2017), consolidated in 802.1AE-2018, with MAC Privacy Protection in 2023 and an Ascon cipher suite in draft. Juniper adds an 8-byte header and a 16-byte tail to each frame and drops any that fail the check; keys come from a pre-shared CAK on switch links or dynamically from 802.1X with EAP-TLS on switch-to-host links.
Against a device inserted on a cable, MACsec means it can neither read (with encryption on) nor inject frames that pass the integrity check. The limits are documented: Cisco's should-secure policy falls back to clear text with a non-MACsec peer while must-secure drops unencrypted traffic; protection stops at each point-to-point hop; VLAN tags travel in clear on Juniper logical interfaces; both ends need hardware support, and some cipher suites need extra licences. The IEEE's scope does not include availability.
Also known as: 802.1ae, ieee 802.1ae, mac security, media access control security
Sources
- IEEE 802.1 Working Group, 802.1AE: MAC Security (MACsec) (read 2026-11-17): physical access usually not practical to secure; connectionless confidentiality, integrity, data origin authenticity and privacy; MKA in 802.1X elects a Key Server that distributes SAKs; first edition 2006, 802.1AEbn-2011 (GCM-AES-256), 802.1AEbw-2013 (extended packet numbering), 802.1AEcg-2017 (Ethernet Data Encryption devices), 802.1AE-2018, 802.1AEdk-2023 (MAC Privacy Protection)
- Cisco, Security Configuration Guide, IOS XE Dublin 17.12.x (Catalyst 9300), Configuring MACsec Encryption, updated 28 July 2023 (read 2026-11-17 through WebFetch): MKA on switch-to-host links with the switch as key server; should-secure sends clear text to a non-MACsec peer, must-secure drops unencrypted packets except EAPOL; point-to-point only; default GCM-AES-128; 256-bit and XPN suites need the Network Advantage licence
- Juniper Networks, Understanding Media Access Control Security (MACsec), 9 June 2026 (read 2026-11-17): 8-byte header and 16-byte tail, frames failing integrity dropped; encryption optional; static CAK (pre-shared) for switch links, dynamic CAK from 802.1X with EAP-TLS for switch-to-host; VLAN tags not encrypted on logical interfaces; Juniper's claim that MACsec prevents most threats including man-in-the-middle and passive wiretapping
- IEEE 802.1 Working Group, 802.1X: Port-Based Network Access Control (read 2026-11-17): 802.1X specifies the MACsec Key Agreement protocol to protect Controlled Port communication with 802.1AE