# Setup LACP Port Channel with different config

**URL:** <https://community.cambiumnetworks.com/t/setup-lacp-port-channel-with-different-config/96118>\
**Category:** Enterprise Wi-Fi Networks\
**Created:** [November 7, 2023, 10:29am UTC](https://community.cambiumnetworks.com/t/setup-lacp-port-channel-with-different-config/96118 "2023-11-07T10:29:54Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Jon\_McNamara](https://d10gw3vjmzyp8.cloudfront.net/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@Jon\_McNamara](https://community.cambiumnetworks.com/u/Jon_McNamara)\
**Post date:** [November 8, 2023, 6:46pm UTC](https://community.cambiumnetworks.com/t/setup-lacp-port-channel-with-different-config/96118/3 "2023-11-08T18:46:10Z")

</div>

> [@Jon\_McNamara](#):
>
> `switchport mode trunk`

Hi Gary, thanks for the pointer - all working as expected 🙂

I added in `switchport mode trunk` just under `interface port-channel 1` as it keeps setting to Hybrid and not working otherwise.

Can you clarify what the `!` does in the code? Is there a reference guide on the snippet CLI and what needs to be included/excluded?

I only ask as in [this](https://community.cambiumnetworks.com/t/configure-cnmatrix-to-connect-ip-phone/77848) post, it shows `config-terminal` and `end` is included. How do you know when/what to include or exclude?

---

_[View the full topic](https://community.cambiumnetworks.com/t/setup-lacp-port-channel-with-different-config/96118)._
