Device 2 Device> enable Device# configure terminal Device(config)# interface port-channel 2 Device(config-if)# no switchport Device(config-if)# ip address 10.25.25.4 255.255.255.0 Device(config-if)# no shutdown Device(config-if)# end The following is a sample output from the show etherchannel summary command: Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use f - failed to allocate aggregator M - not in use, minimum links not met u - unsuitable for bundling w - waiting to be aggregated d - default port A - formed by Auto LAG Number of channel-groups in use: 1 Number of aggregators:
1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 2 Po2(RU) PAgP Te1/1/1(P) Te1/1/2(P) Displaying Active MKA Sessions The following example shows all the active MKA sessions. Device# show mka sessions interface Te1/0/1 =============================================================================== Interface Local-TxSCI Policy-Name Inherited Key-Server Port-ID Peer-RxSCI MACsec-Peers Status CKN ========================================================================================= Te1/0/1 00a3.d144.3364/0025 POLICY NO NO 37 701f.539b.b0c6/0032 1 Secured 1000 Example:
Configuring MACsec Cipher Announcement This example shows how to configure MKA policy for Secure Announcement: Device> enable Device# configure terminal Device(config)# mka policy mka_policy Device(config-mka-policy)# key-server 2 Device(config-mka-policy)# send-secure-announcements Device(config-mka-policy)# macsec-cipher-suite gcm-aes-128confidentiality-offset 0 Device(config-mka-policy)# end This example shows how to configure secure announcement globally: Configuring MACsec Encryption Example: Configuring MACsec Cipher Announcement Configuring MACsec Encryption 46