nerdexam
Juniper

JN0-102 · Question #117

Which command will apply a policy to redistribute static routes into OSPF?

The correct answer is B. set protocols ospf export static-routes. To redistribute static routes into OSPF, an export policy must be configured under the OSPF protocol settings.

Routing Policy and Firewall Filters

Question

Which command will apply a policy to redistribute static routes into OSPF?

Options

  • Aset protocols ospf import static-routes
  • Bset protocols ospf export static-routes
  • Cset routing-options static defaults readvertise
  • Dset routing-options static route 0.0.0.0/0 readvertise

How the community answered

(53 responses)
  • A
    9% (5)
  • B
    74% (39)
  • C
    4% (2)
  • D
    13% (7)

Why each option

To redistribute static routes into OSPF, an export policy must be configured under the OSPF protocol settings.

Aset protocols ospf import static-routes

The `import` keyword is used for importing routes into the local routing table from OSPF, not for redistributing local routes into OSPF.

Bset protocols ospf export static-routesCorrect

The `set protocols ospf export static-routes` command is used to configure an export policy that specifies which routes, including static routes, should be advertised from the local routing table into the OSPF domain. OSPF uses export policies to control the redistribution of routes learned from other protocols or configured locally into its own routing advertisements.

Cset routing-options static defaults readvertise

This command sets a default readvertise option for static routes, but it is not directly related to configuring an OSPF export policy to include these routes.

Dset routing-options static route 0.0.0.0/0 readvertise

This command attempts to readvertise a specific default static route, but the correct mechanism for redistributing static routes into OSPF is an export policy under the OSPF protocol configuration.

Concept tested: OSPF static route redistribution

Source: https://www.juniper.net/documentation/us/en/software/junos/routing-protocols/topics/topic-map/ospf-policy-overview.html

Topics

#routing policy application#OSPF#static route redistribution#export policy

Community Discussion

No community discussion yet for this question.

Full JN0-102 Practice