400-007 · Question #156
Refer to the exhibit. An engineer is designing the traffic flow for AS 111. Traffic from AS 111 should be preferred via AS 100 for all external routes. A method must be used that only affects AS…
The correct answer is C. local preference. Local preference is the correct BGP attribute for controlling outbound traffic from within a single AS because it is locally significant, applied to inbound route advertisements, and never propagated to external peers.
Question
Refer to the exhibit. An engineer is designing the traffic flow for AS 111. Traffic from AS 111 should be preferred via AS 100 for all external routes. A method must be used that only affects AS 111. Which BGP attributes are best suited to control outbound traffic?
Exhibit
Options
- Acommunity
- BMED
- Clocal preference
- DAs path
How the community answered
(38 responses)- A3% (1)
- B5% (2)
- C79% (30)
- D13% (5)
Why each option
Local preference is the correct BGP attribute for controlling outbound traffic from within a single AS because it is locally significant, applied to inbound route advertisements, and never propagated to external peers.
BGP communities are informational tags that typically require the neighboring AS to have a policy configured to act on them, meaning they cannot unilaterally control outbound path selection within AS 111 alone.
MED is a BGP attribute sent to external neighbors to influence which path they use when sending traffic into the local AS, making it an inbound traffic control mechanism rather than an outbound one.
Local preference is an iBGP attribute that is shared among all routers within AS 111 to indicate the preferred exit point for traffic leaving the AS. By setting a higher local preference on routes learned from AS 100, all routers in AS 111 will prefer those paths for outbound forwarding. Because local preference is never advertised outside the local AS, this change affects only AS 111 with no impact on neighboring autonomous systems.
AS path prepending makes a path appear longer to external neighbors to discourage inbound traffic, not a mechanism for controlling outbound routing decisions within the local AS.
Concept tested: BGP local preference for outbound traffic control within single AS
Source: https://www.cisco.com/c/en/us/support/docs/ip/border-gateway-protocol-bgp/13753-25.html
Topics
Community Discussion
No community discussion yet for this question.
