JN0-102: Applying a Policy to Redistribute Static Routes into OSPF

Applying a Policy to Redistribute Static Routes into OSPF

Prev Question Next Question

Question

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

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B

The correct answer is A. set protocols ospf import static-routes.

When redistributing static routes into OSPF, the "set protocols ospf import static-routes" command is used. This command tells the OSPF process to import static routes into the OSPF database and advertise them to other OSPF routers.

Option B, "set protocols ospf export static-routes," is used when redistributing OSPF routes into static routes. This command exports OSPF routes into a static routing table.

Option C, "set routing-options static defaults readvertise," is used to readvertise the default route into a routing protocol. This command does not apply a policy to redistribute static routes into OSPF.

Option D, "set routing-options static route 0.0.0.0/0 readvertise," is used to readvertise a specific static route into a routing protocol. This command does not apply a policy to redistribute static routes into OSPF, and it only applies to the 0.0.0.0/0 route.