02-07-2009 08:19 PM - edited 03-06-2019 03:55 AM
Provide step by step how to configure Etherchannel(LACP)
02-07-2009 09:15 PM
Hi
First make sure that the ports u want to use in the etherchannel are having indentical configs and after that.
for eg.
switch#conf t
switch(config)#interface range f0/1 - 2
switch(config-if)#switch port mode trunk
switch(config-if)#switchport truk encap dot1q
switch(config-if)#channel-group 1 mode active
this should be done on both the switches.
Thanks
Mahmood
02-07-2009 10:25 PM
there's a missing config line to be added here:
Switch(config-if)#channel-protocol lacp
02-08-2009 06:07 AM
The channel protocol lacp is not absolutely needed it knows when you add channel-group x mode active that it is lacp . I don't know why they have that separate command , maybe someone else can chime in why thats even there .
02-08-2009 12:54 AM
Hello Vinoth,
here is a reference to chapter on config guide for c3750
I recommend if you need a trunk to provide an explicit list of needed vlans on the trunk with
switchport enc dot1q
swichport mode trunk
switchport trunk allowed vlan x,y,z-k,w
the same list has to be configured on both ends and on every member link.
John:
Actually in newer releases the command to specify the protocol used looks like not necessary anymore for example in the document I've linked.
However, it shouldn't hurt and I agree it is necessary on older versions of code
Hope to help
Giuseppe
02-08-2009 05:59 PM
Ok guys this is the simply explanation.
Pagp is Cisco proprietary. Port aggregation Protocol
Lacp is industry standard. Link aggregation protocol.
to enable PAGP
Go to the interfaces say i decide to group two interfaces together
Int range fa0/1 - 2
channel-group 1 mode ? (auto or desirable)
channel protocol pagp (Technically this command is not needed because the switch knows immediatelly from the previous command you are using Cisco PAGP protocol that has only auto or desirable)
to enable LACP
Int range fa0/1 - 2
channel-group 1 mode ? (active or passive)
channel protocol LACP (Technically this command is not needed because the switch knows immediately from the previous command you are using Cisco LACP protocol that has only active or passive)
Now I personally stay away from anything auto (If you want something done do it Hard code the thing). Personal choice. Alright auto on somethings are good at times.
Int range fa0/1 - 2
channel-group 1 mode on
Rules.
All ports must have identical configurations.
example.
Int range fa0/1 - 2
duplex full
speed 100
trunk or access ports
Now am sure we know that the opposite side must be configured the same way. For LACP Passive, active will form channel. You guessed it desirable and on will work not the other way round.
Pls Rate if this helps.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: