Monday, December 20, 2010

How to create Etherchanel between two switches?

How to create etherchannel between two switches?
First, lets see what mode each protocol supports:

PAgP
LACP
Notes:
On
On
All ports channeling, no negotiation packets send
Auto
Passive
Waits to channel until asked
Desirable
Active
Actively asks to form a channel


Switch1:
1.       Add two interfaces, Fa0/3 and Fa0/4 to the etherchannel on Switch1:
Switch1#config t
Switch1(config)#interface range Fa0/3 – 4
2.       Choose protocol:
Switch1(config-if-range)# channel-protocol LACP
3.       Choose group and mode based on the protocol, see above table:
Switch1(config-if-range)#channel-group 1 mode active
Creating a port-channel interface Port-channel 1
Switch2:
1.       Add two interfaces, Fa0/3 and Fa0/4 to the etherchannel on Switch2:
Switch2#config t
Switch2(config)#interface range Fa0/3 – 4
2.       Choose protocol:
Switch2(config-if-range)# channel-protocol LACP
3.       Choose group and mode based on the protocol, see above table:
Switch1(config-if-range)#channel-group 1 mode passive (make sure mode is not Active)
Creating a port-channel interface Port-channel 1
Here are some basic commands to check the etherchannel status:
show etherchannel summary   shows etherchannel status on each member port
show etherchannel port             shows etherchannel status on each member port
show etherchannel detail          shows detailed status of each component
show <pagp|lacp> neighbor     shows Etherchannel neighbor on each port

No comments:

Post a Comment