Home > BGP Questions

BGP Questions

May 4th, 2014 in ROUTE 642-902 Go to comments

Here you will find answers to BGP questions

Question 1

Refer to the exhibit. Router RIP is attempting to establish BGP neighbor relationships with routers RT1 and RT3. On the basis of the information that is presented in the exhibit, which two statements are true? (Choose two)



A – RTR has a BGP password set but neighbor does not
B – RTR has a BGP password set but neighbor does not
C – RTR has a BGP password set but neighbor has an incorrect password set
D – RTR has a BGP password set but neighbor has an incorrect password set
E – Neighbor has a BGP password set but RTR does not
F – Neighbor has a BGP password set but RTR does not


Answer: A D


You can configure MD5 authentication between two BGP peers, MD5 authentication must be configured with the same password on both BGP peers; otherwise, the connection between them will not be made. If a router has a password configured for a peer, but the other peer does not, a message “No MD5 digest from…” will appear on the console while the routers attempt to establish a Multicast Source Discovery Protocol (MSDP) session between them. Therefore A is correct because RT1 (with an ip address of is not configured with a password.

Similarly, if the two routers have different passwords configured, a message “Invalid MD5 digest from…” will appear on the screen.

Question 2

Refer to the exhibit diagram and configuration. RTB is summarizing its networks from AS 64100 with the aggregate-address command. However, the show ip route command on RTA reveals the RTB individual networks as well as its summary route. Which option would ensure that only the summary route would appear in the routing table of RTA?


A – Delete the four network statements and leave only the aggregate-address statement in the BGP configuration
B – Add the keyword summary-only to the aggregate-address command
C – Add a static route with a prefix of pointing to the null interface
D – Create a route map permitting only the summary address


Answer: B


When the aggregate-address command is used within BGP routing, the aggregated address is advertised, along with the more specific routes. The exception to this rule is through the use of the summary-only command. The “summary-only” keyword suppresses the more specific routes and announces only the summarized route.

Question 3

Refer to the exhibit The neighbor weight 200 BGP configuration command has been configured on router A. What will be the result of this configuration?


A – Router A will prefer the path through router B for network
B – Router A will prefer the path through router C for network
C – Packets from router D will prefer the path through router B for networks advertised by router A
D – Packets from router D will prefer the path through router C for networks advertised by router A


Answer: A


The weight attribute is a special Cisco attribute that is used in the path selection process when there is more than one route to the same destination. The higher the weight value, the better the path. The default weight is 0. Therefore, by configuring weight 200 to the neighbor, router A will prefer the path through router B for network then the path through router C.

The weight attribute is local to the router and not propagated to other routers. In this case the weight is local to router A so it has no effect on the decision of transferring packets from router D.

Question 4

Based on the show ip bgp summary output. which two statements are true? (Choose two)


A – The BGP session to the neighbor is established
B – The BGP session to the neighbor is established
C – The BGP session to the neighbor is established
D – The router is attempting to establish a BGP peering session with the neighbor
E – The BGP session to the neighbor is established, but the router has not received any BGP routing updates from the neighbor
F – The router is attempting to establish a BGP peering session with the neighbor


Answer: A F


The main point of this question is the “State/PfxRcd” column, which shows the BGP states. Below is the list of BGP states in order, from startup to peering:

1 – Idle: the initial state of a BGP connection. In this state, the BGP speaker is waiting for a BGP start event, generally either the establishment of a TCP connection or the re-establishment of a previous connection. Once the connection is established, BGP moves to the next state.

2 – Connect: In this state, BGP is waiting for the TCP connection to be formed. If the TCP connection completes, BGP will move to the OpenSent stage; if the connection cannot complete, BGP goes to Active

3 – Active: In the Active state, the BGP speaker is attempting to initiate a TCP session with the BGP speaker it wants to peer with. If this can be done, the BGP state goes to OpenSent state.

4 – OpenSent: the BGP speaker is waiting to receive an OPEN message from the remote BGP speaker

5 – OpenConfirm: Once the BGP speaker receives the OPEN message and no error is detected, the BGP speaker sends a KEEPALIVE message to the remote BGP speaker

6 – Established: All of the neighbor negotiations are complete. You will see a number (2 in this case), which tells us the number of prefixes the router has received from a neighbor or peer group.

Question 5

Which command displays the IBGP and EBGP neighbors that are configured?

A – show ip bgp
B – show ip bgp paths
C – show ip bgp peers
D – show ip bgp summary


Answer: D


The picture below shows the output of the show ip bgp summary


Notice that the “show ip bgp” command to display BGP topology database. Below is the output of the “show ip bgp” command:


Question 6

BGP contains two paths to a destination. Assuming both routes were originated locally and have an equal weight. what will be the next determining factor in choosing the best path?

A – lowest MED
B – highest local preference
C – lowest neighbor IP address
D – lowest origin code
E – shortest AS-path


Answer: B


Memorizing the BGP decision process steps is very useful and you should remember them. The table below lists the complete path selection process:

1. Weight (Bigger is better)
2. Local preference
(Bigger is better)
3. Self originated (Locally injected is better than iBGP/eBGP learned)
4. AS-Path (Smaller is better)
5. Origin
(Prefer ORIGIN code I over E, and E over ?)
6. MED (Smaller is better)
7. External (Prefer eBGP over iBGP)
8. IGP cost (Smaller is better)
9. EBGP Peering (Older is better)
10. RID (Lower is better)

Question 7

Which BGP path attribute is Cisco proprietary?

A. weight
C. local preference
D. origin
E. next-hop
F. AS-path


Answer: A


The weight attribute is a Cisco proprietary technology. This attribute is local to a router and is not advertised to neighboring routers. If the router learns about more than one route to the same destination, the route with the highest weight will be preferred and will be installed in the routing table. By default, the value of weight is 0 and the range is from 0 to 65535.

The route with the highest weight will be installed in the IP routing table.

Question 8

Which attribute must exist in the BGP update packet?

C. AS_Path
D. Weight


Answer: C


Origin, AS_Path, Next_Hop are well-known mandatory BGP attributes that all BGP Updates must include.


There are 4 BGP attribute types:

+ Well-known Mandatory: recognized by all implementations of BGP and must appear in a BGP update message. If missing, a notification error will be generated.
+ Well-Known Discretionary: recognized by all implementations of BGP but may not be sent in the BGP update message (include LOCAL_PREF, ATOMIC_AGGREGATOR).
+ Optional Transitive: may or may not be recognized by all BGP implementations. Because the attribute is transitive, BGP accepts and advertises the attribute even if it is not recognized (include Community attribte).
+ Optional Nontransitive: may or may not be recognized by all BGP implementations. Whether or not the receiving BGP router recognizes the attribute, it is nontransitive and is not passed along to other BGP peers (include MED).

Question 9

When the BGP path selection process is being performed on a Cisco router, which BGP attribute is used first when determining the best path?

A. local preference
C. weight
D. origin
E. next-hop
F. AS-path


Answer: C


Weight is the first attribute BGP uses in the route selection process. Route with a higher weight is preferred when multiple routes exist to the same destination.

Question 10

Which BGP attribute will not be advertised in routing updates to its neighboring routers?

A. weight
B. local preference
C. origin
D. AS_path
E. next hop


Answer: A


Same as Question 7.

Comment pages
1 2 16
  1. micrush
    October 16th, 2012

    I think the Q9 is correct. Considering all of the routes in the topology table should have an active next-hop, they were after all advertised by a router, and that the local router would not put them into the BGP table if the locally advertised routes are not in the routing table. The routing table on the other hand will not have any routes that do not have valid next-hop in them. This is just a theory though, goodluck

  2. question 9 answer
    October 16th, 2012

    @Buddy Olli
    I was back and forth with next_hop and weight. Thinking because they intentionally mentioned Cisco it was weight, so I did a little more digging from the Certification Guide… N WLLA OMNI starts at step 0. So after reading the section again…

    “If that router does not have a matching IP route for the BGP route’s Next_Hop IP address,
    then that router will not know how to forward packets for that particular prefix, using that
    particular route. To avoid using such a route, at Step 0, the BGP best path algorithm removes
    such routes from consideration. BGP then uses the following eight steps, in order,
    until one best route is chosen for a given prefix.”

    what I figured the 1st step is next_hop only to check if their is a route in the routing table for that prefix. If not, use the next available entry with a valid route in the routing table.

    hope I explained it well enough to clarify.

  3. Starr
    November 10th, 2012

    This was so hlefpul and easy! Do you have any articles on rehab?

  4. umar
    November 17th, 2012

    their is different answers for BGP attribute Drag n Drop , Kindly clarify any one

    Weight is propagated between AS ? or is MED propagated between AS

    Weight is used for one router with multiple exit points out of AS ?

  5. Vikram
    December 5th, 2012

    Hey Buddy Olli.
    Please suggest the BGP attribute list in which they have mentioned the path selection process.
    2-Local Pref

    Hence when performing the path selection process BGP will use “WEIGHT” as its 1st option.

  6. Asad Mehmood
    December 10th, 2012

    Please read the question carefully. it is asking for cisco router. so the first criteria would be “Weight”.

  7. Othman
    January 9th, 2013

    hey guys, i am preparing ccnp route exam . Are those quetions important for me ? are they taken from the last ccnp exam ? pleaaase give me a clarificaion about the optimal way to prepare questions . thank you advancely.

  8. Nabu
    January 13th, 2013

    Next_Hop Attribute is not used in Path selection.
    So for Q9, Weight is the answer

  9. Klauss
    January 18th, 2013

    Weight is considered first. Check this from Cisco site (we are talking about Cisco routers here, right?) ——>

  10. meee
    January 30th, 2013

    I believe next-hop is not an attribute.

  11. Victor
    January 31st, 2013

    Next-hop is an attribute but is not used for path determination. However it is the first thing to consider before anything in that the next-hop has to be reachable. If the next hope is not reachable, then the router cannot proceed in determining the best path!!

  12. Rod
    February 10th, 2013

    I beleive next-host is useful when forming peer relationship between two BGP neigbor. when it comes to path selection it does not influence the process.

  13. vishal
    February 19th, 2013

    I have an doubt abt BGP….BGP is which layer protocol…y its not a network layer protocol?

  14. vk
    February 25th, 2013

    q9 is correct, next hop should be reachable for a route to contest in process but contest starts with weight as first check.

  15. Anonymous
    April 1st, 2013

    Question 6

    = E
    weight , eq
    locally orginated, eq

    so then the local_pref is already checked, otherwise it will not check the orginated.
    The next atribute in line is AS_PATH. So tell me why its not E when they ask a question like:
    BOTH originated locally and have an equal weight. what will be the next determining factor.
    Its confusing

  16. You
    April 13th, 2013

    Are these questions still valid on exam?

  17. MM
    April 13th, 2013

    Guy please tell me which one is the router id in the following output which the BGP compares to select the best path

    Router# show ip bgp

    BGP routing table entry for, version 22
    Paths: (2 available, best #2, table default)
    Advertised to update-groups:
    10 10 from (
    Origin IGP, metric 0, localpref 100, valid, internal, backup/repair
    10 10 from (
    Origin IGP, localpref 100, valid, external, best , recursive-via-connected

  18. Saurabh
    April 15th, 2013


    RID’s of neighbors are in brackets: ( & (

    Lowest neighbor RID is referred as best RID for best path selection.

  19. funsyte
    April 16th, 2013

    If you read the official certification guide by Cisco, it is clearly stated that N- Next Hop reachability is NOT a path attribute (page 499), digitaltut is correct.

  20. TheDmachine
    April 19th, 2013

    #9 -> is like dust in the wind

  21. complete websites
    May 10th, 2013

    it seems like ages that i heve been searching for a wordpresssite like this one? i am glad i found it,some great information here, i am new and just starting out, anyway thanks for some great tips.. complete websites http://createdwebsites.co.uk

  22. Housseyn TIMITE
    May 15th, 2013

    Why answer B and not answer E
    Please can you correct this it is confusing.

    here is the BGP path selection process

    1. Weight (Bigger is better)
    2. Local preference (Bigger is better)
    3. Self originated (Locally injected is better than iBGP/eBGP learned)
    4. AS-Path (Smaller is better)
    5. Origin (Prefer ORIGIN code I over E, and E over ?)
    6. MED (Smaller is better)
    7. External (Prefer eBGP over iBGP)
    8. IGP cost (Smaller is better)
    9. EBGP Peering (Older is better)
    10. RID (Lower is better)

  23. New_Student
    May 29th, 2013

    Hello, I did not get a chance to read all the posts here. Forgive me if someone already asks. I am not sure about the explanation on Q3. Default weight, in general is 32768 for the local router. Does the router see other routers as having a weight of zero, unless specified? I am not sure I understand the explanation, here.

  24. Dinesh Kumar
    June 15th, 2013

    I am passed 953 with CCNP routing. Dont use help and short cut command…. i loosed all the marks in lab only. Q10 on exam today

  25. jacsatx
    June 26th, 2013

    Thx Danish for the insight, taking the exam in July

  26. Anderson Knows!
    July 17th, 2013

    @Housseyn TIMITE and everyone else with questions regarding BGP path selection.
    the order is 0-13… totalling 14 different criteria for BGP to select its path.
    0= Ignore routes with an inaccessible next hop address
    1= prefer the path with the highest WEIGHT
    2=Prefer the path with the highest LOCAL_PREF
    etc… (read the CCNP Route 642-902 book for the rest.)

    point is.. this is a Cisco exam correct? correct.
    Weight is the ONLY Cisco proprietary attribute in the BGP path selection.
    the FIRST attribute that is used is WEIGHT. read the 0=attribute by definition.
    “ignore routes with an inaccessible next hop address” meaning if BGP doesnt know how to get to… the route is NOT even eligible for path determination. Nevermind the attributes that may or may not be affiliated with the route. If I do not know how to get to you, it doesn’t matter what the road conditions are to get to you.

    I hope this clears the confusion a little.

  27. Teekash
    July 25th, 2013

    May somone kindly explain to me how BGP split horizon works???I am preparing to certify end of this month however BGP has a lot of concepts which are complicated.

  28. Consula
    July 26th, 2013


    Do not advertise a route learned via IBGP to other IBGP peers. This is why it is advised that all IBGP speakers in an AS must be fully meshed and synch turned OFF.

  29. Buddy
    August 5th, 2013


    Regarding your supplied Question 4 – (BGP Neighbor-State 3) EXPLANATION:

    BGP State 3 – ACTIVE:

    “In the Active state, the BGP speaker is attempting to initiate a TCP session with the BGP speaker it wants to peer with. If this can be done, the BGP state goes to OpenSent state.”

    However – According to the similar explanation within Wendell Odom’s Routing Book (on Page 430), it is mentioned for Neighbor State 3 – The BGP ACTIVE State:

    “The TCP Connection has now been COMPLETED, but no BGP messages has been sent to the Peer yet”

    Thus – Due to Wendell Odem’s explanation of this BGP Neighbor State 3, it seems to me, that the BGP/TCP Connection between the two BGP Neighbors is now fully ACTIVE and ready (for moving to the following BGP Open Sent State) from State 3!?

    I think, this fact somehow differs a little from your’s similar explanation of this BGP Neighbor State 3 – Or what do you think about it ???

    So if you agree in this, it would perhaps be a good idea, to modify your expalanation of the BGP Neighbor State 3 situation according to the mentioned CCNP Routing Book by Wendell Odom!?

    Thank you in advance!

    PS! – I totally agree w. you in the fact, that Answer A and F STILL must be the two correct answers to this Question!

    Regards from


  30. WHQ
    October 5th, 2013

    Question 1
    I’m pretty sure that the answer should be C and F.
    I tried it on GNS3.

  31. シャネル 小物 雑貨
    October 17th, 2013

    Sweet blog! I found it while searching on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Thank you
    シャネル 小物 雑貨 http://miduno.mainrx.com/シャネル-シャネル-雑貨-miduno-1_5.html

  32. オメガ時計 激安
    October 17th, 2013

    I? not that much of a online reader to be honest but your blogs really nice, keep it up! I’ll go ahead and bookmark your site to come back down the road. Many thanks
    オメガ時計 激安 http://tokei.emolog.net/omega-オメガ-腕時計-emolog-11.html

  33. indfly.com
    October 19th, 2013

    Hello! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Many thanks!
    indfly.com http://www.indfly.com/

  34. スリムスーツ
    October 19th, 2013

    Hiya! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My weblog looks weird when browsing from my apple iphone. I’m trying to find a template or plugin that might be able to correct this issue. If you have any suggestions, please share. Many thanks!
    スリムスーツ http://suit.codfaqs.com/specials.html

  35. Lawangeen
    October 20th, 2013

    “Router RIP is attempting to establish BGP neighbor relationships with routers RT1 and RT3.”
    Basically is not RIP, it must be RTR.

  36. John Doe
    October 22nd, 2013

    Question 6) –
    The Explanation is right on the money however the question mentions what comes after “orginated locally” the next one after originated locally is shortest AS-path. I just assumed that the question passed by local preference because it was the default 100 therefore the best answer would have been (E) not (B) [highest local preference]. However the explanation is right, BGP decisions are Weight, Local Pref, Local Originate, AS Path, etc. However the question assumes local originate so the next one after local originate is AS Path if the deciding factor is local preference it would have never got to locally originated?

    Question 9) –
    The correct answer is (C) [weight]. It is the first determining factor in BGP Path Selection. If the router does not have a route to the BGP next-hop then it does not even enter into the BGP Path Selection and is simply denied outright and therefore strictly speaking next-hop reach ability is not a factor in the BGP Path Selection. Also the next-hop could be referring to the next-hop metric which is one of the last elements of the BGP Path Selection (see number 8 in question 6 explanation… which is somewhat misleading, it’s IGP metric to the next-hop router).

  37. Jan
    October 28th, 2013

    It will be great if you can share your dump with me – I will have my CCNP ROUTE in one week… Thanks a lot!!!! My mail: wro2ek89@gmail.com

  38. バーバリーバッグ
    November 3rd, 2013

    Wow that was strange. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyway, just wanted to say great blog!
    バーバリーバッグ http://www.itsdamntrue.com/

  39. Jeff
    November 30th, 2013

    On question #4 what is ‘2’ under ‘State/PfxRcd’?

  40. ダイアナ ブーツ
    December 11th, 2013

    I really appreciate this post. I have been looking all over for this! Thank goodness I found it on Bing. You’ve made my day! Thank you again!
    ダイアナ ブーツ http://abj.dk/uploads/uggnihon2.html

  41. etoile isabel marant
    January 20th, 2014

    An interesting discussion is worth comment. I feel that you simply should write additional on this subject, it could possibly not be a taboo topic but usually consumers are not enough to speak on such topics. To the next. Cheers
    etoile isabel marant http://www.shop-isabelmarant.com

  42. jim
    April 6th, 2014

    @digital tut, please correct routers name in Q1. thanks

  43. Anonymous
    September 23rd, 2014

    is 9tut enough to get a good score in ccnp route…….please send me the latest dump to capricon1230@outlook.com

  44. Ryan
    October 5th, 2014

    Hi I am preparing to write route exam next Saturday. Is it true that using the ? will deduct marks?

    Thanking you in advance

  45. Nike roshe run women sale
    October 21st, 2014
  46. Anonymous
    October 24th, 2014

    Q9 and Q10, the router needs a next hop to place a route in its OWN routing table,this is true for all routes to be entered in to routing table for OSPF,BGP, EIGRP ect, this has nothing to do with BGP attributes it passes to neighbors, Weight is Cisco specific BGP attribute and is not sent in updates BUT is the first attribute in BGP decision process for best route so C is correct for Q9 and A is correct for Q10.

    Hope this helps

  47. Raito
    October 29th, 2014

    I’m really confused about the explanations of the different states in Q4. I know they are just copied from the bryantadvantage CCNP Route book, but I think the explanations in the official CCNP Cert Guide are way better and a bit different. Or maybe just the words “establish”, “activate” and “form” confuse me because in every state it seems that BGP is waiting for the TCP connection.

  48. Anonymous
    November 9th, 2014

    These dumps are really helpful, thanks digitaltut

  49. SHah
    December 2nd, 2014

    Cleared my Xam yesterday ALHAMDULILLAH !
    4 Questions were out of this world related to Ipv6, Routing , OSPF and GRE Respectively.
    3 Labs were same as here just IP schemes were changed
    2 Labs were innovated and were not simple , summarization worked after implemening the lab 3rd time, so many things were messed I dun know why
    prepared to get 1000 out of which I got 862
    but again thanks to ALMIGHT ALLAH

  50. Anonymous
    December 2nd, 2014

    What were the two new labs? What protocols? What commands needed? Thanks.

  51. AneurismA from Peru
    January 8th, 2015

    I have pass my ROUTE exam today, score 850, Igor´s dump still valid for 642-902 exam just I had one new question, all LabSim question from this webpage were in the exam!!

  52. sas
    January 9th, 2015

    AneurismA from Peru:

    Congrats! You mentioned that the igor dumps are still valid. Are the dumps from this site still valid or do I need to purchase igor dumps.


  53. Sanket
    January 11th, 2015

    “We Love Oranges AS Oranges Mean Pure Refreshment”

    W – Weight (Highest)
    L – LOCAL_PREF (Highest)
    O – Originate (local) routes that are advertise through the “network” command or redistributed from an IGP.
    AS – AS_PATH (shortest)
    O – ORIGIN Code (IGP > EGP > Incomplete)
    M – MED (lowest)
    P – Paths (External > Internal)
    R – RID (lowest)

  54. Saad
    January 11th, 2015

    Thanks @Sanket.. Was looking for one..

  55. SALM
    January 11th, 2015

    i pass my exam .. its all from digital tut,,, but the answer is differ in the dump ,,,
    h answered one BGP question from the dump ,, but its wrong answer …
    so try to depend upon this site more than dumps…
    best wishes/////

  56. sas
    January 12th, 2015


    Congrats and thanks; you answered my question above.

  57. Anutz
    January 14th, 2015

    Hello Team
    Congrats for all passed exams.
    How many multiples choices qns and labs questions for CCNP ROUTE exams

  58. manju
    January 17th, 2015

    has anyone taken the route v2 (300-101) ? any dumps available?

  59. Student149
    January 17th, 2015

    Thanks for the analogy of BGP attributes.

  60. certification is good but not everything
    March 12th, 2015

    Check also MPLS beside BGP… MPLS is not in CCNP but it is good to learn with BGP ;)
    Check this

  61. anonymous
    April 22nd, 2015

    For Question 4, a good example is also in the same website. -bgp sessions establishement, bgp states-


  62. Ciscokid
    April 27th, 2015


    Mis- leading, needs to be more clear. It doesn’t state how far down the process you are. I would say as-path comes next as the questions states weight and self origin have been checked, which means local preference has been passed ( or how could it have moved to check the self origin).

    Also weight is NOT first synchronisation is.

    What’s the correct answer to get marks? Local preference?

  63. Q10
    May 2nd, 2015

    I disagree with Q10 A being the right answer. Weight is advertised to iBGP neighbors and recognised if both are cisco routers. Local Preference answer B is never advetised as its name implies it is LOCAL PREFERENCE.

  64. next_hop-self
    June 2nd, 2015

    For next-hop-self, chech the below article..it really helped me…

  65. BGP LAB??
    June 3rd, 2015

    There is BGP lab on 300-101 exam ?

  66. Aleck
    June 26th, 2015

    Hie Guys anyone with 642-998 DCUCD latest dump

  67. ロレックス 腕時計 開け方
    February 21st, 2016

    ロレックス 腕時計 開け方 http://www.gginza.com

  68. ロレックス コンビ レディース 中古
    February 21st, 2016

    ロレックス コンビ レディース 中古 http://www.brandiwc.com

  69. Errol
    March 25th, 2016

    NBA Iphone Case Los Angeles Clippers Jersey Chicago White Sox Jersey

  70. Scout
    August 15th, 2016

    I’m not easily imespsred. . . but that’s impressing me! :)

Comment pages
1 2 16
  1. No trackbacks yet.