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

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

OSPF -load sharing

1) How can i do loadsharing between to different bandwidth link in ospf ?

2) How can i do loadshring between same bandwidth link in ospf ?

Please give solution with command detail also.



Re: OSPF -load sharing

I'm not sure you can do unequal loadbalancing with OSPF.

for equal cost.

just add

router ospf 1

maximum-paths # (up to 16)

if you have equal costs routes in your LSDB , you'd then have more routes in your routing table.


please rate this post if it does,


from jeff's book:

Equal-cost load balancing for more efficient use of multiple paths[1]

[1] More accurately, the RFC calls for equal-cost multipath, the discovery and use of multiple equal-cost paths, without prescribing how the protocol should route individual packets across these multiple paths. The Cisco OSPF implementation performs equal-cost load balancing as described in previous chapters.

Re: OSPF -load sharing

you can have only equal cost path load balancing in ospf...when ever you are having the two different cost path then you have to change the cost of one ...

and if you have multiple link to the destination with the same cost then ospf will do the load default ospf allow load balancing between 4 link and you can configure for upto 6 link using command maximum path...

rate this post if it helps...



Re: OSPF -load sharing

Hello Devang,

maximum number of equal cost is now 16.

Check Jeff's book:

If multiple equal-cost, equal-path-type routes exist in the final set, OSPF utilizes them. By default, the Cisco OSPF implementation load balances over a maximum of 16 equal-cost paths (four in older versions of IOS); this number can be changed within the range of one to six with the command maximum-paths."


Re: OSPF -load sharing

vlad will you give me the page number of it i think i m having older one and will you give me any link which is having information regarding to it...



Re: OSPF -load sharing

I will if you promisse to rate my post (kidding)

check for BGP (up to 32)

? Cisco IOS Release 12.0S based software: 8 paths

? Cisco IOS Release 12.3T based software: 16 paths

? Cisco IOS Release 12.2S based software: 32 paths


11.2 This command was introduced.



The import keyword was introduced.

12.3(2)T The maximum number of parallel routes was increased from 6 to 16.


Re: OSPF -load sharing

why to go for promisse ...i m dear as you are going to give me good information then i will sure...vlad but will you tell me the where in Jeff doyle...



Re: OSPF -load sharing

that's another point, just kidding,

I'm not sure what is the page, but is under:

Operation of OSPF

Route Table Lookups


This is on :

Cisco Press - CCIE Professional Development Routing TCP IP Volume 1 2nd Edition(2005)