exam questions

Exam 300-410 All Questions

View all questions & answers for the 300-410 exam

Exam 300-410 topic 1 question 461 discussion

Actual exam question from Cisco's 300-410
Question #: 461
Topic #: 1
[All 300-410 Questions]



Refer to the exhibit. The Customer Edge router wants to use AS 100 as the preferred ISP for all external routes and SP2 as a backup.


Customer-Edge -

route-map SETAS
set as-path prepend 111
!
router bgp 64555
neighbor 192.168.1.1 remote-as 100
neighbor 192.168.2.2 remote-as 200
neighbor 192.168.2.2 route-map SETAS in

After this configuration, all the backup routes have disappeared from the BGP table on the Customer Edge router. Which set of configurations resolves the issue on the Customer Edge router?

  • A. route-map SETAS
    set as-path prepend 200
    !
    router bgp 64555
    neighbor 192.168.1.1 remote-as 100
    neighbor 192.168.2.2 remote-as 200
    neighbor 192.168.2.2 route-map SETAS in
  • B. route-map SETAS
    set as-path prepend 111
    !
    router bgp 64555
    neighbor 192.168.1.1 remote-as 100
    neighbor 192.168.2.2 remote-as 200
    neighbor 192.168.2.2 route-map SETAS out
  • C. route-map SETAS
    set as-path prepend 200
    !
    router bgp 64555
    neighbor 192.168.1.1 remote-as 100
    neighbor 192.168.2.2 remote-as 200
    neighbor 192.168.2.2 route-map SETAS out
  • D. route-map SETAS
    set as-path prepend 111
    !
    router bgp 64555
    neighbor 192.168.2.2 remote-as 100
    neighbor 192.168.1.1 remote-as 200
    neighbor 192.168.1.1 route-map SETAS 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
HungarianDish_111
Highly Voted 1 year, 7 months ago
Selected Answer: A
Inbound is correct for sure. Only answer "A" uses correct neighbor + direction. neighbor 192.168.2.2 route-map AS in Probably this explains, why they want to prepend AS 200 (remote AS number): https://blog.ipspace.net/2009/03/as-path-prepending-technical-details.html Inbound AS-Path Prepending ... to add an extra copy of the REMOTE AS number to inbound updates received from (neighbor)
upvoted 7 times
...
spada05
Highly Voted 1 year, 5 months ago
Selected Answer: A
Inbound, as the CE we presumably cannot touch the ISP and so have to manipulate inbound.
upvoted 6 times
...
MrShiv
Most Recent 3 weeks, 4 days ago
Selected Answer: C
C as as-path prepend will only work outbound as it is a transitive attribute so it will be sent to the neighbor via BGP update message. Option A would be the answer is local preference is used.
upvoted 1 times
MrShiv
2 weeks, 4 days ago
Confirmed via Chatgpt :) Correct Answer: C Option C is the best solution because: It applies the route-map on outgoing BGP updates (using out), which is the proper direction for influencing route preferences. It prepends 200 to the AS path of routes from AS 200, ensuring that AS 100’s routes are preferred. It allows backup routes from AS 200 to remain in the BGP table without disappearing, while still ensuring AS 100 is preferred for primary routing.
upvoted 1 times
...
...
tubirubs
4 months, 3 weeks ago
Selected Answer: C
If you select IN for orientarion, the AS Prepend is input during adj-rib-in, so, when these routes coming in lock-rib, this will loose preference, because ISP1 have best AS_Path. Realy these guys are aproved in enarsi??? lol
upvoted 1 times
...
jabal93
5 months, 1 week ago
ANSWER IS: C A is very wrong the question is asking to influence the external route (the traffic coming from both ISPs), Additionally AS-Prepending used to influence traffic coming from outside. Note: if we want to influence the inbound traffic (Traffic going from within our AS to the ISPs) we will use either the weight or -the preferred method- Local preference.
upvoted 1 times
bk989
5 months ago
he Customer Edge router wants to use AS 100 as the preferred ISP for all external routes and SP2 as a backup. This is for outbound traffic.
upvoted 1 times
...
...
[Removed]
5 months, 3 weeks ago
Selected Answer: A
A is corerct
upvoted 1 times
...
XBfoundX
5 months, 3 weeks ago
For make the correct configuration you need to use or local preference or weight and then as-prepend. The first step if you have more routers inside AS 65500 is to put the local preference in inbound BEACAUSE REMEMBER THAT ==> LP is only in OUR AS, this mean that put LP in outbound direction to an another AS is useless. So inbound all the routers that you have in our AS will prefer to go through that path. Is not over yet! After that we got the LP we need to have symmetric routing here if we want to use only one path, so we need to advertise more times our own ASN via an as-prepend to ISP2, and you are asking yourself why?
upvoted 1 times
XBfoundX
5 months, 3 weeks ago
Because AS 1000 (Internet) need to choose which is the best path to reach AS 65500 and if I want to use AS 100 ans so ISP-1 as the preferred path I need to be sure that the router in AS Internet will get that path, The Internet Cloud router will receive an update with two AS 65500 from ISP-2 so the Internet Cloud router will choose isp1 cause there are less Autonomous Systems that it needs to traverse I hope this is clear
upvoted 2 times
XBfoundX
5 months, 3 weeks ago
So Answer is A but you need also the prepend for get the job done in the proper manner
upvoted 1 times
...
...
...
chinopla
6 months, 3 weeks ago
Prepending is applied outbound. You want to make the backup path to appear as the longer path by advertising additional AS on this path and that is done outbound.
upvoted 2 times
...
9410480
8 months, 1 week ago
Selected Answer: A
Answer is A
upvoted 3 times
...
Tim303
10 months, 1 week ago
A is wrong because you have to apply the route-map to the outbound direction, Google " BGP deep Dive" and watch Kevin Wallace
upvoted 3 times
...
asans
1 year, 1 month ago
Something wrong with this question. The original route map config is the same as answer A, save for the different AS. And both works without issues
upvoted 1 times
...
yefrimart
1 year, 3 months ago
Selected Answer: A
When prepending an AS to a AS-PATH, you need to either prepend your own AS or the neighbor AS. Any other AS may cause problems. For this question, because we want to influence outbound traffic, we need to prepend received prefixes. The answer that fulfill both conditions is answer A.
upvoted 4 times
...
inteldarvid
1 year, 6 months ago
Selected Answer: C
for me option corerct is "C". I need out Prepending wit 200 200
upvoted 4 times
...
HungarianDish_111
1 year, 7 months ago
The original configuration (set as-path prepend 111) did not influence the path-selection at all. Plus, none of the routes disappeared. The question seems to be incorrect.
upvoted 2 times
...
HungarianDish_111
1 year, 7 months ago
Prepending as-number 111 inbound worked. It needs to be added two times, though (111 111). CE#sh run | sec route-map neighbor 192.168.2.2 route-map AS in route-map AS permit 10 set as-path prepend 111 111 CE#
upvoted 1 times
HungarianDish_111
1 year, 7 months ago
This had the same effect: set as-path prepend 200 200
upvoted 1 times
...
...
HungarianDish_111
1 year, 7 months ago
Sorry, did not wait enough. Now it's OK. Using as-path prepend 111 111. Result: CE is choosing ISP1 as primary. CE#sh ip bgp BGP table version is 3, local router ID is 192.168.2.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, x best-external, a additional-path, c RIB-compressed, t secondary path, Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path * 1.1.1.1/32 192.168.2.2 0 111 111 200 100 i *> 192.168.1.1 0 0 100 i * 2.2.2.2/32 192.168.2.2 0 0 111 111 200 i *> 192.168.1.1 0 100 200 i CE#
upvoted 1 times
...
HungarianDish_111
1 year, 7 months ago
The issue came after prepending AS 111 two times: CE#sh ip bgp BGP table version is 1, local router ID is 192.168.2.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, x best-external, a additional-path, c RIB-compressed, t secondary path, Origin codes: i - IGP, e - EGP, ? - incomplete RPKI validation codes: V valid, I invalid, N Not found Network Next Hop Metric LocPrf Weight Path * 1.1.1.1/32 192.168.1.1 0 0 100 i * 192.168.2.2 0 111 111 200 100 i * 2.2.2.2/32 192.168.1.1 0 100 200 i * 192.168.2.2 0 0 111 111 200 i CE#
upvoted 1 times
HungarianDish_111
1 year, 7 months ago
Ignore this please, I just did not give enough time to bgp to complete the bgp table.
upvoted 1 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