cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
512
Views
8
Helpful
5
Replies

BGP failover

tiholden
Level 1
Level 1

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 5

Harold Ritter
Cisco Employee
Cisco Employee

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

Harold,

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

Paresh

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

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?

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

Review Cisco Networking products for a $25 gift card