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

BGP can run load balance?

Hi all,

Can BGP run load balance? As I know,

BGP will choose the BEST route and installed in the routing table. I just think only Load sharing can be done rather than load balance. Am I right ?

4 REPLIES

Re: BGP can run load balance?

Hi, [Pls RATE if HELPS]

If the router receives and installs multiple paths with the same administrative distance and cost to a destination, load-balancing can occur. The number of paths used is limited by the number of entries the routing protocol puts in the routing table. Four entries is the default in IOS for most IP routing protocols with the exception of Border Gateway Protocol (BGP), where one entry is the default. Six different paths configured is the maximum number.

Per-destination or per-packet load-balancing depends on the type of switching scheme used for IP packets. By default, on most Cisco routers, fast switching is enabled under interfaces. This is a demand caching scheme that does per-destination load-balancing. To set per-packet load-balancing, enable process switching (or disable fast switching), use these commands:

Router# config t

Router(config)# interface Ethernet 0

Router(config-if)# no ip route-cache

Router(config-if)# ^Z

Now the router CPU looks at every single packet and load balances on the number of routes in the routing table for the destination. This can crash a low-end router because the CPU must do all the processing. To re-enable fast switching, use these commands:

Router# config t

Router(config)# interface Ethernet 0

Router(config-if)# ip route-cache

Router(config-if)# ^Z

Hope I am Informative.

Pls RATE if HELPS

Best Regards,

Guru Prasad R

New Member

Re: BGP can run load balance?

That means BGP can only perform load sharing , not load balancing .Right?

New Member

Re: BGP can run load balance?

Just like router A connect with Router B with 2 x serial link. Even though AD and metric is equal [20/0]. Only one route will be installed in routing table. Am I right?

New Member

Re: BGP can run load balance?

Simplest answer is: by default, BGP is configured only to choose a single BEST path.

You can configure "maximum-paths " in BGP routing process, where is the number of multiple equal cost paths that you want BGP to install to the routing table. Here's a URL about BGP decision process, including some blurbs about multiple paths: http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a0080094431.shtml

247
Views
0
Helpful
4
Replies
CreatePlease to create content