
CCNA And CCNP Candidates Are Well-versed In Spanning-Tree Protocol, And One Of The Great Things About STP Is That It Works Well With Little Or No Additional Configuration. There Is One Situation Where STP Works Against Us Just A Bit While It Prevents Switching Loops, And That Is The Situation Where Two Switches Have Multiple Physical Connections.You Would Think That If You Have Two Separate Physical Connections Between Two Switches, Twice As Much Data Could Be Sent From One Switch To The Other Than If There Was Only One Connection. STP Doesn't Allow This By Default, However In An Effort To Prevent Switching Loops From Forming, One Of The Paths Will Be Blocked. SW1 And SW2 Are Connected Via Two Separate Physical Connections, On Ports Fast011 And Fast 012. As We Can See Here On SW1, Only Port 011 Is Actually Forwarding Traffic. STP Has Put The Other Port Into Blocking Mode (BLK).SW1show Spanning Vlan 10(some Output Removed For Clarity)Interface Role Sts Cost Prio.Nbr TypeFa011 Root FWD 19 128.11 P2pFa012 Altn BLK 19 128.12 P2pWhile STP Is Helping Us By Preventing Switching Loops, STP Is Also Hurting Us By Preventing Us From Using A Perfectly Valid Path Between SW1 And SW2. We Could Literally Double The Bandwidth Available Between The Two Switches If We Could Use That Path That Is Currently Being Blocked.The Secret To Using The Currently Blocked Path Is Configuring An Etherchannel. An Etherchannel Is Simply A Logical Bundling Of 2 - 8 Physical Connections Between Two Cisco Switches.Configuring An Etherchannel Is Actually Quite Simple. Use The Command "channel-group 1 Mode On" On Every Port You Want To Be Placed Into The Etherchannel. Of Course, This Must Be Done On Both Switches If You Configure An Etherchannel On One Switch And Don't Do So On The Correct Ports On The Other Switch, The Line Protocol Will Go Down And Stay There.The Beauty Of An Etherchannel Is That STP Sees The Etherchannel As One Connection. If Any Of The Physical Connections Inside The Etherchannel Go Down, STP Does Not See This, And STP Will Not Recalculate. While Traffic Flow Between The Two Switches Will Obviously Be Slowed, The Delay In Transmission Caused By An STP Recalculation Is Avoided. An Etherchannel Also Allows Us To Use Multiple Physical Connections At One Time.Here's How To Put These Ports Into An Etherchannel:SW1conf TEnter Configuration Commands, One Per Line. End With CNTLZ.SW1(config)interface Fast 011SW1(config-if)channel-group 1 Mode OnCreating A Port-channel Interface Port-channel 1SW1(config-if)interface Fast 012SW1(config-if)channel-group 1 Mode OnSW2conf TEnter Configuration Commands, One Per Line. End With CNTLZ.SW2(config)int Fast 011SW2(config-if)channel-group 1 Mode OnSW2(config-if)int Fast 012SW2(config-if)channel-group 1 Mode OnThe Command "show Interface Trunk" And "show Spanning-tree Vlan 10" Will Be Used To Verify The Etherchannel Configuration. SW2show Interface Trunk (some Output Removed For Clarity)Port Mode Encapsulation Status Native VlanPo1 Desirable 802.1q Trunking 1SW2show Spanning Vlan 10 (some Output Removed For Clarity)Interface Role Sts Cost Prio.Nbr TypePo1 Desg FWD 12 128.65 P2pBefore Configuring The Etherchannel, We Saw Individual Ports Here. Now We See "Po1", Which Stands For The Interface "port-channel1". This Is The Logical Interface Created When An Etherchannel Is Built. We Are Now Using Both Physical Paths Between The Two Switches At One Time!That's One Major Benefit In Action Let's See Another. Ordinarily, If The Single Open Path Between Two Trunking Switches Goes Down, There Is A Significant Delay While Another Valid Path Is Opened - Close To A Minute In Some Situations. We Will Now Shut Down Port 011 On SW2 And See The Effect On The Etherchannel.SW2conf TEnter Configuration Commands, One Per Line. End With CNTLZ.SW2(config)int Fast 011SW2(config-if)shutdown3w0d: LINK-5-CHANGED: Interface FastEthernet011, Changed State To Administratively DownSW2show Spanning Vlan 10VLAN0010Spanning Tree Enabled Protocol IeeeInterface Role Sts Cost Prio.Nbr TypePo1 Desg FWD 19 128.65 P2pSW2show Interface TrunkPort Mode Encapsulation Status Native VlanPo1 Desirable 802.1q Trunking 1The Etherchannel Did Not Go Down! STP Sees The Etherchannel As A Single Link Therefore, As Far As STP Is Concerned, Nothing Happened.Building An Etherchannel And Knowing How It Can Benefit Your Network Is An Essential Skill For CCNA And CCNP Success, And It Comes In Very Handy On The Job As Well. Make Sure You Are Comfortable With Building One Before Taking Cisco's Exams!