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,

    I am confused about BGP selecting path.Here topology


    R5 is in sub-AS 45.And advertise prefix

    R5#sh ip bgp             
    BGP table version is 14, local router ID is
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
                  r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network          Next Hop            Metric LocPrf Weight Path
    *>                  0         32768 i
    ... Continue reading in our forum

  2. Hi Ler Sak,

    BGP doesn’t differentiate between confed-internal or confed-external. When the two paths are the same, it’s up to the router ID to decide which one will be selected.

    Here’s an example from the topology I used in this lesson:

    R4#show ip bgp
    BGP routing table entry for, version 5
    Paths: (2 available, best #1, table default)
    Flag: 0x800
      Not advertised to any peer
      Refresh Epoch 1
      (35) (metric 2) from (
          Origin IGP, metric 0, localpref 100, valid, confed-internal, best
          rx pathid: 
    ... Continue reading in our forum

  3. Hello,

    Just a few remarks/questions for this lesson.

    I believe R2 should advertise the network (network mask, otherwise the other routers will not know about as next-hop for (I checked the confederations lesson).
    Also on R3 the neighbor command for R6 should be .2 instead of .6.

    One question is how will R5 select the path towards In your previous post I saw that Router ID is selected, but shouldn’t be attribute 7 (eBGP path over iBGP path)?. I believe that confed-external behaves like eBG

    ... Continue reading in our forum

  4. Hello Stefanita,

    I just made some changes to this lesson:

    I fixed this in the topology picture.

    ... Continue reading in our forum

  5. Hello Rene,

    Can the local-as community be configured only by the router receiving the traffic, just like the MED and AS-Path prepending attributes?



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