?
Solved

How to view the Load balance method on a etherchannel

Posted on 2008-10-13
8
Medium Priority
?
997 Views
Last Modified: 2012-05-05
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.
0
Comment
Question by:typertec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 16

Expert Comment

by:btassure
ID: 22706038
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
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 22706149
>Is there a command I could use to view the Load Balance method on a Port channel interface?

show etherchannel load-balance


0
 

Author Comment

by:typertec
ID: 22707963
Donjohnston

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 #?
0
Need protection from advanced malware attacks?

Look no further than WatchGuard's Total Security Suite, providing defense in depth against today's most headlining attacks like Petya 2.0 and WannaCry. Keep your organization out of the news with protection from known and unknown threats.

 
LVL 50

Expert Comment

by:Don Johnston
ID: 22708138
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
Core-6506#

0
 

Author Comment

by:typertec
ID: 22708143
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.
0
 
LVL 50

Accepted Solution

by:
Don Johnston earned 1600 total points
ID: 22708176
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 10.1.1.3 and going to 192.168.1.17

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

 3  = 00000011
17= 00010001

Then you XOR the last two bits:

11
01
01 = XOR result

This means that traffic from 10.1.1.3 to 192.168.1.17 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
 
 
0
 

Author Comment

by:typertec
ID: 22708277
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?
0
 
LVL 50

Expert Comment

by:Don Johnston
ID: 22710147
>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.


0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello All, I have been training on Multicast for a while now and whenever I start the topic , I find out that my friends /  Colleagues mention that they do not know how to test Multicast Joins. As most of the multicast would be video traffic and …
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question