Device> enable Device# configure terminal Device(config)# mka defaults policy send-secure-announcements Device(config)# end This example shows how to configure EAPOL announcements on an interface: Device> enable Device# configure terminal Device(config)# interface GigabitEthernet 1/0/1 Device(config-if)# eapol announcement Device(config-if)# end The following is a sample output for the show running-config interface interface-name command with EAPOL announcement enabled:
Device# show running-config interface GigabitEthernet 1/0/1 switchport mode access macsec access-session host-mode multi-host access-session closed access-session port-control auto dot1x pae authenticator dot1x timeout quiet-period 10 dot1x timeout tx-period 5 dot1x timeout supp-timeout 10 dot1x supplicant eap profile peap eapol announcement spanning-tree portfast service-policy type control subscriber Dot1X The following is a sample output of the show mka sessions interface interface-name detail command with secure announcement disabled: Device# show mka sessions interface GigabitEthernet 1/0/1 detail MKA Detailed Status for MKA Session =================================== Status:
SECURED - Secured MKA Session with MACsec Local Tx-SCI............. 204c.9e85.ede4/002b Interface MAC Address.... 204c.9e85.ede4 MKA Port Identifier...... 43 Interface Name........... GigabitEthernet1/0/1 Audit Session ID......... CAK Name (CKN)........... 0100000000000000000000000000000000000000000000000000000000000000 Member Identifier (MI)... D46CBEC05D5D67594543CEAE Message Number (MN)...... 89567 EAP Role................. NA Key Server............... YES MKA Cipher Suite......... AES-128-CMAC Latest SAK Status........ Rx & Tx Latest SAK AN............ 0 Latest SAK KI (KN)....... D46CBEC05D5D67594543CEAE00000001 (1) Old SAK Status........... FIRST-SAK Old SAK AN...............
0 Old SAK KI (KN).......... FIRST-SAK (0) SAK Transmit Wait Time... 0s (Not waiting for any peers to respond) SAK Retire Time.......... 0s (No Old SAK to retire) MKA Policy Name.......... p2 Configuring MACsec Encryption Example: Configuring MACsec Cipher Announcement Configuring MACsec Encryption 47