MACsec policy exception
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.
Create a MACsec policy exception
Allow specific MACsec policy exceptions to enable or permit particular packet types in clear-text format.
Procedure
|
Step 1 |
Use the macsec-policy command to access the desired MACsec policy configuration by specifying the policy name. Example:
|
|
Step 2 |
Use the allow lacp-in-clear command to permit LACP packets in clear-text format. Example:
|
|
Step 3 |
Use the allow pause-frames-in-clear command to permit pause frames in clear-text. Example:
|
|
Step 4 |
Use the show running config command to confirm the policy exception. Example:
|
|
Step 5 |
Use the show macsec policy detail command to verify detailed MACsec policy status. Example:
|
The MACsec policy is updated to allow the specified packet exceptions in clear text, using the recommended allow commands for new configurations.

Feedback