EtherChannel Configuration
An EtherChannel consists of individual Gigabit Ethernet or 10-Gigabit Ethernet links bundled into a single logical link as shown in Figure 1.
Figure 1: Typical EtherChannel Configuration
The EtherChannel provides full-duplex bandwidth up to 8 Gb/s (Gigabit EtherChannel) or 80 Gb/s (10-Gigabit EtherChannel) between one switch and another switch or host.
When setting up an EtherChannel connection, it is important to remember the following points; they can help to avoid problems during the configuration process:
EtherChannel can be configured in one of these modes: Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol (LACP) or On.
EtherChannel Modes | ||
Mode | Protocol | Description |
Auto | PAgP | Sets the interface to respond to PAgP negotiation packets, but the interface will not start negotiations on its own. |
Desirable | PAgP | Sets the interface to actively attempt to negotiate a PAgP connection. |
On | EtherChannel | Forces the connection to bring all links up without using a protocol to negotiate connections. This mode can only connect to another device that is also set to on. When using this mode, the switch does not negotiate the link using either PAgP or LACP. |
Active | LACP | Sets the interface to actively attempt to negotiate connections with other LACP devices. |
Passive | LACP | Sets the interface to respond to LACP data if it receives negotiation requests from other systems. |
In case if there are more links present in the LACP bundle, then the one with better priority will determine which ports to be inserted.
The basic process for configuring EtherChannel interfaces is as follows:
Switch1> enable
Switch1# configure terminal
Switch1(config)# interface range GigabitEthernet 0/11 – 12
Switch1(config-if-range)# switchport mode access
Switch1(config-if-range)# switchport access vlan 10
Switch1(config-if-range)# channel-group 5 mode desirable