™
Cisco CCNA / CCNP Certification: How And Why To construct An Etherchannel
CCNA and CCNP candidates are well-versed in Spanning-Tree Protocol, and among the great matters about STP is the fact it really works very well with little or no further configuration. There is a single condition where STP operates towards us merely a bit though it helps prevent switching loops, and that's the situation the place two switches have many Bodily connections.
You would imagine that When you have two separate Bodily connections concerning two switches, two times as much knowledge could possibly be despatched from a single swap on the in addition to if there was only one connection. STP doesn’t make it possible for this by default, having said that in order to protect against switching loops from forming, one of several paths is going to be blocked.
SW1 and SW2 are linked through two separate Bodily connections, on ports fast0/eleven and fast 0/12. As we are able to see below on SW1, only port 0/11 is in fact forwarding website traffic. STP has put another port into blocking manner (BLK).
SW1#exhibit https://socialhattori.com/ spanning vlan ten
(some output taken off for clarity)
Interface Role Sts Price Prio.Nbr Variety
Fa0/11 Root FWD 19 128.eleven P2p
Fa0/twelve Altn BLK 19 128.twelve P2p
Though STP is helping us by avoiding switching loops, STP can also be hurting us by protecting against us from using a superbly legitimate route concerning SW1 and SW2. We could practically double the bandwidth accessible among The 2 switches if we could use that path that's presently getting blocked.
The trick to using the at this time blocked route is configuring an Etherchannel. An Etherchannel is simply a reasonable bundling of 2 – 8 physical connections involving two Cisco switches.
Configuring an Etherchannel is actually pretty very simple. Make use of the command “channel-group one method on” on just about every port you wish to be put into your Etherchannel. Obviously, this need to be carried out on each switches in case you configure an Etherchannel on one change and don’t do so on the proper ports on one other swap, the line protocol will go down and continue to be there.
The fantastic thing about an Etherchannel is usually that STP sees the Etherchannel as one connection. If any in the Actual physical connections inside the Etherchannel go down, STP will not see this, and STP will not recalculate. While site visitors flow concerning the two switches will clearly be slowed, the hold off in transmission brought on by an STP recalculation is averted. An Etherchannel also lets us to make use of several Actual physical connections at 1 time.
Listed here’s the best way to place these ports into an Etherchannel:
SW1#conf t
Enter configuration instructions, a single per line. Finish with CNTL/Z.
SW1(config)#interface speedy 0/11
SW1(config-if)#channel-group one method on
Creating a port-channel interface Port-channel 1
SW1(config-if)#interface quickly 0/12
SW2#conf t
SW2(config)#int rapidly 0/eleven
SW2(config-if)#channel-team 1 manner on
SW2(config-if)#int rapid 0/12
The command “demonstrate interface trunk” and “clearly show spanning-tree vlan 10” will probably be accustomed to verify the Etherchannel configuration.
SW2#display interface trunk (some output removed for clarity)
Port Method Encapsulation Status Indigenous vlan
Po1 fascinating 802.1q trunking one
SW2#clearly show spanning vlan 10 (some output eradicated for clarity)
Po1 Desg FWD 12 128.sixty five P2p
Before configuring the Etherchannel, we saw specific ports in this article. Now we see “Po1”, which means the interface “port-channel1”. Here is the rational interface made when an Etherchannel is constructed. We are now working with both of those Bodily paths amongst The 2 switches at one time!
That’s a person key benefit in motion Enable’s see A different. Ordinarily, if The one open path in between two trunking switches goes down, There may be an important hold off although An additional legitimate path is opened – near to a moment in a few predicaments. We are going to now shut down port 0/11 on SW2 and see the impact on the etherchannel.
SW2(config-if)#shutdown
3w0d: %Backlink-five-Altered: Interface FastEthernet0/11, adjusted
point out to administratively down
SW2#show spanning vlan ten
VLAN0010
Spanning tree enabled protocol ieee
Po1 Desg FWD 19 128.sixty five P2p
SW2#clearly show interface trunk
Port Manner Encapsulation Position Native vlan
Po1 desirable 802.1q trunking 1
The Etherchannel did not go down! STP sees the Etherchannel as just one url as a result, as far as STP is worried, very little transpired.
Making an Etherchannel and recognizing how it may benefit your community is an essential ability for CCNA and CCNP achievement, and it comes in quite handy on the job likewise. Be sure to are at ease with making a single in advance of taking Cisco’s exams!