Skip to main content
ManualsDex
Cisco Original PDF 38 Pages310 KB Troubleshooting & Error Codes ↓

Cisco IE3x00 MACsec and the MACsec Key Agreement Protocol User Guide

Models:IE3x00
Category:IE3x00 MACsec and the MACsec Key Agreement Protocol
Download PDF (310 KB)

Document viewer

38 Pages · 310 KB · Cisco official PDF

Troubleshooting & error codes

Extracted diagnostic sections from the manufacturer manual

Diagnostic guide

Prerequisites for MACsec Encryption

Prerequisites for MACsec Encryption:

Ensure that 802.1x authentication and AAA are configured on your device.

Configuring MKA and MACsec — Default MACsec MKA Configuration

No MKA policies are configured.

MKA-PSK: CKN Behavior Change

To interoperate with Cisco switches running Classic Cisco IOS, the CKN configuration must be zero-padded.

From Cisco IOS XE Everest Release 16.6.1 onwards, for MKA-PSK sessions, instead of fixed 32 bytes, the Connectivity Association Key name (CKN) uses exactly the same string as the CKN, which is configured as the hex-string for the key.

Example configuration: configure terminal key chain KEYCHAINONE macsec key 1234 cryptographic-algorithm aes-128-cmac key-string 123456789ABCDEF0123456789ABCDEF0 lifetime local 12:21:00 Sep 9 2015 infinite For the above example, following is the output for the show mka session command: MACsec and the MACsec Key Agreement (MKA) Protocol MACsec and the MACsec Key Agreement (MKA) Protocol How to Configure MACsec Encryption Note that the CKN key-string is exactly the same that has been configured for the key as hex-string.

For interoperability between platforms running IOS XE and platforms running classic IOS, one having the CKN behavior change and one without the CKN behavior change, the hex-string for the key must be a 64-character hex-string padded with zeros to work on a device that has an image with the CKN behavior change.

Manual overview & contents

Cisco · 38 Pages

Official 38-page Cisco documentation (310 KB PDF) covering model IE3x00. Key sections include Certificate Based MACsec, Limitations and Restrictions, MKA Policies, Single-Host Mode, MKA Statistics.

This chapter contains the following sections: - MACsec and the MACsec Key Agreement (MKA) Protocol, on page 1 - Certificate Based MACsec , on page 2 - MKA Policies, on page 2 - Single-Host Mode, on page 2 - MKA Statistics, on page 3 - How to Configure MACsec Encryption, on page 8 MACsec and the MACsec Key Agreement (MKA) Protocol MACsec is the IEEE 802.1AE standard for authenticating and encrypting packets between two MACsec-capable devices. The switch supports 802.1AE encryption with MACsec Key Agreement (MKA) on downlink ports for encryption between the switch and host devices.

Sections inside this manual

Page numbers for quick lookup in the PDF
  1. Certificate Based MACsecp. 2
  2. Limitations and Restrictionsp. 2
  3. MKA Policiesp. 2
  4. Single-Host Modep. 2
  5. MKA Statisticsp. 3
  6. How to Configure MACsec Encryptionp. 8
  7. Prerequisites for MACsec Encryptionp. 8
  8. Configuring MKA and MACsecp. 8
  9. Default MACsec MKA Configurationp. 8
  10. MKA-PSK: CKN Behavior Changep. 8
  11. Configuring an MKA Policyp. 10
  12. Configuring MACsec on an Interfacep. 11

Extracted manual text

MACsec and the MACsec Key Agreement (MKA)

Protocol

This chapter contains the following sections:

MACsec and the MACsec Key Agreement (MKA) Protocol, on page 1
Certificate Based MACsec , on page 2
MKA Policies, on page 2
Single-Host Mode, on page 2
MKA Statistics, on page 3
How to Configure MACsec Encryption, on page 8 MACsec and the MACsec Key Agreement (MKA) Protocol MACsec is the IEEE 802.1AE standard for authenticating and encrypting packets between two MACsec-capable devices. The switch supports 802.1AE encryption with MACsec Key Agreement (MKA) on downlink ports for encryption between the switch and host devices. The MKA protocol provides the required session keys and manages the required encryption keys.

On the ESS-3300, MACsec is supported on 1 gigabit ethernet downlink ports only.

MACsec and MACsec Key Agreement (MKA) are implemented after successful authentication using certificate-based MACsec or Pre Shared Key (PSK) framework.

You can control the behavior of unencrypted packets on an interface when MACsec is enabled by using the command macsec access-control {must-secure | should-secure}. When MACsec is enabled on an interface, all interface traffic is secured by default (that is, must-secure is the default setting). The macsec access-control must-secure setting does not allow any unencrypted packets to be transmitted or received from the same physical interface. Traffic is dropped until the MKA session is secured. However, to enable MACsec on selected interfaces, you can choose to allow unencrypted packets to be transmitted or received from the same physical interface by setting macsec access-control to should-secure. This option allows unencrypted traffic to flow until the MKA session is secured. After the MKA session is secured, only encrypted traffic can flow.

For configuration details, see Configuring MACsec MKA on an Interface using PSK, on page 15.

MACsec and the MACsec Key Agreement (MKA) Protocol

The Certificate based MACsec Encryption feature uses 802.1X port-based authentication with Extensible Authentication Protocol – Transport Layer Security (EAP-TLS) to carry Certificates for ports where MACsec encryption is required. EAP-TLS mechanism is used for the mutual authentication and to get the Master Session Key (MSK) from which the Connectivity Association Key (CAK) is derived for the MACsec Key Agreement (MKA) protocol.

This feature allows keys to be managed at a centralized server (CA) over PSK (Pre-Shared Key) based MACsec.

Switch to switch MACsec is supported. See Configuring Certificate Based MACsec, on page 16 for more information.

Limitations and Restrictions

Certificate based MACsec has these limitations and restrictions:

Ports should be in access mode or trunk mode.
MKA is not supported on port-channels.
High Availability for MKA is not supported.
Ports with no switchport are not supported.

Frequently asked questions

Which models are covered by this Cisco manual?

This manual applies to: IE3x00.

What topics are covered in the Cisco IE3x00 MACsec and the MACsec Key Agreement Protocol User Guide?

This 38-page manual covers: MACsec and the MACsec Key Agreement (MKA) Protocol, Certificate Based MACsec, MKA Policies, Single-Host Mode, MKA Statistics, How to Configure MACsec Encryption.

Does this manual include troubleshooting or error codes?

Yes, troubleshooting and fault information (Default MACsec MKA Configuration) is included inside the manual.

More manuals from Cisco

View all →
Download (310 KB)