cisco Catalyst 9300 Series Switches — Configuring Cisco TrustSec Switch-to-Switch Link Security in Manual Mode

Procedure Configuring Cisco TrustSec MACsec Configuring Cisco TrustSec Switch-to-Switch Link Security in Manual Mode Before you begin When manually configuring Cisco TrustSec on an interface, consider these usage guidelines and restrictions: • If no SAP parameters are defined, Cisco TrustSec encapsulation or encryption is not performed. • If you select GCM as the SAP operating mode, you must have a MACsec Encryption software license from Cisco. If you select GCM without the required license, the interface is forced to a link-down state. • These protection levels are supported when you configure SAP pairwise master key (sap pmk): • SAP is not configured: no protection.

sap mode-list gcm-encrypt gmac no-encap : protection desirable but not mandatory. sap mode-list gcm-encrypt gmac : confidentiality preferred and integrity required. The protection is selected by the supplicant according to supplicant preference. sap mode-list gmac : integrity only. Configuring MACsec Encryption Configuring Cisco TrustSec MACsec Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface interface-id Example:

Device(config)# interface gigabitethernet 1/0/1 Identifies the MACsec interface, and enters interface configuration mode. The interface must be a physical interface. Step 4 eapol annoucement Example: Device(config-if)# eapol announcement Enables EAPOL announcements. Use the no form of the command to disable EAPOL announcements. By default, EAPOL announcements are disabled. Step 5 end Example: Device(config-if)# configure terminal Exits interface configuration mode and returns to privileged EXEC mode. Configuring MACsec Encryption 33