Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Load balancing links

To KISS it I have a 6509 connected to 2 7206's..One MPLS and one is AVPN. Far end is 2 2811's and a 3560 layer 3 switch.

We are running a mGRE tunnel across the AVPN so the 6500 to each remote router shows a equal EIGRP path. And both links are carrying traffic. Problem is one is hit a lot harder then the other. I have been reading and I think it might be how CEF does load-balancing, per-packet vs per-dest..But the 6509 will not let me do the per-packet command on the routed interfaces toward the 7206.

1st will the 6509 do per packet load-balancing in CEF..Traffic out toward the core is balanced well but from the 6509 back isn't.

2. If it is possible how do you enable it?

9 REPLIES
Blue

Re: Load balancing links

"will the 6509 do per packet load-balancing in CEF"

Per-destination load balancing is enabled by default when you enable CEF. To use per-destination load balancing, you do not perform any additional tasks once you enable CEF.

For per-packet load sharing, under interface configuration mode, execute the following command:

ip load-sharing per-packet

HTH

Victor

New Member

Re: Load balancing links

That's what I found but it won't work? What am I missing..It's a 6509 with ver 12.2 (18)

OSH-NEW-CORE-6509(config-if)#ip load-sharing ?

per-destination Deterministic distribution

Blue

Re: Load balancing links

Ok, so heres a stupid question, do you have CEF enabled globally?

If so, you may have to first disable per-destination load balancing on the interface before it allows you to configure per packet.

Go under the interface configuration mode and do a

"no ip load-sharing per-destination"

Then see if the per-packet option opens up....

New Member

Re: Load balancing links

http://www.cisco.com/en/US/tech/tk827/tk831/technologies_tech_note09186a0080094806.shtml#hardware

According to Cisco the 6500 doesn't support per-packet load-sharing :( looking for plan B.

Blue

Re: Load balancing links

This statement sounds weird:

"On the Catalyst 6000 series, the Cisco IOS Cisco Express Forwarding ip load-sharing per-packet, ip cef accounting per-prefix, and ip cef accounting non-recursive commands on the MSFC2 apply only to traffic that is Cisco Express Forwarding-switched in software on the MSFC2."

I thought that CEF switching is a function of the ASIC hardware that it leverages. I always thought that the CEF table, which is a derivative of the route table, and the adjacency table, are both created in the control plane, in software, but are "downloaded" and reside in the data plane, in a hardware-based L3 forwarding engine.

I mean, thats one of the first things we hear: CEF is fast because it is done in hardware. The CEF FIB and Adjacency tables utilize the architecture of parallel data structures in a TCAM to perform fast lookups.

What am I not understanding?

Victor

Hall of Fame Super Silver

Re: Load balancing links

Hello Mark,

what supervisor model is in your chassis ?

You have sup2/MSFC2 or SUP720 ?

the sentence applies to the first.

I've tried on a sup720 3B with the same results

int gi1/5

router(config-if)#ip loa

router(config-if)#ip load-sharing ?

per-destination Deterministic distribution

router(config-if)#^Z

So it looks like that CEF implementation on C6500 doesn't support per-packet load balancing.

Hope to help

Giuseppe

New Member

Re: Load balancing links

I have supv 720's..One question I have is can I disable CEF for WAN routing? Would that let EIGRP do the load sharing?

Hall of Fame Super Silver

Re: Load balancing links

Hello Mark,

you cannot disable CEF on a C6500.

EIGRP can be of help in case of unequal cost paths but doesn't provide any advantage in this scenario.

if there are only few flows that use most one link you can divert some of them using PBR applied inbound on the internal interface in order to get some load sharing

Hope to help

Giuseppe

New Member

Re: Load balancing links

Yeah it's a remote site across the WAN and seems to favor one side. Today I am summarizing the class C vlans into a class B..Might remove the statement off eigrp, what I read about CEF if it like different ip's..Today it see's a 10.177.0.0 as the remote site in the routing table.

366
Views
0
Helpful
9
Replies