JN0-104 Exam QuestionsBrowse all questions from this exam

JN0-104 Exam - Question 38


You must apply the policy shown in the exhibit to readvertise BGP routes to OSPF neighbors. Which action will accomplish this task?

Show Answer
Correct Answer: A

To accomplish the task of readvertising BGP routes to OSPF neighbors, you should apply the policy as an export policy within the OSPF configuration. In Junos OS, export policies are used to control which routes are advertised to neighboring routing protocols. The specified policy matches routes originating from BGP and then indicates that these routes should be accepted. By configuring this policy as an export within the OSPF configuration, it ensures that the BGP routes are advertised to OSPF neighbors.

Discussion

16 comments
Sign in to comment
ThranduilllOption: A
Oct 20, 2022

A is the correct answer.

achonOption: A
Mar 23, 2023

the correct answer is A it is not cisco ios, policy export into ospf, but, locally ospf table. it is export to ospf neighbor

CradicalOption: A
May 29, 2023

A. You must apply the policy as an export policy within the OSPF configuration. Export policies in Junos OS are used to control the routes that are advertised to neighboring routing protocols. In this case, the policy "BGP-INTO-OSPF" is defined in the policy-options hierarchy and contains a term "BGP-ONLY" that matches routes from the BGP protocol. The "then" statement "accept" indicates that routes matching this term should be accepted. To make the BGP routes available to OSPF neighbors, you need to configure the export policy within the OSPF configuration and apply it to the appropriate OSPF routing instance. This export policy will specify that BGP routes should be advertised into OSPF

jimraynorOption: A
Mar 22, 2023

Policy should be applied with export in the OSPF protocol https://community.juniper.net/communities/community-home/digestviewer/viewthread?MID=70842

AyixOption: A
Nov 17, 2022

1. Create an Export-policy to match the BGP routes in the routing-table: [edit policy-options] user@srx# show policy-statement BGP-INTO-OSPF { term BGP-ONLY { from protocol bgp; then { accept; } 2. Apply the Export-policy under OSPF: [edit protocols] user@srx# show ospf { export BGP-INTO-OSPF;

dyaz208Option: A
Dec 29, 2022

A is Correct

Joooohn2022Option: B
Jan 18, 2023

Redistribute OSPF routes from Area 1 only into BGP, and do not advertise routes learned by BGP. [edit] routing-options { autonomous-system 56; } protocols { bgp { export ospf-into-bgp; group { type external; peer-as 23; allow { 0.0.0.0/0;

Rac_123Option: C
Mar 12, 2023

FROM means import and here BGP routes need to be imported to OSPF, so option C is correct.

achonOption: C
Mar 22, 2023

import bgp routes into ospf, under ospf import

misu112Option: C
Oct 4, 2022

i would say C

z3roCoo1Option: C
Oct 12, 2022

I would agree with C

achonOption: C
Oct 22, 2022

agree C

HariharanMOption: C
Nov 2, 2022

C IS CORRECT

HariharanMOption: B
Nov 2, 2022

from is for import and to is for export

MayTinOption: A
Jan 26, 2024

A is the correct Answer

KyawaOption: A
Jan 27, 2024

We are looking at the exportation of BGP routes from the device routing table to OSPF RIB.