cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
493
Views
5
Helpful
3
Replies

load balancing with BGP- disabling AS-PATH comparison

nkariyawasam
Level 1
Level 1

I am configuring bgp between two AS. There are two links between them. One goes through another AS and the second is direct connection.

In order to install both routes ( for load sharing) I need to disable the comparison of AS-PATHs.

According to ddocumentation, the command

is "bgp bestpath as-path ignore". But on my 3662 router ( with IOS 12.4) doesn't have this command.

Is there any alternate way to ignore the comparison of AS-PATH s ?

3 Replies 3

anton.elita
Level 1
Level 1

hi,

you could prepend one path with your own AS, so that the AS-paths are of the same length. This could be done with route-map and set as-path prepend inside.

regards,

anton

often this will not work... the oldest route will win... still non-balanced path...

Hi,

prepending should solve the issue with different AS_Path PA. Afterwards, one can use multipath feature.

please consider the following link for a complete eBGP multipath requirements:

http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml#bgpmpath

hope this helps- please rate if it does.

regards,

anton

Review Cisco Networking products for a $25 gift card