Networking · Security › MACsec
Layer 2 Encryption
Cheat sheet · https://pcornel.dk/topic.php?topic=1543
Answer
MACsec (IEEE 802.1AE) encrypts Ethernet frames hop by hop on a link, using AES-GCM with keys negotiated by MKA, so traffic on the wire cannot be read.
Remember
- Each hop/link is protected separately; MACsec is not end-to-end across ordinary transit devices
- MKA establishes secure channels and associations
- Cipher suite, policy, key/identity and replay settings must agree
- Overhead affects effective frame size and platform capacity.
First checks
show macsec interface <interface>— cipher (GCM-AES-128/256)show mka sessions detail— keys
Commands
show mka sessionsshow macsec summaryshow macsec interface Te1/1/1show mka sessions ... detail
Verify in this order
frame → GCM-AES encrypt → link → decrypt
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=1543