Pcornel
Networking · Security

MACsec

Cheat sheet · https://pcornel.dk/topic.php?topic=771

Back to the Topic

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 interfaces
  • show mka sessions — MKA sessions secured

Commands

show macsec interface
Display MACsec status on interfaces.
show mka sessions [detail]
show macsec interface <int>
show mka policy
show mka statistics
show macsec summary
show 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

LayerMACsec evidence
Key agreementPeer/key relationship established
Secure channelProtection association active
CountersFrames protected/validated
ReachabilitySeparate 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

Confirmation

Confirm action

Continue?