cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
261
Views
5
Helpful
3
Replies

IP BGP

eric.huihk
Level 1
Level 1

Best path to reach a network is based on Local Preference or weight first?

And higher value or lower value of these attribute is higher priority?

Thanks for your reply

Eric

3 Replies 3

sdoremus33
Level 3
Level 3

1.)Prefer the path with the highest WEIGHT

Then

2).Prefer the path with the highest LOCAL_PREF.

HTH

Eric,

There's some difference in how these two attributes operate. Weight is a Cisco Proprietary attribute and it only affects only the device on which it's configured. Local Preference is an attribute that stays within the local AS in which the preference is set. In the order of preference Weight is high up on the list and will be preferred over Local Preference. As far as what values are better the response by the previous is correct.

HTH

Sundar

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco