> For the complete documentation index, see [llms.txt](https://trepa-technologies.gitbook.io/networking-technologies-by-johnny-bandin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trepa-technologies.gitbook.io/networking-technologies-by-johnny-bandin/etherchannel-overview/etherchannel-layer-2-lacp-configuration.md).

# Etherchannel Layer 2 LACP Configuration&#x20;

### In this How To we will cover how to configure LACP for a Layer 2 Etherchannel on Cisco Catalyst switches.

<figure><img src="/files/NG21qXQHDseDtYSfuAmV" alt=""><figcaption><p>EVE-NG Network diagram</p></figcaption></figure>

* We will need to first bundle our interfaces into a port-channel

## Configuration

* First, we must go into global configuration mode and place our interfaces into a "**Channel-group**"

`SW1#configure terminal` # This command puts us in Global Config mode

`SW1(config)#interface range eth0/0 - 1` # This command will put you into the interface sub-configuration mode for multiple interfaces

`SW1(config-if-range)#channel-group 44 mode active` # This command will bundle the member interfaces into a port-channel using **LACP** negotiation to negotiate with the other side actively.

`SW1(config)#interface port-channel 44` # This command will put us into the port-channel sub-configuration mode

### All configurations should now be configured under the port-channel. The port-channel will then push the configuration down to the member interfaces.

`SW1(config-if)switchport trunk encapsulation dot1q` # This command will set the trunk to use the IEEE **802.1q** Encapsulation standard

`SW1(config-if)#switchport mode trunk` # This command will statically set the interface to **trunking** mode.

* The complete configuration for both switches is shown below

<figure><img src="/files/bnbQfEvIF6aYlToDCOi2" alt=""><figcaption><p>SW1 LACP configuration</p></figcaption></figure>

<figure><img src="/files/OMJo83TNvgOFxDUcLTJx" alt=""><figcaption><p>SW2 LACP configuration</p></figcaption></figure>

## Verification

* The following show commands will verify if the etherchannel is working properly.

`SW1#show etherchannel summary` # This command will show us if our Etherchannel is bundled and active.

<figure><img src="/files/NErC1jKlXw4ZpwDBZS0Z" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://trepa-technologies.gitbook.io/networking-technologies-by-johnny-bandin/etherchannel-overview/etherchannel-layer-2-lacp-configuration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
