Configure eBGP Neighborship and Network Advertisement

350-401 By islever Editorial Last updated

Short answer

D Configure Router A with local AS 65001, neighbor 10.0.1.2 remote-as 65002, and network 10.0.2.0 255.255.255.0.

Question

Refer to the exhibit.
Exhibit: Configure eBGP Neighborship and Network Advertisement
  1. router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0
  2. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static
  3. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.1.0 255.255.255.0
  4. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Correct Answer

Key Takeaways

Testing eBGP configuration requires matching the local AS to the configured router and the remote AS to the neighbor, while advertising the correct connected network.

This page resolves a tricky eBGP configuration question requiring the correct local AS, remote AS, neighbor IP, and network statement. It establishes why Option D is the correct configuration on Router A.

Common mistake: Choosing Option A because it advertises the correct network, but it uses the wrong local AS (65002) and wrong remote AS (65002), which would not form an eBGP peering.

Expert Analysis

Why the Answer Is Correct

Option D correctly specifies router bgp 65001 for Router A's local AS, neighbor 10.0.1.2 remote-as 65002 for Router B's IP and AS, and network 10.0.2.0 255.255.255.0 to advertise the network on Router A's G0/1 interface. This perfectly aligns with the requirement to configure eBGP on Router A and advertise its connected subnet.

Why the Other Options Are Wrong

Option A uses the wrong local AS (65002) and remote AS (65002), which would fail eBGP peering and represents Router B's perspective. Option B uses redistribute static instead of explicitly advertising the connected network with a network statement. Option C advertises the wrong network (10.0.1.0), which is the transit link, instead of the G0/1 connected network (10.0.2.0).

Community Comment Notes

Several commenters noted the question text was missing from the exhibit, but as Tim1992 pointed out, the full question asks to configure eBGP on Router A to peer with Router B and advertise G0/1. TroyMcLure confirmed this makes D correct despite the missing "mask" keyword in the network statement. abdulwares123 incorrectly suggested Router A is AS 65002, which would reverse the peering roles.

Exam Strategy

When facing BGP configuration questions, always identify the local router's AS first, then the neighbor's IP and AS. Finally, match the network statement to the specific interface subnet requested for advertisement.

Community Votes

D
85%
A
15%

85% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 33 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 30 of 33

  1. snarkymark 👍 26
    Unless I am missing something here, none of these are right. Let me know if I am missing something.
  2. Tim1992 👍 7
    The diagram is wrong. Router A resides in AS 65001. Router B resides in AS 65002. Question: An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to GO/1 on Router A must be advertised to Router B. Which configuration should be applied? Answer is D: router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0
  3. TroyMcLure 👍 4 Answered D
    The wording of the question is mising. It should have been as follows: "An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to G0/1 on Router A must be advertised to Router B. Which configuration should be applied?" That makes D the correct answer, even though the keyword "mask" is missing from the network statement.
  4. abdulwares123 👍 3 Answered D
    I am sure completely all options are wrong because we should login in router A and type the following commands for advertise the mentioned network: R-A(config)# router bgp 65002 R-A(config-router)# neighbor 10.0.1.2 remote-as 65001 R-A(config-router)# network 10.0.2.0 mask 255.255.255.0 R-A(config-router)# exit
  5. owenshinobi 👍 3
    What the question !!! No question, no correct answer.
Show 25 more comments
  1. HarwinderSekhon 👍 3
    remote as IP is wrong. D is not correct either
  2. bendarkel 👍 3
    No question, no correct answer.
  3. KZM 👍 2
    Router A (ASN: 65001) "10.0.1.1" <-----------------> "10.0.1.2" Router B (ASN: 65002) Router A G0/1 "10.0.2.1/24" Refer to the exhibit. An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to G0/1 on Router A must be advertised to Router B. Which configuration should be applied? A. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.1.0 255.255.255.0 B. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 C. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static D. router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Answer: C https://cloudeducation.com.hk/exam/350-401.pdf
  4. studyguy42 👍 2 Answered A
    Considering that all of them are incorrect and there is no actual question in this one, the closest to correct is A: router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Should be: router bgp 65002 neighbor 10.0.1.2 remote-as 65001 network 10.0.2.0 255.255.255.0
  5. KZM 👍 2 Answered B
    The command should like that; router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 mask 255.255.255.0 If "mask" is missing in the network command, option D is incorrect. If it is not a typo, the answer may be B.
  6. borumas 👍 2
    I agree there's a typo: D. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 <-- all have that IP but R2 is 10.0.1.1 network 10.0.2.0 255.255.255.0
  7. TroyMcLure 👍 2
    The AS numbers are clearly inverted. Router A belongs to AS 65001 and Router B belongs to AS 65002. Considering that, the best option is D.
  8. matass_md 👍 2
    relax , all answers are wrong . When advertising a network in bgp syntax is: #(router-bgp)# network x.x.x.x mask y.y.y.y
  9. Jey117 👍 2
    Admin fix it. It doesn´t even include the question and the answer makes no sense at all to guess it.
  10. well123 👍 2
    probably the diagram isn't correct AS should be interchanged for D to be correct!
  11. Papins 👍 2
    sory.. i misread it C also is wrong... none of them is correct.
  12. Dataset 👍 2
    Hi ! Admin, please fix the diagram... Regards
  13. SAMAKEMM 👍 2
    none of them is correct
  14. Sammy3637 👍 2
    Please fix this Admin ?
  15. Mohaned990_go 👍 2 Answered C
    Answer c
  16. GreaterZen 👍 1 Answered B
    For any future pass byers, please refer to KZM post below: " KZM 11 months, 2 weeks ago Router A (ASN: 65001) "10.0.1.1" <-----------------> "10.0.1.2" Router B (ASN: 65002) Router A G0/1 "10.0.2.1/24" Refer to the exhibit. An engineer must configure an eBGP neighborship to Router B on Router A. The network that is connected to G0/1 on Router A must be advertised to Router B. Which configuration should be applied? A. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.1.0 255.255.255.0 B. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 C. router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static D. router bgp 65002 neighbor 10.0.1.2 remote-as 65002 network 10.0.2.0 255.255.255.0 Answer: C https://cloudeducation.com.hk/exam/350-401.pdf " Per KZM's link question 26 the diagram is the same and it has the actual question. For connivence KZM posted the question. Nonetheless, the answer there is C. However, exam topics answer "B" oddly looks the same. Therefore, shouldn't it be B?
  17. M2013 👍 1
    The questin is confusing me. as I understand the configuration should be done on router A not B. an engineer must configure a BGP neighborship to Router B on router A. the network that is connected to G0/1 on router A must be advertised to router B. which configuration should be applied
  18. 2b0c385 👍 1 Answered A
    Router A (ASN 65002) está configurando como vecino a Router B (10.0.1.2) con ASN 65001 (correcto). La red que queremos anunciar (10.0.2.0/24) sí está directamente conectada a Router A. El comando network 10.0.2.0 255.255.255.0 es válido y funcional, ya que existe en su RIB.
  19. KZM 👍 1
    https://cloudeducation.com.hk/exam/350-401.pdf Yes, in this pdf, Router A's ASN is 65001 and Router B's ASN is 65002. If like that, the answer is router bgp 65001 neighbor 10.0.1.2 remote-as 65002 redistribute static
  20. Leoveil 👍 1
    let assume that Router A is AS65001(because .1 on interface 0/0 and g0/1) and Router B in AS65002, answer B would be correct if redistribute connected rather than static
  21. Nmk3216 👍 1 Answered A
    Non of the answer are correct. The correct answer should be as follows: router bgp 65002 neighbor 10.0.1.2 remote-as 65001 network 10.0.2.0 mask 255.255.255.0
  22. chmacnp 👍 1 Answered A
    to configure router A, you must enter AS 65002. But the remote-as cannot also be 65002 for an eBGP neighbourship. whats the point, this is all wrong
  23. Papins 👍 1
    what is the question? the provided answer also is wrong? it could be C if my understanding on the diagram provided is correct :)
  24. Rbrahmi 👍 1
    Even D is not correct regarding the ASN mentioned, the network command is also not correct, we need mask key word here
  25. Shri_Fcb10 👍 1
    is it a typo error? AS 65001 neighbor should be having 10.0.1.1

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All 350-401 Questions

Access 218 questions with complete answers and detailed explanations.

View Full 350-401 Practice Test →

← Back to 350-401 Study Guide