03-28-2006 11:02 AM - edited 03-03-2019 12:12 PM
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?
03-28-2006 11:15 AM
Timothy,
The default weight is 0. The maximum weight (the most preferred) is 32768.
Hope this helps,
03-28-2006 11:51 AM
Harold,
I was under the impression that the max weight was 65535 - has that changed ?
Paresh
03-28-2006 12:45 PM
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,
03-28-2006 01:37 PM
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?
03-28-2006 02:23 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide