Pcornel
Networking · Security › MACsec

Link Protection

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

Back to the Topic

Answer

MACsec link protection secures a link between two devices (switch-switch or host-switch) against eavesdropping, tampering and replay; traffic is decrypted at each hop.

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 mka sessions — secured
  • show macsec summary — protected interfaces

Commands

show macsec interface
Display MACsec status on interfaces.

Verify in this order

link → MKA → must-secure → encrypted

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=1545

Confirmation

Confirm action

Continue?