300-415 · Question #283
300-415 Question #283: Real Exam Question with Answer & Explanation
The correct answer is D: policy route-policy BGP-AS-PREPEND sequence 10 action accept set as-path prepend 10, 20 ! default-action accept vpn 10 router ospf route-policy BG-AS-PREPEND out. To influence BGP routing traffic flow from LAN to WAN using a data policy, the route-policy applying AS path prepending must be applied outbound on the OSPF routing process within the relevant VPN.
Question
Options
- Apolicy route-policy BGP-AS-PREPEND sequence 10 action accept set as-path prepend 10, 20 ! default-action accept vpn 10 router ospf route-policy BG-AS-PREPEND in
- Bpolicy route-policy BGP-AS-PREPEND sequence 10 action deny set as-path prepend 10, 20 ! default-action accept vpn 10 router ospf route-policy BG-AS-PREPEND out
- Cpolicy route-policy BGP-AS-PREPEND sequence 10 action accept set as-path prepend 10, 20 ! default-action accept vpn 10 router ospf route-policy BG-AS-PREPEND in
- Dpolicy route-policy BGP-AS-PREPEND sequence 10 action accept set as-path prepend 10, 20 ! default-action accept vpn 10 router ospf route-policy BG-AS-PREPEND out
Explanation
To influence BGP routing traffic flow from LAN to WAN using a data policy, the route-policy applying AS path prepending must be applied outbound on the OSPF routing process within the relevant VPN.
Common mistakes.
- A. Applying the route-policy
inon OSPF would influence routes being received by OSPF, not routes being advertised from the LAN to the WAN, which typically involves outgoing policies. - B. While applying
outis correct for influencing outbound traffic, theaction denywould block the routes from being advertised or accepted, which defeats the purpose of influencing their path with AS prepending. - C. Similar to A, applying the route-policy
inon OSPF would influence routes being received by OSPF, which is the wrong direction for influencing traffic flow from LAN to WAN.
Concept tested. BGP AS-path prepending with route-policies for traffic engineering
Topics
Community Discussion
No community discussion yet for this question.