JN0-349 Exam QuestionsBrowse all questions from this exam

JN0-349 Exam - Question 9


Your router is learning the 172.25.11.0/24 prefix from both the BGP and OSPF protocols. A routing policy is configured on your device to advertise the prefix to an established BGP peer but the peer is not receiving the prefix. You want to allow the prefix to be advertised to the BGP peer.

What should you do on this router to satisfy this requirement?

Show Answer
Correct Answer: B

When a router learns a prefix from both BGP and OSPF, the router typically selects the route with the highest preference (OSPF in this case) and the other routes are marked as inactive. BGP, by default, does not advertise inactive routes. To allow the prefix 172.25.11.0/24 to be advertised to the BGP peer, you should enable the advertisement of inactive BGP routes. This ensures that even if the route is considered inactive in the BGP table, it can still be advertised.

Discussion

1 comment
Sign in to comment
julin_10Option: B
Dec 16, 2023

The issue described suggests that the router is learning the 172.25.11.0/24 prefix from both BGP and OSPF, but the prefix is not being advertised to the BGP peer. To allow the prefix to be advertised to the BGP peer, you need to check the BGP routing policy. Among the options provided, enabling the advertisement of inactive BGP routes (Option B) is a potential solution. In Juniper routers, BGP by default does not advertise routes that are not considered "active." If the route is learned from OSPF, it might be considered inactive in the BGP table. Enabling the advertisement of inactive BGP routes can help in advertising the prefix to the BGP peer. So, the correct option would be: B. Enable the advertisement of inactive BGP routes.