Cisco LACP trunk ports

Technical Information
Technical Information used Ask the Experts™
on
Hi

I need to setup two ports on my Cisco switch with lacp trunk ports. can someone advise on the commands.

I'm familiar with HP but not so much with Cisco.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Network Security Engineer
Distinguished Expert 2018
Commented:
You want to ether channel two ports on Cisco

Here is what you do:

SW1#conf t
SW1(config)#interface range f0/1-2
SW1(config-if)#switchport trunk encapsulation 802.1q
SW1(config-if)#switchport mode trunk
SW1(config-if)#channel-group 10 mode active
SW1(config-if)#end

SW1#conf t
SW1(config)#interface range f0/1-2
SW1(config-if)#switchport trunk encapsulation 802.1q
SW1(config-if)#switchport mode trunk
SW2(config-if)#channel-group 10 mode pasive
SW2(config-if)#end

If you want to see the result, execute this command:

SW1# show etherchannel summary
Great thanks, Did you mean Sw2 on the 2nd part?
Hemil AquinoNetwork Security Engineer
Distinguished Expert 2018

Commented:
You can run the command in both switches.
That is just for verification.
Thank,

I have more that 2 switches now. So more LACP trunks will need to be setup.

So if I run this on the 1st and 2nd Switches

SW1#conf t
SW1(config)#interface range f0/1-2
SW1(config-if)#switchport trunk encapsulation 802.1q
SW1(config-if)#switchport mode trunk
SW1(config-if)#channel-group 10 mode active
SW1(config-if)#end

SW2#conf t
SW2(config)#interface range f0/1-2
SW2(config-if)#switchport trunk encapsulation 802.1q
SW2(config-if)#switchport mode trunk
SW2(config-if)#channel-group 10 mode pasive
SW2(config-if)#end

And run this on the 2nd and 3rd switches

SW2#conf t
SW2(config)#interface range f0/3-4
SW2(config-if)#switchport trunk encapsulation 802.1q
SW2(config-if)#switchport mode trunk
SW2(config-if)#channel-group 11 mode active
SW2(config-if)#end

SW3#conf t
SW3(config)#interface range f0/3-4
SW3(config-if)#switchport trunk encapsulation 802.1q
SW3(config-if)#switchport mode trunk
SW3(config-if)#channel-group 11 mode pasive
SW3(config-if)#end

Would this work?
Hemil AquinoNetwork Security Engineer
Distinguished Expert 2018

Commented:
Yes.!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial