How to configure etherchannel load-balance policy for one Po1 interface?

Answered Question
Sep 19th, 2011

Hello, Experts!

How can I set a policy of load-balancing etherchannel for only one interface Po1? This policy be applied to this interface only, and NOT applied to other interfaces.

Device:

C2960G

IOS:

c2960-lanbasek9-mz.122-58.SE2.bin

I have this problem too.
0 votes
Correct Answer by Cadet Alain about 2 years 7 months ago

Hi,

I don't think you can as load balancing is configured globally not per Portchannel interface.

Regards.

Alain.

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
somjayar Mon, 09/19/2011 - 01:54

Hi,

++ Load balance algorithm can be applied only to the port-channel. By default the load-balance algorithm will be source mac & Destination Mac.

++ Whenever a packet is arrived on the port-channel interfaces, the packet will be forwarded on any one of the interfaces based on the source mac & destination mac.

++ You can set the load-distribution method based on the source MAC address by using the

port-channel load-balance src-mac in global configuration mode.

Command
Purpose

Step 1 

configure terminal

Enter global configuration mode.

Step 2 

port-channel load-balance {dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac}

Configure an EtherChannel load-balancing method.

The default is src-mac.

Select one of these load-distribution methods:

dst-ip—Load distribution is based on the destination-host IP address.

dst-mac—Load distribution is based on the destination-host MAC address of the incoming packet.

src-dst-ip—Load distribution is based on the source-and-destination host-IP address.

src-dst-mac—Load distribution is based on the source-and-destination host-MAC address.

src-ip—Load distribution is based on the source-host IP address.

src-mac—Load distribution is based on the source-MAC address of the incoming packet.

Step 3 

end

Return to privileged EXEC mode.

Step 4 

show etherchannel load-balance

Verify your entries.

Step 5 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To return EtherChannel load balancing to the default configuration, use the no port-channel load-balance global configuration command.

useful links:

===========

-http://www.cisco.com/en/US/docs/switches/lan/catalyst2960/software/release/12.2_53_se/configuration/guide/swethchl.html#wp1276203

-http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094646.shtml

-http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/release/12.2_58_se/release/notes/OL24337.html

Hope this helps.

Cheers

Somu

Rate helpful posts

Igor Tiunov Mon, 09/19/2011 - 02:05

Thank you for your reply!

This is not what I need.

I have several Po interfaces on the switch. I need to for different Po interfaces worked different policy etherchannel. For Example,

Po1 - dst-mac;

Po2 - src-mac;

Po3 - dst-ip.

Can I set up this configuration?

Correct Answer
Cadet Alain Mon, 09/19/2011 - 02:20

Hi,

I don't think you can as load balancing is configured globally not per Portchannel interface.

Regards.

Alain.

Actions

Login or Register to take actions

This Discussion

Posted September 19, 2011 at 1:33 AM
Stats:
Replies:4 Avg. Rating:5
Views:1548 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,730
4 7,083
5 6,742
Rank Username Points
155
77
70
69
50