nerdexam
Juniper

JN0-102 · Question #254

You have received a default route through BGP from your ISP and you want to redistribute it into OSPF. Which method will accomplish this?

The correct answer is A. Apply an export policy to OSPF that exports the default route. To redistribute a default route received via BGP into OSPF, an export policy must be applied to OSPF, specifying the default route for advertisement.

Routing Policy and Firewall Filters

Question

You have received a default route through BGP from your ISP and you want to redistribute it into OSPF. Which method will accomplish this?

Options

  • AApply an export policy to OSPF that exports the default route.
  • BApply an import policy to OSPF that imports the default route.
  • CApply the default-network command to OSPF.
  • DApply the redistribute-igp command to BGP.

How the community answered

(36 responses)
  • A
    75% (27)
  • B
    3% (1)
  • C
    14% (5)
  • D
    8% (3)

Why each option

To redistribute a default route received via BGP into OSPF, an export policy must be applied to OSPF, specifying the default route for advertisement.

AApply an export policy to OSPF that exports the default route.Correct

To make a route learned from one protocol (BGP) available to another protocol (OSPF), you apply an export policy to the *destination* protocol (OSPF) that filters and advertises the desired route. In this case, the policy would match the default route (0.0.0.0/0) and then permit OSPF to export it as an external LSA into its own routing domain.

BApply an import policy to OSPF that imports the default route.

An import policy on OSPF affects which routes OSPF *accepts* from its neighbors, not which routes it *originates* or advertises into its domain from other protocols.

CApply the default-network command to OSPF.

The `default-network` command (or similar commands depending on vendor, like `default-information originate` in Cisco) is used to *originate* a default route into OSPF, but it typically requires the default route to already exist in the routing table, and it's not a policy for redistributing a specific route learned from BGP.

DApply the redistribute-igp command to BGP.

The `redistribute-igp` command on BGP would be used to inject IGP-learned routes *into BGP*, which is the opposite direction of what is desired (BGP into OSPF).

Concept tested: Route Redistribution BGP to OSPF

Source: https://www.juniper.net/documentation/us/en/software/junos/policy/topics/example/policy-routing-redistribution-between-bgp-ospf-config.html

Topics

#routing redistribution#BGP#OSPF#export policy#default route

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice