To understand more clear, here is a basic etherchannel configuration scenario:

Here, two switches connected by four cable from their gigabit ethernet ports. We will bundle four of the physical link into one logical link.

1. First of all, we must create logical interface with “port-channel” command and assign it an ip address. Before assigning an ip address, it is important to change this port to a Layer 3 port by “no switchport” command.