Layer 3 EtherChannel Configuration Device 1 Device> enable Device# configure terminal Device(config)# interface port-channel 2 Device(config-if)# no switchport Device(config-if)# ip address 10.25.25.3 255.255.255.0 Device(config-if)# no shutdown Device(config-if)# end 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) LACP Te1/1/1(P) Te1/1/2(P) Etherchannel Mode: PAgP The following is a sample configuration on Device 1 and Device 2 with EtherChannel Mode as PAgP:
Device> enable Device# configure terminal Device(config)# key chain KC macsec Device(config-key-chain)# key 1000 Device(config-key-chain)# cryptographic-algorithm aes-128-cmac Device(config-key-chain)# key-string FC8F5B10557C192F03F60198413D7D45 Device(config-key-chain)# exit Device(config)# mka policy POLICY Device(config-mka-policy)# key-server priority 0 Device(config-mka-policy)# macsec-cipher-suite gcm-aes-128 Device(config-mka-policy)# confidentiality-offset 0 Device(config-mka-policy)# exit Device(config)# interface gigabitethernet 1/0/1 Device(config-if)# channel-group 2 mode desirable Device(config-if)# macsec network-link Configuring MACsec Encryption Example:
Configuring MACsec MKA for Port Channel Using PSK Configuring MACsec Encryption 44