The BGP attributes that can be used to influence the path that outgoing traffic takes from your AS to other Autonomous Systems are AS_Path and Local Preference.
The Weight attribute is useful for influencing the path of traffic within a single router, it cannot be used to influence the path of outgoing traffic from your AS to other Autonomous Systems.
Weight is a Cisco specific attribute so if your BGP peer uses a different vendor it might give you the finger. But as it's a Cisco exam I guess it's C & D.
The answer provided is correct, the question is asking us to use attributes on our own routers to prefer a specific exit point, for doing so you can use weight in case you have just one router and you have to ISPs or in case you have more routers in your AS you use your local preference so that every router in your organization will use that exit point too
After a month I can say that yes I still with B and C but I can also put a route-map in inbound and alter the AS-PATH, in this case if for example I receive a default-route I am altering that route and I will receive that route from the shortest AS path
Inbound Route Policy is applied for Outbound PATH SELECTION:
Weight
Local Pref
Outbound Route Policy is applied for Inbound PATH SELECTION:
AS PATH (prepend)
MED
Answers : C & D
Both local pref and weight will be influencing routing when the route is LEAVING the local router. These will use “in” in the route map statement as they will modify the local pref or weight attribute after the BGP message is received. Once the modification is done, the new local pref or weight value will be applied when the traffic LEAVES the router.
Wording of the question is confusing but logically only these are correct options.
Tested in gns3 as well. AS path will be used as “out” in the route map statement and the AS path prepend will take place in the neighbor router hence the AS path prepend value will be visible when the traffic comes in.
Hope its somewhat clear now!!
weight doesn't get advertised to other routers in your AS. Local preference does. So if you have 2 or more exit routers you set local preference so internal AS routers choose the appropriate exit router and final AS. With only one exit router you set Weight to choose the final AS.
Think B,C and D are all valid.
Local preference is shared between router in the same OS whereas Weight and AS path manipulation need to be done per router via route maps/neighbor settings.
CD
Practically B,C and D will do the job, however, using the BGP path selection order, I would go for C and D
Priority Attribute
1 Weight
2 Local Preference
3 Originate
4 AS path length
5 Origin code
per long time reserch, correct anwer is B D
Weight is only right when in some special situation.
You can read offical book P519-521, Then you can find the answer.
I voted C, D, because weight (C) can be used for dual-home network scenarios. Weight is only locally relevant, however, if there is only one border router for eBGP peering it can be used to manipulate outbound traffic out of one AS towards other ASs.
https://community.cisco.com/t5/other-network-architecture-subjects/bgp-inbound-and-outbound-traffic/td-p/337728
I do not doubt that B (AS-path prepend) is correct, too. I just can't choose between B and C. As-path prepend used outbound is also possible. Example:
https://blog.ipspace.net/2009/03/as-path-prepending-technical-details.html
I am still not sure whether it's B or C. OCG for ENARSI says:
"Weight can be set for specific routes with an inbound route map or for all routes learned from a specific neighbor. Weight is not advertised to peers and only influences outbound traffic from a router or an AS." Then there is a picture with a topology where weight is set on two routers of the same AS, and outgoing path is only manipulated by weight from that AS. Which part are you referring to in OCG?
Local preference is Never Shared Between eBGP Peers, Any BGP router that receives a LOCAL_PREF attribute from an eBGP peer must ignore it (except in the case of BGP confederations)
C and D are correct. Weight is locally significant, but if you have one router that is dual-homed, you are still influencing egress traffic. Local pref is used for influencing egress traffic from your entire autonomous system, I.e you have two separate routers running iBGP with an uplink to a different ISP each.
This section is not available anymore. Please use the main Exam Page.300-410 Exam Questions
Log in to ExamTopics
Sign in:
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.
Titini
Highly Voted 2 years, 2 months agodrxz
Highly Voted 2 years agoHungarianDish_111
1 year, 12 months agoNazgulNr5
Most Recent 5 months, 2 weeks agobf10690
8 months, 1 week ago[Removed]
9 months, 2 weeks agoXBfoundX
9 months, 3 weeks agoXBfoundX
8 months agoKeegom
1 year agoMrShiv
1 year, 1 month agobk989
1 year, 3 months agobk989
1 year, 3 months agobk989
1 year, 1 month agobk989
8 months, 2 weeks ago[Removed]
1 year, 5 months agofizzer
1 year, 7 months agoalex711
1 year, 8 months agoguy276465281819372
1 year, 9 months agointeldarvid
1 year, 9 months agozhlzjz
1 year, 11 months agoHungarianDish_111
1 year, 11 months agoHungarianDish_111
1 year, 11 months agoHungarianDish_111
1 year, 12 months agoAlmylle
1 year, 10 months agointeldarvid
1 year, 9 months agoSlinky
2 years ago