We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 651 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

451 Sign Ups in the last 30 days

100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Forum Replies

  1. Hi Rene,

    what happen if the BGP router receive a route with the same path and origin code ?


    Hussein Sameer

  2. Hi Hussein,

    There’s a long list that BGP uses to select the best path, this is from the Cisco.com website:

    1. Prefer the path with the highest WEIGHT.

      Note: WEIGHT is a Cisco-specific parameter. It is local to the router on which it is configured.

    2. Prefer the path with the highest LOCAL_PREF.

      Note: A path without LOCAL_PREF is considered to have had the value set with the bgp default local-preferencecommand, or to have a value of 100 by default.

    3. Prefer the path that was locally originated via a network or aggregate BGP subcommand or through redistribution fr
    ... Continue reading in our forum

  3. I think you have a typo
    In your example you have
    Lets see what R2 thinks of this

    R1#show ip bgp

    This is confusing because R1 will prefer the locally originated route by virtue of the path selection algorithm step 3
    The output is clearly from R2 but the prompt is R1


  4. Hi,

    please could we prefer origin code (?) over (i) ?

19 more replies! Ask a question or join the discussion by visiting our Community Forum