Home > EtherChannel Tutorial

EtherChannel Tutorial

January 17th, 2014 Go to comments

EtherChannel Configuration

To assign and configure an EtherChannel interface to an EtherChannel group, use the channel-group command in interface mode:

channel-group number mode { active | on | {auto [non-silent]} | {desirable [non-silent]} | passive}

For example we will create channel-group number 1:

Switch(config-if)#channel-group 1 mode ?

active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected

If a port-channel interface has not been created before using this command, it will be created automatically and you will see this line: “Creating a port-channel interface Port-channel 1″.

In this example, we will create an EtherChannel via LACP between SwA & SwB with the topology shown below:

EtherChannel_Switch_configuration.jpg

SwA Configuration SwB Configuration
//Assign EtherChannel group 1 to fa0/0 and fa0/1 and set Active mode on them
SwA(config)#interface range fa0/0 – 1
SwA(config-if-range)#channel-group 1 mode active
Creating a port-channel interface Port-channel 1
//Next configure the representing port-channel interface as trunk
SwA(config)#interface port-channel 1
SwA(config-if)#switchport trunk encapsulation dot1q
SwA(config-if)#switchport mode trunk
//Assign EtherChannel group 2 to fa0/5 and fa0/6 and set Passive mode on them
SwB(config)#interface range fa0/5 – 6
SwB(config-if-range)#channel-group 2 mode passive
Creating a port-channel interface Port-channel 2
//Next configure the representing port-channel interface as trunk
SwB(config)#interface port-channel 2
SwB(config-if)#switchport trunk encapsulation dot1q
SwB(config-if)#switchport mode trunk

That is all the configuration for the EtherChannel to work well on both switches. We can verify with the “show etherchannel <port-channel number> port-channel” or “show etherchannel summary” command.

SwA# show etherchannel 1 port-channel  
     Port-channels in the group:   
     ----------------------------
 Port-channel: Po1
 Age of the Port -channel   = 0d:00h:02m:37s 
 Logical slot/port   = 2/1          Number of ports = 2 
 GC                  = 0x00010001      HotStandBy port = null  
 Port state          = Port-channel Ag -Inuse  
 Protocol            =   LACP
 Port security       = Disabled  
  
 Ports in the Port-channel:  
  
 Index   Load   Port     EC state        No of bits  
 ------+------+------+------------------ +----------- 
   0     00     Fa0/0    Active                  0  
   0     00     Fa0/1    Active                  0  
  
 Time since last port bundled:    0d:00h:02m:27s    Fa0/1

The “show etherchannel number port-channel” command can be used to display information about a specific port channel (in this case port-channel 1). From the command above we can see Port-channel 1 consists of Fa0/0 & Fa0/1 and they are in Active state.

 SwA# show etherchannel summary
Flags:  D  - down        P - bundled in port-channel 
          I - stand -alone s  - suspended 
          H - Hot -standby (LACP only) 
          R - Layer3      S - Layer2 
          U - in use      f - failed to allocate aggregator 
  
          M - not in use, minimum links not met  
          u - unsuitable for bundling  
          w - waiting to be aggregated 
          d - default port 
  
 Number of channel-groups in use: 1 
 Number of aggregators:           1 
  
 Group  Port-channel  Protocol    Ports 
 ------+------------- +-----------+-----------------------------------------------  
 1      Po1(SU)         LACP      Fa0/0(P)   Fa0/1(P) 

The “show etherchannel summary” can be used to simply display one line of information per port-channel. In this case we learn from the last line that Group 1 uses LACP. This is a Layer 2 EtherChannel (symbolized by “SU”, in which “S” means “Layer2″ & “U” means this port-channel is up.

EtherChannel Load-Balancing

EtherChannel load-balances traffic among port members of the same channel. Load balancing between member interface is based on:
+ Source MAC address
+ Destination MAC address
+ Source IP Address
+ Destination IP Address
+ Combinations of the four

Note: Some old switch/router flatforms do not support all the load-balancing methods above.

To configure load-distribution method, use the command port-channel load-balance under global configuration mode. For example to load-balance based on destination MAC use the command:

Router(config)#port-channel load-balance dst-mac

How the router/switch load-balances traffic among member interface is out of the scope of this article. For more information about EtherChannel load-balancing please visit http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094714.shtml#topic1.

Comments (48) Comments
  1. Asma
    February 2nd, 2014

    hello, is there any question about etherchannel? I’m taking my ccna exam this week and I didn’t find questions in this topic on 9tut!!!!!! HELP

  2. 9tut
    February 3rd, 2014

    @Asma: There is only 2 EtherChannel questions that were reported and you can read here: http://www.9tut.com/new-ccna-new-questions-2

  3. Asma
    February 3rd, 2014

    Thanks a lot :) I didn’t notice them!
    I’m taking my exam tomorrow, I wish myself success

  4. Vinayak
    February 24th, 2014

    Hi!! Where can I download questions for 200-120??

  5. Hao
    March 8th, 2014

    SwA(config-if)#switchport trunk encapsulation dot1q
    This command seems not able to type in on 2960 or older switches. It can be put in on 3560 switch.

  6. Anand
    March 10th, 2014

    1st enable trunk and then try for switchport trunk encapsulation dot1q

    switchport mode trunk
    switchport trunk encapsulation dot1q

  7. shan3
    March 10th, 2014

    9tut is wat u need to go over but you must have understanding about how it all work . Labs were eigrp and acl . Theres alot of play on th wording so b carefull all the best

  8. \Wind
    March 17th, 2014

    Hi 9tut, longtime no see \;0
    About Link Aggregation Protocol (LACP), I search and found it is Link Aggression Control Protocol and I think it is matcher, would you please confirm it.
    Thank you!

  9. 9tut
    March 17th, 2014

    @Wind: It is Link Aggregation Control Protocol (LACP) in fact.

  10. Anonymous
    March 25th, 2014

    Hi there to everyone, please will be very greatly someone can help me with latest ccna questions. And some tips. preparing to take my exams next month.
    Tnks .

    samtextop@gmail.com

  11. Anonymous
    April 8th, 2014

    gd content to understand

  12. Vidhun Sahayaraj
    April 28th, 2014

    Simply the best to understand. :)

  13. Harsha
    May 30th, 2014

    Hi,

    I configured static etherchannel using two links f1/7 and f1/8 between two switches. My switch showing it doesnt have either active or auto modes. I dont know why.

    I can reach one switch to other switch even if I shutdown f1/7, but when I shutdown f1/8 then they are not able to communicate. Could you please guide me?

    Thank you

  14. kashish
    June 6th, 2014

    hi. I am taking the ccna exam next month. can someone please help me with the latest questions and braindumps.

    kashish.vazirani@hotmail.com

  15. Alex
    July 17th, 2014

    hi. I am taking the ccna exam next month. can someone please help me with the latest questions and braindumps valid. alexandrodvd8@gmail.com

  16. Sandy6933
    August 9th, 2014

    Nice info.

    Keep writing :)

  17. Anonymous
    August 14th, 2014

    Today i’ve passed exam, thanks for 9tut

  18. Ilkhom
    August 14th, 2014

    Today i’ve passed exam, i’ve learned a lot of things. Thanks for 9tut

  19. Suriya
    August 23rd, 2014

    its very usefull.Thank you

  20. confused
    September 6th, 2014

    hi,had a question about etherchannel ip addressing.where do you configure the ip address on an etherchannel?

  21. RouterHound
    September 12th, 2014

    Q. Network admin creates a layer 3 Etherchannel, bounding 4 interfaces into channel group 1. On what interface is the IP address configured?

    A. the port-channel 1 interface

  22. Mason
    September 13th, 2014

    In above EtherChannel configuration. I think both side should be same group, but you named a side channel-group 1 and other side channel-group 2 ???
    Am I right?

  23. 9tut
    September 13th, 2014

    @Mason: You can use different channel-group on two sides. There is no problem with that config.

  24. Anonymous
    September 13th, 2014

    if any one need latest dumps send us a working g mail id with password on
    game.rose@hotmail.com

  25. Anonymous
    September 14th, 2014

    pls send the latest ccna dumps … am going to write the exam by this month… hemnath25@yahoo.com

  26. Anonymous
    September 15th, 2014

    plz send the latest ccna dumps… I am going to write the exam on 29th sep.

    shruthichowta0707@gmail.com is my mail id

  27. Anonymous
    September 17th, 2014

    Please send the ccna dumps … I’m taking exam 23 Sept. rasade1z@gmail.com is my mail id.

  28. Anonymous
    September 20th, 2014

    Hi. May you pliz send me latest dumps on byronmakari@gmail.com

  29. Chris
    September 21st, 2014

    Hi. can anyone please send me the latest dumps at hammysdomain@gmail.com. Thanks

  30. Anonymous
    September 21st, 2014

    this site is great . I have learned a lot

  31. Hi all
    October 2nd, 2014

    I passed ccna on 29 th sep.Scored 978!!!
    All Q came fom 9tut and bain dumps, Watson.Except Following this Multiple Q asked based given on LAB scenario.1 fom Eigrp and Ospf…Practice all troubleshooting commands and concepts,.All the best

  32. dra
    October 16th, 2014

    a pass the exam today.it has a new question about EtherChannel .
    what does not need to mach on en EtherChannel? (something like this) and the options was: a)speed b)duplex c)Trunking Encapsulation d)DTP trunking —the good answer has d

  33. aaaaaaa
    October 17th, 2014

    this site is great

  34. anyanwu
    October 23rd, 2014

    Good day all. please I am taking the ccna exam next month. can someone please help me with the latest questions and braindumps. dan4ifeoma@gmail.com

    thanks

  35. Samuel
    October 26th, 2014

    Hi please can someone send me the latest dump through arrosare@yahoo.com

  36. Raya
    November 13th, 2014

    Please send the CCNA dumps through raya_aladwan_91@yahoo.com

  37. pratik
    November 20th, 2014

    pls send me latest dumps @ pvd_rocks@yahoo.co.in

  38. pratik
    November 20th, 2014

    of ccna

  39. johnjm
    January 2nd, 2015

    can you provide the latest brain dumps please

  40. johnjm
    January 2nd, 2015

    my email is johnjm66@gmail.com

  41. Noah
    January 11th, 2015

    Thanks all, can someone send me the latest brain dumps to fawatt2000@yahoo.com

  42. govi
    January 12th, 2015

    please can someone send me latest dumps asap i will really appreciate it i have exam on 15th my email id is govi2323@gmail.com

  43. Gregory S
    February 3rd, 2015

    Hi, doing my CCNA course, after completion planning for the test. Can anyone please guide me from where i have to start my preparation. At least how many hours need to spend on study before sit the exams. You people are expert, I am seeking your valuable suggestion. Please send me mail at sspgomes@gmail.com

  44. Ayaz
    February 12th, 2015

    Hi this is Ayaz..
    And completed CCNA Course from Jetking..
    Now I planning to get exam in a month..
    So can anybody help me ?
    Tips.. How to prepare.. And brain dumps.. Etc..
    My email id is
    ayazpasha9999@gmail.com

    Thanks a lot to 9tut..

  45. Maulik
    February 28th, 2015

    I cleared exam on 27 Feb with 100%. Every question came in 316 questions. Any one wants this dump then contact me on maulik.patel434@gmail.com.

  46. Farooq
    March 14th, 2015

    I have done CCNP and MCSE. Now i want to go UAE for job. Can you guide me whats is the scope of MCSE and CCNP certified in UAE. I have also don BS(Hons.) in Information Technology.
    kindly share your experience and knowledge with me.

  47. nobulumko ndabambi
    March 16th, 2015

    i there to everyone, please will be very greatly someone can help me with latest ccna questions. And some tips. preparing to take my exams next month.
    Tnks .

    nndabambi@ufh.ac.za

  48. kebba
    May 26th, 2015

    Thanks to 9tut

Add a Comment