Networking · Security
MACsec
Cheat sheet · https://pcornel.dk/topic.php?topic=771
Answer
MACsec protects Ethernet links with Layer-2 confidentiality, integrity and origin authenticity, commonly using 802.1AE with MKA key agreement.
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 summary— secured interfacesshow mka sessions— MKA sessions secured
Commands
show macsec interface- Display MACsec status on interfaces.
show mka sessions [detail]show macsec interface <int>show mka policyshow mka statisticsshow macsec summaryshow mka sessions
Verify in this order
MKA key agreement → SAK → encrypted frames
Where it usually breaks
physical/link dependency → local object state → peer/control state → policy → forwarding/adjacency → end-to-end result
MACsec · technical reference
| Layer | MACsec evidence |
|---|---|
| Key agreement | Peer/key relationship established |
| Secure channel | Protection association active |
| Counters | Frames protected/validated |
| Reachability | Separate Ethernet/IP/application evidence |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=771