cisco Catalyst 9300 Series Switches — Configuring Port Channel Logical Interfaces for Layer 3 EtherChannels

Configuring Port Channel Logical Interfaces for Layer 3 EtherChannels To create a port channel interface for a Layer 3 EtherChannel, perform this task: Procedure Configuring MACsec Encryption Configuring Port Channel Logical Interfaces for Layer 3 EtherChannels Command or Action Purpose Step 5 switchport mode {access | trunk} Example: Device(config-if)# switchport mode access Assigns all ports as static-access ports in the same VLAN, or configure them as trunks. Step 6 end Example: Device(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode. 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/2 Enters interface configuration mode. Step 4 no switchport Example: Device(config-if)# no switchport Switches an interface that is in Layer 2 mode into Layer 3 mode for Layer 3 configuration. Step 5 ip address ip-address subnet-mask Example: Device(config-if)# ip address 10.2.2.3 255.255.255.254 Assigns an IP address and subnet mask to the EtherChannel. Step 6 end Example: Device(config-if)# end Exits interface configuration mode and returns to privileged EXEC mode.

Configuring MACsec Encryption 30