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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

BGP failover

I have two ISP's and want to have a primary and backup link. When the primary destination is not available I want to use the backup. I want to accomplish this by using the BGP weight statement (neighbor x.x.x.x weight ???). What is the default weight? Which weight number is prefered, the lower or higher number?

5 REPLIES
Cisco Employee

Re: BGP failover

Timothy,

The default weight is 0. The maximum weight (the most preferred) is 32768.

Hope this helps,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Purple

Re: BGP failover

Harold,

I was under the impression that the max weight was 65535 - has that changed ?

Paresh

Cisco Employee

Re: BGP failover

Paresh,

You are correct. The maximum weight is indeed 65535. I just assumed that 32768 was the max since that is what we set for locally sourced prefixes.

Thanks and sorry for the confusion,

Harold Ritter
Sr. Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México 
Paseo de la Reforma 222 Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
New Member

Re: BGP failover

So if the default is 0 I should be able to configure the preferred link to 100 and my network traffic will only route in that direction? And if for some reason that preferred link goes down then the other link with the default weight of 0 will then become preferred. Is this correct?

Purple

Re: BGP failover

That is correct, assuming that both of your links are on the same router, since weight is a locally-significant parameter.

Hope that helps - pls rate the post if it does.

Paresh

156
Views
8
Helpful
5
Replies