Overview
Defines MACsec policy exceptions as a mechanism to bypass encryption for designated packet types, allowing clear-text transmission to support interoperability and specific network topology requirements.
A MACsec policy exception is a mechanism within a MACsec security policy that
-
bypasses MACsec encryption or decryption for specific data packets,
-
allows these packets to be sent in clear-text format, and
-
supports interoperability scenarios and certain network topologies.
By default, a MACsec security policy uses the must-secure option, which mandates data encryption for all traffic. Specific commands can optionally bypass MACsec encryption or decryption, enabling certain packet types to be transmitted in clear text.
Within the macsec-policy configuration mode, the allow option is available to permit clear-text transmission for designated packet types.
| Feature / Behavior |
must-secure |
allow |
|---|---|---|
| Encryption enforcement | Required for all traffic | Mandatory except for packets explicitly allowed |
| Use case | Provides maximum security | Allows interoperability in mixed environments |
| Packet exceptions | Not permitted | Specific packet types can bypass encryption |
| Example commands | N/A | |
| Security level | Highest (no clear-text transmission) | Slightly reduced (clear text allowed for selected frames) |
MACsec policy exceptions
-
Using the
allow lacp-in-clearcommand to bypass MACsec for Link Aggregation Control Protocol (LACP) packets. This is beneficial in scenarios where bundles are terminated at an intermediate node and MACsec is enforced only at end nodes or when the remote node expects clear text. -
Using the
allow pause-frames-in-clearcommand to transmit Ethernet PAUSE frame packets in clear text.