cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1017
Views
0
Helpful
9
Replies

Load balancing links

markayash
Level 1
Level 1

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 9

lamav
Level 8
Level 8

"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

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

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....

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.

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

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

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?

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card