• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1007
  • Last Modified:

How to view the Load balance method on a etherchannel

HI experts,

Is there a command I could use to view the Load Balance method on a Port channel interface? There's already an existing port channel set up by the previous techs to load balance a HP server's TEAMed NIC. Now I need to set up another one and I want to use the same settings. I'm able to see the port channel negotation protocol so I can create the port channel the same, but I dont know which load balance method to use.
  • 4
  • 3
1 Solution
Do a sh run on the etherchannel interface and/or on the FE ports. Copy and paste. It is almost certainly using the defaults anyway.
Also try:
show etherchannel port-channel
Don JohnstonInstructorCommented:
>Is there a command I could use to view the Load Balance method on a Port channel interface?

show etherchannel load-balance

typertecAuthor Commented:

When I type that command and press enter it wants the SOURCE OR DESTINATION IP address. I don't have that information. Is there a way to get the info just by having the port channel #?
WEBINAR: GDPR Implemented - Tips & Lessons Learned

Join the WatchGuard team on Thursday, March 29th as we recount some valuable lessons learned in weighing the needs of a business against the new regulatory environment, look ahead at the two months left before implementation, and help you understand the steps you can take today!

Don JohnstonInstructorCommented:
Can you please post the output when you enter that command?

When I run the command on a 6506, I get the following:

Core-6506#sh ether load-bal
Source XOR Destination IP address

typertecAuthor Commented:
That's exactly what I get too. At first I thought " Source XOR Destination IP address" was asking me to input a source or destination address.
So what exactly is that line telling me? What if I have multiple Port channels on the switch? I would think it should ask you which port channel you want to view the load balance on.
Don JohnstonInstructorCommented:
It's telling you that the last bits of the source IP address are XOR'd with the last bits of the destination IP address to determine which of the links the traffic is sent over.

For example, if you have four links making up the etherchannel, each link will have a link ID: 00, 01, 10 and 11.

Lets say the traffic is coming from ip address and going to

If you look at the last byte of the source and destination address:

 3  = 00000011
17= 00010001

Then you XOR the last two bits:

01 = XOR result

This means that traffic from to will be sent over the link ID 01

Other methods available on some Cisco platforms:

Destination MAC
Source MAC
Source/Destination MAC XOR
Destination IP
 Source IP
 Source/Destination IP XOR
Destination TCP/UDP port
 Source TCP/UDP port
 Source/Destination TCP/UDP port XOR
typertecAuthor Commented:
I see. So this "Source XOR Destination IP address" isis not per Port channel? What if you have multiple portchannels, and each was set with a different load balance method?
Don JohnstonInstructorCommented:
>So this "Source XOR Destination IP address" is not per Port channel?

It's a global configuration command so it applies to all etherchannel groups. It may be possible to change it on a per channel basis. I don't know that for sure as I've never tried it.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now