exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 168 discussion

Actual exam question from Cisco's 350-401
Question #: 168
Topic #: 1
[All 350-401 Questions]


Refer to the exhibit. An engineer must ensure that all traffic entering AS 200 from AS 100 chooses Link 2 as an entry point. Assume that all BGP neighbor relationships have been formed and that the attributes have not been changed on any of the routers. Which configuration accomplishes this task?

  • A. R3(config)#route-map PREPEND permit 10 R3(config-route-map)#set as-path prepend 200 200 200 R3(config)#router bgp 200 R3#(config-router)#neighbor 10.1.1.1 route-map PREPEND out
  • B. R4(config)#route-map PREPEND permit 10 R4(config-route-map)#set as-path prepend 100 100 100 R4(config)#router bgp 200 R4(config-router)#neighbor 10.2.2.2 route-map PREPEND in
  • C. R4(config)#route-map PREPEND permit 10 R4(config-route-map)#set as-path prepend 200 200 200 R4(config)#router bgp 200 R4(config-router)#neighbor 10.2.2.2 route-map PREPEND out
  • D. R3(config)#route-map PREPEND permit 10 R3(config-route-map)#set as-path prepend 100 100 100 R3(config)#router bgp 200 R3(config-router)#neighbor 10.1.1.1 route-map PREPEND in
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
xziomal9
Highly Voted 3 years, 1 month ago
A. R3(config)#route-map PREPEND permit 10 R3(config-route-map)#set as-path prepend 200 200 200 R3(config)#router bgp 200 R3#(config-router)#neighbor 10.1.1.1 route-map PREPEND out B. R4(config)#route-map PREPEND permit 10 R4(config-route-map)#set as-path prepend 100 100 100 R4(config)#router bgp 200 R4(config-router)#neighbor 10.2.2.2 route-map PREPEND in C. R4(config)#route-map PREPEND permit 10 R4(config-route-map)#set as-path prepend 200 200 200 R4(config)#router bgp 200 R4(config-router)#neighbor 10.2.2.2 route-map PREPEND out D. R3(config)#route-map PREPEND permit 10 R3(config-route-map)#set as-path prepend 100 100 100 R3(config)#router bgp 200 R3(config-router)#neighbor 10.1.1.1 route-map PREPEND in
upvoted 32 times
XalaGyan
2 years, 11 months ago
thx a lot bro for taking the time and writing this down. your answer is correct.
upvoted 3 times
...
...
brightsyds
Highly Voted 2 years, 9 months ago
A for sure! R3 prepends its AS and sends it outbound to R1 in AS 100. Because R1 and R2 are in one iBGP domain (AS 100), all traffic from AS 100 will prefer to use a shorter AS path to AS 200 which is R4's link.
upvoted 12 times
timtgh
2 years, 5 months ago
Thanks. But why is it prepending it three times?
upvoted 4 times
bora4motion
1 year, 11 months ago
That's what you do when you want to "make a route look bad" you add your own AS to the AS-Path and make it longer. BGP is routing through AS numbers.
upvoted 8 times
...
alawi2
2 years, 5 months ago
to make longer, imagine 200 + 200 + 200 it is basically telling BGP the equivalent of having to cross 3 AS with cost 200 each
upvoted 13 times
jason2626
2 years, 3 months ago
Makes sense! Thanks for the explanation.
upvoted 4 times
...
...
...
...
[Removed]
Most Recent 5 months, 2 weeks ago
Selected Answer: A
A is correct
upvoted 1 times
...
danman32
1 year, 3 months ago
I got this one wrong and selected D because I remembered similar Q139 and misread this question that we want AS100 to choose link 2, and not AS 200 choose link 2. But now that I read these discussions, realized I had the traffic direction backwards, in which case answer is definitely A.
upvoted 1 times
...
charafDZ
1 year, 8 months ago
What is AS path Prepending? In the Border Gateway Protocol (BGP), prepending is a technique used to deprioritize a route by artificially increasing the length of the AS-PATH attribute by repeating an autonomous system number (ASN). Route selection in BGP prefers the shorter AS path length, assuming all other criteria are equal
upvoted 2 times
...
Dataset
1 year, 8 months ago
hi! why is the route map PREPEND applied on R3 , out ? Thanks Regards
upvoted 1 times
danman32
1 year, 3 months ago
Because you want to influence AS100's traffic pattern to AS200, unlike Q139 which had you influence traffic from AS200 to AS100. Therefore you want link1 to appear to AS200 as the longer route.
upvoted 2 times
...
...
bora4motion
1 year, 11 months ago
Selected Answer: A
A is the correct option, you add your own AS in the AS Path to make it "look bad".
upvoted 1 times
...
WINDSON
2 years ago
what is the meaning of permit 10 ?
upvoted 1 times
...
Pudu_vlad
2 years, 1 month ago
A is correct
upvoted 1 times
...
Raju255
2 years, 8 months ago
Correct Answer is A A. R3(config)#route-map PREPEND permit 10 R3(config-route-map)#set as-path prepend 200 200 200 R3(config)#router bgp 200 R3#(config-router)#neighbor 10.1.1.1 route-map PREPEND out B. R4(config)#route-map PREPEND permit 10 R4(config-route-map)#set as-path prepend 100 100 100 R4(config)#router bgp 200 R4(config-router)#neighbor 10.2.2.2 route-map PREPEND in C. R4(config)#route-map PREPEND permit 10 R4(config-route-map)#set as-path prepend 200 200 200 R4(config)#router bgp 200 R4(config-router)#neighbor 10.2.2.2 route-map PREPEND out D. R3(config)#route-map PREPEND permit 10 R3(config-route-map)#set as-path prepend 100 100 100 R3(config)#router bgp 200 R3(config-router)#neighbor 10.1.1.1 route-map PREPEND in
upvoted 3 times
...
hprc2002
2 years, 9 months ago
XZIOMAL9, thank you for the formatting; the original presentation of the potential answers is abysmal!
upvoted 1 times
...
heaven2021
3 years ago
>>xziomal9 thank you very much!!
upvoted 2 times
...
[Removed]
3 years, 6 months ago
Given answer is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago