Multiple choice technology

How do you get a juniper Networks router to advertise OSPF routes to all BGP neighbors?

  1. apply an import policy under [edit protocols ospf] that matches OSPF routes and accepts them

  2. apply an export policy under [edit protocols ospf] that matches OSPF routes and accepts them

  3. apply an export policy under [edit protocols bgp] that matches OSPF routes and accepts them

  4. apply an import policy under [edit protocols bgp] that matches OSPF routes and accepts them

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

To advertise OSPF routes into BGP, you must apply an export policy under the BGP protocol hierarchy. An export policy controls what routes are advertised out of a protocol. Import policies control what routes are accepted into a protocol. Applying an export policy under OSPF (B) would advertise BGP routes into OSPF, not the reverse. Import policies under BGP (D) would filter what BGP routes are accepted, not what OSPF routes are advertised.