09-07-2023 02:34 AM
I have 2 BGP neighbors. One has a weight value of 20, and the other 10. When one has a problem, the traffic chooses the other as the best route. When the problem is fixed, the weight value does not return to 20, it just becomes up. What can I do to get him to choose it again as the best path?
Since the number of branches is 1000+, I do not use the "clear ip bgp" command every time there is a problem.
neighbor 192.19.0.1 remote-as 8003
neighbor 192.19.0.1 send-community
neighbor 192.19.0.1 weight 20
neighbor 192.19.0.2 remote-as 8003
neighbor 192.19.0.2 send-community
neighbor 192.19.0.2 weight 10
09-07-2023 04:33 AM
how is your Topology looks like ?
you do not need to clear BGP - you can do soft reload to take effective :
clear ip bgp * soft
09-07-2023 08:28 AM
Hi @Fernandes ,
It should go back to the weight value of 20 by default without requiring a "clear bgp ipv4 uni * soft". I suspect it might be due to the OS you run. You might want to try upgrading or using the local preference in place of the weight.
Regards,
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