cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1162
Views
0
Helpful
13
Replies

Configuring lacp port channeling

Fabri_Fabri
Level 1
Level 1

Hi,

I am trying to configure LACP through 2 Cisco switches 2960s.

This is my configuration:

SW1 & SW2

===========================

interface GigabitEthernet1/0/47
 description PORT_CHANNEL
 switchport access vlan 9
 speed 1000
 duplex full
 channel-protocol lacp
 channel-group 1 mode active
!
interface GigabitEthernet1/0/48
 description PORT_CHANNEL
 switchport access vlan 9
 speed 1000
 duplex full
 channel-protocol lacp
 channel-group 1 mode active

===========================

Will active on both sides be ok ?

 

Right now port-channel is configured this way:

interface Port-channel1
 description PC1
!

Does port-channel interface need to be configured regarding switchport and/or speed and/or duplex or is it related only to physical ports ?

Any help appreciated. Best regards.

13 Replies 13

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Will active on both sides be ok ?

Yes, both sides can be configured as active

Does port-channel interface need to be configured regarding switchport and/or speed and/or duplex or is it related only to physical ports ?

You don't need to configure the Portchannel with speed and duplex, but you need to configured it as access or trunk.

 

HTH

 

 

Hi Reza, thanks for reply.

Do you think that this configuration will work ?

interface Port-channel1
 description PC1
 switchport access vlan 9
!

or this one is better ?

interface Port-channel1
 description PC1
 switchport mode access
 switchport access vlan 9
!

I also plan to set up both physical ports configuration and port-channel configuration the same way on both switches. Is it correct ?

Do you see any other errors in this config ?

Best regards.

use this config

interface Port-channel1
 description PC1
 switchport mode access
 switchport access vlan 9

 

interface GigabitEthernet1/0/48
 description PORT_CHANNEL
 switchport access vlan 9
 speed 1000
 duplex full
 channel-group 1 mode active

it should work fine on all switches.

HTH

Can I ask you why you removed this line:

channel-protocol lacp

?

Is it implicitly activated using "active" ?

Thanks.

Correct.  That is on optional command and the switch already knows what protocol you are using (in this case LACP) when you issue

channel-group 1 mode active

HTH

 

Thank you Reza, your help is greatly appreciated.

Hi,

turns out that DUPLEX FULL causes link to not work. I mean Layer1: sh interface reported link gi1/0/48 id down: line protocol is down.

Turning off duplex to auto on both sides immediately connected the links.

It is pretty strange isn't it ?

Last question: portchannel interface has to be access or trunk ? I need only 1 vlan.

Thanks.

 

satishpadhy
Level 1
Level 1

i also similar problem , i m trying to connect 3945 router with HP Switch. router gives when mode active used

 

interface Port-channel1
 no ip address
 hold-queue 150 in
!
interface Port-channel1.255
 encapsulation dot1Q 255 native
 ip address 191.168.1.1 255.255.255.0

interface GigabitEthernet0/0

description Uplink to <Switch name> Gig1/0/x

no ip address

duplex full

speed 1000

channel-group 1 mode active

 

interface GigabitEthernet0/1

description Uplink to <Switch name> Gig2/0/x

no ip address

duplex full

speed 1000

channel-group 1 mode active

What is the problem you face with it?

mode active doesn't take the command hence port channels are not working.
 

I m not from the routing team, but i have a feeling if the command is not accepted , then it may be that you don't have the required license for that.  But i am not 100% sure.

 

As a work around you may configure it as mode "ON" .

Madhu.

 

actually no option either for mode active or ON. Does 3945 supports LACP ?

 

(config-if)#channel-group 1 on
                                      ^
% Invalid input detected at '^' marker.

 

Review Cisco Networking products for a $25 gift card