Configuring Port Channel Logical Interfaces for Layer 2 EtherChannels To create a port channel interface for a Layer 2 EtherChannel, perform this task: Procedure Configuring MACsec Encryption Configuring Port Channel Logical Interfaces for Layer 2 EtherChannels Command or Action Purpose • on: Forces the port to channel without PAgP or LACP. In the on mode, an EtherChannel exists only when a port group in the on mode is connected to another port group in the on mode. • active: Enables LACP only if an LACP device is detected. It places the port into an active negotiating state, in which the port starts negotiations with other ports by sending LACP packets. • passive:
Enables LACP on the port and places it into a passive negotiating state in which the port responds to LACP packets that it receives, but does not start LACP packet negotiation. Step 9 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 port-channel channel-group-number Example: Device(config)# interface port-channel 1 Creates the port channel interface, and enters interface configuration mode.
Note Use the no form of this command to delete the port channel interface. Step 4 switchport Example: Device(config-if)# switchport Switches an interface that is in Layer 3 mode into Layer 2 mode for Layer 2 configuration. Configuring MACsec Encryption 29