MACsec configuration in ACI Fabric

Create MACsec Fabric parameters policy

Navigate to Fabric > Fabric Policies > Policies > Macsec right click on Parameters and click Create MACsec Fabric Parameter Policy:

Cipher suite:

  • 128 bit GCM-AES Suite
  • 256 bit GCM-AES Suite
  • 128 bit GCM-AES Suite with Extended Packet Numbering
  • 256 bit GCM-AES Suite with Extended Packet Numbering

The default is 256 bit GCM-AES Suite with Extended Packet Numbering.

The replay window size: it provides replay protection. Frames are accepted out-of-order within the designated window size. The range is from 0 to 4294967295. The default window size is 64.

Security Policy:

The MACsec security policy options:

  • Must Secure Mode: Allows only encrypted traffic on the link.
  • Should Secure Mode: Allows both clear and encrypted traffic on the link.

Before deploying MACsec in Must Secure Mode, the keychain must be deployed on the affected interface or the interface will go down.

Secure Association Key Expiry Time: The time (sec) after which the security association key will expire. The value can be disabled, or a range from 60 to 2592000. A value of disabled means that the security association key will never expire.


Create a MACsec Keychain Policy

Create a keychain policy and configure Key name and PSK:

Key NameUsed by MKA to determine which PSK was used for encrypting a received packet (up to 64 hexadecimal characters). The name must match the peer port definition.
Pre-Shared KeyGenerates the key use for encrypting/decrypting the data packet (up to 64 hexadecimal characters). The name must match the peer port definition.
Start TimeDetermines when the key entry should become valid.
End TimeDetermines when the key entry is no longer valid.


Create MACsec Fabric Interface Policy

Specify the previously created MACsec parameters and keychain policies:


Apply the MACsec Interface policy under Fabric interface policy group:

Bilel-A

Enthusiastic Network Engineer specializing in Cisco ACI, passionate about solving challenges. A lifelong learner who loves gaining and sharing knowledge. Profile: https://www.linkedin.com/in/bilel-ameur-71116b2b5
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x