ExamGecko
Question list
Search
Search

Question 19 - JN0-280 discussion

Report
Export

A routing policy has been created to advertise OSPF routes in BGP. Which statement is correct in this scenario?

A.

Apply the policy as an export policy within BGP.

Answers
A.

Apply the policy as an export policy within BGP.

B.

Apply the policy as an export policy within OSPF.

Answers
B.

Apply the policy as an export policy within OSPF.

C.

Apply the policy as an import policy within BGP.

Answers
C.

Apply the policy as an import policy within BGP.

D.

Apply the policy as an import policy within OSPF.

Answers
D.

Apply the policy as an import policy within OSPF.

Suggested answer: A

Explanation:

When advertising OSPF routes into BGP, the appropriate routing policy should be applied as an export policy in BGP.

Step-by-Step Breakdown:

OSPF to BGP Route Advertisement:

Routes learned via OSPF (a dynamic IGP) need to be exported into BGP to be advertised to external BGP peers. In Junos OS, this is done using export policies.

Export Policies in BGP:

An export policy controls which routes are advertised out of a BGP session. In this scenario, the routing policy must be applied to BGP as an export policy to export the OSPF-learned routes to external BGP peers.

Policy Configuration:

Example configuration:

set policy-options policy-statement EXPORT_OSPF term 1 from protocol ospf

set policy-options policy-statement EXPORT_OSPF term 1 then accept

set protocols bgp group <group-name> export EXPORT_OSPF

This policy ensures that only OSPF routes are exported into BGP.

Juniper

Reference:

Routing Policy: Export policies are used in BGP to control route advertisements to peers, including those learned via OSPF.

asked 10/10/2024
Bruno Piovan
27 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first