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 642 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

488 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. Quick question Rene on this topic. The lab works fine as I followed along with my own topology. But I am just wondering why R2 should send the community only to R3? For example, you mentioned: “R2 sets the community so make sure that it advertises it to R3”… why should it not send the community to R4 as well. I know R4 is in another AS, but R4 would have filtered it out as well, wouldn’t it?

  2. Hi Mario,

    On R2 I configured the route-map inbound (facing R1) so that R2 sets the local AS community. Because of this, R2 will no longer advertise prefixes to R4 since it’s another sub-AS. R3 will still receive it since it’s in the same sub-AS as R2.

    To make sure R5 (and R4) learn anything through R3, we need to advertise the local AS community to R3.


  3. 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

  4. 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

  5. Hi Rene,

    Thank you so much.

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