Monday, March 26, 2012

Adding Interfaces to an Existing PAgP Port-channel


I always like to default the interfaces if there is an existing configuration or you can nonnegate what ever is still configured.  Additionally, etherchannel is a Cisco term, port-channel is an industry term but they are the same and you will hear people use them interchangeably.

Default interface X/X
!
Default Interface X/X

Next we view what the current configuration is on the existing interfaces that are already members of the port-channel and we copy and paste that same configuration into the new interfaces. If you don't, they wont be added to the port-channel as it wont match the port-channels current configuration. Going forward, any configurations that need to be made, will need to be done under the port-channel.

Verification.
show etherchannel summary

Extra information from Wikipedia.

EtherChannel aggregates the traffic across all the available active ports in the channel. The port is selected using a Cisco-proprietary hash algorithm, based on source or destination MAC addressesIP addresses or TCP and UDP port numbers. The hash function gives a number between 0 and 7, and the following table shows how the 8 numbers are distributed among the 2 to 8 physical ports. In the hypothesis of real random hash algorithm, 2, 4 or 8 ports configurations lead to fair load-balancing, whereas other configurations lead to unfair load-balancing.

Hashing Algorithm


Number of Physical Links Link #8765432 11222234 21122234 3111222 411112 51111 6111 711 81

No comments:

Post a Comment